/* Site de Sauje : charte graphique de l'appli (vert profond, rose, crème ; Lato pour les titres, Nunito pour le texte). */

@font-face { font-family: 'Lato'; src: url('polices/Lato-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('polices/Lato-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lato'; src: url('polices/Lato-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('polices/Nunito-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('polices/Nunito-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --vert: #0E423E;
  --vert-carte: #103E3A;
  --vert-nuit: #041C1A;
  --rose: #FC9FBE;
  --creme: #F4E8DB;
  --sable: #CBB497;
  --sable-clair: #E6D8C4;
  --orange: #FFA667;
  --olive: #AD991D;
  --blanc: #FEFBF8;
  --noir: #0F1011;
  --texte: var(--vert);
  --texte-doux: rgba(14, 66, 62, 0.72);
  --largeur: 1160px;
  --gouttiere: clamp(16px, 5vw, 56px);
  --rayon: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Lato', system-ui, sans-serif; margin: 0; }
p { margin: 0; }

.aller-contenu { position: absolute; left: -999px; top: 8px; background: var(--vert); color: var(--blanc); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.aller-contenu:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- Boutons et liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--vert); color: var(--blanc);
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s;
  box-shadow: 0 10px 30px -12px rgba(14, 66, 62, 0.55);
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(14, 66, 62, 0.6); }
.bouton:active { transform: scale(0.98); }
.bouton-petit { min-height: 44px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.bouton-plein { width: 100%; }
.bouton-clair { background: var(--creme); color: var(--vert); box-shadow: none; }
.lien-fleche {
  display: inline-flex; align-items: center; min-height: 44px; gap: 6px;
  font-family: 'Lato', sans-serif; font-weight: 700; text-decoration: none; color: var(--vert);
}
.lien-fleche::after { content: '›'; font-size: 22px; line-height: 1; transition: transform 0.3s var(--ease); }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ---------- Barre du haut ---------- */
.barre {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 var(--gouttiere);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.barre.defile {
  background: rgba(254, 251, 248, 0.78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(14, 66, 62, 0.08);
}
.barre-logo img { width: 88px; }
.barre-liens { display: flex; gap: 26px; margin-left: auto; }
.barre-liens a { text-decoration: none; font-size: 15px; font-weight: 700; opacity: 0.8; transition: opacity 0.2s; }
.barre-liens a:hover, .barre-liens a.actif { opacity: 1; }
.barre-liens a { position: relative; }
.barre-liens a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 1px; background: var(--rose); scale: 0 1; transition: scale 0.4s var(--ease); }
.barre-liens a.actif::after { scale: 1 1; }
@media (max-width: 920px) { .barre-liens { display: none; } .barre .bouton { margin-left: auto; } }
@media (max-width: 560px) { .barre .bouton { display: none; } }

/* ---------- Textes communs ---------- */
.surtitre {
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--vert); opacity: 0.75; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.surtitre::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.surtitre-clair { color: var(--creme); opacity: 0.85; }
.titre-geant {
  text-wrap: balance;
  font-weight: 900; font-size: clamp(46px, 8.4vw, 112px); line-height: 0.98; letter-spacing: -0.035em;
}
.titre-section {
  text-wrap: balance;
  font-weight: 900; font-size: clamp(34px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em; max-width: 16ch;
}
.texte-large { text-wrap: pretty; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; margin-top: 22px; max-width: 34em; color: var(--texte-doux); }
.texte-discret { margin-top: 18px; font-size: 15px; color: var(--texte-doux); }
.texte-centre { margin-left: auto; margin-right: auto; text-align: center; }
.centre { text-align: center; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.centre .titre-section { max-width: 24ch; }

.section { position: relative; padding: clamp(90px, 13vw, 170px) var(--gouttiere); }
.section-verte { background: var(--vert); color: var(--creme); }
.section-verte .texte-large, .section-verte .texte-discret { color: rgba(244, 232, 219, 0.78); }
.section-creme { background: var(--creme); }
.deux-colonnes {
  max-width: var(--largeur); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
@media (max-width: 860px) { .deux-colonnes { grid-template-columns: 1fr; } }
.deux-colonnes > *, .scene-collante > * { min-width: 0; }

.liste-coches { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.liste-coches li { position: relative; padding-left: 34px; font-size: 17px; }
.liste-coches li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230E423E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Apparitions ---------- */
.apparait { opacity: 0; transform: translateY(24px); animation: monter 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.mot { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(2deg); animation: monter 1s var(--ease) forwards; animation-delay: calc(0.12s + var(--i) * 0.11s); }
.accent { color: var(--vert); background: linear-gradient(transparent 68%, rgba(252, 159, 190, 0.7) 68%); padding: 0 0.06em; }
@keyframes monter { to { opacity: 1; transform: none; } }
@keyframes legende { from { opacity: 0; transform: translateY(8px); } }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].vu { opacity: 1; transform: none; }
[data-cascade] > * { opacity: 0; transform: translateY(36px) scale(0.98); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
[data-cascade].vu > * { opacity: 1; transform: none; }
[data-cascade].vu > *:nth-child(2) { transition-delay: 0.08s; }
[data-cascade].vu > *:nth-child(3) { transition-delay: 0.16s; }
[data-cascade].vu > *:nth-child(4) { transition-delay: 0.24s; }
[data-cascade].vu > *:nth-child(5) { transition-delay: 0.32s; }
[data-cascade].vu > *:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Ouverture ---------- */
.ouverture {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--creme);
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px;
  padding: 110px var(--gouttiere) 80px; max-width: 100%;
}
.ouverture-texte { position: relative; z-index: 2; max-width: 680px; justify-self: end; }
.ouverture .chapeau { margin-top: 28px; font-size: clamp(18px, 1.8vw, 22px); color: var(--texte-doux); max-width: 30em; }
.ouverture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
.ouverture-telephone { position: relative; z-index: 2; justify-self: start; will-change: transform; }
.bulle { position: absolute; border-radius: 50%; z-index: 1; will-change: transform; }
.bulle-orange { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; background: var(--orange); top: -14vw; right: -10vw; opacity: 0.9; animation: flotter 14s ease-in-out infinite; }
.bulle-olive { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; background: var(--olive); bottom: -6vw; left: -6vw; opacity: 0.85; animation: flotter 17s ease-in-out infinite reverse; }
.bulle-rose { width: 13vw; height: 13vw; max-width: 180px; max-height: 180px; background: var(--rose); bottom: 7%; right: 6%; animation: flotter 12s ease-in-out infinite; }
@keyframes flotter { 50% { translate: 0 -18px; } }
.defiler { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(14, 66, 62, 0.4); border-radius: 16px; }
.defiler span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--vert); animation: molette 1.8s var(--ease) infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .ouverture { grid-template-columns: 1fr; padding-top: 104px; text-align: left; }
  .ouverture-texte, .ouverture-telephone { justify-self: center; }
  .bulle-orange { width: 80vw; height: 80vw; top: -30vw; right: -36vw; }
  .bulle-rose { right: -6%; bottom: 34%; width: 24vw; height: 24vw; }
  .defiler { display: none; }
}

/* ---------- Téléphone et écrans de l'appli ---------- */
.telephone {
  width: min(320px, 78vw); aspect-ratio: 9 / 19.2; padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #23302e, var(--noir));
  box-shadow: 0 50px 100px -30px rgba(4, 28, 26, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}
.telephone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: var(--noir); z-index: 3; }
.telephone-ecran { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; padding: 58px 16px 20px; font-size: 13px; }
.ecran-creme { background: var(--blanc); }
.ecran-haut { position: absolute; top: 18px; left: 30px; right: 30px; display: flex; justify-content: space-between; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; }
.ecran-icones { width: 46px; height: 11px; border-radius: 4px; background: linear-gradient(90deg, var(--vert) 0 26px, transparent 26px 30px, var(--vert) 30px); opacity: 0.85; }
.ecran-bonjour { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 22px; margin: 6px 4px 14px; }
.ecran-titre { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 20px; margin: 6px 4px 12px; }

.carte-appli { border-radius: 26px; padding: 16px; }
.carte-verte { background: var(--vert); color: var(--creme); }
.carte-creme { background: var(--creme); color: var(--vert); }
.carte-entete { display: flex; align-items: center; gap: 10px; }
.rond { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: 'Lato', sans-serif; font-weight: 900; font-size: 18px; color: var(--vert); flex: none; }
.rond-rose { background: var(--rose); }
.rond-orange { background: var(--orange); }
.carte-nom { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 18px; line-height: 1.1; }
.carte-age { font-size: 12px; opacity: 0.8; }
.pastille-urgence { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: #C8473F; color: var(--blanc); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 11px; }
.carte-filet { height: 1px; background: currentColor; opacity: 0.25; margin: 14px 0; }
.carte-petit { font-size: 12px; opacity: 0.8; }
.carte-petit-gras { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; }
.carte-grand { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 19px; line-height: 1.2; margin: 2px 0; }
.carte-bouton { display: flex; justify-content: center; align-items: center; min-height: 40px; margin-top: 12px; border-radius: 999px; background: var(--creme); color: var(--vert); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; }
.carte-bouton-vert { background: var(--vert); color: var(--creme); }
.carte-cercle { display: flex; align-items: center; gap: 12px; }
.mini-orbite { position: relative; width: 52px; height: 52px; flex: none; }
.mini-orbite::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; background: var(--creme); }
.mini-orbite i { position: absolute; inset: 0; animation: tourner 9s linear infinite; }
.mini-orbite i::before { content: ''; position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--rose); }
.mini-orbite i:nth-child(2) { animation-duration: 12s; rotate: 100deg; } .mini-orbite i:nth-child(2)::before { background: var(--olive); width: 9px; height: 9px; }
.mini-orbite i:nth-child(3) { animation-duration: 15s; rotate: 210deg; } .mini-orbite i:nth-child(3)::before { background: var(--orange); }
.mini-orbite i:nth-child(4) { animation-duration: 11s; rotate: 300deg; } .mini-orbite i:nth-child(4)::before { background: var(--rose); width: 7px; height: 7px; }
@keyframes tourner { to { transform: rotate(360deg); } }
.carte-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 16px; background: rgba(244, 232, 219, 0.12); font-size: 12px; }
.note-rond { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex: none; background: var(--sable-clair); }
.voile-appli { position: absolute; inset: 0; background: rgba(4, 28, 26, 0.45); border-radius: 42px; }
.fenetre-appli { position: absolute; left: 14px; right: 14px; top: 50%; translate: 0 -50%; padding: 22px 18px 16px; border-radius: 26px; background: var(--blanc); text-align: center; box-shadow: 0 30px 60px -20px rgba(4, 28, 26, 0.5); }
.fenetre-titre { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 17px; }
.fenetre-texte { margin-top: 8px; font-size: 13px; color: var(--texte-doux); }
.fenetre-non { display: block; margin-top: 10px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; }

.jours { display: flex; gap: 8px; margin: 0 2px 16px; }
.jour { flex: 1; padding: 8px 0; border-radius: 14px; background: var(--creme); text-align: center; font-size: 11px; line-height: 1.2; }
.jour b { display: block; font-family: 'Lato', sans-serif; font-size: 16px; }
.jour.actif { background: var(--vert); color: var(--creme); }
.frise { list-style: none; margin: 0; padding: 0 2px; position: relative; display: grid; gap: 12px; }
.frise::before { content: ''; position: absolute; left: 18px; top: 16px; bottom: 16px; width: 2px; background: var(--sable-clair); }
.note-ligne { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 2px; }
.note-ligne .note-rond { width: 34px; height: 34px; z-index: 1; }
.note-texte { flex: 1; font-size: 13px; line-height: 1.3; }
.note-heure { font-size: 11px; opacity: 0.7; }
.t-orange { background: #FFE2CC !important; } .t-olive { background: #EAE3BA !important; } .t-rose { background: #FEDCE7 !important; } .t-sable { background: var(--sable-clair) !important; }
.bouton-noter { position: absolute; right: 16px; bottom: 22px; padding: 12px 18px; border-radius: 999px; background: var(--vert); color: var(--creme); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; box-shadow: 0 12px 24px -10px rgba(14, 66, 62, 0.7); }

/* ---------- La promesse, révélée mot à mot ---------- */
.promesse { padding: clamp(110px, 16vw, 220px) var(--gouttiere); background: var(--blanc); }
.promesse-texte {
  max-width: 980px; margin: 0 auto; text-align: center;
  font-family: 'Lato', sans-serif; font-weight: 400; font-size: clamp(28px, 4.2vw, 54px); line-height: 1.22; letter-spacing: -0.015em; text-wrap: balance;
}
.promesse-texte .m { opacity: 0.16; transition: opacity 0.5s; }
.promesse-texte .m.on { opacity: 1; }

/* ---------- Scènes qui restent à l'écran pendant le défilement ---------- */
.scene { position: relative; height: 320vh; background: var(--blanc); }
.scene[data-etapes="4"] { height: 380vh; }
.scene-collante {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  max-width: var(--largeur); margin: 0 auto; padding: 80px var(--gouttiere) 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.scene-inversee .scene-texte { order: 2; }
.scene-visuel { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.scene-visuel .telephone { width: min(300px, 70vw); }
.scene-legende { display: none; }
.barre-progression { width: 120px; height: 4px; border-radius: 2px; background: rgba(14, 66, 62, 0.12); overflow: hidden; }
.barre-progression i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--vert); border-radius: 2px; }
.etapes { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; counter-reset: etape; }
.etapes li { position: relative; padding-left: 52px; opacity: 0.32; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.etapes li::before {
  counter-increment: etape; content: counter(etape);
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--creme); font-family: 'Lato', sans-serif; font-weight: 900; font-size: 15px;
  transition: background 0.5s;
}
.etapes li.on { opacity: 1; }
.etapes li.on::before { background: var(--rose); }
.etapes strong { display: block; font-family: 'Lato', sans-serif; font-size: 20px; line-height: 1.3; }
.etapes span { display: block; color: var(--texte-doux); margin-top: 4px; }

.etat { transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.scene .carte-appli.etat { position: absolute; left: 14px; right: 14px; top: 64px; }
.etat:not(.on) { opacity: 0; transform: translateY(26px) scale(0.96); pointer-events: none; }
.fenetre-appli.etat:not(.on) { transform: translateY(30px) scale(0.9); }
.note-ligne { opacity: 0; transform: translateX(26px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.note-ligne.on { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .scene, .scene[data-etapes="4"] { height: auto; }
  .scene-collante { position: relative; height: auto; grid-template-columns: 1fr; padding: 100px var(--gouttiere) 80px; }
  .scene-inversee .scene-texte { order: 0; }
  .etapes li { opacity: 1; }
  .barre-progression { display: none; }
}

/* ---------- Le cercle de confiance (positions calculées par site.js) ---------- */
.cercle-visuel { position: relative; width: min(470px, 88vw); aspect-ratio: 1; margin: 0 auto 48px; }
.cercle-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cercle-orbite { fill: none; stroke: rgba(244, 232, 219, 0.16); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: 0; transition: opacity 1.2s var(--ease) 0.2s; }
.cercle-visuel.vu .cercle-orbite { opacity: 1; }
.cercle-svg path { fill: none; stroke: rgba(244, 232, 219, 0.42); stroke-width: 1.4; stroke-linecap: round; }
.cercle-centre {
  position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: var(--creme); color: var(--vert); display: grid; place-items: center;
  font-family: 'Lato', sans-serif; font-weight: 900; font-size: clamp(18px, 3vw, 26px);
  z-index: 3; scale: 0.4; opacity: 0; transition: scale 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
}
.cercle-visuel.vu .cercle-centre { scale: 1; opacity: 1; animation: respirer 5s ease-in-out 1.2s infinite; }
@keyframes respirer { 50% { scale: 1.035; } }
.cercle-onde { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px solid rgba(244, 232, 219, 0.5); opacity: 0; z-index: 1; }
.cercle-visuel.vu .cercle-onde { animation: onde 5s var(--ease) 0.6s infinite; }
@keyframes onde { from { scale: 1; opacity: 0.7; } to { scale: 3.2; opacity: 0; } }
.cercle-membre {
  position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; opacity: 0;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 14px; color: var(--creme); will-change: transform;
}
.cercle-membre i { position: absolute; left: 0; top: 0; width: var(--taille, 56px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; }
.cercle-membre span { position: absolute; left: 0; top: calc(var(--taille, 56px) / 2 + 6px); translate: -50% 0; white-space: nowrap; }
.cercle-membre.etiquette-haut span { top: auto; bottom: calc(var(--taille, 56px) / 2 + 6px); }
.cercle-membre i.rose { background: var(--rose); } .cercle-membre i.olive { background: var(--olive); } .cercle-membre i.orange { background: var(--orange); }
.cercle-membre.relais i::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; background: rgba(173, 153, 29, 0.35); z-index: -1; animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 50% { scale: 1.12; opacity: 0.55; } }
.cercle-puce {
  position: absolute; left: 50%; bottom: -46px; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; background: rgba(244, 232, 219, 0.1); color: var(--creme); font-size: 13px;
  opacity: 0; transition: opacity 0.8s var(--ease) 1.6s;
}
.cercle-puce i { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.cercle-visuel.vu .cercle-puce { opacity: 1; }
.section-verte .liste-coches li { color: var(--creme); }

/* ---------- Les moments qui défilent ---------- */
.moments { padding: clamp(70px, 10vw, 120px) 0; background: var(--blanc); overflow: hidden; }
.moments-titre { text-align: center; padding: 0 var(--gouttiere); margin-bottom: 40px; font-family: 'Lato', sans-serif; font-size: clamp(20px, 2.2vw, 26px); color: var(--texte-doux); text-wrap: balance; }
.moments-defile { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defile-rangee { overflow: hidden; }
.defile-piste { display: flex; gap: 12px; width: max-content; animation: defiler 48s linear infinite; }
.defile-rangee.inverse .defile-piste { animation-direction: reverse; animation-duration: 56s; }
.moments:hover .defile-piste { animation-play-state: paused; }
@keyframes defiler { to { transform: translateX(-50%); } }
.moment { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--creme); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 16px; white-space: nowrap; }
.moment i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); font-size: 18px; }
.defile-rangee.inverse .moment { background: var(--sable-clair); }

/* ---------- Le planning ---------- */
.planning-visuel { background: var(--blanc); border-radius: var(--rayon); padding: 26px; box-shadow: 0 40px 80px -40px rgba(14, 66, 62, 0.45), 0 0 0 1px rgba(14, 66, 62, 0.06); }
.planning-jours, .planning-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.planning-jours span { text-align: center; font-family: 'Lato', sans-serif; font-weight: 900; font-size: 14px; opacity: 0.6; }
.planning-grille { grid-template-rows: repeat(8, 30px); margin-top: 12px; background: repeating-linear-gradient(to bottom, rgba(14, 66, 62, 0.06) 0 1px, transparent 1px 38px); border-radius: 12px; }
.bloc span { display: block; padding: 6px 7px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 11px; line-height: 1.2; color: var(--vert); overflow: hidden; }
.bloc { grid-column: var(--c); grid-row: var(--h) / span var(--l); border-radius: 10px; transform-origin: top; scale: 1 0; opacity: 0; transition: scale 0.9s var(--ease), opacity 0.6s; transition-delay: calc(var(--i) * 0.09s); }
.planning-visuel.vu .bloc { scale: 1 1; opacity: 1; }
.b-olive { background: #E4DCA6; box-shadow: inset 3px 0 0 var(--olive); }
.b-orange { background: #FFD9BD; box-shadow: inset 3px 0 0 var(--orange); }
.b-rose { background: #FEDCE7; box-shadow: inset 3px 0 0 var(--rose); }
.b-eau { background: #CFE7E1; box-shadow: inset 3px 0 0 #5FA79A; }
.b-bleu { background: #D6E3F5; box-shadow: inset 3px 0 0 #6E93C9; margin: 0 6px; z-index: 1; }
.planning-legende { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--texte-doux); }
.planning-legende span { display: inline-flex; align-items: center; gap: 8px; }
.planning-legende i { width: 12px; height: 12px; border-radius: 4px; }

/* ---------- La fiche ---------- */
.tuiles { max-width: var(--largeur); margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tuile { background: var(--blanc); border-radius: var(--rayon); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tuile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14, 66, 62, 0.35); }
.tuile strong { font-family: 'Lato', sans-serif; font-size: 20px; margin-top: 10px; }
.tuile > span:last-child { color: var(--texte-doux); font-size: 15px; }
.tuile-icone { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; }
.mention-medicale { margin-top: 44px; text-align: center; font-size: 14px; color: var(--texte-doux); }
@media (max-width: 960px) { .tuiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tuiles { grid-template-columns: 1fr 1fr; gap: 12px; } .tuile { padding: 18px 14px; } .tuile strong { font-size: 16px; } .tuile > span:last-child { font-size: 13px; } }

/* ---------- Pour qui ---------- */
.profils { max-width: var(--largeur); margin: 64px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profil { border-radius: var(--rayon); padding: 34px 26px 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; transition: transform 0.5s var(--ease); }
.profil:hover { transform: translateY(-6px); }
.profil::before { content: ''; position: absolute; width: 140px; height: 140px; border-radius: 50%; top: -40px; right: -40px; background: rgba(255, 255, 255, 0.35); transition: transform 0.8s var(--ease); }
.profil:hover::before { transform: scale(1.25); }
.profil h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.profil p { font-size: 15px; }
.p-rose { background: var(--rose); } .p-orange { background: var(--orange); } .p-olive { background: #D9CC7E; } .p-vert { background: var(--vert); color: var(--creme); }
.p-vert::before { background: rgba(244, 232, 219, 0.1); }
@media (max-width: 960px) { .profils { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .profils { grid-template-columns: 1fr; } .profil { min-height: 0; } }

/* ---------- Et aussi ---------- */
.grille-fonctions { max-width: var(--largeur); margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fonction { border-radius: var(--rayon); padding: 28px; background: var(--vert-carte); box-shadow: 0 0 0 1px rgba(244, 232, 219, 0.08) inset; transition: background 0.4s, transform 0.5s var(--ease); }
.fonction:hover { background: #154a45; transform: translateY(-4px); }
.fonction > span { font-size: 26px; }
.fonction strong { display: block; margin-top: 14px; font-family: 'Lato', sans-serif; font-size: 19px; color: var(--creme); }
.fonction p { margin-top: 6px; font-size: 15px; color: rgba(244, 232, 219, 0.72); }
@media (max-width: 960px) { .grille-fonctions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grille-fonctions { grid-template-columns: 1fr; } }

/* ---------- Confidentialité ---------- */
.engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.engagements li { padding: 24px 26px; border-radius: 24px; background: var(--creme); display: grid; gap: 4px; }
.engagements strong { font-family: 'Lato', sans-serif; font-size: 19px; }
.engagements span { color: var(--texte-doux); font-size: 15px; }

/* ---------- Tarifs ---------- */
.tarif { max-width: 460px; margin: 56px auto 0; background: var(--blanc); border-radius: 34px; padding: 34px 32px 28px; box-shadow: 0 50px 100px -50px rgba(14, 66, 62, 0.5); text-align: center; }
.tarif-choix { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--creme); }
.tarif-choix button { position: relative; z-index: 1; min-height: 44px; border: 0; background: none; border-radius: 999px; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; color: var(--vert); cursor: pointer; }
.tarif-curseur { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--blanc); box-shadow: 0 4px 14px -6px rgba(14, 66, 62, 0.4); transition: transform 0.5s var(--ease); }
.tarif-choix[data-actif="an"] .tarif-curseur { transform: translateX(100%); }
.tarif-essai { display: inline-block; margin-top: 26px; padding: 6px 14px; border-radius: 999px; background: var(--rose); font-family: 'Lato', sans-serif; font-weight: 700; font-size: 13px; }
.tarif-prix { margin-top: 14px; font-family: 'Lato', sans-serif; font-weight: 900; font-size: 64px; line-height: 1; letter-spacing: -0.03em; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tarif-prix small { font-size: 16px; font-weight: 700; letter-spacing: 0; opacity: 0.7; }
.tarif-prix span { transition: opacity 0.25s, transform 0.35s var(--ease); }
.tarif-prix span.change { opacity: 0; transform: translateY(8px); }
.tarif-detail { margin-top: 10px; color: var(--texte-doux); font-size: 15px; min-height: 1.6em; }
.tarif .liste-coches { text-align: left; margin: 26px 0 28px; }
.tarif-note { margin-top: 16px; font-size: 13px; color: var(--texte-doux); }

/* ---------- Questions ---------- */
.questions { max-width: 760px; margin: 52px auto 0; }
.questions details { border-bottom: 1px solid rgba(14, 66, 62, 0.14); }
.questions summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 19px; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--creme); display: grid; place-items: center; font-size: 20px; transition: transform 0.4s var(--ease), background 0.3s; }
.questions details[open] summary::after { transform: rotate(45deg); background: var(--rose); }
.questions details p { padding: 0 0 22px; color: var(--texte-doux); max-width: 40em; }

/* ---------- Pour finir et pied de page ---------- */
.fin { padding: clamp(100px, 14vw, 180px) var(--gouttiere); background: var(--vert); color: var(--creme); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden; }
.fin .titre-section { max-width: none; }
.fin .texte-large { color: rgba(244, 232, 219, 0.78); margin-bottom: 34px; }
.fin-icone { width: 64px; margin-bottom: 26px; animation: flotter 6s ease-in-out infinite; }
.pied { background: var(--vert-nuit); color: rgba(244, 232, 219, 0.75); padding: 46px var(--gouttiere) 40px; font-size: 14px; }
.pied-haut { max-width: var(--largeur); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pied-haut img { width: 100px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pied nav a:hover { color: var(--creme); }
.pied-bas { max-width: var(--largeur); margin: 24px auto 0; padding-top: 20px; border-top: 1px solid rgba(244, 232, 219, 0.12); font-size: 13px; }

/* ---------- Pages de texte (confidentialité, conditions, mentions légales) ---------- */
.page-texte { max-width: 760px; margin: 0 auto; padding: 130px var(--gouttiere) 100px; }
.page-texte h1 { font-weight: 900; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.page-texte .date { margin-top: 12px; color: var(--texte-doux); font-size: 15px; }
.page-texte .essentiel { margin-top: 36px; padding: 28px; border-radius: var(--rayon); background: var(--creme); }
.page-texte .essentiel h2 { font-size: 20px; margin-bottom: 14px; }
.page-texte h2.article { font-size: 22px; margin-top: 44px; display: flex; gap: 12px; }
.page-texte h2.article span { color: var(--rose); }
.page-texte p, .page-texte li { margin-top: 12px; color: rgba(14, 66, 62, 0.85); }
.page-texte ul { padding-left: 20px; }
.page-texte li::marker { color: var(--rose); }
.page-texte .retour { display: inline-flex; margin-bottom: 30px; }
.page-texte .retour::after { content: none; }
.page-texte .retour::before { content: '‹'; font-size: 22px; line-height: 1; margin-right: 6px; }

/* ---------- L'annonce du lancement ---------- */
.lancement { width: 100%; max-width: 520px; display: grid; gap: 12px; }
.lancement-libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lancement-ligne { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(244, 232, 219, 0.1); box-shadow: 0 0 0 1px rgba(244, 232, 219, 0.22) inset; }
.lancement input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent;
  color: var(--creme); font: inherit; font-size: 16px; outline: none;
}
.lancement input::placeholder { color: rgba(244, 232, 219, 0.6); }
.lancement-ligne:focus-within { box-shadow: 0 0 0 2px var(--rose) inset; }
.lancement .bouton { min-height: 48px; flex: none; }
.lancement .bouton:disabled { opacity: 0.6; }
.lancement-message { min-height: 1.5em; font-size: 15px; color: var(--creme); }
.lancement.erreur .lancement-message { color: var(--rose); }
.lancement-note { font-size: 13px; color: rgba(244, 232, 219, 0.65); }
.lancement-note a { color: var(--creme); }
@media (max-width: 520px) {
  /* Téléphone : le champ et le bouton l'un sous l'autre, chacun dans sa pastille. */
  .lancement { gap: 10px; }
  .lancement-ligne { flex-direction: column; gap: 10px; padding: 0; background: none; box-shadow: none; }
  .lancement-ligne:focus-within { box-shadow: none; }
  .lancement input { min-height: 54px; text-align: center; background: rgba(244, 232, 219, 0.1); box-shadow: 0 0 0 1px rgba(244, 232, 219, 0.24) inset; }
  .lancement input:focus { box-shadow: 0 0 0 2px var(--rose) inset; }
  .lancement .bouton { width: 100%; min-height: 54px; }
  .lancement-message:empty { display: none; }
  .lancement-note { margin-top: 6px; }
}

/* ---------- Téléphone : textes centrés, tailles plus douces, sections plus serrées, apparitions plus légères ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 72px var(--gouttiere); }
  .surtitre { font-size: 12px; margin-bottom: 12px; }
  .titre-geant { font-size: clamp(38px, 11vw, 52px); line-height: 1.02; }
  .titre-section { font-size: clamp(27px, 7.4vw, 36px); line-height: 1.1; max-width: none; }
  .texte-large { font-size: 16px; margin-top: 16px; }
  .texte-discret { font-size: 14px; }

  /* Tout est centré : titres, paragraphes, boutons. */
  .bloc-texte, .scene-texte, .ouverture-texte { text-align: center; margin: 0 auto; max-width: 560px; }
  .bloc-texte .texte-large, .scene-texte .texte-large, .ouverture .chapeau { margin-left: auto; margin-right: auto; }
  .ouverture-actions { justify-content: center; }
  .bloc-texte .lien-fleche { margin-top: 14px; }
  .liste-coches { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .liste-coches li { font-size: 15px; }

  /* Ouverture : le texte, puis le téléphone, sans écran vide. */
  .ouverture { min-height: 0; padding: 96px var(--gouttiere) 56px; gap: 36px; }
  .ouverture .chapeau { font-size: 16px; margin-top: 18px; }
  .ouverture-actions { margin-top: 26px; gap: 14px 20px; }
  .telephone { width: min(260px, 70vw); aspect-ratio: 9 / 16.5; border-radius: 44px; padding: 9px; }
  .telephone-ecran { border-radius: 36px; }
  .scene-visuel .telephone { width: min(260px, 70vw); }

  /* La promesse : moins grande, les mots s'allument au défilement comme sur ordinateur. */
  .promesse { padding: 72px var(--gouttiere); }
  .promesse-texte { font-size: clamp(21px, 5.8vw, 28px); line-height: 1.3; }

  /* Scènes du relais et du journal : le texte défile, puis le téléphone reste sous la barre du haut et avance avec le
     défilement, comme sur ordinateur (la place laissée sous lui, --course, est la longueur de l'animation). */
  .scene-collante { display: block; padding: 72px var(--gouttiere) 24px; }
  .scene-collante::after { content: ''; display: block; height: var(--course); }
  .scene { --course: 110vh; }
  .scene[data-etapes="4"] { --course: 140vh; }
  .scene-visuel { position: sticky; top: 80px; margin-top: 32px; gap: 14px; }
  .scene-visuel .telephone { width: auto; height: min(540px, calc(100svh - 190px)); }
  #relais .scene-visuel .telephone { height: min(520px, calc(100svh - 230px)); }
  .barre-progression { display: block; }
  .scene-legende { display: block; min-height: 1.4em; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 17px; text-align: center; }
  .scene-legende.on { animation: legende 0.6s var(--ease); }
  .etapes { gap: 16px; margin-top: 26px; text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .etapes li { opacity: 1; padding-left: 46px; }
  .etapes li::before { width: 30px; height: 30px; font-size: 14px; }
  .etapes strong { font-size: 17px; }
  .etapes span { font-size: 15px; }

  /* Cercle de confiance */
  .cercle-visuel { width: min(340px, 86vw); margin-bottom: 64px; }
  .cercle-membre { font-size: 13px; }
  .cercle-puce { font-size: 12px; }

  .moments { padding: 56px 0; }
  .moments-titre { font-size: 18px; margin-bottom: 26px; }
  .moment { font-size: 14px; padding: 8px 16px 8px 8px; }
  .moment i { width: 32px; height: 32px; font-size: 16px; }

  .planning-visuel { padding: 18px; }
  .planning-grille { grid-template-rows: repeat(8, 24px); gap: 6px; }
  .planning-legende { justify-content: center; font-size: 12px; }

  .tuiles, .profils, .grille-fonctions { margin-top: 40px; gap: 14px; }
  .tuile { padding: 22px; align-items: center; text-align: center; }
  .tuile strong { font-size: 18px; margin-top: 6px; }
  .tuile-icone { width: 48px; height: 48px; font-size: 22px; }
  .profil { padding: 26px 22px; min-height: 0; text-align: center; }
  .profil h3 { font-size: 19px; }
  .fonction { padding: 18px 20px; text-align: center; }
  .fonction > span { font-size: 22px; }
  .fonction strong { font-size: 17px; margin-top: 4px; }
  .fonction p { margin-top: 4px; }
  .engagements li { padding: 20px; text-align: center; }
  .engagements strong { font-size: 17px; }
  .mention-medicale { margin-top: 30px; }

  .tarif { margin-top: 40px; padding: 28px 22px 24px; border-radius: 28px; }
  .tarif-prix { font-size: 50px; }
  .questions { margin-top: 32px; }
  .questions summary { font-size: 16px; min-height: 56px; }
  .questions details p { font-size: 15px; }
  .fin { padding: 80px var(--gouttiere); }
  .fin-icone { width: 52px; }
  .pied-haut { flex-direction: column; text-align: center; }
  .pied nav { justify-content: center; }
  .pied-bas { text-align: center; }

  /* Apparitions plus courtes et plus légères : rien n'attend longtemps avant de s'afficher. */
  [data-reveal] { transform: translateY(16px); transition-duration: 0.6s, 0.7s; }
  [data-cascade] > * { transform: translateY(14px); transition-duration: 0.55s, 0.65s; }
}

@media (max-width: 520px) {
  .tuile { padding: 18px 12px; }
  .tuile strong { font-size: 16px; }
  .tuile > span:last-child { font-size: 13px; }
  .tuile-icone { width: 42px; height: 42px; font-size: 20px; }
}

/* ---------- Moins d'animations ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .apparait, .mot, [data-reveal], [data-cascade] > *, .note-ligne, .bloc { opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .cercle-centre, .cercle-orbite, .cercle-puce { opacity: 1 !important; scale: 1 !important; }
  .promesse-texte .m { opacity: 1; }
}
