/* =====================================================================
   VRAI — site public, refonte 2026 « carnet de rencontres ».
   Direction : éditoriale et chaleureuse (photos d'illustration de scènes
   de vie, grands titres Fraunces, beaucoup d'air), avec les captures
   RÉELLES de l'application dans un cadre de téléphone en CSS (jamais
   d'interface redessinée). Palette de l'app (crème #F7F5F1, rouge VRAI
   #E95345). CSS autonome : aucun build, aucun tracker, aucun CDN.
   ===================================================================== */

/* --- Polices auto-hébergées --- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/vrai/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/vrai/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-display: swap; font-weight: 600;
  src: url('/assets/vrai/fonts/fraunces-600.woff2') format('woff2');
}

:root {
  --bg: #F7F5F1;            /* crème de l'app */
  --paper: #FFFDF9;
  --sand: #EFE8DE;
  --sand-deep: #E4DACB;
  --ink: #1F1A17;           /* encre chaude */
  --muted: #5B5550;         /* ≥ 6:1 sur crème */
  --coral: #E95345;         /* rouge VRAI : décor, grands titres */
  --coral-strong: #C2392C;  /* boutons / petits textes : ≥ 4.5:1 */
  --coral-hover: #A93226;
  --coral-soft: #FBE7E4;
  --night: #1F1A17;
  --night-soft: #2B2420;
  --check: #23856D;
  --border: #E3DBCF;
  --header-h: 72px;
  --container: 1240px;
  --pad-x: clamp(16px, 5vw, 64px);
  --radius-photo: clamp(20px, 2.6vw, 34px);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --shadow-phone: 0 30px 60px -18px rgba(31,26,23,.38), 0 12px 24px -12px rgba(31,26,23,.24);
  --shadow-soft: 0 24px 60px -28px rgba(31,26,23,.28);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: 900px; }

/* ---------------------------- Typographie ---------------------------- */
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
h1, .display { font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.25; }
.hl { color: var(--coral); white-space: nowrap; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-strong);
  margin-bottom: 16px;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.center .kicker::before { display: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
p + p { margin-top: 14px; }
.muted { color: var(--muted); }

/* ------------------------------ Boutons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; cursor: pointer; text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral-strong); color: #fff; }
.btn-coral:hover { background: var(--coral-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 650; color: var(--coral-strong); padding-block: 4px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------- En-tête ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247,245,241,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(227,219,207,.7);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand svg { width: 36px; height: 36px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: .02em; color: var(--coral); }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 550; font-size: .97rem; color: var(--muted); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a.is-active { color: var(--ink); background: var(--sand); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.mobile-menu { display: none; }

/* --------------------- Téléphone (capture réelle) --------------------- */
.phone {
  --w: 300px;
  width: var(--w); max-width: 100%; flex: 0 0 auto;
  padding: calc(var(--w) * 0.03); border-radius: calc(var(--w) * 0.15);
  background: #141414; box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: auto; aspect-ratio: 1080 / 2400; border-radius: calc(var(--w) * 0.12); background: var(--sand); }
.phone--sm { --w: 230px; }
.phone--lg { --w: 320px; }
.phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(16px, 3vw, 32px); }
.phones--overlap .phone + .phone { margin-left: calc(var(--w) * -0.28); transform: translateY(-36px); }

/* ----------------------- Photos d'illustration ----------------------- */
.photo { position: relative; border-radius: var(--radius-photo); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--landscape { aspect-ratio: 3 / 2; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo-note { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* Collage : photo de scène + capture réelle qui la chevauche */
.collage { position: relative; padding-bottom: 40px; }
.collage .phone { --w: clamp(170px, 17vw, 236px); position: absolute; bottom: 0; }
.collage--right .phone { right: clamp(-8px, -1vw, 0px); }
.collage--left .phone { left: clamp(-8px, -1vw, 0px); }
.collage--right .photo { margin-right: clamp(70px, 9vw, 130px); }
.collage--left .photo { margin-left: clamp(70px, 9vw, 130px); }

/* -------------------------------- Hero -------------------------------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 33rem; margin-bottom: 30px; }
.hero-store { display: grid; gap: 14px; }
.store-note { font-size: .95rem; color: var(--muted); }
.store-note a { color: var(--coral-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-media { position: relative; padding-left: clamp(96px, 10vw, 140px); }
.hero-media .photo { aspect-ratio: 3 / 2.15; }
.hero-media .phone { --w: clamp(130px, 12.5vw, 176px); position: absolute; left: 0; bottom: clamp(-48px, -3.5vw, -20px); }
.fiction-note { font-size: .78rem; color: var(--muted); margin-top: 18px; }
.fiction-note--left { text-align: left; }

/* Promesse en trois mots, sous le hero */
.promise { border-block: 1px solid var(--border); background: var(--paper); }
.promise ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise li { display: flex; gap: 14px; align-items: flex-start; padding: 26px clamp(12px, 2vw, 28px); }
.promise li + li { border-left: 1px solid var(--border); }
.promise .ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-strong); display: grid; place-items: center; }
.promise .ico svg { width: 22px; height: 22px; }
.promise b { display: block; font-size: 1.02rem; }
.promise span { font-size: .93rem; color: var(--muted); }

/* ------------------------------ Sections ------------------------------ */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--sand); }
.section--paper { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }

