/*
  Version 3 — « bande-annonce ».
  La vidéo occupe tout l'écran, le texte est posé dessus en lettres très étroites,
  pleines puis en contour. Les éléments apparaissent au fil du défilement.
  Palette des vidéos : bleu électrique froid + or chaud, nuit profonde, grain de pellicule.
*/
/* Polices hébergées sur le site (pas d'appel à Google : aucune donnée envoyée à un tiers) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-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;
}
:root {
  --night: #060914;
  --night-2: #0b1022;
  --panel: #111a35;
  --line: rgba(150, 175, 255, 0.16);
  --ice: #edf1fb;
  --muted: #94a0bf;
  --blue: #3d7dff;
  --blue-glow: rgba(61, 125, 255, 0.45);
  --gold: #f2b441;

  --font: "Archivo", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
  --max: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--ice);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grain de pellicule fin */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
a { color: inherit; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* Titres : Archivo très étroit, très gras, en capitales */
.display, h1, h2 {
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.86;
}
.outline { color: transparent; -webkit-text-stroke: 2px var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  background: var(--gold);
  color: #160f02;
  font-weight: 650;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}
/* Balayage de lumière au survol */
.btn::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--ice);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn.line {
  background: transparent;
  color: var(--ice);
  box-shadow: inset 0 0 0 1px rgba(237, 241, 251, 0.35);
}
.btn.line::before { background: var(--blue); }
.btn.small { padding: 10px 18px; font-size: 0.92rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 9, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand {
  font-stretch: 62%;
  font-weight: 900;
  font-size: 1.55rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  color: rgba(237, 241, 251, 0.78);
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--ice); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Intro (première visite) ---------- */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.loader i {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--night);
  transition: transform 1s var(--ease);
}
.loader i:first-child { top: 0; }
.loader i:last-of-type { bottom: 0; }
.loader b {
  position: absolute;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: 18px;
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(5rem, 16vw, 13rem);
  line-height: 0.8;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease;
}
.loader b small { font-size: 0.4em; color: var(--gold); }
.loader.open i:first-child { transform: translateY(-100%); }
.loader.open i:last-of-type { transform: translateY(100%); }
.loader.open b { opacity: 0; }

