/* ==========================================================
   Sections — dans l'ordre de la page
   ========================================================== */

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: contents; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 60% 50%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,17,15,.92) 0%, rgba(23,17,15,.7) 38%, rgba(23,17,15,.15) 75%),
    linear-gradient(0deg, rgba(23,17,15,.85) 0%, rgba(23,17,15,0) 40%),
    linear-gradient(180deg, rgba(23,17,15,.55) 0%, rgba(23,17,15,0) 25%);
}
/* Rythme vertical du hero, proportionnel à la hauteur d'écran :
   titre → texte (serré) · texte → bouton (moyen) · bouton → chiffres (large).
   Le bloc est centré dans l'espace sous le menu, avec autant d'air en haut qu'en bas. */
.hero__content {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding-top: calc(var(--header-h) + clamp(20px, 5vh, 64px));
  padding-bottom: clamp(20px, 5vh, 64px);
}
.hero__title {
  font-family: var(--f-display);
  font-size: min(8.4vw, 8.6rem, 11.5vh);
  font-weight: 650;
  line-height: .92;
  letter-spacing: -.045em;
}
.hero__title em { color: var(--hivis-soft); }
.hero__lead { margin-top: clamp(18px, 3vh, 36px); font-size: var(--fs-lead); max-width: 42ch; line-height: 1.45; color: var(--on-dark); }
.hero__lead strong { color: #fff; }
.hero__content > .btn { margin-top: clamp(24px, 4vh, 48px); }

/* Chiffres clés : plus gras, plus grands, regroupés */
.hero__figures { position: relative; margin-top: clamp(40px, 7vh, 88px); width: max-content; max-width: 100%; }
.hero__stats {
  margin: 0; width: max-content; max-width: 100%;
  display: grid; grid-template-columns: repeat(3, auto);
  padding-top: clamp(16px, 2.4vh, 24px);
  border-top: 1px solid transparent; /* le trait est dessiné par .hero__flight */
}
.hero__stat { position: relative; padding-right: clamp(28px, 3.4vw, 56px); }
.hero__stat:last-child { padding-right: 0; }
.hero__stat + .hero__stat { padding-left: clamp(28px, 3.4vw, 56px); border-left: 1px solid var(--on-dark-3); }
.hero__stat dt { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; font-variant-numeric: tabular-nums; }
.hero__stat dd { font-size: .92rem; color: var(--on-dark-2); margin-top: 12px; line-height: 1.4; max-width: 20ch; }
/* la largeur finale est réservée : rien ne bouge pendant que les compteurs montent */
.hero__stat dt { display: grid; white-space: nowrap; word-spacing: .05em; transition: color .35s; }
.hero__stat dt::after { content: attr(data-final); height: 0; visibility: hidden; overflow: hidden; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2);
  writing-mode: vertical-rl;
}
.hero__scroll i { width: 1px; height: 64px; background: var(--on-dark-3); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--hivis); animation: scrollLine 2.2s var(--ease-io) infinite; }
@keyframes scrollLine { to { top: 100%; } }

@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, rgba(23,17,15,.95) 10%, rgba(23,17,15,.55) 60%, rgba(23,17,15,.6) 100%); }
  .hero__figures { width: 100%; }
  .hero__stats { width: 100%; grid-template-columns: minmax(0, 3.3fr) minmax(0, 3.1fr) minmax(0, 4fr); }
  .hero__stat { padding-right: 8px; }
  .hero__stat + .hero__stat { padding-left: 10px; }
  .hero__stat dd br { display: none; }
  .hero__stat dt { font-size: clamp(1.1rem, 5.8vw, 2.2rem); font-stretch: 100%; }
  .hero__stat dd { font-size: .78rem; }
  .hero__scroll { display: none; }
  .hero__title { font-size: min(13vw, 9vh); }
}

/* ================= CHALLENGE ================= */
.challenge__top .h-display { font-size: clamp(2.6rem, 5.4vw, 5.5rem); }
.challenge__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.challenge__intro { display: grid; gap: 20px; padding-top: 10px; }
/* Avion du logo GO FIFO, en vol (remplace l'astérisque) */
.plane {
  position: relative; display: block; width: 104px; aspect-ratio: 960 / 232;
  animation: planeCruise 4.2s var(--ease-io) infinite;
}
.plane__body {
  position: absolute; inset: 0; background: var(--hivis);
  -webkit-mask: url(../img/plane-go-fifo.png) center / contain no-repeat;
          mask: url(../img/plane-go-fifo.png) center / contain no-repeat;
}
.plane__trail {
  position: absolute; right: calc(100% + 4px); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,122,53,0), var(--hivis));
  transform-origin: right center; opacity: 0;
  animation: planeTrail 1.5s linear infinite;
}
.plane__trail:nth-child(1) { top: 22%; width: 22px; }
.plane__trail:nth-child(2) { top: 50%; width: 34px; animation-delay: .5s; }
.plane__trail:nth-child(3) { top: 80%; width: 18px; animation-delay: 1s; }
@keyframes planeCruise {
  0%, 100% { transform: translate(0, 1px) rotate(0deg); }
  30%      { transform: translate(5px, -4px) rotate(-4deg); }
  60%      { transform: translate(8px, -2px) rotate(-1.5deg); }
  82%      { transform: translate(3px, 2px) rotate(1deg); }
}
@keyframes planeTrail {
  0%   { transform: translateX(8px) scaleX(.2); opacity: 0; }
  25%  { opacity: .9; }
  100% { transform: translateX(-26px) scaleX(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .plane { animation: none; } .plane__trail { display: none; } }
@media (max-width: 900px) { .plane { margin-left: 44px; } } /* laisse la place aux traînées sur mobile */
@keyframes spin { to { transform: rotate(360deg); } }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; margin-block: clamp(64px, 8vw, 120px); }
.flow__card {
  padding: 24px; border-radius: var(--r-md);
  border: 1px solid var(--line-dark); background: var(--night-2);
  display: grid; gap: 10px; align-content: start; text-align: center; justify-items: center;
}
.flow__card .label { color: var(--on-dark-3); }
.flow__card b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.flow__card p { font-size: .85rem; color: var(--on-dark-2); }
.flow__card--hot { background: var(--rust); border-color: var(--rust); }
.flow__card--hot .label, .flow__card--hot b { color: #fff; }
.flow__card--hot p { color: #fff; }
.flow__arrow { display: grid; place-items: center; width: 40px; }
.flow__arrow i { display: block; width: 100%; height: 2px; background: var(--on-dark-3); position: relative; transform-origin: left; }
.flow__arrow i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--on-dark-3); border-right: 0; }
@media (max-width: 900px) {
  .challenge__top { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { width: auto; height: 28px; }
  .flow__arrow i { width: 2px; height: 100%; }
  .flow__arrow i::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--on-dark-3); border-bottom: 0; }
}

.hl-list { border-top: 1px solid var(--line-dark); }
.hl-row {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) clamp(140px, 17vw, 240px); gap: 24px; align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line-dark);
}
.hl-row__num { align-self: start; padding-top: 1em; font-family: var(--f-display); font-stretch: 112%; font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 600; display: flex; gap: 14px; }
.hl-row__num em { font-style: normal; }
.hl-row__text {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.1vw, 3rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1.12;
  color: var(--on-dark);
  opacity: var(--row-o, .22);
  transition: opacity .2s linear;
  max-width: 24ch;
}
.hl-row .hl { color: var(--on-dark); }
.hl-row.is-lit .hl { color: var(--ink); }
@media (max-width: 1100px) { .hl-row { grid-template-columns: 170px minmax(0, 1fr) 130px; } }
@media (max-width: 760px) {
  .hl-row { grid-template-columns: minmax(0, 1fr) 108px; gap: 14px 12px; }
  .hl-row__num { grid-area: 1 / 1; align-self: center; padding: 0; flex-wrap: wrap; }
  .hl-row .ill { grid-area: 1 / 2; }
  .hl-row__text { grid-area: 2 / 1 / 3 / 3; }
}

