/* Midnight Pro — landing clubs. Mise en page calquée sur Dexora (noir pur, Inter Tight fine,
   cartes translucides, boutons pilules), couleurs Midnight : rose #FF1F8E, touche de violet. */
:root {
  --bg: #000;
  --ink: #fff;
  --gray: #9e9e9e;
  --gray-2: #8a8a8a;
  --dim: #4d4d4d;
  --card: rgba(255, 255, 255, 0.07);
  --card-line: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --pink: #ff1f8e;
  --pink-hover: #ff4fa8;
  --violet: #5b1f8f;
  --radius: 20px;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
sup { font-size: 0.6em; line-height: 0; }
::selection { background: var(--pink); color: #000; }

h1, h2, h3 { margin: 0; font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.04em; }
h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 20px; }
h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; margin-bottom: 12px; }
p { margin: 0; }
.body { color: var(--gray); font-size: 16px; line-height: 1.4; max-width: 46ch; }
.body a { color: #fff; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
section { position: relative; padding: clamp(48px, 6vw, 60px) 0; scroll-margin-top: 90px; }
.head-center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.head-center .body { text-align: center; }

/* badge au-dessus des titres */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 5px 12px 5px 10px; margin-bottom: 20px;
  border-radius: 99px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); flex: none; }

/* boutons pilules */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 22px; border-radius: 50px; border: 0; cursor: pointer;
  font: 400 16px/1.4 var(--font); text-decoration: none; transition: background 0.2s, transform 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: #000; }