/* L'histoire d'une rencontre (chapitres) */
.story-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.story-intro p { color: var(--muted); font-size: 1.12rem; }
.story-cast { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.story-cast img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); box-shadow: 0 6px 16px -8px rgba(31,26,23,.4); }
.story-cast img + img { margin-left: -24px; }
.story-cast span { font-size: .85rem; color: var(--muted); }

.beat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.beat + .beat { margin-top: clamp(72px, 10vw, 140px); }
.beat--reverse .beat__media { order: -1; }
.beat__num { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .9; color: var(--coral); opacity: .9; display: block; margin-bottom: 12px; }
.beat__time { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--ink); background: var(--paper); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.beat h2, .beat h3.beat__title { margin-bottom: 16px; }
.beat__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.1; }
.beat p { color: var(--muted); }
.beat .ticks { margin-top: 22px; }

/* Listes à coches */
.ticks { display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .chk { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-strong); display: grid; place-items: center; margin-top: 1px; }
.ticks .chk svg { width: 15px; height: 15px; stroke-width: 2.6; }
.ticks li > span:last-child { color: var(--ink); }
.ticks small { display: block; color: var(--muted); font-size: .9rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.chip { background: var(--paper); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: .92rem; font-weight: 550; }
.callout { margin-top: 22px; background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--coral); border-radius: 14px; padding: 16px 18px; color: var(--ink); font-size: .98rem; }

/* Manifeste (bandeau nuit) */
.manifesto { background: var(--night); color: #F4EFE8; padding-block: clamp(72px, 10vw, 130px); position: relative; overflow: hidden; }
.manifesto::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(233,83,69,.28), transparent 70%); pointer-events: none; }
.manifesto h2 { color: #fff; max-width: 15ch; }
.manifesto .kicker { color: #F59A8F; }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; position: relative; z-index: 1; }
.manifesto-intro p { margin-top: 18px; color: #D8CFC4; font-size: 1.1rem; }
.never { display: grid; gap: 0; }
.never li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.never li:first-child { padding-top: 0; }
.never .x { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #F59A8F; color: #F59A8F; display: grid; place-items: center; font-size: 1rem; line-height: 1; margin-top: 4px; }
.never b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.5rem); color: #fff; line-height: 1.25; }
.never span { color: #D8CFC4; font-size: .98rem; }
.manifesto .link-arrow { color: #F59A8F; }

/* Pour qui (cartes photo) */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
/* 3 cartes */
.people--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.center { text-align: center; }
.person { background: var(--paper); border-radius: 24px; overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.person img { aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.person__body { padding: 20px 20px 24px; }
.person h3 { font-size: 1.2rem; margin-bottom: 8px; }
.person p { color: var(--muted); font-size: .95rem; }

/* Split générique (texte + média) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split--reverse .split__media { order: -1; }
.split__copy h2 { margin-bottom: 18px; }
.split__copy > p { color: var(--muted); }
.split__copy .ticks { margin-top: 22px; }
.split--secondary { margin-top: clamp(56px, 8vw, 96px); }

/* Parcours en étapes */
.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 6vw, 72px); position: relative; counter-reset: step; }
.journey::before { content: ''; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 16px); opacity: .5; }
.journey__step { text-align: center; position: relative; }
.journey__dot { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--coral); color: var(--coral-strong); display: grid; place-items: center; margin: 0 auto 14px; position: relative; }
.journey__dot svg { width: 24px; height: 24px; }
.journey__step h3 { font-family: var(--font); font-weight: 700; font-size: 1rem; letter-spacing: 0; }
.journey__step p { font-size: .9rem; color: var(--muted); }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--after { margin-top: clamp(40px, 5vw, 64px); }
.card { background: var(--paper); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-strong); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.card .kicker { margin-bottom: 8px; }
.card .kicker::before { display: none; }

/* Pages intérieures */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-hero h1 { max-width: 16ch; }
.page-hero > .container > p:not(.kicker):not(.fiction-note) { margin-top: 20px; max-width: 46rem; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.28rem); }
.page-hero--photo .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--photo .photo { aspect-ratio: 4 / 4.2; }
.page-hero--photo h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 18ch; }
.page-hero--photo p.lead { margin-top: 20px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); font-size: .92rem; font-weight: 600; transition: border-color .15s, color .15s; }
.toc a:hover { border-color: var(--coral-strong); color: var(--coral-strong); }

