/*
 * site.css — site public, pages secteur, légal, connexion/inscription.
 * S'appuie sur base.css (jetons, boutons, champs). Polices : toujours var(--f-display) / var(--f-body).
 *
 * THÈSE : le site est une carte fidélité qu'on tamponne — on montre la carte dans le Wallet, la plaque
 *   au comptoir et le reçu du calcul, au lieu d'empiler des cartes « icône + titre ».
 * MONDE (charte tonhabitué v1) : Encre qui occupe des régions entières (en-tête, héros, Québec, appel final,
 *   pied de page), Crème ailleurs ; le Corail reste rare (10 %) : action principale, « ton » du logo et tampons.
 *   Tampon = l'accent du « é » (barre inclinée Corail ; à venir = contour). Jamais de Corail en texte sur Crème :
 *   utiliser --brand. Tarifs = cartes perforées ; calculateur = reçu de caisse.
 * PREMIER ÉCRAN : promesse en très grand, sous-titre, bouton Corail ; le téléphone (carte Wallet + tampon
 *   qui tombe + notification) émerge du bas du héros.
 */
:root {
  /* Régions sombres : Encre ; texte Crème et deux gris chauds (tous ≥ 7 : 1 sur Encre) */
  --dark: #141414; --dark-2: #1E1E1E; --dark-deep: #0E0E0E;
  --on-dark: #FAF7F2; --on-dark-2: #D6CFC4; --on-dark-3: #A8A095; --on-dark-line: rgba(250, 247, 242, .16);
  --t-hero: clamp(2.65rem, 8.6vw + .6rem, 5.9rem);
  --t-h2: clamp(1.85rem, 3.4vw + .9rem, 3.2rem);
  --sect: clamp(64px, 9vw, 120px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
body.site { font-size: 1.0625rem; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--coral); color: var(--on-coral); padding: 10px 14px; border-radius: var(--r-md); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
main { overflow-x: clip; } /* coupe les encoches et tampons qui débordent, sans créer de conteneur de défilement */

/* Boutons propres au site */
.btn-coral { background: var(--coral); color: var(--on-coral); }
.btn-coral:hover { background: var(--coral-strong); }
.btn-line { background: transparent; color: var(--on-dark); border-color: rgba(250, 247, 242, .45); }
.btn-line:hover { background: rgba(250, 247, 242, .1); }
.btn-xl { min-height: 56px; padding: 15px 26px; font-size: 1.125rem; border-radius: 12px; }
.section-ink :focus-visible, .site-header :focus-visible, .hero :focus-visible { box-shadow: 0 0 0 3px var(--accent); }

/* En-tête */
.site-header { background: var(--dark); color: var(--on-dark); position: relative; z-index: 40; }
.bar { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; }
.logo { display: inline-flex; align-items: center; color: inherit; text-decoration: none; line-height: 0; padding-block: 6px; }
.logo .logo-svg { height: 26px; width: auto; flex: none; } /* ≈ 145 px de large : au-dessus du minimum de 96 px */
.nav { display: none; align-items: center; gap: 2px; margin-left: var(--s-5); }
.nav > a, .nav summary { color: var(--on-dark-2); text-decoration: none; padding: 10px 12px; border-radius: var(--r-md); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.nav > a:hover, .nav summary:hover, .nav a[aria-current="page"] { color: var(--on-dark); background: rgba(250, 247, 242, .08); }
.nav details { position: relative; }
.nav summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav .drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 6px; display: grid; }
.nav .drop a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--r-md); font-weight: 600; }
.nav .drop a:hover { background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.nav-login { color: var(--on-dark); font-weight: 600; text-decoration: none; padding: 10px 8px; display: none; }
.nav-login:hover { text-decoration: underline; }
.header-cta { min-height: 44px; padding: 9px 14px; font-size: .9375rem; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(250, 247, 242, .3); border-radius: var(--r-md); background: transparent; color: var(--on-dark); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-nav { border-top: 1px solid var(--on-dark-line); padding: var(--s-2) 0 var(--s-5); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-nav a { display: block; padding: 13px 0; color: var(--on-dark); text-decoration: none; font: 700 1.25rem var(--f-display); border-bottom: 1px solid var(--on-dark-line); }
.mobile-nav .sub { font: 600 .8125rem var(--f-body); color: var(--on-dark-3); margin: var(--s-4) 0 0; }
.header-min .bar { justify-content: space-between; }
.header-min .bar a.alt { color: var(--on-dark-2); font-size: .9375rem; }
.header-min .bar a.alt strong { color: var(--on-dark); }
@media (min-width: 560px) { .nav-login { display: inline-block; } }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn, .mobile-nav { display: none !important; } }

/* Sections */
.section { padding-block: var(--sect); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-tight + .section { padding-top: clamp(24px, 3vw, 40px); }
.section-white { background: var(--surface); }
.section-ink { background: var(--dark); color: var(--on-dark); }
.section-ink a:not(.btn) { color: var(--on-dark); }
.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.h3 { font-size: clamp(1.45rem, 1.6vw + 1rem, 2rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.lead { font-size: clamp(1.0625rem, .5vw + 1rem, 1.25rem); color: var(--ink-2); max-width: 58ch; margin-top: var(--s-4); }
.section-ink .lead { color: var(--on-dark-2); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .875rem; color: var(--accent-ink); margin-bottom: var(--s-3); }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 1px; background: currentColor; transform: skewX(var(--stamp-skew)); }
.section-ink .kicker, .hero .kicker { color: var(--accent); }
.prose-measure { max-width: 66ch; }
.tag-example { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--on-dark-3); }

/* Héros */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; position: relative; }
.hero-grid { display: grid; gap: var(--s-6); padding-top: clamp(28px, 6vw, 72px); }
.hero h1 { font-size: var(--t-hero); line-height: .94; letter-spacing: -.04em; font-weight: 800; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--on-dark-2); font-size: clamp(1.0625rem, .7vw + .95rem, 1.3rem); max-width: 36ch; margin-top: var(--s-5); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
.reassure { list-style: none; padding: 0; margin: var(--s-4) 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--on-dark-2); font-size: .9375rem; }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure li::before { content: ""; width: 8px; height: 9px; border-radius: 1px; background: var(--coral); transform: skewX(var(--stamp-skew)); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: -150px; }
.hero-ring { position: absolute; width: 360px; height: 360px; right: -60px; top: 60px; border-radius: 8px; border: 2px solid rgba(255, 107, 74, .2); transform: skewX(var(--stamp-skew)); pointer-events: none; } /* tampon « à venir » géant */
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: start; gap: var(--s-7); padding-top: 88px; }
  .hero-copy { padding-bottom: 120px; }
  .hero-visual { margin-bottom: -120px; padding-top: 8px; }
}

