/* ═══════════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════════ */
:root {
  /* Lisibilité : largeur cible corps de texte (desktop) — appliqué aux sous-blocs où utile */
  --read-opt: min(62ch, 100%);
  /* Largeur utile landing / sections · alignée tablette & desktop (lisibilité ≠ colonne trop étroite). */
  --layout-max: min(1120px, 94vw);
  --layout-pad-x: clamp(20px, 4vw, 48px);
  --ink: #07060d;
  --ink2: #0e0c14;
  --p1: #13111a;
  --p2: #181624;
  --p3: #201e2e;
  --rim: rgba(255,255,255,.055);
  --rim2: rgba(255,255,255,.09);
  --rim3: rgba(255,255,255,.16);
  --gold: #c9a84c;
  --gold2: #a8843a;
  --gold3: #7a6028;
  --glow: rgba(201,168,76,.08);
  --gring: rgba(201,168,76,.22);
  --snow: #edeae4;
  /* Lisibilité sur fond noir : gris un peu plus clairs (WCAG secondaire) */
  --mist: #b4adbf;
  --fog: #6d6578;
  --red: #991b1b;
  --crit-red: #991b1b;
  /* Site : serif notarial moderne · libellés style registre — PDF : fonts jsPDF natives uniquement (times + courier). */
  --fd: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --fm: 'Cinzel', 'EB Garamond', Garamond, serif;
  --font-mono: 'DM Mono', ui-monospace, 'Cascadia Code', monospace;
  --hero-proof-ok: #4a9e82;
  --hero-proof-ok-muted: rgba(74, 158, 130, 0.22);
  --r4: 4px;
  --r8: 8px;
  --r12: 12px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
@media (min-width: 768px) {
  :root {
    --read-opt: min(68ch, 100%);
    --layout-max: min(1260px, 94vw);
    --layout-pad-x: clamp(28px, 4vw, 56px);
  }
}
@media (min-width: 1200px) {
  :root {
    --read-opt: min(72ch, 100%);
    --layout-max: min(1380px, 92vw);
    --layout-pad-x: clamp(36px, 5vw, 72px);
  }
}
@media (min-width: 1536px) {
  :root {
    --layout-max: min(1480px, 90vw);
  }
}

html { height:100%; background:var(--ink); scroll-behavior:smooth; }
body {
  min-height:100%; background:var(--ink); color:var(--snow); font-family:var(--fd);
  overflow-x:hidden; position:relative;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
@media (min-width: 1200px) {
  body { font-size:17px; }
}
body.wizard-open { overscroll-behavior-x:none; touch-action:pan-y; }

.archive-vignette {
  position:fixed; inset:0; pointer-events:none !important; z-index:9998;
  box-shadow:inset 0 0 min(120vw, 780px) rgba(0,0,0,.42);
}
.grain-overlay {
  position:fixed; inset:0; pointer-events:none !important; z-index:9999;
  opacity:.055;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
a { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
input, textarea { font-family:inherit; }
textarea { resize:vertical; }

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
nav {
  position:fixed; top:0; left:0; right:0; z-index:12040;
  padding-top:0;
  padding-bottom:0;
  padding-left:max(var(--layout-pad-x), env(safe-area-inset-left));
  padding-right:max(var(--layout-pad-x), env(safe-area-inset-right));
  height:64px;
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(7,6,13,.92);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--rim);
}
.nav-logo {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:3px; color:var(--gold); text-transform:uppercase;
}
.nav-logo span { color:var(--mist); font-weight:300; }
.nav-actions {
  display:flex; align-items:center; gap:8px 12px;
  flex-wrap:wrap; justify-content:flex-end;
}
.nav-link {
  font-family:var(--fm); font-size:9px; font-weight:500;
  letter-spacing:1.8px; text-transform:uppercase;
  padding:9px 14px;
  border:1px solid var(--rim2);
  color:var(--mist);
  transition:all .2s;
}
.nav-link:hover { border-color:var(--gring); color:var(--gold); }
.nav-cta {
  font-family:var(--fm); font-size:10px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:9px 22px;
  border:1px solid var(--gring);
  color:var(--gold);
  transition:all .2s;
}
.nav-cta:hover { background:var(--glow); }

.visually-hidden {
  position:absolute;
  width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.nav-lang {
  font-family:var(--fm);
  font-size:9px;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:8px 10px;
  border:1px solid var(--rim2);
  border-radius:var(--r4);
  background:rgba(7,6,13,.72);
  color:var(--mist);
  cursor:pointer;
  min-width:3.2rem;
}
.nav-lang:focus { outline:2px solid var(--gold); outline-offset:2px; }
.footer-lang-wrap { margin-top:14px; }
.footer-lang { max-width:5rem; }
#p-hub-pdf { padding:calc(96px + env(safe-area-inset-top)) var(--layout-pad-x) 80px; max-width:min(900px, var(--layout-max)); margin:0 auto; }
.hub-block {
  padding:28px 32px;
  margin-bottom:20px;
  border:1px solid var(--rim2);
  border-radius:var(--r4);
  background:rgba(7,6,13,.42);
}
.hub-count {
  font-family:var(--fm); font-size:28px; font-weight:500;
  letter-spacing:.04em; color:var(--gold); margin:.4rem 0 1rem;
}
.hub-reserved {
  margin-top:20px;
  padding:18px;
  border:1px dashed var(--rim2);
  border-radius:var(--r4);
  font-size:13px; color:var(--mist); line-height:1.65;
}
.hub-preview-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:22px;
}
.hub-muted { font-size:12px; color:var(--fog); line-height:1.7; }

.wiz-header-pivot {
  font-family:var(--fm); font-size:8px;
  letter-spacing:2px; text-transform:uppercase;
  color:var(--fog); border:1px solid var(--rim2);
  padding:7px 12px;
  flex-shrink:0;
  cursor:pointer;
  transition:border-color .2s, color .2s;
}
.wiz-header-pivot:hover { border-color:var(--gring); color:var(--gold); }

/* Récap · friction mobile réduite + CTA sticky */
#screen-recap { padding:52px 24px calc(104px + env(safe-area-inset-bottom)); }
@media (min-width:900px) { #screen-recap { padding:64px 40px 80px; } }
.recap-layout { position:relative; }
#screen-recap > .wiz-body.recap-layout {
  flex:1 1 auto;
  min-height:0;
  width:100%;
  justify-content:flex-start;
}
.recap-scroll { max-width:min(880px, 100%); margin:0 auto; flex:1 1 auto; overflow-y:auto; min-height:0; }
.recap-sticky-wrap {
  max-width:min(880px, 100%);
  margin:0 auto;
  padding-top:14px;
  position:sticky;
  bottom:0;
  z-index:30;
  background:linear-gradient(to top,
    rgba(7,6,13,.96) 0%,
    rgba(7,6,13,.88) 50%,
    transparent 100%);
  margin-top:auto;
}
@media (min-width:740px) {
  .recap-sticky-inner {
    padding:16px 0 8px;
  }
}
@media (max-width:739px) {
  #screen-recap { padding-bottom:calc(148px + env(safe-area-inset-bottom)); }
  .recap-sticky-wrap {
    margin-left:-24px;
    margin-right:-24px;
    padding:14px 20px calc(16px + env(safe-area-inset-bottom));
    border-top:1px solid var(--rim);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  /* Miroir · empilement : départ en haut, scroll seulement si textes longs, trait horizontal entre les deux décisions. */
  .mirror-cols { grid-template-columns:1fr; }
  .mirror-sep {
    display:block;
    grid-column:1 / -1;
    width:100%;
    max-width:min(440px, 100%);
    height:2px;
    margin:6px auto 28px;
    align-self:center;
    background:linear-gradient(
      90deg,
      transparent 0%,
      var(--rim2) 14%,
      rgba(201,166,107,.55) 50%,
      var(--rim2) 86%,
      transparent 100%
    );
  }
  body.session-critical .mirror-sep {
    background:linear-gradient(
      90deg,
      transparent 0%,
      rgba(153,27,27,.35) 20%,
      rgba(196,92,92,.78) 50%,
      rgba(153,27,27,.35) 80%,
      transparent 100%
    );
  }
  .mirror-col { padding:0; }
}
.recap-kpi-acc {
  border:1px solid var(--rim2);
  border-radius:var(--r4);
  margin-top:22px;
  padding:12px 16px;
  background:rgba(237,234,228,.022);
}
.recap-kpi-acc > summary {
  cursor:pointer;
  font-family:var(--fm); font-size:9px;
  letter-spacing:2.8px;
  color:var(--gold);
  text-transform:uppercase;
  padding:10px 0;
  user-select:none;
  list-style:none;
}
.recap-kpi-acc > summary::-webkit-details-marker { display:none; }
.recap-kpi-acc[open] > summary {
  padding-bottom:4px;
  border-bottom:1px solid var(--rim);
}
#recap-kpi-zone.kpi-enhanced-bars .kpi-axis-label { font-size:10px; color:rgba(236,231,222,.76); letter-spacing:.08em; }
#recap-kpi-zone.kpi-enhanced-bars .kpi-bar-track {
  flex:1; height:8px;
  background:rgba(236,231,222,.14);
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(236,231,222,.08);
}
#recap-kpi-zone.kpi-enhanced-bars .kpi-bar-fill { height:100%; border-radius:999px; transition:width .25s ease; }

.crit-match { background:rgba(201,166,107,.22); outline:1px solid rgba(201,166,107,.35); }

/* ═══════════════════════════════════════════════
   PAGES SPA
═══════════════════════════════════════════════ */
.page { display:none; }
.page.active { display:block; }
#p-preview.active {
  display:flex;
  flex-direction:column;
  min-height:100vh;
  background:var(--ink);
}

/* ═══════════════════════════════════════════════
   LANDING — DOSSIER (entrée)
═══════════════════════════════════════════════ */
#p-landing { padding-top:64px; position:relative; z-index:10; isolation:isolate; }
#p-landing .dossier-entry,
#p-landing section,
#p-landing .cta-final {
  position:relative;
  z-index:1;
}
#section-gates,
#section-offers,
#section-trust { scroll-margin-top:88px; }
#gate-individuel,
#gate-collectif-ensemble,
#gate-collectif-representant,
#gate-institutionnel { scroll-margin-top:88px; }

.dossier-entry {
  min-height:100vh;
  display:flex; flex-direction:column; justify-content:center;
  padding:100px var(--layout-pad-x) 120px;
  max-width:min(900px, 94vw); margin:0 auto;
  position:relative;
}

/* Hero landing : pleine largeur · grille 55/45 · replis écran (desktop) · sceau mis en valeur */
#p-landing #dossier-hero.dossier-entry--hero-split {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: clamp(64px, 8svh, 100px) max(var(--layout-pad-x), env(safe-area-inset-left))
    clamp(28px, 4svh, 64px) max(var(--layout-pad-x), env(safe-area-inset-right));
  box-sizing: border-box;
}
@media (min-width: 901px) {
  #p-landing #dossier-hero.dossier-entry--hero-split {
    min-height: calc(100svh - 64px);
  }
}
#p-landing #dossier-hero.dossier-entry--hero-split::before {
  left: 12%;
  transform: translateX(-48%);
  width: min(92vw, 960px);
  height: min(62svh, 560px);
}
.dossier-hero-grid {
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  column-gap: clamp(20px, 3.2vw, 48px);
  row-gap: clamp(16px, 2.5vw, 24px);
  grid-template-columns: 1fr;
  grid-template-areas:
    'seal'
    'copy'
    'proof';
}
.dossier-hero-rail {
  display: contents;
}
.dossier-hero-seal-stage {
  grid-area: seal;
}
.hero-proof-card {
  grid-area: proof;
}
.dossier-hero-copy {
  grid-area: copy;
}
@media (min-width: 901px) {
  .dossier-hero-grid {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: 'copy rail';
    align-items: center;
    row-gap: 0;
  }
  .dossier-hero-rail {
    display: flex;
    grid-area: rail;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 22px);
    min-height: 0;
  }
  .dossier-hero-seal-stage,
  .hero-proof-card {
    grid-area: unset;
  }
  .dossier-hero-seal-stage {
    flex-shrink: 0;
  }
  .hero-proof-card {
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .dossier-hero-copy {
    grid-area: copy;
    align-self: center;
  }
}
@media (max-width: 900px) {
  #p-landing #dossier-hero.dossier-entry--hero-split {
    padding-top: max(72px, env(safe-area-inset-top));
    min-height: auto;
    max-height: none;
  }
}

