/*
 * GE2 Coach Relais — site vitrine.
 * Direction artistique du deck de présentation : fond presque noir et chaud, lumière ambrée, orange,
 * Plus Jakarta Sans, grands numéros en contour. Un seul thème, sombre, assumé : toutes les couleurs sont fixées.
 */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0a0909;
  --bg-2: #131111;
  --card: rgba(255, 255, 255, 0.035);
  --card-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --fg: #f6f4f3;
  --muted: #c6c0be;
  --dim: #a29a98;
  /* Rouge : fond des boutons (texte blanc, contraste 5:1) ; version claire pour le texte et les contours sur noir (6:1). */
  --accent: #d7261e;
  --accent-hover: #b81d16;
  --accent-text: #ff5a52;
  --accent-rgb: 215 38 30;
  --on-accent: #ffffff;
  --grad: linear-gradient(95deg, #ff7a70 0%, #f2392f 55%, #d7261e 100%);
  --radius: 22px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--fg); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
/* Une rubrique ouverte par un lien du menu s'arrête sous l'en-tête fixe. */
main [id] { scroll-margin-top: 76px; }

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

/* Typographie */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; }
p { margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  margin: 0 0 1.1rem;
  color: var(--accent-text); font-weight: 700; font-size: .82rem; letter-spacing: .32em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.6rem; height: 1.5px; background: var(--accent-text); flex: none; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--muted); margin-top: 1.3rem; max-width: 40rem; line-height: 1.55; }
.fine { color: var(--dim); font-size: .9rem; margin-top: 1.6rem; }
.center { text-align: center; margin-inline: auto; }

