/*
 * ActivyTime — site vitrine.
 * Identité : bleu du logo client (fond bleu électrique, anneau cyan, monogramme blanc),
 * mise en page inspirée de lfa-services.com, apparitions au défilement inspirées de bmsd.fr.
 * Polices : celles de l'application (Saira), servies depuis le site : aucune requête externe.
 */

@font-face { font-family: 'Saira Condensed'; src: url('../polices/SairaCondensed-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Saira Condensed'; src: url('../polices/SairaCondensed-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Saira Semi Condensed'; src: url('../polices/SairaSemiCondensed-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Saira Semi Condensed'; src: url('../polices/SairaSemiCondensed-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Saira Semi Condensed'; src: url('../polices/SairaSemiCondensed-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Saira Semi Condensed'; src: url('../polices/SairaSemiCondensed-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  /* Couleurs relevées sur le logo (provisoires jusqu'au fichier définitif du client) */
  --nuit: #050d24;
  --nuit-2: #0a1a45;
  --nuit-3: #0f2a66;
  --bleu: #0b6fe0;
  --azur: #1aaef3;
  --cyan: #3ccbf5;
  --degrade: linear-gradient(100deg, #63dafb 0%, #1aaef3 45%, #0b6fe0 100%);
  --gris: #f1f4f9;
  --encre: #0b1630;
  --texte: #46577a;
  --ligne: #dce3ee;
  --texte-clair: #ffffff;
  --blanc: #ffffff;

  --police-titre: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --police: 'Saira Semi Condensed', 'Helvetica Neue', Arial, sans-serif;

  --largeur: 1200px;
  --marge: clamp(1.25rem, 4vw, 2.5rem);
  --entete: 76px;
  --courbe: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--blanc); color: var(--encre); padding: .6rem 1rem; text-decoration: none; font-weight: 600;
}
.lien-evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.section { position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section.sombre { background: var(--nuit); color: var(--blanc); }
.section.nuit-2 { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); color: var(--blanc); }
.section.claire { background: var(--gris); }

/* ---------- Typographie ---------- */

.surtitre {
  display: flex; align-items: center; gap: .85rem;
  margin: 0 0 1.4rem;
  font: 600 .78rem/1 var(--police);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--bleu);
}
.sombre .surtitre, .nuit-2 .surtitre, .heros .surtitre { color: var(--cyan); }
.surtitre::before { content: ''; width: 2.4rem; height: 2px; background: var(--degrade); flex: none; }

.titre {
  font-family: var(--police-titre);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: -.005em;
  font-size: clamp(2.5rem, 6.2vw, 5.1rem);
}
.titre.moyen { font-size: clamp(2.1rem, min(4.8vw, 7.2vh), 3.9rem); }
.titre .ligne { display: block; overflow: hidden; padding: 0 .3em .06em 0; margin-right: -.3em; }
.titre .ligne > span { display: inline-block; }
/* Texte en dégradé : l'italique dépasse à droite de la boîte ; la marge intérieure évite que la dernière lettre soit coupée */
.degrade-texte {
  padding-right: .26em; margin-right: -.26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: var(--degrade);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.chapo { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--texte); max-width: 36rem; }
.sombre .chapo, .nuit-2 .chapo, .heros .chapo { color: var(--texte-clair); }

.entete-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.entete-section .chapo { margin: 0; }

/* ---------- Boutons ---------- */

.boutons { display: flex; flex-wrap: wrap; gap: 1rem; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 1.7rem;
  border: 1px solid transparent; border-radius: 2px;
  font: 600 .82rem/1 var(--police); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: transform .3s var(--courbe), box-shadow .3s var(--courbe), background-color .3s, border-color .3s;
}
.bouton svg { width: 1.05rem; height: 1.05rem; transition: transform .3s var(--courbe); }
.bouton:hover svg { transform: translateX(4px); }
.bouton-plein { background: var(--degrade); color: var(--blanc); }
.bouton-plein:hover { transform: translateY(-2px); }
.bouton-contour { border-color: rgba(255, 255, 255, .35); color: var(--blanc); }
.bouton-contour:hover { border-color: var(--cyan); background: rgba(60, 203, 245, .08); }
.bouton-contour.fonce { border-color: var(--ligne); color: var(--encre); }
.bouton-contour.fonce:hover { border-color: var(--bleu); background: rgba(11, 111, 224, .05); }
.lien-fleche {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8rem/1 var(--police); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
}
.lien-fleche svg { width: 1rem; height: 1rem; transition: transform .3s var(--courbe); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- Barre de progression et entête ---------- */

.progression {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--degrade); transform-origin: 0 50%; transform: scaleX(0);
}

.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--entete);
  display: flex; align-items: center;
  color: var(--blanc);
  transition: background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.entete.defile { background: rgba(5, 13, 36, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, .07); }
.entete .conteneur { display: flex; align-items: center; gap: 2rem; }
.marque { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--blanc); }
.marque-signe {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #2bb8f6 0%, #0b6fe0 60%, #0a2f86 100%);
  display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 24px -6px rgba(26, 174, 243, .6);
}
.marque-signe svg { width: 26px; height: 26px; }
.marque-nom { font: 700 1.3rem/1 var(--police-titre); letter-spacing: .04em; font-variant: small-caps; text-transform: none; }
.navigation { margin-left: auto; display: flex; align-items: center; gap: 1.8rem; }
.navigation a:not(.bouton) {
  font: 600 .78rem/1 var(--police); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .82); padding: .5rem 0; position: relative;
}
.navigation a:not(.bouton)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--degrade);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--courbe);
}
.navigation a:not(.bouton):hover { color: var(--blanc); }
.navigation a:not(.bouton):hover::after, .navigation a.actif::after { transform: scaleX(1); }
.navigation .bouton { padding: .85rem 1.2rem; }
.bouton-menu {
  display: none; margin-left: auto; background: none; border: 0; color: var(--blanc);
  width: 46px; height: 46px; padding: 11px; position: relative;
}
.bouton-menu span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-ouvert .bouton-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .bouton-menu span:nth-child(2) { opacity: 0; }
.menu-ouvert .bouton-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bouton « remonter en haut » ---------- */