.btn-pink:hover { background: var(--pink-hover); }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e9e9e9; }
.btn-black { background: #000; color: #fff; }
.btn-black:hover { background: #1a1a1a; }
.btn-block { width: 100%; }
.btn-arrow { font-size: 14px; line-height: 1; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- nav : pilule blanche flottante ---------- */
.nav { position: fixed; inset: 20px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; gap: 28px; padding: 6px 6px 6px 8px; border-radius: 60px; background: #fff; color: #000; max-width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark { width: 40px; height: 40px; border-radius: 50%; background: #000; display: grid; place-items: center; flex: none; }
.nav-mark svg { width: 22px; height: 22px; }
.nav-logo img { width: 104px; filter: invert(1); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: #000; }
.nav-links a:hover { color: #555; }
.btn-nav { padding: 11px 18px; font-size: 15px; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: clamp(96px, 11vh, 120px) 0 32px; text-align: center; overflow: hidden; display: flex; align-items: center; }
.hero .container { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero .tag { margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.035em; margin-bottom: clamp(20px, 3vh, 32px); }
.hero-glow { position: absolute; top: -120px; left: 50%; width: 1100px; height: 520px; transform: translateX(-62%) rotate(-14deg); pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 31, 142, 0.42), transparent), radial-gradient(closest-side at 70% 60%, rgba(91, 31, 143, 0.55), transparent);
  filter: blur(70px); opacity: 0.55; }

.player-frame { width: min(100%, 1120px, calc((100svh - 400px) * 16 / 9 + 20px)); min-width: min(100%, 560px); padding: 10px; border-radius: 26px; background: var(--card); border: 1px solid var(--card-line); }
.player { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #0b0710; }
.player video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.player:fullscreen { border-radius: 0; display: flex; align-items: center; background: #000; }

/* bouton « activer le son » (lecture auto en muet) */
.sound { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; border: 0; cursor: pointer; color: #000; font: inherit;
  background: rgba(0, 0, 0, 0.28); }
.sound-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; flex: none; animation: ring 1.8s ease-out infinite; transition: transform 0.2s; }
.sound-ic svg { width: 28px; height: 28px; fill: #000; stroke: #000; stroke-width: 2; stroke-linecap: round; }
.sound-txt { display: flex; flex-direction: column; text-align: left; gap: 2px; padding: 12px 18px; border-radius: 14px; background: #fff; font-size: 15px; line-height: 1.3; }
.sound-txt b { font-weight: 500; font-size: 13px; color: #555; }
.sound:hover .sound-ic { transform: scale(1.05); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 31, 142, 0.55); } 100% { box-shadow: 0 0 0 22px rgba(255, 31, 142, 0); } }
.player.has-sound .sound { display: none; }

/* barre de lecture maison : pas d'avance rapide */
.bar { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 99px;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.3s; }
.player:hover .bar, .player.is-paused .bar, .bar:focus-within { opacity: 1; }
.bar[hidden] { display: none; }
.bar-btn { width: 30px; height: 30px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; color: #fff; }
.bar-btn svg { width: 18px; height: 18px; fill: #fff; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bar-btn .i-play { display: none; }
.player.is-paused .bar-btn .i-play { display: block; }
.player.is-paused .bar-btn .i-pause { display: none; }
.bar-track { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.bar-track span { display: block; height: 100%; width: 0; background: var(--pink); }
.bar-time { font-size: 13px; color: #ddd; font-variant-numeric: tabular-nums; min-width: 36px; }

/* verrou : la suite apparaît à la fin de la vidéo */
.gate { width: min(100%, 520px); margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gate-track { width: 100%; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.gate-track span { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s linear; }
.gate-txt { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 14px; }
.gate-txt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.gate-next { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 50px; background: #fff; color: #000; text-decoration: none; animation: nudge 1.6s ease-in-out infinite; }
.gate-next[hidden] { display: none; }
@keyframes nudge { 50% { transform: translateY(5px); } }
body.is-unlocked .gate-track, body.is-unlocked .gate-txt { display: none; }
body.is-locked .locked { display: none; }
body.is-locked .nav-links, body.is-locked .btn-nav { display: none; }
body.is-locked .nav-pill { padding-right: 18px; }

/* écran d'arrivée */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1); clip-path: inset(0 0 0 0); }
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro.is-gone { display: none; }
.intro-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.intro-mark { width: 64px; height: 64px; opacity: 0; transform: scale(0.6) rotate(-40deg); animation: mark-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards; }
.intro-logo { width: 220px; opacity: 0; clip-path: inset(0 100% 0 0); animation: logo-in 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.45s forwards; }
.intro-line { width: 220px; height: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.intro-line span { display: block; height: 100%; width: 0; background: var(--pink); animation: line-in 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards; }
.intro-sub { font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray); opacity: 0; animation: fade-in 0.6s ease 0.9s forwards; }
@keyframes mark-in { to { opacity: 1; transform: none; } }
@keyframes logo-in { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes line-in { to { width: 100%; } }
@keyframes fade-in { to { opacity: 1; } }
.js .hero-in { opacity: 0; transform: translateY(24px); }
.is-ready .hero-in { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.is-ready .hero-in:nth-child(2) { transition-delay: 0.08s; }
.is-ready .hero-in:nth-child(3) { transition-delay: 0.16s; }
.is-ready .hero-in:nth-child(4) { transition-delay: 0.3s; }

/* ---------- règle : chaque section tient dans un écran (hauteur moins la nav) ---------- */
section:not(.hero) { padding: clamp(36px, 7svh, 80px) 0; }
section:not(.hero) h2 { font-size: clamp(32px, min(4.4vw, 7.2svh), 60px); }
.head-center { margin-bottom: clamp(24px, 4.5svh, 48px); }
.head-center h2 { max-width: 20ch; }

/* ---------- pourquoi + chiffres ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about .img-card img { max-height: calc(100svh - 380px); min-height: 220px; object-fit: cover; }
.strip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(28px, 5svh, 56px); padding-top: clamp(20px, 3.5svh, 32px); border-top: 1px solid var(--line); color: var(--gray); font-size: 15px; }
.strip-row span { display: block; color: #fff; font-size: clamp(20px, 3svh, 26px); font-weight: 300; letter-spacing: -0.02em; margin-bottom: 4px; }

/* cartes image (gris translucide, comme les visuels Dexora) */
.img-card { margin: 0; padding: 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); overflow: hidden; }
.img-card img { width: 100%; border-radius: 12px; }

/* ---------- fonctionnement : étapes à gauche, visuel à droite ---------- */
.features-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.steps { list-style: none; margin: clamp(16px, 3svh, 32px) 0 0; padding: 0; display: grid; gap: 4px; }
.step { width: 100%; text-align: left; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: clamp(12px, 2svh, 18px) 0; border: 0; border-top: 1px solid var(--line);
  background: none; color: var(--dim); font: inherit; cursor: pointer; transition: color 0.3s; }
.step-n { font-size: 13px; padding-top: 4px; }
.step-t { font-size: clamp(20px, 2.8svh, 24px); letter-spacing: -0.02em; }
.step-d { grid-column: 2; display: grid; grid-template-rows: 0fr; color: var(--gray); font-size: 15px; opacity: 0; transition: grid-template-rows 0.5s ease, opacity 0.4s ease; }
.step-d > span { overflow: hidden; }
.step-bar { grid-column: 1 / -1; height: 2px; margin-top: 12px; background: transparent; overflow: hidden; }
.step-bar span { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.step:hover { color: #bbb; }
.step.is-on { color: #fff; }
.step.is-on .step-n { color: var(--pink); }
.step.is-on .step-d { grid-template-rows: 1fr; opacity: 1; }
.step.is-on .step-d > span { padding-top: 6px; }
.step.is-on .step-bar { background: rgba(255, 255, 255, 0.08); }
.features.is-running .step.is-on .step-bar span { animation: step-fill 6s linear forwards; }
@keyframes step-fill { to { transform: scaleX(1); } }
.steps-media { position: relative; height: min(calc(100svh - 220px), 620px); min-height: 320px; }
.steps-media > [data-step] { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 12px; opacity: 0; transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.steps-media > img { object-fit: cover; }
.steps-media > img[data-step="2"] { object-position: center 18%; }
.steps-media > .is-on { opacity: 1; transform: none; }
.steps-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.steps-phones img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- Pro : trois cartes sur une ligne ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: clamp(20px, 3svh, 28px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); display: flex; flex-direction: column; overflow: hidden; }
.card h3 { font-size: clamp(22px, 3.2svh, 30px); }
.card .body { margin-bottom: 20px; font-size: 15px; }
.card-img { margin: auto 0 0; border-radius: 12px; overflow: hidden; }
.card-img img { width: 100%; height: clamp(140px, calc(100svh - 640px), 300px); object-fit: cover; object-position: left top; }
.note { text-align: center; color: var(--gray-2); font-size: 13px; margin-top: 14px; }

/* ---------- tarif ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 920px; margin: 0 auto; }
.plan { padding: clamp(22px, 3.5svh, 32px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); display: flex; flex-direction: column; gap: clamp(18px, 3svh, 28px); }
.plan-top h3 { margin-bottom: 10px; }
.price { font-size: clamp(40px, 7svh, 64px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.price small { font-size: 15px; letter-spacing: 0; color: var(--gray); margin-left: 6px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plan .btn { margin-top: auto; }
.plan-hot { background: var(--pink); border-color: var(--pink); color: #000; }
.plan-hot .price small { color: rgba(0, 0, 0, 0.72); }
.plan-hot .checks li::before { background-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF1F8E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(18px, 3svh, 24px) 24px; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { width: 22px; height: 22px; flex: none; border-radius: 4px; background: var(--pink); position: relative; transition: transform 0.3s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: #000; transform: translate(-50%, -50%); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--gray); max-width: 52ch; }

/* ---------- démo ---------- */
.cta { padding: clamp(36px, 7svh, 80px) 0; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.cta-glow { position: absolute; left: 50%; bottom: -260px; width: 900px; height: 420px; transform: translateX(-50%); pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(91, 31, 143, 0.6), transparent 80%), radial-gradient(closest-side at 60% 40%, rgba(255, 31, 142, 0.3), transparent); filter: blur(60px); }
.form { max-width: 640px; margin: 0 auto; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: clamp(10px, 1.8svh, 16px); }
.field label { font-size: 14px; color: var(--gray); }
.opt { color: var(--gray-2); }
.field input, .field textarea { font: 400 16px/1.4 var(--font); color: #fff; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); border-radius: 14px; padding: clamp(10px, 1.6svh, 14px) 16px; resize: vertical; transition: border-color 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: #7d7d7d; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field input[aria-invalid="true"] { border-color: #ff5a4f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { margin-top: 6px; }
.form-msg { margin-top: 14px; min-height: 1.4em; text-align: center; font-size: 15px; }
.form-msg.ok { color: #3ddc84; }
.form-msg.err { color: #ff6b62; }

/* ---------- footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { width: 150px; margin-bottom: 16px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; }
.footer-grid a, .footer-grid span { color: var(--gray); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-h { font-weight: 500; margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: var(--gray-2); font-size: 14px; }

/* ---------- animations au défilement ---------- */
.js .rv { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.9s ease; transition-delay: var(--d, 0s); }
.js .rv-left { transform: translateX(-60px); }
.js .rv-right { transform: translateX(60px); }
.js .rv-scale { transform: translateY(40px) scale(0.94); }
.js .rv.is-in { opacity: 1; transform: none; filter: none; }
/* titres : chaque mot monte derrière un masque */
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i) * 45ms); }
.js .split.is-in .w > span { transform: none; }
/* parallaxe douce des visuels */
.px { overflow: hidden; }
.px img { transform: translateY(var(--py, 0px)) scale(1.08); will-change: transform; }
.nav-pill { transition: transform 0.3s; }
.nav.is-small .nav-pill { transform: scale(0.94); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-pill { gap: 14px; }
  .about-grid, .faq-grid, .features-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 20px; }
  .about .img-card img { max-height: 30svh; min-height: 0; }
  .features-grid { gap: 20px; }
  .steps-media { height: 38svh; min-height: 220px; order: -1; }
  .features-side { display: contents; }
  .features-side .tag, .features-side h2 { order: -2; }
  /* cartes en carrousel horizontal pour tenir dans l'écran */
  .bento, .plans { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 16px; scrollbar-width: none; max-width: none; }
  .bento::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .card, .plan { scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .nav { top: 12px; }
  .nav-logo img { width: 88px; }
  .nav-mark { width: 34px; height: 34px; }
  .btn-nav { padding: 10px 14px; font-size: 14px; }
  .btn-nav .btn-arrow { display: none; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .strip-row { grid-template-columns: 1fr; gap: 10px; font-size: 14px; }
  .strip-row span { display: inline; font-size: 18px; margin-right: 6px; }
  .card-img img { height: 28svh; }
  .card, .plan, .form { padding: 22px; }
  .faq-item summary { padding: 22px; font-size: 16px; }
  .faq-item p { padding: 0 22px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  h1 br { display: none; }
}
@media (max-width: 340px) {
  .nav-logo img { display: none; }
}
@media (max-width: 700px) {
  .hero { padding-top: 96px; }
  .player-frame { padding: 6px; border-radius: 18px; min-width: 0; }
  .player { border-radius: 13px; }
  .sound { flex-direction: column; gap: 10px; }
  .sound-ic { width: 52px; height: 52px; }
  .sound-txt { text-align: center; padding: 8px 12px; font-size: 13px; }
  .sound-txt b { font-size: 11px; }
  .bar { opacity: 1; left: 8px; right: 8px; bottom: 8px; padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .split .w > span, .js .hero-in { opacity: 1; transform: none; filter: none; transition: none; }
  .px img { transform: none; }
  .intro { display: none; }
  .sound-ic, .gate-next { animation: none; }
}
.nowrap { white-space: nowrap; }
.cta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cta-head h2 { margin-bottom: 16px; }
.cta .form { margin: 0; max-width: none; }
@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; gap: 24px; } }
.field { min-width: 0; }
.field input, .field textarea { min-width: 0; width: 100%; }
@media (max-width: 960px) {
  /* dans les carrousels, les cartes hors champ restent visibles */
  .bento .rv, .plans .rv { opacity: 1; transform: none; filter: none; }
  .steps-media { height: 30svh; min-height: 190px; }
  .step { padding: 10px 0; }
  .step-bar { margin-top: 8px; }
}
@media (max-width: 700px) {
  section:not(.hero) { padding: 24px 0; }
  section:not(.hero) h2 { font-size: clamp(28px, 8vw, 34px); margin-bottom: 12px; }
  .tag { margin-bottom: 12px; }
  .about .img-card img { max-height: 24svh; }
  .about .body { font-size: 15px; }
  .strip-row { margin-top: 18px; padding-top: 14px; gap: 6px; }
  .steps-media { height: 26svh; min-height: 170px; }
  .steps { margin-top: 4px; }
  .step-t { font-size: 19px; }
  .step-d { font-size: 14px; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .about .img-card img { max-height: 18svh; }
  .steps-media { height: 22svh; min-height: 140px; }
  .field-msg { display: none; }
  .cta-head .body { display: none; }
}
@media (max-width: 700px) {
  /* hero mobile : contenu collé sous la nav, vidéo bord à bord */
  .hero { min-height: 0; align-items: flex-start; padding: 84px 0 28px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 36px); margin-bottom: 18px; }
  .player-frame { width: calc(100% + 32px); max-width: none; margin: 0 -16px; padding: 0; border: 0; border-radius: 0; background: none; }
  .player { border-radius: 0; }
  .gate { margin-top: 18px; }
}
/* « dans cette vidéo » : seulement sur mobile, pendant le verrou */
.gate-list { display: none; }
@media (max-width: 700px) {
  body.is-locked .gate-list { display: grid; gap: 0; width: 100%; list-style: none; margin: 14px 0 0; padding: 0; text-align: left; }
  .gate-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 300; letter-spacing: -0.01em; }
  .gate-list li:last-child { border-bottom: 1px solid var(--line); }
  .gate-list span { color: var(--pink); font-size: 13px; font-weight: 400; }
}
.bar-speed { min-width: 44px; height: 26px; padding: 0 8px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 99px; background: transparent; color: #fff;
  font: 500 13px/1 var(--font); cursor: pointer; font-variant-numeric: tabular-nums; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.bar-speed:hover { border-color: #fff; }
.bar-speed.is-fast { background: var(--pink); border-color: var(--pink); color: #000; }
/* bouton de format, en haut à droite de la vidéo */
.format { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 0; border-radius: 99px;
  background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 500 13px/1 var(--font); cursor: pointer; transition: background 0.2s; }
.format:hover { background: rgba(0, 0, 0, 0.8); }
.format svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; }
.format .f-h { display: none; }
.player.is-vertical .format .f-h { display: block; }
.player.is-vertical .format .f-v { display: none; }
/* format vertical : même hauteur dispo, largeur en 9:16 */
.player.is-vertical { aspect-ratio: 9 / 16; }
.hero.is-vertical .player-frame { width: calc((100svh - 400px) * 9 / 16 + 20px); min-width: 0; }
@media (max-width: 700px) {
  .format { top: 8px; right: 8px; padding: 6px 12px 6px 8px; }
  .hero.is-vertical .player-frame { width: calc((100svh - 330px) * 9 / 16); max-width: 100%; margin: 0 auto; }
  .hero.is-vertical .gate-list { display: none; }
  .hero.is-vertical .player { border-radius: 14px; }
}

/* =================== Page d'accueil (grand public) =================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-home { min-height: 100svh; padding: clamp(96px, 12vh, 120px) 0 clamp(24px, 4vh, 40px); display: flex; align-items: center; overflow: hidden; }
.hh-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px); align-items: center; width: 100%; }
.hh-text h1 { font-size: clamp(38px, min(5vw, 8.4svh), 72px); margin-bottom: 16px; }
.hh-text .body { margin-bottom: clamp(16px, 2.6svh, 24px); }
.hh-visual { position: relative; display: flex; justify-content: center; }
.hh-visual img { height: min(calc(100svh - 170px), 760px); width: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.js .hero-in.hh-visual { transform: translateY(40px) scale(0.96); }

/* compte à rebours */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 520px; margin-bottom: clamp(18px, 3svh, 28px); }
.countdown div { padding: clamp(10px, 1.8svh, 16px) 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); text-align: center; }
.countdown b { display: block; font-weight: 300; font-size: clamp(30px, min(3.6vw, 6svh), 52px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 6px; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.12em; }
.countdown.is-done b { color: var(--pink); }

/* inscription au concours */
.signup { max-width: 560px; }
.signup-prize { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #ddd; margin-bottom: 12px; }
.signup-prize b { font-weight: 500; color: #fff; }
.signup-row { display: flex; gap: 8px; padding: 6px; border-radius: 60px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s; }
.signup-row:focus-within { border-color: var(--pink); }
.signup-row input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; color: #fff; font: 400 16px/1.4 var(--font); outline: none; }
.signup-row input::placeholder { color: #7d7d7d; }
.signup-row .btn { padding: 14px 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--gray); cursor: pointer; line-height: 1.4; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1px solid #555; background: transparent; cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--pink); }
.check input[aria-invalid="true"] { border-color: #ff5a4f; }
.check a { color: #fff; }
.signup .form-msg { text-align: left; margin-top: 10px; min-height: 1.3em; }
.signup.is-done .signup-row, .signup.is-done .check { display: none; }
.signup.is-done .form-msg { font-size: 17px; }

/* l'app : téléphones sans cadre de carte */
.phones-media { background: none; border: 0; padding: 0; }
.phones-media > img { object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); inset: 0; width: 100%; height: 100%; border-radius: 0; }
.app-tour .steps-media { height: min(calc(100svh - 170px), 720px); }
.app-tour .step { padding: clamp(8px, 1.5svh, 14px) 0; }

/* pourquoi */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-n { color: var(--pink); font-size: 14px; margin-bottom: clamp(24px, 6svh, 64px); display: block; }
.why .card h3 { font-size: clamp(22px, 3.4svh, 30px); }
.why .card .body { margin-bottom: 0; }

/* concours */
.prize { overflow: hidden; }
.prize-glow { position: absolute; left: 22%; top: 50%; width: 700px; height: 700px; transform: translate(-50%, -50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(120, 20, 50, 0.55), transparent); filter: blur(30px); }
.prize-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prize-visual { margin: 0; display: flex; justify-content: center; }
.prize-visual img { height: min(calc(100svh - 220px), 640px); width: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.7)); }
.prize .body { margin-bottom: clamp(16px, 3svh, 24px); }
.prize-facts { list-style: none; padding: 0; margin: 0 0 clamp(18px, 3svh, 28px); display: grid; gap: 10px; }
.prize-facts li { display: flex; align-items: baseline; gap: 12px; color: var(--gray); font-size: 15px; }
.prize-facts b { min-width: 52px; color: #fff; font-weight: 300; font-size: 24px; letter-spacing: -0.02em; }
.fine { margin-top: 14px; font-size: 12px; color: var(--gray-2); max-width: 52ch; }

/* encart clubs dans la FAQ */
.club-card { display: flex; flex-direction: column; gap: 6px; margin-top: clamp(20px, 4svh, 36px); padding: 22px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line);
  text-decoration: none; max-width: 360px; transition: border-color 0.2s; }
.club-card:hover { border-color: var(--pink); }
.club-k { color: var(--gray); font-size: 14px; }
.club-t { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; }
.faq-item p a { color: #fff; }

@media (max-width: 960px) {
  .hh-grid, .prize-grid { grid-template-columns: 1fr; }
  .hh-visual { display: none; }
  .why-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .why-grid::-webkit-scrollbar { display: none; }
  .why .card { scroll-snap-align: start; }
  .why .rv { opacity: 1; transform: none; filter: none; }
  .prize-visual img { height: 30svh; }
  .prize-grid { gap: 12px; }
  .app-tour .steps-media { height: 34svh; }
}
@media (max-width: 700px) {
  .hero-home { min-height: 0; align-items: flex-start; padding-top: 92px; }
  .hh-text h1 { font-size: clamp(34px, 10vw, 42px); }
  .countdown { gap: 6px; }
  .countdown span { font-size: 11px; letter-spacing: 0.06em; }
  .signup-row { flex-direction: column; border-radius: 22px; }
  .signup-row input { padding: 12px 12px; }
  .signup-row .btn { width: 100%; }
  .why-n { margin-bottom: 18px; }
  .prize-facts { gap: 4px; }
  .prize-facts b { font-size: 20px; }
}

/* =================== Pages légales =================== */
.legal { padding: clamp(120px, 16vh, 160px) 0 clamp(60px, 8vh, 100px); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 12px; }
.legal-date { color: var(--gray-2); font-size: 14px; margin-bottom: clamp(32px, 5vh, 56px); }
.legal h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 400; letter-spacing: -0.02em; margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 18px; font-weight: 500; margin: 20px 0 8px; }
.legal p, .legal li { color: #c4c4c4; line-height: 1.6; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; margin: 0 0 12px; }
.legal a { color: #fff; }
.legal-foot { margin-top: 0; padding-top: 0; border: 0; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a { color: var(--gray); text-decoration: none; }
.legal-links a:hover { color: #fff; }
/* accueil : ajustements pour tenir dans un écran */
.app-tour .steps-media { height: min(calc(100svh - 210px), 700px); }
.app-tour .steps { gap: 0; }
@media (max-width: 960px) {
  .app-tour .steps-media { height: 26svh; min-height: 150px; }
  .app-tour .step { padding: 7px 0; }
  .app-tour .step-t { font-size: 17px; }
  .app-tour .step-bar { margin-top: 6px; }
  .prize-visual img { height: 20svh; }
  .prize-facts { display: none; }
  .prize .body { font-size: 15px; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .app-tour .steps-media { height: 20svh; min-height: 120px; }
  .prize-visual img { height: 16svh; }
  .faq-item summary { padding: 16px 20px; }
  .club-card { margin-top: 14px; padding: 16px 20px; }
  .fine { display: none; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .app-tour { padding: 16px 0; }
  .app-tour .steps-media { height: 17svh; min-height: 110px; }
  .app-tour .step { padding: 5px 0; }
  .app-tour .step-bar { display: none; }
}
/* le hero d'accueil garde son propre espacement (plus spécifique que section:not(.hero)) */
main > section.hero-home { padding: clamp(96px, 12vh, 120px) 0 clamp(24px, 4vh, 40px); }
.signup-prize { display: block; }
.signup-prize .tag-dot { display: inline-block; margin-right: 8px; vertical-align: middle; }
@media (max-width: 700px) {
  main > section.hero-home { padding: 88px 0 24px; }
}
.features-side .tag { justify-self: start; }

/* hero accueil : l'iPhone à gagner */
.h-pink { color: var(--pink); font-style: normal; }
.hh-visual { position: relative; }
.hh-visual::before { content: ""; position: absolute; left: 50%; top: 52%; width: 70%; height: 60%; transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 30, 70, 0.55), transparent); filter: blur(40px); }
.hh-visual img { height: min(calc(100svh - 150px), 820px); filter: none; -webkit-mask-image: radial-gradient(ellipse 80% 85% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 80% 85% at 50% 50%, #000 70%, transparent 100%); }
/* halo rose derrière le compte à rebours */
.countdown-wrap { position: relative; max-width: 520px; margin-bottom: clamp(18px, 3svh, 28px); isolation: isolate; }
.countdown-wrap::before { content: ""; position: absolute; inset: -30% -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 31, 142, 0.55), rgba(255, 31, 142, 0.18) 55%, transparent); filter: blur(28px); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: 0.6; transform: scale(0.94); } }
.countdown-wrap .countdown { margin-bottom: 0; }
.countdown-wrap .countdown div { background: rgba(10, 4, 8, 0.72); border-color: rgba(255, 31, 142, 0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.countdown-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: #ffb3d6; margin-bottom: 10px; }
@media (max-width: 960px) {
  .hh-visual { display: flex; order: -1; }
  .hh-visual img { height: 30svh; }
  .hh-grid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .countdown-wrap::before { animation: none; } }
/* barre de lecture des pages légales */
.read-bar { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.read-bar span { display: block; height: 100%; width: 100%; background: var(--pink); transform: scaleX(0); transform-origin: left; }
.legal .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
@media (max-width: 700px) {
  .hh-visual img { height: 24svh; }
  .hh-text .body { display: none; }
  .hh-text h1 { margin-bottom: 14px; }
  .countdown-label { font-size: 11px; margin-bottom: 8px; }
  main > section.hero-home { padding-top: 80px; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .hh-visual img { height: 18svh; }
  .hh-text h1 { font-size: 30px; }
  .countdown div { padding: 8px 4px; }
  .countdown b { font-size: 26px; }
}
/* la photo (fond noir) se fond dans le dégradé du hero */
.hh-visual img { mix-blend-mode: lighten; }
@media (max-width: 960px) { .hh-visual { margin-bottom: 10px; } }
/* halo rose plus franc derrière le compte à rebours */
.countdown-wrap::before { inset: -45% -18%; background: radial-gradient(closest-side, rgba(255, 31, 142, 0.85), rgba(255, 31, 142, 0.35) 50%, transparent); filter: blur(34px); }
.countdown-wrap .countdown div { background: rgba(12, 2, 8, 0.55); border-color: rgba(255, 79, 168, 0.5);
  box-shadow: 0 0 24px rgba(255, 31, 142, 0.35), inset 0 0 18px rgba(255, 31, 142, 0.12); }
.hh-visual { mix-blend-mode: lighten; }
.hh-visual::before { display: none; }
.hh-visual img { mix-blend-mode: normal; }
@media (max-width: 960px) { .hh-visual { margin-bottom: 18px; } }
.countdown-label { text-transform: none; letter-spacing: 0; font-size: 14px; }