/* ---------- Haut de page ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 120px 72px;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}
/* Vidéo YouTube agrandie pour couvrir l'écran, sans interface visible */
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-media video.playing { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 20, 0.92) 0%, rgba(6, 9, 20, 0.55) 45%, rgba(6, 9, 20, 0.15) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(6, 9, 20, 0) 45%);
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(3.8rem, 11.5vw, 11rem); margin-bottom: 32px; }
.hero h1 .l { display: block; overflow: hidden; padding-bottom: 0.03em; padding-top: 0.14em; margin-top: -0.07em; }  /* place pour les accents (É) */
.hero h1 .l > span { display: inline-block; }
.hero-sub {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
}
.hero-sub p { max-width: 30em; color: rgba(237, 241, 251, 0.82); font-size: 1.12rem; }
.hero-sub .accroche { color: var(--gold); font-weight: 700; font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bandeaux défilants croisés ---------- */
.ribbons {
  position: relative;
  height: clamp(200px, 22vw, 280px);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ribbon {
  position: absolute;
  left: -5%; right: -5%;
  padding-block: 16px;
  overflow: hidden;
  white-space: nowrap;
}
.ribbon.a { background: var(--blue); transform: rotate(-3.5deg); z-index: 1; box-shadow: 0 0 60px var(--blue-glow); }
.ribbon.b { background: var(--gold); color: var(--night); transform: rotate(2.5deg); }
.ribbon .track { display: inline-flex; animation: defile 38s linear infinite; }
.ribbon.b .track { animation-direction: reverse; animation-duration: 44s; }
.ribbon span {
  font-stretch: 62%;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  padding-right: 0.9em;
}
.ribbon span::after { content: "/"; padding-left: 0.9em; opacity: 0.45; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding-block: 120px; }
.band { background: var(--night-2); }
.head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 64px;
  margin-bottom: 56px;
}
.head h2 { font-size: clamp(3rem, 7.5vw, 6.8rem); }
.head p { max-width: 30em; color: var(--muted); }

/* Réalisations : piste horizontale */
.reel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.reel-track::-webkit-scrollbar { display: none; }
.card {
  position: relative;
  flex: 0 0 clamp(250px, 27vw, 340px);
  aspect-ratio: 9 / 16;
  max-width: 82vw;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--panel);
}
.card iframe, .card video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 64px 20px 20px;
  background: linear-gradient(0deg, rgba(6, 9, 20, 0.92), transparent);
  pointer-events: none;
}
.card .cap strong { display: block; font-stretch: 62%; font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 0.9; }
.card .cap span { color: var(--muted); font-size: 0.92rem; }
.card.slot {
  background:
    radial-gradient(ellipse 90% 55% at 50% 35%, rgba(61, 125, 255, 0.22), transparent 70%),
    var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.card.slot .soon {
  position: absolute; top: 20px; left: 20px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(242, 180, 65, 0.4);
}
.card.slot .cap strong { color: rgba(237, 241, 251, 0.35); font-size: 3.2rem; }
.track-nav { display: flex; gap: 10px; margin-top: 24px; }
.track-nav button {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.track-nav button:hover { border-color: var(--gold); background: rgba(242, 180, 65, 0.08); }
.track-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* L'offre : chiffres en grand */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat { padding: 32px 32px 40px 0; min-width: 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat .big { font-size: clamp(4rem, 9vw, 8.5rem); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat .big small { font-size: 0.45em; margin-left: 0.08em; }
.stat.price .big { color: var(--gold); }
.stat p { color: var(--muted); margin-top: 10px; max-width: 22em; }
.offer-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  margin-top: 64px;
}
.offer-more h3 { font-size: 1.1rem; font-weight: 650; margin-bottom: 16px; }
.offer-more p { color: var(--muted); max-width: 30em; margin-bottom: 24px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Déroulé : frise de 5 jours, les barres se tracent à l'apparition */
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 8px; }
.timeline .day { grid-row: 1; padding-bottom: 12px; color: var(--muted); font-size: 0.9rem; }
.phase { grid-row: 2; min-width: 0; padding-right: 28px; }
.phase .bar { height: 6px; background: var(--blue); margin-bottom: 26px; transform-origin: left; }
.phase.p1 { grid-column: 1 / 2; }
.phase.p2 { grid-column: 2 / 5; }
.phase.p3 { grid-column: 5 / 6; padding-right: 0; }
.phase.p3 .bar { background: var(--gold); }
.phase h3 { font-stretch: 62%; font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 0.95; margin-bottom: 10px; }
.phase p { color: var(--muted); max-width: 28em; }
.phase .when { display: none; color: var(--muted); font-size: 0.9rem; margin-bottom: 6px; }

/* Questions fréquentes */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 26px;
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.8rem; font-weight: 300; line-height: 1;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 42em; padding-bottom: 28px; }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 60%, rgba(61, 125, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.contact .wrap { position: relative; }
.contact h2 { font-size: clamp(3.6rem, 12vw, 12rem); margin-bottom: 40px; }
.contact-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 48px;
}
.contact-row p { color: var(--muted); max-width: 28em; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.mail { user-select: all; overflow-wrap: anywhere; }

/* Pied de page */
footer { padding-block: 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Mentions légales */
.legal { padding-block: 150px 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(3.2rem, 8vw, 6rem); margin-bottom: 48px; }
.legal h2 { font-size: 2rem; margin: 44px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 8px; }
.todo { color: var(--gold); }


/* Mention IA (AI Act art. 50) */
.ai-note { margin-top: 18px; font-size: 0.85rem; color: var(--muted); }
.ai-note::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--gold); border-radius: 50%; vertical-align: 1px; }

