/*
 * Page d'accueil tonhabitué — « l'histoire d'un habitué » racontée au défilement.
 * Téléphone fixe au centre (sticky), texte à gauche, chiffre clé à droite, écran qui change à chaque étape.
 * Sans JavaScript (ou avec « réduire les animations ») : les étapes restent lisibles, le téléphone suit en sticky.
 * Charte : docs/brand/CHARTE.md — Crème 60 % · Encre 30 % · Corail 10 %.
 */

.home { background: var(--paper); color: var(--ink); overflow-x: clip; }
.home h1, .home h2, .home h3 { font-family: var(--f-display); letter-spacing: -0.035em; margin: 0; }
.h-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-md); }
.skip:focus { left: 8px; }
.eyebrow { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.eyebrow.on-ink { color: var(--coral); }
.h2 { font-size: clamp(2rem, 4.2vw + .6rem, 3.6rem); line-height: 1.02; font-weight: 800; }

/* L'accent-tampon : barre Corail inclinée ; à venir = contour */
.accents { display: inline-flex; gap: 7px; margin: 0; }
.accents i { width: 22px; height: 12px; transform: skewX(-28deg); border: 2px solid var(--coral); border-radius: 2px; }
.accents i.on { background: var(--coral); }
.accents.sm { gap: 4px; } .accents.sm i { width: 12px; height: 7px; border-width: 1.5px; }
.accents.big i { width: 40px; height: 20px; border-width: 3px; }

/* ───── En-tête ───── */
.h-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.h-header.is-scrolled { border-bottom-color: var(--line); }
.h-bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.h-logo img { height: 26px; width: auto; }
.h-nav { display: flex; gap: 26px; margin-left: 24px; }
.h-nav a, .h-login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.h-nav a:hover, .h-login:hover { color: var(--brand); }
.h-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.h-cta { min-height: 40px; padding: 8px 16px; }
.h-menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-md); }
.h-menu-btn svg { width: 22px; height: 22px; margin: auto; }
.h-mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 20px; display: grid; gap: 2px; }
.h-mobile-nav a { display: block; padding: 12px 4px; font: 700 20px/1.2 var(--f-display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* ───── Ouverture ───── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(3.2rem, 9vw + .5rem, 7.4rem); line-height: .9; font-weight: 800; margin: 22px 0 26px; }
.hero-title .reveal-line { display: block; }
.hero-title .reveal-line:last-child { color: var(--ink); }
.hero-lead { font-size: clamp(1.05rem, .5vw + 1rem, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-link { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 2px; }
.hero-link:hover { color: var(--brand); }
.hero-note { color: var(--muted); font-size: 15px; margin: 18px 0 0; }
.hero-visual { display: grid; place-items: center; perspective: 1400px; }

/* Plaque (rendu CSS de la plaque de caisse) */
.plaque { width: min(340px, 80vw); aspect-ratio: 3 / 4.15; background: #141414; color: var(--paper); border-radius: 22px; padding: 30px 26px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 2px 0 #2a2826 inset, 0 40px 80px -30px rgba(20, 20, 20, .55), 0 18px 30px -18px rgba(20, 20, 20, .4); }
.plaque-hero { transform: rotateY(-14deg) rotateX(6deg) rotateZ(1.5deg); transform-style: preserve-3d; }
.plaque .accents i { width: 18px; height: 10px; }
.plaque-title { font: 800 clamp(2rem, 3.4vw, 2.6rem)/.92 var(--f-display); letter-spacing: -0.04em; margin: 18px 0 10px; }
.plaque-sub { font-size: 14px; color: #CFC8BD; margin: 0 0 18px; }
.plaque-qr { background: #ECE6DC; border-radius: 14px; padding: 10px; width: 46%; }
.plaque-qr img, .plaque-qr svg { width: 100%; height: auto; border-radius: 4px; }
.plaque-qr.small { width: 40%; }
.plaque-tap { display: flex; align-items: center; gap: 10px; text-align: left; font-weight: 700; font-size: 14px; margin: 16px 0 6px; line-height: 1.2; }
.plaque-tap small { display: block; font-weight: 500; color: #B9B1A5; font-size: 12px; }
.tap-dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); position: relative; }
.tap-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--coral); opacity: .5; animation: tap 2.2s ease-out infinite; }
@keyframes tap { from { transform: scale(.7); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.plaque-sign { font: 800 17px/1 var(--f-display); letter-spacing: -0.02em; margin: auto 0 8px; }
.plaque-sign b { color: var(--coral); }
.plaque-logo { height: 15px; width: auto; }

/* ───── Histoire au défilement ───── */
.story { position: relative; padding-top: clamp(40px, 6vw, 80px); background: var(--story-bg, var(--paper)); transition: background-color .5s ease; }
.story-intro { text-align: center; margin-bottom: clamp(24px, 4vw, 48px); }
.story-intro .h2 { max-width: 20ch; margin-inline: auto; }

.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; pointer-events: none; z-index: 1; }
.story-progress { position: absolute; top: 92px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.story-progress i { width: 18px; height: 9px; transform: skewX(-28deg); border: 2px solid var(--coral); border-radius: 2px; transition: background-color .3s; }
.story-progress i.on { background: var(--coral); }

.steps { list-style: none; margin: -100vh 0 0; margin-top: -100svh; padding: 0; position: relative; z-index: 2; }
.step { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 340px 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: min(1200px, 100% - 32px); margin-inline: auto; }
.step-text { grid-column: 1; max-width: 400px; justify-self: end; opacity: .18; transition: opacity .4s ease, transform .4s ease; transform: translateY(14px); }
.step-side { grid-column: 3; max-width: 260px; opacity: .18; transition: opacity .4s ease .05s, transform .4s ease .05s; transform: translateY(14px); }
.step.is-active .step-text, .step.is-active .step-side { opacity: 1; transform: none; }
.step-n { font: 800 15px/1 var(--f-display); color: var(--brand); margin: 0 0 14px; letter-spacing: .02em; }
.step h3 { font-size: clamp(1.7rem, 2.2vw + .8rem, 2.6rem); line-height: 1.02; font-weight: 800; margin-bottom: 14px; }
.step-text p:last-child { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.step-side .big { font: 800 clamp(2.6rem, 3.6vw + 1rem, 4.4rem)/.9 var(--f-display); letter-spacing: -0.04em; margin: 0 0 10px; }
.step-side .big::after { content: ""; display: block; width: 26px; height: 12px; margin-top: 14px; background: var(--coral); transform: skewX(-28deg); border-radius: 2px; }
.step-side p:last-child { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.45; }
.story[data-tone="ink"] { --story-bg: #141414; }
.story[data-tone="ink"] .step h3, .story[data-tone="ink"] .step-side .big { color: var(--paper); }
.story[data-tone="ink"] .step-text p:last-child { color: #D9D2C6; }
.story[data-tone="ink"] .step-side p:last-child { color: #B9B1A5; }
.story[data-tone="ink"] .step-n { color: var(--coral); }
.story[data-tone="ink"] .story-intro { color: var(--paper); }
.story[data-tone="sand"] { --story-bg: #F1EBE1; --brand: var(--brand-strong); }
.story[data-tone="ink"] .eyebrow { color: var(--coral); }

/* Téléphone */
.phone { width: 300px; height: 620px; max-height: calc(100svh - 150px); aspect-ratio: 300 / 620; border-radius: 50px; padding: 11px; background: linear-gradient(145deg, #2b2a28, #0d0d0d); box-shadow: 0 0 0 1.5px #3a3835 inset, 0 50px 90px -40px rgba(20, 20, 20, .6), 0 20px 40px -24px rgba(20, 20, 20, .45); position: relative; will-change: transform; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: var(--paper); isolation: isolate; }
.phone-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0b0b0b; z-index: 10; }
.screen { position: absolute; inset: 0; padding: 50px 20px 22px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s .45s; transform: translateY(18px) scale(.98); font-size: 13px; }
.screen.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.sb { position: absolute; top: 14px; left: 26px; right: 26px; display: flex; justify-content: space-between; font: 700 13px/1 var(--f-body); }
.sb.light, .sb.dark { color: #fff; }
.sb-ico { width: 40px; height: 10px; background: linear-gradient(90deg, currentColor 0 60%, transparent 60% 66%, currentColor 66% 100%); border-radius: 3px; opacity: .85; }
.mlogo { width: 46px; height: 46px; border-radius: 14px; background: #141414; display: grid; place-items: center; font-size: 22px; }

/* 1 · inscription */
.s-join { background: var(--paper); align-items: stretch; }
.join-head { text-align: center; display: grid; justify-items: center; gap: 6px; margin-top: 10px; }
.join-merchant { font: 800 19px/1.1 var(--f-display); letter-spacing: -0.03em; margin: 6px 0 0; }
.join-offer { margin: 0; color: var(--ink-2); }
.mini-pass { margin: 18px 0 20px; background: #141414; color: var(--paper); border-radius: 14px; padding: 14px; display: grid; gap: 10px; font-weight: 700; }
.mini-pass p { margin: 0; }
.fake-label { font-weight: 700; margin-bottom: 6px; }
.fake-input { height: 44px; border: 1.5px solid var(--ink); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: 15px; background: #fff; }
.caret { width: 1.5px; height: 18px; background: var(--brand); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fake-btn { margin-top: 14px; height: 46px; border-radius: 12px; background: var(--coral); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.fake-btn.g { background: #141414; color: var(--paper); }
.fake-help { text-align: center; color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* 2 · Wallet */
.s-wallet { background: #0f0f0f; color: #fff; }
.wallet-title { font: 800 26px/1 var(--f-display); margin: 8px 0 16px; letter-spacing: -0.02em; }
.pass { position: relative; z-index: 3; background: #141414; border: 1px solid #2c2a27; border-radius: 16px; padding: 14px; display: grid; gap: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pass-top { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.pass-top .mlogo { width: 32px; height: 32px; font-size: 16px; border-radius: 9px; background: #222; }
.pass-k, .pass-reward { display: grid; font-size: 9px; letter-spacing: .1em; color: #B9B1A5; font-weight: 700; margin: 0; }
.pass-k { margin-left: auto; text-align: right; }
.pass-k b, .pass-reward b { font: 800 16px/1.2 var(--f-display); color: #fff; letter-spacing: -0.01em; }
.pass-accents { gap: 5px; } .pass-accents i { width: 14px; height: 9px; }
.pass-qr { justify-self: center; width: 112px; height: 112px; background: #fff; border-radius: 10px; padding: 8px; }
.pass-qr img { display: block; width: 100%; height: 100%; }
.pass-sign { margin: 0; text-align: center; font: 800 10px/1 var(--f-display); color: #8A8379; letter-spacing: -0.01em; }
.pass-ghost { height: 52px; margin: -40px 10px 0; border-radius: 14px; background: #2b4c7e; position: relative; z-index: 2; }
.pass-ghost.two { margin: -38px 22px 0; background: #6a6a6a; z-index: 1; }

/* 3 · caisse */
.s-caisse { background: #141414; color: var(--paper); }
.caisse-h { font: 800 22px/1 var(--f-display); margin: 6px 0 14px; }
.viewfinder { position: relative; height: 200px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #3a3631, #1d1c1a); overflow: hidden; }
.vf-line { position: absolute; left: 12%; right: 12%; height: 2px; background: var(--coral); top: 50%; box-shadow: 0 0 12px var(--coral); animation: scanline 2s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 22%; } to { top: 78%; } }
.c { position: absolute; width: 26px; height: 26px; border: 3px solid var(--paper); }
.c.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.c.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.c.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.caisse-ok { margin-top: 16px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 16px; display: grid; gap: 8px; }
.caisse-ok p { margin: 0; }
.ok-badge { font-weight: 800; color: #18794E; }
.ok-name { font: 800 24px/1 var(--f-display); letter-spacing: -0.03em; }
.caisse-ok .accents { gap: 5px; } .caisse-ok .accents i { width: 15px; height: 9px; }
.ok-sub { color: var(--muted); font-size: 12px; }

/* 4 et 6 · écran verrouillé */
.s-lock { background: radial-gradient(120% 70% at 30% 10%, #c9452a 0%, #a8361f 38%, #3a1a12 75%, #141414 100%); color: #fff; align-items: center; }
.s-winback { background: radial-gradient(120% 70% at 70% 10%, #6b655c 0%, #2b2926 50%, #141414 100%); }
.lock-date { margin: 26px 0 0; font-weight: 600; font-size: 14px; opacity: .9; }
.lock-time { font: 700 78px/1 var(--f-display); letter-spacing: -0.03em; margin: 2px 0 0; }
.notif { margin-top: auto; margin-bottom: 70px; width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 18px; background: rgba(250, 247, 242, .82); color: #141414; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transform: translateY(0); }
.n-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #141414; display: grid; place-items: center; font-size: 17px; }
.n-app { margin: 0 0 2px; font-weight: 800; font-size: 12.5px; display: flex; justify-content: space-between; gap: 6px; }
.n-app small { font-weight: 500; color: #6B655C; }
.n-body { margin: 0; font-size: 13px; line-height: 1.3; }
.screen.is-active .notif { animation: drop .7s cubic-bezier(.16, 1, .3, 1) .25s both; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) scale(.96); } to { opacity: 1; transform: none; } }

/* 5 · avis */
.s-review { background: var(--paper); justify-content: center; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.rv-title { font: 800 18px/1.15 var(--f-display); letter-spacing: -0.03em; margin: 10px 0 2px; }
.rv-sub { margin: 0; color: var(--ink-2); }
.rv-stars { margin: 10px 0 0; display: flex; gap: 4px; font-size: 26px; color: #E1D9CC; }
.rv-stars.on-ink { color: #3A3631; justify-content: center; }
.rv-stars i { font-style: normal; transition: color .2s; }
.screen.is-active .rv-stars i, .plaque-review .rv-stars i { color: #F5B400; }
.screen.is-active .rv-stars i { animation: star .4s ease both; }
.rv-stars i:nth-child(2) { animation-delay: .1s !important; } .rv-stars i:nth-child(3) { animation-delay: .2s !important; } .rv-stars i:nth-child(4) { animation-delay: .3s !important; } .rv-stars i:nth-child(5) { animation-delay: .4s !important; }
@keyframes star { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-card .fake-btn { width: 100%; }
.rv-rating { margin-top: 16px; display: flex; align-items: baseline; gap: 8px; justify-content: center; }
.rv-rating b { font: 800 28px/1 var(--f-display); }
.rv-mini { color: #F5B400; letter-spacing: 1px; }
.rv-rating small { color: var(--muted); }

/* 7 · rapport */
.s-report { background: var(--paper); }
.rp-eyebrow { font: 700 10px/1 var(--f-body); letter-spacing: .14em; color: var(--brand); margin: 12px 0 10px; }
.rp-head { font: 700 15px/1.2 var(--f-display); margin: 0; }
.rp-amount { font: 800 58px/1 var(--f-display); letter-spacing: -0.05em; margin: 4px 0 14px; }
.rp-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.rp-bars i { flex: 1; height: calc(var(--h) * 100%); background: var(--ink); border-radius: 4px 4px 0 0; transform-origin: bottom; }
.rp-bars i:last-child { background: var(--coral); }
.screen.is-active .rp-bars i { animation: grow .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
.rp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; }
.rp-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rp-list b { font-family: var(--f-display); }
.rp-foot { margin: 10px 0 0; color: var(--muted); font-size: 11px; }

/* ───── Bande Encre : la plaque ───── */
.band-ink { background: #141414; color: var(--paper); padding: clamp(72px, 10vw, 140px) 0; }
.plaque-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.plaque-copy p { color: #D9D2C6; font-size: 17px; line-height: 1.55; max-width: 46ch; }
.plaque-copy .h2 { margin-bottom: 22px; }
.modes { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.modes li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid #2E2C29; color: var(--paper); }
.mode-k { flex: none; width: 92px; font: 800 18px/1 var(--f-display); color: var(--coral); }
.muted-ink { color: #9C9488 !important; font-size: 15px !important; }
.plaque-duo { position: relative; display: grid; place-items: center; min-height: 480px; }
.plaque-review { background: #0a0a0a; box-shadow: 0 0 0 1px #2E2C29, 0 40px 80px -30px rgba(0, 0, 0, .8); transform: rotate(-4deg); }
.sticker { position: absolute; right: max(0px, 6%); bottom: 2%; width: 168px; height: 168px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; transform: rotate(10deg); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.sticker p { margin: 0; font: 800 15px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.sticker img { width: 104px; height: auto; }
.sticker small { font-size: 10px; font-weight: 700; }

/* ───── Pourquoi ───── */
.why { padding: clamp(72px, 10vw, 140px) 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.why-grid article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.why-k { font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.why-grid h3 { font-size: 26px; line-height: 1.05; margin-bottom: 10px; }
.why-grid p:last-child { color: var(--ink-2); margin: 0; }

/* ───── Tarifs ───── */
.pricing { padding: clamp(72px, 10vw, 140px) 0; background: #F1EBE1; --brand: var(--brand-strong); } /* texte Corail plus foncé : 4,5 : 1 minimum sur Sable */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 26px; }
.price { margin: 10px 0 18px; color: var(--muted); }
.price b { font: 800 48px/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; background: var(--coral); transform: skewX(-28deg); border-radius: 1px; }
.plan-featured { background: #141414; color: var(--paper); border-color: #141414; transform: translateY(-10px); }
.plan-featured h3, .plan-featured .price b { color: var(--paper); }
.plan-featured li, .plan-featured .price { color: #D9D2C6; }
.plan-flag { position: absolute; top: -13px; left: 26px; margin: 0; background: var(--coral); color: var(--ink); font: 800 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.founders { margin: 36px 0 8px; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fine { color: var(--muted); font-size: 14px; margin: 0; }

/* ───── FAQ ───── */
.faq { padding: clamp(72px, 10vw, 120px) 0; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap > p { grid-column: 2; margin: 0; }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 700 19px/1.3 var(--f-display); letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 500 26px/1 var(--f-body); color: var(--brand); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 20px; color: var(--ink-2); max-width: 60ch; }

/* ───── Appel final (Corail, texte Encre) ───── */
.final { background: var(--coral); color: var(--ink); padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 18px; }
.final .accents i { border-color: var(--ink); } .final .accents i.on { background: var(--ink); }
.final-title { font: 800 clamp(3rem, 9vw, 7rem)/.9 var(--f-display); letter-spacing: -0.045em; }
.final p { margin: 0; font-size: 19px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2B2926; }
.final .final-note { font-size: 15px; }

/* ───── Pied de page ───── */
.h-footer { background: #141414; color: #CFC8BD; padding: 64px 0 28px; font-size: 15px; }
.h-footer a { color: var(--paper); text-decoration: none; }
.h-footer a:hover { color: var(--coral); }
.f-top { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.f-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.f-cols h2 { font: 700 13px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #8A8379; margin: 0 0 14px; }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #2E2C29; color: #8A8379; font-size: 13px; }

/* ───── Tablette et téléphone ───── */
@media (max-width: 1080px) {
  .h-nav { display: none; }
  .step { grid-template-columns: 1fr 300px; }
  .step-text { grid-column: 1; }
  .step-side { grid-column: 1; grid-row: 2; justify-self: end; align-self: start; max-width: 400px; width: 100%; }
  .story-stage { justify-items: end; padding-right: max(16px, calc((100vw - 1200px) / 2)); }
}
@media (max-width: 820px) {
  .h-login, .h-cta { display: none; }
  .h-menu-btn { display: grid; }
  .hero-grid, .plaque-grid, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap > p { grid-column: 1; }
  .hero-visual { order: -1; }
  .plaque-hero { width: min(260px, 70vw); transform: rotate(-3deg); }
  .why-grid, .plans-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .f-top { grid-template-columns: 1fr; }
  .f-cols { grid-template-columns: 1fr 1fr; }

  /* Histoire : téléphone fixe en haut, texte en carte en bas de l'écran */
  .story-stage { justify-items: center; padding: 0; align-items: start; padding-top: 98px; }
  .story-progress { top: 78px; }
  .phone { width: auto; height: min(52svh, 500px); }
  .step { grid-template-columns: 1fr; align-items: end; padding-bottom: 20px; min-height: 100svh; }
  .step-text, .step-side { grid-column: 1; justify-self: stretch; max-width: none; }
  .step-text { background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 -10px 30px -20px rgba(20, 20, 20, .3); }
  .story[data-tone="ink"] .step-text { background: color-mix(in srgb, #141414 92%, transparent); border-color: #2E2C29; }
  .step-side { display: none; }
  .step h3 { font-size: 1.6rem; }
  .step-text p:last-child { font-size: 15.5px; }
}

/* Moins d'animations : rien ne bouge, tout reste lisible */
@media (prefers-reduced-motion: reduce) {
  .screen, .screen.is-active, .step-text, .step-side { transition: none; transform: none; }
  .screen.is-active .notif, .screen.is-active .rv-stars i, .screen.is-active .rp-bars i, .tap-dot::after, .vf-line, .caret { animation: none; }
  .plaque-hero { transform: none; }
}
