/* ========================================================================== 
   IA FORMATION — Complément accueil
   À charger après zerogrid.css, style.css et responsive.css
   ========================================================================== */

:root {
    --ia-purple: #34257a;
    --ia-purple-dark: #24175e;
    --ia-purple-soft: #eeeafc;
    --ia-ink: #191821;
    --ia-muted: #656270;
    --ia-line: #e5e2ec;
    --ia-bg: #f7f6fb;
    --ia-white: #ffffff;
}

html { scroll-behavior: smooth; }

body.home-page {
    background: var(--ia-white);
    color: var(--ia-ink);
    font-family: "Montserrat", Arial, Helvetica, sans-serif !important;
}

.home-page p {
    color: inherit;
    letter-spacing: 0;
}

/* ---------- Header / navigation ---------- */
.home-page .site-header {
    height: auto;
    min-height: 720px;
    background:
        radial-gradient(circle at 88% 20%, rgba(98, 75, 192, .20), transparent 28%),
        linear-gradient(130deg, #fbfaff 0%, #f2effc 47%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    background-image: url('../images/bg-header-2.jpg');
    background-size: cover;
    background-position: 20%;
}

.home-page .site-header::after {
    content: "IA";
    position: absolute;
    right: -30px;
    bottom: -145px;
    font-size: 400px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -30px;
    color: rgba(52, 37, 122, .035);
    pointer-events: none;
}

.home-page header .top-bar {
    background: var(--ia-purple-dark);
}

.top-bar-row { display: flex; align-items: center; }
.top-kicker,
.top-links,
.top-links a {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
}

.top-links { display: flex; gap: 10px; align-items: center; }
.top-links a:hover { color: #dcd4ff; }

.home-page header .nav-bar {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(52, 37, 122, .10);
    backdrop-filter: blur(10px);
}

.nav-row { display: flex; align-items: center; }
.text-logo { margin-top: 5px; }
.text-logo a {
    color: var(--ia-purple);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}
.text-logo span { font-weight: 400; letter-spacing: .06em; }

.home-page #menu ul a {
    font-size: 13px;
    letter-spacing: .03em;
    padding: 12px 9px;
}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: stretch;

    /*
     * Remplace simplement cette image par la tienne.
     */
    background-image: url("../images/bg-home-hero.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* Dégradé superposé à l'image */
.hero-overlay {
    width: 100%;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(16, 10, 47, 0.98) 0%,
            rgba(25, 16, 72, 0.94) 28%,
            rgba(52, 37, 122, 0.77) 48%,
            rgba(52, 37, 122, 0.28) 68%,
            rgba(52, 37, 122, 0.00) 86%
        );
}


/* Contenu texte */
.hero-content {
    width: 54%;
    max-width: 670px;
    padding: 75px 10px 80px;
}


/* Petite accroche */
.hero-content .eyebrow {
    margin: 0 0 18px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* Titre principal */
.hero-content h1 {
    margin: 0 0 25px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 55px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: #c8c2ee;
}


/* Texte */
.hero-content .hero-lead {
    max-width: 630px;
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,.90);
    font-size: 19px;
    line-height: 1.7;
    letter-spacing: 0;
}

.hero-content .hero-lead strong {
    color: #ffffff;
    font-weight: 700;
}


/* =========================================================
   BÉNÉFICES
   ========================================================= */

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 35px;
    padding-top: 27px;
    border-top: 1px solid rgba(255,255,255,.20);
}

.hero-benefit {
    min-width: 115px;
}

.hero-benefit-icon {
    height: 45px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
}

.hero-benefit-icon img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.hero-benefit strong {
    display: block;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}


/* =========================================================
   CTA
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.home-page a.button {
    margin: 0;
    padding: 17px 27px;
    border: 0;
    border-radius: 5px;
    letter-spacing: .05em;
    font-size: 13px;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.home-page a.button.button01 {
    background: var(--ia-purple);
}
.home-page a.button.button01:hover {
    background: var(--ia-purple-dark);
    color: #fff;
    transform: translateY(-2px);
}

.text-link {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.text-link:hover { color: #c8c2ee; }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media only screen and (max-width: 959px) {

    .hero-image {
        min-height: 570px;
        background-position: 62% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(16,10,47,.98) 0%,
                rgba(31,20,86,.92) 55%,
                rgba(52,37,122,.35) 100%
            );
    }

    .hero-content {
        width: 62%;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content .hero-lead {
        font-size: 17px;
    }
}


@media only screen and (max-width: 767px) {

    .hero-image {
        min-height: auto;
        background-position: 70% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(16,10,47,.98) 0%,
                rgba(30,19,83,.94) 70%,
                rgba(52,37,122,.72) 100%
            );
    }

    .hero-content {
        width: auto;
        max-width: none;
        padding: 55px 25px 60px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-benefits {
        gap: 25px;
    }
}


@media only screen and (max-width: 468px) {

    .hero-content {
        padding: 45px 20px 50px;
    }

    .hero-content .eyebrow {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .hero-content .hero-lead {
        font-size: 16px;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .hero-benefit {
        min-width: 0;
    }

    .hero-benefit strong {
        font-size: 12px;
    }

    .hero-content .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ---------- Trust / expertise ---------- */
.trust-strip {
    background: var(--ia-purple);
    color: #fff;
}
.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}
.trust-items span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}
.trust-items span:first-child { border-left: 1px solid rgba(255,255,255,.20); }

