/* Page d'accueil : sections, feuilles inversées et états de départ des animations. */

/* ---------- Portes d'animation : rien n'est masqué en dehors du hero ---------- */
html.motion-pending .hero .eyebrow,
html.motion-pending .hero__sub,
html.motion-pending .hero__cta,
html.motion-pending .hero__stores,
html.motion-pending .hero__stats,
html.motion-pending .float-card,
html.motion-pending .phone--hero { opacity: 0; }
html.motion-pending .line__inner { transform: translateY(110%); }
html.motion-pending .hero .sweep { --sweep: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(132px, 16vw, 188px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.hero__glow {
  position: absolute;
  left: 50%; top: -10%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(closest-side, var(--gold-soft), transparent 70%),
    radial-gradient(closest-side at 62% 58%, var(--green-soft), transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}
.hero__title {
  font-size: var(--fs-hero);
  line-height: .98;
  max-width: 16ch;
}
.line { display: block; overflow: hidden; padding-block: .04em; }
.line__inner { display: block; }
.hero__sub {
  max-width: 62ch;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__stores { justify-content: center; margin-top: 4px; }

/* Scène : le téléphone monte et se fait rogner par le bas du hero */
.hero__stage {
  position: relative;
  display: grid;
  justify-items: center;
  height: clamp(340px, 42vw, 520px);
  margin-top: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.hero__stage .phone { align-self: start; }

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-float);
  font-size: .875rem;
  line-height: 1.35;
  will-change: transform;
}
.float-card b { display: block; font-weight: 600; }
.float-card small { display: block; color: var(--ink-faint); font-size: .8125rem; }
.float-card__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
  font-size: .8125rem;
  font-weight: 700;
}
.float-card__avatar--green { background: var(--green-soft); color: var(--green-text); }
.float-card svg { width: 20px; height: 20px; flex: none; color: var(--gold-text); }
.float-card--1 { left: max(2%, calc(50% - 560px)); top: 8%; transform: rotate(-3deg); }
.float-card--2 { right: max(2%, calc(50% - 560px)); top: 4%; transform: rotate(2.5deg); }
.float-card--3 { left: max(3%, calc(50% - 520px)); top: 54%; transform: rotate(2deg); }
.float-card--4 { right: max(3%, calc(50% - 520px)); top: 48%; transform: rotate(-2deg); }
.float-card--4 b { color: var(--green-text); }
@media (max-width: 1100px) {
  .float-card--1 { left: 0; top: 4%; }
  .float-card--2, .float-card--3 { display: none; }
  .float-card--4 { right: 0; top: 52%; }
}
@media (max-width: 560px) {
  .float-card { max-width: 200px; padding: 10px 12px; font-size: .8125rem; }
}

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px clamp(16px, 2.4vw, 36px);
  max-width: 1040px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.hero__stats > div {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
}
.hero__stats dt {
  font-family: var(--font-display);
  font-size: var(--fs-num);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}
.hero__stats dd {
  margin: 10px 0 0;
  max-width: 22ch;
  color: var(--ink-soft);
  font-size: .9375rem;
  line-height: 1.45;
  text-wrap: balance;
}
/* Filets entre colonnes : seulement à 4 colonnes. Sur une rangée de 2, un filet
   central créerait un axe de symétrie parasite. */
@media (min-width: 981px) {
  .hero__stats > div + div::before {
    content: "";
    position: absolute;
    left: calc(-1 * clamp(8px, 1.2vw, 18px));
    top: .15em;
    bottom: .15em;
    width: 1px;
    background: var(--line);
  }
}
@media (max-width: 980px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(20px, 4vw, 40px); }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .hero__stats dd { max-width: 30ch; }
}

/* ---------- Problème / solution ---------- */
/* Le hero se termine déjà sur une respiration : on resserre l'entrée de section. */
#probleme { padding-top: clamp(48px, 6vw, 88px); }
.pains { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) { .pains { grid-template-columns: 1fr 1fr; } }
.pain {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}

/* ---------- Cadres d'images animées (volet + zoom + bascule) ----------
   Aucun état masqué ici : sans JS, l'image reste pleinement visible.
   Le clip-path de repos est nécessaire — overflow:hidden + border-radius ne
   clippent pas un enfant transformé sur WebKit. Le volet vit sur le cadre,
   le zoom sur l'image : clip-path s'applique AVANT transform, donc les deux
   sur le même élément feraient déborder le zoom du cadre arrondi. */
.img-reveal {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  clip-path: inset(0 round var(--r-md));
}
.img-reveal > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pain .img-reveal { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.img-reveal--band {
  aspect-ratio: 5 / 2;
  border-radius: var(--r-lg);
  clip-path: inset(0 round var(--r-lg));
}
@media (max-width: 768px) { .img-reveal--band { aspect-ratio: 3 / 2; } }

@media (prefers-reduced-motion: reduce) {
  .img-reveal { clip-path: inset(0 round var(--r-md)) !important; transform: none !important; }
  .img-reveal--band { clip-path: inset(0 round var(--r-lg)) !important; }
  .img-reveal > img { transform: none !important; }
}

.pain__photo {
  /* léger voile pour fondre la photo dans la palette du thème */
  filter: saturate(.92) contrast(1.02);
}
[data-theme="dark"] .pain__photo,
[data-theme="light"] [data-band="invert"] .pain__photo { filter: saturate(.85) brightness(.88) contrast(1.04); }

.band {
  position: relative;
  margin: clamp(48px, 6vw, 80px) 0 0;
  /* la figure est posée dans .split (grille 2 colonnes) : elle doit les traverser */
  grid-column: 1 / -1;
}
.band img { filter: saturate(.92); }
[data-theme="dark"] .band img,
[data-theme="light"] [data-band="invert"] .band img { filter: saturate(.85) brightness(.86); }
.band figcaption {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: .9375rem;
  text-align: center;
}

.pain__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.6rem);
  line-height: 1.25;
  color: var(--gold-text);
}
.pain--green .pain__quote { color: var(--green-text); }
.pain ul { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.pain li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink-soft);
}
.pain li::before {
  content: "";
  width: 16px; height: 16px;
  margin-top: 5px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(currentColor, currentColor) center / 8px 1.5px no-repeat;
  color: var(--ink-faint);
}

