/*
 * Site CV DEMAT' (cvdemat.com / cvdemat.fr) — 06/11/2026.
 *
 * Tirée de la maquette public/v2/cvdemat-landing.html. Feuille AUTONOME : la page ne charge
 * ni le référentiel des espaces, ni Bootstrap, ni Font Awesome — une landing n'a besoin que
 * de ce qu'elle affiche.
 *
 * Deux directions (config `cvdemat.direction`, posée sur <html data-direction>) :
 *   a — charte Fallon : les valeurs de :root sont COPIÉES du référentiel (fallon-ui-v2.css),
 *       jamais inventées ;
 *   b — marque CV DEMAT' propre, dérivée du violet du référentiel (--fl-purple).
 *
 * ⚠️ Les noms de classes du formulaire (`invalid-feedback`, `is-invalid`, `alert`, `d-none`,
 * `mb-3`…) sont ceux que posent les partials partagés (`_phone-input`, `_captcha`) : ils
 * sont déclarés ici, sinon un message d'erreur s'afficherait sans style — ou pas du tout.
 */

/* ═══════════ Direction A — palette copiée du référentiel Fallon ═══════════ */
:root {
  --c-deep: #0f2a47;            /* --fl-navy */
  --c-deep-2: #0b2039;          /* --fl-abysse-2 */
  --c-on-deep: #cfe2f2;         /* --fl-on-navy */
  --c-on-deep-2: #bcd4e8;       /* --fl-on-navy-2 */
  --c-brand: #2ba7e0;           /* --fl-blue */
  --c-brand-600: #1d90c7;       /* --fl-blue-600 */
  --c-brand-ink: #0f2a47;       /* texte de lien : le marine, le bleu seul est sous 4,5:1 */
  --c-brand-soft: #e8f6fd;      /* --fl-blue-soft */
  --c-brand-line: #7fc7e8;      /* --fl-blue-line */
  --c-action: #c60f6c;          /* --fl-pink-600 : 5,7:1 sous un texte blanc */
  --c-action-hover: #a90c5c;
  --c-accent: #e5127d;          /* --fl-pink */
  --c-accent-soft: #fdeaf3;     /* --fl-pink-soft */
  --c-ok: #0e8a51;              /* --fl-green-700 */
  --c-ok-soft: #e6f8ef;         /* --fl-green-soft */
  --c-ok-line: #a6e9c5;         /* --fl-green-line */
  --c-ko: #b42318;              /* --fl-red-700 */
  --c-ko-soft: #fef3f2;         /* --fl-red-soft */
  --c-ko-line: #fecdca;         /* --fl-red-line */
  --c-amber-soft: #fff4e5;      /* --fl-amber-soft */
  --c-amber-line: #ffe0b2;      /* --fl-amber-line */
  --c-amber-ink: #b45309;       /* --fl-amber-700 */
  --c-bg: #f4f8fb;              /* --fl-bg */
  --c-surface: #ffffff;
  --c-surface-2: #fafcfe;       /* --fl-surface-2 */
  --c-line: #e6edf4;            /* --fl-line */
  --c-ink: #10243c;             /* --fl-ink */
  --c-ink-2: #48627d;           /* --fl-ink-2 */
  --c-grad-hero: linear-gradient(180deg, #12304f 0%, #0c2038 100%); /* --fl-grad-navy */
  --c-grad-brand: linear-gradient(135deg, #2ba7e0 0%, #1d7fc0 100%); /* --fl-grad-blue */
  --r-sm: 10px; --r: 16px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(15, 42, 71, .06);
  --shadow: 0 12px 30px -12px rgba(15, 42, 71, .18);
  --shadow-lg: 0 28px 60px -28px rgba(15, 42, 71, .30);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Maquette du 10/11/2026 : Sora pour les titres, le texte reste en Plus Jakarta Sans. */
  --font-display: "Sora", var(--font);
  --c-grille: rgba(43, 167, 224, .08);
  --c-grad-hero-riche: radial-gradient(at 80% 10%, rgba(30, 110, 175, .55), transparent 55%), radial-gradient(at 0% 100%, rgba(229, 18, 125, .22), transparent 50%), linear-gradient(160deg, #12304f 0%, #0b2039 100%);
  --c-grad-carte: radial-gradient(at 90% 0%, rgba(43, 167, 224, .3), transparent 55%), radial-gradient(at 0% 100%, rgba(229, 18, 125, .28), transparent 55%), linear-gradient(160deg, #12304f 0%, #0b2039 100%);
}

/* ═══════════ Direction B — marque CV DEMAT' propre, dérivée du violet du référentiel ═══════════ */
html[data-direction="b"] {
  --c-deep: #1d1442;
  --c-deep-2: #150e33;
  --c-on-deep: #ddd6fe;
  --c-on-deep-2: #c8bdf7;
  --c-brand: #7a5af8;           /* --fl-purple */
  --c-brand-600: #5b3fd6;
  --c-brand-ink: #4a2fc0;
  --c-brand-soft: #f0ecff;
  --c-brand-line: #c5b6fc;
  --c-action: #5b3fd6;          /* 6,7:1 sous un texte blanc */
  --c-action-hover: #4a2fc0;
  --c-accent: #17b26a;          /* --fl-green : le « CV reçu » */
  --c-accent-soft: #e6f8ef;
  --c-grad-hero: linear-gradient(160deg, #2a1d63 0%, #150e33 100%);
  --c-grad-brand: linear-gradient(135deg, #7a5af8 0%, #5b3fd6 100%);
  --c-grille: rgba(122, 90, 248, .1);
  --c-grad-hero-riche: radial-gradient(at 80% 10%, rgba(122, 90, 248, .5), transparent 55%), radial-gradient(at 0% 100%, rgba(23, 178, 106, .18), transparent 50%), linear-gradient(160deg, #2a1d63 0%, #150e33 100%);
  --c-grad-carte: radial-gradient(at 90% 0%, rgba(122, 90, 248, .45), transparent 55%), radial-gradient(at 0% 100%, rgba(23, 178, 106, .2), transparent 55%), linear-gradient(160deg, #2a1d63 0%, #150e33 100%);
}

/* ═══════════ Socle ═══════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--c-ink); background: var(--c-bg); line-height: 1.55; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--c-brand-ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.01em; }
main h1, main h2, main h3, main h4 { font-family: var(--font-display); }
p { margin: 0; }
[hidden] { display: none !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.shell { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .shell { padding-inline: 24px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--c-surface); padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-pill); font: 700 15px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center; }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-primary { background: var(--c-action); color: #fff; }
.btn-primary:hover { background: var(--c-action-hover); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; }
.btn-ghost { color: var(--c-ink); border-color: var(--c-line); background: var(--c-surface); }
.btn-ghost:hover { border-color: var(--c-brand-line); }
.btn-on-deep { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-on-deep:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Pastilles */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; }
.pill-brand { background: var(--c-brand-soft); color: var(--c-deep); }
.pill-ok { background: var(--c-ok-soft); color: var(--c-ok); }

/* Bandeau d'aperçu (back-office seulement) */
.bandeau-apercu { background: var(--c-amber-soft); color: var(--c-amber-ink); border-bottom: 1px solid var(--c-amber-line); font-size: 14px; padding: 10px 0; }
.bandeau-apercu strong { color: var(--c-ink); }

/* ═══════════ En-tête ═══════════ */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--c-deep); font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.wordmark .ondes { display: inline-block; width: 18px; height: 18px; align-self: center; color: var(--c-brand); }
.wordmark .par { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2); }
html[data-direction="b"] .wordmark { color: var(--c-brand-600); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: var(--c-brand-soft); }
.header-cta { flex: 0 0 auto; }
/* Sous 820 px, la navigation passe sur une seconde rangée qui défile sur elle-même — jamais
   masquée : une page d'une seule page doit garder ses destinations au doigt. */
@media (max-width: 819.98px) {
  .site-nav { order: 3; width: 100%; margin: 0 -16px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { width: max-content; }
  .site-nav a { min-height: 36px; font-size: 14px; background: var(--c-surface-2); border: 1px solid var(--c-line); }
  .header-inner { min-height: 56px; row-gap: 4px; padding-top: 6px; }
  .header-cta { margin-left: auto; }
}
/* Sous 480 px, « par FALLON » passe sous le nom : le logo et le bouton tiennent sur une rangée. */
@media (max-width: 479.98px) {
  .wordmark { flex-wrap: wrap; row-gap: 0; max-width: 160px; font-size: 18px; }
  .wordmark .par { flex-basis: 100%; padding-left: 26px; line-height: 1; font-size: 11px; }
}

/* ═══════════ Hero — maquette du 10/11/2026 ═══════════
   Fond marine à deux halos (bleu en haut à droite, rose en bas à gauche) et une grille fine ;
   la photo du comptoir à droite. L'en-tête et le logo restent ceux du site. */
.hero { position: relative; isolation: isolate; color: #fff; padding: 56px 0 80px; overflow: hidden; background: var(--c-grad-hero-riche); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--c-grille) 1px, transparent 1px), linear-gradient(90deg, var(--c-grille) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } .hero { padding: 104px 0 128px; } }
.hero .surtitre { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid rgba(43, 167, 224, .32); border-radius: var(--r-pill); background: rgba(43, 167, 224, .1); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-line); }
.surtitre-point { width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); animation: cvd-pouls 2s ease-in-out infinite; }
@keyframes cvd-pouls { 50% { opacity: .35; } }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--c-brand); background: linear-gradient(90deg, var(--c-brand) 0%, #fff 140%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[data-direction="b"] .hero h1 em { color: #b7a6ff; background-image: linear-gradient(90deg, #b7a6ff 0%, #fff 140%); }
.hero .chapo { margin-top: 24px; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.65; color: var(--c-on-deep); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-primary, .final .btn-primary { box-shadow: 0 12px 30px -10px rgba(229, 18, 125, .6); }
.hero .btn-primary:hover, .final .btn-primary:hover { transform: translateY(-1px); }
.hero-preuves { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--c-on-deep-2); }
.hero-preuves li { display: inline-flex; align-items: center; gap: 8px; }
.hero-preuves svg { width: 16px; height: 16px; color: var(--c-brand); }
@media (max-width: 575.98px) { .hero-actions .btn { flex: 1 1 100%; } }

/* La photo, son halo, et deux pastilles décoratives à cheval sur ses bords. */
.hero-visuel { position: relative; margin: 0; width: 100%; max-width: 520px; justify-self: center; }
.hero-visuel::before { content: ""; position: absolute; inset: -24px; border-radius: 40px; background: rgba(43, 167, 224, .22); filter: blur(48px); }
.hero-visuel img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero-badge { position: absolute; top: -16px; right: -16px; display: grid; justify-items: center; padding: 10px 14px; border-radius: 18px; background: var(--c-action); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.25; box-shadow: 0 14px 30px -10px rgba(229, 18, 125, .65); }
.hero-badge strong { font: 800 20px/1.1 var(--font-display); }
.notif { position: absolute; left: -24px; bottom: -24px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--c-ink); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: 13px; max-width: 300px; }
.notif-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-soft); color: var(--c-brand-600); }
.notif-ic svg { width: 16px; height: 16px; }
.notif strong { display: block; font-size: 14px; }
@media (max-width: 575.98px) {
  .hero-visuel img { aspect-ratio: 1; border-radius: 24px; }
  .hero-badge { top: 12px; right: 12px; }
  .notif { left: 12px; bottom: -20px; max-width: calc(100% - 24px); }
}

/* ═══════════ Sections ═══════════ */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 112px 0; } }
.section-surface { background: var(--c-surface); }
/* Une ancre ne pose pas son titre sous l'en-tête collant (65 px, 95 px sur téléphone). */
section[id], form[id] { scroll-margin-top: 80px; }
@media (max-width: 819.98px) { section[id], form[id] { scroll-margin-top: 108px; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .surtitre { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-600); }
html[data-direction="b"] .section-head .surtitre { color: var(--c-brand-ink); }
.section-head h2 { margin-top: 12px; font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; color: var(--c-deep); }
.section-head p { margin-top: 16px; color: var(--c-ink-2); font-size: 17px; line-height: 1.65; max-width: 62ch; }
.section-head-centre { max-width: 880px; margin-inline: auto; text-align: center; }
.section-head-centre p { margin-inline: auto; }
@media (min-width: 860px) {
  .section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
  .section-head-split > p { margin-top: 0; }
}

/* Section sombre (Avantages) */
.section-sombre { background: var(--c-deep-2); color: #fff; }
.section-sombre .section-head .surtitre { color: var(--c-brand); }
html[data-direction="b"] .section-sombre .section-head .surtitre { color: var(--c-brand-line); }
.section-sombre .section-head h2 { color: #fff; }
.section-sombre .section-head p { color: var(--c-on-deep); }

/* Comment ça marche — le numéro de l'étape en filigrane, dans le coin. */
.etapes { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etape { position: relative; overflow: hidden; isolation: isolate; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 24px; padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.etape::after { content: attr(data-n); position: absolute; top: -14px; right: 14px; z-index: -1; font: 800 128px/1 var(--font-display); color: var(--c-brand-soft); pointer-events: none; }
.etape:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.etape-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-deep); color: #fff; font-weight: 800; font-size: 14px; }
.etape h3 { margin-top: 20px; font-size: 19px; color: var(--c-deep); }
.etape p { margin-top: 10px; color: var(--c-ink-2); font-size: 15px; line-height: 1.65; }

/* Avantages — six cases séparées par un filet, sur le fond sombre. */
.avantages { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.avantage { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.avantage-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-brand-soft); color: var(--c-brand-600); }
html[data-direction="b"] .avantage-ic { color: var(--c-brand-ink); }
.avantage-ic svg { width: 22px; height: 22px; }
.avantage h3 { margin-top: 14px; font-size: 17px; }
.avantage p { margin-top: 6px; color: var(--c-ink-2); font-size: 15px; }
/* Colonnes FIXES (1, 2, 3) et non `auto-fit` : six cases remplissent toujours leurs rangées,
   sinon le fond du filet apparaît dans une case vide. */
.section-sombre .avantages { gap: 1px; background: rgba(255, 255, 255, .08); grid-template-columns: 1fr; }
@media (min-width: 600px) { .section-sombre .avantages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .section-sombre .avantages { grid-template-columns: repeat(3, 1fr); } }
.section-sombre .avantage { background: var(--c-deep-2); border: 0; border-radius: 0; box-shadow: none; padding: 32px 28px; }
.section-sombre .avantage-ic { width: 40px; height: 40px; background: rgba(43, 167, 224, .12); color: var(--c-brand); }
html[data-direction="b"] .section-sombre .avantage-ic { color: var(--c-brand-line); }
.section-sombre .avantage-ic svg { width: 20px; height: 20px; }
.section-sombre .avantage h3 { margin-top: 18px; color: #fff; font-size: 17px; }
.section-sombre .avantage p { margin-top: 8px; color: var(--c-on-deep-2); font-size: 14px; line-height: 1.6; }

/* ═══════════ Tarifs ═══════════ */
/* Sans JavaScript (pas de classe `js` sur <html>), les onglets n'existent pas et chaque
   territoire s'affiche avec son titre : la page est complète pour un robot. Avec, seul le
   territoire choisi (`data-choisi`, posé par le serveur puis par le script) est montré. */
.territoires { display: none; }
.js .territoires { display: flex; }
.js .panneau:not([data-choisi]) { display: none; }
.js .panneau-titre h3 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.territoires { gap: 6px; padding: 6px; margin: 0 0 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-pill); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.territoires::-webkit-scrollbar { display: none; }
/* Un dégradé de bord dit qu'il y a une suite — posé par le script seulement quand la rangée
   déborde, sinon il effacerait le bord arrondi pour rien. */
.territoires[data-suite-droite] { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
.territoires[data-suite-gauche] { -webkit-mask-image: linear-gradient(to left, #000 82%, transparent); mask-image: linear-gradient(to left, #000 82%, transparent); }
.territoires[data-suite-gauche][data-suite-droite] { -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.territoires [role="tab"] { flex: 0 0 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: transparent; font: 600 14px/1 var(--font); color: var(--c-ink); cursor: pointer; white-space: nowrap; }
.territoires [role="tab"][aria-selected="true"] { background: var(--c-deep); color: #fff; }
.panneau { display: grid; gap: 20px; }
.panneau + .panneau { margin-top: 40px; }
.js .panneau + .panneau { margin-top: 0; }
.panneau-titre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; }
.panneau-titre h3 { font-size: 22px; }
.panneau-titre .tva { font-size: 14px; color: var(--c-ink-2); }
.offres { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.offre { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.offre-vedette { border: 2px solid var(--c-brand); box-shadow: var(--shadow); }
.offre-badge { position: absolute; top: -12px; left: 20px; background: var(--c-deep); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }
.offre h4 { font-size: 19px; }
.offre-pour { margin-top: 4px; font-size: 14px; color: var(--c-ink-2); }
.prix { margin-top: 16px; }
.prix-a-partir { display: block; font-size: 13px; font-weight: 600; color: var(--c-ink-2); }
.prix-montant { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.prix-unite { font-size: 15px; font-weight: 600; color: var(--c-ink-2); }
.prix-detail { margin-top: 6px; font-size: 14px; color: var(--c-ink-2); }
.prix-detail strong { color: var(--c-ink); }
.prix-alt { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--c-surface-2); border: 1px dashed var(--c-line); font-size: 14px; color: var(--c-ink-2); }
.inclus { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.inclus li { display: flex; gap: 10px; align-items: flex-start; }
.inclus svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--c-ok); }
.offre-extra { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line); display: grid; gap: 8px; font-size: 14px; color: var(--c-ink-2); }
.offre-extra strong { color: var(--c-ink); }
.offre-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.encart { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--c-line); }
.encart-ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--c-accent-soft); color: var(--c-accent); }
.encart-ic svg { width: 18px; height: 18px; }
.encart h4 { font-size: 16px; }
.encart p { margin-top: 4px; font-size: 15px; color: var(--c-ink-2); }
.annexes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tarifs-vide { display: grid; gap: 14px; justify-items: start; padding: 28px; border-radius: var(--r-lg); background: var(--c-surface-2); border: 1px dashed var(--c-line); max-width: 720px; }
.tarifs-vide p { color: var(--c-ink-2); }
.tranches { margin-top: 24px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r); padding: 0 18px; }
.tranches summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 700; list-style: none; }
.tranches summary::-webkit-details-marker { display: none; }
.tranches summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--c-ink-2); }
.tranches[open] summary::after { content: "–"; }
.tranches-tableau { width: 100%; border-collapse: collapse; margin: 4px 0 16px; font-size: 15px; }
.tranches-tableau th, .tranches-tableau td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--c-line); }
.tranches-tableau th { font-weight: 600; color: var(--c-ink-2); }
.tranches-note { margin: 0 0 16px; font-size: 14px; color: var(--c-ink-2); }
.mentions-prix { margin-top: 20px; font-size: 14px; color: var(--c-ink-2); max-width: 78ch; }