/* Téléphone + carte Wallet (maquette HTML/CSS) */
.phone { position: relative; width: min(290px, 78vw); aspect-ratio: 290 / 596; background: #0A0A0A; border-radius: 48px; padding: 10px; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .6), inset 0 0 0 1.5px #3A3631; flex: none; }
.phone::before { content: ""; position: absolute; top: 21px; left: 50%; width: 82px; height: 24px; margin-left: -41px; background: #000; border-radius: 20px; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 39px; overflow: hidden; background: #EFEAE2; padding: 58px 11px 12px; display: flex; flex-direction: column; gap: 10px; font-family: var(--f-body); color: var(--ink); }
.statusbar { position: absolute; top: 19px; left: 30px; right: 26px; display: flex; justify-content: space-between; font: 700 12.5px/1 var(--f-body); }
.statusbar i { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.statusbar i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.notif { display: flex; gap: 9px; align-items: flex-start; background: rgba(255, 255, 255, .94); border-radius: 17px; padding: 9px 11px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); font-size: 11.5px; line-height: 1.3; }
.notif b { display: flex; justify-content: space-between; font-size: 11.5px; }
.notif b span { font-weight: 400; color: var(--muted); }
.notif-icon { width: 28px; height: 28px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--pass-bg, #141414); color: var(--coral); font: 800 10px var(--f-display); }
.pass { --pass-bg: #141414; --pass-fg: #FAF7F2; --pass-label: #CFC8BD; background: var(--pass-bg); color: var(--pass-fg); border-radius: 14px; padding: 13px 13px 14px; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 11px; }
.pass-top { display: flex; align-items: center; gap: 8px; }
.pass-logo { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font: 800 11px var(--f-display); flex: none; }
.pass-name { font: 700 14px/1.1 var(--f-display); }
.pass-head { margin-left: auto; text-align: right; }
.pl { display: block; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--pass-label); font-weight: 700; }
.pv { display: block; font: 700 15px/1.15 var(--f-display); }
.pass-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 11px; background: rgba(0, 0, 0, .2); border-radius: 9px; }
/* Tampon = accent du « é » : barre inclinée pleine (Corail) ; à venir = contour */
.ps { width: 62%; aspect-ratio: 1; justify-self: center; border-radius: 2px; border: 1.5px solid rgba(255, 255, 255, .42); transform: skewX(var(--stamp-skew)); }
.ps.on { border-color: var(--coral); background: var(--coral); }
.pass-fields { display: flex; justify-content: space-between; gap: 8px; }
.pass-fields div:last-child { text-align: right; }
.pass-qr { align-self: center; background: #fff; padding: 7px; border-radius: 8px; width: 92px; }
.pass-qr svg { width: 100%; height: auto; }
.hero .ps.is-new { animation: stamp-land .6s var(--ease-out) .9s both; }
.hero .notif { animation: notif-in .7s var(--ease-out) 1.7s both; }
@keyframes stamp-land { 0% { opacity: 0; transform: scale(2.1) skewX(var(--stamp-skew)); } 60% { opacity: 1; transform: scale(.9) skewX(var(--stamp-skew)); } 100% { transform: scale(1) skewX(var(--stamp-skew)); } }
@keyframes notif-in { from { opacity: 0; transform: translateY(-140%); } to { opacity: 1; transform: none; } }

/* Bandeau pilotes */
.pilot { display: grid; gap: var(--s-4); align-items: center; border: 2px solid var(--coral); background: var(--accent-soft); border-radius: var(--r-lg); padding: var(--s-5); }
.pilot h2 { font-size: 1.375rem; letter-spacing: -.015em; }
.pilot p { color: var(--ink-2); margin-top: 4px; }
.pilot .seal { width: 92px; height: 92px; color: var(--brand); }
@media (min-width: 760px) { .pilot { grid-template-columns: auto 1fr auto; padding: var(--s-5) var(--s-6); } }

/* Sceau (tampon encreur SVG) */
.seal { display: block; color: var(--coral); } /* sur Encre ; sur Crème, le sceau (qui contient du texte) passe en --brand */
.seal text { font-family: var(--f-display); font-weight: 800; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); counter-reset: s; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: var(--s-4); align-items: start; }
.step-num { width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font: 800 1.5rem var(--f-display); background: var(--surface); }
.step h3 { font-size: 1.3rem; letter-spacing: -.015em; }
.step p { color: var(--ink-2); margin-top: 6px; max-width: 42ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); position: relative; }
  .steps::before { content: ""; position: absolute; top: 28px; left: 56px; right: 18%; border-top: 2.5px dashed var(--line-strong); }
  .step { grid-template-columns: 1fr; position: relative; }
}

