/* nav-landing.css — nav + drawer landing isolés (blog/marketing). Extrait de landing-new.css. */
:root {

            --bg:           #FAFAF7;
            --bg-2:         #F1F0EA;
            --bg-3:         #FFFFFF;
            --ink:          #0A0A0A;
            --ink-2:        #404040;
            --ink-3:        #737373;
            --ink-4:        #A3A3A3;
            --rule:         #E5E5E0;
            --rule-2:       #D4D4CE;

            --surface-d:    #0A0A0B;
            --surface-d-2:  #16161A;
            --surface-d-3:  #222226;

            --signal:       #FF4D2E;
            --signal-2:     #E63812;
            --signal-soft:  #FFE5DE;
            --green:        #16A34A;
            --green-soft:   #DCFCE7;

            --grad-wave:    linear-gradient(180deg, #FF7A47 0%, #FF4D2E 100%);

            --sans:  'Inter Tight', system-ui, -apple-system, sans-serif;
            --serif: 'Inter Tight', system-ui, -apple-system, sans-serif; /* serif retiré — unifié sur sans */
            --mono:  'JetBrains Mono', ui-monospace, monospace;

            /* Custom easings (Emil-style — stronger than built-in) */
            --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
            --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);
            --ease-snap:     cubic-bezier(0.2, 0.7, 0.3, 1);
            --ease-drawer:   cubic-bezier(0.32, 0.72, 0, 1);

            --press: scale(0.97);

            /* Canonical pulse rhythm — one breath, all "live" indicators in sync */
            --pulse-rhythm:  1.8s;

            --max:   1240px;

            /* — v8 — Spacing rhythm (x1.5 generalised for calm) */
            --section-pad:   clamp(96px, 12vh, 160px);
            --block-gap:     clamp(48px, 6vh, 80px);
            --head-gap:      clamp(56px, 7vh, 88px);

            /* — v8 — Typo scale (monumental + disciplined) */
            --fs-hero:       clamp(52px, 7.6vw, 108px);
            --fs-h2:         clamp(38px, 4.8vw, 68px);
            --fs-h3:         clamp(22px, 1.8vw, 26px);
            --fs-lede:       clamp(17px, 1.4vw, 21px);
            --fs-eyebrow:    11px;
            --tracking-hero: -0.045em;
            --tracking-h2:   -0.038em;
            --tracking-eyebrow: 0.14em;
            --leading-tight: 0.96;
            --leading-body:  1.6;
        }

/* ════════════════════════════════════════════════════
           NAV
        ════════════════════════════════════════════════════ */
        .nav-wrap {
            position: sticky;
            top: 16px;
            z-index: 50;
            padding: 0 32px;
            margin-top: 24px;
        }

nav.top {
            max-width: 1180px;
            margin: 0 auto;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(18px) saturate(160%);
            -webkit-backdrop-filter: blur(18px) saturate(160%);
            border: 1px solid var(--rule);
            border-radius: 999px;
            padding: 8px 8px 8px 24px;
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 32px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.08);
            transition: box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out), background 240ms var(--ease-out);
        }

nav.top.scrolled {
            background: rgba(255,255,255,0.95);
            border-color: var(--rule-2);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 14px 36px -8px rgba(0,0,0,0.16);
        }

.brand { display: flex; align-items: center; gap: 10px; }

.brand .mark {
            width: 28px; height: 28px;
            background: var(--ink);
            color: white;
            border-radius: 8px;
            display: grid;
            place-items: center;
            position: relative;
            overflow: hidden;
        }

.brand .mark::before {
            content: '';
            position: absolute;
            top: -8px; right: -8px;
            width: 16px; height: 16px;
            background: var(--signal);
            border-radius: 50%;
            opacity: 0.6;
        }

.brand .mark svg { width: 14px; height: 14px; position: relative; z-index: 1; }

/* Nav logo : pas de cadre noir, logo plus grand */
        nav.top .brand .mark { width: auto; height: auto; background: transparent; border-radius: 0; overflow: visible; }

