/* Bonne Sortie — feuille de style unique
   Tokens : /brand/tokens.json · Charte : /brand/BRAND.md */

/* Polices auto-hébergées (licences dans assets/fonts/) — pas d'appel à Google Fonts (RGPD) */
@font-face { font-family: "Permanent Marker"; src: url("fonts/PermanentMarker-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --carton: #EADBC3;
  --kraft: #C79A64;
  --scotch-clair: #D8B888;
  --etiquette: #FBF6EC;
  --marqueur: #1B1A17;
  --encre-douce: #4D4436;
  --ligne: #D9C7A8;
  --scotch: #C23A22;
  --valide: #2F6E4F;
  --blanc: #FFFFFF;

  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;

  --r-chip: 6px;
  --r-btn: 10px;
  --r-card: 10px;
  --r-card-lg: 16px;

  --pose: 0 2px 0 rgba(0, 0, 0, .12); /* seule ombre autorisée */

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--carton);
  color: var(--marqueur);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--marqueur); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible {
  outline: 3px solid var(--marqueur);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .btn--primary:focus-visible { outline-color: var(--marqueur); box-shadow: 0 0 0 3px var(--etiquette); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--marqueur); color: var(--blanc); padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Logo ---------- */
.logo {
  position: relative; display: inline-block; isolation: isolate;
  font-family: var(--font-marker); font-weight: 400; font-size: 26px; line-height: 1;
  color: var(--marqueur); text-decoration: none; padding: 6px 0; white-space: nowrap;
}
.logo::before {
  content: ""; position: absolute; z-index: -1;
  left: -14px; right: -14px; top: 50%; height: 0.78em;
  transform: translateY(-42%) rotate(-2deg);
  background: var(--scotch); opacity: .9;
}
.logo:hover { text-decoration: none; }
.logo--lg { font-size: 34px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: var(--r-btn);
  font: 600 16px/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  border: 2px solid var(--marqueur); transition: transform .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--marqueur); color: var(--etiquette); }
.btn--ghost { background: transparent; color: var(--marqueur); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }

.store-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 18px 10px 14px;
  background: var(--marqueur); color: var(--etiquette); border-radius: var(--r-btn);
  text-decoration: none; border: 2px solid var(--marqueur); transition: transform .12s ease;
}
.store-btn:hover { transform: translateY(-1px); text-decoration: none; }
.store-btn svg { flex: none; width: 24px; height: 24px; }
.store-btn small { display: block; font-size: 12px; font-weight: 500; line-height: 1.2; opacity: .85; }
.store-btn strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }

/* ---------- En-tête ---------- */
.site-header { background: var(--carton); border-bottom: 1px solid var(--ligne); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a { font-weight: 500; font-size: 15px; text-decoration: none; padding: 6px 0; }
.site-nav a:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: transparent; border: 2px solid var(--marqueur); border-radius: var(--r-btn); cursor: pointer; color: var(--marqueur);
}
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--etiquette); border-bottom: 1px solid var(--ligne);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--ligne); }
  .site-nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) {
  .header-actions .btn { padding: 8px 12px; }
  .logo { font-size: 23px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--kraft);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
}
.hero__band {
  position: absolute; top: -40px; bottom: -40px; left: 64%; width: 22%;
  background: var(--scotch-clair); transform: rotate(-2deg);
}
.hero__band::after {
  content: ""; position: absolute; inset: 0;
  border-left: 2px dashed #C9A472; border-right: 2px dashed #C9A472;
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--etiquette); color: var(--marqueur);
  font-size: 13px; line-height: 18px; font-weight: 600;
  padding: 7px 12px 7px 10px; border-radius: var(--r-chip); box-shadow: var(--pose);
  transform: rotate(-1.5deg);
}
.tag svg { width: 16px; height: 16px; }
.hero h1 {
  margin-top: 22px; font-weight: 800;
  font-size: clamp(40px, 6.2vw, 72px); line-height: .98; letter-spacing: -0.03em;
  max-width: 13ch;
}
.hero__sub {
  margin-top: 22px; font-size: 18px; line-height: 26px; font-weight: 500; max-width: 34em;
}
.hero .store-btns { margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: 14px; font-weight: 500; }