/* Carte-preuve hero (aperçu livrable — lien vers exemple / doc) */
#p-landing .hero-proof-card {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: inherit;
  width: min(272px, 72%);
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 14px 16px 15px;
  border: 1px solid rgba(196, 167, 106, 0.28);
  border-radius: var(--r4);
  background: rgba(22, 19, 15, 0.94);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
@media (max-width: 900px) {
  #p-landing .hero-proof-card {
    width: 100%;
    max-width: min(340px, 100%);
    margin-top: 4px;
  }
}
#p-landing .hero-proof-card:hover {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(26, 22, 17, 0.97);
}
#p-landing .hero-proof-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hero-proof-hrule {
  display: block;
  border: 0;
  border-top: 1px solid rgba(196, 167, 106, 0.22);
  margin: 0 0 11px;
  padding: 0;
  height: 0;
}
.hero-proof-card > .hero-proof-hrule:last-child {
  margin: 12px 0 0;
}
.hero-proof-title {
  display: block;
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.94);
  margin: 0 0 9px;
}
.hero-proof-mono.hero-proof-line,
.hero-proof-mono.hero-proof-hash,
.hero-proof-mono.hero-proof-key {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(228, 222, 210, 0.74);
}
.hero-proof-line {
  display: block;
  margin: 0 0 7px;
  word-break: break-word;
}
.hero-proof-meta {
  display: block;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(198, 192, 180, 0.62);
  margin: 0 0 10px;
}
.hero-proof-hash-lbl {
  display: block;
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(180, 173, 160, 0.5);
  margin: 0 0 5px;
}
.hero-proof-hash {
  display: block;
  margin: 0 0 11px;
}
.hero-proof-sigok {
  display: block;
  font-family: var(--fm);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--hero-proof-ok);
  margin: 0 0 12px;
}
.hero-proof-qr-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 2px;
}
.hero-proof-qr-img {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  border: 1px solid rgba(196, 167, 106, 0.22);
  background: rgba(10, 8, 6, 0.9);
}
.hero-proof-key {
  display: block;
  font-size: 10px;
  line-height: 1.35;
  color: rgba(210, 202, 188, 0.68);
  min-width: 0;
  word-break: break-all;
}
#p-landing #dossier-hero .dossier-hero-copy {
  position: relative;
  z-index: 2;
  text-align: left;
  min-width: 0;
}
#p-landing #dossier-hero.dossier-entry--hero-split .dossier-meta {
  margin-bottom: clamp(14px, 2.2svh, 26px);
  padding-bottom: clamp(10px, 1.6svh, 16px);
}
#p-landing #dossier-hero.dossier-entry--hero-split .dossier-kicker {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: clamp(14px, 2svh, 22px);
}
#p-landing #dossier-hero.dossier-entry--hero-split .dossier-lead {
  font-size: clamp(19px, 2.15vw, 31px);
  line-height: 1.4;
}
#p-landing #dossier-hero.dossier-entry--hero-split .dossier-lead p + p {
  margin-top: 0.85em;
}
#p-landing #dossier-hero.dossier-entry--hero-split .dossier-cta-row {
  margin-top: clamp(16px, 2.5svh, 28px);
}
#p-landing #dossier-hero.dossier-entry--hero-split .hero-note {
  margin-top: clamp(10px, 1.8svh, 16px);
  padding: clamp(10px, 1.4svh, 14px) clamp(12px, 1.8vw, 16px);
  font-size: clamp(10px, 1.05vw, 11px);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
#p-landing #dossier-hero .dossier-hero-copy .hero-cta-group {
  justify-content: flex-start;
}

.dossier-entry::before {
  content:'';
  position:absolute; top:10%; left:50%; transform:translateX(-50%);
  width:min(92vw, 780px); height:min(52vh, 440px);
  background:radial-gradient(ellipse at 40% 30%, rgba(201,168,76,.07) 0%, transparent 62%);
  pointer-events:none;
}
.dossier-meta {
  display:flex; justify-content:space-between; align-items:baseline;
  gap:24px;
  padding-bottom:18px; margin-bottom:40px;
  border-bottom:1px solid var(--rim);
  position:relative; z-index:1;
}
.dossier-brand {
  font-family:var(--fm); font-size:10px; font-weight:500;
  letter-spacing:5px; color:var(--gold); text-transform:uppercase;
  margin:0;
}
.dossier-ref {
  font-family:var(--fm); font-size:9px; letter-spacing:3px;
  color:var(--mist); text-transform:uppercase;
}
.dossier-lead {
  font-family:var(--fd);
  font-size:clamp(22px, 3.6vw, 34px);
  font-weight:300; line-height:1.48;
  color:var(--snow);
  position:relative; z-index:1;
}
.dossier-lead p + p { margin-top:1.1em; }
.dossier-scroll-hint {
  margin-top:56px; text-align:center;
  font-family:var(--fm); font-size:18px; font-weight:400;
  color:var(--gold); opacity:.85;
  letter-spacing:2px;
  animation:dossierHint 2.8s ease-in-out infinite;
  position:relative; z-index:1;
}
@keyframes dossierHint {
  0%, 100% { transform:translateY(0); opacity:.55; }
  50% { transform:translateY(6px); opacity:1; }
}

/* ═══════════════════════════════════════════════
   BANNIERE APERÇU 12 H (landing)
═══════════════════════════════════════════════ */
.landing-preview-banner {
  box-sizing:border-box;
  max-width:var(--layout-max);
  margin-left:auto;
  margin-right:auto;
  margin-top:-28px;
  margin-bottom:48px;
  padding:22px clamp(18px,3vw,32px);
  border-radius:var(--r4);
  border:1px solid rgba(201,166,107,.42);
  background:linear-gradient(180deg,rgba(201,166,107,.09),rgba(7,6,13,.06));
}
.landing-preview-banner .lpb-title {
  font-family:var(--fm); font-size:9px; letter-spacing:.34em; color:var(--gold);
  text-transform:uppercase; margin-bottom:10px;
}
.landing-preview-banner .lpb-text {
  font-size:15px; line-height:1.75; color:rgba(238,236,232,.92);
  margin:0 0 18px; text-wrap:pretty;
}
.landing-preview-banner .lpb-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.landing-preview-banner .lpb-actions .btn-gold,
.landing-preview-banner .lpb-actions .btn-outline {
  flex:1; min-width:200px; text-align:center; font-family:var(--fm);
  font-size:10px; letter-spacing:.18em; padding:14px 20px; text-transform:uppercase;
}

