/* Jaloon - site vitrine. CSS pur, sans dependance externe, sans JavaScript.
 * Accessible (RGAA) : contrastes >= 4,5:1 pour le texte, focus visible,
 * structure semantique, responsive des 320 px, effets de survol figes pour
 * qui a demande moins de mouvement.
 * Charte « Argile » : accent terracotta sur fond blanc, sections alternees
 * dans un gris chaud tres leger. Texte en Atkinson Hyperlegible Next, logo
 * en Outfit (mot-symbole « jal[barre]n »). Toutes les couleurs passent par les variables
 * de :root, illustrations comprises (classes .f-* et .s-*). */

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/atkinson-hyperlegible-next.woff2') format('woff2');
}
/* Outfit ne sert qu'au logo : une seule graisse. */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/outfit-700.woff2') format('woff2');
}

:root {
    --bg: #ffffff;             /* fond general */
    --bg-alt: #f6f5f2;         /* sections alternees, gris chaud tres leger */
    --bg-header: rgba(255, 255, 255, .96);
    --surface: #ffffff;        /* cartes */
    --ink: #24211d;            /* texte principal */
    --muted: #6e6358;          /* texte secondaire (5,4:1 sur --bg-alt) */
    --line: #e6e1d9;           /* filets et bordures */
    --accent: #b0563b;         /* terracotta : boutons, accents */
    --accent-mid: #cf8f74;
    --accent-soft: #f5e6dc;    /* fonds d'accent tres clairs */
    --accent-ink: #8a3f28;     /* terracotta pour le texte (6,8:1) */
    --placeholder: #eeeae3;
    --ok: #2e8b57;
    --moodle: #f98012;
    --logo-fill: #b0563b;      /* barre du logo, partie remplie */
    --logo-rail: #f1e0d6;      /* barre du logo, partie vide */

    --font-display: 'Atkinson Hyperlegible Next', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-text: 'Atkinson Hyperlegible Next', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --radius: .625rem;
    --radius-sm: .375rem;
    --shadow: 0 1px 2px rgba(36, 33, 29, .05);
    --shadow-hover: 0 16px 32px -18px rgba(138, 63, 40, .35);
    --maxw: 1344px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-text);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 4.8vw, 3.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; }
h2 { font-family: var(--font-text); font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-family: var(--font-text); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; }