/* Téléphone */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; max-width: 100%;
  background: var(--marqueur); border-radius: 44px; padding: 12px;
  box-shadow: 0 2px 0 rgba(0,0,0,.12);
}
.phone__screen {
  position: relative; background: var(--carton); border-radius: 33px; overflow: hidden;
  aspect-ratio: 9 / 19.5; display: flex; flex-direction: column;
}
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 14px; background: var(--marqueur); z-index: 3;
}
.phone__status { height: 44px; flex: none; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 4px 16px 10px; }
.app-bar__back { width: 28px; height: 28px; border-radius: 8px; background: var(--etiquette); display: grid; place-items: center; }
.app-bar__back svg { width: 16px; height: 16px; }
.app-bar__title { font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.app-bar__meta { font-size: 11px; font-weight: 600; color: var(--encre-douce); }
.compare-mini {
  position: relative; flex: none; margin: 0 12px; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--etiquette); --pos: 52%;
}
.compare-mini svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-mini .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-mini__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--marqueur); }
.compare-mini__knob {
  position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  border-radius: 50%; background: var(--etiquette); border: 2px solid var(--marqueur);
}
.compare-mini__lbl {
  position: absolute; bottom: 6px; font-size: 10px; font-weight: 600; line-height: 1;
  background: var(--etiquette); padding: 4px 6px; border-radius: 4px;
}
.compare-mini__lbl--l { left: 6px; }
.compare-mini__lbl--r { right: 6px; }
.hero .compare-mini { animation: sweep 2.4s .5s cubic-bezier(.6,0,.3,1) both; }
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 52%; }
@keyframes sweep { 0% { --pos: 88%; } 55% { --pos: 30%; } 100% { --pos: 52%; } }

.finding { margin: 12px 12px 0; background: var(--etiquette); border-radius: 12px; padding: 12px; }
.finding__title { font-size: 13px; font-weight: 700; line-height: 1.3; }
.finding__meta { font-size: 11px; color: var(--encre-douce); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  font-size: 11px; font-weight: 600; line-height: 1; padding: 7px 8px; border-radius: var(--r-chip);
  border: 1.5px solid var(--ligne); color: var(--marqueur); background: var(--blanc);
}
.chip--on { background: var(--valide); border-color: var(--valide); color: var(--blanc); }
.phone__cta { margin: auto 12px 16px; background: var(--marqueur); color: var(--etiquette); border-radius: 10px; text-align: center; font-size: 13px; font-weight: 600; padding: 12px; }
.phone__next { margin: 10px 12px 0; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--encre-douce); }