.hero-cta-group { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero-cta-group a.btn-outline { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn-gold {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 40px;
  background:var(--gold);
  color:var(--ink);
  transition:all .2s;
  cursor:pointer;
  touch-action:manipulation;
}
.btn-gold:hover { background:var(--gold2); }
.btn-outline {
  font-family:var(--fm); font-size:11px; font-weight:400;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 32px;
  border:1px solid var(--rim2);
  color:var(--mist);
  transition:all .2s;
  cursor:pointer;
  touch-action:manipulation;
}
.btn-outline:hover { border-color:var(--gring); color:var(--gold); }
.hero-note {
  font-family: var(--fm); font-size: 11px; color: var(--mist);
  margin-top: 16px; letter-spacing: 0.5px;
  line-height: 1.55;
  padding: 12px 16px;
  border: 1px solid var(--rim2);
  border-radius: var(--r8);
  background: rgba(14, 12, 22, 0.55);
  max-width: min(44rem, 100%);
}

.landing-reassurance {
  max-width: min(900px, 94vw);
  margin: 0 auto 56px;
  padding: 0 var(--layout-pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--rim2);
  border-radius: var(--r8);
  overflow: hidden;
  background: var(--rim2);
}
.landing-reassurance-item {
  margin: 0;
  padding: 18px 16px;
  background: rgba(14, 12, 22, 0.78);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(238, 236, 232, 0.9);
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .landing-reassurance { grid-template-columns: 1fr; }
}
.gates-preamble {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 300;
  line-height: 1.45;
  color: var(--mist);
  margin: -8px 0 8px;
  max-width: 40rem;
}
.gates-head { margin-bottom: 12px; }
.landing-trust-block {
  box-sizing: border-box;
  max-width: min(720px, 94vw);
  margin: 0 auto 100px;
  padding: 36px clamp(22px, 4vw, 40px);
  border: 1px solid rgba(201, 166, 107, 0.38);
  border-radius: var(--r8);
  background: linear-gradient(165deg, rgba(201, 166, 107, 0.1), rgba(7, 6, 13, 0.5));
}
.landing-trust-title {
  font-family: var(--fm);
  font-size: clamp(11px, 1.4vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
  line-height: 1.4;
}
.landing-trust-lead {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.35;
  color: var(--snow);
}
.landing-trust-block p {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(238, 236, 232, 0.9);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.landing-trust-cta { margin-top: 22px; }
.offers-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
  max-width: 44rem;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.offer-price-from {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 6px;
}

/* Portes — quatre profils */
.profile-card-quote {
  font-size:17px; font-weight:300; line-height:1.65;
  color:var(--snow); margin-bottom:20px; font-style:italic;
  text-wrap:pretty;
}
@media (min-width: 1200px) {
  .profile-card-quote { font-size:18px; line-height:1.72; }
}
.profile-card-use {
  font-family:var(--fm); font-size:10px; letter-spacing:1.6px;
  text-transform:uppercase; color:var(--mist);
  margin-bottom:20px; line-height:1.7;
  padding:12px 14px;
  border:1px solid var(--rim2);
  border-radius:var(--r8);
  background:rgba(7,6,13,.45);
}
.profile-card-cta {
  margin-top:auto;
  position:relative;
  z-index:2;
  font-family:var(--fm); font-size:10px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:14px 20px;
  border:1px solid var(--gring);
  color:var(--gold);
  background:transparent;
  transition:all .2s;
  width:100%; text-align:center;
  cursor:pointer;
  touch-action:manipulation;
}
.profile-card-cta:hover { background:var(--glow); border-color:var(--gold2); }
.profile-card { display:flex; flex-direction:column; }

/* ═══════════════════════════════════════════════
   SECTIONS LANDING
═══════════════════════════════════════════════ */
section {
  padding:100px var(--layout-pad-x);
  max-width:var(--layout-max);
  margin:0 auto;
}
.sec-label {
  font-family:var(--fm); font-size:9px; font-weight:500;
  letter-spacing:4px; color:var(--gold); text-transform:uppercase;
  margin-bottom:48px;
  display:flex; align-items:center; gap:16px;
}
.sec-label::after { content:''; flex:1; height:1px; background:var(--rim); }
.sec-title {
  font-size:clamp(36px, 5vw, 68px);
  font-weight:300;
  line-height:1.06;
  margin-bottom:24px;
  text-wrap:balance;
}
@media (min-width: 1200px) {
  .sec-title { line-height:1.07; letter-spacing:-0.012em; }
}
.sec-title em { font-style:italic; color:var(--gold); }

/* Pour qui — 4 cartes */
.profiles-grid {
  display:grid; grid-template-columns:repeat(4, 1fr); gap:1px;
  border:1px solid var(--rim); margin-top:48px;
}
.profile-card {
  padding:32px 24px;
  background:var(--ink2);
  border-right:1px solid var(--rim);
  transition:background .2s;
}
.profile-card:last-child { border-right:none; }
.profile-card:hover { background:var(--p1); }
.profile-card-tag {
  font-family:var(--fm); font-size:9px; letter-spacing:3px;
  color:var(--gold); text-transform:uppercase; margin-bottom:16px;
}
.profile-card-title {
  font-size:22px; font-weight:600; margin-bottom:10px; line-height:1.2;
}
.profile-card-desc {
  font-size:14px; color:var(--mist); line-height:1.7; font-weight:300;
}

/* Ce que c'est / ce que ce n'est pas */
.duality {
  display:grid; grid-template-columns:1fr 1px 1fr; gap:0;
  margin-top:48px;
}
.duality-col { padding:0 40px 0 0; }
.duality-col:last-child { padding:0 0 0 40px; }
.duality-sep { background:var(--rim); }
.duality-title {
  font-family:var(--fm); font-size:9px; letter-spacing:3px;
  text-transform:uppercase; color:var(--gold); margin-bottom:24px;
}
.duality-item {
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 0; border-bottom:1px solid var(--rim);
  font-size:16px; font-weight:300; color:var(--snow); line-height:1.45;
  text-wrap:pretty;
}
@media (min-width: 1200px) {
  .duality-item { font-size:17px; line-height:1.5; }
}
.duality-item:last-child { border-bottom:none; }
.duality-item .mark { color:var(--gold); font-family:var(--fm); font-size:12px; flex-shrink:0; margin-top:2px; }
.duality-item.non .mark { color:var(--mist); }
.duality-item.non { color:var(--mist); }

/* Étapes */
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; border:1px solid var(--rim); margin-top:48px; }
.steps-grid.steps-phases-five { grid-template-columns:repeat(5, minmax(0, 1fr)); }
.step {
  padding:40px clamp(22px, 2vw, 32px);
  background:var(--ink2); border-right:1px solid var(--rim);
  display:flex; flex-direction:column; min-height:100%; min-width:0;
}
.step:last-child { border-right:none; }
.step-num { font-family:var(--fm); font-size:48px; font-weight:300; color:var(--rim2); line-height:1; margin-bottom:20px; }
.step-title { font-size:20px; font-weight:600; margin-bottom:12px; line-height:1.25; }
.step-desc {
  font-size:14px; color:var(--mist); line-height:1.8; font-weight:300;
  text-wrap:pretty;
}
@media (min-width: 1200px) {
  .step-desc { font-size:15px; line-height:1.82; }
}
.step-detail {
  font-family:var(--fm); font-size:10px; color:rgba(201,168,76,.95); letter-spacing:1px;
  margin-top:auto;
  padding:12px 14px;
  border:1px solid rgba(201,168,76,.22);
  border-radius:var(--r4);
  background:rgba(7,6,13,.4);
}

/* Reçois */
.receives-list { margin-top:40px; display:flex; flex-direction:column; gap:0; }
.receive-item {
  display:flex; align-items:center; gap:20px;
  padding:20px 0; border-bottom:1px solid var(--rim);
  font-size:17px; font-weight:300;
}
.receive-item:first-child { border-top:1px solid var(--rim); }
.receive-mark { font-family:var(--fm); font-size:10px; color:var(--gold); letter-spacing:2px; width:24px; flex-shrink:0; }

/* ═══════════════════════════════════════════════
   SECTION II — livrables par profil
═══════════════════════════════════════════════ */
.receive-by-profile {
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:1px;
  border:1px solid var(--rim);
  margin-top:48px;
}
.receive-prof {
  padding:28px 22px;
  background:var(--ink2);
  border-right:1px solid var(--rim);
}
.receive-prof:last-child { border-right:none; }
.receive-prof-tag {
  font-family:var(--fm); font-size:8px; letter-spacing:3px;
  color:var(--gold); text-transform:uppercase; margin-bottom:14px;
}
.receive-prof ul {
  list-style:none;
  font-size:14px; font-weight:400; color:rgba(237,234,228,.82); line-height:1.65;
}
.receive-prof li { padding:6px 0; border-bottom:1px solid var(--rim); }
.receive-prof li:last-child { border-bottom:none; }
.receive-prof li::before { content:'—'; color:var(--gold); font-family:var(--fm); font-size:9px; margin-right:8px; }

/* Offres — cinq niveaux (grille alignée · pieds de carte calés) */
.section-offers-title { margin-bottom:clamp(36px, 5vw, 52px); }
.offers-grid {
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:0;
  border:1px solid var(--rim);
  margin-top:clamp(36px, 5vw, 52px);
  align-items:stretch;
}
.offer {
  display:flex;
  flex-direction:column;
  min-height:100%;
  min-width:0;
  padding:clamp(26px, 2.2vw, 36px) clamp(16px, 1.35vw, 22px);
  background:var(--ink2);
  border-right:1px solid var(--rim);
  position:relative;
}
.offer:last-child { border-right:none; background:var(--p1); }
.offer-num {
  font-family:var(--fm);
  font-size:clamp(24px, 2vw, 32px);
  font-weight:300;
  color:var(--rim2);
  letter-spacing:.08em;
  line-height:1;
  margin-bottom:12px;
}
.offer-tag {
  font-family:var(--fm); font-size:9px; letter-spacing:2.8px; color:var(--mist); text-transform:uppercase;
  margin-bottom:10px;
  line-height:1.5;
  min-height:calc(8px * 1.5 * 2 + 6px);
  display:flex;
  align-items:flex-end;
  text-wrap:balance;
}
.offer:last-child .offer-tag { color:rgba(237,234,228,.72); }
.offer-name {
  font-size:clamp(20px, 1.9vw, 28px); font-weight:500; margin-bottom:6px;
  line-height:1.18; letter-spacing:.02em;
}
.offer-price { font-family:var(--fm); font-size:clamp(28px, 3vw, 40px); font-weight:300; color:var(--gold); line-height:1; margin-bottom:20px; }
.offer-price span { font-size:.55em; color:var(--mist); font-weight:300; vertical-align:baseline; margin-left:.12em; }
.offer-features {
  list-style:none;
  margin:0;
  padding:0;
  flex:1 1 auto;
  min-height:0;
}
.offer-features li {
  padding:9px 0; border-bottom:1px solid var(--rim);
  font-size:14px; font-weight:300; color:var(--snow);
  line-height:1.45;
  display:flex; align-items:flex-start; gap:10px;
  text-wrap:pretty;
}
.offer-features li::before { content:'—'; color:var(--gold); font-family:var(--fm); font-size:10px; flex-shrink:0; margin-top:.2em; }
.offer-features li:last-child { border-bottom:none; padding-bottom:0; }
.offer-footer {
  flex-shrink:0;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--rim);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  min-height:7.85rem;
}
.offer:last-child .offer-footer,
.offer:last-child .offer-features li { border-color:rgba(237,234,228,.09); }
.offer-footer .btn-gold {
  width:100%; box-sizing:border-box;
  padding:14px 16px;
  font-size:9px;
  letter-spacing:.16em;
  line-height:1.35;
  text-wrap:pretty;
  cursor:pointer;
  touch-action:manipulation;
}
.offer-note {
  font-family:var(--fm); font-size:10px; color:var(--mist); margin:0;
  line-height:1.62;
  letter-spacing:.04em;
  text-wrap:pretty;
  padding:12px 14px;
  border:1px solid var(--rim2);
  border-radius:var(--r8);
  background:rgba(7,6,13,.42);
}
.offer-footnote {
  margin-top:22px;
  padding:clamp(22px, 4vw, 28px) clamp(22px, 4vw, 40px);
  border:1px solid rgba(184,151,106,.28);
  font-family:var(--fm); font-size:11px;
  color:var(--mist); letter-spacing:.08em; line-height:1.68;
  max-width:56rem;
  text-wrap:pretty;
  border-radius:var(--r8);
  background:rgba(14,12,22,.62);
}
    
/* FAQ */
.faq-list { margin-top:40px; }
.faq-item { border-bottom:1px solid var(--rim); }
.faq-item summary.faq-sum {
  list-style:none;
  padding:20px 0; font-size:18px; font-weight:400;
  cursor:pointer; display:flex; justify-content:space-between; align-items:center;
  transition:color .2s;
}
.faq-item summary.faq-sum::-webkit-details-marker { display:none; }
.faq-item summary.faq-sum:hover { color:var(--gold); }
.faq-item summary.faq-sum::after { content:'+'; font-family:var(--fm); font-size:18px; color:var(--gold); transition:transform .2s; flex-shrink:0; margin-left:12px; }
.faq-item[open] summary.faq-sum::after { transform:rotate(45deg); }
.faq-a {
  padding-bottom:20px;
  font-size:15px;
  color:var(--mist);
  line-height:1.82;
  font-weight:300;
  max-width:var(--read-opt);
  text-wrap:pretty;
}
@media (min-width: 1200px) {
  .faq-a { font-size:16px; line-height:1.85; }
}

/* CTA final */
.cta-final {
  text-align:center;
  padding:120px var(--layout-pad-x);
  background:linear-gradient(to bottom, var(--ink), var(--p1), var(--ink));
  position:relative; overflow:hidden;
}
.cta-final::before {
  content:'';
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:600px; height:400px;
  background:radial-gradient(ellipse, rgba(201,168,76,.07) 0%, transparent 70%);
  pointer-events:none;
}
.cta-final-label,
.cta-final-title,
.cta-final-sub,
.cta-final .btn-gold {
  position:relative;
  z-index:2;
}
.cta-final .btn-gold {
  cursor:pointer;
  touch-action:manipulation;
}
.cta-final-label { font-family:var(--fm); font-size:9px; letter-spacing:4px; color:var(--gold); text-transform:uppercase; margin-bottom:24px; }
.cta-final-title { font-size:clamp(36px,5vw,72px); font-weight:300; line-height:1.1; margin-bottom:20px; }
.cta-final-title em { font-style:italic; color:var(--gold); }
.cta-final-sub {
  font-size:17px; color:rgba(237,234,228,.82); margin-bottom:48px; font-weight:300;
  max-width:var(--read-opt); margin-left:auto; margin-right:auto;
  line-height:1.65; text-wrap:pretty;
  padding:16px 20px;
  border:1px solid var(--rim2);
  border-radius:var(--r8);
  background:rgba(7,6,13,.42);
}
@media (min-width: 1200px) {
  .cta-final-sub { font-size:18px; }
}

/* Footer — fermeture de page */
footer.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--rim);
  background:
    linear-gradient(180deg, rgba(201,166,107,.035) 0%, transparent 32%),
    var(--ink);
  position: relative;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: clamp(20px, 6vw, 48px);
  width: min(140px, 28vw);
  height: 2px;
  background: linear-gradient(90deg, rgba(184,151,106,.85), transparent);
  opacity: .9;
  pointer-events: none;
}
.footer-shell {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--layout-pad-x) clamp(36px, 5vw, 56px);
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 760px) {
  .footer-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: clamp(28px, 5vw, 56px);
  }
}
.footer-brand-lockup {
  display: flex;
  gap: clamp(18px, 3vw, 26px);
  align-items: center;
}
.footer-seal-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1px solid rgba(184,151,106,.28);
  border-radius: var(--r4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237,234,228,.065);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
}
.footer-seal-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-brand-text .footer-mark {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.footer-brand-text .footer-tagline {
  font-family: var(--fd, serif);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--mist);
  max-width: 28em;
}
.footer-aside { width: 100%; }
@media (min-width: 760px) {
  .footer-aside { justify-self: end; text-align: right; max-width: 340px; }
}
.footer-quick-label {
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .88;
  margin-bottom: 14px;
}
@media (min-width: 760px) {
  .footer-aside .footer-quick-label { text-align: right; }
}
.footer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 760px) {
  .footer-aside .footer-chip-row { justify-content: flex-end; }
}
.footer-chip {
  flex: 1 1 auto;
  min-width: min(100%, 140px);
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(184,151,106,.35);
  border-radius: var(--r4);
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(236,231,222,.92);
  text-transform: uppercase;
  background: rgba(7,6,13,.85);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .15s ease;
}
@media (hover: hover) {
  .footer-chip:hover {
    border-color: var(--gold);
    color: var(--snow);
    background: rgba(201,166,107,.06);
    transform: translateY(-1px);
  }
}
.footer-chip:active { transform: translateY(0); }
.footer-chip:focus-visible {
  outline: 2px solid var(--gring);
  outline-offset: 3px;
}
.footer-span { grid-column: 1 / -1; }
.footer-legals-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(237,234,228,.06);
}
.footer-legals-row a {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--mist);
  transition: color .2s;
  text-decoration: none;
  position: relative;
}
.footer-legals-row a:hover { color: var(--gold); }
.footer-legals-row a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.footer-legals-row a:hover::after { width: 100%; }
.footer-disc {
  margin-top: 20px;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--mist);
  line-height: 1.72;
  max-width: 52rem;
  padding: 14px 16px;
  border: 1px solid var(--rim2);
  border-radius: var(--r8);
  background: rgba(7, 6, 13, .4);
}
.footer-micro {
  margin-top: 18px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(237,234,228,.72);
}