/* Piliers (rangées alternées : texte + démonstration) */
.pillars { display: grid; gap: clamp(64px, 9vw, 120px); }
.pillar { display: grid; gap: var(--s-6); align-items: center; }
.pillar p.body { color: var(--ink-2); margin-top: var(--s-4); max-width: 52ch; }
.facts { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 30px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 11px; height: 12px; border-radius: 1px; background: var(--coral); transform: skewX(var(--stamp-skew)); }
.facts .plan-note { color: var(--muted); font-size: .875rem; }
.demo { position: relative; display: flex; justify-content: center; }
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .pillar:nth-child(even) .demo { order: -1; }
}

/* Plaque NFC (SVG) */
.plaque-svg { width: min(320px, 82vw); height: auto; }
.plaque-svg text { font-family: var(--f-display); }
.plaque-svg .t-body { font-family: var(--f-body); }

/* Pile de cartes, comme dans l'app Wallet */
.fan { display: grid; width: min(300px, 84vw); }
.fan .pass { grid-area: 1 / 1; align-self: start; position: relative; z-index: 0; } /* contexte par carte : les tampons pivotés ne passent pas devant la carte suivante */
.fan .pass:nth-child(2) { margin-top: 62px; }
.fan .pass:nth-child(3) { margin-top: 124px; }