.haut-de-page {
  position: fixed; z-index: 45; right: clamp(1rem, 2.5vw, 1.75rem); bottom: clamp(1rem, 2.5vw, 1.75rem);
  display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: var(--bleu); border: 1px solid rgba(255, 255, 255, .3); color: var(--blanc);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--courbe), visibility .3s, background-color .3s;
}
.haut-de-page svg { width: 1.25rem; height: 1.25rem; transform: rotate(-90deg); }
.haut-de-page.visible { opacity: 1; visibility: visible; transform: none; }
.haut-de-page:hover { background: var(--azur); }
.haut-de-page:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
body.menu-ouvert .haut-de-page { opacity: 0; visibility: hidden; }

/* ---------- Héros ---------- */

.heros {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--entete) + 3rem) 0 4rem;
  background: linear-gradient(180deg, #071232 0%, var(--nuit) 100%); color: var(--blanc); overflow: hidden; isolation: isolate;
}
.heros .conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.heros .titre { font-size: clamp(2.6rem, min(6.6vw, 8.4vh), 5.6rem); margin-bottom: clamp(1rem, 2.6vh, 1.6rem); }
.heros .chapo { margin-bottom: 2.2rem; }
.heros-garanties { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--texte-clair); }
.heros-garanties li { display: flex; align-items: center; gap: .5rem; }
.heros-garanties svg { width: 1.05rem; height: 1.05rem; color: var(--cyan); flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.store {
  display: inline-flex; align-items: center; gap: .6rem; padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; font-size: .78rem; line-height: 1.2; color: var(--texte-clair);
}
.store strong { display: block; color: var(--blanc); font-size: .9rem; }
.store svg { width: 1.3rem; height: 1.3rem; color: var(--blanc); }

/* Téléphone de démonstration (aucune photo de personne) */
.telephone-zone { position: relative; display: flex; justify-content: center; }
.telephone-zone .telephone { z-index: 1; }

/* Trajet maison → stade → maison derrière le téléphone (illustration : aucune position n'est suivie) */
.trajet { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.trajet-trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trajet-chemin {
  fill: none; stroke: rgba(60, 203, 245, .85); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1 10;
  animation: pointilles 1.1s linear infinite;
}
@keyframes pointilles { to { stroke-dashoffset: -11; } }
.trajet-lieu { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .5rem; }
/* Places de repli : le script les pose entre le titre, le téléphone et le bord de l'écran */
.trajet-maison { left: 0; top: 30%; }
.trajet-stade { left: 100%; top: 54%; }
.trajet-lieu .pastille {
  position: relative; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  background: #0a1a45; border: 1.5px solid rgba(60, 203, 245, .55); color: var(--blanc);
  transition: background-color .4s, border-color .4s;
}
.trajet-lieu .pastille svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trajet-lieu .pastille::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; }
.trajet-lieu.arrive .pastille { background: #0d3b8c; border-color: var(--cyan); }
.trajet-lieu.arrive .pastille::after { animation: onde 1.5s var(--courbe) 2; }
@keyframes onde { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2); } }
.trajet-lieu .nom { font: 600 .66rem/1 var(--police); letter-spacing: .18em; text-transform: uppercase; color: var(--blanc); }
.trajet-point {
  position: absolute; left: 0; top: 30%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--blanc); border: 3px solid var(--cyan); opacity: 0; transition: opacity .35s;
}
.trajet-point::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(60, 203, 245, .7); animation: onde 1.6s ease-out infinite; }
.trajet-point.present { opacity: 1; }