/* Tarifs, maquette du 10/11/2026 : l'offre en carte sombre à gauche, la plaque et les
   établissements à droite. Cadré sous `.panneau-corps` : les pages de souscription
   reprennent `.inclus` et `.prix` sur des cartes claires. */
.js .territoires { margin: 0 auto 12px; }
.js .panneau-titre { justify-content: center; margin-bottom: 12px; }
.panneau { max-width: 1000px; margin-inline: auto; }
.mentions-prix { margin-inline: auto; text-align: center; }
.panneau-corps { display: grid; gap: 20px; align-items: start; }
@media (min-width: 960px) { .panneau-corps { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.panneau-corps .offres { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.panneau-corps .offre { background: var(--c-grad-carte); color: #fff; border: 0; border-radius: 28px; padding: 32px; box-shadow: 0 40px 70px -35px rgba(11, 32, 57, .7); }
.panneau-corps .offre-vedette { box-shadow: 0 0 0 2px var(--c-brand), 0 40px 70px -35px rgba(11, 32, 57, .7); }
.panneau-corps .offre-badge { background: #fff; color: var(--c-deep); }
.panneau-corps .offre h4 { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-action); color: #fff; font: 800 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.panneau-corps .offre-pour { margin-top: 10px; color: var(--c-on-deep); }
.panneau-corps .prix { margin-top: 20px; }
.panneau-corps .prix-a-partir { color: var(--c-on-deep); }
.panneau-corps .prix-montant { font: 800 clamp(44px, 6vw, 60px)/1 var(--font-display); letter-spacing: -.03em; color: #fff; }
.panneau-corps .prix-unite { color: var(--c-on-deep); }
.panneau-corps .prix-detail { margin-top: 10px; color: var(--c-on-deep); }
.panneau-corps .prix-detail strong { color: #fff; }
.panneau-corps .prix-alt { background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .2); color: var(--c-on-deep); }
.panneau-corps .inclus { margin-top: 24px; gap: 10px; color: rgba(255, 255, 255, .9); }
.panneau-corps .inclus svg { color: var(--c-brand); }
.panneau-corps .offre-extra { border-top-color: rgba(255, 255, 255, .14); color: var(--c-on-deep); }
.panneau-corps .offre-extra strong { color: #fff; }
.panneau-corps .offre-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; }
.panneau-corps .offre-actions .btn { flex: 1 1 auto; }
.panneau-corps .offre .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.panneau-corps .offre .btn-ghost:hover { border-color: #fff; }
.panneau-corps .annexes { grid-template-columns: 1fr; gap: 20px; }
.panneau-corps .encart { padding: 24px; border-radius: 24px; box-shadow: var(--shadow-sm); }
.panneau-corps .encart h4 { font-size: 18px; color: var(--c-deep); }
.panneau-corps .tranches { margin-top: 0; padding: 4px 24px; border-radius: 24px; background: var(--c-bg); }
.panneau-corps .tranches summary { font-family: var(--font-display); color: var(--c-deep); }

/* ═══════════ FAQ — le titre à gauche, les questions à droite ═══════════ */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 96px; margin-bottom: 0; }
}
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 20px; padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; min-height: 64px; font-weight: 700; font-size: 16px; color: var(--c-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; font: 400 20px/1 var(--font); color: var(--c-ink-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 20px; color: var(--c-ink-2); line-height: 1.65; }

/* ═══════════ Appel final et demande de rappel ═══════════ */
.final { background: var(--c-grad-hero-riche); color: #fff; }
.final-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.final h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.final .chapo { margin-top: 14px; color: var(--c-on-deep); font-size: 17px; }
.parcours { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.parcours li { display: flex; gap: 14px; align-items: flex-start; color: var(--c-on-deep); }
.parcours .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 800; font-size: 14px; }
.parcours strong { color: #fff; }
.final .hero-actions { margin-top: 28px; }
.rappel { background: var(--c-surface); color: var(--c-ink); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.rappel h3 { font-size: 20px; }
.rappel .sous { margin-top: 6px; font-size: 14px; color: var(--c-ink-2); }
.rappel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.etat { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.etat-ok { background: var(--c-ok-soft); color: var(--c-ok); border: 1px solid var(--c-ok-line); }
.etat-ko { background: var(--c-ko-soft); color: var(--c-ko); border: 1px solid var(--c-ko-line); }
.etat-ko ul { margin: 6px 0 0; padding-left: 18px; }
.champs { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 560px) { .champs { grid-template-columns: 1fr 1fr; } .champ-large { grid-column: 1 / -1; } }
.champ { min-width: 0; }
.champ label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 12px; font: 16px var(--font); color: var(--c-ink); background: var(--c-surface); }
.champ textarea { min-height: 92px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px var(--c-brand-soft); }
.champ .is-invalid, .champ [aria-invalid="true"] { border-color: #d92d20; }
.invalid-feedback { margin-top: 6px; font-size: 13px; color: var(--c-ko); }
.req { color: #d92d20; }
.rappel .btn { width: 100%; margin-top: 18px; }
.rappel .note { margin-top: 10px; font-size: 13px; color: var(--c-ink-2); }
/* Le champ téléphone (intl-tel-input) occupe toute la cellule. Son retrait à gauche (le
   drapeau) vient de sa propre feuille, chargée APRÈS celle-ci : on ne le réécrit pas. */
.champ .iti { width: 100%; }

/* Ce que posent les partials partagés (`_captcha`) */
.mb-3 { margin-bottom: 12px; }
.mt-2 { margin-top: 8px; }
.mb-0 { margin-bottom: 0; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.alert { border-radius: 12px; }
.alert-warning { background: var(--c-amber-soft); color: var(--c-amber-ink); border: 1px solid var(--c-amber-line); }

/* ═══════════ Pied de page ═══════════ */
.site-footer { background: var(--c-deep-2); color: var(--c-on-deep-2); padding: 40px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .wordmark { color: #fff; }
.site-footer .wordmark .par { color: var(--c-on-deep-2); }
.site-footer .footer-pitch { margin-top: 12px; max-width: 42ch; }
.site-footer h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--c-on-deep); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul a { display: inline-block; padding: 4px 0; }
.footer-bas { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }

/* ═══════════ Souscription en ligne (lot 3, 06/11/2026) ═══════════
   Trois écrans : le formulaire, le paiement, le remerciement. Même vocabulaire que la
   demande de rappel (.rappel, .champs, .champ, .etat) ; ce qui suit n'ajoute que les choix
   (plan, options) et le récapitulatif.
   ⚠️ Les cases et boutons radio vivent HORS de `.champ` : sa règle `input { width: 100% }`
   les étirerait sur toute la ligne. */
.souscription-entete { max-width: 760px; margin-bottom: 28px; }
/* Se connecter depuis le site (09/11/2026) : une carte étroite, centrée. */
.connexion-carte { max-width: 480px; margin: 0 auto; }
.connexion-captcha { margin-top: 16px; }
.connexion-captcha:empty { display: none; }
.souscription-entete .surtitre { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-600); }
.souscription-entete h1 { margin-top: 8px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.souscription-entete p { margin-top: 10px; color: var(--c-ink-2); }
.souscription-grille { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .souscription-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.souscription-carte { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.souscription-carte h2 { font-size: 20px; }
.souscription-carte h3 { font-size: 16px; margin-top: 22px; }
.souscription-carte .inclus { margin-top: 14px; }
.souscription .bloc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.souscription .bloc:first-of-type { margin-top: 18px; padding-top: 0; border-top: 0; }
.souscription .bloc legend { font-size: 16px; font-weight: 800; padding: 0; }
.souscription .bloc .aide { margin-top: 4px; font-size: 14px; color: var(--c-ink-2); }
.choix { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 560px) { .choix { grid-template-columns: 1fr 1fr; } }
.choix-option { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--c-line); border-radius: var(--r); cursor: pointer; background: var(--c-surface); }
.choix-option:has(input:checked) { border-color: var(--c-brand); background: var(--c-brand-soft); }
.choix-option input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--c-brand-600); }
.choix-option strong { display: block; font-size: 15px; }
.choix-option span { display: block; font-size: 14px; color: var(--c-ink-2); }
.case { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; cursor: pointer; }
.case input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--c-brand-600); }
.case .aide { display: block; margin-top: 2px; }
.souscription details.replie { margin-top: 12px; border: 1px solid var(--c-line); border-radius: var(--r); padding: 0 14px; }
.souscription details.replie summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: 14px; list-style: none; }
.souscription details.replie summary::-webkit-details-marker { display: none; }
.souscription details.replie summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--c-ink-2); }
.souscription details.replie[open] summary::after { content: "–"; }
.souscription details.replie .champs { margin: 0 0 14px; }
/* Ce que le répertoire public dit du SIRET, sous le champ (09/11/2026). */
.siret-etat { margin-top: 10px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--c-line); background: var(--c-surface); font-size: 14px; }
.siret-etat[hidden] { display: none; }
.siret-etat strong { display: block; font-size: 15px; }
.siret-etat span { display: block; margin-top: 2px; color: var(--c-ink-2); }
.siret-etat--ok { border-color: var(--c-ok-line); background: var(--c-ok-soft); }
.siret-etat--ok strong { color: var(--c-ok); }
.siret-etat--alerte { border-color: var(--c-amber-line); background: var(--c-amber-soft); }
.siret-etat--alerte strong { color: var(--c-amber-ink); }
.siret-etat--attente strong { font-weight: 600; color: var(--c-ink-2); }
.recap { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.recap th, .recap td { padding: 10px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; text-align: left; }
.recap td.montant, .recap th.montant { text-align: right; white-space: nowrap; padding-left: 12px; }
.recap .detail { display: block; font-size: 13px; color: var(--c-ink-2); }
.recap tfoot th, .recap tfoot td { border-bottom: 0; font-weight: 800; }
.recap-total { margin-top: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--c-brand-soft); }
.recap-total strong { font-size: 22px; }
.recap-notes { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; color: var(--c-ink-2); }
.paiement-zone { margin-top: 16px; display: grid; gap: 16px; }
.paiement-zone .btn { width: 100%; }
.attente { font-size: 14px; color: var(--c-ink-2); }
.etat strong { color: inherit; }
/* Les étapes qui suivent la souscription : `.parcours` est dessiné pour le fond marine (texte
   blanc), il serait invisible sur une carte claire. */
.suite { list-style: none; margin: 20px 0 0; display: grid; gap: 12px; }
.suite li { display: flex; gap: 14px; align-items: flex-start; color: var(--c-ink-2); }
.suite .n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-brand-soft); color: var(--c-brand-ink); font-weight: 800; font-size: 14px; }
.suite strong { color: var(--c-ink); }
/* Un lien isolé sous une carte (« Changer d'offre », « Modifier ») : 24 px de cible au moins. */
.recap-notes a { display: inline-block; padding: 4px 0; }
/* La plaque NFC, sur la page qui suit l'abonnement (06/11/2026) : une carte entre le message de
   bienvenue et les étapes. Le choix de quantité reprend `.champs` / `.champ` du formulaire. */
.plaque-commande { margin-top: 20px; }
.plaque-commande .plaque-intro { margin-top: 8px; color: var(--c-ink-2); }
.plaque-commande .aide { margin-top: 6px; font-size: 14px; color: var(--c-ink-2); }
.plaque-commande .plaque-actions { margin-top: 18px; }