.solution {
  display: grid;
  justify-items: start;
  gap: 18px;
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sheet);
  background: var(--bg-raised);
  box-shadow: var(--sh-float);
}
.solution h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 24ch;
}
.solution__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 28px;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.solution__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; }
.solution__list svg { width: 24px; height: 24px; margin-top: 2px; color: var(--gold-text); }
.solution__list li:nth-child(even) svg { color: var(--green-text); }
.solution__list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.solution__list span { color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }

/* ---------- Feuilles inversées ---------- */
.sheet {
  border-radius: var(--r-sheet);
  margin-inline: clamp(8px, 1.6vw, 20px);
  /* PAS d'overflow ici : tout ancêtre en overflow hidden/clip neutralise le
     position:sticky de ses descendants — c'est ce qui décollait le téléphone
     du parcours client. Aucun enfant ne déborde, le rayon suffit. */
}

/* ---------- Bento concept ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tile {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}
.tile:nth-child(1), .tile:nth-child(4) { grid-column: span 7; }
.tile:nth-child(2), .tile:nth-child(3) { grid-column: span 5; }
.tile h3 { font-size: var(--fs-h3); }
.tile p { margin-top: 10px; color: var(--ink-soft); }
.tile__visual { margin-top: auto; }
@media (max-width: 860px) {
  .tile { grid-column: span 12 !important; }
}

/* Visuel : mini-carte — les tokens --ui-* n'existent que dans .phone, on les redonne ici */
.mini-map {
  --ui-green: #65C97E;
  --ui-accent: var(--gold);
  --ui-accent-ink: #03150C;
  position: relative;
  overflow: hidden;
  height: 200px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--map-ground);
}
/* Vraie carte d'Abidjan (tuiles OpenStreetMap / CARTO), une image par thème. */
.map-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-photo--dark { display: block; }
.map-photo--light { display: none; }
[data-theme="light"] .map-photo--dark,
[data-theme="dark"] [data-band="invert"] .map-photo--dark { display: none; }
[data-theme="light"] .map-photo--light,
[data-theme="dark"] [data-band="invert"] .map-photo--light { display: block; }