/* ═══════════════════════════════════════════════
   WIZARD CONTAINER
═══════════════════════════════════════════════ */
#p-wizard {
  min-height:100vh; background:var(--ink);
  display:none; flex-direction:column;
}
#p-wizard.active { display:flex; }

.wiz-header {
  padding:20px 40px;
  border-bottom:1px solid var(--rim);
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  position:sticky; top:0; background:rgba(7,6,13,.96);
  backdrop-filter:blur(20px); z-index:50;
}
.wiz-logo { font-family:var(--fm); font-size:10px; letter-spacing:3px; color:var(--gold); text-transform:uppercase; flex-shrink:0; }
.wiz-logo span { color:var(--mist); font-weight:300; }
.wiz-ritual {
  font-family:var(--fm); font-size:9px; letter-spacing:1px;
  color:var(--mist); text-align:center;
  flex:1 1 200px; min-width:0;
  line-height:1.5;
}
.wiz-progress-bar { flex:1; max-width:260px; height:1px; background:var(--rim); margin:0 24px; position:relative; }
.wiz-progress-fill { height:100%; background:var(--gold); transition:width .4s ease; }
.wiz-step-count { font-family:var(--fm); font-size:10px; color:var(--mist); letter-spacing:1px; flex-shrink:0; }
.wiz-back { font-family:var(--fm); font-size:10px; color:var(--fog); letter-spacing:1px; cursor:pointer; transition:color .2s; flex-shrink:0; }
.wiz-back:hover { color:var(--gold); }

