/*
| GestiSchool — feuille de style de la page de vente
|--------------------------------------------------------------------------
| Partagée par index.html, mentions-legales.html et confidentialite.html.
| Aucun framework : la page doit rester légère et se charger vite depuis
| une connexion mobile.
|
| La page assume un rendu CLAIR. Toutes les couleurs sont déclarées : rien
| n'est emprunté au thème du navigateur.
*/

:root {
    /* Bleu : couleur de confiance et d'action. */
    --primary: #12457e;
    --primary-dark: #0b2f58;
    --primary-light: #eaf1f9;
    --primary-tint: #f6f9fd;

    /* Ocre : réservé au TARIF. Une seule couleur chaude, un seul rôle. */
    --accent: #b0541b;

    --background: #ffffff;
    --band: #f3f7fb;
    --foreground: #0e1726;
    --muted: #55667d;
    --border: #dde5ef;
    --border-strong: #c5d2e2;

    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(14, 23, 38, .05);
    --shadow: 0 1px 2px rgba(14, 23, 38, .04), 0 10px 30px rgba(14, 23, 38, .07);
    --container: 1160px;
    --header: 68px;

    --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.18;
    letter-spacing: -.021em;
    text-wrap: balance;
    font-weight: 800;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.012em; }

p { margin: 0; }

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------------------------------------------------------------- Structure */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 22px;
}

.section {
    padding-block: clamp(58px, 7vw, 104px);
    scroll-margin-top: calc(var(--header) + 12px);
}

.section--band { background: var(--band); }
.section--tint { background: var(--primary-tint); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.lead {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.09rem;
    max-width: 62ch;
}

.section-head--center .lead { margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus { left: 16px; }

/* ---------------------------------------------------------------- Boutons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: .98rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn--outline { background: #fff; color: var(--primary); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--primary); background: var(--primary-light); }

.btn--light { background: #fff; color: var(--primary-dark); }
.btn--light:hover { background: var(--primary-light); transform: translateY(-1px); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }

.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- En-tête */

.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    height: var(--header);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--foreground);
    font-weight: 800;
    font-size: 1.09rem;
    letter-spacing: -.02em;
    text-decoration: none;
    margin-right: auto;
}

.brand__mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--primary);
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
}

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

.nav a:hover { color: var(--foreground); background: var(--band); }

.header__cta { margin-left: 10px; }

.burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform .22s ease, opacity .18s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 14px 22px 22px;
}

/*
| `:not(.btn)` : sans cette exclusion, `.mobile-nav a` l'emportait sur
| `.btn--primary` (une classe de plus dans le sélecteur) et le bouton
| « Demander une démo » du menu mobile s'affichait en texte noir aligné à
| gauche, sur son fond bleu.
*/
.mobile-nav a:not(.btn) {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--foreground);
    font-weight: 600;
    text-decoration: none;
}

.mobile-nav .btn { margin-top: 18px; }

/* ---------------------------------------------------------------- Héros */

.hero {
    position: relative;
    padding-top: clamp(46px, 6vw, 80px);
    padding-bottom: clamp(52px, 7vw, 92px);
    background:
        radial-gradient(90rem 40rem at 78% -14%, var(--primary-light), transparent 62%),
        var(--background);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    gap: clamp(38px, 5vw, 64px);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 11px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: .84rem;
    font-weight: 700;
}

.badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.hero h1 { margin-top: 20px; }
.hero h1 .soft { color: var(--primary); display: block; }

.hero__lead {
    margin-top: 20px;
    max-width: 54ch;
    color: var(--muted);
    font-size: 1.12rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .93rem;
    font-weight: 600;
}

.reassurance li { display: flex; align-items: center; gap: 8px; }

.reassurance li::before {
    content: "";
    flex: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2312457e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ------------------------------------------------- Maquette de l'interface */
/*
| Le tableau de bord est DESSINÉ en CSS, jamais capturé : une capture
| d'écran de l'application ferait figurer des noms d'apprenants sur une
| page publique. Les noms affichés ici sont fictifs et signalés comme tels.
*/

.mockup {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
    font-size: 13px;
}

.mockup__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: var(--band);
    border-bottom: 1px solid var(--border);
}

.mockup__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }

.mockup__url {
    margin-left: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.mockup__body { display: grid; grid-template-columns: 148px minmax(0, 1fr); }

.mockup__side {
    padding: 16px 12px;
    border-right: 1px solid var(--border);
    background: var(--primary-dark);
    color: rgba(255, 255, 255, .72);
}

.mockup__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}

.mockup__brand i {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .18);
    font-style: normal;
    font-size: 11px;
}