/* Visuels : grille de photos */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 960px; margin: 0 auto; }
.gallery figure { margin: 0; }
.gallery:not(.tout) figure:nth-child(n+10) { display: none; }
.plus { text-align: center; margin: 28px 0 0; }
.gallery figure { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* Formules d'abonnement */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { padding: 36px 32px 40px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(17, 26, 53, 0.35); min-width: 0; display: flex; flex-direction: column; }
.plan.main { box-shadow: inset 0 0 0 1px rgba(242, 180, 65, 0.55); background: linear-gradient(180deg, rgba(61, 125, 255, 0.12), rgba(17, 26, 53, 0.35)); }
.plan .tag { align-self: flex-start; font-size: 0.8rem; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(242, 180, 65, 0.4); padding: 4px 10px; margin-bottom: 18px; }
.plan h3 { font-size: 1.15rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.plan .big { font-size: clamp(3.4rem, 6vw, 5.2rem); margin: 10px 0 4px; white-space: nowrap; }
.plan .big small { font-size: 0.38em; margin-left: 0.1em; color: var(--muted); }
.plan.main .big { color: var(--gold); }
.plan .sub { color: var(--muted); margin-bottom: 22px; font-size: 0.95rem; }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.offer-foot { margin-top: 28px; color: var(--muted); max-width: 52em; }
.offer-foot strong { color: var(--ice); font-weight: 600; }
.pionnieres { margin-top: 28px; max-width: 46em; padding: 18px 22px; border-left: 4px solid var(--gold); background: rgba(255,255,255,0.04); }
.pionnieres h3 { font-stretch: 62%; font-weight: 900; font-size: 1.8rem; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.pionnieres p { color: var(--muted); margin: 6px 0; }
.pionnieres .pack-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.pionnieres strong { color: var(--ice); font-weight: 600; }

/* ---------- Apparitions (actives seulement si le script tourne) ---------- */
.js .hero h1 .l > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.09s + 0.1s); }
.js .hero-sub { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease 0.55s, transform 0.9s var(--ease) 0.55s; }
.js.ready .hero h1 .l > span { transform: none; }
.js.ready .hero-sub { opacity: 1; transform: none; }

.js .rv { opacity: 0; transform: translateY(48px); transition: opacity 0.9s ease, transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 0.1s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-mask { overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; }  /* place pour les accents (É, À) */
.js .rv-mask > * { display: block; transform: translateY(102%); transition: transform 1.1s var(--ease); }
.js .rv-mask.in > * { transform: none; }
.js .phase .bar { transform: scaleX(0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 0.35s); }
.js .phase.in .bar { transform: scaleX(1); }

/* ---------- Responsive ---------- */
/* ---------- Pourquoi l'IA / Énergie : barres comparatives ---------- */
.compare, .co2 { display: grid; gap: 28px; margin-bottom: 48px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 13rem); gap: 12px 28px; align-items: center; }
.cmp-label strong { display: block; font-weight: 650; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; }
.cmp-label span { color: var(--muted); font-size: 0.88rem; }
.cmp-track { position: relative; height: 34px; background: rgba(17, 26, 53, 0.5); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-bar { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); transform-origin: left; }
.cmp-max { background: repeating-linear-gradient(135deg, rgba(61, 125, 255, 0.55) 0 8px, rgba(61, 125, 255, 0.25) 8px 16px); }
.cmp-min { background: var(--blue); z-index: 1; box-shadow: 0 0 24px var(--blue-glow); }
.cmp-us { background: var(--gold); min-width: 6px; box-shadow: 0 0 22px rgba(242, 180, 65, 0.55); }
.cmp-val { font-size: clamp(1.9rem, 3.4vw, 2.8rem); white-space: nowrap; }
.cmp-val small { font-size: 0.4em; margin-left: 0.3em; color: var(--muted); }
.gold { color: var(--gold); }
.js .cmp-bar { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .cmp-min { transition-delay: 0.5s; }
.js .cmp-row + .cmp-row .cmp-bar { transition-delay: 0.9s; }
.js .in .cmp-bar { transform: scaleX(1); }
.cost-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cost-detail { box-shadow: inset 0 0 0 1px var(--line); padding: 22px 26px; background: rgba(17, 26, 53, 0.35); }
.cost-detail summary { cursor: pointer; font-weight: 650; }
.cost-table { width: 100%; border-collapse: collapse; margin: 18px 0 14px; font-size: 0.95rem; }
.cost-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.cost-table td + td { text-align: right; white-space: nowrap; padding-left: 16px; }
.cost-table .tot td { font-weight: 700; color: var(--ice); border-bottom: 0; padding-top: 12px; }
.src { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.src a, .dc a { color: var(--ice); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 64px; }
.kpi { padding: 30px 28px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(17, 26, 53, 0.35); }
.kpi .display { display: block; font-size: clamp(3rem, 5.5vw, 4.6rem); color: var(--gold); margin-bottom: 12px; }
.kpi p { color: var(--muted); font-size: 0.95rem; }
.co2 h3 { font-size: 1.15rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; }
.cmp-note { color: var(--muted); }
.cmp-note strong { color: var(--gold); }
.dc { max-width: 52em; display: grid; gap: 18px; }
.dc p:first-child { font-size: 1.1rem; }
@media (max-width: 900px) {
  .cmp-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cmp-track { grid-column: 1 / -1; grid-row: 2; }
  .cost-grid, .kpis { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  section { padding-block: 88px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 28px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .offer-more { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: 6px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline .day { display: none; }
  .phase, .phase.p1, .phase.p2, .phase.p3 { grid-column: 1; grid-row: auto; position: relative; padding: 0 0 40px 30px; }
  .phase .bar { position: absolute; left: 0; top: 4px; bottom: 0; width: 4px; height: auto; margin: 0; transform-origin: top; }
  .js .phase .bar { transform: scaleY(0); }
  .js .phase.in .bar { transform: scaleY(1); }
  .phase .when { display: block; }
}
@media (max-width: 520px) {
  .brand { font-size: 1.3rem; }
  .nav .wrap { height: 64px; }
  .hero { padding-block: 100px 48px; }
  .hero-media::after {
    background: linear-gradient(0deg, var(--night) 8%, rgba(6, 9, 20, 0.55) 60%, rgba(6, 9, 20, 0.35) 100%);
  }
  .outline { -webkit-text-stroke-width: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon .track { animation: none; }
  .js .rv, .js .rv-mask > *, .js .hero h1 .l > span, .js .hero-sub, .js .phase .bar, .js .cmp-bar { transform: none !important; opacity: 1 !important; transition: none !important; }
  .btn::before { transition: none; }
}

/* Petits écrans : le bouton du menu reste sur une ligne */
@media (max-width: 520px) {
  .nav-links .btn.small { padding: 9px 12px; font-size: 0.82rem; white-space: nowrap; }
  .brand { font-size: 1.1rem; }
  .plan { padding: 28px 22px 32px; }
}
.u { text-transform: none; }
.solo { margin-top: 56px; max-width: 46em; padding-left: 24px; border-left: 4px solid var(--gold); }
.solo h3 { font-stretch: 62%; font-weight: 900; font-size: 2.2rem; text-transform: uppercase; line-height: 0.95; margin-bottom: 14px; }
.solo p { color: var(--ice); font-size: 1.08rem; }

/* ---------- Formulaire de brief ---------- */
.brief .intro { max-width: 46em; color: var(--ice); margin-bottom: 24px; }
.brief form { max-width: 46em; }
.brief fieldset { border: 1px solid rgba(255,255,255,0.12); padding: 16px 18px 8px; margin: 0 0 20px; }
.brief legend { font-weight: 700; padding: 0 6px; color: var(--ice); }
.brief label { display: block; margin: 0 0 14px; color: var(--muted); }
.brief input:not([type=radio]):not([type=checkbox]), .brief textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px;
  font: inherit; color: var(--ice); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.18); border-radius: 4px; }
.brief textarea { resize: vertical; }
.brief input:focus, .brief textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.brief .choix label, .brief .case { display: flex; gap: 10px; align-items: flex-start; }
.brief .aide { font-size: 0.92rem; color: var(--muted); }
.brief .erreur { color: var(--gold); min-height: 1.4em; }
.brief .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.brief [hidden] { display: none !important; }   /* sinon display:flex de .case l'emporte sur hidden */

/* ---------- Stories coach ---------- */
.stories { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.stories .avant { position: relative; }
.stories .avant figcaption, .stories .styles figcaption { font-size: .8rem; opacity: .7; margin-top: 6px; }
.stories .styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stories img, .stories video { width: 100%; height: auto; border-radius: 10px; display: block; background: #000; }
.stories .fleche { font-size: 2rem; text-align: center; opacity: .6; }
.stories-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 20px; margin-top: 28px; justify-content: center; }
@media (max-width: 700px) {
  .stories { grid-template-columns: 1fr; }
  .stories .avant { max-width: 220px; margin: 0 auto; }
  .stories .styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stories-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Maquette Instagram (exemple) ---------- */
.insta { max-width: 420px; margin: 0 auto; background: #0b0d12; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 18px 14px 14px; }
.insta-tete { display: flex; gap: 16px; align-items: center; }
.insta-avatar { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #e8b85c, #286eff); flex: none; }
.insta-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0b0d12; font-weight: 800; letter-spacing: .02em; font-size: .85rem; }
.insta-chiffres { display: flex; gap: 18px; text-align: center; font-size: .78rem; }
.insta-chiffres b { display: block; font-size: 1rem; }
.insta-bio { font-size: .82rem; line-height: 1.45; margin: 12px 2px; }
.insta-bio strong { display: block; }
.insta-bulles { display: flex; gap: 12px; margin: 6px 0 14px; overflow: hidden; }
.insta-bulles figure { margin: 0; text-align: center; font-size: .68rem; width: 62px; flex: none; }
.insta-bulles img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.insta-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.insta-grille img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }

.insta-variantes { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.insta-variante { flex: 0 0 min(86vw, 400px); scroll-snap-align: center; margin: 0; }
.insta-variante .insta { max-width: none; }
.insta-variante figcaption { text-align: center; font-size: .85rem; opacity: .75; margin-top: 10px; }

.defile { scrollbar-width: none; }
.defile::-webkit-scrollbar { display: none; }

/* Contenus de saison (Halloween…) : 1 Reel + 3 Stories */
.saison { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.saison img, .saison video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; display: block; background: #000; }
.saison figcaption { font-size: .8rem; opacity: .7; margin-top: 6px; }
.saison-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.saison-liste li { border: 1px solid currentColor; border-radius: 99px; padding: 4px 12px; font-size: .85rem; opacity: .8; }
@media (max-width: 760px) { .saison { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Espace abonnés */
.abonnes .intro { font-size: 1.1rem; opacity: .85; }
.abonnes .etapes { padding-left: 1.2em; display: grid; gap: 10px; }
.abonnes .encart { border: 1px solid #ffffff22; border-radius: 12px; padding: 16px 18px; background: #ffffff08; }
.abonnes .tally { width: 100%; min-height: 900px; border: 0; }
.abonnes .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.abonnes .bientot { font-size: .85rem; opacity: .6; margin-left: 8px; }

/* Lecteur plein écran avec le son */
.jouer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; border: 0; border-radius: 99px; padding: 10px 16px; font: inherit; font-size: .85rem; font-weight: 700; background: rgba(8, 10, 18, .72); color: #fff; cursor: pointer; white-space: nowrap; backdrop-filter: blur(4px); }
.jouer:hover, .jouer:focus-visible { background: var(--gold); color: #111; }
.saison .plein { position: relative; }
.saison .plein .jouer { top: 46%; font-size: .75rem; padding: 8px 12px; }
.lecteur { border: 0; padding: 0; background: #000; width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; }
.lecteur::backdrop { background: rgba(0, 0, 0, .92); }
.lecteur video { display: block; height: 100%; width: 100%; object-fit: contain; background: #000; }
.lecteur .fermer { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; font-size: 1.2rem; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }

/* Qui est derrière */
.faits { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.faits li { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: rgba(255, 255, 255, .03); }
.faits strong { display: block; font-stretch: 62%; font-weight: 900; font-size: 1.6rem; text-transform: uppercase; line-height: 1; color: var(--gold); }
.faits span { color: var(--muted); font-size: .9rem; }
.garantie { font-size: 1.05rem; border-left: 3px solid var(--gold); padding-left: 14px; }
@media (max-width: 760px) { .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.saison-titre { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; margin: 26px 0 12px; color: var(--gold); }

/* ---------- Autorisation droit à l'image (imprimable) ---------- */
.autorisation .signature { height: 90px; border-bottom: 1px solid rgba(255,255,255,0.3); max-width: 22em; }
@media print {
  .autorisation nav, .autorisation + footer, footer { display: none; }
  body { background: #fff !important; color: #000 !important; }
  .autorisation p, .autorisation li, .autorisation h1 { color: #000 !important; }
  .autorisation .signature { border-color: #000; }
}