#p-wizard.wiz-critical {
  --ink: #000000;
  --ink2: #060606;
  --p1: #080808;
  --p2: #0c0c0c;
  --p3: #111111;
  --rim: rgba(255,255,255,.035);
  --rim2: rgba(255,255,255,.07);
}
#p-wizard.wiz-critical .wiz-header {
  background:rgba(0,0,0,.97);
  border-bottom-color:rgba(153,27,27,.28);
}
#p-wizard.wiz-critical .wiz-progress-fill {
  background:var(--crit-red);
}
#p-wizard.wiz-critical .profile-option.selected {
  border-color:var(--crit-red);
}
#p-wizard.wiz-critical .q-phase { color:#c45c5c; }

.wiz-body {
  flex:1; display:flex; flex-direction:column; justify-content:flex-start;
  padding:48px 40px 80px; max-width:min(780px, 100%); margin:0 auto; width:100%;
  overflow-y:auto;
}
@media (min-width: 768px) {
  .wiz-body { max-width:min(880px, 94vw); padding-left:max(28px, var(--layout-pad-x)); padding-right:max(28px, var(--layout-pad-x)); }
}
@media (min-width: 1200px) {
  .wiz-body { max-width:min(960px, 90vw); }
}
/* Le sélecteur de profil et le consentement restent centrés (peu de contenu) */
#screen-profile .wiz-body,
#screen-consent .wiz-body,
#screen-critique-transition .wiz-body {
  justify-content:center;
}

/* ═══════════════════════════════════════════════
   ÉCRAN SÉLECTION PROFIL
═══════════════════════════════════════════════ */
#screen-profile .wiz-body { max-width:min(960px, 94vw); }
.profile-select-title {
  font-size:clamp(32px,5vw,56px); font-weight:300; line-height:1.1;
  margin-bottom:8px;
}
.profile-select-title em { font-style:italic; color:var(--gold); }
.profile-select-sub { font-size:16px; color:var(--mist); font-weight:300; margin-bottom:48px; }
.profile-options { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.profile-option {
  padding:28px 28px;
  border:1px solid var(--rim);
  background:var(--ink2);
  cursor:pointer;
  transition:all .2s;
  text-align:left;
  position:relative;
  color:var(--snow);
  font-family:inherit;
}
.profile-option:focus { outline:2px solid var(--gring); outline-offset:2px; }
.profile-option:active { opacity:.94; }
.profile-option:hover { border-color:var(--gring); background:var(--p1); }
.profile-option.selected { border-color:var(--gold); background:var(--p1); }
.profile-option.selected::after {
  content:'✓';
  position:absolute; top:16px; right:20px;
  font-family:var(--fm); font-size:12px; color:var(--gold);
}
.po-tag { font-family:var(--fm); font-size:9px; letter-spacing:3px; color:var(--gold); text-transform:uppercase; margin-bottom:10px; }
.po-title { font-size:20px; font-weight:600; margin-bottom:6px; color:var(--snow); }
.po-desc { font-size:13px; color:var(--mist); line-height:1.6; font-weight:300; }
.profile-continue {
  margin-top:32px;
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 48px; background:var(--gold); color:var(--ink);
  opacity:.3; pointer-events:none; transition:all .2s;
}
.profile-continue.enabled { opacity:1; pointer-events:all; cursor:pointer; }
.profile-continue.enabled:hover { background:var(--gold2); }

/* ═══════════════════════════════════════════════
   ÉCRAN CONSENTEMENT
═══════════════════════════════════════════════ */
.consent-title { font-size:clamp(28px,4vw,44px); font-weight:300; margin-bottom:8px; line-height:1.1; }
.consent-title em { font-style:italic; color:var(--gold); }
.consent-sub { font-size:15px; color:var(--mist); font-weight:300; margin-bottom:40px; line-height:1.6; }
.consent-boxes { display:flex; flex-direction:column; gap:0; margin-bottom:40px; }
.consent-box {
  display:flex; align-items:flex-start; gap:16px;
  padding:18px 0; border-bottom:1px solid var(--rim);
  cursor:pointer;
}
.consent-box:first-child { border-top:1px solid var(--rim); }
.consent-check {
  width:18px; height:18px; flex-shrink:0; margin-top:2px;
  border:1px solid var(--rim2); background:transparent;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s;
}
.consent-box.checked .consent-check {
  border-color:var(--gold); background:var(--gold);
}
.consent-check-mark { display:none; color:var(--ink); font-size:11px; }
.consent-box.checked .consent-check-mark { display:block; }
.consent-text { font-size:15px; font-weight:300; line-height:1.6; }
.consent-btn {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 48px; background:var(--gold); color:var(--ink);
  opacity:.3; pointer-events:none; transition:all .2s;
}
.consent-btn.enabled { opacity:1; pointer-events:all; cursor:pointer; }
.consent-btn.enabled:hover { background:var(--gold2); }

/* ═══════════════════════════════════════════════
   ÉCRAN QUESTION
═══════════════════════════════════════════════ */
.q-phase { font-family:var(--fm); font-size:9px; letter-spacing:4px; color:var(--gold); text-transform:uppercase; margin-bottom:24px; }
.q-intro {
  font-size:15px; color:var(--mist); font-weight:300; line-height:1.8;
  margin-bottom:32px; padding:20px 24px; border-left:1px solid var(--rim2);
  font-style:italic;
}
.q-text {
  font-size:clamp(22px,3vw,34px); font-weight:300; line-height:1.35;
  margin-bottom:12px; color:var(--snow);
}
.q-constraint {
  font-family:var(--fm); font-size:11px; color:var(--gold);
  letter-spacing:1px; margin-bottom:28px; display:block;
}
#screen-question.is-last-q .wiz-body {
  justify-content:flex-start;
  padding-top:28px;
  padding-bottom:48px;
  overflow-y:visible;
}
#screen-question.is-last-q .q-phase { margin-bottom:14px; }
#screen-question.is-last-q .q-intro {
  margin-bottom:16px;
  padding:14px 18px;
}
#screen-question.is-last-q .q-text { margin-bottom:8px; }
.q-prior-strip-title {
  font-family:var(--fm); font-size:8px;
  letter-spacing:3px;
  color:var(--gold);
  text-transform:uppercase;
  margin:22px 0 12px;
}
.q-prior-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-bottom:22px;
}
@media (max-width:640px) {
  .q-prior-grid { grid-template-columns:1fr; }
}
.q-prior-card {
  font-size:12px;
  line-height:1.45;
  color:var(--mist);
  padding:12px 14px;
  border:1px solid var(--rim2);
  border-radius:var(--r4);
  background:rgba(237,234,228,.035);
}
.q-prior-phase {
  font-family:var(--fm); font-size:7px;
  letter-spacing:2px;
  color:var(--fog);
  text-transform:uppercase;
  margin-bottom:8px;
}
.q-prior-ans {
  font-style:italic;
  max-height:4.35em;
  overflow:hidden;
  color:rgba(236,231,222,.92);
}

.preview-kind-bar {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding-bottom:14px;
  border-bottom:1px solid var(--border);
  margin-bottom:10px;
}
.preview-kind-bar span {
  font-size:9px;
  letter-spacing:2px;
  color:rgba(236,231,222,.42);
  text-transform:uppercase;
  margin-right:4px;
}
.preview-kind-btn {
  font-family:var(--fm);
  font-size:9px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:10px 16px;
  border:1px solid var(--rim2);
  background:rgba(237,234,228,.06);
  color:var(--mist);
  cursor:pointer;
  transition:border-color .2s, color .2s;
}
.preview-kind-btn.active,
.preview-kind-btn:hover {
  border-color:var(--gring);
  color:var(--gold);
}