/* ================= JOURNEY — la méthode ================= */
.journey { padding-bottom: clamp(80px, 10vw, 140px); }
.journey__intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.journey__intro .lead { max-width: 40ch; text-wrap: pretty; color: var(--on-dark-2); }
.journey__pin { height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 8px) var(--gutter) 24px; }
.journey__frame {
  position: relative; width: 100%; max-width: 1440px; margin-inline: auto; height: 100%;
  border: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1fr 1fr;
}
.journey__panel { display: grid; grid-template-rows: auto 1fr auto; border-right: 1px solid var(--line-dark); min-height: 0; }
.journey__metrics { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-dark); }
.metric { padding: 20px 24px; display: grid; gap: 6px; }
.metric + .metric { border-left: 1px solid var(--line-dark); }
.metric .label { color: var(--on-dark-3); }
.metric__value { font-family: var(--f-display); line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 8px; }
.metric__value b { font-size: clamp(2.4rem, 4.4vw, 4.4rem); font-weight: 650; font-variant-numeric: tabular-nums; }
.metric__value small { font-size: 1rem; color: var(--on-dark-3); letter-spacing: 0; }
.metric__value--accent b { color: var(--hivis); font-size: clamp(2rem, 3.6vw, 3.6rem); }

.journey__miles { padding: 20px 24px; display: grid; grid-template-rows: auto 1fr; gap: 14px; overflow: hidden; min-height: 0; }
.journey__miles .label { color: var(--on-dark-3); }
.journey__miles ol { display: grid; gap: 2px; align-content: space-evenly; }
.journey__miles li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-inline: -12px; padding: 7px 12px; border-radius: 10px; opacity: .58; transition: opacity .4s, background .4s; }
.journey__miles li::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--hivis); transform: scaleY(0); transition: transform .5s var(--ease-out); }
.journey__miles li.is-active { background: rgba(255,122,53,.07); }
.journey__miles li.is-active::before { transform: scaleY(1); }
.journey__miles li.is-active em { color: var(--hivis); }
.journey__miles li.is-active { opacity: 1; }
.journey__miles li.is-done { opacity: .55; }
.journey__miles em { font-style: normal; font-size: .72rem; color: var(--on-dark-3); font-weight: 600; padding-top: .3em; }
.journey__miles p { font-size: clamp(.86rem, 1.05vw, 1rem); line-height: 1.4; }
.journey__miles .hl { --hl-bg: var(--hivis); }
.journey__miles li.is-active .hl { --hl: 1; color: var(--ink); transition: background-size .6s var(--ease-out), color .3s; }

.journey__chart { padding: 16px 24px 18px; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; }
.journey__chart .label { color: var(--on-dark-3); }
.journey__chart svg { width: 100%; height: clamp(70px, 12vh, 130px); overflow: visible; }
.journey__chart .axis { stroke: var(--on-dark-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.journey__chart .grid { stroke: var(--line-dark); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.journey__chart .area { fill: rgba(255,122,53,.1); }
.journey__chart .line { fill: none; stroke: var(--hivis); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.journey__plot { position: relative; }
.journey__dot { position: absolute; left: 0; top: 92.8%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--hivis); box-shadow: 0 0 0 4px var(--night), 0 0 0 8px rgba(255,122,53,.25); }
.journey__chart-x { display: flex; justify-content: space-between; font-size: .72rem; color: var(--on-dark-3); letter-spacing: .06em; }

.journey__wall { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.wall__tabs { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--night); }
.wall__tabs span { padding: 5px 11px; border-radius: var(--r-pill); background: rgba(246,238,232,.08); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); transition: background .3s, color .3s; }
.wall__tabs span.is-active { background: var(--hivis); color: var(--ink); }
.wall__cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
.wall__col { display: grid; gap: 10px; align-content: start; will-change: transform; }
.wall__col--mid { margin-top: -30%; }
.tile {
  border-radius: 14px; aspect-ratio: 3 / 4;
  background: var(--night-2) center / cover no-repeat;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px;
  filter: saturate(.85);
}
.tile--tall { aspect-ratio: 9 / 15; }
/* une même photo réapparaît dans deux colonnes : autre cadrage, pour ne pas voir de doublon */
.wall__col[data-wall-col="3"] .tile:nth-child(4) { background-position: 8% 50%; }
.wall__col[data-wall-col="3"] .tile:nth-child(6) { background-position: 92% 50%; }
.tile--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,17,15,.7), rgba(23,17,15,0) 50%); }
.tile span { position: relative; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tile--txt { background: var(--night-3); justify-content: space-between; aspect-ratio: 1; padding: 16px; }
.tile--txt b { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: var(--on-dark); }
.tile--txt span { color: var(--on-dark-2); text-transform: none; letter-spacing: 0; font-size: .78rem; font-weight: 500; }
.tile--rust { background: var(--rust); }
.tile--rust span { color: #fff; }
.tile--accent { background: var(--hivis); }
.tile--accent b, .tile--accent span { color: var(--ink); }
.wall__focus {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 40%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 0 100vmax rgba(23,17,15,.42);
  border-radius: 4px;
}
.wall__focus-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 14px 16px; border-radius: 12px; background: var(--cream); color: var(--ink);
  display: grid; gap: 4px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.5);
}
.wall__focus-card .label { color: var(--rust); }
.wall__focus-card b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }


@media (max-width: 900px) {
  .journey__intro { grid-template-columns: 1fr; }
  .journey__pin { height: auto; padding: 0 var(--gutter); }
  .journey__frame { grid-template-columns: 1fr; height: auto; }
  .journey__panel { border-right: 0; }
  .journey__miles li, .journey__miles li.is-done { opacity: 1; }
  .journey__miles ol { align-content: start; }
  .journey__miles .hl { --hl: 1; color: var(--ink); }
  .journey__wall { height: 70vh; border-top: 1px solid var(--line-dark); }
  .metric { padding: 16px; }
  .metric__value--accent b { font-size: 1.7rem; white-space: nowrap; }
  .wall__focus { width: 62%; }
}
/* Petits téléphones : mur de photos sur 2 colonnes, textes des tuiles qui passent à la ligne */
@media (max-width: 600px) {
  .wall__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__col[data-wall-col="3"] { display: none; }
  .wall__focus { width: 70%; }
  .tile--txt { padding: 12px; }
  .tile--txt b { font-size: 1.05rem; overflow-wrap: anywhere; hyphens: auto; }
  .tile span { overflow-wrap: anywhere; letter-spacing: .06em; }
}

/* ================= EST-CE POUR TOI ? — check-in =================
   Les états de départ des animations sont sous .has-io : sans JavaScript
   ou en mouvement réduit, tout s'affiche directement dans son état final. */
.plane-icon {
  display: block; aspect-ratio: 960 / 232; background: currentColor;
  -webkit-mask: url(../img/plane-go-fifo.png) center / contain no-repeat;
          mask: url(../img/plane-go-fifo.png) center / contain no-repeat;
}
.fit { --p: 0; background: var(--blush); }
.fit .sec-head .label--right { color: var(--ink-2); }
.fit__top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 5vw, 76px); }
.fit__top .lead { max-width: 32ch; color: var(--ink-2); }
.fit__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.fit__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }

.fit__item { background: var(--paper); border: 1px solid transparent; border-radius: var(--r-md); padding: clamp(18px, 2.2vw, 30px); transition: border-color .4s, box-shadow .5s var(--ease-out); }
.fit__item.is-checked { border-color: var(--rust); box-shadow: inset 5px 0 0 var(--rust); }
.fit__head { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 44px; gap: 14px; align-items: center; }
.fit__num { font-size: .74rem; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.fit__item.is-checked .fit__num { color: var(--rust); }
.fit__head h3 { margin: 0; font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.fit__head label { cursor: pointer; }
.fit__head label::after { content: ""; position: absolute; inset: -14px; } /* toute la ligne est cliquable */
.fit__check {
  appearance: none; -webkit-appearance: none;
  position: relative; z-index: 1; margin: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink-3); background: transparent; cursor: pointer;
  transition: background .35s, border-color .35s, transform .5s var(--ease-out);
}
.fit__check:hover { border-color: var(--rust); transform: scale(1.06); }
.fit__check::after {
  content: ""; position: absolute; left: 50%; top: 46%; width: 11px; height: 19px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0); transition: transform .5s var(--ease-out);
}
.fit__check:checked { background: var(--rust); border-color: var(--rust); }
.fit__check:checked::after { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
.fit__check:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 50%; }