nav.top .brand .mark::before { display: none; }

nav.top .brand .mark svg { width: 36px; height: 36px; color: var(--signal); }

.brand .word {
            font-weight: 700;
            font-size: 16px;
            letter-spacing: -0.02em;
            color: var(--ink);
        }

.brand .word sup {
            font-size: 9px;
            color: var(--ink-3);
            font-weight: 500;
            margin-left: 4px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            font-family: var(--mono);
            vertical-align: top;
        }

nav.top .links {
            display: flex;
            gap: 28px;
            justify-content: center;
            align-items: center;
        }

nav.top .links a {
            font-size: 13.5px;
            font-weight: 500;
            color: var(--ink-2);
            transition: color 180ms var(--ease-out);
            position: relative;
        }

nav.top .links a::after {
            content: '';
            position: absolute;
            left: 0; right: 0;
            bottom: -22px;
            height: 2px;
            background: var(--signal);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 280ms var(--ease-out);
        }

@media (hover: hover) and (pointer: fine) {

            nav.top .links a:hover { color: var(--ink); }

            nav.top .links a:hover::after { transform: scaleX(1); }
}

nav.top .right { display: flex; align-items: center; gap: 8px; }

nav.top .login {
            font-size: 13.5px;
            font-weight: 500;
            color: var(--ink-2);
            padding: 9px 14px;
            transition: color 180ms var(--ease-out);
        }

@media (hover: hover) and (pointer: fine) {

            nav.top .login:hover { color: var(--ink); }
}

nav.top .cta {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--ink);
            color: white;
            padding: 10px 18px;
            border-radius: 999px;
            font-size: 13.5px;
            font-weight: 600;
            transition: background 200ms var(--ease-out), transform 160ms var(--ease-out);
        }

nav.top .cta svg { width: 12px; height: 12px; transition: transform 200ms var(--ease-out); }

nav.top .cta:active { transform: var(--press); }

@media (hover: hover) and (pointer: fine) {

            nav.top .cta:hover { background: var(--signal); }

            nav.top .cta:hover svg { transform: translateX(3px); }

            nav.top .cta:active { transform: var(--press); }
}

nav.top .burger {
            display: none;
            width: 40px; height: 40px;
            border-radius: 999px;
            border: 1px solid var(--rule);
            background: var(--bg-3);
            color: var(--ink);
            place-items: center;
            transition: background 180ms var(--ease-out), transform 140ms var(--ease-out);
        }

nav.top .burger svg { width: 18px; height: 18px; }

nav.top .burger:active { transform: var(--press); }

@media (max-width: 900px) {

            nav.top { grid-template-columns: auto 1fr auto; padding: 8px 8px 8px 18px; }

            nav.top .links { display: none; }

            nav.top .login { display: none; }

            nav.top .cta { display: none; }

            nav.top .burger { display: grid; }
}

/* Mobile drawer */
        .drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(10,10,10,0.6);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            opacity: 0;
            visibility: hidden;
            transition: opacity 280ms var(--ease-drawer), visibility 280ms var(--ease-drawer);
            z-index: 90;
        }

.drawer-backdrop[data-open="true"] {
            opacity: 1;
            visibility: visible;
        }

.drawer {
            position: fixed;
            top: 0; right: 0; bottom: 0;
            width: min(360px, 88vw);
            background: var(--bg);
            border-left: 1px solid var(--rule);
            transform: translateX(100%);
            transition: transform 340ms var(--ease-drawer);
            z-index: 100;
            display: flex;
            flex-direction: column;
            padding: 24px 24px 32px;
            overflow-y: auto;
        }

.drawer[data-open="true"] {
            transform: translateX(0);
        }

.drawer .head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--rule);
            margin-bottom: 24px;
        }

.drawer .close {
            width: 36px; height: 36px;
            border-radius: 999px;
            background: var(--bg-2);
            color: var(--ink);
            display: grid;
            place-items: center;
            transition: background 180ms var(--ease-out), transform 140ms var(--ease-out);
        }

