/* NicheMotion · SérieMotion : les couleurs viennent des vidéos (bandeau soleil, nuit indigo) */
:root {
  --nuit: #1c2150;
  --indigo: #2b2f7a;
  --soleil: #f6c33c;
  --rose: #ec4d8f;
  --ciel: #eef0fa;
  --blanc: #ffffff;
  --encre: #15183a;
  --ambre: #e9a23b;
  --lampe: #20160d;
  --gris: #5b5f86;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texte: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mesure: 34rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ciel); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: var(--mesure); }
.enveloppe { width: min(72rem, 100% - 2rem); margin-inline: auto; }

/* Barre du haut */
.barre { background: var(--nuit); color: var(--blanc); }
.barre .enveloppe { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.marque { font: 800 1.45rem/1 var(--display); text-decoration: none; }
.marque span { color: var(--soleil); }
.barre nav { display: flex; gap: 1.1rem; font-size: .95rem; }
.barre nav a { text-decoration: none; opacity: .85; }
.barre nav a:hover, .barre nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Héros : le bandeau des vidéos */
.heros { background: linear-gradient(180deg, var(--nuit) 0%, var(--indigo) 100%); color: var(--blanc); overflow: hidden; }
.bandeau { background: var(--soleil); color: var(--encre); padding: 1.6rem 0 1.4rem; }
.bandeau h1 { font-size: clamp(2.7rem, 9vw, 6.2rem); text-transform: uppercase; }
.heros-corps { display: grid; gap: 2rem; padding-block: 2.2rem 3.4rem; align-items: center; }
.commande { font: 500 1rem/1.4 ui-monospace, Menlo, monospace; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.4rem; max-width: var(--mesure); }
.commande .invite { color: var(--soleil); }
.commande .frappe { border-right: 2px solid var(--soleil); padding-right: 2px; animation: curseur 1s steps(1) infinite; }
@keyframes curseur { 50% { border-color: transparent; } }
.heros p { font-size: 1.15rem; color: #dfe2ff; }
.prix { font: 800 2.4rem/1 var(--display); color: var(--soleil); margin: 1.4rem 0 1.1rem; }
.prix small { font: 400 1rem var(--texte); color: #c9cdf5; margin-left: .4rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: .7rem 1.4rem; border-radius: 999px; font: 700 1.05rem/1 var(--texte); text-decoration: none; border: 2px solid transparent; }
.bouton.acheter { background: var(--soleil); color: var(--encre); }
.bouton.acheter:hover { background: #ffd666; }
.bouton.question { border-color: rgba(255,255,255,.5); color: var(--blanc); }
.bouton.question:hover { border-color: var(--blanc); }
.clair .bouton.question { border-color: var(--encre); color: var(--encre); }

/* Téléphone */
.telephone { position: relative; width: min(19rem, 78vw); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 7px #0b0d26, 0 30px 60px -20px rgba(0,0,0,.6); }
.telephone video { width: 100%; height: 100%; object-fit: cover; }
.son { position: absolute; right: .7rem; bottom: .7rem; border: 0; border-radius: 999px; padding: .55rem .9rem; font: 700 .9rem var(--texte); background: rgba(0,0,0,.65); color: #fff; cursor: pointer; }
.mention-ia { font-size: .8rem; color: #b8bce8; text-align: center; margin: .9rem auto 0; }

/* Sections */
section { padding-block: 3.6rem; }
.titre-section { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .9rem; text-transform: uppercase; }
.chapeau { font-size: 1.15rem; color: var(--gris); margin-bottom: 2rem; }

/* Bande de vidéos */
.bande { display: grid; grid-auto-flow: column; grid-auto-columns: min(15rem, 70vw); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.clip { scroll-snap-align: start; margin: 0; }
.clip .ecran { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: var(--nuit); }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip button.lire { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.clip button.lire span { width: 4rem; height: 4rem; border-radius: 50%; background: var(--soleil); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.35); }
.clip button.lire span::before { content: ""; border-left: 1.1rem solid var(--encre); border-block: .7rem solid transparent; margin-left: .3rem; }
.clip.en-lecture button.lire { display: none; }
.clip figcaption { padding: .7rem .2rem 0; font-size: .98rem; }
.clip figcaption strong { display: block; font: 800 1.3rem/1.1 var(--display); }

/* Étapes : une vraie suite */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start; }
.etapes li::before { content: counter(etape); font: 800 2.8rem/1 var(--display); color: var(--indigo); }
.etapes h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.etapes code { background: var(--blanc); border-radius: 6px; padding: .1rem .4rem; font-size: .92em; }

/* Ce que tu obtiens */
.liste-obtiens { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; max-width: 44rem; }
.liste-obtiens li { padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid #d4d7ee; position: relative; }
.liste-obtiens li::before { content: ""; position: absolute; left: .2rem; top: 1.25rem; width: .8rem; height: .8rem; background: var(--soleil); border-radius: 2px; transform: rotate(45deg); }

/* Ce qu'il te faut : la vérité avant l'achat */
.il-faut { background: var(--blanc); border-left: 6px solid var(--rose); border-radius: 0 14px 14px 0; padding: 1.6rem 1.5rem; max-width: 46rem; }
.il-faut h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.il-faut ul { margin: 0; padding-left: 1.2rem; }
.il-faut li { margin-bottom: .6rem; }

/* FAQ */
.faq details { border-bottom: 1px solid #d4d7ee; padding: 1rem 0; max-width: 46rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq details p { margin: .7rem 0 0; }

/* Appel final */
.final { background: var(--nuit); color: var(--blanc); text-align: left; }
.final h2 { font-size: clamp(2.3rem, 7vw, 4.4rem); text-transform: uppercase; color: var(--soleil); margin-bottom: 1rem; }
.final p { color: #dfe2ff; }

/* Accueil : deux produits */
.deux { display: grid; gap: 1.4rem; }
.produit { border-radius: 22px; overflow: hidden; display: grid; text-decoration: none; }
.produit .haut { padding: 1.6rem 1.5rem 1.2rem; }
.produit h2 { font-size: clamp(2.4rem, 7vw, 3.4rem); text-transform: uppercase; margin-bottom: .5rem; }
.produit p { margin-bottom: .6rem; }
.produit .lien { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.produit video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.produit.nm { background: var(--soleil); color: var(--encre); }
.produit.sm { background: var(--lampe); color: #f4e6cf; }
.produit.sm h2 { color: var(--ambre); }

/* SérieMotion : théâtre d'ombres, éclairé par une lampe */
.theme-serie .barre, .theme-serie .final { background: var(--lampe); }
.theme-serie .marque span, .theme-serie .final h2 { color: var(--ambre); }
.theme-serie .heros { background: radial-gradient(120% 70% at 70% 40%, #5a3a17 0%, var(--lampe) 62%); }
.theme-serie .bandeau { background: var(--ambre); }
.theme-serie .prix { color: var(--ambre); }
.theme-serie .bouton.acheter { background: var(--ambre); }
.theme-serie .bouton.acheter:hover { background: #f5b65a; }
.theme-serie .commande .invite { color: var(--ambre); }
.theme-serie .commande .frappe { border-color: var(--ambre); }
.theme-serie .etapes li::before { color: #9a5d14; }
.theme-serie .clip button.lire span { background: var(--ambre); }
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .8rem; }
.styles figure { margin: 0; }
.styles img { border-radius: 12px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; background: #ddd; }
.styles figcaption { font-size: .9rem; padding-top: .35rem; }

footer { background: var(--encre); color: #b8bce8; font-size: .92rem; padding-block: 2rem; }
footer .enveloppe { display: grid; gap: .5rem; }
footer a { color: var(--blanc); }

@media (min-width: 52rem) {
  .heros-corps { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .deux { grid-template-columns: 1fr 1fr; }
  .etapes { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .commande .frappe { animation: none; }
}