.q-textarea {
  width:100%; min-height:120px;
  background:var(--p1); border:1px solid var(--rim2);
  color:var(--snow); font-family:var(--fd); font-size:17px;
  font-weight:300; line-height:1.7;
  padding:20px 24px;
  outline:none; transition:border-color .2s;
}
.q-textarea:focus { border-color:var(--gring); }
.q-textarea::placeholder { color:var(--fog); font-style:italic; }
.q-spell-row {
  display:flex; align-items:center; gap:10px; margin:10px 0 6px;
  font-family:var(--fm); font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--mist); user-select:none;
}
.q-spell-row input { width:15px; height:15px; accent-color:var(--gold); cursor:pointer; }
.q-spell-note {
  font-size:12px; line-height:1.55; color:var(--fog); font-family:var(--fd);
  font-weight:400; letter-spacing:0; text-transform:none; margin:4px 0 0;
  max-width:var(--read-opt);
}
.q-spell-tools {
  display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px;
  margin-top:8px;
}
.q-spell-tools button {
  font-family:var(--fm); font-size:9px; letter-spacing:.14em; text-transform:uppercase;
  padding:8px 14px; border:1px solid var(--gring); background:rgba(237,234,228,.06);
  color:var(--mist); border-radius:var(--r4); transition:color .2s,border-color .2s;
}
.q-spell-tools button:hover { color:var(--gold); border-color:var(--gold); }
@media (min-width: 1200px) {
  .q-intro {
    font-size:16px; color:rgba(215,210,228,.95); line-height:1.85;
    margin-bottom:34px;
  }
  .q-text {
    font-size:clamp(24px,2.3vw,38px);
    line-height:1.32;
    color:rgba(248,245,238,.98);
  }
  .q-textarea {
    font-size:18px; line-height:1.75; padding:22px 26px; min-height:140px;
    color:rgba(242,239,232,.98);
  }
  .q-prior-ans { color:rgba(240,235,225,.94); }
  .hub-muted { font-size:13px; color:rgba(186,180,200,.93); line-height:1.68; }
}
.q-next {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:14px 40px; background:var(--gold); color:var(--ink);
  opacity:.3; pointer-events:none; transition:all .2s;
  border:1px solid var(--gold);
}
.q-next.enabled { opacity:1; pointer-events:all; cursor:pointer; }
.q-next.enabled:hover { background:var(--gold2); }

/* Bouton Précédent — secondaire, posé sans rivaliser avec le Continuer */
.q-prev {
  font-family:var(--fm); font-size:10px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:13px 28px; background:transparent; color:var(--mist);
  border:1px solid var(--rim2);
  cursor:pointer; transition:all .2s;
}
.q-prev:hover { color:var(--gold); border-color:var(--gring); }
.q-prev:disabled, .q-prev.disabled {
  opacity:.25; pointer-events:none; cursor:default;
}

.q-actions {
  margin-top:20px;
  display:flex; flex-wrap:wrap; gap:12px;
  align-items:center; justify-content:space-between;
}
@media (max-width:520px) {
  .q-actions { flex-direction:column-reverse; align-items:stretch; }
  .q-actions .q-prev, .q-actions .q-next { width:100%; text-align:center; }
}

/* Aide rédaction : compteur + état */
.q-help {
  margin-top:10px;
  font-family:var(--fm); font-size:10px; letter-spacing:1.5px;
  color:var(--fog); text-transform:uppercase;
  display:flex; flex-wrap:wrap; gap:10px 18px; align-items:center;
  min-height:14px;
}
.q-help .q-help-count { color:var(--mist); }
.q-help .q-help-count.ok { color:#88c98a; }
.q-help .q-help-count.warn { color:var(--gold); }
.q-help .q-help-hint { font-style:italic; text-transform:none; letter-spacing:.5px; color:var(--fog); }

/* ═══════════════════════════════════════════════
   TRANSITION CRITIQUE
═══════════════════════════════════════════════ */
#screen-critique-transition .wiz-body { text-align:center; max-width:640px; }
#screen-critique-transition #ct-text p { margin:0; font-size:15px; color:var(--mist); font-weight:300; line-height:1.65; }
#screen-critique-transition #ct-text p + p { margin-top:18px; }
.ct-icon { font-size:48px; margin-bottom:32px; }
.ct-title { font-size:clamp(28px,4vw,44px); font-weight:300; margin-bottom:16px; line-height:1.1; }
.ct-title em { font-style:italic; color:var(--gold); }
.ct-text { font-size:16px; color:var(--mist); font-weight:300; line-height:1.7; margin-bottom:48px; }
.ct-buttons { display:flex; flex-direction:column; gap:12px; align-items:center; }
.ct-btn-crit {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 48px; background:var(--gold); color:var(--ink);
  cursor:pointer; transition:all .2s;
}
.ct-btn-crit:hover { background:var(--gold2); }
.ct-btn-std {
  font-family:var(--fm); font-size:10px; font-weight:400;
  letter-spacing:2px; text-transform:uppercase;
  padding:12px 32px; border:1px solid var(--rim2); color:var(--mist);
  cursor:pointer; transition:all .2s;
}
.ct-btn-std:hover { border-color:var(--rim3); color:var(--snow); }

/* ═══════════════════════════════════════════════
   ÉCRAN DE SILENCE
═══════════════════════════════════════════════ */
#screen-silence {
  min-height:100vh; background:var(--ink);
  display:none; align-items:center; justify-content:center;
  text-align:center; flex-direction:column; gap:32px;
}
#screen-silence.active { display:flex; }
.silence-text {
  font-size:clamp(22px,3vw,36px); font-weight:300;
  line-height:1.45; max-width:560px; color:var(--snow);
  font-style:italic;
  white-space:pre-line;
}
.silence-bar {
  width:200px; height:1px; background:var(--rim2); position:relative; overflow:hidden;
}
body.session-critical #screen-silence {
  background:#000;
}
body.session-critical #screen-silence .silence-fill {
  background:var(--crit-red);
}

/* ═══════════════════════════════════════════════
   ÉCRAN MIROIR
═══════════════════════════════════════════════ */
#screen-mirror {
  min-height:100vh;
  display:none;
  flex-direction:column;
  justify-content:flex-start;
  padding:0;
  box-sizing:border-box;
}
#screen-mirror.active { display:flex; }
/* Zone qui défile seulement si les deux décisions sont longues (pas de centrage vertical). */
.mirror-main {
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:stretch;
  padding:20px max(24px, var(--layout-pad-x), env(safe-area-inset-right)) 56px max(24px, var(--layout-pad-x), env(safe-area-inset-left));
  box-sizing:border-box;
}
.mirror-label {
  font-family:var(--fm);
  font-size:9px;
  letter-spacing:4px;
  color:var(--gold);
  text-transform:uppercase;
  margin:0 auto 28px;
  text-align:center;
  max-width:900px;
  width:100%;
}
.mirror-cols {
  display:grid;
  grid-template-columns:1fr 2px 1fr;
  gap:0;
  max-width:900px;
  margin:0 auto;
  width:100%;
  align-items:stretch;
}
@media (min-width: 768px) {
  .mirror-label,
  .mirror-cols { max-width:min(1020px, 94vw); }
}
@media (min-width: 1200px) {
  .mirror-label,
  .mirror-cols { max-width:min(1180px, 92vw); }
}
.mirror-col { padding:0 40px; }
.mirror-col:first-child { padding-left:0; }
.mirror-col:last-child { padding-right:0; }
.mirror-sep {
  align-self:stretch;
  background:linear-gradient(180deg, transparent 0%, var(--rim2) 22%, rgba(201,166,107,.42) 50%, var(--rim2) 78%, transparent 100%);
}
body.session-critical .mirror-sep {
  background:linear-gradient(180deg, transparent 0%, rgba(153,27,27,.28) 30%, rgba(196,92,92,.72) 50%, rgba(153,27,27,.28) 70%, transparent 100%);
}
.mirror-col-label { font-family:var(--fm); font-size:9px; letter-spacing:3px; color:var(--mist); text-transform:uppercase; margin-bottom:20px; }
.mirror-col-text { font-size:clamp(17px,2vw,22px); font-weight:300; line-height:1.6; font-style:italic; color:var(--snow); }
.mirror-col.right .mirror-col-text { color:var(--gold); }
.mirror-footnote { text-align:center; margin-top:48px; font-size:15px; color:var(--mist); font-weight:300; font-style:italic; max-width:560px; margin-left:auto; margin-right:auto; }
.mirror-continue {
  display:block; margin:40px auto 0;
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:14px 40px; background:var(--gold); color:var(--ink);
  cursor:pointer; transition:all .2s;
}
.mirror-continue:hover { background:var(--gold2); }

/* ═══════════════════════════════════════════════
   AIDE CRISE (plein écran · hors tunnel produit)
═══════════════════════════════════════════════ */
#screen-crisis-help {
  min-height:100vh;
  display:none;
  box-sizing:border-box;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding:max(48px, env(safe-area-inset-top)) max(24px, var(--layout-pad-x), env(safe-area-inset-right)) 56px max(24px, var(--layout-pad-x), env(safe-area-inset-left));
  background:var(--ink);
  color:var(--snow);
}
#screen-crisis-help.active { display:flex; }
body.session-critical #screen-crisis-help {
  background:#0a0908;
}
.crisis-help-inner {
  width:100%;
  max-width:520px;
  margin:0 auto;
}
.crisis-help-kicker {
  font-family:var(--fm);
  font-size:9px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 20px;
}
.crisis-help-title {
  font-size:clamp(22px, 3.2vw, 30px);
  font-weight:400;
  line-height:1.35;
  margin:0 0 22px;
  color:var(--snow);
}
.crisis-help-p {
  font-size:15px;
  line-height:1.68;
  color:rgba(236,231,222,.9);
  margin:0 0 16px;
  text-wrap:pretty;
}
.crisis-help-p.crisis-help-lead {
  margin-top:8px;
  font-size:14px;
  color:rgba(236,231,222,.82);
}
.crisis-help-p.crisis-help-closing {
  margin-top:22px;
  font-size:16px;
  color:var(--snow);
}
.crisis-help-list {
  margin:8px 0 0;
  padding:0 0 0 1.1em;
  font-size:15px;
  line-height:1.65;
  color:rgba(236,231,222,.88);
}
.crisis-help-list li { margin-bottom:12px; }
.crisis-help-foot {
  margin:28px 0 0;
  font-size:12px;
  line-height:1.6;
  color:rgba(236,231,222,.52);
  text-wrap:pretty;
}
.crisis-exit {
  display:block;
  margin:36px auto 0;
  padding:0;
  border:none;
  background:none;
  cursor:pointer;
  font-family:var(--fm);
  font-size:10px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(236,231,222,.38);
  text-decoration:underline;
  text-underline-offset:3px;
  transition:color .2s;
}
.crisis-exit:hover { color:rgba(236,231,222,.55); }