a { color: var(--accent-ink); text-underline-offset: .15em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Accessibilite */
.skip-link {
    position: absolute; left: .5rem; top: -3rem;
    background: var(--ink); color: #fff; padding: .6rem 1rem;
    border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { top: .5rem; }
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
    outline: 3px solid var(--accent-ink);
    outline-offset: 2px;
}
.nowrap { white-space: nowrap; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------------------------------- Boutons --------------------------------- */
.btn {
    display: inline-block; font-weight: 600; text-decoration: none; text-align: center;
    padding: .7rem 1.2rem; border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-lg { padding: .85rem 1.5rem; font-size: 1.08rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

/* Lien de suite : texte et fleche, aligne avec le contenu. */
.more-link { display: inline-block; margin-top: 1.75rem; font-weight: 600; text-decoration: none; }
.more-link::after { content: " \2192"; }
.more-link:hover { text-decoration: underline; }

/* ---------------------------------- En-tete --------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg-header);
    border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .site-header { position: static; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; min-height: 64px; flex-wrap: wrap; padding-top: .35rem; padding-bottom: .35rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); padding: .25rem 0; }

/* Logo : « jal », une barre de progression a la place des deux « o », « n ».
   La barre prend la hauteur des minuscules (1ex) et la place de deux « o » ;
   la partie remplie, a 62 %, figure le premier « o ». */
.wordmark { display: inline-flex; align-items: baseline; font-family: 'Outfit', var(--font-text); font-weight: 700; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1; }
.wordmark .o-bar { display: inline-block; position: relative; width: 2.35ex; height: 1ex; margin: 0 .08ex; border-radius: 999px; background: var(--logo-rail); }
.wordmark .o-bar > span { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; border-radius: 999px; background: var(--logo-fill); }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: .15rem .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a { display: inline-block; text-decoration: none; color: var(--ink); font-weight: 500; padding: .45rem .7rem; border-radius: var(--radius-sm); }
.site-nav a:hover { background: var(--bg-alt); }
.site-nav a[aria-current="page"] { color: var(--accent-ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.site-nav .nav-cta { color: #fff; background: var(--accent); padding: .5rem 1rem; font-weight: 600; margin-left: .35rem; }
.site-nav .nav-cta:hover { background: var(--accent-ink); color: #fff; }

/* ------------------------- Couleurs des illustrations ------------------------ */
.f-surface { fill: var(--surface); }
.f-bg { fill: var(--bg-alt); }
.f-line { fill: var(--line); }
.f-ph { fill: var(--placeholder); }
.f-accent { fill: var(--accent); }
.f-accent-mid { fill: var(--accent-mid); }
.f-accent-soft { fill: var(--accent-soft); }
.f-accent-ink { fill: var(--accent-ink); }
.f-ink { fill: var(--ink); }
.f-muted { fill: var(--muted); }
.f-ok { fill: var(--ok); }
.s-line { stroke: var(--line); }
.s-accent { stroke: var(--accent); }
.s-accent-mid { stroke: var(--accent-mid); }
.s-white { stroke: #fff; }
.s-ok { stroke: var(--ok); }
.illus { width: 100%; height: auto; display: block; }

/* ----------------------------------- Hero ----------------------------------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-inner {
    padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem);
    display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--accent-ink); }
.lead { font-size: clamp(1.05rem, 2.1vw, 1.22rem); color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 0; }
.hero-facts { color: var(--muted); font-size: .95rem; margin: 1.4rem 0 0; }
.hero-facts strong { color: var(--ink); font-weight: 600; }

/* Petit surtitre de page : du texte, sans pastille. */
.kicker { color: var(--accent-ink); font-weight: 600; font-size: .95rem; margin: 0 0 .75rem; }

/* ------------------------- Apercu de l'interface (hero) ------------------------- */
/* Maquette en HTML : de vrais libelles, comme dans le plugin, plutot qu'un
   schema abstrait. Couleurs des statuts reprises du plugin. */
.mock {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 48px -28px rgba(36, 33, 29, .35);
    overflow: hidden; font-size: .9rem; margin: 0;
}
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: var(--line); display: block; }
.mock-bar span { margin-left: .5rem; color: var(--muted); font-size: .82rem; }
.mock-body { padding: 1rem 1.1rem 1.15rem; }
.mock-title { font-weight: 700; margin: 0 0 .15rem; }
.mock-sub { color: var(--muted); font-size: .82rem; margin: 0 0 .9rem; }
.mock-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .9rem; }
.mock-tiles div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .55rem; }
.mock-tiles b { display: block; font-size: 1.15rem; line-height: 1.2; }
.mock-tiles small { color: var(--muted); font-size: .74rem; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-size: .74rem; font-weight: 600; color: var(--muted); padding: 0 .4rem .35rem; border-bottom: 1px solid var(--line); }
.mock td { padding: .5rem .4rem; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.mock tr:last-child td { border-bottom: 0; }
/* Maquette a cote du texte mais encore etroite : la barre laisse la place aux chiffres. */
@media (min-width: 921px) and (max-width: 1180px) { .mock .col-prog { display: none; } }
.mock .prog { display: block; height: .4rem; border-radius: 999px; background: var(--placeholder); min-width: 4.5rem; }
.mock .prog span { display: block; height: 100%; border-radius: 999px; background: var(--accent-mid); }
.badge { display: inline-block; font-size: .74rem; font-weight: 600; padding: .12rem .5rem; border-radius: 999px; white-space: nowrap; }
.b-ok { background: #e3f1e9; color: #276b45; }
.b-up { background: #e9eef7; color: #2d5b9e; }
.b-late { background: #fbe6cf; color: #7d5410; }
.b-drop { background: #f6e3dd; color: #a33a26; }
@media (max-width: 520px) {
    .mock-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mock .col-prog, .mock .col-hours { display: none; }
    .mock td:first-child { white-space: normal; }
}

/* Maquette d'attestation (page Conformite), d'apres le PDF du plugin. */
.doc { font-size: .84rem; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--accent); margin-bottom: .9rem; }
.doc-org { display: flex; gap: .6rem; align-items: center; }
.doc-logo { width: 2.2rem; height: 2.2rem; border-radius: .4rem; background: var(--accent-soft); flex-shrink: 0; }
.doc-org b, .doc-title b { display: block; }
.doc-org small, .doc-title small { color: var(--muted); font-size: .74rem; }
.doc-title { text-align: right; }
.doc-title b { font-size: 1rem; }
.doc-intro { margin: 0 0 .8rem; line-height: 1.5; }
.doc-rows { margin: 0 0 .9rem; }
.doc-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.doc-rows dt { color: var(--muted); }
.doc-rows dd { margin: 0; font-weight: 600; text-align: right; }
.doc-verify { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.doc-verify svg { width: 3.6rem; height: 3.6rem; flex-shrink: 0; color: var(--ink); }
.doc-verify p { margin: 0; color: var(--muted); font-size: .78rem; }
.doc-verify b { color: var(--ink); letter-spacing: .03em; }
.doc-signs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.doc-signs > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .5rem .6rem; min-height: 4.4rem; font-size: .74rem; font-weight: 600; }
.doc-sig { display: block; width: 6.5rem; height: auto; margin-top: .35rem; color: var(--accent-ink); }
.doc-signed { display: block; margin-top: .6rem; font-weight: 400; color: #276b45; }

/* Maquette du panneau Ma progression (page Fonctionnalites). */
.panel { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.panel-head b { font-size: 1rem; }
.panel-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: center; }
.panel-line { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .35rem; }
.panel-measure .prog { height: .5rem; margin-bottom: .9rem; }
.panel-measure .prog:last-child { margin-bottom: 0; }
.panel-next small { display: block; color: var(--muted); font-size: .74rem; }
.panel-next b { display: block; margin: .15rem 0 .7rem; }
.panel-btn { display: block; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .4rem; background: var(--bg-alt); font-weight: 600; }
.panel-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
@media (max-width: 520px) {
    .panel-body, .doc-signs { grid-template-columns: 1fr; }
    .doc-head { flex-direction: column; }
    .doc-title { text-align: left; }
}

/* --------------------------------- Sections --------------------------------- */
.section { padding: clamp(3rem, 7vw, 5.25rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 68ch; margin: 0 0 2.25rem; font-size: clamp(1.02rem, 2vw, 1.12rem); }
.section-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.25rem; }
.section-head h2, .section-head .section-intro { margin-bottom: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------------------------------- Grilles --------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------------------------------- Cartes ---------------------------------- */
.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45rem; }
.card p, .card li { color: var(--muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1rem; }
.card li { margin: .2rem 0; }

/* Effets de survol des cartes : elevation, ombre chaude, liseré d'accent. */
.card, .ps-card, .conf-card, .steps > li, .pricing-includes {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .ps-card:hover, .conf-card:hover, .steps > li:hover, .pricing-includes:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent-mid);
}

/* Publics : un trait d'accent en tete. */
.audience .card { border-top: 3px solid var(--accent); }

/* Grille des fonctionnalites de l'accueil : cellules jointives, numerotees,
   fond d'accent et numero inverse au survol. */
.feature-grid {
    counter-reset: feat;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px; background: var(--line);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-grid > article {
    background: var(--surface); padding: 1.75rem;
    transition: background-color .25s ease;
}
.feature-grid > article::before {
    counter-increment: feat;
    content: counter(feat, decimal-leading-zero);
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent-ink);
    font-weight: 700; font-size: .95rem; margin-bottom: 1rem;
    transition: background-color .25s ease, color .25s ease;
}
.feature-grid > article:hover { background: var(--accent-soft); }
.feature-grid > article:hover::before { background: var(--accent); color: #fff; }
.feature-grid h3 { margin-bottom: .45rem; }
.feature-grid p { color: var(--muted); margin: 0; }

/* --------------------------- Etapes (vraie sequence) --------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps > li {
    counter-increment: step; position: relative;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.35rem 1.5rem 1.35rem 4.4rem; box-shadow: var(--shadow);
}
.steps > li::before {
    content: counter(step); position: absolute; left: 1.35rem; top: 1.3rem;
    width: 2.1rem; height: 2.1rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; font-weight: 700;
}
.steps h3 { margin-bottom: .35rem; }
.steps p, .steps li li { color: var(--muted); }
.steps p:last-child, .steps ul:last-child { margin-bottom: 0; }
.steps ul { padding-left: 1.1rem; }
.steps-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps-compact { grid-template-columns: 1fr; } }

/* -------------------------------- Besoin -> reponse -------------------------------- */
.ps { display: grid; gap: 1.25rem; }
.ps-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
@media (max-width: 880px) {
    .ps-row { grid-template-columns: 1fr; gap: .5rem; }
    .ps-arrow { transform: rotate(90deg); margin: 0 auto; }
}
.ps-card { border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.ps-card h3 { margin: 0 0 .4rem; }
.ps-card p { margin: 0; color: var(--muted); }
.ps-problem { border-top: 3px solid var(--muted); }
.ps-solution { border-top: 3px solid var(--accent); }
.ps-label { font-size: .82rem; font-weight: 700; margin: 0 0 .4rem; }
.ps-problem .ps-label { color: var(--muted); }
.ps-solution .ps-label { color: var(--accent-ink); }
.ps-arrow { align-self: center; color: var(--accent); font-size: 1.5rem; font-weight: 700; line-height: 1; }

/* ---------------------------- Liste de reglages ---------------------------- */
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0; }
@media (max-width: 760px) { .features-list { grid-template-columns: 1fr; } }
.features-list div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.features-list dt { font-weight: 700; }
.features-list dd { margin: .15rem 0 0; color: var(--muted); font-size: .97rem; }

/* -------------------------------- Conformite -------------------------------- */
.conf-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem 3rem; align-items: start; }
@media (max-width: 820px) { .conf-block { grid-template-columns: 1fr; } }
.conf-text { color: var(--muted); }
.conf-text > p:last-child { margin-bottom: 0; }
.conf-lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.conf-card {
    background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
    border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow);
}
.conf-card h3 { margin: 0 0 .5rem; color: var(--accent-ink); font-size: 1rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.7rem; color: var(--ink); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: .35rem; color: var(--ok); font-weight: 700; }
.notice {
    background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: var(--radius-sm);
    padding: 1.1rem 1.3rem; margin-top: 2.25rem; color: var(--ink);
}
.notice strong { color: var(--accent-ink); }

/* ---------------------------------- Tarifs ---------------------------------- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem; align-items: stretch;
}
.pricing {
    background: var(--ink); border-radius: var(--radius); padding: 2.1rem; color: #fff;
    display: flex; flex-direction: column; align-items: flex-start;
}
.pricing-label { font-size: .9rem; font-weight: 600; color: #e6ded4; margin: 0 0 .25rem; }
.pricing-headline { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 2.9rem); font-weight: 600; line-height: 1; color: #fff; margin: .4rem 0 .3rem; }
.pricing-from { margin: .4rem 0 0; color: #e6ded4; font-size: 1rem; }
.pricing-from + .pricing-headline { margin-top: .15rem; }
.pricing-sub, .pricing-desc { color: #e6ded4; }
.pricing-desc { font-size: .98rem; margin: 1.2rem 0 1.6rem; max-width: 36ch; }
.pricing .btn-primary { margin-top: auto; align-self: stretch; }
.pricing-includes { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow); }
.pricing-includes h3 { margin: 0 0 1rem; }

/* ------------------------------ Questions frequentes ------------------------------ */
/* Sur grand ecran, le theme a gauche et ses questions a droite. */
.faq { display: grid; gap: .6rem 3rem; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); align-items: start; }
/* Le titre couvre trois lignes de questions : sur deux lignes de texte, il
   n'agrandit pas la premiere. Chaque theme compte au moins trois questions. */
.faq h2 { grid-column: 1; grid-row: span 3; }
.faq details { grid-column: 2; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq h2, .faq details { grid-column: 1; grid-row: auto; } }
.faq .answer > * { max-width: 80ch; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease; }
.faq details:hover, .faq details[open] { border-color: var(--accent-mid); }
.faq summary {
    cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 600;
    display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 1.25rem 1.1rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq h2 { margin: 2.5rem 0 0; font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
.faq h2:first-child { margin-top: 0; }
@media (min-width: 861px) { .faq h2 { margin-top: 2.5rem; padding-top: .9rem; } .faq h2 + details { margin-top: 2.5rem; } .faq h2:first-child, .faq h2:first-child + details { margin-top: 0; } }

/* -------------------------------- Pages de texte -------------------------------- */
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.todo { background: var(--accent-soft); padding: 0 .3rem; border-radius: .25rem; color: var(--accent-ink); font-weight: 600; }

/* ------------------------------- Bandeau d'appel ------------------------------- */
.cta-band {
    display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 2rem; align-items: center;
    background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2.25rem 2rem;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: #e6ded4; margin: 0; max-width: 56ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* --------------------------------- Contact ---------------------------------- */
.contact-block { display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 2rem; align-items: center; }
@media (max-width: 760px) { .contact-block { grid-template-columns: 1fr; } }
.contact-block .btn { word-break: break-word; }
.contact-note { color: var(--muted); font-size: .92rem; margin: .5rem 0 0; }

/* ----------------------------------- Pied ----------------------------------- */
.site-footer { background: var(--ink); color: #d9d2c8; padding: clamp(2.5rem, 6vw, 3.75rem) 0 2rem; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.footer-brand { color: #fff; margin: 0; --logo-fill: #e08a6c; --logo-rail: #4f3d35; }
.footer-brand .wordmark { font-size: 1.6rem; }
.footer-text { font-size: .95rem; max-width: 32ch; margin: 1rem 0 0; }
.footer-heading { font-size: .9rem; font-weight: 600; color: #c9c1b6; margin: 0 0 .9rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { color: #fff; }
.site-footer nav a { text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; color: #c9c1b6; }
.footer-disclaimer { max-width: 52ch; }

/* -------------------------------- Entete de page -------------------------------- */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero .container {
    padding-top: clamp(2.5rem, 6vw, 3.75rem); padding-bottom: clamp(2.5rem, 6vw, 3.75rem);
    display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
}
.page-hero.solo .container { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); max-width: 22ch; }
.page-hero.solo h1 { max-width: none; }
@media (max-width: 920px) { .page-hero .container { grid-template-columns: 1fr; } }

/* Moins de mouvement demande : pas de defilement anime, pas d'elevation. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card, .ps-card, .conf-card, .steps > li, .pricing-includes,
    .feature-grid > article, .feature-grid > article::before, .btn, .faq details { transition: none; }
    .card:hover, .ps-card:hover, .conf-card:hover, .steps > li:hover, .pricing-includes:hover { transform: none; }
}

/* ---------------------------------- Page 404 ---------------------------------- */
.notfound-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; list-style: none; padding: 0; margin: 1.5rem 0 0; font-weight: 600; }