.chapter { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: var(--header-h); }
.chapter__label { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-strong); margin-bottom: 26px; }
.chapter__label span { font-family: var(--serif); font-size: 1.6rem; letter-spacing: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-strong); }
.chapter-title { font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.1; margin-bottom: 16px; }
.chapter-subtitle { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin-bottom: 14px; }
.chapter-photo { margin-bottom: clamp(36px, 5vw, 56px); }
.chapter-photo .photo { aspect-ratio: 21 / 8; }
.chapter-photo .photo img { object-position: center 40%; }

/* Sécurité */
.safety-group + .safety-group { margin-top: clamp(48px, 6vw, 72px); }
.safety-group > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 22px; display: flex; align-items: baseline; gap: 14px; }
.safety-group > h2 small { font-family: var(--font); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-strong); }
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.safety-card { background: var(--paper); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.safety-card .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--coral-soft); color: var(--coral-strong); display: grid; place-items: center; margin-bottom: 16px; }
.safety-card .ico svg { width: 24px; height: 24px; }
.safety-card h3 { margin-bottom: 8px; }
.safety-card p { color: var(--muted); font-size: .97rem; }
.inline-cta { margin-top: clamp(40px, 5vw, 56px); text-align: center; }

/* Abonnements */
.plans-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.plan-mini { background: var(--paper); border: 1px solid var(--border); border-radius: 24px; padding: 28px; }
.plan-mini--featured { border: 2px solid var(--coral); box-shadow: var(--shadow-soft); }
.plan-mini h3 { margin-bottom: 4px; }
.plan-mini .price { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-bottom: 12px; }
.plan-mini .price span, .plan__price span { font-family: var(--font); font-size: .95rem; color: var(--muted); }
.plan-mini p:last-child { color: var(--muted); font-size: .95rem; }
.plans-mini-foot { text-align: center; margin-top: 26px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--border); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.plan--featured { border: 2px solid var(--coral); box-shadow: var(--shadow-soft); }
.plan__name { font-family: var(--serif); font-size: 1.6rem; }
.plan__price { font-family: var(--serif); font-size: 2.2rem; line-height: 1.1; }
.plan__tag { color: var(--muted); }
.plan__list { display: grid; gap: 12px; margin: 8px 0 16px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list .chk { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-strong); display: grid; place-items: center; margin-top: 2px; }
.plan__list .chk svg { width: 14px; height: 14px; stroke-width: 2.6; }
.plan__list small { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; }
.plans-note { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 900px; margin-inline: auto; text-align: center; }
.plans-note a { color: var(--coral-strong); text-decoration: underline; }
.compare { margin-top: clamp(48px, 7vw, 80px); overflow-x: auto; }
.compare h2 { text-align: center; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 22px; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; font-size: .95rem; }
.compare__table th, .compare__table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); vertical-align: middle; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table thead th { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; background: var(--coral-soft); }
.compare__table tbody th { text-align: left; font-weight: 500; }
.compare__table tbody th small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.compare__table .yes { color: var(--coral-strong); font-weight: 700; }
.compare__table .no { color: var(--muted); }
.compare__table td { white-space: nowrap; font-weight: 600; }
.compare__table td.no { font-weight: 400; }
.compare__group th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--coral-strong) !important; font-weight: 700 !important; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 6px; }
.faq-aside a { padding: 9px 14px; border-radius: 12px; font-weight: 600; color: var(--muted); }
.faq-aside a:hover { background: var(--sand); color: var(--ink); }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 8px; scroll-margin-top: calc(var(--header-h) + 16px); }
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 4px; text-align: left; font: inherit; font-size: 1.08rem; font-weight: 650; color: var(--ink); }
.faq-q .chev { flex: 0 0 auto; transition: transform .2s ease; color: var(--coral-strong); }
.faq-q .chev svg { width: 22px; height: 22px; display: block; }
.faq-q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .25s ease; }
.faq-a p { color: var(--muted); font-size: 1rem; padding: 0 4px 22px; max-width: 720px; }
.faq-link { margin-top: 40px; }
.faq-link a { display: inline-block; padding-block: 4px; color: var(--coral-strong); font-weight: 600; }
.help-card { margin-top: 48px; background: var(--paper); border: 1px solid var(--border); border-radius: 22px; padding: 26px; max-width: 820px; }
.help-card h3 { margin-bottom: 6px; }
.help-card p { color: var(--muted); }