/* ═══════════════════════════════════════════════
   RÉCAPITULATIF
═══════════════════════════════════════════════ */
/* display : les marges externes sont dans le bloc NAV/récap compacité plus haut */
#screen-recap { min-height:100vh; display:none; box-sizing:border-box; }
#screen-recap.active {
  display:flex;
  flex-direction:column;
}
@media (min-width: 1200px) {
  .recap-scroll,
  .recap-sticky-wrap,
  .recap-max { max-width:min(960px, 92vw); }
}
.recap-title { font-size:clamp(28px,4vw,48px); font-weight:300; margin-bottom:8px; }
.recap-title em { font-style:italic; color:var(--gold); }
.recap-sub { font-size:15px; color:var(--mist); font-weight:300; margin-bottom:28px; }
.recap-max { max-width:min(880px, 100%); margin:0 auto; }
.recap-item {
  padding:14px 0; border-bottom:1px solid var(--rim);
}
.recap-item:first-child { border-top:1px solid var(--rim); }
.recap-item-label { font-family:var(--fm); font-size:9px; letter-spacing:3px; color:var(--gold); text-transform:uppercase; margin-bottom:8px; }
.recap-item-text { font-size:16px; font-weight:300; line-height:1.6; }
.recap-item-text.final { font-size:20px; font-weight:500; font-style:italic; color:var(--gold); }
.recap-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:40px; }
.btn-recap-pay {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 40px; background:var(--gold); color:var(--ink);
  cursor:pointer; transition:all .2s;
}
.btn-recap-pay:hover { background:var(--gold2); }
.btn-recap-edit {
  font-family:var(--fm); font-size:11px; font-weight:400;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 32px; border:1px solid var(--rim2); color:var(--mist);
  cursor:pointer; transition:all .2s;
}
.btn-recap-edit:hover { border-color:var(--gring); color:var(--gold); }
.recap-price-note {
  font-family:var(--fm); font-size:10px;
  color:var(--fog); margin-top:12px;
  text-wrap:pretty;
}

/* Modale Pivot Critique · recherche locale (sans envoi cloud) */
#crit-pivot-modal .crit-pivot-hint {
  font-size:12px; color:var(--mist); line-height:1.65;
  margin-bottom:16px;
}
#crit-filter-pivot {
  width:100%;
  padding:14px;
  margin-bottom:12px;
  background:var(--p1);
  border:1px solid var(--rim2);
  color:var(--snow);
  font-family:var(--fm);
  font-size:12px;
  outline:none;
}
#crit-pivot-tags { font-size:11px; line-height:1.8; margin-bottom:12px; }
.crit-tag {
  display:inline-block; margin:0 10px 6px 0;
  padding:4px 8px;
  border:1px solid var(--rim2);
  color:var(--mist);
}
.crit-tag.hit { border-color:rgba(201,166,107,.65); color:var(--gold); }

/* ═══════════════════════════════════════════════
   SUCCÈS
═══════════════════════════════════════════════ */
#screen-success { min-height:100vh; display:none; flex-direction:column; justify-content:center; padding:80px 40px; text-align:center; }
#screen-success.active { display:flex; }
.success-icon { font-size:48px; margin-bottom:32px; }
.success-title { font-size:clamp(32px,5vw,60px); font-weight:300; margin-bottom:16px; line-height:1.1; }
.success-title em { font-style:italic; color:var(--gold); }
.success-sub { font-size:16px; color:var(--mist); font-weight:300; margin-bottom:48px; line-height:1.7; max-width:520px; margin-left:auto; margin-right:auto; }
.success-proof {
  font-family:var(--fm); font-size:11px; color:var(--gold);
  letter-spacing:2px; margin-bottom:32px;
  padding:16px 24px; border:1px solid var(--gring); display:inline-block;
}
.success-token {
  font-family:var(--fm); font-size:10px; color:var(--mist);
  background:var(--p1); padding:16px 24px; margin-bottom:8px;
  border:1px solid var(--rim); word-break:break-all; max-width:600px;
  margin:0 auto 8px;
}
.success-token-warn { font-family:var(--fm); font-size:9px; color:var(--red); letter-spacing:1px; margin-bottom:40px; }
.btn-dl-pdf {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:16px 48px; background:var(--gold); color:var(--ink);
  cursor:pointer; transition:all .2s; display:inline-block;
}
.btn-dl-pdf:hover { background:var(--gold2); }

/* ═══════════════════════════════════════════════
   VÉRIFICATION
═══════════════════════════════════════════════ */
#p-verify { min-height:100vh; display:none; padding:120px 40px; }
#p-verify.active { display:block; }
.verify-max { max-width:640px; margin:0 auto; }
.verify-title { font-size:clamp(32px,5vw,56px); font-weight:300; margin-bottom:8px; }
.verify-title em { font-style:italic; color:var(--gold); }
.verify-sub { font-size:15px; color:var(--mist); font-weight:300; margin-bottom:48px; }
.verify-input {
  width:100%; background:var(--p1); border:1px solid var(--rim2);
  color:var(--snow); font-family:var(--fm); font-size:13px;
  padding:16px 20px; outline:none; margin-bottom:12px;
  transition:border-color .2s;
}
.verify-input:focus { border-color:var(--gring); }
.verify-btn {
  font-family:var(--fm); font-size:11px; font-weight:500;
  letter-spacing:2px; text-transform:uppercase;
  padding:14px 40px; background:var(--gold); color:var(--ink);
  cursor:pointer; transition:all .2s;
}
.verify-btn:hover { background:var(--gold2); }
.verify-result {
  margin-top:32px; padding:24px; border:1px solid var(--rim);
  background:var(--p1); display:none;
}
.verify-result.ok { border-color:rgba(34,197,94,.3); }
.verify-result.fail { border-color:rgba(192,57,43,.3); }
.vr-status { font-family:var(--fm); font-size:11px; letter-spacing:2px; text-transform:uppercase; margin-bottom:16px; }
.vr-status.ok { color:#22c55e; }
.vr-status.fail { color:var(--red); }
.vr-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--rim); font-family:var(--fm); font-size:11px; }
.vr-row:last-child { border-bottom:none; }
.vr-k { color:var(--mist); }
.vr-v { color:var(--snow); }

/* ═══════════════════════════════════════════════
   ÉCRAN CHARGEMENT
═══════════════════════════════════════════════ */
#screen-loading { min-height:100vh; display:none; flex-direction:column; align-items:center; justify-content:center; gap:24px; }
#screen-loading.active { display:flex; }
.loading-text { font-family:var(--fm); font-size:11px; letter-spacing:3px; color:var(--gold); text-transform:uppercase; }
.loading-dots span { animation:blink 1.2s infinite; }
.loading-dots span:nth-child(2) { animation-delay:.2s; }
.loading-dots span:nth-child(3) { animation-delay:.4s; }
@keyframes blink { 0%,80%,100%{opacity:0} 40%{opacity:1} }

/* ═══════════════════════════════════════════════
   NAV — sceau (icons/sceau_pdf.jpeg)
═══════════════════════════════════════════════ */
.nav-shell {
  display:flex; align-items:center; gap:18px;
}
.nav-brand-hit {
  display:flex; align-items:center; gap:18px;
  margin:0; padding:0;
  background:none; border:none;
  cursor:pointer;
  color:inherit;
  font:inherit;
  text-align:left;
}
.nav-brand-hit:focus-visible {
  outline:2px solid var(--gring);
  outline-offset:4px;
  border-radius:var(--r4);
}
@media (hover:hover) {
  .nav-brand-hit:hover .nav-logo { color:var(--gold2); }
}
.nav-seal-slot {
  flex-shrink:0; width:46px; height:46px;
  border-radius:var(--r4);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  padding:0;
  border:1px solid var(--rim2);
  background:rgba(237,234,228,.06);
}
.nav-seal-slot img {
  width:100%; height:100%; object-fit:contain;
  display:block;
}

