/* EntreParents : feuille de style de la page d'accueil (réalisée le 21.10.2026 à partir de la maquette validée par Miguel).
   Les pages légales gardent style.css. */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("polices/Nunito-Regular.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("polices/Nunito-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("polices/Nunito-ExtraBold.ttf") format("truetype"); }
/* Police de repli aux mesures de Nunito (Arial ajustée) : tant que Nunito n'est pas chargée, le texte occupe déjà la même
   place, donc rien ne saute à son arrivée. Mesures de Nunito : ascendante 1011, descendante 353 (sur 1000) ; largeurs
   mesurées dans Chrome contre Arial : 100,5 % (normal), 95,5 % et 99,7 % (gras). */
@font-face { font-family: "Nunito repli"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto"); size-adjust: 100.5%; ascent-override: 100.6%; descent-override: 35.1%; line-gap-override: 0%; }
@font-face { font-family: "Nunito repli"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 95.5%; ascent-override: 105.9%; descent-override: 37%; line-gap-override: 0%; }
@font-face { font-family: "Nunito repli"; font-weight: 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"); size-adjust: 99.7%; ascent-override: 101.4%; descent-override: 35.4%; line-gap-override: 0%; }

:root {
  /* Marque */
  --indigo: #4448E4; --violet: #9A6BFF; --violet-clair: #C2A6FF; --encre: #151A2D; --blanc: #FFFFFF;
  /* États, rien d'autre */
  --jaune: #FFC83A; --jaune-t: #3A2A00; --vert: #0C7A5B; --vert-doux: #DDF3EA; --vert-t: #0B7356;
  /* Lumière et matière */
  --nuit: #0B0D2E; --crepuscule: #2B2A8C;
  --brume-haute: #EEE9FD; --brume: #E3DDFA; --brume-basse: #CFC2F6;
  --lavande-t: #E4E0FF; --encre-douce: #33375A;
  /* Ombres teintées par leur fond (jamais grises) */
  --ombre-brume: 0 1px 2px rgba(52, 36, 132, .18), 0 6px 14px rgba(52, 36, 132, .14), 0 22px 44px -12px rgba(52, 36, 132, .32);
  --ombre-brume-haute: 0 2px 4px rgba(52, 36, 132, .16), 0 14px 30px rgba(52, 36, 132, .18), 0 46px 80px -20px rgba(52, 36, 132, .45);
  --ombre-indigo: 0 2px 4px rgba(14, 9, 72, .3), 0 14px 30px rgba(14, 9, 72, .3), 0 40px 70px -16px rgba(14, 9, 72, .6);
  --ombre-profond: 0 2px 4px rgba(3, 4, 26, .4), 0 14px 30px rgba(3, 4, 26, .4), 0 40px 70px -16px rgba(3, 4, 26, .7);
  /* Échelle (Éléments du style typographique : 15, 18, 21, 24, 36, 48, 60, 72…) */
  --t-petit: 15px; --t-texte: 18px; --t-intro: clamp(18px, 1.8vw, 21px); --t-h3: 21px;
  --t-h2: clamp(34px, 5.4vw, 60px); --t-h1: clamp(40px, 6.2vw, 74px); --t-ciel: clamp(28px, 3.4vw, 40px);
  /* Air et fondus : le texte reste à --air du bord de chaque partie ; les couleurs se fondent sur --fondu de chaque côté */
  --gouttiere: 24px; --air: 160px; --fondu: 112px;
  /* Le fil : écart entre le rail et le texte quand il passe dans la marge (grands écrans) */
  --rail-ecart: 56px;
}
@media (min-width: 760px) { :root { --gouttiere: 32px; --air: 200px; --fondu: 136px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
html.anime { scroll-behavior: smooth; }
body { position: relative; margin: 0; background: var(--nuit); color: var(--encre); font: 400 var(--t-texte)/1.55 "Nunito", "Nunito repli", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: var(--t-h2); letter-spacing: -0.03em; line-height: 1.0; }
h3 { font-size: var(--t-h3); line-height: 1.2; }
b, strong { font-weight: 800; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 2px; }
section[id], div[id] { scroll-margin-top: 16px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cadre { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gouttiere); }
.texte { max-width: 38em; }
.intro { font-size: var(--t-intro); margin-top: 20px; max-width: 34em; }
:focus-visible { outline: 3px solid var(--focus, var(--crepuscule)); outline-offset: 3px; border-radius: 6px; }


/* ---------- Climats : dégradé, lumière, grain, et fondus d'une partie à l'autre ----------
   Chaque partie part de --entree (le mélange avec la partie du dessus) et finit sur --sortie (le mélange avec celle du
   dessous) : deux parties voisines se touchent toujours sur la même couleur. Les taches de lumière restent loin des bords,
   le grain s'efface dans les fondus. */
.climat { position: relative; isolation: isolate; overflow: clip;
  background-color: var(--milieu);
  background-image: var(--lumiere-1, none), var(--lumiere-2, none),
    linear-gradient(180deg, var(--entree, var(--haut)) 0, var(--haut) var(--fondu), var(--milieu) 50%, var(--bas) calc(100% - var(--fondu)), var(--sortie, var(--bas)) 100%); }
.climat::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("img/grain.svg") repeat; background-size: 220px; mix-blend-mode: soft-light; opacity: var(--grain, .16);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 var(--fondu), #000 calc(100% - var(--fondu)), transparent 100%); }
.indigo { --haut: #2629AE; --milieu: #3639D2; --bas: #4448E4; color: var(--blanc); --focus: var(--blanc); --arc-g: #A3A6FF; --arc-d: #C2A6FF; }
.profond { --haut: var(--nuit); --milieu: #14175A; --bas: var(--crepuscule); color: var(--blanc); --focus: var(--blanc); --arc-g: #A3A6FF; --arc-d: #C2A6FF; }
.brume { --haut: var(--brume-haute); --milieu: var(--brume); --bas: var(--brume-basse); color: var(--encre); --focus: var(--crepuscule); --grain: .32; --arc-g: var(--indigo); --arc-d: var(--violet); }

/* Les jonctions (mélanges choisis à la main, plus vifs qu'une moyenne pour ne pas passer par le gris) */
.s-ouverture { --sortie: #292B9E;
  --lumiere-1: radial-gradient(46% 460px at 98% 0%, rgba(240, 180, 224, .34), transparent 70%);
  --lumiere-2: radial-gradient(460px 420px at 82% 58%, rgba(154, 107, 255, .42), transparent 70%); }
.s-messages { --entree: #292B9E; --sortie: #8A7EDF;
  --lumiere-1: radial-gradient(560px 300px at 94% calc(100% - 330px), rgba(240, 180, 224, .28), transparent 70%); }
.s-comment { --entree: #8A7EDF; --sortie: #7B74DA;
  --lumiere-1: radial-gradient(620px 420px at 6% 420px, rgba(243, 240, 254, .95), transparent 70%);
  --lumiere-2: radial-gradient(560px 620px at 100% 55%, rgba(191, 175, 243, .7), transparent 70%); }
.s-video { --entree: #7B74DA; --sortie: #9A97F0;
  --lumiere-1: radial-gradient(620px 420px at 94% 380px, rgba(240, 180, 224, .3), transparent 70%);
  --lumiere-2: radial-gradient(520px 480px at 78% 52%, rgba(154, 107, 255, .42), transparent 70%); }
.s-qui { --entree: #9A97F0; --sortie: #6F62D2;
  --lumiere-1: radial-gradient(600px 400px at 8% 360px, rgba(243, 240, 254, .95), transparent 70%);
  --lumiere-2: radial-gradient(520px 420px at 96% 60%, rgba(191, 175, 243, .75), transparent 70%); }
.s-confiance { --entree: #6F62D2; --sortie: #8A7EDF;
  --lumiere-1: radial-gradient(560px 300px at 94% calc(100% - 330px), rgba(240, 180, 224, .28), transparent 70%); }
.s-prix { --entree: #8A7EDF; --sortie: #6F62D2;
  --lumiere-1: radial-gradient(620px 420px at 6% 420px, rgba(243, 240, 254, .95), transparent 70%);
  --lumiere-2: radial-gradient(560px 560px at 96% 40%, rgba(191, 175, 243, .75), transparent 70%); }
.s-fin { --entree: #6F62D2;
  --lumiere-1: radial-gradient(620px 360px at 92% 62%, rgba(240, 180, 224, .26), transparent 70%); }

.bloc { padding: var(--air) 0; }





/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 26px; border-radius: 18px; font-weight: 800; font-size: 18px; line-height: 1.2; text-decoration: none; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.bouton:active { transform: translateY(1px); }
.bouton.clair { background: var(--blanc); color: var(--indigo); box-shadow: 0 2px 4px rgba(14, 9, 72, .25), 0 12px 26px -8px rgba(14, 9, 72, .55); }
.bouton.clair:hover { box-shadow: 0 2px 4px rgba(14, 9, 72, .25), 0 18px 34px -8px rgba(14, 9, 72, .65); transform: translateY(-1px); }
.bouton.plein { background: var(--indigo); color: var(--blanc); box-shadow: 0 2px 4px rgba(52, 36, 132, .2), 0 12px 24px -8px rgba(68, 72, 228, .6); }
.bouton.plein:hover { background: #3236C4; }
.bouton.petit { min-height: 44px; padding: 8px 16px; font-size: 16px; border-radius: 14px; }
.bouton.large { width: 100%; }
.bouton.grand { margin-top: 32px; }


/* ---------- 1. Ouverture ---------- */
.s-ouverture { padding-bottom: var(--air); }
.barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 8px; }
.logo { display: inline-block; border-radius: 6px; }
.logo img { height: 30px; width: auto; }
.ouverture-int { position: relative; display: grid; gap: 64px; padding-top: 36px; }
.ciel-date { font-size: var(--t-petit); font-weight: 600; color: var(--lavande-t); }
.ciel-phrase { display: grid; margin-top: 6px; font-size: var(--t-ciel); font-weight: 800; line-height: .98; letter-spacing: -0.035em; }
.ciel-phrase span { grid-area: 1 / 1; }
.phrase-apres { opacity: 0; }

/* La fiche du jour : un objet de papier posé devant le ciel */
.fiche-jour { position: relative; margin-top: 26px; max-width: 470px; padding: 16px 18px 18px; border-radius: 22px; background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-indigo); transform: rotate(-1.2deg); }
.fiche-activite { font-size: var(--t-petit); font-weight: 800; color: var(--indigo); text-align: center; }
.rail { position: relative; height: 57px; margin-top: 6px; }
.poste { position: absolute; top: 0; width: 56px; height: 57px; }
.poste.depart { left: 0; }
.poste.arrivee { right: 0; }
.arcs { display: block; width: 56px; height: 57px; }
.fil-trajet { position: absolute; left: 64px; right: 64px; top: 27px; border-top: 3px dotted #B9BCE0; }
.point { position: absolute; width: 19px; height: 19px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.point.fixe { left: 18.5px; top: 19px; }
.case-vide { position: absolute; left: 22px; top: 22.5px; width: 12px; height: 12px; border-radius: 2px; background: var(--jaune); box-shadow: 0 0 0 2px var(--jaune-t); }
.relais { position: absolute; top: 19px; left: 18.5px; width: 19px; height: 19px; }
.relais .point { left: 0; top: 0; box-shadow: 0 6px 10px -2px rgba(14, 9, 72, .35); }
.fiche-etats { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.etat-bloc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.etat-bloc.droite { align-items: flex-end; }
.sens { font-size: var(--t-petit); font-weight: 800; }
.etat-pile { display: grid; justify-items: end; }
.etat-pile .etat { grid-area: 1 / 1; }
.etat-pile .ok { opacity: 0; }

/* Les jetons d'état : forme + mot + couleur */
.etat { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 7px; border-radius: 99px; font-size: 14px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.etat.a { background: var(--jaune); color: var(--jaune-t); }
.etat.a::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--jaune-t); }
.etat.ok { background: var(--vert-doux); color: var(--vert-t); }
.etat.ok::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--vert) url("img/coche.svg") center / 10px no-repeat; }

h1 { margin-top: 8px; font-size: var(--t-h1); line-height: 1.02; letter-spacing: -0.03em; max-width: 13em; }
.chapeau { margin-top: 12px; font-size: var(--t-intro); font-weight: 600; color: var(--lavande-t); }
.ciel { margin-top: 34px; }
.ciel-legende { font-size: var(--t-petit); font-weight: 600; color: var(--lavande-t); margin-bottom: 10px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.lien-clair { font-weight: 800; color: var(--blanc); border-radius: 6px; }
.prix-ouverture { margin-top: 22px; font-size: var(--t-petit); font-weight: 600; color: var(--lavande-t); max-width: 30em; }
.prix-ouverture b { color: var(--blanc); }
.prix-ouverture a { font-weight: 800; color: var(--blanc); }

/* Le téléphone : un objet qui flotte au-dessus du mur */
.tel { position: relative; padding: 9px; border-radius: 46px; background: linear-gradient(140deg, #3A4066 0%, var(--encre) 30%, #0B0E1C 100%); box-shadow: var(--ombre-indigo), inset 0 0 0 1.5px #2E3250; }
.brume .tel { box-shadow: var(--ombre-brume-haute), inset 0 0 0 1.5px #2E3250; }
.profond .tel { box-shadow: var(--ombre-profond), inset 0 0 0 1.5px #2E3250; }
.tel img, .tel video { width: 100%; height: auto; border-radius: 38px; }
.tel-pile { display: grid; }
.tel-pile img { grid-area: 1 / 1; }
.ecran-apres { opacity: 0; }
.ouverture-tel { position: relative; justify-self: center; width: min(260px, 78%); }
.ouverture-tel figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--lavande-t); }
/* La lumière de la fenêtre tombe sur le téléphone, jamais sous le texte */
.ouverture-tel::before { content: ""; position: absolute; z-index: -1; left: -30%; top: -6%; width: 160%; height: 70%; border-radius: 30px; opacity: .22; filter: blur(16px); transform: perspective(600px) rotateX(12deg) skewX(-14deg);
  background:
    linear-gradient(90deg, transparent 31%, rgba(43, 42, 140, .9) 31% 35%, transparent 35% 65%, rgba(43, 42, 140, .9) 65% 69%, transparent 69%),
    linear-gradient(0deg, transparent 47%, rgba(43, 42, 140, .9) 47% 53%, transparent 53%),
    rgba(255, 255, 255, .9); }

/* L'animation validée du haut de page : le point passe le relais, une fois, au chargement (inchangée) */
@media (prefers-reduced-motion: no-preference) {
  .relais { animation: relais-x 5.2s both; }
  .relais .point { animation: relais-saut 5.2s both; }
  .case-vide { animation: s-efface 5.2s both; }
  .phrase-avant { animation: phrase-part 5.2s both; }
  .phrase-apres { animation: phrase-arrive 5.2s both; }
  .etat-pile .a { animation: s-efface 5.2s both; }
  .etat-pile .ok { animation: s-montre 5.2s both; }
  .ecran-apres { animation: s-montre 5.2s both; }
}
@keyframes relais-x {
  0%, 30% { left: 18.5px; animation-timing-function: cubic-bezier(.55, 0, .35, 1); }
  62%, 100% { left: calc(100% - 37.5px); }
}
@keyframes relais-saut {
  0%, 30% { transform: translateY(0); animation-timing-function: cubic-bezier(.2, .7, .4, 1); }
  46% { transform: translateY(-38px); animation-timing-function: cubic-bezier(.6, 0, .8, .3); }
  62% { transform: translateY(0) scale(1.28); animation-timing-function: ease-out; }
  70%, 100% { transform: translateY(0) scale(1); }
}
@keyframes s-efface { 0%, 61% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes s-montre { 0%, 62% { opacity: 0; } 72%, 100% { opacity: 1; } }
@keyframes phrase-part { 0%, 62% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes phrase-arrive { 0%, 64% { opacity: 0; transform: translateY(12px); } 74%, 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .poste-fil, .js .fente .pt { transition: none; }
  .relais { left: calc(100% - 37.5px); }
  .case-vide, .phrase-avant, .etat-pile .a { opacity: 0; }
  .phrase-apres, .etat-pile .ok, .ecran-apres { opacity: 1; }
  .bouton { transition: none; }
}


/* ---------- Le fil du point (dessiné par site.js ; rien sans script) ----------
   Les postes : les arcs du logo, posés au début de chaque partie. Quand le point s'y arrête, le symbole se reforme ;
   une fois passé, le poste reste allumé. Téléphone et écrans moyens : juste au-dessus du texte, le fil fait un crochet
   depuis la marge. Grands écrans : dans la marge, sur le rail. */
.avec-poste { position: relative; }
.poste-fil { position: absolute; left: var(--gouttiere); top: -66px; width: 30px; height: 30.6px; pointer-events: none; opacity: .4; transform: scale(.84); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .3, 1.4); }
html:not(.js) .poste-fil { display: none; }
.poste-fil svg { display: block; width: 100%; height: 100%; overflow: visible; }
.poste-fil .arc-g, .fente .arc-g { fill: var(--arc-g); }
.poste-fil .arc-d, .fente .arc-d { fill: var(--arc-d); }
.poste-fil.atteint { opacity: 1; transform: none; }
.poste-fil.present { transform: scale(1.12); }
.poste-fil::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34%; height: 34%; margin: -17% 0 0 -17%; border-radius: 50%; box-shadow: 0 0 0 2px var(--arc-d); opacity: 0; pointer-events: none; }
.anime .poste-fil.present::after { animation: onde 1.1s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes onde { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
.fil-calque { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
.fil-calque svg { position: absolute; left: 0; top: 0; overflow: visible; }
.fil-cran { transition: fill .3s ease; }

/* Le bouton d'arrivée : les arcs du logo attendent le point */
.fente { flex: none; display: block; width: 26px; height: 26.52px; margin-left: -6px; }
.fente svg { display: block; width: 100%; height: 100%; overflow: visible; }
.fin-fil { --arc-g: var(--indigo); --arc-d: var(--violet); }
.fente .pt { fill: var(--indigo); }
.js .fente .pt { opacity: 0; transition: opacity .3s ease .2s; }
.js .fin-fil.arrive .fente .pt { opacity: 1; }
/* À l'arrivée, le bouton se soulève : son ombre s'allonge (pas de halo ; il ne se déplace pas, pour que le point reste pile dans ses arcs) */
.anime .fin-fil { transition: box-shadow .5s ease; }
.fin-fil.arrive { box-shadow: 0 3px 6px rgba(3, 4, 26, .3), 0 28px 48px -10px rgba(3, 4, 26, .85); }
.js .fin-fil:hover, .js .fin-fil:active { transform: none; }


/* Le texte passe toujours au-dessus des ombres des objets voisins (une ombre portée ne doit jamais griser un texte) */
.texte, .chapeau, h1, .ciel-legende, .actions, .prix-ouverture, .etape-texte, .ensuite, .plateau figcaption, .mention, .vraie-vie, .final > * { position: relative; z-index: 1; }

/* ---------- 2. Le fil des messages ---------- */
.deux-col { display: grid; gap: 64px; }
.bulles { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.bulle { align-self: flex-start; padding: 12px 18px; border-radius: 22px 22px 22px 6px; background: var(--blanc); color: var(--encre); font-weight: 800; line-height: 1.25; box-shadow: var(--ombre-profond); --r: -1deg; --x: 0px; transform: translateX(var(--x)) rotate(var(--r)); }
.bulle.loin { font-size: 15px; background: #B9B6E6; color: #22264A; box-shadow: 0 8px 16px -6px rgba(3, 4, 26, .5); --r: -2deg; --x: 18px; }
.bulle.milieu { font-size: 17px; align-self: flex-end; border-radius: 22px 22px 6px 22px; background: #DAD7F6; box-shadow: 0 12px 24px -8px rgba(3, 4, 26, .6); --r: 1.5deg; }
.bulle.proche { font-size: clamp(21px, 2.4vw, 26px); padding: 16px 22px; }
.profond .intro { color: var(--lavande-t); }
.profond .intro.fort { color: var(--blanc); font-weight: 600; }


/* ---------- 3. Comment ça marche ---------- */
.tete .intro { color: var(--encre-douce); font-weight: 600; }
.etape h3 { font-size: var(--t-h3); color: var(--indigo); }
.etape-phrase { margin-top: 10px; font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; max-width: 17em; }
.etape-texte > p:not(.etape-phrase) { margin-top: 12px; max-width: 30em; color: var(--encre-douce); font-weight: 600; }
.mention { margin-top: 16px; font-size: 14px; font-weight: 600; }
.brume .mention { color: var(--encre); }
.indigo .mention, .profond .mention { color: var(--lavande-t); }

/* Sans animation : les cinq étapes l'une sous l'autre, chacune avec son écran */
.scene-ecran { display: none; }
.etapes { display: grid; gap: 88px; margin-top: 72px; }
.etape { display: grid; gap: 28px; }
.etape-tel { width: min(240px, 72%); }
.etapes-mention { margin-top: 48px; }
.anime .etapes-mention { display: none; }

/* La voiture qui se remplit : un objet de papier, conducteur à part */
.objet-papier { display: flex; flex-direction: column; gap: 10px; width: fit-content; max-width: 100%; padding: 16px 18px; border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre-brume); }
.voiture { margin-top: 22px; transform: rotate(-1.5deg); }
.sieges { display: flex; align-items: center; gap: 6px; }
.siege { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 15px; font-weight: 800; color: var(--blanc); transition: transform .45s cubic-bezier(.2, .7, .3, 1.5), opacity .3s ease; }
.siege.volant { background: var(--encre); }
.siege.leo { background: var(--indigo); }
.siege.noe { background: #C43C4E; }
.siege.libre { box-shadow: inset 0 0 0 2px #A9ADC9; }
.separe { width: 2px; height: 26px; margin: 0 4px; background: #D8DBEA; }
.sieges-legende { font-size: 15px; font-weight: 600; color: var(--encre-douce); }

/* Avec animation : le téléphone reste en place, l'écran et le texte changent à chaque étape */
.anime .scene { height: calc(100vh + 5 * 64vh); }
.anime .scene-fixe { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 20px; padding-top: 24px; padding-bottom: 16px; --h-tel: min(54vh, 470px); }
@supports (height: 100svh) {
  .anime .scene { height: calc(100svh + 5 * 64svh); }
  .anime .scene-fixe { height: 100svh; --h-tel: min(54svh, 470px); }
}
@media (max-height: 700px) { .anime .scene-fixe { --h-tel: min(46svh, 380px); } }
.anime .scene-ecran { display: block; justify-self: center; text-align: center; }
.anime .scene-ecran .tel { width: fit-content; margin: 0 auto; }
.anime .scene-ecran .tel-pile img { height: calc(var(--h-tel) - 18px); width: auto; opacity: 0; transform: scale(.985); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.anime .scene-ecran .tel-pile img.actif { opacity: 1; transform: none; }
.anime .scene-ecran .mention { margin-top: 10px; }
.anime .etapes { display: grid; margin: 0; gap: 0; align-self: start; }
.anime .etape { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
.anime .etape.actif { opacity: 1; transform: none; }
.anime .etape-tel { display: none; }
.anime .etape, .anime .etape.sans-tel { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
.anime .etape-phrase { font-size: clamp(21px, 2.6vw, 36px); }
.anime .voiture .siege.leo, .anime .voiture .siege.noe { opacity: 0; transform: scale(.4); }
.anime .voiture.v1 .siege.leo, .anime .voiture.v2 .siege.noe { opacity: 1; transform: none; }


/* ---------- 4. La vidéo et les écrans ---------- */
.indigo .intro { color: var(--lavande-t); }
.vraie-vie { display: grid; gap: 26px; padding-top: 36px; border-top: 2px solid rgba(255, 255, 255, .22); }
.vraie-vie dt { font-size: var(--t-h3); font-weight: 800; }
.vraie-vie dd { margin: 6px 0 0; color: var(--lavande-t); max-width: 30em; }
.plateau { display: grid; gap: 56px; }
.video-tel { width: min(300px, 86%); }
.video-tel video { aspect-ratio: 9 / 16; object-fit: cover; background: var(--nuit); }
.messages-tel { width: min(220px, 62%); justify-self: end; }
.plateau figcaption { margin-top: 18px; font-size: 16px; font-weight: 600; color: var(--lavande-t); }
.plateau figcaption b { display: block; margin-bottom: 4px; font-size: var(--t-h3); line-height: 1.2; color: var(--blanc); }
.s-video .mention { margin-top: 56px; }


/* ---------- 5. Pour qui ---------- */
.brume .intro { color: var(--encre-douce); font-weight: 600; }
.qui-liste { display: grid; gap: 8px; }
.qui-liste li { display: flex; align-items: center; gap: 16px; font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.qui-liste li::before { content: ""; flex: none; width: .42em; height: .42em; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet)); }
.familles { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; padding: 18px 20px; border-radius: 20px; background: var(--blanc); box-shadow: var(--ombre-brume); max-width: 460px; transform: rotate(.6deg); }
.familles p { color: var(--encre-douce); font-weight: 600; }
.familles b { color: var(--encre); }
.huit { display: flex; gap: 8px; }
.huit i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet)); transition: transform .4s cubic-bezier(.2, .7, .3, 1.5), opacity .3s ease; }
.anime .familles:not(.vu) .huit i { opacity: .18; transform: scale(.6); }
.huit i:nth-child(2) { transition-delay: .1s; } .huit i:nth-child(3) { transition-delay: .2s; } .huit i:nth-child(4) { transition-delay: .3s; }
.huit i:nth-child(5) { transition-delay: .4s; } .huit i:nth-child(6) { transition-delay: .5s; } .huit i:nth-child(7) { transition-delay: .6s; } .huit i:nth-child(8) { transition-delay: .7s; }


/* ---------- 6. Confiance ---------- */
.garanties { display: grid; gap: 36px; margin-top: 48px; }
.garanties .icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(194, 166, 255, .45); color: var(--violet-clair); }
.garanties h3 { margin-top: 16px; }
.garanties p { margin-top: 6px; color: var(--lavande-t); max-width: 28em; }


/* ---------- 7. Prix ---------- */
.prix { align-items: start; }
.ensuite h3 { margin-top: 8px; }
.ensuite p { margin-top: 10px; color: var(--encre-douce); font-weight: 600; max-width: 32em; }
.billet { position: relative; padding: 26px 24px 24px; border-radius: 28px; background: var(--blanc); box-shadow: var(--ombre-brume-haute); max-width: 460px; }
.billet-titre { font-size: var(--t-h3); font-weight: 800; color: var(--indigo); }
/* Places restantes de l'offre (vrai chiffre, mis à jour à chaque nouveau groupe ; décision de Miguel du 24.10.2026) */
.billet-montant { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 14px; margin-top: 18px; }
.billet-montant strong { font-size: clamp(56px, 7vw, 76px); letter-spacing: -0.04em; line-height: 1; }
.billet-montant > span { font-weight: 600; color: var(--encre-douce); }
.tarif + .tarif { margin-top: 18px; padding-top: 18px; border-top: 2px dashed #D3D0EE; }
.tarif-note { margin-top: 8px; font-size: 16px; line-height: 1.4; color: var(--encre-douce); }
.tarif-note b { color: var(--encre); }
.compris { display: grid; gap: 10px; margin: 22px 0 26px; padding-top: 20px; border-top: 2px dashed #D3D0EE; }
.compris li { position: relative; padding-left: 30px; font-size: 16px; font-weight: 600; color: var(--encre-douce); }
.compris li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--violet)); }

/* Questions */
.questions { margin-top: 112px; }
.questions h2 { font-size: clamp(30px, 4vw, 44px); }
.liste-questions { margin-top: 28px; max-width: 46em; }
details { border-bottom: 2px solid rgba(52, 36, 132, .16); }
details:first-child { border-top: 2px solid rgba(52, 36, 132, .16); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font-size: 19px; font-weight: 800; line-height: 1.3; cursor: pointer; list-style: none; border-radius: 6px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blanc) url("img/plus.svg") center / 14px no-repeat; box-shadow: var(--ombre-brume); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; color: var(--encre-douce); font-weight: 600; max-width: 38em; }


/* ---------- 8. Contact final et pied ---------- */
.final { padding-top: var(--air); padding-bottom: 112px; }
.final h2 { font-size: clamp(44px, 7.6vw, 92px); letter-spacing: -0.04em; }
.final .intro { color: var(--lavande-t); }
.adresse-claire { margin-top: 24px; font-size: var(--t-petit); color: var(--lavande-t); max-width: 34em; }
.adresse-claire b { color: var(--blanc); }
.rappel-offre { margin-top: 12px; font-size: var(--t-petit); font-weight: 800; }
.pied { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 48px; font-size: var(--t-petit); background: linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, .18)) var(--gouttiere) 0 / calc(100% - 2 * var(--gouttiere)) 2px no-repeat; }
.pied-marque img { height: 30px; width: auto; }
.signature { margin-top: 12px; font-size: 21px; font-weight: 800; }
.pied-infos { display: grid; gap: 8px; color: var(--lavande-t); max-width: 40em; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 10px; }
.pied-liens a { display: inline-block; padding: 6px 0; font-weight: 800; color: var(--blanc); }
.credit { margin-top: 18px; font-size: 13px; }
.credit a { font-weight: 800; color: var(--blanc); }


/* ---------- Apparitions douces (seulement avec animation, seulement là où elles racontent quelque chose) ---------- */
.anime .apparait { transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.anime .apparait:not(.vu) { opacity: 0; transform: translateY(22px); }
/* Les messages arrivent l'un après l'autre */
.anime .bulle.apparait:not(.vu) { transform: translateX(var(--x)) translateY(18px) rotate(var(--r)) scale(.96); }
.bulle.milieu.apparait { transition-delay: .35s; }
.bulle.proche.apparait { transition-delay: .7s; }
.qui-liste li:nth-child(2) { transition-delay: .12s; } .qui-liste li:nth-child(3) { transition-delay: .24s; } .qui-liste li:nth-child(4) { transition-delay: .36s; }
.garanties li:nth-child(2) { transition-delay: .1s; } .garanties li:nth-child(3) { transition-delay: .2s; } .garanties li:nth-child(4) { transition-delay: .3s; }


/* ---------- Écrans moyens ---------- */
@media (min-width: 760px) {
  .deux-col { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .etape { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: center; }
  .etape.sans-tel { grid-template-columns: minmax(0, 1fr); padding-left: 316px; }
  .vraie-vie { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .garanties { grid-template-columns: repeat(2, 1fr); gap: 48px 64px; }
  .plateau { grid-template-columns: 1fr 1fr; align-items: start; gap: 32px; }
  .video-int { grid-template-areas: "texte plateau" "liste plateau"; grid-template-rows: auto 1fr; align-items: start; row-gap: 48px; }
  .video-int > .texte { grid-area: texte; } .video-int > .plateau { grid-area: plateau; } .video-int > .vraie-vie { grid-area: liste; }
  .video-tel, .messages-tel { width: auto; }
  .messages-tel { margin-top: 160px; }
  .pied { grid-template-columns: 1fr 2fr; }
}

/* ---------- Ordinateur ---------- */
@media (min-width: 1000px) {
  .ouverture-int { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; padding-top: 48px; }
  .ouverture-tel { width: 340px; }
  .ouverture-tel::before { left: -10%; width: 120%; }
  .video-int { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .vraie-vie { grid-template-columns: 1fr; }
  .garanties { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .prix { grid-template-columns: 1fr 440px; grid-template-areas: "titre billet" "ensuite billet"; grid-template-rows: auto 1fr; row-gap: 40px; }
  .prix-titre { grid-area: titre; } .prix .billet { grid-area: billet; } .prix .ensuite { grid-area: ensuite; }
  /* La scène : texte à gauche, téléphone à droite */
  .anime .scene-fixe { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; align-content: center; gap: 80px; padding-top: 0; padding-bottom: 0; --h-tel: min(78vh, 720px); }
  @supports (height: 100svh) { .anime .scene-fixe { --h-tel: min(78svh, 720px); } }
  .anime .scene-ecran { grid-column: 2; grid-row: 1; }
  .anime .etapes { grid-column: 1; grid-row: 1; align-self: center; }
  .anime .etape-phrase { font-size: clamp(30px, 3.2vw, 44px); }
}

/* ---------- Grands écrans : le fil passe dans la marge, les postes sont posés sur le rail ---------- */
@media (min-width: 1320px) {
  .poste-fil { left: calc(var(--gouttiere) - var(--rail-ecart) - 21px); top: 9px; width: 42px; height: 42.84px; }
}