.map-credit {
  position: absolute;
  right: 8px; bottom: 6px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--glass-strong);
  color: var(--ink-faint);
  font-size: .625rem;
  letter-spacing: .02em;
}
.mini-map .app-pin { transform: rotate(-45deg) scale(.92); }
.mini-map .app-pin span { color: #052A13; }
.mini-map .app-pin--me span { color: var(--ui-accent-ink); }

/* Visuel : segmenté standard / urgent */
.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg-sunken);
  font-size: .9375rem;
  font-weight: 600;
}
.seg > * {
  position: relative;
  z-index: 2;
  padding: 10px 20px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  text-align: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color var(--dur-2);
}
.seg > *:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-pill); }
.seg::before {
  content: "";
  position: absolute;
  top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  border-radius: var(--r-pill);
  background: var(--gold);
  transition: transform .5s var(--ease-out);
}
.seg[data-on="urgent"]::before { transform: translateX(100%); }
.seg[data-on="standard"] > *:first-child,
.seg[data-on="urgent"] > *:last-child { color: var(--on-gold); }
.seg-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ink-faint); font-size: .875rem; }
.seg-note svg { width: 16px; height: 16px; }

/* Visuel : fonds bloqués puis libérés */
.lock { display: grid; gap: 12px; }
.lock__state { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; font-weight: 600; }
.lock__state span:first-child { color: var(--gold-text); }
.lock__state span:last-child { color: var(--ink-faint); }
.lock[data-lock="released"] .lock__state span:first-child { color: var(--ink-faint); }
.lock[data-lock="released"] .lock__state span:last-child { color: var(--green-text); }
.lock__bar { height: 8px; border-radius: var(--r-pill); background: var(--bg-sunken); overflow: hidden; }
.lock__bar i { display: block; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transform-origin: 0 50%; }

/* Visuel : notation mutuelle */
.rating { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 40px); }
.rating__side { display: grid; justify-items: center; gap: 8px; }
.rating__face {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-text);
  font-weight: 700;
}
.rating__face--green { background: var(--green-soft); color: var(--green-text); }
.rating__stars { display: flex; gap: 3px; }
.rating__stars svg { width: 16px; height: 16px; color: var(--gold); }
.rating__arrows { display: grid; gap: 6px; color: var(--ink-faint); }
.rating__arrows svg { width: 22px; height: 22px; }

/* ---------- Parcours client ---------- */
.story { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr) auto; }
  /* Chaque étape occupe un segment de défilement : le téléphone reste collé
     et change d'écran au fil de la lecture, sans épingler la section. */
  /* Le bas généreux allonge la colonne : le téléphone reste collé pendant
     toute la lecture de la dernière étape au lieu de se décoller sur la fin.
     Sélecteur renforcé : la règle générale .story__steps (padding: 0 0 0 28px)
     vient plus bas dans le fichier et écraserait un simple padding-block. */
  .story .story__steps { padding-block: 10vh 26vh; }
  .story__steps > li { min-height: 32vh; display: flex; align-items: center; }
  /* Conteneur collant de la hauteur de l'écran : le téléphone reste centré
     pendant toute la traversée. Un `top` calculé le laissait sortir par le
     haut dès l'étape 4, l'écran devenant invisible au moment où on le lit. */
  /* Le conteneur occupe TOUTE la hauteur de la colonne (c'est la zone dans
     laquelle le collage a le droit de vivre) et c'est le téléphone lui-même
     qui colle. Avec une hauteur d'écran + align-self:start, il cessait de
     coller dès qu'on dépassait 100vh — le téléphone disparaissait à l'étape 4. */
  .story__stage { align-self: stretch; display: block; }
  .story__stage .phone { position: sticky; top: 96px; --phone-scale: .74; }
}
@media (min-width: 1024px) and (min-height: 1000px) {
  .story__stage .phone { --phone-scale: .84; }
}
.story__steps { position: relative; display: grid; gap: 8px; margin: 0; padding: 0 0 0 28px; list-style: none; counter-reset: none; }
.story__rail {
  position: absolute;
  left: 3px; top: 12px; bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.story__rail i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--gold);
  transform-origin: 50% 0;
  transform: scaleY(.25);
  transition: transform .6s var(--ease-out);
}
.story[data-active-step="1"] .story__rail i { transform: scaleY(.5); }
.story[data-active-step="2"] .story__rail i { transform: scaleY(.75); }
.story[data-active-step="3"] .story__rail i { transform: scaleY(1); }