.modal-overlay {
  visibility:hidden;
  pointer-events:none;
  display:none !important;
  position:fixed; inset:0; z-index:20060;
  align-items:center; justify-content:center;
  padding:32px;
  background:rgba(3, 2, 8, 0.94);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.modal-overlay.visible {
  visibility:visible;
  pointer-events:auto;
  display:flex !important;
}
/* Reprendre le parcours · nav & pied de page restent visibles et cliquables (voile léger, pas de blur). */
#draft-modal.modal-overlay {
  z-index:11800;
  background:rgba(3, 2, 8, 0.42);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  padding:max(100px, calc(env(safe-area-inset-top) + 72px)) 28px max(28px, env(safe-area-inset-bottom)) 28px;
}
#draft-modal.modal-overlay.visible {
  pointer-events:none;
}
#draft-modal .modal-card {
  pointer-events:auto;
  position:relative;
  z-index:1;
  box-shadow:0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.modal-card {
  width:min(460px, 100%);
  border:1px solid var(--rim2);
  background:linear-gradient(165deg, var(--ink2) 0%, var(--ink) 100%);
  box-shadow:0 40px 100px rgba(0,0,0,.65);
}
.modal-card-head {
  font-family:var(--fm); font-size:10px; letter-spacing:5px;
  text-transform:uppercase; color:var(--gold);
  padding:24px 28px 16px;
  border-bottom:1px solid var(--rim);
}
.modal-card-title {
  font-size:clamp(22px,4vw,30px); font-weight:300; color:var(--snow);
  padding:18px 28px 12px;
  line-height:1.35;
}
.modal-card-desc {
  font-size:14px; color:var(--mist); font-weight:300;
  line-height:1.65;
  padding:0 28px 28px;
}
.modal-actions {
  display:flex; gap:12px;
  flex-wrap:wrap;
  padding:20px 28px 26px;
  border-top:1px solid var(--rim);
}
.modal-btn-dismiss {
  font-family:var(--fm); font-size:10px; letter-spacing:2px;
  text-transform:uppercase;
  padding:14px 22px;
  border:1px solid var(--rim2);
  color:var(--mist);
  cursor:pointer;
  background:transparent;
  transition:border-color .2s, color .2s;
}
.modal-btn-dismiss:hover { border-color:var(--gold); color:var(--gold); }
.modal-btn-primary {
  font-family:var(--fm); font-size:10px; font-weight:600;
  letter-spacing:2px; text-transform:uppercase;
  padding:14px 26px;
  background:var(--gold); color:var(--ink); border:none;
  cursor:pointer; transition:background .2s;
}
.modal-btn-primary:hover { background:var(--gold2); }

/* ═══════════════════════════════════════════════
   TOAST
═══════════════════════════════════════════════ */
#toast {
  position:fixed; bottom:32px; left:50%; transform:translateX(-50%) translateY(80px);
  background:var(--p2); border:1px solid var(--rim2);
  font-family:var(--fm); font-size:11px; letter-spacing:1px; color:var(--snow);
  padding:14px 24px; z-index:999; transition:transform .3s ease;
  pointer-events:none;
}
#toast.show { transform:translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════════
   COOKIES · bandeau consentement (RGPD)
═══════════════════════════════════════════════ */
.cookie-banner[hidden] {
  display: none !important;
}
.cookie-banner:not(.cookie-banner--shown) {
  pointer-events: none !important;
}
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 15000;
  padding: calc(12px + env(safe-area-inset-bottom, 0)) clamp(14px, 3vw, 28px)
    calc(16px + env(safe-area-inset-bottom, 0));
  /* Toujours inerte en surface : évite tout « voile » plein-largeur tant que inner n’a pas encore le focus clic. */
  pointer-events: none;
  transform: translateY(105%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, visibility 0s linear 0.5s;
}
.cookie-banner.cookie-banner--shown {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s, 0s, 0s;
}
/* Seul le carteau intercepte les clics (pas une zone invisible traversant l’écran). */
.cookie-banner.cookie-banner--shown .cookie-banner-inner {
  pointer-events: auto;
}
.cookie-banner.cookie-banner--shown .cookie-banner-inner a,
.cookie-banner.cookie-banner--shown .cookie-banner-inner button {
  pointer-events: auto;
  touch-action: manipulation;
}
.cookie-banner-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 28px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 26px);
  border: 1px solid rgba(184,151,106,.32);
  border-radius: var(--r8);
  background: linear-gradient(145deg, rgba(14,12,22,.96) 0%, rgba(7,6,13,.94) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 -8px 40px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(237,234,228,.06);
  pointer-events: none;
}
@media (min-width: 760px) {
  .cookie-banner-inner {
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 24px 32px;
  }
}
.cookie-banner-title {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.cookie-banner-text {
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
  font-weight: 300;
  max-width: 56rem;
}
.cookie-banner-links {
  margin-top: 10px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cookie-banner-links a {
  color: var(--mist);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cookie-banner-links a:hover { color: var(--gold); }
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}
@media (min-width: 760px) {
  .cookie-banner-actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }
}
.cookie-btn {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: var(--r4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  border: 1px solid var(--rim2);
  background: transparent;
  color: var(--mist);
}
.cookie-btn:hover {
  border-color: var(--gring);
  color: var(--gold);
}
.cookie-btn:active { opacity: 0.92; }
.cookie-btn:focus-visible {
  outline: 2px solid var(--gring);
  outline-offset: 2px;
}
.cookie-btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.cookie-btn.primary:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  color: var(--ink);
}
body.cookie-banner-open {
  padding-bottom: min(200px, 38vh);
}
@media (min-width: 760px) {
  body.cookie-banner-open { padding-bottom: min(160px, 28vh); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width:1180px) {
  .offers-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    max-width:min(1100px, 100%);
    margin-left:auto;
    margin-right:auto;
  }
  .offers-grid .offer:last-child {
    grid-column:1 / -1;
    justify-self:center;
    width:100%;
    max-width:480px;
  }
}
@media (max-width:1100px) {
  .steps-grid.steps-phases-five { grid-template-columns:1fr 1fr; }
  .steps-grid.steps-phases-five .step:last-child {
    grid-column:1 / -1;
    max-width:640px;
    width:100%;
    justify-self:center;
  }
}
@media (min-width: 1200px) {
  section {
    padding:110px var(--layout-pad-x);
  }
  .dossier-entry:not(.dossier-entry--hero-split) {
    max-width:min(1020px, 88vw);
  }
  .dossier-lead {
    font-size:clamp(24px, 2.4vw, 38px);
    line-height:1.46;
  }
}

@media (max-width:900px) {
  nav {
    padding-left:max(16px, env(safe-area-inset-left));
    padding-right:max(16px, env(safe-area-inset-right));
  }
  .dossier-entry {
    padding:72px max(16px, env(safe-area-inset-left)) 100px max(16px, env(safe-area-inset-right));
  }
  section {
    padding:clamp(52px, 10vw, 70px) max(14px, env(safe-area-inset-left)) clamp(52px, 10vw, 70px) max(14px, env(safe-area-inset-right));
    max-width:100%;
    width:100%;
    box-sizing:border-box;
  }
  .profiles-grid { grid-template-columns:1fr 1fr; }
  .receive-by-profile { grid-template-columns:1fr 1fr; }
  .duality { grid-template-columns:1fr; gap:40px; }
  .duality-sep { display:none; }
  .duality-col { padding:0; }
  .steps-grid { grid-template-columns:1fr; }
  .steps-grid.steps-phases-five { grid-template-columns:1fr; }
  .steps-grid.steps-phases-five .step:last-child {
    grid-column:auto;
    max-width:none;
    justify-self:stretch;
  }
  .offers-grid {
    grid-template-columns:1fr;
    max-width:none;
  }
  .offers-grid .offer:last-child {
    grid-column:auto;
    max-width:none;
    justify-self:stretch;
  }
  .wiz-header { padding:16px 20px; }
  .wiz-body { padding:40px 20px; }
  .profile-options { grid-template-columns:1fr; }
  footer.site-footer .footer-shell { padding-top:36px; padding-bottom:40px; }
  footer.site-footer .footer-aside .footer-chip-row { justify-content: flex-start; }
  footer.site-footer .footer-aside .footer-quick-label { text-align: left; }
}
@media (max-width:480px) {
  .profiles-grid { grid-template-columns:1fr; }
  .receive-by-profile { grid-template-columns:1fr; }
  .offers-grid { grid-template-columns:1fr; }
  .wiz-progress-bar { display:none; }
}

/* Mobile · pleine largeur utile (grilles bord à bord) + encoches */
@media (max-width:639px) {
  #p-landing {
    padding-top:max(64px, env(safe-area-inset-top));
  }
  .dossier-entry {
    width:100%;
    max-width:none;
    padding-top:88px;
    padding-bottom:96px;
    padding-left:max(14px, env(safe-area-inset-left));
    padding-right:max(14px, env(safe-area-inset-right));
  }
  .dossier-lead {
    font-size:clamp(21px, 5.2vw, 28px);
    line-height:1.5;
  }
  .landing-preview-banner {
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    margin-top:-20px;
    border-radius:0;
    border-left:none;
    border-right:none;
    padding:20px max(16px, env(safe-area-inset-left)) 22px max(16px, env(safe-area-inset-right));
  }
  .landing-preview-banner .lpb-text { font-size:15px; line-height:1.78; }
  #p-landing .profiles-grid,
  #p-landing .receive-by-profile,
  #p-landing .offers-grid,
  #p-landing .steps-grid,
  #p-landing .duality {
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    box-sizing:border-box;
  }
  .profile-card,
  .receive-prof,
  .offer,
  .step {
    padding-left:max(18px, env(safe-area-inset-left));
    padding-right:max(18px, env(safe-area-inset-right));
  }
  .sec-label {
    margin-bottom:32px;
    padding-left:2px;
  }
  .faq-item summary.faq-sum { font-size:clamp(16px, 4.2vw, 18px); padding:18px 0; }
  .cta-final {
    padding:88px max(16px, env(safe-area-inset-left)) 96px max(16px, env(safe-area-inset-right));
  }
  .nav-actions {
    gap:6px 8px;
    flex-shrink:1;
    min-width:0;
  }
  .nav-link {
    padding:8px 10px;
    font-size:8px;
    letter-spacing:1.2px;
  }
  .nav-cta {
    padding:8px 14px;
    font-size:9px;
    letter-spacing:1.6px;
  }
  #p-landing .offer-footnote {
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    padding:22px max(18px, env(safe-area-inset-left)) 26px max(18px, env(safe-area-inset-right));
    border-left:none;
    border-right:none;
    border-radius:0;
    box-sizing:border-box;
  }
}