/* Fil des relances */
.thread { list-style: none; margin: 0; padding: 0; width: min(380px, 100%); display: grid; gap: var(--s-4); position: relative; }
.thread::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; border-left: 2px dashed var(--line-strong); }
.thread li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; position: relative; }
.thread .dot { width: 17px; height: 22px; margin: 3px 0 0 5px; border-radius: 2px; background: var(--surface); border: 2px solid var(--ink); transform: skewX(var(--stamp-skew)); }
.thread .dot.on { background: var(--coral); border-color: var(--coral); }
.thread .when { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.thread .what { font-weight: 600; }
.bubble { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 10px 14px; box-shadow: var(--shadow-1); font-size: .9375rem; }
.bubble small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 2px; }

/* Rapport (exemple tamponné) */
.report { position: relative; width: min(400px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: var(--s-5); }
.report-from { font-size: .8125rem; color: var(--muted); }
.report h4 { font-size: 1.35rem; margin-top: 6px; letter-spacing: -.015em; }
.report h4 strong { color: var(--brand); }
.report dl { margin: var(--s-4) 0 0; display: grid; }
.report dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.report dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bars { margin-top: var(--s-3); display: grid; gap: 8px; font-size: .8125rem; }
.bars div { display: grid; grid-template-columns: 112px 1fr 40px; align-items: center; gap: 8px; }
.bars span.b { height: 12px; border-radius: 6px; background: var(--brand); }
.bars span.b.c { background: var(--line-strong); }
.report .seal { position: absolute; width: 118px; height: 118px; right: -14px; top: -44px; color: var(--brand); opacity: .9; pointer-events: none; }
.report h4 { padding-right: 64px; }

/* Calculateur — reçu */
.roi { display: grid; gap: var(--s-6); align-items: start; }
.roi-inputs { display: grid; gap: var(--s-5); }
.roi-inputs .label { font-size: 1rem; color: var(--ink); }
.stepper { display: grid; grid-template-columns: 52px 1fr 52px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); overflow: hidden; max-width: 320px; }
.stepper button { border: 0; background: var(--surface-2); font: 700 1.5rem/1 var(--f-display); color: var(--ink); cursor: pointer; min-height: 52px; }
.stepper button:hover { background: var(--brand-soft); }
.stepper input { border: 0; text-align: center; font: 800 1.5rem var(--f-display); color: var(--ink); width: 100%; min-width: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.roi-hyp { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.roi-hyp summary { cursor: pointer; font-weight: 700; color: var(--brand); min-height: 44px; display: flex; align-items: center; }
.hyp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-3); margin-top: var(--s-3); }
.hyp-grid .input { font-variant-numeric: tabular-nums; }
.receipt { --notch: 10px; background: #FFFFFF; color: var(--ink); padding: var(--s-5) var(--s-5) calc(var(--s-5) + var(--notch)); border-radius: 4px 4px 0 0; box-shadow: var(--shadow-2); font-variant-numeric: tabular-nums; position: relative;
  -webkit-mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) 0 0 / 20px 100% repeat-x; mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) 0 0 / 20px 100% repeat-x; }