.drawer .close:active { transform: var(--press); }

.drawer .close svg { width: 16px; height: 16px; }

.drawer .nav-links {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

.drawer .nav-links a {
            font-size: 16px;
            font-weight: 600;
            color: var(--ink);
            padding: 14px 0;
            border-bottom: 1px solid var(--rule);
            display: flex;
            align-items: center;
            justify-content: space-between;
            letter-spacing: -0.01em;
        }

.drawer .nav-links a:last-child { border-bottom: 0; }

.drawer .nav-links a svg {
            width: 14px; height: 14px;
            color: var(--ink-3);
            transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
        }

@media (hover: hover) and (pointer: fine) {

            .drawer .nav-links a:hover { color: var(--signal); }

            .drawer .nav-links a:hover svg { transform: translateX(4px); color: var(--signal); }
}

.drawer .foot {
            margin-top: auto;
            padding-top: 24px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

.drawer .foot .login-link {
            font-size: 14px;
            color: var(--ink-3);
            text-align: center;
            padding: 10px;
        }

.drawer .foot .login-link:hover { color: var(--ink); }

.drawer .foot .drawer-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background: var(--ink);
            color: white;
            padding: 14px 22px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 14.5px;
            position: relative;
            overflow: hidden;
            isolation: isolate;
            transition: transform 140ms var(--ease-out);
        }

.drawer .foot .drawer-cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--signal);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 260ms var(--ease-out);
            z-index: -1;
        }

.drawer .foot .drawer-cta:active { transform: var(--press); }