/* CTA final sur photo */
.cta-photo { position: relative; color: #fff; overflow: hidden; }
.cta-photo__img { position: absolute; inset: 0; }
.cta-photo__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,16,14,.86) 0%, rgba(20,16,14,.7) 45%, rgba(20,16,14,.25) 100%); }
.cta-photo .container { position: relative; z-index: 2; padding-block: clamp(80px, 12vw, 160px); }
.cta-photo h2 { color: #fff; max-width: 14ch; margin-bottom: 18px; }
.cta-photo p { color: #EFE7DD; max-width: 34rem; margin-bottom: 28px; font-size: 1.12rem; }
.cta-photo .store-badge__soon { color: #E6DDD2; }
.cta-photo .store-note { color: #EFE7DD; margin-top: 16px; }
.cta-photo .store-note a { color: #fff; }
.cta-photo .photo-credit { position: absolute; right: var(--pad-x); bottom: 14px; z-index: 2; font-size: .75rem; color: #E6DDD2; }

/* CTA final simple */
.cta-final { padding-block: clamp(56px, 8vw, 104px); }
.cta-final .box { background: var(--night); color: #F4EFE8; border-radius: 32px; padding: clamp(36px, 6vw, 72px); text-align: center; }
.cta-final h2 { color: #fff; max-width: 20ch; margin: 0 auto 14px; }
.cta-final p { color: #D8CFC4; max-width: 36rem; margin: 0 auto 26px; }
.cta-final .store-badges { justify-content: center; }
.cta-final .store-badge__soon { color: #D8CFC4; }
.cta-final .store-note a { color: #fff; }

/* Badges stores */
.store-badges { --badge-h: 48px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 18px; }
.store-badges--lg { --badge-h: 54px; }
.store-badges--sm { --badge-h: 40px; gap: 12px; }
.store-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 8px; line-height: 0; }
.store-badge img { display: block; width: auto; max-width: none; }
.store-badge--google img { height: calc(var(--badge-h) * 250 / 192); margin-block: calc(var(--badge-h) * -29 / 192); }
.store-badge--apple img { height: var(--badge-h); }
a.store-badge { cursor: pointer; transition: opacity .15s ease, transform .15s ease; }
a.store-badge:hover { opacity: .9; transform: translateY(-1px); }
a.store-badge:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: 3px; }
.store-badge--soon { cursor: default; }
.store-badge--soon img { opacity: .38; filter: grayscale(1); }
.store-badge__soon { line-height: 1.2; font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--sand); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 36px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.footer-col h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; color: var(--ink); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--muted); display: inline-block; padding-block: 2px; }
.footer-col a:hover { color: var(--coral-strong); }
.footer-download .store-badges { flex-direction: column; align-items: flex-start; }
.footer-download .store-badge { align-items: flex-start; }
.footer-download__link { display: inline-block; margin-top: 14px; font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-download__link:hover { color: var(--coral-strong); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--sand-deep); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .85rem; }

/* Télécharger / invitation / ouvrir */
.download { padding-block: clamp(48px, 7vw, 88px); }
.download h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; margin: 10px 0 16px; }
.download .lead { max-width: 560px; margin-bottom: 28px; }
.download__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.download__qr { justify-self: center; text-align: center; background: var(--paper); border: 1px solid var(--border); border-radius: 22px; padding: 22px 22px 18px; }
.download__qr img { width: 200px; height: 200px; margin: 0 auto 10px; }
.download__qr figcaption { font-size: .875rem; color: var(--muted); max-width: 220px; }
.download__box { max-width: 640px; }
.download__more { margin-top: 26px; color: var(--muted); }
.download__more a { color: var(--coral-strong); font-weight: 600; }
.contract-text { max-width: 760px; }
.input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--paper); }

/* Apparition au scroll (no-JS et reduced-motion : contenu visible) */
.reveal { opacity: 1; }
html.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.store-badge, .link-arrow svg { transition: none; }
}

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 1100px) {
  .nav a { padding: 8px 10px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 12px var(--pad-x) 24px; box-shadow: 0 20px 40px -20px rgba(31,26,23,.25);
  }
  .mobile-menu.open { display: grid; gap: 4px; }
  .mobile-menu a:not(.btn) { padding: 12px 6px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .mobile-menu a.is-active { color: var(--coral-strong); }
  .mobile-menu .btn { margin-top: 10px; }
  .hero-grid, .split, .beat, .story-intro, .manifesto-grid, .page-hero--photo .container, .faq-layout { grid-template-columns: 1fr; }
  .hero-media { margin-left: 0; margin-bottom: 44px; }
  .beat--reverse .beat__media, .split--reverse .split__media { order: 0; }
  .beat__media, .split__media { max-width: 620px; }
  .faq-aside { position: static; display: flex; flex-wrap: wrap; }
  .cards, .safety-grid, .plans, .plans-mini { grid-template-columns: 1fr 1fr; }
  .people--3 { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .people--3 .person { flex-direction: row; }
  .people--3 .person img { width: 38%; aspect-ratio: auto; min-height: 100%; }
  .journey { grid-template-columns: 1fr; gap: 0; text-align: left; max-width: 520px; }
  .journey::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--coral) 0 8px, transparent 8px 16px); }
  .journey__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding-bottom: 18px; }
  .journey__dot { margin: 0; grid-row: span 2; }
  .journey__step h3 { align-self: end; }
  .download__grid { grid-template-columns: 1fr; gap: 36px; }
  .download__qr { justify-self: start; }
  .chapter-photo .photo { aspect-ratio: 16 / 8; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  :root { --header-h: 64px; }
  .promise ul { grid-template-columns: 1fr; }
  .promise li + li { border-left: 0; border-top: 1px solid var(--border); }
  .promise li { padding: 18px 4px; }
  .cards, .cards--2, .safety-grid, .plans, .plans-mini, .people, .people--3 { grid-template-columns: 1fr; }
  .person { flex-direction: row; }
  .person img { width: 38%; aspect-ratio: auto; min-height: 100%; }
  .person__body { padding: 16px; }
  .hero-media { padding-left: 84px; }
  .hero-media .phone { --w: min(30vw, 124px); left: 0; bottom: -28px; }
  .collage .phone { --w: min(34vw, 150px); }
  .collage--right .photo { margin-right: 64px; }
  .collage--left .photo { margin-left: 64px; }
  .phones .phone { --w: min(43vw, 220px); }
  .phones--single .phone { --w: min(72vw, 290px); }
  .phones--overlap .phone + .phone { margin-left: 0; transform: none; }
  .phones { gap: 12px; }
  .store-badges, .store-badges--lg { --badge-h: 44px; gap: 14px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-download .store-badges { flex-direction: row; }
  .compare__table { font-size: .875rem; }
  .compare__table th, .compare__table td { padding: 10px 6px; }
  .compare__table tbody th { padding-left: 12px; width: 50%; }
  .compare__table thead th { font-size: .95rem; }
  .compare__table td { white-space: normal; }
  .cta-photo::before { background: linear-gradient(180deg, rgba(20,16,14,.55) 0%, rgba(20,16,14,.88) 60%); }
  .chapter-photo .photo { aspect-ratio: 4 / 3; }
  .hl { white-space: normal; }
}