.annot {
  font-family: var(--font-marker); font-weight: 400; color: var(--marqueur);
  font-size: 30px; line-height: 1; white-space: nowrap;
}
.phone-stage .annot {
  position: absolute; left: calc(50% + 100px); top: -30px; z-index: 2;
  transform: rotate(-6deg);
}
.phone-stage .annot svg { position: absolute; left: -54px; top: 34px; width: 90px; height: 190px; overflow: visible; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--kraft { background: var(--kraft); }
.section--etiquette { background: var(--etiquette); border-block: 1px solid var(--ligne); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.section-head p { margin-top: 16px; font-size: 18px; line-height: 26px; font-weight: 500; color: var(--encre-douce); }
.section--kraft .section-head p { color: var(--marqueur); }

/* Problème */
.problem { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.problem h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.problem__list { list-style: none; margin: 0; padding: 0; }
.problem__list li { padding: 20px 0; border-top: 2px solid var(--marqueur); display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.problem__list li:last-child { border-bottom: 2px solid var(--marqueur); }
.problem__list strong { font-size: 17px; font-weight: 700; line-height: 1.35; }
.problem__list p { color: var(--encre-douce); }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.label-card {
  position: relative; background: var(--etiquette); border-radius: var(--r-card); box-shadow: var(--pose);
  padding: 40px 26px 28px;
}
.label-card::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px;
  background: var(--scotch-clair); opacity: .95; transform: rotate(-2deg);
  box-shadow: inset 0 0 0 1px rgba(160,120,70,.18);
}
.steps li:nth-child(2) .label-card { transform: rotate(.6deg); }
.steps li:nth-child(3) .label-card { transform: rotate(-.5deg); }
.step__no { font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.step__kind { display: block; margin-top: 6px; font-size: 26px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.step__what { display: block; margin-top: 4px; font-size: 18px; line-height: 1.3; font-weight: 600; }
.label-card p { margin-top: 14px; color: var(--encre-douce); font-size: 15px; line-height: 24px; }
.step__icon { width: 44px; height: 44px; margin-bottom: 16px; }

/* Comparateur */
.compare-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.compare {
  position: relative; border-radius: var(--r-card-lg); overflow: hidden; background: var(--etiquette);
  aspect-ratio: 4 / 3; border: 2px solid var(--marqueur); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  --pos: 50%; cursor: ew-resize;
}
.compare svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--marqueur); pointer-events: none; }
.compare__handle {
  position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--etiquette); border: 3px solid var(--marqueur);
  display: grid; place-items: center; cursor: ew-resize; color: var(--marqueur); padding: 0;
}
.compare__handle svg { position: static; width: 26px; height: 26px; }
.compare__handle:focus-visible { outline: 3px solid var(--marqueur); outline-offset: 3px; box-shadow: 0 0 0 3px var(--etiquette); }
.compare__lbl {
  position: absolute; top: 12px; z-index: 2; pointer-events: none;
  background: var(--etiquette); color: var(--marqueur); border: 1.5px solid var(--marqueur);
  font-size: 13px; font-weight: 600; line-height: 18px; padding: 4px 10px; border-radius: var(--r-chip);
}
.compare__lbl--l { left: 12px; }
.compare__lbl--r { right: 12px; }
.compare-help { margin-top: 12px; font-size: 14px; color: var(--encre-douce); }
.verdicts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.verdicts li { background: var(--etiquette); border: 1px solid var(--ligne); border-radius: var(--r-card); padding: 16px 18px; }
.verdicts .row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.verdicts strong { font-weight: 700; }
.verdicts p { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.badge { display: inline-block; font-size: 13px; line-height: 18px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-chip); white-space: nowrap; }
.badge--ok { background: var(--valide); color: var(--blanc); }
.badge--neutral { background: var(--carton); color: var(--marqueur); border: 1px solid var(--ligne); }
.badge--alert { background: var(--scotch); color: var(--blanc); }
.badge--soon { background: var(--carton); color: var(--encre-douce); border: 1px dashed var(--encre-douce); }

/* Exemple chiffré */
.example {
  position: relative; background: var(--etiquette); border-radius: var(--r-card-lg); box-shadow: var(--pose);
  padding: clamp(28px, 4vw, 48px); max-width: 920px; margin: 0 auto;
}
.example::before {
  content: ""; position: absolute; top: -14px; left: 40px; width: 150px; height: 30px;
  background: var(--scotch); opacity: .9; transform: rotate(-2deg);
}
.example__context { font-size: 14px; font-weight: 600; color: var(--encre-douce); }
.example h2 { margin-top: 10px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; }
.amount { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; }
.ledger caption { text-align: left; font-size: 13px; font-weight: 600; color: var(--encre-douce); padding-bottom: 8px; }
.ledger th, .ledger td { text-align: left; padding: 14px 12px 14px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.ledger thead th { font-size: 13px; font-weight: 600; color: var(--encre-douce); border-top: 0; padding-top: 0; }
.ledger td.num, .ledger th.num { text-align: right; padding-right: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger .why { display: block; font-size: 14px; color: var(--encre-douce); margin-top: 2px; }
.ledger tfoot td { border-top: 2px solid var(--marqueur); font-weight: 700; }
.example__sum { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; margin-top: 24px; }
.example__sum .annot { color: var(--scotch); font-size: 28px; transform: rotate(-3deg); }
.example__claim { font-size: 15px; color: var(--encre-douce); }
.example__claim strong { color: var(--marqueur); }
.legal-note { margin-top: 20px; font-size: 13px; line-height: 18px; color: var(--encre-douce); }

/* Tarif */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); max-width: 980px; }
.plan { position: relative; background: var(--etiquette); border: 2px solid var(--ligne); border-radius: var(--r-card-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.plan--pack { border-color: var(--marqueur); }
.plan--pack::before {
  content: ""; position: absolute; top: -13px; right: 36px; width: 120px; height: 26px;
  background: var(--scotch-clair); transform: rotate(-2deg);
}
.plan h3 { font-size: 22px; font-weight: 700; }
.plan__price { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__price .amount { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.plan__price span:not(.amount) { font-size: 15px; font-weight: 500; color: var(--encre-douce); }
.plan__lead { margin-top: 12px; color: var(--encre-douce); }
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 5px;
  border: 2px solid var(--marqueur);
}
.checklist li.yes::after {
  content: ""; position: absolute; left: 6px; top: 4px; width: 7px; height: 12px;
  border: solid var(--valide); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.checklist li.no { color: var(--encre-douce); }
.checklist li.no::before { border-color: var(--ligne); }
.checklist li.no::after {
  content: ""; position: absolute; left: 5px; top: 10px; width: 12px; height: 2px; background: var(--encre-douce);
}
.plan .btn { margin-top: auto; }
.plan__foot { margin-top: 28px; }
.plan__fine { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.addon { margin-top: 24px; max-width: 980px; display: flex; gap: 12px 16px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border: 1px dashed var(--encre-douce); border-radius: var(--r-card); }
.addon p { color: var(--encre-douce); font-size: 15px; }

/* Droits */
.rights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--marqueur); }
.right { padding: 28px 28px 28px 0; }
.right + .right { padding-left: 28px; border-left: 1px solid var(--ligne); }
.right .right__big { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.right h3 { margin-top: 10px; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.right p { margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--encre-douce); }
.rights-foot { margin-top: 28px; padding: 20px 22px; background: var(--etiquette); border-radius: var(--r-card); border: 1px solid var(--ligne); display: grid; gap: 10px; }
.rights-foot p { font-size: 15px; line-height: 24px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--marqueur); }
.faq details:last-of-type { border-bottom: 1px solid var(--marqueur); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-right: 4px;
  border: solid var(--marqueur); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-3px);
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, 0); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq .answer { padding: 0 0 24px; color: var(--encre-douce); display: grid; gap: 12px; max-width: 68ch; }

/* Liste d'attente */
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.waitlist h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.waitlist__lead { margin-top: 16px; font-size: 18px; line-height: 26px; font-weight: 500; }
.form-card { position: relative; background: var(--etiquette); border-radius: var(--r-card-lg); box-shadow: var(--pose); padding: 32px 28px 28px; }
.form-card::before {
  content: ""; position: absolute; top: -12px; left: 28px; width: 110px; height: 26px; background: var(--scotch-clair); transform: rotate(-2deg);
}
.field label { display: block; font-size: 13px; line-height: 18px; font-weight: 600; margin-bottom: 8px; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }
.field input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 12px 14px; font: 400 16px/1.3 var(--font-sans);
  color: var(--marqueur); background: var(--blanc); border: 2px solid var(--marqueur); border-radius: var(--r-btn);
}
.field input::placeholder { color: #6b6152; }
.field input:focus-visible { outline: 3px solid var(--marqueur); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--scotch); }
.form-card .btn { min-height: 52px; }
.form-error { margin-top: 10px; color: var(--scotch); font-size: 14px; font-weight: 600; }
.form-hint { margin-top: 14px; font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.form-thanks { display: grid; gap: 8px; }
.form-thanks h3 { font-size: 22px; font-weight: 800; color: var(--valide); }
.form-thanks .annot { font-size: 24px; color: var(--marqueur); transform: rotate(-2deg); justify-self: start; margin-top: 4px; }

/* Pied de page */
.site-footer { background: var(--marqueur); color: var(--etiquette); padding: 56px 0 40px; }
.site-footer a { color: var(--etiquette); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--etiquette); }
.footer-tagline { margin-top: 16px; max-width: 32ch; color: var(--carton); font-size: 15px; }
.footer-title { font-size: 13px; font-weight: 600; color: var(--scotch-clair); margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #3a372f; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--ligne); }
.site-footer :focus-visible { outline-color: var(--etiquette); }

/* ---------- Pages légales ---------- */
.draft-banner { background: var(--scotch); color: var(--blanc); }
.draft-banner .wrap { padding-top: 12px; padding-bottom: 12px; font-weight: 600; font-size: 15px; }
.legal { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.legal .updated { margin-top: 12px; color: var(--encre-douce); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.legal p, .legal ul, .legal ol, .legal table { margin-top: 14px; font-size: 16px; line-height: 26px; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.legal th, .legal td { text-align: left; padding: 10px 10px 10px 0; border-top: 1px solid var(--ligne); vertical-align: top; }
.legal th { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.ph { background: var(--etiquette); border: 1px dashed var(--scotch); color: var(--marqueur); padding: 0 4px; border-radius: 4px; font-weight: 600; overflow-wrap: anywhere; }
.legal .box { margin-top: 20px; padding: 18px 20px; background: var(--etiquette); border: 1px solid var(--ligne); border-radius: var(--r-card); }

/* 404 */
.notfound { background: var(--kraft); padding: clamp(64px, 10vw, 140px) 0; min-height: 60vh; }
.notfound .label-card { max-width: 560px; padding: 44px 32px 32px; }
.notfound h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.notfound p { margin-top: 14px; color: var(--encre-douce); font-size: 17px; }
.notfound .annot { display: inline-block; color: var(--scotch); font-size: 28px; transform: rotate(-4deg); margin-bottom: 8px; }
.notfound .btn { margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__band { left: 58%; width: 34%; }
  .phone-stage { margin-top: 8px; }
  .compare-layout { grid-template-columns: 1fr; }
  .rights { grid-template-columns: 1fr; }
  .right, .right + .right { padding: 24px 0; border-left: 0; }
  .right + .right { border-top: 1px solid var(--ligne); }
}
@media (max-width: 860px) {
  .problem { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 520px; gap: 36px; }
  .pricing { grid-template-columns: 1fr; }
  .waitlist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .problem__list li { grid-template-columns: 1fr; gap: 6px; }
  .phone-stage .annot { left: 0; top: auto; bottom: 30%; font-size: 22px; transform: rotate(-8deg); }
  .phone-stage .annot svg { display: none; }
  .phone { width: 252px; }
  .phone .finding--mini, .phone__next { display: none; }
  .app-bar__title { font-size: 14px; }
  .phone-stage { justify-content: flex-end; padding-right: 4px; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tfoot, .ledger tr, .ledger td, .ledger th { display: block; }
  .ledger tr { border-top: 1px solid var(--ligne); padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .ledger td, .ledger th { border: 0; padding: 0; }
  .ledger th[scope="row"], .ledger tfoot td:first-child { grid-column: 1; grid-row: 1; }
  .ledger td.num { grid-column: 2; grid-row: 1; }
  .ledger td.verdict { grid-column: 1 / -1; grid-row: 2; }
  .ledger tfoot td { border: 0; }
  .ledger tfoot td.verdict { display: none; }
  .ledger tfoot tr { border-top: 2px solid var(--marqueur); }
  .compare__lbl { font-size: 12px; padding: 3px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .store-btn { flex: 1 1 100%; }
}

.finding--mini { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; }
.finding--mini .finding__title { font-size: 12px; }
.finding--mini .badge { font-size: 10px; line-height: 14px; padding: 2px 6px; }

/* =====================================================================
   Animations (assets/anim.js) — actives seulement avec la classe .motion
   ===================================================================== */

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* En-tête collant */
.site-header { position: sticky; top: 0; transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
.site-header.is-stuck { background: rgba(234, 219, 195, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--pose); border-bottom-color: transparent; }

/* Rien ne clignote avant que les états de départ soient posés */
.is-loading .hero .wrap { visibility: hidden; animation: bs-show 0s 4s forwards; }
@keyframes bs-show { to { visibility: visible; } }
.motion .hero .compare-mini { animation: none; }

/* Ouverture : le carton */
.intro { display: none; }
.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 200; cursor: pointer;
  animation: bs-intro-failsafe 0s 7s forwards;
}
@keyframes bs-intro-failsafe { to { visibility: hidden; pointer-events: none; } }
.has-intro, .has-intro body { overflow: hidden; }
.intro__flap { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--kraft); overflow: hidden; will-change: transform; }
.intro__flap--top { top: 0; }
.intro__flap--bottom { bottom: 0; background: #C3955E; }
.intro__tape { position: absolute; left: 0; right: 0; height: clamp(30px, 5vh, 46px); background: var(--scotch-clair); }
.intro__tape--top { bottom: 0; border-top: 2px dashed #C9A472; }
.intro__tape--bottom { top: 0; border-bottom: 2px dashed #C9A472; }
.intro__mark {
  position: absolute; left: clamp(20px, 5vw, 64px); top: clamp(24px, 6vh, 64px);
  font-family: var(--font-marker); font-size: clamp(18px, 2.2vw, 28px); color: var(--marqueur); opacity: .75;
  transform: rotate(-4deg); white-space: nowrap;
}
.intro__cut {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: var(--marqueur); transform: scaleX(0); transform-origin: 0 50%;
}
.intro__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.intro__logo { position: relative; display: inline-block; padding: 0 8px; font-size: clamp(42px, 8.5vw, 104px); }
.intro__redtape {
  position: absolute; left: -.22em; right: -.22em; top: 50%; height: .62em;
  transform: translateY(-42%) rotate(-2deg); background: var(--scotch); opacity: .92;
}
.intro__word { position: relative; display: inline-block; font-family: var(--font-marker); font-size: 1em; line-height: 1; color: var(--marqueur); white-space: nowrap; }
.intro__tag {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  width: min(88vw, 560px); margin-top: clamp(40px, 7vh, 64px);
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; line-height: 1.35; color: var(--marqueur);
}

/* Barre de progression */
.progress { display: none; }
.motion .progress {
  display: block; position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 60;
  background: var(--scotch); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}

/* Bande de scotch défilante */
.tape-marquee {
  position: relative; z-index: 4; margin: -30px -3vw 0; padding: 15px 0;
  background: var(--scotch); color: var(--blanc); overflow: hidden;
  transform: rotate(-1.6deg); box-shadow: var(--pose);
}
.tape-marquee__track { display: flex; width: max-content; will-change: transform; }
.tape-marquee__group { display: flex; flex: none; }
.tape-marquee__item {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-weight: 800; font-size: clamp(14px, 1.5vw, 18px); line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.tape-marquee__item svg { width: 18px; height: 18px; flex: none; }

/* Scotch qui se colle (variable animée par GSAP) */
.label-card::before, .example::before, .plan--pack::before, .form-card::before {
  transform: rotate(-2deg) scaleX(var(--tape, 1)); transform-origin: 0 50%;
}

/* Boutons aimantés : GSAP gère le mouvement */
.is-magnetic { transition: none !important; will-change: transform; }

/* FAQ animée */
.faq .answer { overflow: hidden; }

/* Grand logo du pied de page */
.footer-giant {
  position: relative; margin: 64px 0 0; text-align: center; line-height: .9;
  font-family: var(--font-marker); font-size: clamp(48px, 11.5vw, 150px); color: var(--kraft);
  white-space: nowrap; user-select: none;
}
.footer-giant__word { position: relative; display: inline-block; z-index: 1; }
.footer-giant::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: min(100%, 7.6em); height: .5em;
  transform: translate(-50%, -45%) rotate(-2deg) scaleX(var(--tape, 1)); transform-origin: 0 50%;
  background: var(--scotch); opacity: .9;
}
.footer-giant + .footer-bottom { margin-top: 40px; }

@media (max-width: 600px) {
  .tape-marquee { margin-top: -22px; padding: 12px 0; }
  .intro__mark { font-size: 17px; }
}
main { overflow-x: clip; }

/* ---------- Vérifier une photo ---------- */
.verify .wrap { max-width: 760px; }
.verify__annot { color: var(--scotch); font-size: 26px; transform: rotate(-3deg); display: inline-block; margin-bottom: 6px; }
.verify__lead { font-size: 18px; line-height: 28px; font-weight: 500; }
.dropzone { margin-top: 28px; }
.dropzone__label {
  display: grid; justify-items: center; gap: 6px; padding: 40px 24px; cursor: pointer; text-align: center;
  background: var(--etiquette); border: 2px dashed var(--marqueur); border-radius: var(--r-card-lg);
  transition: background-color .2s ease, transform .2s ease;
}
.dropzone__label svg { width: 48px; height: 48px; margin-bottom: 4px; }
.dropzone__label strong { font-size: 18px; }
.dropzone__label span { color: var(--encre-douce); font-size: 15px; }
.dropzone__label:hover, .dropzone.is-over .dropzone__label { background: var(--blanc); transform: rotate(-.4deg); }
#photo:focus-visible + .dropzone__label { outline: 3px solid var(--marqueur); outline-offset: 3px; }
.hash-form { margin-top: 20px; }
.hash-form label { display: block; font-size: 13px; line-height: 18px; font-weight: 600; margin-bottom: 8px; }
.hash-form input {
  flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 12px 14px; font: 500 15px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--marqueur); background: var(--blanc); border: 2px solid var(--marqueur); border-radius: var(--r-btn);
}
.verify__result { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-card-lg); background: var(--etiquette); border: 2px solid var(--ligne); }
.verify__result h2 { margin-top: 0; font-size: 22px; line-height: 1.25; }
.verify__result p + p, .verify__result h2 + p { margin-top: 10px; }
.verify__result code { font: 500 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; background: var(--carton); padding: 1px 5px; border-radius: 4px; }
.verify__result--ok { border-color: var(--valide); }
.verify__result--ko { border-color: var(--scotch); }
.verify__result .annot { color: var(--valide); font-size: 24px; transform: rotate(-3deg); display: inline-block; margin-bottom: 4px; }
.verify__sig { font-size: 15px; color: var(--encre-douce); }
.verify__sig--ok { color: var(--valide); font-weight: 600; }
.verify__sig--ko { color: var(--scotch); font-weight: 600; }

/* Formulaires : Turnstile, désinscription */
.turnstile:not(:empty) { margin-top: 12px; }
.unsub-form { margin-top: 20px; }
.unsub-done { margin-top: 20px; font-size: 17px; }
.unsub-done strong { color: var(--valide); }