.receipt-title { font: 800 1.125rem var(--f-display); text-align: center; padding-bottom: var(--s-3); border-bottom: 2px dashed var(--line-strong); }
.receipt dl { margin: var(--s-3) 0 0; display: grid; gap: 2px; }
.receipt dl div { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.receipt dt { flex: 1; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.receipt dt::after { content: ""; flex: 1; border-bottom: 2px dotted var(--line-strong); min-width: 12px; }
.receipt dt small { display: block; color: var(--muted); font-size: .8125rem; }
.receipt dd { margin: 0; font-weight: 700; white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 2px dashed var(--line-strong); margin-top: var(--s-3); padding-top: var(--s-4); }
.receipt-total span { font-weight: 700; }
.receipt-total strong { font: 800 clamp(1.9rem, 4vw, 2.4rem)/1 var(--f-display); color: var(--brand); letter-spacing: -.02em; }
.receipt-compare { display: flex; justify-content: space-between; color: var(--muted); padding-top: 6px; }
.receipt-verdict { margin-top: var(--s-4); background: var(--brand-soft); color: var(--brand-strong); border-radius: var(--r-md); padding: 12px 14px; font-weight: 700; }
.receipt-verdict.is-low { background: var(--accent-soft); color: var(--accent-ink); }
.receipt-note { margin-top: var(--s-3); font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) { .roi { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

/* Comparatif honnête */
.compare { display: grid; gap: var(--s-3); }
.cmp-row { display: grid; gap: var(--s-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); }
.cmp-row h3 { font-size: 1.2rem; }
.cmp-row h3 small { display: block; font: 600 .8125rem var(--f-body); color: var(--muted); margin-top: 3px; letter-spacing: 0; }
.cmp-row .lbl { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cmp-row p { font-size: .9688rem; }
.cmp-row.us { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.cmp-row.us .lbl, .cmp-row.us h3 small { color: var(--on-dark-3); }
.cmp-head { display: none; }
.footnote { font-size: .8125rem; color: var(--muted); margin-top: var(--s-4); max-width: 80ch; }
@media (min-width: 900px) {
  .cmp-head, .cmp-row { grid-template-columns: 1.1fr 1.3fr 1.6fr 1fr; gap: var(--s-5); align-items: start; }
  .cmp-head { display: grid; padding: 0 var(--s-5); font-size: .8125rem; font-weight: 700; color: var(--muted); }
  .cmp-row .lbl { display: none; }
}

/* Québec */
.qc { display: grid; gap: var(--s-6); align-items: center; }
.qc .seal { width: clamp(170px, 30vw, 260px); height: auto; margin-inline: auto; }
.laws { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.laws li { border-top: 1px solid var(--on-dark-line); padding-top: var(--s-4); }
.laws h3 { font-size: 1.2rem; color: var(--on-dark); }
.laws p { color: var(--on-dark-2); margin-top: 6px; font-size: .9688rem; }
@media (min-width: 900px) { .qc { grid-template-columns: 1fr 2fr; gap: var(--s-8); } .laws { grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); } }

/* Tarifs — cartes perforées */
.plans { display: grid; gap: var(--s-5); align-items: start; }
.plan { --cut: var(--paper); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; }
.section-white .plan { --cut: var(--surface); background: var(--paper); }
.plan-top { padding: var(--s-5) var(--s-5) var(--s-4); }
.plan h3 { font-size: 1.375rem; }
.plan .for { color: var(--muted); font-size: .9375rem; margin-top: 4px; min-height: 2.9em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: var(--s-4); }
.price strong { font: 800 3.25rem/1 var(--f-display); letter-spacing: -.04em; }
.price span { color: var(--muted); font-weight: 600; }
.plan-cta { margin-top: var(--s-4); }
.perf { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 18px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--cut); border: 1px solid var(--line); }
.perf::before { left: -31px; clip-path: inset(0 0 0 50%); }
.perf::after { right: -31px; clip-path: inset(0 50% 0 0); }
.plan ul { list-style: none; margin: 0; padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: 9px; font-size: .9688rem; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border: solid var(--brand); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { width: 10px; height: 0; top: 12px; border-width: 0 0 2px 0; border-color: var(--line-strong); transform: none; }
.plan.featured { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.plan.featured .for, .plan.featured .price span { color: var(--on-dark-2); }
.plan.featured .perf { border-top-color: rgba(250, 247, 242, .3); }
.plan.featured li::before { border-color: var(--coral); }
.plan.featured li.no { color: var(--on-dark-3); }
.plan-badge { position: absolute; top: -14px; right: 18px; background: var(--coral); color: var(--on-coral); font: 800 .8125rem var(--f-display); padding: 6px 12px; border-radius: var(--r-pill); transform: rotate(3deg); }
.plans-note { margin-top: var(--s-5); color: var(--muted); font-size: .9375rem; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } .plan.featured { transform: translateY(-12px); } }
.founder { margin-top: var(--s-6); display: grid; gap: var(--s-4); align-items: center; background: var(--surface); border: 2px solid var(--coral); border-radius: 18px; padding: var(--s-5); }
.founder .seal { width: 128px; height: 128px; color: var(--brand); }
.founder h3 { font-size: 1.5rem; }
.founder p { color: var(--ink-2); margin-top: 6px; max-width: 60ch; }
@media (min-width: 760px) { .founder { grid-template-columns: auto 1fr auto; padding: var(--s-5) var(--s-6); } }

/* Tableau des forfaits */
.matrix { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.matrix th, .matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix thead th { font: 800 1rem var(--f-display); background: var(--surface-2); position: sticky; top: 0; }
.matrix tbody th { font-weight: 600; }
.matrix .yes { color: var(--brand); font-weight: 700; }
.matrix .nope { color: var(--muted); }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 18px 0; font: 700 1.125rem/1.3 var(--f-display); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--brand); background: linear-gradient(var(--brand), var(--brand)) center / 10px 2px no-repeat, linear-gradient(var(--brand), var(--brand)) center / 2px 10px no-repeat; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; display: grid; gap: 10px; }
.faq-group + .faq-group { margin-top: var(--s-7); }
.faq-group h2 { font-size: 1.5rem; margin-bottom: var(--s-3); }

/* Appel final */
.final { text-align: left; }
.final .h2 { max-width: 16ch; }
.final .hero-ctas { margin-top: var(--s-5); }

/* Secteurs */
.uses { display: grid; gap: var(--s-6); }
.use h3 { font-size: 1.3rem; letter-spacing: -.015em; }
.use p { color: var(--ink-2); margin-top: 6px; }
.use .bubble { max-width: 340px; }
@media (min-width: 900px) { .uses { grid-template-columns: repeat(3, 1fr); } }
.sectors { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.sectors a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.sectors a:hover { border-color: var(--brand); color: var(--brand); }
.price-strip { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: baseline; margin-top: var(--s-4); }
.price-strip div { font-weight: 600; color: var(--ink-2); }
.price-strip strong { font: 800 2rem var(--f-display); color: var(--ink); letter-spacing: -.03em; margin-right: 4px; }

/* Plaques : comparaison et modes */
.vs { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .9688rem; }
.vs th, .vs td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.vs thead th { font: 800 1rem var(--f-display); }
.vs thead th:last-child { color: var(--brand); }
.vs td:last-child { font-weight: 600; color: var(--brand-strong); }
.modes { display: grid; gap: var(--s-4); }
.mode { border-top: 2.5px dashed var(--line-strong); padding-top: var(--s-4); }
.mode h3 { font-size: 1.2rem; }
.mode p { color: var(--ink-2); margin-top: 6px; }
@media (min-width: 900px) { .modes { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.rule-box { display: grid; gap: var(--s-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5); max-width: 760px; }
.rule-box h3 { font-size: 1.2rem; }

/* Pages légales */
.legal-hero { background: var(--dark); color: var(--on-dark); padding-block: clamp(40px, 6vw, 72px); }
.legal-hero h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); letter-spacing: -.03em; line-height: 1.02; }
.legal-hero p { color: var(--on-dark-2); margin-top: var(--s-3); }
.legal-layout { display: grid; gap: var(--s-6); padding-block: var(--s-6) var(--sect); }
.lawyer { display: flex; gap: var(--s-3); align-items: flex-start; background: var(--warn-soft); border: 1px solid #F2D8A8; border-radius: var(--r-lg); padding: var(--s-4) var(--s-5); color: #6B3E05; }
.lawyer strong { display: block; color: #5A3300; }
.lawyer svg { width: 28px; height: 28px; flex: none; color: var(--warn); }
.toc { font-size: .9375rem; }
.toc h2 { font: 700 .875rem var(--f-body); color: var(--muted); margin-bottom: var(--s-2); }
.toc ol { margin: 0; padding-left: 2em; display: grid; gap: 4px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.5rem; margin: var(--s-7) 0 var(--s-3); scroll-margin-top: 20px; letter-spacing: -.015em; }
.legal h3 { font-size: 1.125rem; margin: var(--s-5) 0 var(--s-2); }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p, .legal p + ul, .legal ul + p, .legal p + ol, .legal ol + p { margin-top: var(--s-3); }
.legal ul, .legal ol { padding-left: 1.3em; display: grid; gap: 6px; margin: var(--s-2) 0 0; }
.legal .table-wrap { margin-top: var(--s-3); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9063rem; min-width: 560px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal thead th { background: var(--surface-2); font-size: .8125rem; }
.legal .todo { background: var(--accent-soft); color: var(--accent-ink); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.legal .meta { color: var(--muted); font-size: .9375rem; }
@media (min-width: 1000px) {
  .legal-layout { grid-template-columns: 250px 1fr; gap: var(--s-8); }
  .toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; }
  .lawyer { grid-column: 1 / -1; }
}

/* Connexion / inscription */
.auth { min-height: calc(100vh - 64px); display: grid; align-items: start; padding-block: clamp(24px, 5vw, 64px) var(--s-8); }
.auth-grid { display: grid; gap: var(--s-6); align-items: start; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow-1); width: 100%; max-width: 480px; }
.auth-card h1 { font-size: clamp(1.75rem, 2vw + 1.1rem, 2.25rem); letter-spacing: -.025em; }
.auth-card .intro { color: var(--ink-2); margin-top: 6px; }
.auth-form { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.auth-form .error-text { margin: 0; }
.pw { position: relative; }
.pw .input { padding-right: 96px; }
.pw-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; min-width: 84px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); font: 600 .875rem var(--f-body); cursor: pointer; }
.pw-toggle:hover { background: var(--brand-soft); color: var(--brand); }
.form-alert { border-radius: var(--r-md); padding: 12px 14px; font-size: .9375rem; background: var(--bad-soft); color: var(--bad); border: 1px solid #F1B8B2; }
.form-alert.ok { background: var(--ok-soft); color: var(--ok); border-color: #B8E0CB; }
.form-alert a { color: inherit; font-weight: 700; }
.or { display: flex; align-items: center; gap: var(--s-3); color: var(--muted); font-size: .875rem; margin: var(--s-5) 0 var(--s-4); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.auth-aside { display: none; }
.auth-aside h2 { font-size: 1.75rem; letter-spacing: -.02em; }
.auth-aside .steps { margin-top: var(--s-5); gap: var(--s-5); }
.auth-aside .steps::before { display: none; }
.auth-aside .step { grid-template-columns: 56px 1fr; }
.auth-links { margin-top: var(--s-5); display: grid; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.btn .spinner { width: 16px; height: 16px; }
@media (min-width: 960px) { .auth-grid { grid-template-columns: minmax(0, 480px) 1fr; gap: var(--s-8); } .auth-aside { display: block; padding-top: var(--s-5); } }

/* Pied de page */
.site-footer { background: var(--dark-deep); color: var(--on-dark-2); padding: var(--s-7) 0 var(--s-6); font-size: .9375rem; }
body:has(.sticky-cta) .site-footer { padding-bottom: calc(var(--s-6) + 76px); }
.footer-top { display: grid; gap: var(--s-6); }
.footer-brand .logo { color: var(--on-dark); display: inline-flex; }
.footer-brand p { margin-top: var(--s-3); max-width: 32ch; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.footer-cols h2 { font: 700 .8125rem var(--f-body); color: var(--on-dark-3); margin-bottom: var(--s-2); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-cols a, .footer-brand a { color: var(--on-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-cols a:hover, .footer-brand a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--on-dark-line); margin-top: var(--s-6); padding-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; color: var(--on-dark-3); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr 2fr; } .footer-cols { grid-template-columns: repeat(4, 1fr); } body:has(.sticky-cta) .site-footer { padding-bottom: var(--s-6); } }

/* Bouton collant mobile */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(20, 20, 20, .96); display: flex; align-items: center; gap: 12px; transition: transform .35s var(--ease-out); }
.sticky-cta .btn { flex: 1; }
.sticky-cta span { color: var(--on-dark-2); font-size: .8125rem; line-height: 1.25; max-width: 9em; }
.sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease-out), visibility 0s .35s; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 404 */
.lost { text-align: center; display: grid; justify-items: center; gap: var(--s-4); }
.lost .seal { width: 220px; height: 220px; color: var(--brand); }
.lost .h2 { max-width: 18ch; }
.more { margin-top: var(--s-5); font-weight: 700; }
.roi .roi-inputs { margin-top: var(--s-6); }
.roi-hyp .help { margin-top: var(--s-3); }
.other-title { margin-top: var(--s-7); }
.page-hero h1 { max-width: 18ch; }
.trial { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.trial li { border-top: 2.5px dashed var(--line-strong); padding-top: var(--s-4); }
.trial strong { display: block; font: 800 1.2rem var(--f-display); }
.trial p { color: var(--ink-2); margin-top: 6px; }
@media (min-width: 900px) { .trial { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.plaque-hero .hero-visual { margin-bottom: 0; padding-bottom: var(--s-6); }
.plaque-hero .plaque-svg { width: min(340px, 80vw); }
.rule-gap { margin-top: var(--s-6); }
.aside-note { margin-top: var(--s-6); }
.demo-note { margin-top: var(--s-2); text-align: center; }
[data-done-cta] { margin-top: var(--s-5); }
.lost .lead { margin-inline: auto; }
.lost .hero-ctas, .lost .sectors { justify-content: center; }
.matrix .dash { display: inline-block; width: 12px; height: 2px; border-radius: 1px; background: var(--line-strong); vertical-align: middle; }