.story__step {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  text-align: left;
  color: inherit;
  transition: background-color var(--dur-3), border-color var(--dur-3), opacity var(--dur-3);
  opacity: .55;
}
.story__step:hover { opacity: .85; background: var(--line); }
.story__step[aria-current] { opacity: 1; background: var(--bg-raised); border-color: var(--line); }
.story__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background-color var(--dur-3), color var(--dur-3), border-color var(--dur-3);
}
.story__step[aria-current] .story__num { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.story__step h3 { font-size: 1.125rem; }
.story__step p { margin-top: 4px; color: var(--ink-soft); font-size: .9375rem; }
.story__stage { display: grid; justify-items: center; }
@media (max-width: 1023px) {
  .story { grid-template-columns: 1fr; }
  /* Pas d'order:-1 : le texte de l'étape doit rester AVANT le téléphone,
     sinon l'écran arrive au-dessus de son explication sur petit écran. */
  .story__stage { position: sticky; top: 88px; z-index: 2; }
}

/* ---------- Listes à cocher ---------- */
.check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 32px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
/* grid plutôt que flex : en flex, un <b> au milieu du texte devient un élément
   flex séparé et la phrase se disloque. */
.check-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--ink-soft);
}
.check-list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--gold-text); }
.check-list--green svg { color: var(--green-text); }
.check-list b { color: var(--ink); }
@media (max-width: 900px) { .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .check-list { grid-template-columns: 1fr; } }

.section__cta { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- Colonne texte + scène ---------- */
/* start, pas center : depuis que l'en-tête est sorti de la grille, la colonne
   de gauche est bien plus courte que le téléphone et se retrouvait flottante
   au milieu, laissant un grand vide au-dessus. */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) auto; } }
.split__stage { display: grid; justify-items: center; gap: 24px; }

/* ---------- Interrupteurs ---------- */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg-raised);
}
.switch__label { padding-inline: 12px; color: var(--ink-faint); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.switch button,
.switch label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-2), color var(--dur-2);
}
.switch button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }
.switch[data-active="prestataire"] button[aria-pressed="true"] { background: var(--btn-green-bg); color: var(--btn-green-ink); }
.switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch label:has(input:checked) { background: var(--gold); color: var(--on-gold); }
.switch label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Engagements ---------- */
.pillars { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}
.pillar h3 { font-size: var(--fs-h3); }
.pillar p { color: var(--ink-soft); }
.pillar__tag {
  justify-self: start;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: var(--gold-text);
  font-size: .8125rem;
  font-weight: 600;
}
.pillar:last-child .pillar__tag { background: var(--green-soft); color: var(--green-text); }

.rings { position: relative; height: 130px; display: grid; place-items: center; }
.rings i {
  position: absolute;
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .5;
  animation: rings-out 3.6s var(--ease-out) infinite;
}
.rings i:nth-child(2) { animation-delay: 1.2s; }
.rings i:nth-child(3) { animation-delay: 2.4s; }
.rings b {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--gold-soft);
}
@keyframes rings-out {
  from { transform: scale(.4); opacity: .6; }
  to { transform: scale(2.1); opacity: 0; }
}

.timeline { display: grid; gap: 10px; }
.timeline__labels { display: flex; justify-content: space-between; font-size: .875rem; font-weight: 600; }
.timeline__labels span:last-child { color: var(--green-text); }
.timeline__bar { height: 8px; border-radius: var(--r-pill); background: var(--bg-sunken); overflow: hidden; }
.timeline__bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--green-brand), var(--green)); transform-origin: 0 50%; animation: timeline-fill 2.8s var(--ease-in-out) infinite; }
@keyframes timeline-fill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.timeline__note { color: var(--ink-faint); font-size: .875rem; font-variant-numeric: tabular-nums; }