.fit__body { margin-top: 20px; padding-left: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(20px, 3vw, 44px); }
.fit__text { display: grid; gap: 14px; align-content: start; font-size: .92rem; line-height: 1.6; color: var(--ink-2); }
.fit__text strong, .fit__caption strong { color: var(--ink); }
.fit__caption strong { white-space: nowrap; }
.fit__me { padding-left: 12px; border-left: 2px solid var(--rust); font-size: .84rem; }
.fit__hint { padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.fit__over { margin-bottom: 8px; font-size: .74rem; color: var(--ink-2); }
.fit__options { display: flex; flex-wrap: wrap; gap: 6px; }
.fit__option { min-height: 38px; padding: 7px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.fit__option:hover { border-color: var(--rust); color: var(--rust); }
.fit__option[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.fit__visual { align-self: start; }
.fit__figure { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.fit__figure small { margin-left: 2px; font-size: .55em; color: var(--ink-3); }
.fit__caption { margin-top: 12px; font-size: .76rem; line-height: 1.5; color: var(--ink-2); }

/* 01 Âge : la barre s'étire ou se raccourcit selon le passeport (échelle de 18 à 40 ans) */
.age__track { margin-top: 18px; height: 10px; border-radius: 10px; background: var(--blush); overflow: hidden; }
.age__track i { display: block; height: 100%; width: 77.3%; border-radius: inherit; background: var(--rust); transition: width .9s var(--ease-out); }
[data-age="30"] .age__track i { width: 54.5%; }
[data-age="autre"] .age__track i { background: linear-gradient(90deg, var(--rust) 70.5%, transparent 70.5%), repeating-linear-gradient(-45deg, var(--rust) 0 3px, transparent 3px 7px); }
.age__scale { position: relative; height: 24px; margin-top: 6px; font-size: .72rem; color: var(--ink-3); }
.age__scale span { position: absolute; left: 0; }
.age__scale span:nth-child(2) { left: 54.5%; transform: translateX(-50%); }
.age__scale span:nth-child(3) { left: 77.3%; transform: translateX(-50%); }
.age .fit__caption { margin-top: 4px; min-height: 3em; }
.has-io .fit__item:not(.is-in) .age__track i { width: 0; }

/* 02 Budget : jauge pleine jusqu'à 8k, hachurée jusqu'à 10k (échelle de 0 à 12k) */
.budget__items { margin: 0; display: grid; gap: 5px; font-size: .84rem; }
.budget__items li { display: flex; align-items: center; gap: 9px; }
.budget__items li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 3px; background: var(--rust); }
.budget__items li:nth-child(2)::before { background: var(--hivis); }
.budget__track { position: relative; margin-top: 18px; height: 10px; border-radius: 10px; background: var(--blush); overflow: hidden; }
.budget__track i, .budget__track em { position: absolute; top: 0; bottom: 0; transform-origin: left; }
.budget__track i { left: 0; width: 66.7%; background: var(--rust); transition: transform 1s var(--ease-out) .15s; }
.budget__track em { left: 66.7%; width: 16.6%; border-radius: 0 10px 10px 0; background: repeating-linear-gradient(-45deg, var(--hivis) 0 4px, transparent 4px 7px); transition: transform .5s var(--ease-out) .85s; }
.budget__scale { position: relative; height: 24px; margin-top: 6px; font-size: .72rem; color: var(--ink-3); }
.budget__scale span { position: absolute; left: 0; }
.budget__scale span:nth-child(2) { left: 66.7%; transform: translateX(-50%); }
.budget__scale span:nth-child(3) { left: 83.3%; transform: translateX(-50%); }
.budget .fit__caption { margin-top: 4px; }
.has-io .fit__item:not(.is-in) .budget__track i,
.has-io .fit__item:not(.is-in) .budget__track em { transform: scaleX(0); }

/* 03 Anglais : dix crans qui se remplissent un à un */
.eng__scale { margin-top: 18px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; align-items: end; height: 46px; }
.eng__scale i { position: relative; border-radius: 4px; background: var(--blush); overflow: hidden; }
.eng__scale i::after { content: ""; position: absolute; inset: 0; background: var(--rust); transform: scaleY(var(--f, 0)); transform-origin: bottom; transition: transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
.eng__scale i:nth-child(-n+3) { --f: 1; }
.eng__scale i:nth-child(1) { height: 28%; --i: 0; }  .eng__scale i:nth-child(2) { height: 36%; --i: 1; }
.eng__scale i:nth-child(3) { height: 44%; --i: 2; }  .eng__scale i:nth-child(4) { height: 52%; --i: 3; }
.eng__scale i:nth-child(5) { height: 60%; --i: 4; }  .eng__scale i:nth-child(6) { height: 68%; --i: 5; }
.eng__scale i:nth-child(7) { height: 76%; --i: 6; }  .eng__scale i:nth-child(8) { height: 84%; --i: 7; }
.eng__scale i:nth-child(9) { height: 92%; --i: 8; }  .eng__scale i:nth-child(10) { height: 100%; --i: 9; }
.has-io .fit__item:not(.is-in) .eng__scale i::after { transform: scaleY(0); }

/* 04 Visite médicale : le tracé cardiaque se dessine, puis les examens se valident */
.ecg__line { width: 100%; height: auto; }
.ecg__line path { fill: none; stroke: var(--rust); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 101; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease-io) .2s; }
.has-io .fit__item:not(.is-in) .ecg__line path { stroke-dashoffset: 101; }
.ecg__tests { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ecg__tests li { padding: 5px 10px; border-radius: var(--r-pill); background: var(--blush); font-size: .74rem; color: var(--rust-deep); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: .7s; }
.ecg__tests li:nth-child(2) { transition-delay: 1.05s; }
.ecg__tests li:nth-child(3) { transition-delay: 1.4s; }
.ecg__tests li:nth-child(4) { transition-delay: 1.75s; }
.has-io .fit__item:not(.is-in) .ecg__tests li { opacity: 0; transform: translateY(8px); }

/* 05 Du premier contact au premier jour : l'avion allume les trois étapes au passage */
.entry__track { position: relative; margin-top: 42px; height: 2px; background: var(--line); }
.entry__track i { position: absolute; inset: 0; background: var(--rust); transform-origin: left; transition: transform 2s var(--ease-io); }
.entry__track .plane-icon { position: absolute; bottom: 11px; left: calc(100% - 46px); width: 46px; color: var(--rust); transition: left 2s var(--ease-io); }
.entry__steps { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.entry__steps li { position: relative; padding-top: 18px; display: grid; gap: 3px; align-content: start; font-size: .74rem; line-height: 1.35; color: var(--ink-2); }
.entry__steps li::before { content: ""; position: absolute; left: 0; top: -8px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--paper); background: var(--rust); transition: background .4s, transform .5s var(--ease-out); }
.entry__steps li:nth-child(2) { text-align: center; }
.entry__steps li:nth-child(2)::before { left: calc(50% - 7px); transition-delay: .9s; }
.entry__steps li:nth-child(3) { text-align: right; }
.entry__steps li:nth-child(3)::before { left: auto; right: 0; background: var(--hivis); transition-delay: 1.8s; }
.entry__steps b { color: var(--ink); font-size: .78rem; }
.has-io .fit__item:not(.is-in) .entry__track i { transform: scaleX(0); }
.has-io .fit__item:not(.is-in) .entry__track .plane-icon { left: 0; }
.has-io .fit__item:not(.is-in) .entry__steps li::before { background: var(--sand); transform: scale(.6); }

/* Carte d'embarquement : s'imprime en entrant, se tamponne au fil des réponses */
.fit__aside { position: sticky; top: calc(var(--header-h) + 20px); }
.pass__slot { height: 8px; margin-inline: -8px; border-radius: 8px; background: var(--ink); }
.pass { margin-top: -4px; color: var(--on-dark); clip-path: inset(-4px -60px -60px -60px); transition: clip-path 1.6s var(--ease-io), transform 1.6s var(--ease-io); }
.has-io .fit__aside:not(.is-in) .pass { clip-path: inset(-4px -60px 100% -60px); transform: translateY(-24px); }
.pass__main, .pass__stub { position: relative; background: var(--night); }
.pass__main {
  padding: 28px clamp(18px, 2vw, 30px) 24px; border-radius: 0 0 var(--r-md) var(--r-md);
  -webkit-mask: radial-gradient(circle at 0 100%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 100%, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 100%, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
}
.pass__brand { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pass__brand .label { color: var(--hivis-soft); }
.pass__brand img { height: 24px; width: auto; }
.pass__route { margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.pass__route p { display: grid; gap: 6px; }
.pass__route p:last-child { text-align: right; }
.pass__route b { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.7rem, 2.5vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pass__route span { font-size: .72rem; color: var(--on-dark-2); }
.pass__path { position: relative; height: 34px; }
.pass__path::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px dashed var(--on-dark-3); }
.pass__path i { position: absolute; left: 0; top: calc(50% - 1px); height: 2px; width: calc(var(--p) * 100%); background: var(--hivis); transition: width 1.1s var(--ease-io); }
.pass__path .plane-icon { position: absolute; width: 44px; bottom: calc(50% + 3px); left: calc(var(--p) * (100% - 44px)); color: var(--hivis); transition: left 1.1s var(--ease-io); }
.pass__stamps { margin: 22px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pass__stamps li { display: grid; justify-items: center; gap: 7px; font-size: .7rem; color: var(--on-dark-2); transition: color .3s; }
.pass__stamps i { position: relative; width: 30px; height: 30px; border: 1.5px dashed var(--on-dark-3); border-radius: 50%; transition: background .3s, border-color .3s, transform .7s var(--ease-out); }
.pass__stamps i::after { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 13px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg) scale(0); transition: transform .4s var(--ease-out); }
.pass__stamps li.is-on { color: var(--on-dark); }
.pass__stamps li.is-on i { background: var(--hivis); border: 1.5px solid var(--hivis); transform: rotate(-8deg) scale(1.1); }
.pass__stamps li.is-on i::after { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
.pass__stub {
  padding: 24px clamp(18px, 2vw, 30px) 22px; border-radius: 0 0 var(--r-md) var(--r-md);
  display: grid; gap: 18px; justify-items: start;
  -webkit-mask: radial-gradient(circle at 0 0, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 0, transparent 12px, #000 12.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 0, transparent 12px, #000 12.5px) right / 51% 100% no-repeat;
}
.pass__main { border-radius: 0; }
.pass__stub::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; border-top: 1.5px dashed var(--on-dark-3); }
.pass__status { width: 100%; }
.pass__stub { overflow: hidden; }
.pass__count { font-family: var(--f-display); font-size: 1rem; color: var(--on-dark-2); }
.pass__count b { color: var(--hivis); font-size: 1.5rem; }
.pass__count span { font-family: var(--f-body); font-size: .74rem; }
.pass__title { margin-top: 6px; font-family: var(--f-display); font-size: 1.4rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.12; max-width: 19ch; }
.pass__msg { margin-top: 8px; min-height: 4.5em; font-size: .84rem; line-height: 1.5; color: var(--on-dark-2); }
.pass__cta { max-width: 100%; white-space: normal; line-height: 1.2; }
.pass__barcode { position: relative; width: 100%; height: 26px; }
.pass__barcode::before, .pass__barcode i { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--on-dark-3) 0 2px, transparent 2px 5px, var(--on-dark-3) 5px 9px, transparent 9px 11px, var(--on-dark-3) 11px 12px, transparent 12px 16px); opacity: .35; }
.pass__barcode i { opacity: 1; clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); transition: clip-path 1.1s var(--ease-io); }
.pass__stamp {
  position: absolute; right: 16px; top: 8px; padding: 6px 10px; pointer-events: none;
  border: 3px solid var(--hivis); border-radius: 8px; color: var(--hivis);
  font-family: var(--f-display); font-stretch: 112%; font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; text-align: center;
  opacity: 0; transform: rotate(9deg) scale(2.2); transition: opacity .25s, transform .55s var(--ease-out);
}
.fit.is-ready .pass__stamp { opacity: 1; transform: rotate(9deg) scale(1); }
.fit__privacy { margin-top: 12px; text-align: center; font-size: .74rem; color: var(--ink-2); }
/* écrans peu hauts : le billet reste entier à l'écran */
@media (min-width: 901px) and (max-height: 820px) {
  .pass__main { padding-top: 20px; padding-bottom: 18px; }
  .pass__route, .pass__stamps { margin-top: 14px; }
  .pass__stub { padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .pass__title { font-size: 1.2rem; max-width: 18ch; }
  .pass__msg { margin-top: 4px; font-size: .8rem; }
  .pass__barcode { height: 14px; }
}

.fit__bar { display: none; }

@media (max-width: 1250px) {
  .fit__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .fit__top, .fit__grid { grid-template-columns: minmax(0, 1fr); }
  .fit__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fit__aside { position: relative; top: 0; width: 100%; max-width: 480px; justify-self: center; }
  /* sur mobile le billet est sous la liste : une barre de progression suit pendant qu'on coche */
  .fit__bar {
    position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 16px;
    padding: 12px 18px; border-radius: var(--r-pill); background: var(--night); color: var(--on-dark);
    font-family: var(--f-display); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
  }
  .fit__bar-track { position: relative; flex: 1; height: 22px; }
  .fit__bar-track::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; border-top: 1.5px dashed var(--on-dark-3); }
  .fit__bar-track i { position: absolute; left: 0; bottom: 3px; height: 2px; width: calc(var(--p) * 100%); background: var(--hivis); transition: width .9s var(--ease-io); }
  .fit__bar-track .plane-icon { position: absolute; bottom: 7px; width: 38px; left: calc(var(--p) * (100% - 38px)); color: var(--hivis); transition: left .9s var(--ease-io); }
}
@media (max-width: 600px) {
  .fit__body { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .fit__head { grid-template-columns: 22px minmax(0, 1fr) 44px; gap: 8px; }
  .fit__option { min-height: 44px; }
}

/* ================= QUI JE SUIS ================= */
.dots-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about .h-display { margin-bottom: clamp(48px, 6vw, 80px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.about__visual { position: sticky; top: calc(var(--header-h) + 48px); }
.about__dots { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--night); }
.about__dots canvas { width: 100%; height: 100%; }
.about__caption { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.about__caption strong { color: var(--ink); }
.story__text a { color: var(--rust); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.about__main { display: grid; gap: clamp(48px, 6vw, 88px); }
.about__intro { display: grid; gap: 16px; }
.about__intro > .label, .about__story > .label { color: var(--rust); }
.about__statement { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.about__stats { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.about__stats > div { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line); }
.about__stats dt { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.5rem, 2.5vw, 2.4rem); font-weight: 750; letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.about__stats dd { margin-top: 8px; font-size: .84rem; line-height: 1.4; color: var(--ink-2); }

.story { --story-p: 1; margin-top: 22px; position: relative; }
.story__rail { position: absolute; left: 5px; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.story__rail i { position: absolute; left: -.5px; top: 0; width: 2px; height: 100%; background: var(--rust); transform: scaleY(var(--story-p)); transform-origin: top; }
.story__marker {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--story-p) * 100%); width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; background: var(--hivis); color: var(--ink);
  transform: translate(-50%, -50%);
}
.story__marker .plane-icon { width: 26px; transform: rotate(22deg); } /* en descente */
.story li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 16px; padding: 0 0 42px 34px; }
.story li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--rust); transition: background .4s, transform .5s var(--ease-out), box-shadow .5s; }
.story.is-animated li:not(.is-on)::before { background: var(--sand); }
.story.is-animated li.is-on::before { transform: scale(1.2); box-shadow: 0 0 0 5px rgba(174, 85, 59, .14); }
.story.is-animated li:not(.is-on) .story__text b { color: var(--ink-3); }
.story__text b { transition: color .4s; }
.story__date { padding-top: .2em; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.story__text b { display: block; text-wrap: balance; font-family: var(--f-display); font-size: 1.45rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.12; }
.story__text p { margin-top: 6px; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.story__text a { display: inline-block; margin-top: 2px; padding-block: 7px; font-size: .82rem; }

.proofs { margin-top: clamp(72px, 9vw, 140px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.proofs__head { display: grid; gap: 20px; margin-bottom: clamp(28px, 3vw, 44px); }
.proofs__head .body { max-width: none; text-wrap: pretty; } /* paragraphe sur toute la largeur */
.proofs__title { margin: 0; font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 650; letter-spacing: -.035em; line-height: 1; }
.proofs__title em { font-style: normal; font-weight: 300; }
.proofs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.proof { display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .3s; }
.proof:hover { border-color: var(--rust); }
.proof__media { position: relative; overflow: hidden; border-radius: calc(var(--r-md) - 6px); aspect-ratio: 16 / 9; background: var(--sand); }
.proof__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.proof:hover .proof__media img { transform: scale(1.04); }
.proof > :not(.proof__media) { margin-inline: 10px; }
.proof > .label { margin-top: 10px; color: var(--rust); }
.proof__sum { font-family: var(--f-display); font-stretch: 112%; font-size: clamp(1.7rem, 2.8vw, 2.7rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.proof__desc { font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.proof__kind { margin-top: auto; padding-top: 10px; font-size: .8rem; font-weight: 600; }
.proofs__foot { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 48px; }
.proofs__note { max-width: 64ch; font-size: .78rem; line-height: 1.55; color: var(--ink-3); }
.proofs__actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__visual { position: relative; top: 0; }
  .proofs__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 480px) {
  .story li { grid-template-columns: minmax(0, 1fr); }
}

/* ================= GRID 9 ================= */
.g9 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.g9__cell {
  min-height: clamp(180px, 20vw, 280px);
  padding: clamp(20px, 2.4vw, 32px);
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background .45s var(--ease-out), color .45s var(--ease-out);
}
.g9__cell b { font-family: var(--f-display); font-stretch: 108%; font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.g9__cell span { font-size: .88rem; color: var(--on-dark-2); max-width: 26ch; transition: color .45s var(--ease-out); }
/* Le carré orange suit la souris ; sans survol, il revient sur le premier (.is-hot) */
.g9__cell:hover,
.g9:not(:hover) .g9__cell.is-hot { background: var(--hivis); color: var(--ink); }
.g9__cell:hover span,
.g9:not(:hover) .g9__cell.is-hot span { color: rgba(28,25,23,.85); }
@media (max-width: 760px) { .g9 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g9__cell { min-height: 150px; padding: 16px; } .g9__cell b { font-size: clamp(1.6rem, 8.4vw, 2.4rem); } .g9__cell span { font-size: .82rem; } }

/* ================= MEDIA ================= */
.media__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.media__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.media__list { border-top: 1px solid var(--line); align-self: start; }
.media__list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: color .4s; }
.media__list li b, .media__list li p { transition: color .4s; }
.media__list li:not(.is-active):not(:hover) b,
.media__list li:not(.is-active):not(:hover) p { color: var(--ink-3); }
.media__list li > span { font-size: .72rem; color: var(--ink-3); padding-top: .8em; display: flex; gap: 6px; align-items: flex-start; }
.media__list li.is-active > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); margin-top: .35em; }
.media__list b { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.media__list p { font-size: .86rem; color: var(--ink-2); margin-top: 4px; }
.media__card { position: relative; width: 100%; align-self: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/11; color: #fff; isolation: isolate; }
.media__slides, .media__slide { position: absolute; inset: 0; }
.media__slide { background: center / cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
.media__slide.is-active { opacity: 1; transform: scale(1); }
.media__card:hover .media__slide.is-active { transform: scale(1.04); }
.media__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,17,15,.75), rgba(23,17,15,0) 55%), rgba(23,17,15,.12); }
.media__tag { position: absolute; top: 20px; left: 22px; }
.media__play { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.media__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.media__ring text { font-family: var(--f-display); font-stretch: 118%; font-size: 13px; font-weight: 700; letter-spacing: 3.2px; fill: #fff; }
.media__btn { width: 76px; height: 76px; border-radius: 50%; background: var(--hivis); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.media__btn svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.media__card:hover .media__btn { transform: scale(1.12); }
.media__caption { position: absolute; left: 22px; bottom: 20px; display: grid; gap: 2px; }
.media__caption b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 650; letter-spacing: -.02em; }
.media__caption span { font-size: .82rem; opacity: .8; }
@media (max-width: 900px) { .media__top, .media__grid { grid-template-columns: 1fr; } .media__play { width: 140px; height: 140px; } .media__btn { width: 60px; height: 60px; } }

/* ================= AVIS — deck de cartes ================= */
.reviews { position: relative; }
.reviews__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; padding-top: calc(var(--header-h) + 8px); padding-bottom: 24px; }
.reviews__inner { display: flex; flex-direction: column; height: 100%; }
.reviews .sec-head { margin-bottom: clamp(24px, 4vh, 48px); }
.reviews__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.reviews__side { display: grid; gap: 22px; align-content: center; }
.reviews__intro { max-width: 36ch; }
.reviews__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 10px; }
.reviews__cta { flex: none; }
.reviews__count { font-family: var(--f-display); color: var(--on-dark-3); font-size: 1rem; font-variant-numeric: tabular-nums; }
.reviews__count b { font-size: 2.8rem; font-weight: 650; color: var(--on-dark); letter-spacing: -.03em; }
.reviews__bars { display: flex; gap: 6px; }
.reviews__bars i { width: 22px; height: 3px; border-radius: 3px; background: var(--on-dark-3); transition: width .5s var(--ease-out), background .4s; }
.reviews__bars i.is-active { width: 46px; background: var(--hivis); }

.reviews__deck {
  position: relative; isolation: isolate;
  width: min(100%, 540px); height: min(58vh, 540px);
  margin-top: 80px; /* place pour les cartes empilées derrière */
  justify-self: center;
}
.review {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.06) inset;
  will-change: transform;
  transform-origin: 50% 50%;
}
.review--cream { background: var(--cream); color: var(--ink); }
.review--rust  { background: var(--rust); color: #fff; }
.review--sand  { background: var(--sand); color: var(--ink); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review__flag { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px dashed currentColor; }
.review__top .label { color: inherit; }
.route { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 1.1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.route dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.route dd { margin: 4px 0 0; font-family: var(--f-display); font-size: clamp(1.05rem, 1.5vw, 1.4rem); font-weight: 650; letter-spacing: -.025em; line-height: 1.1; }
.route > div:last-child { text-align: right; }
.route__path { position: relative; padding-top: 30px; text-align: center; line-height: 1.25; }
.route__path::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; border-top: 1.5px dashed currentColor; opacity: .45; }
.route__path dt, .route__path dd { display: inline; font-family: var(--f-body); font-size: .72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.route__path .plane-icon { position: absolute; top: 4px; left: calc(100% - 40px); width: 40px; color: var(--rust); transition: left 1.4s var(--ease-io) .2s; }
.review--rust .route__path .plane-icon { color: #FFD3B8; }
.msg { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.msg__me, .msg__client { max-width: 88%; padding: 12px 16px; border-radius: 18px; line-height: 1.35; }
.msg__me { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--ink); color: var(--cream); font-size: .88rem; }
.msg__client { align-self: flex-start; display: flex; align-items: center; gap: 12px; border-bottom-left-radius: 5px; background: var(--paper); color: var(--ink); font-family: var(--f-display); font-size: clamp(1.05rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.02em; transition: opacity .5s .7s, transform .7s var(--ease-out) .7s; }
.msg__dots { display: flex; gap: 4px; color: var(--rust); }
.msg__dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.review:not(.is-pending) .msg__dots { display: none; }
.has-io .is-live .is-front .msg__dots i { animation: dotPulse 1.2s ease-in-out infinite; }
.has-io .reviews__pin:not(.is-static) .review:not(.is-front) .route__path .plane-icon { left: 0; transition-delay: 0s; }
.has-io .reviews__pin:not(.is-static) .review:not(.is-front) .msg__client { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
.review__foot { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid currentColor; border-color: rgba(28,25,23,.12); }
.review--rust .review__foot { border-color: rgba(255,255,255,.25); }
.review__avatar { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--rust); color: #fff; font-family: var(--f-display); font-weight: 700; }
.review--rust .review__avatar { background: #fff; color: var(--rust); }
.review__who { display: grid; line-height: 1.3; flex: 1; }
.review__who b { font-size: .98rem; }
.review__who span { font-size: .8rem; opacity: .75; }
.review--rust .review__who span { opacity: 1; }
.review__chip { padding: 7px 12px; border-radius: var(--r-pill); background: var(--blush); color: var(--rust-deep); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.review--rust .review__chip { background: rgba(23,17,15,.22); color: #fff; }

/* Mouvement réduit : cartes simplement les unes sous les autres */
.reviews__pin.is-static { height: auto; padding-block: var(--sec-y); }
.reviews__pin.is-static .reviews__deck { height: auto; margin-top: 0; display: grid; gap: 16px; }
.reviews__pin.is-static .review { position: relative; inset: auto; }
/* si GSAP ne charge pas : même affichage en liste */
.no-anim .reviews__pin { height: auto; padding-block: var(--sec-y); }
.no-anim .reviews__deck { height: auto; margin-top: 0; display: grid; gap: 16px; }
.no-anim .review { position: relative; inset: auto; }
html.no-anim .reviews__pin .review .msg__client { opacity: 1 !important; transform: none !important; }
html.no-anim .reviews__pin .review .route__path .plane-icon { left: calc(100% - 40px) !important; }

@media (max-width: 900px) {
  .reviews__grid { grid-template-columns: 1fr; align-content: start; gap: 12px; }
  .reviews__side { gap: 12px; }
  .reviews__intro { display: none; }
  .reviews__count b { font-size: 2rem; }
  .reviews__nav { margin-top: 0; flex-wrap: nowrap; justify-content: space-between; gap: 12px; }
  .reviews__bars { display: none; }
  .reviews__cta { padding: 12px 16px; font-size: .82rem; }
  .reviews__cta .btn__icon { display: none; }
  .reviews__deck { height: clamp(250px, calc(100svh - 420px), 420px); margin-top: 60px; }
  .review { padding: 20px; gap: 12px; }
  .route { grid-template-columns: minmax(0, 1fr) minmax(70px, .9fr) minmax(0, 1fr); gap: 6px; }
  .route dd { font-size: .95rem; }
  .route__path .plane-icon { width: 34px; left: calc(100% - 34px); }
  .route__path dt, .route__path dd { font-size: .7rem; }
}
/* écrans peu hauts : on garde l'essentiel de la carte */
@media (max-height: 820px) {
  .review { padding: 22px; gap: 12px; }
}
@media (max-height: 820px) and (min-width: 901px) {
  .reviews__deck { margin-top: 64px; height: min(56vh, 470px); }
}
@media (max-height: 760px) and (max-width: 900px) {
  .msg__me { display: none; }
  .review__top { display: none; }
}
/* très petits téléphones (iPhone SE 1re génération, petits Android) */
@media (max-height: 660px) and (max-width: 900px) {
  .reviews .sec-head { margin-bottom: 12px; padding-top: 14px; }
  .reviews__side .h-display { font-size: 1.65rem; }
  .reviews__deck { height: clamp(222px, calc(100svh - 360px), 280px); margin-top: 50px; }
  .review { padding: 16px; gap: 8px; }
  .review__foot { padding-top: 10px; }
  .review__avatar { flex-basis: 36px; height: 36px; }
  .msg__client { padding: 9px 12px; font-size: .95rem; }
  .route__path { padding-top: 24px; }
}

/* ================= PRICING ================= */
.pricing__top { margin-bottom: clamp(48px, 6vw, 80px); }
/* Titre sur une seule ligne, sur toute la largeur (revient à la ligne sur mobile) */
.pricing__top .h-display { max-width: none; font-size: clamp(2.2rem, 5vw, 4.8rem); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan {
  padding: 26px 22px 22px; border-radius: var(--r-md);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(60,25,10,.35); }
.plan .label { color: var(--ink-3); }
.plan h3 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 650; letter-spacing: -.03em; color: var(--rust); }
.plan__price { font-family: var(--f-display); font-stretch: 118%; font-size: 2.4rem; font-weight: 750; letter-spacing: -.04em; line-height: 1; }
.plan__price small { font-size: .42em; color: var(--ink-2); font-weight: 500; }
.plan .checks { flex: 1; padding-top: 14px; border-top: 1px solid var(--line); }
.plan--hot { background: var(--rust); border-color: var(--rust); color: #fff; }
.plan--hot h3, .plan--hot .label { color: #fff; }
.plan--hot .plan__price small { color: #fff; }
.plan--hot .checks { border-color: rgba(255,255,255,.25); }
.plan--hot .checks li, .plan--hot .checks li strong { color: #fff; }
.plan--hot .checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AE553B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Aperçus produits : couvertures qui s'ouvrent, CV scanné, fil de discussion, appel */
.preview { position: relative; height: 208px; margin: -14px -10px 6px; border-radius: 14px; background: var(--blush); overflow: hidden; perspective: 900px; }
.book { position: absolute; width: 116px; aspect-ratio: 400 / 566; transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.book__cover { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 2px 6px 6px 2px; background: var(--rust); box-shadow: 0 14px 24px -12px rgba(60,25,10,.55); transform-origin: left center; transition: transform 1s var(--ease-out); }
.book__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.12) 5%, transparent 11%); }
.book__cover img { width: 100%; height: 100%; object-fit: cover; }
.book__page { position: absolute; inset: 2px 0 2px 2px; padding: 14px 11px; display: flex; flex-direction: column; gap: 7px; border-radius: 2px 5px 5px 2px; background: var(--cream); box-shadow: 2px 0 0 #E9E1D9, 4px 0 0 #F4EEE8, 0 14px 24px -12px rgba(60,25,10,.45); color: var(--ink); }
.book__page > b { align-self: flex-end; width: 74%; margin-bottom: 3px; font-family: var(--f-display); font-size: .7rem; line-height: 1; }
.book__page > i { align-self: flex-end; width: 74%; height: 4px; border-radius: 4px; background: var(--sand); }
.book__page > i:nth-of-type(3n) { width: 58%; background: rgba(174,85,59,.5); }
.book__page--contacts p { align-self: flex-end; width: 74%; display: flex; align-items: center; gap: 5px; }
.book__page--contacts p i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: rgba(174,85,59,.5); }
.book__page--contacts p span { flex: 1; height: 4px; border-radius: 4px; background: var(--sand); }
.book--back { left: 50%; top: 22px; transform: translateX(4px) rotate(9deg); }
.book--front { left: 50%; top: 24px; transform: translateX(-94px) rotate(-4deg); }
.book--front .book__cover { transform: rotateY(-34deg); }
.plan:hover .book--front .book__cover { transform: rotateY(-72deg); }
.plan:hover .book--back { transform: translateX(14px) rotate(13deg); }
.has-io .preview:not(.is-in) .book--front .book__cover { transform: rotateY(0deg); }
.has-io .preview:not(.is-in) .book--front,
.has-io .preview:not(.is-in) .book--back { transform: translateX(-58px) translateY(16px); }

.book--mini { width: 80px; left: 50%; }
.book--mini-a { top: 34px; transform: translateX(-128px) rotate(-12deg); }
.book--mini-b { top: 68px; transform: translateX(48px) rotate(11deg); }
.has-io .preview:not(.is-in) .book--mini-a,
.has-io .preview:not(.is-in) .book--mini-b { transform: translateX(-40px); }

.cv { position: absolute; left: 50%; top: 20px; width: 124px; height: 170px; padding: 13px; transform: translateX(-50%); border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 28px -14px rgba(60,25,10,.6); overflow: hidden; }
.cv__head { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.cv__head > i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); }
.cv__head span { flex: 1; display: grid; gap: 4px; }
.cv__head b { font-family: var(--f-display); font-size: .7rem; line-height: 1; }
.cv__head em { height: 3px; width: 80%; border-radius: 3px; background: var(--sand); }
.cv__line { display: block; height: 4px; margin-bottom: 8px; border-radius: 4px; background: rgba(174,85,59,.55); transition: background .3s; }
.cv__line:nth-of-type(3n) { width: 64%; }
.cv__line:nth-of-type(2) { transition-delay: .5s; }
.cv__line:nth-of-type(3) { transition-delay: .7s; }
.cv__line:nth-of-type(4) { transition-delay: .9s; }
.cv__line:nth-of-type(5) { transition-delay: 1.1s; }
.cv__line:nth-of-type(6) { transition-delay: 1.3s; }
.cv__line:nth-of-type(7) { transition-delay: 1.5s; }
.has-io .preview:not(.is-in) .cv__line { background: var(--sand); }
.cv__scan { position: absolute; left: 0; right: 0; top: 0; height: 34px; border-bottom: 2px solid var(--hivis); background: linear-gradient(180deg, rgba(255,122,53,0), rgba(255,122,53,.2)); transform: translateY(-36px); }
.has-io .is-live .cv__scan { animation: cvScan 3.4s var(--ease-io) .3s infinite; }
@keyframes cvScan { 0% { transform: translateY(-36px); } 60%, 100% { transform: translateY(172px); } }
.cv__ok { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-family: var(--f-display); font-size: .7rem; font-weight: 700; line-height: 1; transition: opacity .3s, transform .5s var(--ease-out); transition-delay: 1.9s; }
.cv__ok i { width: 5px; height: 9px; border: solid var(--hivis); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-1px); }
.has-io .preview:not(.is-in) .cv__ok { opacity: 0; transform: scale(.5); }

.chat { position: absolute; left: 50%; top: 18px; bottom: -10px; width: min(196px, 88%); padding: 10px; transform: translateX(-50%); border-radius: 12px 12px 0 0; background: var(--paper); color: var(--ink); box-shadow: 0 16px 28px -14px rgba(60,25,10,.5); display: flex; flex-direction: column; gap: 6px; }
.chat__head { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 5px; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: .74rem; font-weight: 700; }
.chat__head span { width: 7px; height: 7px; border-radius: 50%; background: var(--hivis); }
.chat__row { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; background: var(--cream); transition: opacity .5s, transform .6s var(--ease-out); }
.chat__row > i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--rust); }
.chat__row:nth-of-type(3) > i { background: var(--hivis); }
.chat__row:nth-of-type(4) > i { background: var(--ink); }
.chat__row span { flex: 1; display: grid; gap: 4px; }
.chat__row b { font-size: .7rem; line-height: 1; }
.chat__row em { height: 3px; width: 85%; border-radius: 3px; background: var(--sand); }
.chat__row:nth-of-type(2) { transition-delay: .2s; }
.chat__row:nth-of-type(3) { transition-delay: .6s; }
.chat__row:nth-of-type(4) { transition-delay: 1s; }
.has-io .preview:not(.is-in) .chat__row { opacity: 0; transform: translateY(12px); }
.chat__typing { display: flex; gap: 4px; padding: 4px 8px; }
.chat__typing i, .msg__dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; }
.has-io .is-live .chat__typing i { animation: dotPulse 1.2s ease-in-out infinite; }
.chat__typing i:nth-child(2), .msg__dots i:nth-child(2) { animation-delay: .18s !important; }
.chat__typing i:nth-child(3), .msg__dots i:nth-child(3) { animation-delay: .36s !important; }
@keyframes dotPulse { 0%, 70%, 100% { opacity: .3; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }

.plan--hot .preview { background: rgba(23,17,15,.16); }
.plan__format { display: grid; gap: 1px; font-size: .78rem; line-height: 1.45; color: var(--ink-2); }
.plan__format b { margin-bottom: 2px; color: var(--ink); }
.plan--hot .plan__format, .plan--hot .plan__format b { color: #fff; }

.coach__included { display: grid; gap: 14px; }
.preview--coach { height: 164px; margin: 0; background: rgba(246,238,232,.06); }
.call { position: absolute; left: 14px; top: 14px; bottom: 14px; width: calc(100% - 112px); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.call__tile { display: grid; place-content: center; justify-items: center; gap: 12px; border-radius: 10px; background: var(--night-3); }
.call__tile:first-child { background: var(--rust); color: #fff; }
.call__tile b { font-family: var(--f-display); font-stretch: 112%; font-size: 1.05rem; font-weight: 800; }
.call__wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.call__wave i { width: 3px; height: 100%; border-radius: 3px; background: currentColor; transform: scaleY(.3); }
.call__wave i:nth-child(2n) { transform: scaleY(.6); }
.call__wave i:nth-child(3) { transform: scaleY(.9); }
/* chacun parle à son tour */
.has-io .is-live .call__wave { animation: callTurn 5s steps(1) infinite; }
.has-io .is-live .call__tile:nth-child(2) .call__wave { animation-delay: -2.5s; }
.has-io .is-live .call__wave i { animation: callWave .7s ease-in-out infinite alternate; }
.has-io .is-live .call__wave i:nth-child(2n) { animation-delay: -.3s; }
.has-io .is-live .call__wave i:nth-child(3) { animation-delay: -.5s; }
@keyframes callWave { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@keyframes callTurn { 0% { opacity: 1; } 50%, 100% { opacity: .2; } }
.book--call { left: auto; right: 14px; top: 28px; width: 76px; transform: rotate(6deg); }
.coach__included .plan__format { color: var(--on-dark-2); }
.coach__included .plan__format b { color: var(--on-dark); }

/* Coaching 1:1 — offre sur candidature, carte sombre pleine largeur sous les formules */
.coach {
  position: relative; margin-top: 14px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start;
  padding: clamp(30px, 3.6vw, 52px);
  border-radius: var(--r-md); background: var(--night); color: var(--on-dark);
  overflow: hidden; isolation: isolate;
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.coach:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(60,25,10,.45); }
.coach::before {
  content: ""; position: absolute; z-index: -1; width: 55%; aspect-ratio: 1; right: -12%; top: -70%;
  background: radial-gradient(circle, rgba(174,85,59,.55), rgba(174,85,59,0) 62%);
}
.coach .corner--tl { top: 14px; left: 14px; }
.coach .corner--tr { top: 14px; right: 14px; }
.coach .corner--bl { bottom: 14px; left: 14px; }
.coach .corner--br { bottom: 14px; right: 14px; }
.coach .label { color: var(--on-dark-3); }
.badge--hivis { background: var(--hivis); color: var(--ink); }
.coach__title { margin-top: 16px; font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.coach__lead { margin-top: 14px; max-width: 34ch; line-height: 1.5; color: var(--on-dark-2); }
.coach__cond { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--on-dark); }
.coach__cond::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--hivis); }
.coach__price { margin-top: 24px; display: grid; gap: 6px; font-family: var(--f-display); font-stretch: 112%; font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--hivis); }
.coach__price small { font-family: var(--f-body); font-stretch: 100%; font-size: .8rem; font-weight: 400; letter-spacing: 0; color: var(--on-dark-3); }
.coach__checks { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.coach__checks li { color: var(--on-dark-2); }
.coach__checks li strong { color: var(--on-dark); }
.coach__checks li::before { background-color: var(--hivis); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1917' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E"); }
.coach__side { display: grid; gap: 26px; justify-items: start; }
.coach__steps { width: 100%; border-top: 1px solid var(--line-dark); }
.coach__steps li { display: grid; grid-template-columns: 36px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: .92rem; line-height: 1.4; }
.coach__steps em { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--hivis); padding-top: .3em; }
@media (max-width: 1100px) { .coach { grid-template-columns: 1fr 1fr; } .coach__main { grid-column: 1 / -1; } }
@media (max-width: 760px) { .coach { grid-template-columns: 1fr; } }

/* ================= FAQ ================= */
.faq { background: var(--peach); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; justify-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-family: var(--f-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.qa__q:hover { color: var(--rust); }
.qa__q i { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); position: relative; transition: background .3s, transform .5s var(--ease-out); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease-out); }
.qa__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__q i { background: var(--rust); color: #fff; border-color: var(--rust); transform: rotate(180deg); }
.qa.is-open .qa__q i::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.qa__a > div { overflow: hidden; }
.qa__a p { color: var(--ink-2); padding-bottom: 26px; max-width: 62ch; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } }


/* ================= FOOTER ================= */
.footer { padding-top: 40px; padding-bottom: 32px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 70vw; height: 70vw; right: -20vw; bottom: -40vw; background: radial-gradient(circle, rgba(174,85,59,.35), rgba(174,85,59,0) 60%); pointer-events: none; }
.footer__brand {
  display: flex; align-items: center; gap: clamp(10px, 1.3vw, 18px);
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
/* tailles = 40 % de la version précédente (-60 %) */
.footer__snd { height: clamp(20px, 3.2vw, 44px); width: auto; }
.footer__gofifo { height: clamp(26px, 4.2vw, 60px); width: auto; }
.footer__x { font-family: var(--f-display); font-weight: 200; font-size: clamp(.9rem, 2vw, 1.8rem); color: var(--on-dark-3); line-height: 1; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 48px; position: relative; }
.footer__cols > div { display: grid; gap: 10px; align-content: start; }
.footer__cols .label { color: var(--on-dark-3); margin-bottom: 8px; }
.footer__cols a, .footer__soon { color: var(--on-dark); font-size: .95rem; transition: color .3s, transform .3s; width: fit-content; max-width: 100%; display: inline-flex; flex-wrap: wrap; gap: 0 8px; align-items: center; line-height: 1.4; }
.footer__cols a:hover { color: var(--hivis); transform: translateX(4px); }
.footer__cols small { color: var(--on-dark-3); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--on-dark-3); position: relative; }
.footer__top { padding-block: 10px; margin-block: -10px; }
.footer__top:hover { color: var(--hivis); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .footer__cols a, .footer__soon { font-size: .88rem; } .footer__bottom { flex-direction: column; } }


/* ================= PAGE 404 ================= */
.nf { position: relative; min-height: 100svh; display: flex; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-dark); }
.nf::before {
  content: ""; position: absolute; z-index: -1; width: 80vw; aspect-ratio: 1; left: 50%; top: 55%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(174,85,59,.32), rgba(174,85,59,0) 60%);
}
.nf__wrap { flex: 1; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(12px, 3vh, 40px)); padding-bottom: clamp(40px, 7vh, 80px); }
.nf__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.nf__top .label { color: var(--hivis-soft); }
.nf__back { display: inline-block; padding-block: 11px; margin-block: -11px; font-size: .85rem; color: var(--on-dark-2); transition: color .3s, transform .3s; }
.nf__back:hover { color: var(--hivis); transform: translateX(-4px); }
.nf__canvas { position: relative; height: clamp(170px, 36vh, 420px); margin-block: clamp(12px, 3vh, 36px); }
.nf__fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: clamp(7rem, 30vh, 22rem); line-height: 1; letter-spacing: -.04em; color: var(--rust); }
.has-dots .nf__fallback { display: none; }
.nf__content { display: grid; justify-items: center; text-align: center; }
.nf__title { font-family: var(--f-display); font-size: clamp(2.2rem, 5.4vw, 4.8rem); font-weight: 650; letter-spacing: -.04em; line-height: .98; }
.nf__title em { font-style: normal; font-weight: 300; color: var(--hivis-soft); }
.nf__lead { margin-top: 18px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.45; color: var(--on-dark-2); }
.nf__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nf__links { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; font-size: .88rem; }
.nf__links a { display: inline-block; padding-block: 11px; color: var(--on-dark-2); transition: color .3s; }
.nf__links a:hover { color: var(--hivis); }
@media (max-width: 600px) { .nf__top { flex-direction: column; align-items: flex-start; } }