/* Alertes reçues sur le téléphone du parent, à la façon d'une notification iPhone */
.alerte-app {
  position: absolute; z-index: 2; left: 6.2cqw; right: 6.2cqw; top: 13cqw;
  display: flex; align-items: center; gap: 3cqw; padding: 3cqw 3.6cqw;
  border-radius: 5.6cqw; background: rgba(34, 38, 52, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  color: var(--blanc); font: 400 3.7cqw/1.28 var(--police);
  opacity: 0; transform: translateY(-9cqw) scale(.96);
  transition: opacity .45s var(--courbe), transform .6s var(--courbe);
}
.alerte-app.montre { opacity: 1; transform: none; }
.alerte-icone {
  flex: none; display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 2.6cqw;
  background: radial-gradient(circle at 35% 30%, #2bb8f6 0%, #0b6fe0 60%, #0a2f86 100%);
}
.alerte-icone svg { width: 6.4cqw; height: 6.4cqw; }
.alerte-texte { min-width: 0; flex: 1; display: grid; gap: .4cqw; }
.alerte-haut { display: flex; justify-content: space-between; gap: 2cqw; font-size: 3.1cqw; letter-spacing: .03em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.alerte-haut b { font-weight: 600; }
.alerte-haut i { font-style: normal; text-transform: none; letter-spacing: 0; }
.alerte-texte strong { font-weight: 700; font-size: 4.1cqw; }
/* Cadre d'iPhone réaliste : contour en métal brossé, bord noir autour de l'écran, boutons latéraux.
   L'écran (la capture) porte lui-même le bord noir, mesuré en largeur du téléphone (cqw). */
.telephone {
  --metal: linear-gradient(145deg, #f4f5f7 0%, #8d9198 16%, #dfe1e5 34%, #70747b 58%, #c9ccd1 80%, #f1f2f4 100%);
  --bouton: linear-gradient(90deg, #5f6369, #c6c9ce 55%, #7d8188);
  container-type: inline-size;
  position: relative; width: clamp(232px, calc((100vh - 330px) / 2.13), 300px); max-width: 78vw;
  border-radius: 17% / 7.9%;
  border: 3px solid transparent;
  background: linear-gradient(#020202, #020202) padding-box, var(--metal) border-box;
  box-shadow:
    0 0 0 1px #16171a,
    0 2px 0 1px rgba(255, 255, 255, .04),
    0 44px 80px -26px rgba(0, 0, 0, .8),
    0 18px 36px -18px rgba(0, 0, 0, .55);
}
.telephone .capture {
  display: block; box-sizing: border-box; width: 100%; height: auto; aspect-ratio: 1206 / 2526;
  object-fit: cover; object-position: top;
  border: 3.4cqw solid #020202; border-radius: 16.6% / 7.7%;
  background: #020202;
}
/* Boutons : action et volume à gauche, marche/arrêt à droite (positions relevées sur l'iPhone du simulateur) */
.telephone::before, .telephone::after, .telephone .touches::before, .telephone .touches::after {
  content: ''; position: absolute; width: 3px; background: var(--bouton);
}
.telephone::before { left: -6px; top: 17.6%; height: 3.8%; border-radius: 2px 0 0 2px; }
.telephone .touches::before { left: -6px; top: 24.4%; height: 7%; border-radius: 2px 0 0 2px; }
.telephone .touches::after { left: -6px; top: 33%; height: 7%; border-radius: 2px 0 0 2px; }
.telephone::after { right: -6px; top: 28.8%; height: 11%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #5f6369, #c6c9ce 55%, #7d8188); }

.defiler {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font: 600 .66rem/1 var(--police); letter-spacing: .2em; text-transform: uppercase; color: var(--texte-clair); text-decoration: none;
}
.defiler i { width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); animation: descendre 2s ease-in-out infinite; transform-origin: top; }
@keyframes descendre { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Bande de chiffres ---------- */

.chiffres { background: linear-gradient(180deg, var(--nuit-2) 0%, #0c2258 100%); color: var(--blanc); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.chiffres .grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; text-align: center; }
.chiffre strong {
  display: block; font: 700 clamp(2.6rem, 5vw, 3.9rem)/1 var(--police-titre); font-style: italic;
  background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chiffre strong small { font-size: .45em; }
.chiffre > span { display: block; margin-top: .6rem; font: 600 .76rem/1.3 var(--police); letter-spacing: .16em; text-transform: uppercase; color: var(--texte-clair); }

/* ---------- Étapes ---------- */

.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: etape; }
.etape {
  position: relative; padding: 2.2rem 2rem 2.4rem; background: var(--gris); overflow: hidden;
  border-top: 3px solid transparent; border-image: var(--degrade) 1;
}
.etape:nth-child(2) { background: var(--nuit); color: var(--blanc); }
.etape .numero {
  font: 700 clamp(3.6rem, 6vw, 5rem)/1 var(--police-titre); font-style: italic;
  background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1.2rem;
}
.etiquette-etape {
  display: inline-block; padding: .35rem .6rem; margin-bottom: .9rem;
  background: var(--nuit); color: var(--blanc);
  font: 600 .66rem/1 var(--police); letter-spacing: .16em; text-transform: uppercase;
}
.etape:nth-child(2) .etiquette-etape { background: var(--degrade); }
.etape h3 { font: 700 1.55rem/1.05 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: .8rem; }
.etape p { margin: 0; color: var(--texte); }
.etape:nth-child(2) p { color: var(--texte-clair); }

/* ---------- Cartes d'avantages ---------- */

.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.carte {
  position: relative; padding: 2rem 1.8rem 2.1rem; border: 1px solid var(--ligne); background: var(--blanc);
  transition: transform .4s var(--courbe), box-shadow .4s var(--courbe), border-color .4s;
}
.carte:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(11, 22, 48, .25); border-color: transparent; }
.sombre .carte, .nuit-2 .carte { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.sombre .carte:hover, .nuit-2 .carte:hover { background: rgba(255, 255, 255, .07); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.icone {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(60, 203, 245, .18), rgba(11, 111, 224, .18));
  color: var(--bleu); border-radius: 14px;
}
.sombre .icone, .nuit-2 .icone { color: var(--cyan); }
.icone svg { width: 26px; height: 26px; }
.carte h3 { font: 700 1.35rem/1.1 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: .7rem; }
.carte p { margin: 0; color: var(--texte); font-size: 1rem; }
.sombre .carte p, .nuit-2 .carte p { color: var(--texte-clair); }

/* Frise d'une séance */
.frise { margin-top: clamp(3.5rem, 7vw, 5rem); padding: clamp(2rem, 4vw, 3rem); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.frise-titre { font: 700 1.5rem/1.1 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: 2.2rem; }
.frise ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.frise ol::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, rgba(60, 203, 245, .2), var(--cyan), var(--bleu)); }
.frise li { position: relative; padding-top: 2.2rem; }
.frise li::before {
  content: ''; position: absolute; top: 2px; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--nuit); border: 3px solid var(--cyan); box-shadow: 0 0 0 5px rgba(60, 203, 245, .15);
}
.frise li.vous::before { border-color: var(--texte-clair); box-shadow: none; }
.frise time { font: 700 1.7rem/1 var(--police-titre); font-style: italic; color: var(--cyan); display: block; margin-bottom: .45rem; }
.frise li.vous time { color: var(--texte-clair); }
.frise strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.frise p { margin: 0; color: var(--texte-clair); font-size: .93rem; }
/* Frise animée : la ligne se dessine lentement, chaque étape s'allume avec une alerte rouge façon notification */
.js .frise li[data-reveal] { transition-duration: 1.4s; }
.js .frise ol::before { transform-origin: left center; transform: scaleX(0); transition: transform 6.2s linear .2s; }
.js .frise.visible ol::before { transform: none; }
.alerte-point {
  position: absolute; z-index: 1; top: -13px; left: 11px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #ff3b30; color: var(--blanc); border: 2px solid var(--nuit);
}
.alerte-point svg { width: 13px; height: 13px; }
.alerte-point::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #ff3b30; opacity: 0; }
.js .frise li .alerte-point { opacity: 0; transform: scale(0); }
.js .frise li.visible .alerte-point { animation: alerte-pop .7s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--delai, 0s) + .6s); }
.js .frise li.visible .alerte-point::after { animation: onde 1.4s ease-out 3; animation-delay: calc(var(--delai, 0s) + .9s); }
@keyframes alerte-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.franchise {
  display: flex; gap: 1rem; align-items: flex-start; margin: 2.4rem 0 0; padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--cyan); background: rgba(60, 203, 245, .07); color: var(--texte-clair); font-size: .97rem;
}
.franchise svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--cyan); margin-top: .15rem; }
.franchise strong { color: var(--blanc); }

/* Tableau de bord de l'entraîneur */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.liste-avantages { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.liste-avantages li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.liste-avantages .icone { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.liste-avantages .icone svg { width: 22px; height: 22px; }
.liste-avantages strong { display: block; font: 700 1.2rem/1.15 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: .25rem; }
.liste-avantages p { margin: 0; color: var(--texte); font-size: .98rem; }
.claire .liste-avantages p { color: var(--texte); }

/* Écran de l'entraîneur (exemple) dans le même iPhone réaliste : mesures en largeur du téléphone (cqw) */
.coach-visuel { position: relative; display: flex; flex-direction: column; align-items: center; }
.telephone-app { width: clamp(240px, calc((100vh - 300px) / 2.15), 300px); }
.ecran-app {
  box-sizing: border-box; aspect-ratio: 1206 / 2526; overflow: hidden; position: relative;
  border: 3.4cqw solid #020202; border-radius: 16.6% / 7.7%;
  background: #F2F4F8; color: #0B1630; font-family: var(--police); font-size: 3.3cqw; line-height: 1.3;
  padding: 0 4.2cqw; display: flex; flex-direction: column; gap: 3cqw;
}
.app-statut { display: flex; align-items: center; justify-content: space-between; height: 11cqw; padding: 0 3cqw; font-weight: 600; font-size: 3.6cqw; }
.app-ilot { width: 26cqw; height: 7.4cqw; border-radius: 99px; background: #000; }
.app-reseau { display: flex; align-items: flex-end; gap: .5cqw; }
.app-reseau i { width: .9cqw; background: #0B1630; border-radius: .3cqw; }
.app-reseau i:nth-child(1) { height: 1.4cqw; } .app-reseau i:nth-child(2) { height: 2cqw; } .app-reseau i:nth-child(3) { height: 2.6cqw; } .app-reseau i:nth-child(4) { height: 3.2cqw; }
.app-reseau b { width: 6cqw; height: 3cqw; margin-left: 1cqw; border-radius: .9cqw; background: #34C759; }
.app-sur { margin: 1cqw 0 -2.4cqw; font-size: 3cqw; color: #5A6680; letter-spacing: .02em; }
.app-titre { margin: 0; font: 700 8cqw/1.05 var(--police-titre); color: #0B1630; }
.app-carte { background: #fff; border: 1px solid #E3E8F0; border-radius: 4cqw; padding: 3cqw 3.4cqw; }
.app-carte small { display: block; font-size: 2.7cqw; letter-spacing: .1em; text-transform: uppercase; color: #5A6680; font-weight: 600; }
.app-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.app-kpis strong { display: block; font: 700 8.6cqw/1.05 var(--police-titre); color: #0A5BBF; margin-top: .6cqw; }
.app-kpis em { display: block; font-style: normal; font-size: 2.6cqw; color: #157A4A; font-weight: 600; }
.app-barres { display: flex; align-items: flex-end; gap: 1.6cqw; height: 20cqw; margin-top: 2cqw; border-bottom: 1px solid #DCE3EE; }
.app-barres i { flex: 1; height: 100%; border-radius: 1.2cqw 1.2cqw 0 0; background: linear-gradient(180deg, #1AAEF3, #0B6FE0); transform-origin: bottom; transform: scaleY(var(--h)); transition: transform 1.2s var(--courbe); }
.js .coach-visuel:not(.visible) .app-barres i { transform: scaleY(.04); }
.app-mois { display: flex; gap: 1.6cqw; margin-top: 1cqw; }
.app-mois span { flex: 1; text-align: center; font-size: 2.5cqw; color: #8C97AB; font-weight: 600; }
.app-appel { display: grid; gap: 1.9cqw; }
.app-appel-tete { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4cqw; }
.app-appel-tete span { font-size: 2.8cqw; font-weight: 700; color: #0A5BBF; }
.app-ligne { display: grid; grid-template-columns: 6cqw 1fr auto; align-items: center; gap: 1.6cqw; font-size: 3.2cqw; font-weight: 500; }
.app-ligne b { font: 700 3.4cqw/1 var(--police-titre); color: #0B1630; text-align: center; }
.app-etat { font-style: normal; font-size: 2.6cqw; font-weight: 600; padding: .7cqw 2cqw; border-radius: 99px; }
.app-etat.present { background: #E3F6EC; color: #157A4A; }
.app-etat.retard { background: #FFF1D6; color: #8A5300; }
.app-etat.absent { background: #FDE6E6; color: #B42323; }
.app-convoc p { display: flex; justify-content: space-between; align-items: baseline; margin: 1.2cqw 0 1.6cqw; font-size: 3.3cqw; }
.app-convoc strong { font-weight: 600; }
.app-convoc span { font-weight: 700; color: #0A5BBF; font-size: 3cqw; }
.app-jauge { height: 1.6cqw; border-radius: 99px; background: #E2E8F1; overflow: hidden; }
.app-jauge i { display: block; width: 86%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1AAEF3, #0B6FE0); }
.app-onglets {
  margin-top: auto; margin-bottom: 3.4cqw; display: grid; grid-template-columns: repeat(5, 1fr);
  background: #050D24; border-radius: 6cqw; padding: 2.6cqw 1cqw 2.2cqw;
}
.app-onglets span { display: flex; flex-direction: column; align-items: center; gap: .6cqw; font-size: 2.3cqw; font-weight: 600; color: #A9BBD6; }
.app-onglets span.actif { color: #1AAEF3; }
.app-onglets svg { width: 5cqw; height: 5cqw; }
.coach-bulle {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(calc(-50% - clamp(110px, 12vw, 170px)));
  display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem .75rem .75rem;
  background: #fff; color: var(--encre, #0B1630); border-radius: 16px; font-size: .82rem; line-height: 1.3;
  box-shadow: 0 18px 40px -16px rgba(11, 22, 48, .35); border: 1px solid #E3E8F0; white-space: nowrap;
}
.coach-bulle strong { display: block; font-size: .92rem; }
.coach-bulle-icone { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #E3F6EC; color: #157A4A; flex: none; }
.coach-bulle-icone svg { width: 18px; height: 18px; }
.coach-mention { margin: 1.2rem 0 0; font-size: .78rem; color: var(--texte); }
.claire .coach-mention, [data-clair] .coach-mention { color: #5A6680; }
@media (max-width: 1024px) {
  .coach-bulle { position: static; transform: none; margin-top: -.9rem; z-index: 2; }
}

/* Espace joueur */
.joueur-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.joueur-cartes .carte { background: var(--blanc); }
.stat-geante { font: 700 3.2rem/1 var(--police-titre); font-style: italic; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: .8rem; }

/* Bande « données protégées » */
.garanties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.garantie { text-align: left; }
.garantie .icone { margin-bottom: 1rem; }
.garantie strong { display: block; font: 700 1.3rem/1.1 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: .4rem; }
.garantie p { margin: 0; color: var(--texte-clair); font-size: .96rem; }

/* ---------- Tarif ---------- */

.offres { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 1.25rem; align-items: stretch; }
.offre { position: relative; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--ligne); background: var(--blanc); display: flex; flex-direction: column; }
.offre.vedette { background: var(--nuit); color: var(--blanc); border: 0; overflow: hidden; isolation: isolate; }
.offre.vedette::before {
  content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 174, 243, .45), rgba(26, 174, 243, 0) 65%);
}
.ruban {
  align-self: flex-start; padding: .4rem .7rem; margin-bottom: 1.4rem; background: var(--degrade); color: var(--blanc);
  font: 600 .68rem/1 var(--police); letter-spacing: .16em; text-transform: uppercase;
}
.offre:not(.vedette) .ruban { background: var(--nuit); }
.offre h3 { font: 700 1.6rem/1.05 var(--police-titre); font-style: italic; text-transform: uppercase; margin-bottom: 1rem; }
.prix { display: flex; align-items: flex-end; gap: .8rem; flex-wrap: wrap; margin-bottom: .4rem; }
.prix strong {
  font: 700 clamp(4.5rem, 10vw, 7rem)/.9 var(--police-titre); font-style: italic;
  background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .2em; margin-right: -.1em;
}
.offre:not(.vedette) .prix strong { background: none; color: var(--encre); -webkit-background-clip: initial; background-clip: initial; }
.prix span { font: 600 .85rem/1.3 var(--police); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-clair); padding-bottom: .7rem; }
.offre:not(.vedette) .prix span { color: var(--texte); }
.equivalent { font-size: 1.02rem; color: var(--cyan); margin-bottom: 1.6rem; }
.offre ul { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
.offre li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; }
.offre li svg { width: 1.2rem; height: 1.2rem; color: var(--cyan); margin-top: .2rem; }
.offre:not(.vedette) li svg { color: var(--bleu); }
.offre .bouton { align-self: flex-start; margin-top: auto; }
.petites-lignes { margin: 1.4rem 0 0; font-size: .86rem; color: var(--texte-clair); line-height: 1.55; }
.offre:not(.vedette) .petites-lignes { color: var(--texte); }
.comparaison { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.comparaison div { padding: 1.3rem 1.4rem; background: var(--gris); border-left: 3px solid var(--azur); }
.comparaison strong { display: block; font: 700 1.6rem/1 var(--police-titre); font-style: italic; color: var(--bleu); margin-bottom: .35rem; }
.comparaison p { margin: 0; font-size: .95rem; color: var(--texte); }

/* ---------- Foire aux questions ---------- */

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--entete) + 2rem); }
.faq-intro .chapo { margin: 1.6rem 0 2rem; }
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filtres button {
  padding: .6rem .95rem; border: 1px solid var(--ligne); background: var(--blanc); border-radius: 99px;
  font: 600 .74rem/1 var(--police); letter-spacing: .1em; text-transform: uppercase; color: var(--texte);
  transition: background-color .25s, color .25s, border-color .25s;
}
.filtres button:hover { border-color: var(--bleu); color: var(--bleu); }
.filtres button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }
.questions { border-top: 1px solid var(--ligne); }
.question { border-bottom: 1px solid var(--ligne); }
.question[hidden] { display: none; }
.question summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 34px; gap: 1rem; align-items: center;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.04rem; line-height: 1.35;
}
.question summary::-webkit-details-marker { display: none; }
.question summary .plus {
  width: 34px; height: 34px; border: 1px solid var(--ligne); display: grid; place-items: center; position: relative;
  transition: background-color .3s, border-color .3s;
}
.question summary .plus::before, .question summary .plus::after {
  content: ''; position: absolute; width: 12px; height: 2px; background: var(--encre); transition: transform .35s var(--courbe), background-color .3s;
}
.question summary .plus::after { transform: rotate(90deg); }
.question[open] summary .plus { background: var(--nuit); border-color: var(--nuit); }
.question[open] summary .plus::before, .question[open] summary .plus::after { background: var(--blanc); }
.question[open] summary .plus::after { transform: rotate(0deg); }
.question summary:hover { color: var(--bleu); }
.reponse { padding: 0 3.2rem 1.4rem 0; color: var(--texte); }
.reponse p:last-child { margin-bottom: 0; }
.reponse strong { color: var(--encre); }
.question[open] .reponse { animation: deplier .45s var(--courbe); }
@keyframes deplier { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.categorie-titre {
  margin: 2.4rem 0 .4rem; font: 600 .74rem/1 var(--police); letter-spacing: .18em; text-transform: uppercase; color: var(--bleu);
}
.categorie-titre:first-child { margin-top: 0; }
.categorie-titre[hidden] { display: none; }

/* ---------- Appel final ---------- */

.appel { position: relative; overflow: hidden; isolation: isolate; text-align: center; background: var(--nuit); color: var(--blanc); }
.appel::before {
  content: ''; position: absolute; z-index: -1; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(50% 50% at 30% 50%, rgba(26, 174, 243, .45), transparent 70%), radial-gradient(45% 50% at 75% 45%, rgba(11, 111, 224, .5), transparent 70%);
}
.appel .surtitre { justify-content: center; }
.appel .titre { margin: 0 auto clamp(1.2rem, 3vh, 2rem); font-size: clamp(3rem, min(8.4vw, 12.5vh), 8.2rem); }
.appel .chapo { margin: 0 auto clamp(1.8rem, 4.5vh, 3rem); max-width: 50rem; font-size: clamp(1.15rem, min(2vw, 3vh), 1.65rem); line-height: 1.45; color: var(--blanc); }
.appel .boutons { justify-content: center; gap: 1.2rem; }
/* Boutons des magasins d'applications, à la façon des badges officiels */
.store-grand {
  gap: .9rem; padding: .85rem 1.7rem .85rem 1.4rem; border-radius: 14px; text-align: left; min-width: 15.5rem;
  background: #000; border-color: rgba(255, 255, 255, .45); color: var(--blanc); font-size: .9rem;
}
.store-grand strong { font-size: 1.45rem; line-height: 1.1; font-weight: 600; }
.store-grand .logo-store { width: 2.3rem; height: 2.3rem; flex: none; }

/* ---------- Pied de page ---------- */

.pied { background: #030817; color: var(--texte-clair); padding: 4.5rem 0 2rem; font-size: .95rem; }
.pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pied h4 { font: 600 .74rem/1 var(--police); letter-spacing: .18em; text-transform: uppercase; color: var(--blanc); margin-bottom: 1.2rem; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--cyan); }
.pied .marque { margin-bottom: 1.2rem; }
.pied-bas { margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }

/* ---------- Apparitions au défilement (inspirées de bmsd.fr) ---------- */

.js [data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--courbe), transform 1s var(--courbe);
  transition-delay: var(--delai, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="haut"] { transform: translate3d(0, 48px, 0); }
.js [data-reveal="gauche"] { transform: translate3d(-70px, 0, 0); }
.js [data-reveal="droite"] { transform: translate3d(70px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal="titre"] { opacity: 1; }
.js [data-reveal="titre"] .ligne > span { transform: translate3d(0, 110%, 0); transition: transform 1.1s var(--courbe); transition-delay: calc(var(--delai, 0s) + var(--i, 0) * .12s); }
.js [data-reveal].visible { opacity: 1; transform: none; }
.js [data-reveal="titre"].visible .ligne > span { transform: none; }

/* ---------- Défilement par section (repris de la refonte de bmsd.fr) ---------- */

.heros .conteneur { row-gap: clamp(1.5rem, 4vh, 3rem); }
.heros-chiffres {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  padding-top: clamp(1.2rem, 3vh, 2rem); border-top: 1px solid rgba(255, 255, 255, .1);
}
.heros-chiffres .chiffre strong { font-size: clamp(1.9rem, min(3.4vw, 5.4vh), 2.9rem); }
.heros-chiffres .chiffre > span { margin-top: .4rem; font-size: .7rem; }
.heros .chapo { margin-bottom: clamp(1.2rem, 3vh, 2.2rem); }

@media (min-width: 1025px) {
  /* Chaque section occupe l'écran */
  .panneau {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
  }
  .panneau > .conteneur { width: 100%; }
  .panneau:not(.heros) { padding: calc(var(--entete) + clamp(1.5rem, 4vh, 3rem)) 0 clamp(1.5rem, 4vh, 3rem); }
  .heros.panneau { padding: calc(var(--entete) + 1.5rem) 0 clamp(2rem, 5vh, 3.5rem); }
  .heros .defiler { display: none; }
  .panneau .entete-section { margin-bottom: clamp(1.6rem, 4.5vh, 3.5rem); }
  .panneau .surtitre { margin-bottom: clamp(.8rem, 2vh, 1.4rem); }
  .panneau .carte { padding: clamp(1.2rem, 2.6vh, 2rem) 1.6rem; }
  .panneau .carte .icone { width: 44px; height: 44px; margin-bottom: clamp(.6rem, 1.6vh, 1.4rem); }
  .panneau .etape { padding: clamp(1.4rem, 3vh, 2.2rem) 2rem; }
  .panneau .etape .numero { font-size: clamp(3rem, 8vh, 5rem); margin-bottom: clamp(.6rem, 1.6vh, 1.2rem); }
  .liste-avantages { gap: clamp(.8rem, 2vh, 1.4rem); margin-top: clamp(1.2rem, 3vh, 2rem); }
  .offre { padding: clamp(1.5rem, 3.5vh, 3rem) clamp(1.5rem, 3vw, 3rem); }
  .ruban { margin-bottom: clamp(.8rem, 2vh, 1.4rem); }
  .prix strong { font-size: clamp(3.6rem, min(8vw, 11vh), 7rem); }
  .offre ul { gap: .5rem; margin-bottom: clamp(1rem, 2.5vh, 2rem); }
  .frise { margin-top: 0; }
}
/* Aimantation de section en section : seulement à la souris (ordinateur).
   Au doigt (téléphone, tablette), le défilement reste libre, sans à-coups. */
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  html { scroll-snap-type: y mandatory; }
  html.snap-souple { scroll-snap-type: y proximity; }
  .panneau { scroll-snap-align: start; scroll-snap-stop: always; }
  .pied { scroll-snap-align: end; }
}
@media (max-width: 1024px) {
  .heros-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Adaptations ---------- */

@media (max-width: 1080px) {
  .navigation { gap: 1.2rem; }
  .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .joueur-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .garanties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --entete: 66px; }
  .bouton-menu { display: block; }
  .navigation {
    position: fixed; inset: var(--entete) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 13, 36, .97); padding: 1rem var(--marge) 2rem;
    transform: translateY(-120%); transition: transform .45s var(--courbe); z-index: -1;
  }
  .navigation a:not(.bouton) { padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; }
  .navigation .bouton { margin-top: 1.4rem; }
  .menu-ouvert .navigation { transform: none; }
  .menu-ouvert .entete { background: rgba(5, 13, 36, .97); }
  .heros .conteneur, .entete-section, .deux-colonnes, .faq, .offres { grid-template-columns: 1fr; }
  .heros .conteneur { gap: 4rem; }
  .faq-intro { position: static; }
  .chiffres .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; }
  .etapes { grid-template-columns: 1fr; }
  .frise ol { grid-template-columns: 1fr; gap: 1.8rem; }
  .frise ol::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, rgba(60, 203, 245, .2), var(--cyan), var(--bleu)); }
  .frise li { padding: 0 0 0 2.6rem; }
  .frise li::before { top: 0; }
  .js .frise ol::before { transform-origin: center top; transform: scaleY(0); }
  .js .frise.visible ol::before { transform: none; }
  .alerte-point { top: -12px; left: 10px; }
  .comparaison { grid-template-columns: 1fr; }
  .defiler { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .cartes, .joueur-cartes, .garanties { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
  .reponse { padding-right: 0; }
  .boutons .bouton { width: 100%; }
  .js [data-reveal="gauche"], .js [data-reveal="droite"] { transform: translate3d(0, 40px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="titre"] .ligne > span { opacity: 1; transform: none; }
  .js .frise ol::before, .js .frise li .alerte-point { opacity: 1; transform: none; animation: none; }
}

/* ===== L'application en vrai : galerie de captures ===== */
.galerie {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem); align-items: start;
}
.apercu { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.telephone.petit {
  width: calc(100% - 12px); max-width: min(226px, calc((100vh - 430px) / 2.2)); min-width: 150px;
  border-width: 2.5px;
}
.apercu figcaption { font-size: .9rem; line-height: 1.45; color: var(--texte-clair); max-width: 230px; }
.apercu figcaption strong {
  display: block; margin-bottom: .2rem; color: var(--blanc);
  font: 700 1.15rem/1.15 var(--police-titre); font-style: italic; text-transform: uppercase;
}
@media (max-width: 1024px) {
  .galerie {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.2rem;
    margin-inline: calc(-1 * var(--marge, 1.25rem)); padding: .5rem var(--marge, 1.25rem) 2.5rem;
    scrollbar-width: none;
  }
  .galerie::-webkit-scrollbar { display: none; }
  .apercu { flex: 0 0 min(62vw, 240px); scroll-snap-align: center; }
  .telephone.petit { max-width: none; }
}

/* Appel final sur téléphone : « l'esprit tranquille. » tient sur une ligne */
@media (max-width: 640px) {
  .appel .titre { font-size: min(10.4vw, 3rem); }
}

/* Trajet du héros sur téléphone : pastilles plus petites */
@media (max-width: 640px) {
  .trajet-lieu .pastille { width: 2.4rem; height: 2.4rem; }
  .trajet-lieu .pastille svg { width: 1.15rem; height: 1.15rem; }
  .trajet-lieu .nom { font-size: .58rem; letter-spacing: .12em; }
}