.drawer .foot .drawer-cta svg { width: 13px; height: 13px; transition: transform 220ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {

            .drawer .foot .drawer-cta:hover::before { transform: scaleX(1); }

            .drawer .foot .drawer-cta:hover svg { transform: translateX(3px); }
}

body.drawer-open { overflow: hidden; }

.cta-row {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 48px;
            justify-content: center;
        }

/* Secondary self-serve link (B2B heroes) — low-friction champion path */
        .cta-row:has(+ .cta-alt) { margin-bottom: 18px; }

.cta-alt {
            display: flex;
            width: fit-content;
            margin: 0 auto 44px;
            align-items: center;
            gap: 6px;
            font: 500 14px/1.2 var(--sans);
            color: var(--ink-3);
            text-decoration: none;
            transition: color 200ms var(--ease-out);
        }

.cta-alt svg {
            width: 14px;
            height: 14px;
            transition: transform 200ms var(--ease-out);
        }

.cta-alt:hover { color: var(--ink); }

@media (hover: hover) and (pointer: fine) {

            .cta-alt:hover svg { transform: translateX(3px); }
}

.final-cta .cta-row { justify-content: center; margin-bottom: 32px; }

/* CTA grid (copy + form) */
        .final-cta .cta-grid {
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            gap: 64px;
            align-items: center;
            max-width: 1080px;
            margin: 0 auto;
        }

@media (max-width: 900px) {

            .final-cta .cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

.final-cta .cta-copy { text-align: left; }

.final-cta .cta-copy h2 {
            font-size: clamp(36px, 4.8vw, 60px);
            text-align: left;
            margin-bottom: 16px;
        }

.final-cta .cta-copy p {
            margin: 0 0 24px;
            text-align: left;
        }

.cta-bullets {
            list-style: none;
            display: grid;
            gap: 12px;
            margin-top: 24px;
        }

.cta-bullets li {
            display: grid;
            grid-template-columns: 24px 1fr;
            gap: 12px;
            align-items: start;
            font-size: 14px;
            color: rgba(255,255,255,0.75);
            line-height: 1.5;
        }

.cta-bullets li b { color: white; font-weight: 600; }

.cta-bullets li .b-ico {
            width: 24px; height: 24px;
            border-radius: 50%;
            background: rgba(22, 163, 74, 0.15);
            color: var(--green);
            display: grid;
            place-items: center;
            flex-shrink: 0;
        }

.cta-bullets li .b-ico svg { width: 13px; height: 13px; }

/* Form */
        .cta-form {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 20px;
            padding: 32px;
            backdrop-filter: blur(20px) saturate(140%);
            -webkit-backdrop-filter: blur(20px) saturate(140%);
            box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -16px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
            gap: 16px;
            text-align: left;
        }

.cta-form-title {
            font-size: 22px;
            font-weight: 700;
            letter-spacing: -0.02em;
            color: white;
            line-height: 1.2;
        }

.cta-form-sub {
            font-size: 13.5px;
            color: rgba(255,255,255,0.55);
            margin: -8px 0 8px;
            line-height: 1.5;
        }

.cta-form-submit {
            margin-top: 8px;
            width: 100%;
            justify-content: center;
            background: var(--signal);
            box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 12px 24px -6px rgba(255,77,46,0.45);
            position: relative;
        }

.cta-form-submit::before { background: white; }

@media (hover: hover) and (pointer: fine) {

            .cta-form-submit:hover { color: var(--ink); }

            .cta-form-submit:hover .btn-arrow { color: var(--ink); }
}

.cta-form-submit .btn-spinner {
            width: 16px; height: 16px;
            display: none;
            animation: spin 0.9s linear infinite;
        }

.cta-form-submit[data-state="loading"] .btn-arrow { display: none; }

.cta-form-submit[data-state="loading"] .btn-spinner { display: inline-block; }

.cta-form-submit[data-state="loading"] .btn-label::after { content: '…'; }

.cta-form-submit[data-state="success"] {
            background: var(--green);
            box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 12px 24px -6px rgba(22,163,74,0.4);
        }

.cta-form-submit[data-state="success"]::before { display: none; }

.cta-form-submit[data-state="success"] .btn-arrow,
        .cta-form-submit[data-state="success"] .btn-spinner { display: none; }

.cta-form-msg {
            font-size: 13px;
            color: rgba(255,255,255,0.7);
            min-height: 1.4em;
            line-height: 1.4;
        }

.cta-form-msg.error { color: #FCA5A5; }

.cta-form-msg.success { color: #86EFAC; }

.cta-form-fine {
            font-size: 11.5px;
            color: rgba(255,255,255,0.4);
            line-height: 1.5;
            margin-top: -4px;
        }

.cta-form-fine a {
            color: rgba(255,255,255,0.6);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

@media (hover: hover) and (pointer: fine) {

            .cta-form-fine a:hover { color: var(--signal); }
}

@media (max-width: 900px) {

            footer.foot .grid .brand-col { grid-column: 1 / -1; max-width: 460px; }
}

footer.foot .brand-col .brand .mark { width: 32px; height: 32px; }

footer.foot .brand-col .brand .word { font-size: 17px; }

footer.foot .brand-col p {
            font-size: 14px;
            color: var(--ink-3);
            line-height: 1.6;
            margin: 20px 0 28px;
            max-width: 28em;
        }

footer.foot .brand-col .social {
            display: flex;
            gap: 10px;
        }

footer.foot .brand-col .social a {
            width: 36px; height: 36px;
            border-radius: 10px;
            border: 1px solid var(--rule);
            display: grid;
            place-items: center;
            color: var(--ink-3);
            background: var(--bg-3);
            transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 140ms var(--ease-out), background 180ms var(--ease-out);
        }

footer.foot .brand-col .social a:active { transform: var(--press); }

@media (hover: hover) and (pointer: fine) {

            footer.foot .brand-col .social a:hover {
                color: white;
                background: var(--ink);
                border-color: var(--ink);
                transform: translateY(-2px);
            }
}

footer.foot .brand-col .social svg { width: 15px; height: 15px; }

@media (prefers-reduced-motion: no-preference) {

            .hero .cta-row        { animation-delay: 440ms; }
}

/* Hero entreprises + écoles + solo : layout cta-row en flex pour que .risk-reversal flow below */
        body[data-page="entreprises"] .hero .cta-row,
        body[data-page="ecoles"] .hero .cta-row,
        body[data-page="solo"] .hero .cta-row {
            display: flex;
            justify-content: center;
        }

/* ════════════════════════════════════════════════════
   PHASE 2 — Solutions dropdown + Sub-nav contextuelle + Footer redesign
   Added 2026-05-27
   ════════════════════════════════════════════════════ */

/* ─── Solutions dropdown (in top nav) ─────────────────────── */
.solutions-dd {
    position: relative;
}

.solutions-dd .solutions-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2);
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 180ms var(--ease-out);
    font-family: inherit;
}

.solutions-dd .solutions-trigger svg {
    width: 11px; height: 11px;
    transition: transform 220ms var(--ease-out);
}

.solutions-dd .solutions-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translate(-50%, -6px);
    width: 280px;
    background: var(--bg-3);
    border: 1px solid var(--rule);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 12px 36px -10px rgba(10,10,11,0.18), 0 2px 6px rgba(10,10,11,0.06), 0 0 0 1px rgba(255,255,255,0.6) inset;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
    z-index: 100;
}

.solutions-dd:hover .solutions-menu,
.solutions-dd:focus-within .solutions-menu,
.solutions-dd[data-open="true"] .solutions-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.solutions-dd:hover .solutions-trigger svg,
.solutions-dd[data-open="true"] .solutions-trigger svg {
    transform: rotate(180deg);
}

.solutions-dd .solutions-menu::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    width: 12px; height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--bg-3);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
}