.mockup__side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.mockup__side li { padding: 6px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mockup__side li.is-active { background: rgba(255, 255, 255, .16); color: #fff; }

/*
| `minmax(0, 1fr)` et non `auto` : une piste `auto` se dimensionne sur le
| contenu MINIMAL de ses éléments. Sous 340 px, la maquette débordait donc
| de son propre cadre — invisible en local, bien réelle sur un téléphone.
*/
.mockup__main { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.mockup__rows, .panel { min-width: 0; }

.mockup__title { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.mockup__title span { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }

.mockup__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }

.stat {
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

.stat b {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.stat span { color: var(--muted); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.panel { border: 1px solid var(--border); border-radius: 10px; padding: 12px; }

.panel__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 11px;
    font-size: 11.5px;
    font-weight: 700;
}

.panel__head em { font-style: normal; color: var(--muted); font-weight: 600; }

.bars { display: flex; align-items: flex-end; gap: 9px; height: 62px; }
.bars div { flex: 1; border-radius: 4px 4px 0 0; background: var(--primary); opacity: .28; }
.bars div.is-high { opacity: 1; }

.mockup__rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }

.row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 9px;
    border-radius: 8px;
    background: var(--band);
    font-size: 12px;
}

/* Le libellé se tronque plutôt que de repousser la pastille de statut. */
.row > span:not(.pill) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.row i {
    display: grid;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-style: normal;
    font-size: 10px;
    font-weight: 800;
}

.row b { font-weight: 700; }
.row em { font-style: normal; color: var(--muted); font-size: 11px; }

.pill {
    flex: none;
    margin-left: auto;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
}

.pill--ok { background: #e2f1e8; color: #1c6b45; }
.pill--wait { background: #fdeee0; color: #94491a; }

.mockup__note {
    padding: 8px 16px 12px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------- Grilles */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .97rem; }

.card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    border-radius: 11px;
    background: var(--primary-light);
    color: var(--primary);
}

.card__icon svg { width: 21px; height: 21px; }

/* ------------------------------------------------------------- Problèmes */

.pains { display: grid; gap: 12px; }

.pain {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    color: var(--muted);
    font-size: .97rem;
}

.pain::before {
    content: "";
    flex: none;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    border-radius: 50%;
    background: #fdeee0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b0541b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 5l6 6M11 5l-6 6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.answer {
    margin-top: 28px;
    padding: 26px 28px;
    border-radius: var(--radius);
    background: var(--primary-dark);
    color: #fff;
}

.answer p { color: rgba(255, 255, 255, .82); margin-top: 10px; }
.answer strong { color: #fff; }

/* ------------------------------------------------------------- Domaines */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
    padding: 9px 17px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    font-size: .93rem;
    font-weight: 700;
}

/* ------------------------------------------------------------- Flux appel */

.flow { display: grid; gap: 10px; }

.flow__step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    font-weight: 700;
}

.flow__step i {
    display: grid;
    place-items: center;
    flex: none;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-style: normal;
    font-size: .8rem;
    font-weight: 800;
}

.flow__step small { display: block; color: var(--muted); font-size: .86rem; font-weight: 500; }

.flow__end { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 59px; }

.tag {
    padding: 5px 13px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

.tag--ok { background: #e2f1e8; color: #1c6b45; }
.tag--no { background: #fbe4e4; color: #97231f; }
.tag--late { background: #fdeee0; color: #94491a; }

/* ------------------------------------------------------------- Années */

.years { display: grid; gap: 14px; }

.year {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 11px;
    background: #fff;
}

.year b { font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.year span { color: var(--muted); font-size: .93rem; }
.year .now { margin-left: auto; padding: 4px 12px; border-radius: 999px; background: var(--primary-light); color: var(--primary-dark); font-size: .78rem; font-weight: 800; }

.year--past { border-left-color: var(--border-strong); opacity: .82; }

/* ------------------------------------------------------------- Profil */

.profile-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }

.profile-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: .97rem;
}

.profile-list li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2312457e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* --------------------------------------------------------- Indicateurs */

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.kpi {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.kpi b {
    display: block;
    font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.kpi span { color: var(--muted); font-size: .95rem; font-weight: 600; }

/* ------------------------------------------------------------- Thèmes */

.themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.theme {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.theme__swatch { height: 46px; border-radius: 8px; margin-bottom: 11px; }
.theme span { font-size: .87rem; font-weight: 700; }
.theme small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }

/* ------------------------------------------------------------- Processus */

.steps { display: grid; gap: 0; counter-reset: step; }

.step {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

.step:last-child { border-bottom: 1px solid var(--border); }

.step__num {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.02em;
}

.step p { color: var(--muted); margin-top: 7px; font-size: .97rem; }

/* ------------------------------------------------------------- Tarif */

.pricing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    max-width: 860px;
    margin-inline: auto;
}

.price {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}

.price--main { border-color: var(--primary); box-shadow: var(--shadow); }

.price__label {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.price__figure {
    display: block;
    margin: 14px 0 4px;
    color: var(--accent);
    font-size: clamp(2rem, 1.3rem + 2.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.price__unit { display: block; color: var(--muted); font-size: .93rem; font-weight: 600; }
.price__note { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }

.price__gift {
    display: inline-block;
    margin-top: 13px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fdeee0;
    color: #8f4315;
    font-size: .84rem;
    font-weight: 800;
}

.pricing-foot {
    max-width: 860px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: .95rem;
    text-align: center;
}

/* ------------------------------------------------------------- FAQ */

.faq { max-width: 800px; margin-inline: auto; }

.faq details {
    border-bottom: 1px solid var(--border);
    background: transparent;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 2px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.02rem;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    flex: none;
    width: 13px;
    height: 13px;
    border-right: 2.2px solid var(--primary);
    border-bottom: 2.2px solid var(--primary);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform .22s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq p { padding: 0 2px 22px; color: var(--muted); max-width: 68ch; }

/* ------------------------------------------------------------- Formulaire */

.cta-band {
    background: linear-gradient(150deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .84); }
.cta-band .eyebrow { color: rgba(255, 255, 255, .72); }

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
}

.contact-aside ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
/*
| Pas de `display: flex` ici : le `<strong>` et le texte qui le suit
| devenaient deux éléments flex côte à côte, et la phrase se cassait en
| deux colonnes au lieu de couler normalement.
*/
.contact-aside li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, .86);
    font-size: .97rem;
}

.contact-aside li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
}
.contact-aside li strong { color: #fff; }
.contact-aside a { color: #fff; }

.form {
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--radius);
    background: #fff;
    color: var(--foreground);
    box-shadow: var(--shadow);
}

.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .89rem; font-weight: 700; }
.field label .opt { color: var(--muted); font-weight: 600; }

.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 9px;
    background: #fff;
    color: var(--foreground);
    font: inherit;
    font-size: .97rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }

.field textarea { min-height: 108px; resize: vertical; }

.field__error { color: #b3261e; font-size: .84rem; font-weight: 600; min-height: 0; }

/* Piège à robots : invisible pour un humain, hors flux, hors tabulation. */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { margin-top: 20px; display: grid; gap: 13px; }
.form__legal { color: var(--muted); font-size: .85rem; }

.form__status { padding: 13px 16px; border-radius: 10px; font-size: .94rem; font-weight: 600; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e2f1e8; color: #1c6b45; }
.form__status--ko { background: #fbe4e4; color: #97231f; }

/* ------------------------------------------------------------- Pied */

.footer { background: #0b1a2c; color: rgba(255, 255, 255, .68); padding-block: 56px 30px; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; font-weight: 800; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer__brand .brand__mark { background: rgba(255, 255, 255, .16); }
.footer__about { margin-top: 14px; max-width: 40ch; font-size: .95rem; }

.footer__credit { margin-top: 20px; font-size: .95rem; color: rgba(255, 255, 255, .8); }
.footer__credit a { font-weight: 700; color: #fff; }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    justify-content: space-between;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    font-size: .89rem;
}

/* ------------------------------------------------------------- Pages texte */

.legal { padding-block: clamp(46px, 6vw, 78px); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.legal__meta { margin-top: 14px; color: var(--muted); font-size: .93rem; }
.legal h2 { font-size: 1.42rem; margin-top: 46px; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li { color: #2c3a4d; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 11px 12px; border: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--band); font-weight: 700; width: 34%; }
.legal__scroll { overflow-x: auto; }

.todo {
    background: #fdeee0;
    border-bottom: 1.5px solid #b0541b;
    color: #8f4315;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}

.notice {
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    background: var(--primary-tint);
    font-size: .96rem;
}

/* ------------------------------------------------------------- Animations */

.js .reveal { opacity: 0; transform: translateY(14px); }

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .3, 1);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 1000px) {
    .nav, .header__cta { display: none; }
    .burger { display: block; }
    .header.is-open .mobile-nav { display: block; }
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing { grid-template-columns: minmax(0, 1fr); }
    .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form__grid { grid-template-columns: minmax(0, 1fr); }
    .mockup__body { grid-template-columns: minmax(0, 1fr); }
    .mockup__side { display: none; }
    .step { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 20px 0; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .flow__end { padding-left: 0; }
}

@media (max-width: 380px) {
    .container { padding-inline: 17px; }
    .mockup__stats { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 22px; }
}