/* Boutons et pastilles */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 0; background: none; color: inherit; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-solid:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgb(var(--accent-rgb) / .7); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent-text); }
.actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.actions.center { justify-content: center; }
.pill-note {
  display: inline-block; margin-top: 1rem; padding: .45rem 1rem;
  border: 1px solid rgb(var(--accent-rgb) / .7); border-radius: 999px; color: var(--accent-text); font-weight: 600; font-size: .95rem;
}
.chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.chip { padding: .55rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.chip.solid { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.tag { display: inline-block; margin-bottom: .9rem; padding: .25rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 700; border: 1px dashed var(--line); color: var(--muted); }
.tag.ok { border: 1px solid rgb(var(--accent-rgb) / .75); color: var(--accent-text); }
.link-accent { color: var(--accent-text); font-weight: 700; text-decoration: none; }
.link-accent:hover { text-decoration: underline; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(10, 9, 9, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.top-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.menu { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.menu a:not(.btn) { padding: .6rem .8rem; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--fg); }
.menu .btn { margin-left: .5rem; min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: 700 .95rem var(--font); }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .menu { position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem var(--gutter) 1.2rem; background: rgba(10, 9, 9, .97); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: .85rem .4rem; font-size: 1.05rem; }
  .menu .btn { margin: .6rem 0 0; }
  /* Pages légales : pas de menu à déplier, seul le bouton reste. */
  .menu.menu-static { position: static; display: flex; flex-direction: row; padding: 0; background: none; border: 0; }
  .menu.menu-static a:not(.btn) { display: none; }
  .menu.menu-static .btn { margin: 0; }
}

/* Ouverture */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .26), rgb(var(--accent-rgb) / 0) 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-text { min-width: 0; }
.steps3 { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.steps3 li { border-left: 1.5px solid var(--accent); padding: .2rem 0 .2rem 1.1rem; display: grid; gap: .25rem; }
.steps3 .n { color: var(--accent-text); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; }
.steps3 strong { font-size: 1.12rem; }
.steps3 span:last-child { color: var(--muted); font-size: .98rem; line-height: 1.4; }
/* La colonne du téléphone garde la même taille d'une étape à l'autre : --w est la largeur de la photo. */
.hero-phone { --w: 400px; --k: .493827; display: grid; justify-items: center; width: var(--w); max-width: 100%; }

/* La photo du téléphone (en miroir : tenu comme par un droitier). L'écran HTML (393 x 852, la taille d'un iPhone) est posé sur l'écran de la photo
   par une transformation en perspective calculée sur la photo (site/telephone_ecran.py) ; la scène,
   à la taille de la photo (810 x 1300), est réduite à la largeur affichée : --k = --w / 810.
   Les bords de la photo se fondent dans la page. */
.photo-phone { margin: 0; }
.pp-frame {
  position: relative; width: var(--w);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
  mask-composite: intersect;
}
.pp-photo { display: block; width: 100%; height: auto; }
.pp-stage { position: absolute; left: 0; top: 0; width: 810px; height: 1300px; transform-origin: 0 0; transform: scale(var(--k)); pointer-events: none; }
.pp-screen {
  position: absolute; left: 0; top: 0; width: 393px; height: 852px; overflow: hidden; border-radius: 54px;
  transform-origin: 0 0;
  transform: matrix3d(0.7880818, -0.22453046, 0, -0.0001302452, -0.11918836, 1.054649, 0, -8.8853951e-05, 0, 0, 1, 0, 257.2, 144.6, 0, 1);
  background: #000;
}
.pp-island { position: absolute; left: 133px; top: 15px; width: 118px; height: 32px; border-radius: 16px; background: #000; z-index: 2; }
.pp-island::after { content: ""; position: absolute; left: 12px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b4a6b, #07101c 70%); }
.pp-glare { position: absolute; inset: 0; z-index: 3; background: linear-gradient(238deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, 0) 48%); }

/* Le récit sur l'écran du téléphone (script.js) : WhatsApp en clair, ou les vrais écrans de l'application. */
.pp-content { position: absolute; inset: 0; transition: opacity .35s ease; }
.pp-content.leaving { opacity: 0; }
.app-screen { position: absolute; inset: 0; background: #f6f4f0; overflow: hidden; }
.app-screen img { position: absolute; left: 0; top: 46px; width: 393px; height: 806px; max-width: none; transition: opacity .35s ease; }
.app-screen img.next { opacity: 0; }
.tap { position: absolute; z-index: 1; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(17, 27, 33, .25); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9); animation: tap .7s ease-out both; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* Barre d'état du téléphone */
.st-bar { position: absolute; left: 0; right: 0; top: 0; height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 6px 32px 0 44px; font: 700 16px var(--font); color: #111b21; background: #f6f6f6; z-index: 1; }
.st-bar.dark { background: #0f1114; color: #fff; }
.st-icons { display: flex; gap: 6px; align-items: center; }
.st-icons i { display: block; background: currentColor; }
.st-icons i:nth-child(1) { width: 18px; height: 11px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.st-icons i:nth-child(2) { width: 16px; height: 12px; border-radius: 16px 16px 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.st-icons i:nth-child(3) { width: 26px; height: 13px; border-radius: 4px; background: none; box-shadow: inset 0 0 0 2px currentColor; position: relative; }
.st-icons i:nth-child(3)::after { content: ""; position: absolute; inset: 3px 7px 3px 3px; border-radius: 1.5px; background: currentColor; }

/* WhatsApp (iPhone, thème clair) */
.wa-screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: #efeae2; color: #111b21; font: 400 16px/1.34 var(--font); letter-spacing: 0; text-align: left; }
.wa-top { flex: none; padding-top: 46px; background: #f6f6f6; border-bottom: 1px solid #dedede; }
.wa-head { display: flex; align-items: center; gap: 9px; padding: 4px 12px 9px; }
.wa-back { display: flex; align-items: center; gap: 4px; color: #007aff; font-size: 30px; line-height: 1; }
.wa-back small { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #007aff; color: #fff; font: 600 13px var(--font); }
.wa-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #111; color: #fff; font: 800 13px var(--font); flex: none; }
.wa-av b { color: #ff5a52; }
.wa-who { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.wa-who strong { display: flex; align-items: center; gap: 5px; font-size: 17px; font-weight: 700; }
.wa-who small { color: #667781; font-size: 13px; }
.wa-ok { width: 16px; height: 16px; border-radius: 50%; background: #25d366; position: relative; flex: none; }
.wa-ok::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wa-acts { display: flex; gap: 18px; color: #007aff; }
.wa-acts i { display: block; width: 22px; height: 15px; border: 2px solid currentColor; border-radius: 4px; }
.wa-acts i + i { width: 18px; height: 18px; border-radius: 50% 50% 50% 8px; }
.wa-chat {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 10px 12px 12px; overflow: hidden;
  background-image: radial-gradient(rgba(17, 27, 33, .06) 1.3px, transparent 1.3px); background-size: 20px 20px;
}
.wa-chat > * { margin: 0; flex: none; }
.wa-sys { align-self: center; max-width: 88%; padding: 6px 10px; border-radius: 8px; background: #fff5c4; color: #54656f; font-size: 12.5px; text-align: center; }
.wa-date { align-self: center; padding: 3px 10px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12.5px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa-b { position: relative; max-width: 84%; padding: 7px 10px 6px; border-radius: 4px 12px 12px 12px; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); overflow-wrap: anywhere; }
.wa-b.out { align-self: flex-end; background: #d9fdd3; border-radius: 12px 4px 12px 12px; }
.wa-b time { float: right; margin: 7px 0 -4px 10px; color: #667781; font-size: 11.5px; }
.wa-b.out time::after { content: " ✓✓"; color: #53bdeb; letter-spacing: -2px; }
.wa-b .link { color: #027eb5; }
.wa-btns { display: grid; gap: 3px; max-width: 84%; margin-top: -4px; }
.wa-btns span { padding: 9px 6px; border-radius: 8px; background: #fff; color: #027eb5; text-align: center; font-weight: 600; font-size: 15px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); transition: background-color .2s ease; }
.wa-btns span::before { content: "↩ "; }
.wa-btns span.pressed { background: #e2e2e2; }
.wa-voice { display: flex; align-items: center; gap: 9px; min-width: 230px; }
.wa-voice .vplay { width: 0; height: 0; border-left: 13px solid #54656f; border-top: 8px solid transparent; border-bottom: 8px solid transparent; flex: none; }
.wa-voice .wave { flex: 1; height: 24px; background: repeating-linear-gradient(90deg, #8696a0 0 2.5px, transparent 2.5px 5.5px); clip-path: polygon(0 40%, 6% 20%, 12% 45%, 18% 10%, 24% 35%, 30% 0, 36% 30%, 42% 15%, 48% 40%, 54% 5%, 60% 35%, 66% 20%, 72% 45%, 78% 25%, 84% 40%, 90% 30%, 100% 42%, 100% 58%, 90% 70%, 84% 60%, 78% 75%, 72% 55%, 66% 80%, 60% 65%, 54% 95%, 48% 60%, 42% 85%, 36% 70%, 30% 100%, 24% 65%, 18% 90%, 12% 55%, 6% 80%, 0 60%); }
.wa-voice .mic { width: 30px; height: 30px; border-radius: 50%; background: #c8d6cf; display: grid; place-items: center; flex: none; }
.wa-voice .mic::after { content: ""; width: 7px; height: 12px; border-radius: 4px; background: #34b7f1; }
.wa-typing { display: flex; gap: 4px; padding: 12px 14px; }
.wa-typing i { width: 8px; height: 8px; border-radius: 50%; background: #8696a0; animation: typing 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.wa-pop { animation: wa-pop .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-input { flex: none; display: flex; align-items: center; gap: 12px; padding: 8px 12px 30px; background: #f6f6f6; color: #007aff; }
.wa-input span { flex: 1; padding: 7px 14px; border-radius: 18px; background: #fff; color: #8696a0; border: 1px solid #e3e3e3; }
.wa-input b { font-size: 26px; font-weight: 400; line-height: 1; }
.wa-input i { width: 13px; height: 20px; border-radius: 7px; border: 2px solid currentColor; }
@media (prefers-reduced-motion: reduce) {
  .wa-pop, .tap { animation: none; }
  .wa-typing i { animation: none; opacity: .6; }
  .pp-content, .app-screen img { transition: none; }
}

/* Titres de l'étape, au-dessus du téléphone */
.story-caption { width: 100%; height: 8.6rem; display: grid; align-content: end; gap: .3rem; text-align: left; margin-bottom: .6rem; }
.story-caption .eyebrow { margin: 0; }
.story-title { font-weight: 800; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.story-owner { color: var(--muted); font-size: .92rem; font-weight: 600; }
.story-owner::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .45rem; border-radius: 50%; background: #25d366; vertical-align: .05em; }
.story-owner.app::before { background: var(--accent-text); }

/* Commandes du récit, sous le téléphone */
.story-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .25rem; margin-top: -2.2rem; position: relative; }
.story-controls[hidden] { display: none; }
.story-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .3rem .85rem .3rem .35rem; border-radius: 999px;
  border: 1px solid rgb(var(--accent-rgb) / .7); background: rgba(10, 9, 9, .7); color: var(--fg); font: 700 .95rem var(--font); cursor: pointer;
}
.story-toggle .pp-icon { width: 32px; height: 32px; }
.story-toggle[aria-pressed="false"] .pp-icon::after { border: 0; width: 11px; height: 13px; margin-left: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.story-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10, 9, 9, .7); color: var(--fg); font: 400 1.6rem/1 var(--font); cursor: pointer; }
.story-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; }
.story-dots button { width: 24px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.story-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color .2s ease, transform .2s ease; }
.story-dots button[aria-current="step"]::before { background: var(--accent-text); transform: scale(1.3); }
.story-video { margin-top: .7rem; }
.pill-ghost {
  min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 9, 9, .7);
  color: var(--fg); font: 700 .95rem var(--font); cursor: pointer;
}
.pill-ghost:hover, .story-nav:hover, .story-toggle:hover { border-color: var(--muted); }
.pp-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); flex: none; }
.pp-icon::after { content: ""; border-left: 12px solid #fff; border-top: 7.5px solid transparent; border-bottom: 7.5px solid transparent; margin-left: 3px; }

/* La vidéo en grand, dans une fenêtre de la page */
.video-dialog { width: min(92vw, 1100px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: var(--fg); overflow: visible; }
.video-dialog.portrait { width: min(92vw, calc(82vh * 9 / 16)); }
.video-dialog::backdrop { background: rgba(5, 4, 4, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-dialog video { display: block; width: 100%; max-height: 82vh; border-radius: 18px; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.dialog-close {
  position: absolute; top: -58px; right: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: var(--fg); font: 400 30px/1 var(--font); cursor: pointer;
}
.dialog-close:hover { background: rgba(255, 255, 255, .18); }

.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); box-shadow: 0 0 0 12px rgb(var(--accent-rgb) / .25);
  display: grid; place-items: center; transition: transform .15s ease, background-color .15s ease;
}
.play span { width: 0; height: 0; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.play:hover { background: var(--accent-hover); transform: translate(-50%, -50%) scale(1.05); }
.play.big { top: 50%; width: 104px; height: 104px; }

/* Bandeau photo */
.banner { position: relative; min-height: clamp(26rem, 52vw, 40rem); display: grid; align-items: end; overflow: hidden; }
.banner picture, .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 9, .92) 0%, rgba(10, 9, 9, .55) 45%, rgba(10, 9, 9, .1) 100%), linear-gradient(0deg, rgba(10, 9, 9, .95) 0%, rgba(10, 9, 9, 0) 45%); }
.banner-text { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 6rem); }

/* Sections */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section.alt { background: var(--bg-2); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { max-width: 52rem; }
.section-head.center h2 { margin-inline: auto; }

/* Le parcours, chapitre par chapitre */
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chapter + .chapter { margin-top: clamp(4rem, 9vw, 7.5rem); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media { position: relative; min-width: 0; }
.chapter-media > img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); max-height: 640px; object-fit: cover; }
.chapter-media.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.chapter-media.screens img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.chapter-media.screens img:last-child { margin-top: 3rem; }
.chapter-text { min-width: 0; }
.chapter-text > p:not(.eyebrow):not(.big-n):not(.pill-note) { color: var(--muted); font-size: 1.12rem; margin-top: 1.1rem; max-width: 34rem; }
.chapter.wide { grid-template-columns: minmax(0, 1fr); }
.chapter.wide .chapter-media > img { max-height: 560px; }
.chapter.wide .chapter-text { max-width: 46rem; }
.big-n {
  font-size: clamp(4.2rem, 9vw, 7.5rem); font-weight: 300; line-height: .9; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgb(255 90 82 / .9);
  margin-bottom: .6rem;
}
.big-n.sm { font-size: 3.4rem; margin-bottom: 1rem; }
.n-out { color: transparent; -webkit-text-stroke: 1.2px rgb(255 90 82 / .95); font-weight: 400; margin-right: .7rem; letter-spacing: -0.02em; }

/* Listes à puces orange */
.dots { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.dots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.dots li { position: relative; padding-left: 1.4rem; font-weight: 600; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgb(var(--accent-rgb) / .75); }

/* Maquette de conversation WhatsApp */
.wa {
  margin: 1.8rem 0 0; max-width: 25rem; border-radius: 20px; overflow: hidden;
  background: #efeae2; color: #111b21; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); font-size: .95rem;
}
.wa-head { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: #f6f6f6; border-bottom: 1px solid #ddd; }
.wa-head strong { display: block; font-size: 1rem; }
.wa-head small { color: #54656f; }
.wa-av { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #111b21; color: #fff; font-weight: 800; font-size: .8rem; }
.wa-body { display: grid; gap: .45rem; padding: .9rem; background-image: radial-gradient(rgba(17, 27, 33, .06) 1px, transparent 1px); background-size: 14px 14px; }
.wa .b { max-width: 88%; padding: .5rem .75rem; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); line-height: 1.4; }
.wa .b.out { justify-self: end; background: #d9fdd3; border-radius: 14px 4px 14px 14px; }
.wa .qr { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; max-width: 88%; }
.wa .qr span { background: #fff; color: #027eb5; text-align: center; font-weight: 600; padding: .45rem; border-radius: 12px; box-shadow: 0 1px 1px rgba(0, 0, 0, .12); font-size: .9rem; }
.wa .voice { display: block; width: 11rem; height: 1.6rem; background: radial-gradient(circle at .8rem 50%, #00a884 .55rem, transparent .58rem), repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px) 2rem 50% / calc(100% - 2rem) 60% no-repeat; }

/* Cartes */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.card { min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.card h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.card > p:not(.tag):not(.eyebrow):not(.big-n):not(.amount):not(.eco-name) { color: var(--muted); margin-top: .8rem; }

.proof { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.2rem; margin-top: 1.4rem; }
.proof-card { background: linear-gradient(140deg, rgb(var(--accent-rgb) / .14), rgba(255, 255, 255, .03)); border: 1px solid rgb(var(--accent-rgb) / .4); border-radius: var(--radius); padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.stat { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; }
.stat strong { font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--muted); max-width: 22rem; }

/* La vidéo en grand */
.cinema { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.cinema .poster, .cinema video { width: 100%; height: 100%; object-fit: cover; }
.cinema .poster { filter: brightness(.55); }
.cinema figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.4rem; color: var(--muted); font-size: .9rem; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); }
.cinema.playing figcaption { display: none; }

/* Tarifs */
.price .amount { display: grid; gap: .1rem; margin: 1.4rem 0 .4rem; }
.price .amount span { color: var(--dim); font-size: .95rem; }
.price .amount strong { font-size: clamp(2.8rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ptable { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: .62rem 0; border-bottom: 1px solid var(--line); text-align: right; font-weight: 600; }
.ptable th:first-child { text-align: left; }
.ptable thead th { padding-top: 0; color: var(--dim); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ptable tbody th { font-weight: 600; }
.ptable td + td { padding-left: 1rem; }
.ptable .best th, .ptable .best td { color: var(--accent-text); font-weight: 800; }
.price.featured { border-color: rgb(var(--accent-rgb) / .6); background: linear-gradient(160deg, rgb(var(--accent-rgb) / .12), rgba(255, 255, 255, .03)); }

/* Le pilote */
.pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.how { list-style: none; margin: 0; display: grid; gap: 1.4rem; }
.how li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); align-items: start; font-size: 1.1rem; line-height: 1.45; }
.how .n-out { font-size: 2.6rem; line-height: 1; }

/* Écosystème */
.eco-name { font-weight: 800; font-size: 1.9rem; letter-spacing: .06em; margin-bottom: 1.4rem; }
.ge2-train { background: var(--accent); color: var(--on-accent); padding: .1rem .55rem; border-radius: 6px; margin-right: .3rem; letter-spacing: 0; }
.eco-sub { display: inline-block; font-size: .95rem; letter-spacing: .5em; margin-left: .4rem; font-weight: 600; color: var(--muted); }

/* Final : la demande de démonstration */
.final { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0; }
.final picture, .final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 9, .9) 0%, rgba(10, 9, 9, .82) 50%, rgba(10, 9, 9, .9) 100%); }
.final-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.final-text { min-width: 0; }
.final h2 { max-width: 30rem; }
.final .dots { margin-top: 1.8rem; }
.contact { margin-top: 1.4rem; color: var(--muted); font-weight: 600; }
.contact a { color: var(--accent-text); }

.demo-form {
  min-width: 0; display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius);
  background: rgba(16, 14, 14, .92); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.demo-form h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.formats { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.formats legend { padding: 0; margin-bottom: .7rem; font-weight: 700; }
.format { position: relative; display: block; cursor: pointer; }
.format input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.format span { display: grid; gap: .15rem; height: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); transition: border-color .15s ease, background-color .15s ease; }
.format strong { font-size: 1.02rem; }
.format small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.format input:checked + span { border-color: var(--accent-text); background: rgb(var(--accent-rgb) / .14); }
.format input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.form-note { color: var(--dim); font-size: .88rem; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .9rem 1rem; align-items: end; }
.field { margin: 0; display: grid; gap: .35rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .opt { color: var(--dim); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05); color: var(--fg); font: 500 1rem var(--font);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: #1a1717; color: var(--fg); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--accent-text); }
.field-error { color: var(--accent-text); font-size: .9rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .btn { justify-self: start; }
.demo-form .btn[aria-disabled="true"] { opacity: .7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.form-status.error { color: var(--accent-text); }
.demo-form .fine { margin: 0; }
.demo-form .fine a { color: var(--muted); }
.demo-done { display: grid; gap: .8rem; }
.demo-done h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.demo-done p { color: var(--muted); }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 2.4rem 0 calc(2.4rem + env(safe-area-inset-bottom, 0px)); }
.foot-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: center; }
.foot-inner img { height: 40px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; justify-content: flex-end; }
.foot nav a { color: var(--muted); text-decoration: none; padding: .4rem 0; font-weight: 600; }
.foot nav a:hover { color: var(--fg); text-decoration: underline; }
.foot .fine { grid-column: 1 / -1; margin: 0; }

/* Pages légales */
.legal { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.legal .wrap { max-width: 52rem; }
.legal h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
.legal section { margin-top: clamp(2.4rem, 5vw, 3.4rem); padding-top: clamp(2rem, 4vw, 2.8rem); border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 1rem; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: .9rem; }
.legal ul { margin: .9rem 0 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal strong { color: var(--fg); }
.legal a { color: var(--accent-text); }
.legal .back { display: inline-block; margin-top: 3rem; }

/* Apparition douce au défilement (seulement si le script tourne et si l'animation est acceptée) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* Écrans moyens et téléphones */
@media (max-width: 960px) {
  .hero-phone { --w: 340px; --k: .419753; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-phone { margin-top: 1rem; }

  .chapter, .chapter.flip { grid-template-columns: minmax(0, 1fr); }
  .chapter.flip .chapter-media { order: 0; }
  .cards3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pilot { grid-template-columns: minmax(0, 1fr); }
  .final-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2.2rem; }
  .cards3, .cards2, .proof { grid-template-columns: minmax(0, 1fr); }
  .dots.two { grid-template-columns: minmax(0, 1fr); }
  .chapter-media.screens img:last-child { margin-top: 2rem; }
  .eyebrow { letter-spacing: .22em; font-size: .78rem; }
  .eyebrow::before { width: 1.8rem; }
  .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .foot nav { justify-content: flex-start; }
  .ptable thead th { letter-spacing: .08em; font-size: .7rem; }
  .play.big { width: 80px; height: 80px; }
  .hero-phone { --w: 280px; --k: .345679; width: 100%; }
  .story-caption { height: auto; min-height: 8.6rem; }
  .story-toggle { padding: .3rem; }
  .story-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fields, .formats { grid-template-columns: minmax(0, 1fr); }
  .play { width: 72px; height: 72px; }
  .play span { border-left-width: 22px; border-top-width: 13px; border-bottom-width: 13px; margin-left: 5px; }
  .banner::after { background: linear-gradient(0deg, rgba(10, 9, 9, .97) 0%, rgba(10, 9, 9, .8) 50%, rgba(10, 9, 9, .3) 100%); }
  .chapter-media > img { max-height: 440px; }
}
@media (max-width: 340px) {
  .hero-phone { --w: 240px; --k: .296296; }
}