.trust { margin-top: clamp(40px, 5vw, 64px); }
.trust__title { font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-faint); }
.trust__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.trust__list li {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink-soft);
  font-size: .9375rem;
}
.trust__list svg { width: 22px; height: 22px; color: var(--gold-text); }
@media (max-width: 1000px) { .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: 1fr; } }

/* ---------- Paiement ---------- */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.pay-card {
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-raised);
}
.pay-card b { font-size: 1rem; font-weight: 600; }
.pay-card small { color: var(--ink-faint); font-size: .8125rem; }
@media (max-width: 1000px) { .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .pay-grid { grid-template-columns: 1fr; } }

.pay-note {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 62ch;
  margin: clamp(36px, 4vw, 56px) auto 0;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.pay-note svg { width: 22px; height: 22px; margin-top: 4px; color: var(--green-text); }
.pay-note b { color: var(--ink); font-weight: 600; }

/* ---------- Score de confiance ---------- */
.scores { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) { .scores { grid-template-columns: 1fr 1fr; } }
.score {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}
.score__role {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.score__value { display: flex; align-items: baseline; gap: 14px; }
.score__value b {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem);
  line-height: 1;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}
.score--green .score__value b { color: var(--green-text); }
.score__stars { color: var(--gold); letter-spacing: .12em; font-size: 1.125rem; }
.score--green .score__stars { color: var(--green); }
.score__desc { color: var(--ink-soft); }
.score ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.score li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: var(--ink-soft);
  font-size: .9375rem;
}
.score li::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.score--green li::before { background: var(--green); }

.score-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px 28px;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.score-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.score-facts svg { width: 22px; height: 22px; margin-top: 2px; color: var(--green-text); }
.score-facts b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.score-facts span { color: var(--ink-soft); font-size: .9375rem; line-height: 1.5; }

/* ---------- Abonnements ---------- */
.switch--plans { justify-self: center; margin: 0 auto clamp(32px, 4vw, 48px); display: flex; }
.switch[data-active="jobber"] button[aria-pressed="true"] { background: var(--btn-green-bg); color: var(--btn-green-ink); }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.plans[hidden] { display: none; }
.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
}
.plan--phare { border-color: var(--gold); box-shadow: var(--glow-gold); }
.plan__tag {
  position: absolute;
  top: -11px; left: clamp(22px, 2.6vw, 32px);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--on-gold);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan h3 { font-size: 1.125rem; letter-spacing: .02em; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan__price b {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem);
  line-height: 1;
  color: var(--gold-text);
  font-variant-numeric: tabular-nums;
}
.plan__price small { color: var(--ink-faint); font-size: .875rem; }
.plan ul { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-soft); font-size: .9375rem; }
.plan svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green-text); }
.plans__note {
  max-width: 68ch;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  color: var(--ink-faint);
  font-size: .9375rem;
  text-align: center;
}

/* ---------- CTA final ---------- */
.cta { position: relative; overflow: hidden; background: var(--bg-sunken); }
.cta__inner { position: relative; display: grid; justify-items: center; gap: 24px; text-align: center; }
.cta__logo {
  width: clamp(96px, 12vw, 132px);
  height: auto;
  border-radius: 26px;
  box-shadow: var(--sh-float), 0 0 0 1px var(--line);
}
.cta h2 { font-size: var(--fs-h2); line-height: 1.04; max-width: 16ch; }
.cta p { max-width: 54ch; color: var(--ink-soft); font-size: var(--fs-lead); }
.cta .stores { justify-content: center; margin-top: 8px; }
.cta__kicker {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-text);
}

@media (prefers-reduced-motion: reduce) {
  .rings i, .timeline__bar i { animation: none; }
  .timeline__bar i { transform: scaleX(1); }
  .rings i { opacity: .25; }
  .rings i:nth-child(2) { transform: scale(1.5); }
  .rings i:nth-child(3) { transform: scale(2); }
}