.solutions-dd .sol-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: background 180ms var(--ease-out);
    text-decoration: none;
}

.solutions-dd .sol-item:hover {
    background: var(--bg-2);
}

.solutions-dd .sol-item .sol-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.solutions-dd .sol-item .sol-name svg {
    width: 12px; height: 12px;
    color: var(--signal);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.solutions-dd .sol-item:hover .sol-name svg {
    opacity: 1;
    transform: translateX(0);
}

.solutions-dd .sol-item .sol-desc {
    font-size: 11.5px;
    color: var(--ink-3);
    line-height: 1.4;
    font-family: var(--mono);
}

/* Désactiver le underline rouge hérité de nav.top .links a sur les items du dropdown */
.solutions-dd .sol-item::after { display: none; content: none; }

/* ─── Sub-nav contextuelle (sticky, sous le hero) ──────────── */
.subnav-wrap {
    position: sticky;
    top: 78px;
    z-index: 40;
    padding: 0 32px;
    margin: -28px auto 0;
    pointer-events: none;
}

@media (max-width: 800px) {

    .subnav-wrap { padding: 0 16px; }
}

/* ─── Mobile drawer groups (Solutions, ancres locales) ─────── */
.drawer .nav-links .drawer-group {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
}

.drawer .nav-links .drawer-group:last-child { border-bottom: 0; }

.drawer .nav-links .drawer-label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 0 12px;
}

.drawer .nav-links .drawer-group a {
    border-bottom: 0;
    padding: 12px 0;
}

.drawer .nav-links .drawer-group a:not(:last-child) {
    border-bottom: 1px solid rgba(229, 229, 224, 0.5);
}

.drawer .nav-links .drawer-group a b {
    font-weight: 700;
    color: var(--ink);
}

/* Nav top — lang toggle FR/EN */
.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 4px;
    padding: 4px 8px;
    border-radius: 99px;
    background: var(--bg-2);
}

.nav-lang a {
    font: 600 11px/1 var(--mono);
    letter-spacing: 0.04em;
    color: var(--ink-4);
    padding: 4px 6px;
    border-radius: 6px;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.nav-lang a:hover {
    color: var(--ink);
}

.nav-lang a.active {
    color: var(--ink);
    background: var(--bg-3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nav-lang span {
    color: var(--ink-4);
    font: 600 11px/1 var(--mono);
    user-select: none;
}

@media (max-width: 640px) {

    .nav-lang { display: none; }
}
