/* GameSetClip — site d'une page (guide de marque : identite/GUIDE-MARQUE.md) */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("polices/BarlowCondensed-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("polices/BarlowCondensed-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap;
  src: url("polices/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("polices/Barlow-Regular.ttf") format("truetype"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("polices/Barlow-SemiBold.ttf") format("truetype"); }

:root {
  --nuit: #0B1B3A;
  --balle: #D7F23C;
  --bandeau: #1C3266;
  --gris-bleu: #8FA0C8;
  --blanc: #FFFFFF;
  --clair: #F4F6FA;
  --ardoise: #3A4664;
  --trait: #D5DBE8;
  --doux: #DCE2F0;
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texte: "Barlow", system-ui, sans-serif;
  --large: 1160px;
  --haut-entete: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--clair); color: var(--nuit); font-family: var(--texte); font-size: 18px; line-height: 1.55; }
img, video { display: block; max-width: 100%; }
a { color: var(--nuit); }
a:hover { color: var(--bandeau); }
:focus-visible { outline: 3px solid var(--balle); outline-offset: 3px; }
figure { margin: 0; }
section, [id] { scroll-margin-top: var(--haut-entete); }

.conteneur { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .conteneur { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h1 { font-style: italic; font-size: clamp(52px, 8vw, 104px); text-transform: uppercase; }
h2 { font-style: italic; font-size: clamp(36px, 5vw, 58px); text-transform: uppercase; }
h3 { font-size: 28px; }
p { margin: 0; }

.surtitre { font-family: var(--titre); font-weight: 600; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 21px; letter-spacing: 0.02em;
  text-transform: uppercase; text-decoration: none; border: 0; border-radius: 4px; cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.bouton:active { transform: translateY(1px); }
.bouton:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.bouton-jaune { background: var(--balle); color: var(--nuit); }
.bouton-jaune:hover { background: #E4F86B; color: var(--nuit); }
.bouton-ligne { background: rgba(11, 27, 58, 0.35); color: var(--blanc); box-shadow: inset 0 0 0 2px var(--gris-bleu); }
.bouton-ligne:hover { color: var(--blanc); box-shadow: inset 0 0 0 2px var(--blanc); }

/* En-tête : transparent sur l'accueil, plein ensuite */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 20; color: var(--blanc);
  background: transparent; border-bottom: 1px solid transparent; transition: background-color 0.25s, border-color 0.25s; }
.entete.pleine { background: var(--nuit); border-bottom-color: var(--bandeau); }
.entete .conteneur { display: flex; align-items: center; gap: 24px; min-height: var(--haut-entete); }
.entete .logo img { height: 58px; width: auto; margin: 0 -14px; }
.entete nav { display: flex; align-items: center; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.entete nav a { color: var(--blanc); text-decoration: none; font-weight: 600; font-size: 16px; text-shadow: 0 1px 8px rgba(11, 27, 58, 0.6); }
.entete nav a:hover { color: var(--balle); }
.entete nav .bouton { text-shadow: none; }
.entete .langue { color: var(--doux); }
.entete .bouton { min-height: 44px; font-size: 18px; padding: 0 18px; }
@media (max-width: 820px) { .entete nav .lien-section { display: none; } }
@media (max-width: 520px) {
  .entete .conteneur { gap: 12px; }
  .entete .logo img { height: 48px; margin: 0 -11px; }
  .entete nav .langue { display: none; }
  .entete .bouton { font-size: 16px; padding: 0 14px; }
}

/* Accueil plein écran */
.accueil { position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px); display: flex; overflow: hidden;
  background: var(--nuit); color: var(--blanc); }
.accueil-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; max-width: none; }
.accueil-voile { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 27, 58, 0.92) 0%, rgba(11, 27, 58, 0.72) 38%, rgba(11, 27, 58, 0.2) 75%, rgba(11, 27, 58, 0.1) 100%),
    linear-gradient(0deg, rgba(11, 27, 58, 0.85) 0%, rgba(11, 27, 58, 0) 45%),
    linear-gradient(180deg, rgba(11, 27, 58, 0.7) 0%, rgba(11, 27, 58, 0) 22%); }
@media (max-width: 760px) { .accueil-voile { background: linear-gradient(0deg, rgba(11, 27, 58, 0.95) 0%, rgba(11, 27, 58, 0.75) 55%, rgba(11, 27, 58, 0.45) 100%); } }
.accueil-contenu { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding-top: calc(var(--haut-entete) + 28px); padding-bottom: 64px; }
.accueil-texte { max-width: 800px; }
@media (min-width: 760px) { .accueil h1 span { white-space: nowrap; } }
.accueil .surtitre { color: var(--balle); margin-bottom: 18px; }
.accueil h1 span { background: var(--balle); color: var(--nuit); padding: 0 12px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.accueil .promesse { font-size: 21px; color: var(--doux); margin: 24px 0 32px; max-width: 34em; }
.accueil .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.accueil .config { margin-top: 22px; font-size: 15px; color: var(--doux); }
.pause-accueil { position: absolute; right: 24px; bottom: 24px; z-index: 2; }

/* Tableau de score (même style que dans l'app) */
.tableau { display: inline-flex; flex-direction: column; align-items: flex-start; font-family: var(--titre); --t: 1; }
.tableau-corps { background: rgba(11, 27, 58, 0.94); border-top: calc(3px * var(--t)) solid var(--balle); border-radius: 4px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.tableau-ligne { display: flex; align-items: stretch; height: calc(46px * var(--t)); }
.tableau-ligne + .tableau-ligne { border-top: 1px solid #24386A; }
.tableau .service { width: calc(28px * var(--t)); display: flex; align-items: center; justify-content: center; }
.tableau .service::before { content: ""; width: calc(11px * var(--t)); height: calc(11px * var(--t)); border-radius: 50%; background: var(--balle);
  opacity: 0; transform: scale(0.4); transition: opacity 0.25s, transform 0.25s; }
.tableau .sert .service::before { opacity: 1; transform: none; }
.tableau .nom { width: calc(118px * var(--t)); display: flex; align-items: center; font-weight: 600; font-size: calc(28px * var(--t)); color: var(--blanc); }
.tableau .set, .tableau .jeux, .tableau .points { display: flex; align-items: center; justify-content: center; font-weight: 800; }
.tableau .set { width: calc(36px * var(--t)); font-size: calc(30px * var(--t)); color: var(--blanc); }
.tableau .set.perdu { color: var(--gris-bleu); }
.tableau .jeux { width: calc(42px * var(--t)); font-size: calc(30px * var(--t)); color: var(--blanc); background: var(--bandeau); }
.tableau .points { width: calc(62px * var(--t)); font-size: calc(32px * var(--t)); color: var(--nuit); background: var(--balle); }
.tableau .points.change { animation: eclat 0.45s ease-out; }
.tableau.fini .jeux, .tableau.fini .points { display: none; }
.tableau .gagnant .nom::after { content: "✓"; color: var(--balle); margin-left: 0.3em; font-weight: 800; }
.tableau.fini .tableau-corps { padding-right: calc(10px * var(--t)); }
@keyframes eclat { 0% { background: #F5FDD0; } 100% { background: var(--balle); } }
.tableau-onglets { display: flex; gap: calc(6px * var(--t)); min-height: calc(32px * var(--t)); }
.onglet { font-weight: 800; font-style: italic; font-size: calc(20px * var(--t)); line-height: 1; padding: calc(6px * var(--t)) calc(12px * var(--t)) calc(5px * var(--t));
  border-radius: 0 0 4px 4px; transform-origin: top; transform: scaleY(0); opacity: 0; transition: transform 0.25s ease-out, opacity 0.25s; white-space: nowrap; }
.onglet.visible { transform: none; opacity: 1; }
.onglet-jaune { background: var(--balle); color: var(--nuit); }
.onglet-bleu { background: var(--bandeau); color: var(--blanc); }
.onglet-nuit { background: var(--nuit); color: var(--balle); }
.tableau-accueil { --t: 0.95; }
@media (max-width: 600px) { .tableau-accueil { --t: 0.72; } }

/* Boutons pause des vidéos */
.pause { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(11, 27, 58, 0.78); color: var(--blanc);
  cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pause:hover { background: var(--nuit); }
.pause svg { width: 18px; height: 18px; }
.video, .telephone { position: relative; }
.video .pause, .telephone .pause { position: absolute; right: 12px; bottom: 12px; }

/* Vidéos */
.video { border-radius: 8px; overflow: hidden; background: #000; }
.video video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.legende { font-size: 14px; color: var(--ardoise); margin-top: 10px; }

/* Chiffres */
.chiffres { background: var(--bandeau); color: var(--blanc); }
.chiffres .conteneur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; padding-top: 36px; padding-bottom: 36px; }
@media (max-width: 999px) { .chiffres .conteneur { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.chiffre strong { display: flex; align-items: center; gap: 0.25em; white-space: nowrap; font-family: var(--titre); font-weight: 800; font-style: italic;
  font-size: clamp(32px, 3.4vw, 40px); line-height: 1.05; color: var(--balle); }
@media (max-width: 999px) { .chiffre strong { font-size: 36px; } }
@media (max-width: 400px) { .chiffre strong { font-size: 32px; } }
.chiffre span { display: block; margin-top: 6px; max-width: 30em; font-size: 16px; line-height: 1.4; color: var(--doux); }

/* Icônes du bandeau, façon emoji : une petite scène qui se rejoue (seulement à l'écran, et si le mouvement est permis).
   Sans mouvement, chacune montre sa pose finale. */
.icone { flex: none; width: 1.2em; height: 1.2em; overflow: visible; }
.icone .i-trait { fill: none; stroke: var(--blanc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.icone .i-plein { fill: var(--blanc); }
.icone .i-balle { fill: var(--balle); }
.icone .i-mort { fill: var(--gris-bleu); }
.chrono, .chrono-part, .chrono-aiguille { transform-box: view-box; transform-origin: 24px 27px; }
.chrono-aiguille { transform: rotate(90deg); }                     /* un quart de tour : 15 min */
.frise-tout { transform-box: view-box; transform-origin: 24px 24px; }
.icone-frise .i-mort { transform-box: fill-box; transform-origin: center; }
.infini-trace, .infini-balle { fill: none; stroke: var(--balle); stroke-linecap: round; }
.infini-trace { stroke-width: 3.5; stroke-dasharray: 16 84; stroke-dashoffset: 3.5; opacity: 0; }
.infini-balle { stroke-width: 8; stroke-dasharray: 0.01 99.99; stroke-dashoffset: -12.5; }
@media (prefers-reduced-motion: no-preference) {
  .chrono { animation: chrono-saut 6s infinite both; }
  .chrono-aiguille { animation: chrono-aiguille 6s infinite both; }
  .chrono-part { animation: chrono-part 6s infinite both; }
  .frise-tout { animation: frise-saut 6s 1.6s infinite both; }
  .frise-1, .frise-g { animation: frise-droite 6s 1.6s infinite both; }
  .frise-3, .frise-d { animation: frise-gauche 6s 1.6s infinite both; }
  .icone-frise .i-mort { animation: frise-mort 6s 1.6s infinite both; }
  .infini-balle { animation: infini-balle 6s 3.2s infinite both; }
  .infini-trace { animation: infini-balle-trace 6s 3.2s infinite both, infini-trace 6s 3.2s infinite both; }
  .js .chiffres:not(.en-vue) .icone * { animation-play-state: paused; }
}
/* Chrono : l'aiguille fait trois tours (3 h) à toute vitesse, s'arrête sur un quart (15 min), puis se remet à zéro */
@keyframes chrono-aiguille {
  0%, 6% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  42%, 86% { transform: rotate(1170deg); animation-timing-function: ease-in-out; }
  96%, 100% { transform: rotate(1080deg); }
}
@keyframes chrono-part {
  0%, 36% { opacity: 0; transform: scale(0.5); }
  44% { opacity: 1; transform: scale(1.08); }
  50%, 86% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: scale(0.85); }
}
@keyframes chrono-saut { 0%, 40% { transform: none; } 46% { transform: scale(1.1) rotate(-6deg); } 54%, 100% { transform: none; } }
/* Frise : les temps morts (gris) disparaissent et les points (jaune) se collent */
@keyframes frise-droite { 0%, 18% { transform: none; animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); } 40%, 82% { transform: translateX(7px); animation-timing-function: ease-in-out; } 96%, 100% { transform: none; } }
@keyframes frise-gauche { 0%, 18% { transform: none; animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); } 40%, 82% { transform: translateX(-7px); animation-timing-function: ease-in-out; } 96%, 100% { transform: none; } }
@keyframes frise-mort { 0%, 18% { transform: none; opacity: 1; } 34%, 84% { transform: scaleX(0); opacity: 0; } 96%, 100% { transform: none; opacity: 1; } }
@keyframes frise-saut { 0%, 38% { transform: none; } 45% { transform: scale(1.12); } 52%, 100% { transform: none; } }
/* Infini : une balle fait le tour du ∞ (matchs illimités), avec sa traînée */
@keyframes infini-balle { 0% { stroke-dashoffset: -12.5; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 55%, 100% { stroke-dashoffset: -112.5; } }
@keyframes infini-balle-trace { 0% { stroke-dashoffset: 3.5; animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1); } 55%, 100% { stroke-dashoffset: -96.5; } }
@keyframes infini-trace { 0% { opacity: 0; } 8%, 47% { opacity: 0.45; } 58%, 100% { opacity: 0; } }

/* Sections */
section { padding: 96px 0; }
.section-claire { background: var(--clair); }
.section-blanche { background: var(--blanc); }
.section-nuit { background: var(--nuit); color: var(--blanc); }
.entete-section { max-width: 760px; margin-bottom: 44px; }
.entete-section .surtitre { color: var(--ardoise); margin-bottom: 12px; }
.section-nuit .entete-section .surtitre { color: var(--balle); }
.entete-section p { margin-top: 16px; font-size: 19px; color: var(--ardoise); }
.section-nuit .entete-section p { color: var(--doux); }

/* Apparition au défilement (seulement si le script tourne et si le mouvement est permis) */
.js .apparait { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.js .apparait.visible { opacity: 1; transform: none; }

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .avant-apres { grid-template-columns: minmax(0, 1fr); } }
.etiquette { display: inline-block; font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase;
  padding: 3px 12px; border-radius: 3px; margin-bottom: 12px; }
.etiquette-avant { background: var(--trait); color: var(--nuit); }
.etiquette-apres { background: var(--balle); color: var(--nuit); }
.duree { font-family: var(--titre); font-weight: 800; font-size: 30px; margin-top: 12px; }
.duree small { font-family: var(--texte); font-weight: 400; font-size: 16px; color: var(--ardoise); display: block; margin-top: 2px; }

/* Frise : les temps morts s'effacent, les points se collent */
.frise { margin-top: 44px; display: grid; gap: 14px; }
.frise-ligne { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 16px; }
.frise-titre { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase; white-space: nowrap; }
.frise-piste { position: relative; height: 28px; background: #DDE2EC; border-radius: 3px; overflow: hidden; }
.frise-piste span { position: absolute; top: 0; bottom: 0; background: var(--balle); box-shadow: inset 0 0 0 1px rgba(11, 27, 58, 0.25); }
.frise-apres { background: transparent; overflow: visible; }
.frise-apres::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: #DDE2EC; border-radius: 3px;
  transition: width 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.2s; }
.frise-apres span { transition: left 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.2s, width 1.1s cubic-bezier(0.6, 0, 0.2, 1) 0.2s; }
.frise.compressee .frise-apres::before { width: 25.1%; }
.frise-gain { font-size: 18px; color: var(--ardoise); margin-top: 6px; }
.frise-gain strong { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 30px; color: var(--nuit);
  background: var(--balle); padding: 0 10px; border-radius: 3px; margin-right: 6px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .frise-ligne { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; } .frise-titre { font-size: 16px; } }

/* Atouts */
.atouts { display: grid; gap: 72px; }
.atout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.atout:nth-child(even) .atout-texte { order: 2; }
@media (max-width: 860px) { .atout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .atout:nth-child(even) .atout-texte { order: 0; } }
.atout .numero { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 22px; color: var(--nuit); background: var(--balle);
  display: inline-block; padding: 0 10px; border-radius: 3px; margin-bottom: 14px; }
.atout h3 { font-size: clamp(30px, 3.6vw, 40px); font-style: italic; text-transform: uppercase; }
.atout p { margin-top: 14px; color: var(--ardoise); }
.enjeux { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.enjeux span { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 18px; padding: 2px 10px; border-radius: 3px; }
.enjeu-jaune { background: var(--balle); color: var(--nuit); }
.enjeu-bleu { background: var(--bandeau); color: var(--blanc); }
.liste-export { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.liste-export li { padding-left: 28px; position: relative; color: var(--ardoise); }
.liste-export li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; background: var(--nuit);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%); }
.carte-mac { background: var(--nuit); color: var(--blanc); border-radius: 8px; padding: 36px; display: grid; gap: 20px; }
.carte-mac div { display: flex; gap: 14px; align-items: baseline; }
.carte-mac strong { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 34px; color: var(--balle); min-width: 1.4em; }
.carte-mac span { color: var(--doux); font-size: 17px; }

/* Démo « une touche par point » */
.demo-zone { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: center; background: var(--bandeau);
  border-radius: 12px; padding: 48px; }
@media (max-width: 860px) { .demo-zone { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 32px; padding: 32px 20px; text-align: center; } }
.tableau-demo { --t: 1.35; }
@media (max-width: 600px) { .tableau-demo { --t: 0.95; } }
.tableau-demo .tableau-onglets { min-height: calc(34px * var(--t)); }
.demo-consigne { font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 30px; text-transform: uppercase; }
.demo-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
@media (max-width: 860px) { .demo-boutons { justify-content: center; } }
.demo-boutons .bouton { min-width: 150px; min-height: 60px; font-size: 24px; }
kbd { font-family: var(--texte); font-style: normal; font-weight: 600; font-size: 15px; padding: 2px 7px; border-radius: 4px;
  background: rgba(11, 27, 58, 0.15); box-shadow: inset 0 -2px 0 rgba(11, 27, 58, 0.25); }
.demo-etat { margin-top: 18px; min-height: 1.6em; color: var(--doux); font-size: 17px; }
.demo-etat strong { color: var(--balle); }
.demo-reset { margin-top: 10px; background: none; border: 0; padding: 8px 0; min-height: 44px; color: var(--gris-bleu); font: inherit; font-size: 15px;
  text-decoration: underline; cursor: pointer; }
.demo-reset:hover { color: var(--blanc); }
.demo-reset.en-avant { margin-top: 14px; padding: 0 22px; border-radius: 4px; text-decoration: none; color: var(--nuit); background: var(--balle);
  font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 20px; text-transform: uppercase; }
.demo-reset.en-avant:hover { background: #E4F86B; color: var(--nuit); }

/* Shorts */
.shorts .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
@media (max-width: 760px) { .shorts .conteneur { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
.shorts .entete-section { margin-bottom: 0; }
.telephone { width: 300px; max-width: 80vw; aspect-ratio: 9 / 16; border-radius: 36px; border: 10px solid var(--nuit);
  background: var(--nuit); overflow: hidden; box-shadow: 0 0 0 2px var(--bandeau), 0 30px 60px rgba(11, 27, 58, 0.25); }
.telephone video { width: 100%; height: 100%; object-fit: cover; }

/* Étapes */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: etape; }
@media (max-width: 960px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.etapes li { background: var(--bandeau); border-radius: 8px; padding: 26px 24px; counter-increment: etape; }
.etapes li:nth-child(2) { transition-delay: 0.08s; }
.etapes li:nth-child(3) { transition-delay: 0.16s; }
.etapes li:nth-child(4) { transition-delay: 0.24s; }
.etapes li::before { content: counter(etape); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  background: var(--balle); color: var(--nuit); font-family: var(--titre); font-weight: 800; font-style: italic; font-size: 24px; border-radius: 3px; margin-bottom: 16px; }
.etapes h3 { font-size: 26px; font-style: italic; text-transform: uppercase; }
.etapes p { margin-top: 10px; color: var(--doux); font-size: 16px; }

/* Comparaison de prix */
.comparatif { max-width: 900px; margin-bottom: 40px; display: grid; gap: 14px; }
.comp-ligne { display: grid; grid-template-columns: 250px minmax(0, 1fr) 150px; gap: 16px; align-items: center; }
@media (max-width: 700px) { .comp-ligne { grid-template-columns: minmax(0, 1fr) auto; } .comp-ligne .comp-barre { grid-column: 1 / -1; grid-row: 2; } }
.comp-titre { font-family: var(--titre); font-weight: 800; font-size: 20px; text-transform: uppercase; }
.comp-barre { position: relative; height: 22px; background: #E3E7EF; border-radius: 3px; overflow: hidden; }
.comp-plage, .comp-gsc { position: absolute; top: 0; bottom: 0; left: 0; width: 0; transition: width 1s cubic-bezier(0.6, 0, 0.2, 1) 0.3s; }
.comp-plage { left: 15%; background: linear-gradient(90deg, var(--gris-bleu) 0, var(--gris-bleu) 14%, var(--ardoise) 85%, rgba(58, 70, 100, 0.2) 100%); }
.comp-gsc { background: var(--balle); box-shadow: inset 0 0 0 1px rgba(11, 27, 58, 0.25); }
.comparatif.visible .comp-plage, html:not(.js) .comp-plage { width: 85%; }
.comparatif.visible .comp-gsc, html:not(.js) .comp-gsc { width: 10%; }
.comp-prix { font-family: var(--titre); font-weight: 800; font-size: 22px; text-align: right; white-space: nowrap; }
.comp-prix-gsc span, .comp-prix-gsc { color: var(--nuit); }

/* Prix */
.prix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; }
@media (max-width: 760px) { .prix { grid-template-columns: minmax(0, 1fr); } }
.offre { background: var(--blanc); border: 1px solid var(--trait); border-radius: 8px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.offre-forte { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); transition-delay: 0.1s; }
.offre h3 { font-size: 30px; font-style: italic; text-transform: uppercase; }
.montant { font-family: var(--titre); font-weight: 800; font-size: 64px; line-height: 1; }
.montant .ensuite { font-size: 26px; color: var(--gris-bleu); font-weight: 600; margin-left: 12px; }
.offre-forte .montant { color: var(--balle); }
.offre ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.offre li { padding-left: 26px; position: relative; }
.offre li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg); }
.offre-forte li::before { color: var(--balle); }
.offre .note { font-size: 15px; color: var(--ardoise); margin-top: auto; }
.offre-forte .note { color: var(--gris-bleu); }
.config-requise { margin-top: 28px; font-size: 16px; color: var(--ardoise); max-width: 900px; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 12px; }
.faq details { background: var(--blanc); border: 1px solid var(--trait); border-radius: 8px; padding: 0 24px; transition: border-color 0.2s; }
.faq details[open] { border-color: var(--gris-bleu); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--titre); font-weight: 800; font-size: 24px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--ardoise); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--ardoise); }

/* Liste d'attente */
.attente .conteneur { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .attente .conteneur { grid-template-columns: minmax(0, 1fr); } }
.formulaire { background: var(--bandeau); border-radius: 8px; padding: 32px; display: grid; gap: 18px; }
.formulaire label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.formulaire input, .formulaire select { width: 100%; min-height: 52px; padding: 0 14px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-size: 17px; background: var(--blanc); color: var(--nuit); }
.formulaire input:focus, .formulaire select:focus { border-color: var(--balle); outline: none; }
.formulaire .petit { font-size: 14px; color: var(--doux); }
.formulaire .petit a { color: var(--blanc); }
.formulaire .retour { font-weight: 600; color: var(--balle); min-height: 1.5em; }

/* Bouton collant sur téléphone */
.cta-mobile { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 15; box-shadow: 0 10px 30px rgba(11, 27, 58, 0.45);
  transform: translateY(140%); transition: transform 0.3s ease-out; }
.cta-mobile.visible { transform: none; }
@media (min-width: 721px) { .cta-mobile { display: none; } }

/* Pied de page */
.pied { background: #07142C; color: var(--gris-bleu); padding: 40px 0; font-size: 15px; }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.pied img { height: 48px; width: auto; margin: 0 -12px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pied a { color: var(--doux); }
.pied a:hover { color: var(--balle); }
@media (max-width: 720px) { .pied { padding-bottom: 96px; } }

/* Mouvement réduit : tout s'affiche directement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .onglet, .tableau .service::before, .frise-apres::before, .frise-apres span, .comp-plage, .comp-gsc, .cta-mobile, .entete { transition: none; }
  .tableau .points.change { animation: none; }
}

/* Pages légales */
.page-legale { background: var(--blanc); }
.contenu-legal { padding: calc(var(--haut-entete) + 48px) 0 96px; }
.contenu-legal .conteneur { max-width: 820px; }
.brouillon { background: var(--balle); color: var(--nuit); font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 4px; margin-bottom: 28px; }
.retour-accueil { display: inline-block; font-size: 15px; color: var(--ardoise); margin-bottom: 18px; }
.contenu-legal h1 { font-size: clamp(40px, 6vw, 64px); }
.maj { font-size: 15px; color: var(--ardoise); margin-top: 10px; }
.texte-legal { margin-top: 36px; color: var(--ardoise); }
.texte-legal h2 { font-size: 28px; color: var(--nuit); margin: 40px 0 12px; }
.texte-legal p, .texte-legal li { font-size: 17px; line-height: 1.65; }
.texte-legal p + p { margin-top: 12px; }
.texte-legal ul { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.texte-legal strong { color: var(--nuit); }
.texte-legal a { color: var(--nuit); }
.en-bref { background: var(--clair); border-left: 0; border-radius: 8px; padding: 22px 26px; }
.en-bref h2 { margin-top: 0; font-size: 24px; }
mark.a-remplir { background: #FFE58A; color: var(--nuit); padding: 0 3px; border-radius: 2px; }

/* Page « merci » (après la confirmation Brevo) */
.merci .conteneur { display: grid; gap: 20px; justify-items: start; padding-block: 40px; }
.merci .surtitre { color: var(--ardoise); }
.merci-texte { font-size: 20px; color: var(--ardoise); max-width: 34em; }
.avant-vente { background: var(--clair); border-radius: 6px; padding: 12px 16px; color: var(--nuit); font-weight: 600; }