.expertise-section {
    padding: 52px 0 56px;
    background: #fff;
    border-bottom: 1px solid var(--ia-line);
    text-align: center;
}
.expertise-section .section-kicker { margin-bottom: 20px !important; }
.expertise-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.expertise-line span {
    padding: 10px 16px;
    border: 1px solid #dcd7ed;
    border-radius: 999px;
    color: #443c62;
    background: #fbfaff;
    font-size: 13px;
    font-weight: 650;
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section h2 {
    margin: 0;
    color: var(--ia-ink);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -.035em;
}

.section-approach { background: var(--ia-bg); }
.approach-row { display: flex; align-items: flex-start; }
.approach-heading { padding-right: 50px; }
.big-statement {
    margin: 30px 0 0 !important;
    padding-left: 20px;
    border-left: 3px solid var(--ia-purple);
    color: var(--ia-purple) !important;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 700;
}
.approach-copy { padding-left: 30px; }
.approach-copy p {
    margin: 0 0 21px !important;
    color: #53505b !important;
    font-size: 16px;
    line-height: 1.85;
}

.method-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    border-top: 1px solid #dcd8e8;
    border-bottom: 1px solid #dcd8e8;
}
.method-step {
    min-height: 118px;
    padding: 26px 28px;
    border-right: 1px solid #dcd8e8;
}
.method-step:first-child { border-left: 1px solid #dcd8e8; }
.method-step span {
    display: block;
    margin-bottom: 13px;
    color: #9b95b0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}
.method-step strong {
    color: var(--ia-ink);
    font-size: 19px;
}

.section-commitments { background: #fff; }
.section-heading-centered { text-align: center; margin-bottom: 52px; }
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.commitment-card {
    min-height: 240px;
    margin: 0;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--ia-line);
    border-radius: 7px;
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.commitment-card:hover {
    transform: translateY(-5px);
    border-color: #ccc4eb;
    box-shadow: 0 18px 45px rgba(36, 23, 94, .09);
}
.card-number {
    display: inline-block;
    margin-bottom: 34px;
    color: #a69fbe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}
.commitment-card h3 {
    margin: 0 0 14px;
    color: var(--ia-purple);
    font-size: 21px;
    line-height: 1.3;
}
.commitment-card p {
    margin: 0 !important;
    color: #222 !important;
    font-size: 14px;
    line-height: 1.7;
}
.commitment-cta { text-align: center; margin-top: 46px; }

/* ---------- Diagnostic CTA ---------- */
.diagnostic-section {
    padding: 0 0 90px;
    background: #fff;
}
.diagnostic-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 55px 62px;
    background: linear-gradient(125deg, var(--ia-purple-dark), var(--ia-purple));
    border-radius: 10px;
    color: #fff;
}
.diagnostic-box h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.diagnostic-box p:not(.section-kicker) {
    max-width: 720px;
    color: #e4dff8 !important;
    font-size: 15px;
}
.section-kicker.light { color: #cfc5fa !important; }
a.button.button-light {
    background: #fff;
    color: var(--ia-purple-dark);
    white-space: nowrap;
}
a.button.button-light:hover { background: #eeeafc; color: var(--ia-purple-dark); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.home-page footer { background: #211e29; }
.footer-main { padding: 54px 0 44px; }
.footer-logo a { color: #fff; }
.footer-brand p {
    max-width: 500px;
    margin-top: 18px !important;
    color: #aaa6b5 !important;
    font-size: 13px;
}
.footer-nav {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    padding-top: 10px;
    flex-wrap: wrap;
}
.footer-nav a { color: #d5d1dd; font-size: 13px; font-weight: 650; }
.footer-nav a:hover { color: #fff; }
.home-page footer .bottom-footer { background: #18161e; }

/* ---------- Responsive ---------- */
@media only screen and (max-width: 1199px) {
    .hero-inner { gap: 44px; }
    .commitment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media only screen and (max-width: 959px) {
    .home-page .site-header { min-height: 0; }
    .hero { padding-top: 70px; padding-bottom: 80px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-panel { max-width: 650px; }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .approach-row { display: block; }
    .approach-heading, .approach-copy { padding-left: 0; padding-right: 0; }
    .approach-copy { margin-top: 42px; }
    .method-flow { grid-template-columns: repeat(2, 1fr); }
    .diagnostic-box { grid-template-columns: 1fr; }
}

@media only screen and (max-width: 767px) {
    .top-bar-row, .nav-row { display: block; }
    .top-bar-row .f-right, .nav-row .f-right { float: none !important; }
    .top-links { justify-content: flex-start; }
    .home-page #menu nav { display: block; margin-top: 5px; }
    .home-page #menu ul { display: flex; flex-wrap: wrap; }
    .home-page #menu ul li { display: block; }
    .home-page #menu ul a { float: none; display: block; margin-left: 0; padding-left: 0; padding-right: 16px; }
    .hero { padding: 55px 18px 65px; }
    .hero h1 { font-size: 42px; }
    .hero-panel { padding: 27px; }
    .trust-items { grid-template-columns: 1fr; }
    .trust-items span, .trust-items span:first-child { border-left: 0; border-right: 0; }
    .section { padding: 72px 18px; }
    .expertise-section { padding-left: 18px; padding-right: 18px; }
    .method-flow { grid-template-columns: 1fr; }
    .method-step, .method-step:first-child { border-left: 1px solid #dcd8e8; }
    .commitment-grid { grid-template-columns: 1fr; }
    .diagnostic-section { padding: 0 18px 70px; }
    .diagnostic-box { padding: 38px 28px; }
    .diagnostic-box h2 { font-size: 30px; }
    .footer-nav { justify-content: flex-start; margin-top: 25px; }
}

@media only screen and (max-width: 468px) {
    .home-page .site-header { height: auto; }
    .hero h1 { font-size: 35px; }
    .hero-lead { font-size: 17px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .home-page a.button { width: auto; text-align: center; }
    .text-logo a { font-size: 26px; }
}
