/* ==========================================================================
   Vocalise — sections
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(72px, 9vw, 120px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.hero__title { margin: 24px 0; }
.hero__lead { max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__actions .btn { padding: 14px 18px; font-size: 16px; }
.hero__method { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.hero__method-icon {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--tint); color: var(--blue); transition: background-color .3s, color .3s, scale .4s var(--ease-spring);
}
.hero__method-icon .icon { width: 14px; height: 14px; translate: 1px 0; }
.hero__method:hover .hero__method-icon { background: var(--blue); color: #fff; scale: 1.12; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: 14px; color: var(--slate); }
.hero__proof strong { color: var(--ink); }

.avatars { display: flex; padding-left: 10px; }
.avatars span {
  width: 38px; height: 38px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--cloud);
  display: grid; place-items: center; background: var(--c); color: #fff; font-size: 12px; font-weight: 700;
  transition: translate .45s var(--ease-spring);
}
.avatars span:nth-child(2) { transition-delay: 40ms; }
.avatars span:nth-child(3) { transition-delay: 80ms; }
.avatars span:nth-child(4) { transition-delay: 120ms; }
.avatars:hover span { translate: 0 -6px; }
.stars { display: flex; gap: 2px; margin-bottom: 2px; color: var(--blue); }
.stars .icon { width: 16px; height: 16px; }

.hero__visual { position: relative; padding: 44px 0 52px 28px; }
.hero__blob-a { width: 64%; aspect-ratio: 1; top: -6%; right: -10%; }
.hero__blob-b { width: 56%; aspect-ratio: 1; bottom: -8%; left: -8%; animation-delay: -6s; }

/* ---------- Widget de réservation ---------- */
.booking {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--paper); border-radius: var(--r-product); box-shadow: var(--shadow-card);
}
.booking__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--hairline); }
.booking__avatar { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; }
.booking__avatar .icon { width: 22px; height: 22px; }
.booking__info { min-width: 0; }
.booking__org { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--slate); }
.booking__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.booking__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--slate); }
.booking__meta span { display: inline-flex; align-items: center; gap: 6px; }
.booking__meta .icon { width: 16px; height: 16px; }
.booking__free { margin-left: auto; align-self: flex-start; }
.booking__body { display: grid; grid-template-columns: minmax(0, 1fr) 172px; }

.cal { padding: 18px 20px 20px; }
.cal__label { font-size: 16px; font-weight: 700; }
.cal__month-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 12px; }
.cal__month { min-width: 130px; text-align: center; font-size: 14px; font-weight: 600; text-transform: capitalize; }
.cal__nav {
  width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--tint); color: var(--blue); cursor: pointer;
  transition: background-color .2s, color .2s, scale .3s var(--ease-spring);
}
.cal__nav:hover:not(:disabled) { background: var(--blue); color: #fff; scale: 1.08; }
.cal__nav:disabled { background: transparent; color: var(--mist); cursor: default; }
.cal__nav .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal__dows span { padding-bottom: 6px; font-size: 11px; font-weight: 600; color: var(--slate); text-transform: uppercase; }
.cal__days > span { aspect-ratio: 1; }
.cal__day {
  position: relative; display: grid; place-items: center; width: 100%; max-width: 42px; aspect-ratio: 1; margin: 0 auto; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--mist); font-size: 14px; font-weight: 600;
  animation: day-in .5s var(--ease) backwards; animation-delay: calc(var(--i) * 12ms);
}
@keyframes day-in { from { opacity: 0; scale: .6; } }
.cal__day.is-open {
  background: var(--tint); color: var(--blue); font-weight: 700; cursor: pointer;
  transition: background-color .2s, color .2s, scale .35s var(--ease-spring);
}
.cal__day.is-open:hover { background: #cfe0ff; scale: 1.1; }
.cal__day.is-selected, .cal__day.is-selected:hover { background: var(--blue); color: #fff; }
.cal__day.is-today::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: currentColor;
}
.cal__tz { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 500; color: var(--slate); }
.cal__tz .icon { width: 15px; height: 15px; }

.slots { display: flex; flex-direction: column; min-width: 0; padding: 18px 16px 20px; border-left: 1px solid var(--hairline); }
.slots__date { min-height: 2.7em; margin-bottom: 12px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.slots__date::first-letter { text-transform: uppercase; }
.slots__list { display: flex; flex-direction: column; gap: 8px; }
.slot { display: flex; gap: 6px; animation: slot-in .5s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms); }
@keyframes slot-in { from { opacity: 0; translate: 0 12px; } }
.slot__time {
  flex: 1 1 100%; min-width: 0; height: 42px; border: 1px solid rgba(0,107,255,.4); border-radius: var(--r-btn);
  background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: flex-basis .45s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.slot__time:hover { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.slot__go {
  flex: 0 0 0%; min-width: 0; height: 42px; padding: 0; overflow: hidden; visibility: hidden;
  border: 0; border-radius: var(--r-btn); background: var(--blue); color: #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: flex-basis .45s var(--ease), visibility 0s .45s, background-color .25s;
}
.slot__go:hover { background: var(--blue-deep); }
.slot.is-picked .slot__time { flex-basis: 44%; background: var(--slate); border-color: var(--slate); color: #fff; box-shadow: none; }
.slot.is-picked .slot__go { flex-basis: 56%; visibility: visible; transition: flex-basis .45s var(--ease), visibility 0s, background-color .25s; }

/* Pastilles flottantes */
.float { position: absolute; z-index: 2; pointer-events: none; will-change: transform; }
.float--a { top: -14px; left: 0; }
.float--b { bottom: 0; right: -18px; }
.chip {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; white-space: nowrap;
  border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: bob 6s ease-in-out infinite;
}
.float--b .chip { animation-delay: -2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.chip b { display: block; font-size: 14px; line-height: 1.3; }
.chip small { display: block; font-size: 12px; font-weight: 500; color: var(--slate); }
.chip .eq { height: 26px; padding: 0 6px; }
.chip__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--tint); color: var(--blue); }
.chip__icon--solid { background: var(--blue); color: #fff; }
.chip__icon .icon { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 620px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero__visual { padding: 60px 0 48px; }
  .float--a { top: 0; }
  .booking__head { padding: 16px; }
  .booking__body { grid-template-columns: minmax(0, 1fr); }
  .cal { padding: 16px; }
  .slots { padding: 16px; border-left: 0; border-top: 1px solid var(--hairline); }
  .slots__date { min-height: 0; }
  .slots__list { display: grid; grid-template-columns: 1fr 1fr; }
  .slot.is-picked { grid-column: 1 / -1; }
  .float--a { left: -6px; }
  .float--b { right: -6px; }
  .chip { scale: .9; }
}

/* ---------- Bandeau des styles ---------- */
.styles { padding: clamp(16px, 3vw, 32px) 0 clamp(64px, 9vw, 110px); }
.styles__label {
  margin-bottom: 28px; text-align: center; color: var(--slate);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.marquee { display: flex; overflow: hidden; }
.marquee__track { display: flex; flex: none; align-items: center; width: max-content; will-change: transform; }
.word {
  display: inline-flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); padding-right: clamp(20px, 2.6vw, 36px);
  font-size: clamp(38px, 6vw, 80px); font-weight: 800; line-height: 1.2; letter-spacing: -0.035em;
  color: var(--mist); white-space: nowrap; transition: color .35s;
}
.word:hover { color: var(--ink); }
.word .icon { width: .42em; height: .42em; color: var(--blue); stroke-width: 2; transition: rotate .7s var(--ease-spring), scale .7s var(--ease-spring); }
.word:hover .icon { rotate: 180deg; scale: 1.25; }
/* Contour : trait peint sous le remplissage (évite les chevauchements de la police variable) */
.marquee--outline .word { color: var(--cloud); -webkit-text-stroke: 3px var(--mist); paint-order: stroke fill; }
.marquee--outline .word:hover { color: var(--blue); -webkit-text-stroke-color: var(--blue); }

/* ---------- Manifeste ---------- */
.manifesto { padding-block: clamp(100px, 14vw, 180px); }
.manifesto__text {
  max-width: 1060px; margin: 0 auto; text-align: center; color: var(--hairline);
  font-size: clamp(28px, 4.2vw, 54px); font-weight: 700; line-height: 1.25; letter-spacing: -0.025em;
}
html:not(.js) .manifesto__text { color: var(--ink); }
.mw { transition: color .5s ease; }
.mw.is-lit { color: var(--ink); }
em .mw.is-lit { color: var(--blue); }
.inline-pill {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 1.7em; height: 1em; margin: -.1em .08em 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  scale: 0; rotate: -25deg; transition: scale .7s var(--ease-spring), rotate .7s var(--ease-spring);
}
.inline-pill.is-lit, html:not(.js) .inline-pill { scale: 1; rotate: 0deg; }
.inline-pill--blue { background: var(--blue); }
.inline-pill .icon { width: .52em; height: .52em; stroke-width: 2.2; }
.inline-pill .eq { height: .5em; gap: .08em; }
.inline-pill .eq i { width: .07em; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--hairline); }
.stat { padding: 36px 16px 0; text-align: center; border-left: 1px solid var(--hairline); }
.stat:first-child { border-left: 0; }
.stat__num { font-size: clamp(44px, 5.4vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: .45em; letter-spacing: -0.02em; color: var(--blue); }
.stat__label { margin-top: 12px; font-size: 15px; color: var(--slate); }
@media (max-width: 760px) {
  .stat { padding: 24px 8px 4px; }
  .stat__num { font-size: clamp(30px, 9vw, 44px); }
  .stat__label { font-size: 13px; line-height: 1.4; }
}

/* ---------- Méthode (section épinglée) ---------- */
.method-intro { padding-top: clamp(80px, 11vw, 140px); }
.method-intro .section-head { margin-bottom: 0; }
.method { position: relative; height: 420vh; }
.method__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.method__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}

.step { position: relative; border-bottom: 1px solid var(--hairline); }
.step__btn {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 0;
  border: 0; background: none; text-align: left; cursor: pointer;
  font-size: 18px; font-weight: 500; color: var(--mist); transition: color .4s;
}
.step__btn:hover { color: var(--slate); }
.step__icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--pebble); color: var(--mist);
  transition: background-color .4s, color .4s, rotate .6s var(--ease-spring), scale .6s var(--ease-spring);
}
.step__title { flex: 1; }
.step__num { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step.is-active .step__btn { color: var(--ink); font-size: 20px; font-weight: 600; }
.step.is-active .step__icon { background: var(--blue); color: #fff; rotate: -8deg; scale: 1.06; }
.step.is-active .step__num { color: var(--blue); }
.step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.step__body > div { overflow: hidden; }
.step__body p { padding: 0 0 22px 60px; color: var(--slate); opacity: 0; translate: 0 8px; transition: opacity .4s, translate .6s var(--ease); }
.step.is-active .step__body { grid-template-rows: 1fr; }
.step.is-active .step__body p { opacity: 1; translate: 0 0; transition-delay: .15s; }
.step__bar {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: var(--blue); transform-origin: left; transform: scaleX(0);
}
.step.is-active .step__bar { transform: scaleX(var(--p, 0)); }

.stage { position: relative; justify-self: center; width: min(100%, min(620px, 72vh) * 1.05); aspect-ratio: 1.05; }
.stage .blob { transition: translate 1.2s var(--ease), scale 1.2s var(--ease), background-color 1.2s ease; }
.stage__blob-a { width: 58%; aspect-ratio: 1; top: -6%; right: -8%; }
.stage__blob-b { width: 52%; aspect-ratio: 1; bottom: -8%; left: -8%; animation-delay: -5s; }
/* Les formes changent de coin à chaque étape pour toujours dépasser de la carte */
.stage[data-step="1"] .stage__blob-a { translate: 0 118%; background: var(--cyan); }
.stage[data-step="1"] .stage__blob-b { translate: 10% -112%; background: var(--magenta); }
.stage[data-step="2"] .stage__blob-a { translate: -92% 48%; scale: 1.1; }
.stage[data-step="2"] .stage__blob-b { translate: 150% -42%; scale: .9; }
.stage[data-step="3"] .stage__blob-a { translate: -96% 108%; background: var(--cyan); }
.stage[data-step="3"] .stage__blob-b { translate: 132% -104%; background: var(--magenta); }
.stage__card {
  position: absolute; inset: 5% 4%; z-index: 1; overflow: hidden;
  background: var(--paper); border-radius: var(--r-product); box-shadow: var(--shadow-card);
}

/* Panneaux produits */
.panel {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(18px, 3vw, 32px);
  opacity: 0; visibility: hidden; translate: 0 28px; scale: .97;
  transition: opacity .5s var(--ease), translate .8s var(--ease), scale .8s var(--ease), visibility 0s .8s;
}
.panel.is-active {
  opacity: 1; visibility: visible; translate: 0 0; scale: 1;
  transition: opacity .6s var(--ease) .1s, translate .8s var(--ease) .1s, scale .8s var(--ease) .1s, visibility 0s;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.panel__ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--tint); color: var(--blue); }
.panel__ico .icon { width: 18px; height: 18px; }
.panel__meta {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; white-space: nowrap;
  border-radius: var(--r-pill); background: var(--pebble); color: var(--slate); font-size: 12px; font-weight: 600;
}
.live-dot { --ping: rgba(0,107,255,.45); width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: ping 1.6s var(--ease) infinite; }
.panel > :last-child { margin-bottom: auto; } /* centre le contenu des panneaux courts */
.panel__big { margin-top: auto; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.panel__big span { display: block; font-size: 13px; font-weight: 600; color: var(--slate); }
.panel__big b { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.panel__big small { font-size: .42em; font-weight: 700; letter-spacing: 0; color: var(--blue); }

/* 1 · Souffle */
.breath { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px 0; }
.breath__ring { position: relative; height: min(100%, 210px); aspect-ratio: 1; display: grid; place-items: center; }
.breath__ring::before, .breath__ring::after { content: ""; position: absolute; border-radius: 50%; }
.breath__ring::before { inset: 0; border: 1.5px solid var(--hairline); }
.breath__ring::after { inset: -9%; border: 1.5px dashed var(--hairline); animation: spin 40s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.breath__core { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.breath__core::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--tint); animation: breathe 8s ease-in-out infinite; }
.breath__core span { position: relative; grid-area: 1 / 1; font-size: 17px; font-weight: 700; color: var(--blue); }
.breath__in { animation: label-in 8s linear infinite; }
.breath__out { animation: label-out 8s linear infinite; }
@keyframes breathe {
  0%, 100% { scale: .6; box-shadow: 0 0 0 0 rgba(0,107,255,.14); }
  50% { scale: 1; box-shadow: 0 0 0 22px rgba(0,107,255,0); }
}
@keyframes label-in { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes label-out { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding-top: 12px; border-top: 1px solid var(--hairline); }
.chart i {
  flex: 1; height: calc(var(--v) * 100%); border-radius: 6px 6px 3px 3px; background: var(--tint);
  transform-origin: bottom; scale: 1 0; transition: scale .9s var(--ease);
}
.chart i:last-child { background: var(--blue); }
.panel.is-active .chart i { scale: 1 1; transition-delay: calc(var(--k) * 80ms + .3s); }
.chart-legend { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--slate); }
.chart-legend b { color: var(--ink); }

/* 2 · Justesse */
.tuner { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tuner svg { width: min(100%, 280px); overflow: visible; }
.tuner__arc { fill: none; stroke: var(--hairline); stroke-width: 10; stroke-dasharray: 1.6 6.4; }
.tuner__zone { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; }
.tuner__sign { fill: var(--slate); font: 700 14px var(--font); }
.tuner__needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-origin: 100px 100px; rotate: -40deg; }
.panel.is-active .tuner__needle { animation: needle 2.2s var(--ease) .3s forwards, jitter 1.4s ease-in-out 2.5s infinite alternate; }
@keyframes needle { 0% { rotate: -40deg; } 35% { rotate: 24deg; } 60% { rotate: -10deg; } 80% { rotate: 5deg; } 100% { rotate: 1deg; } }
@keyframes jitter { from { rotate: 1deg; } to { rotate: -2.5deg; } }
.tuner__hub { fill: var(--ink); }
.tuner__note { margin-top: 4px; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.tuner__note sub { font-size: .45em; vertical-align: baseline; color: var(--blue); }
.tuner__hz { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--slate); }
.tuner__hz b { color: var(--blue); }
.pitch { width: 100%; height: 64px; margin-top: 12px; overflow: visible; }
.pitch__target { stroke: var(--hairline); stroke-width: 2; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.pitch__trace { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.panel.is-active .pitch__trace { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .4s; }

/* 3 · Technique */
.regs { display: grid; gap: 14px; margin-top: auto; }
.panel__big + .regs { margin-top: 0; }
.reg__top { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.reg__top b { color: var(--blue); font-variant-numeric: tabular-nums; }
.reg__bar { height: 10px; overflow: hidden; border-radius: var(--r-pill); background: var(--pebble); }
.reg__bar i {
  display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: var(--ink);
  transform-origin: left; scale: 0 1; transition: scale 1.1s var(--ease);
}
.reg:nth-child(2) .reg__bar i { background: var(--blue); }
.reg:nth-child(3) .reg__bar i { background: var(--cobalt); }
.panel.is-active .reg__bar i { scale: 1 1; transition-delay: calc(var(--k) * 120ms + .25s); }
.mini-range { margin-top: 20px; }
.mini-range__track { position: relative; height: 10px; border-radius: var(--r-pill); background: var(--pebble); }
.mini-range__track i {
  position: absolute; top: 0; bottom: 0; left: 32%; right: 36%; border-radius: inherit; background: var(--blue);
  transition: left 1.2s var(--ease), right 1.2s var(--ease);
}
.mini-range__track i::before, .mini-range__track i::after {
  content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--blue);
}
.mini-range__track i::before { left: -8px; }
.mini-range__track i::after { right: -8px; }
.panel.is-active .mini-range__track i { left: 16%; right: 18%; transition-delay: .5s; }
.mini-range__labels { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 calc(18% - 12px) 0 calc(16% - 12px); font-size: 12px; font-weight: 600; color: var(--slate); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pills span {
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--cobalt);
  font-size: 13px; font-weight: 600; opacity: 0; scale: .6; transition: opacity .3s, scale .5s var(--ease-spring);
}
.panel.is-active .pills span { opacity: 1; scale: 1; transition-delay: calc(var(--k) * 70ms + .6s); }

/* 4 · Scène */
.player { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.player__cover { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; }
.player__cover .icon { width: 24px; height: 24px; }
.player__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.player__sub { font-size: 13px; color: var(--slate); }
.player__play {
  --ping: rgba(0,107,255,.4); width: 46px; height: 46px; flex: none; margin-left: auto;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff;
  animation: ping 2s var(--ease) infinite;
}
.player__play .icon { width: 18px; height: 18px; translate: 1px 0; }
.wave { display: flex; align-items: center; gap: 3px; height: 76px; margin: 22px 0 12px; }
.wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px; background: var(--hairline); }
.wave i:nth-child(-n+20) { background: var(--blue); }
.panel.is-active .wave i { animation: wave 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes wave { from { scale: 1 .4; } to { scale: 1 1; } }
.player__time { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.player__bar { flex: 1; height: 4px; overflow: hidden; border-radius: var(--r-pill); background: var(--pebble); }
.player__bar i { display: block; width: 44%; height: 100%; border-radius: inherit; background: var(--blue); }
.panel.is-active .player__bar i { animation: grow 10s linear infinite; }
@keyframes grow { from { width: 30%; } to { width: 80%; } }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; opacity: 0; translate: -12px 0; transition: opacity .4s, translate .6s var(--ease); }
.checks li > span { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.checks .icon { width: 13px; height: 13px; stroke-width: 3; }
.panel.is-active .checks li { opacity: 1; translate: 0 0; transition-delay: calc(var(--k) * 120ms + .5s); }

@media (max-width: 1100px) {
  .wave { height: 56px; margin: 16px 0 8px; }
  .checks { gap: 6px; margin-top: 14px; }
}
@media (max-width: 900px) {
  .method { height: 380vh; }
  .method__sticky { align-items: flex-start; padding-top: 16px; }
  .method__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .stage { order: -1; width: 100%; max-width: 520px; height: max(240px, 40svh); aspect-ratio: auto; }
  .step__btn { gap: 12px; padding: 10px 0; font-size: 16px; }
  .step.is-active .step__btn { font-size: 17px; }
  .step__icon { width: 36px; height: 36px; border-radius: 10px; }
  .step__icon .icon { width: 18px; height: 18px; }
  .step__body p { padding: 0 0 14px 48px; font-size: 14px; line-height: 1.5; }
  .pitch, .mini-range, .checks, .chart-legend, .panel__big { display: none; }
  .tuner svg { width: min(100%, 160px); }
  .tuner__note { font-size: 34px; }
  .chart { height: 60px; }
  .regs { gap: 10px; }
  .pills { margin-top: 14px; }
}

/* ---------- Tessiture (clavier jouable) ---------- */
.piano-card {
  position: relative; padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card);
}
.piano-card__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.note-display { display: flex; align-items: baseline; gap: 16px; }
.note-display__name { min-width: 2.6em; font-size: clamp(48px, 6vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.note-display__name.pop { animation: pop .5s var(--ease-spring); }
@keyframes pop { from { scale: .7; color: var(--blue); } }
.note-display__hz { font-size: 15px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.voice-match { display: flex; flex-wrap: wrap; gap: 8px; }
.voice-match span {
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--tint); color: var(--cobalt);
  font-size: 13px; font-weight: 700; animation: tag-in .45s var(--ease-spring) backwards; animation-delay: calc(var(--k) * 40ms);
}
@keyframes tag-in { from { opacity: 0; scale: .6; } }
.piano-scroll { overflow-x: auto; margin: 0 -8px; padding: 14px 8px 8px; scrollbar-width: thin; }
.piano-inner { position: relative; min-width: 860px; }
.piano__keys { position: relative; display: flex; height: clamp(150px, 16vw, 200px); user-select: none; -webkit-user-select: none; touch-action: none; }
.key { padding: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.key--white {
  position: relative; flex: 1; border: 1px solid var(--hairline); border-left-width: 0; border-radius: 0 0 8px 8px;
  background: #fff; box-shadow: inset 0 -6px 0 var(--pebble); transition: background-color .25s, box-shadow .25s;
}
.key--white:first-child { border-left-width: 1px; }
.key--white:hover { background: var(--cloud); }
.key--white.is-down { background: var(--tint); box-shadow: inset 0 -2px 0 var(--blue); }
.key--black {
  position: absolute; top: 0; z-index: 2; width: calc(100% / var(--whites, 27) * .6); height: 60%;
  translate: -50% 0; border-radius: 0 0 6px 6px; background: var(--ink);
  box-shadow: inset 0 -5px 0 rgba(255,255,255,.12); transition: background-color .25s;
}
.key--black:hover { background: #164a78; }
.key--black.is-down { background: var(--blue); }
.key__label { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 11px; font-weight: 700; color: var(--mist); pointer-events: none; }
.key.is-down .key__label { color: var(--blue); }

.ranges { position: relative; display: grid; gap: 8px; margin-top: 20px; }
.range { position: relative; height: 30px; border-radius: var(--r-pill); background: var(--pebble); }
.range__fill {
  position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 12px; overflow: hidden; white-space: nowrap; border-radius: inherit;
  background: var(--hairline); color: var(--slate); font-size: 12px; font-weight: 700;
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 1.1s var(--ease) calc(var(--k) * 90ms + .3s), background-color .3s, color .3s;
}
.is-in .range__fill, html:not(.js) .range__fill { clip-path: inset(0 0 0 0 round 999px); }
.range__fill small { font-size: 11px; font-weight: 600; opacity: .85; }
.range.is-match .range__fill { background: var(--blue); color: #fff; transition-delay: 0s; }
.ranges__marker {
  position: absolute; top: -12px; bottom: -6px; z-index: 2; width: 2px; margin-left: -1px;
  border-radius: 2px; background: var(--ink); opacity: 0; transition: left .35s var(--ease), opacity .3s;
}
.ranges__marker::before { content: ""; position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.ranges__marker.is-on { opacity: 1; }
@media (max-width: 700px) { .piano-inner { min-width: 720px; } }

/* ---------- Pour qui (défilement horizontal épinglé) ---------- */
.audiences { position: relative; }
.audiences.is-pinned .audiences__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.audiences__track {
  display: flex; align-items: stretch; gap: 24px; width: max-content;
  padding: 24px max(var(--gutter), (100vw - var(--max)) / 2);
  will-change: transform;
}
.aud-intro { flex: 0 0 min(440px, 82vw); display: flex; flex-direction: column; justify-content: center; padding-right: clamp(0px, 3vw, 40px); }
.aud-intro .badge { align-self: flex-start; }
.aud-intro .h2 { margin: 18px 0 20px; }
.aud-card {
  position: relative; isolation: isolate; overflow: hidden; flex: 0 0 min(380px, 80vw);
  min-height: min(500px, 64vh); display: flex; flex-direction: column; padding: 32px;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-link);
  transition: opacity .8s var(--ease), translate .6s var(--ease), box-shadow .6s var(--ease);
}
.aud-card:hover { translate: 0 -10px; box-shadow: var(--shadow-lift); }
.aud-card .blob { z-index: -1; width: 240px; aspect-ratio: 1; top: -90px; right: -90px; opacity: 0; scale: .5; transition: opacity .6s, scale .9s var(--ease); }
.aud-card:hover .blob { opacity: .35; scale: 1; }
.aud-card__num { font-size: 14px; font-weight: 700; color: var(--mist); font-variant-numeric: tabular-nums; }
.aud-card__icon {
  width: 68px; height: 68px; margin: auto 0 28px; display: grid; place-items: center;
  border-radius: 20px; background: var(--tint); color: var(--blue);
  transition: rotate .6s var(--ease-spring), scale .6s var(--ease-spring), background-color .4s, color .4s;
}
.aud-card__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.aud-card:hover .aud-card__icon { rotate: -10deg; scale: 1.1; background: var(--blue); color: #fff; }
.aud-card h3 { font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.aud-card p { margin-top: 12px; color: var(--slate); }
.aud-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { padding: 6px 12px; border-radius: var(--r-pill); background: var(--pebble); color: var(--ink); font-size: 13px; font-weight: 600; }
.aud-progress { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: 13px; font-weight: 700; color: var(--slate); font-variant-numeric: tabular-nums; }
.audiences__count { color: var(--ink); }
.aud-progress__bar { flex: 0 1 240px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--hairline); }
.audiences__fill { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }

/* Sans épinglage (mobile, mouvement réduit) : grille qui s'enroule */
.audiences:not(.is-pinned) { padding-block: clamp(80px, 11vw, 140px); }
.audiences:not(.is-pinned) .audiences__track { width: auto; max-width: var(--max); margin-inline: auto; flex-wrap: wrap; padding: 0 var(--gutter); }
.audiences:not(.is-pinned) .aud-intro { flex: 1 1 100%; padding: 0 0 16px; }
.audiences:not(.is-pinned) .aud-card { flex: 1 1 300px; min-height: 360px; }
.audiences:not(.is-pinned) .aud-progress { display: none; }

/* ---------- Tarifs ---------- */
.toggle {
  position: relative; display: inline-flex; margin-top: 32px; padding: 4px;
  border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-link);
}
.toggle button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border: 0; border-radius: var(--r-pill); background: none; color: var(--slate);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: color .35s;
}
.toggle button .icon { width: 17px; height: 17px; }
.toggle button[aria-pressed="true"] { color: #fff; }
.toggle__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: var(--r-pill);
  background: var(--blue); box-shadow: var(--shadow-btn);
  transition: translate .55s var(--ease-spring), width .45s var(--ease);
}

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan {
  --lift: -10px;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 32px;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-link);
  transition: opacity .9s var(--ease) var(--d, 0ms), translate 1s var(--ease) var(--d, 0ms), scale 1s var(--ease) var(--d, 0ms),
              transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.plan::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0,107,255,.07), transparent 60%);
}
.plan:hover::after { opacity: 1; }
.plan--featured { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow-card); }
.plan--featured::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.1), transparent 60%); }
.plan__badge { position: absolute; top: 28px; right: 28px; }
.plan__name { font-size: 22px; font-weight: 700; }
.plan__desc { min-height: 3.2em; margin-top: 8px; font-size: 15px; color: var(--slate); }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-top: 28px; }
.plan__amount { font-size: 60px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan__amount.bump { animation: pop .5s var(--ease-spring); }
.plan__currency { margin-right: 6px; font-size: 28px; font-weight: 700; }
.plan__unit { font-size: 15px; font-weight: 600; color: var(--slate); }
.plan__note { min-height: 1.5em; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--slate); }
.plan--featured .plan__desc, .plan--featured .plan__note, .plan--featured .plan__unit { color: var(--mist); }
.plan ul { display: grid; gap: 14px; margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.plan--featured ul { border-top-color: rgba(255,255,255,.14); }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; }
.plan li .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); stroke-width: 2.4; }
.plan--featured li .icon { color: var(--tint); }
.plan .btn { margin-top: auto; }
.pricing__foot { margin-top: 32px; text-align: center; font-size: 14px; color: var(--slate); }
@media (max-width: 960px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .plan__desc { min-height: 0; }
}

/* ---------- Avis ---------- */
.reviews .section-head { margin-bottom: clamp(24px, 3vw, 32px); }
.reviews .marquee { padding: 24px 0 40px; margin-bottom: -32px; }
.reviews .marquee__track { align-items: stretch; }
.review {
  flex: none; width: 380px; margin-right: 20px; padding: 28px; white-space: normal;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-link);
  transition: translate .5s var(--ease), rotate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.review:hover { translate: 0 -6px; rotate: -1deg; border-color: var(--blue); box-shadow: var(--shadow-lift); }
.review__stars { color: var(--blue); font-size: 16px; letter-spacing: 2px; }
.review { display: flex; flex-direction: column; }
.review blockquote { flex: 1; margin: 14px 0 22px; font-size: 16px; line-height: 1.6; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: 13px; font-weight: 700; }
.review__who b { display: block; font-size: 15px; line-height: 1.3; }
.review__who small { display: block; font-size: 13px; color: var(--slate); }
@media (max-width: 560px) { .review { width: 300px; padding: 22px; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: 120px; }
.faq__aside .h2 { margin: 18px 0 20px; font-size: clamp(36px, 4vw, 50px); }
.faq__aside .lead { margin-bottom: 20px; }
.qa { border-bottom: 1px solid var(--hairline); }
.qa:first-child { border-top: 1px solid var(--hairline); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  border: 0; background: none; text-align: left; cursor: pointer;
  font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ink); transition: color .25s;
}
.qa__q:hover { color: var(--blue); }
.qa__icon {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--pebble); color: var(--ink); transition: rotate .5s var(--ease-spring), background-color .3s, color .3s;
}
.qa__q:hover .qa__icon { background: var(--tint); color: var(--blue); }
.qa.is-open .qa__icon { rotate: 135deg; background: var(--blue); color: #fff; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { max-width: 60ch; padding-bottom: 24px; color: var(--slate); opacity: 0; translate: 0 -6px; transition: opacity .3s, translate .5s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; translate: 0 0; transition-delay: .1s; }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
  .qa__q { font-size: 17px; }
}

/* ---------- Appel à l'action ---------- */
.cta { padding-bottom: clamp(72px, 10vw, 120px); }
.cta__box {
  position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(64px, 9vw, 120px) clamp(24px, 6vw, 80px) clamp(96px, 12vw, 150px);
  border-radius: var(--r-card); background: var(--ink);
}
.cta__blob-a { z-index: -1; width: 44%; aspect-ratio: 1; top: -30%; left: -12%; opacity: .45; }
.cta__blob-b { z-index: -1; width: 40%; aspect-ratio: 1; bottom: -34%; right: -10%; opacity: .45; animation-delay: -7s; }
.cta__eq { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; height: 46%; display: flex; align-items: flex-end; gap: 5px; padding: 0 6px; opacity: .5; }
.cta__eq i { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: var(--blue); transform-origin: bottom; transform: scaleY(.2); }
.cta__title { max-width: 900px; margin: 22px auto 0; font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.cta__lead { max-width: 560px; margin: 22px auto 0; font-size: 18px; color: var(--mist); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Pied de page ---------- */
.footer { padding: 72px 0 32px; overflow: hidden; border-top: 1px solid var(--hairline); background: var(--cloud); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand p { max-width: 320px; margin: 18px 0 24px; font-size: 15px; color: var(--slate); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: translate .45s var(--ease-spring), background-color .3s, color .3s, box-shadow .3s;
}
.socials a:hover { translate: 0 -4px; background: var(--blue); color: #fff; box-shadow: var(--shadow-btn); }
.footer h4 { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.footer ul { display: grid; gap: 12px; }
.footer ul .link { font-size: 14px; font-weight: 500; }
.footer__contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--blue); }

.wordmark {
  display: flex; justify-content: center; margin: clamp(48px, 7vw, 80px) 0 20px;
  font-size: clamp(72px, 20vw, 280px); font-weight: 800; line-height: .9; letter-spacing: -0.06em;
  color: var(--cloud); -webkit-text-stroke: 3px var(--hairline); paint-order: stroke fill;
  user-select: none; -webkit-user-select: none;
}
.wordmark span { display: inline-block; transition: color .4s, -webkit-text-stroke-color .4s, translate .6s var(--ease-spring); }
:where(.js) .wordmark:not(.is-in) span { opacity: 0; }
.wordmark.is-in span { animation: letter-in 1s var(--ease-spring) backwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes letter-in { from { opacity: 0; translate: 0 45%; } }
.wordmark span:has(+ span:hover), .wordmark span:hover + span { -webkit-text-stroke-color: var(--mist); translate: 0 -6%; }
.wordmark span:hover { color: var(--ink); -webkit-text-stroke-color: var(--ink); translate: 0 -14%; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--slate);
}
.footer__bottom .link { font-weight: 500; color: var(--slate); }
@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Espace élèves : réserver et payer ---------- */
.pay-wrap { position: relative; }
.pay__blob-a { width: 34%; aspect-ratio: 1; top: -10%; left: -6%; opacity: .45; }
.pay__blob-b { width: 30%; aspect-ratio: 1; bottom: -12%; right: -5%; opacity: .45; animation-delay: -5s; }
.pay-card {
  position: relative; z-index: 1; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card);
}

/* Étapes */
.pay-steps { display: flex; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--hairline); }
.pay-steps li { display: flex; flex: 1; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mist); transition: color .4s; }
.pay-steps li::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--hairline); transition: background-color .5s; }
.pay-steps li:last-child { flex: 0 0 auto; }
.pay-steps li:last-child::after { display: none; }
.pay-steps li > span {
  width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--pebble); color: var(--slate); font-size: 13px; font-weight: 700;
  transition: background-color .4s, color .4s, scale .5s var(--ease-spring);
}
.pay-steps li.is-done, .pay-steps li.is-active { color: var(--ink); }
.pay-steps li.is-done > span { background: var(--tint); color: var(--blue); }
.pay-steps li.is-done::after { background: var(--blue); }
.pay-steps li.is-active > span { background: var(--blue); color: #fff; scale: 1.1; }

.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); }
.pay-col { min-width: 0; padding: 24px; border-left: 1px solid var(--hairline); }
.pay-col:first-child { border-left: 0; }
.pay-col__title { font-size: 16px; font-weight: 700; }
.pay-col__sub { margin: 2px 0 6px; font-size: 13px; color: var(--slate); }

/* Formules */
.choice { position: relative; display: block; margin-top: 10px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper);
  transition: border-color .25s, box-shadow .25s, translate .4s var(--ease-spring);
}
.choice:hover .choice__box { translate: 0 -2px; box-shadow: var(--shadow-link); }
.choice input:checked + .choice__box { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), var(--shadow-link); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--blue); outline-offset: 3px; }
.choice__icon {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px;
  background: var(--pebble); color: var(--slate); transition: background-color .3s, color .3s, rotate .5s var(--ease-spring);
}
.choice__icon .icon { width: 18px; height: 18px; }
.choice input:checked + .choice__box .choice__icon { background: var(--blue); color: #fff; rotate: -8deg; }
.choice__text { min-width: 0; }
.choice__text b { display: block; font-size: 15px; line-height: 1.3; }
.choice__text small { display: block; font-size: 12px; color: var(--slate); }
.choice__price { margin-left: auto; font-size: 18px; font-weight: 800; white-space: nowrap; }

/* Champs */
.field { display: grid; gap: 6px; margin-top: 14px; }
.field > span { font-size: 13px; font-weight: 600; }
.field input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--hairline); border-radius: var(--r-btn);
  background: var(--pebble); color: var(--ink); font: 500 15px var(--font);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--mist); }
.field input:hover { border-color: var(--mist); }
.field input:focus { outline: none; border-color: var(--blue); background: var(--paper); box-shadow: 0 0 0 4px rgba(0,107,255,.12); }

/* Créneau */
.pay .cal { padding: 0; }
.pay .cal__month-nav { margin: 10px 0; }
.pay-slots__date { margin: 16px 0 10px; font-size: 13px; font-weight: 700; }
.pay-slots__date::first-letter { text-transform: uppercase; }
.pay-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pay-slot {
  height: 40px; border: 1px solid rgba(0,107,255,.4); border-radius: var(--r-btn); background: var(--paper);
  color: var(--blue); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, scale .35s var(--ease-spring);
  animation: slot-in .45s var(--ease) backwards; animation-delay: calc(var(--i) * 50ms);
}
.pay-slot:hover { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pay-slot[aria-checked="true"] { border-color: var(--blue); background: var(--blue); color: #fff; scale: 1.04; }

/* Récapitulatif */
.summary { display: grid; gap: 10px; margin: 12px 0 0; padding: 16px; border-radius: 12px; background: var(--pebble); }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.summary dt { color: var(--slate); }
.summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary dd::first-letter { text-transform: uppercase; }
.summary__total { padding-top: 10px; border-top: 1px solid var(--hairline); }
.summary__total dt { color: var(--ink); font-weight: 700; }
.summary__total dd { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.summary__total [data-sum="price"] { display: inline-block; font-variant-numeric: tabular-nums; }
.summary__total .bump { animation: pop .5s var(--ease-spring); }

/* Conditions d'annulation et de report */
.policy-line { margin: 18px 0 12px; }
.policy-line__bar { display: flex; gap: 3px; height: 8px; overflow: hidden; border-radius: var(--r-pill); background: var(--pebble); }
.policy-line__bar i { transform-origin: left; scale: 0 1; }
.policy-line__ok { width: 72%; border-radius: var(--r-pill) 0 0 var(--r-pill); background: var(--blue); transition: scale 1.2s var(--ease) .3s; }
.policy-line__late { flex: 1; border-radius: 0 var(--r-pill) var(--r-pill) 0; background: var(--ink); transition: scale .8s var(--ease) 1.4s; }
.is-in .policy-line__bar i, html:not(.js) .policy-line__bar i { scale: 1 1; }
.policy-line__labels { position: relative; height: 16px; margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--slate); }
.policy-line__labels span { position: absolute; top: 0; white-space: nowrap; }
.policy-line__labels span:nth-child(1) { left: 0; }
.policy-line__labels span:nth-child(2) { left: 72%; translate: -50% 0; color: var(--ink); }
.policy-line__labels span:nth-child(3) { right: 0; }
.policy { display: grid; gap: 10px; margin-bottom: 16px; }
.policy li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--slate); }
.policy b { color: var(--ink); }
.policy__icon { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 8px; }
.policy__icon .icon { width: 15px; height: 15px; }
.policy__icon--ok { background: var(--tint); color: var(--blue); }
.policy__icon--late { background: var(--ink); color: #fff; }

.check { position: relative; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  width: 20px; height: 20px; flex: none; display: grid; place-items: center;
  border: 1.5px solid var(--mist); border-radius: 6px; background: var(--paper); color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, scale .35s var(--ease-spring);
}
.check__box .icon { width: 13px; height: 13px; stroke-width: 3; }
.check:hover .check__box { border-color: var(--blue); }
.check input:checked + .check__box { border-color: var(--blue); background: var(--blue); color: #fff; scale: 1.1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }

.pay-btn:disabled, .pay-btn:disabled:hover { background: var(--hairline); color: var(--slate); box-shadow: none; cursor: not-allowed; }
.pay-btn:disabled::before { display: none; }
.pay-btn:disabled:active { scale: 1; }
.pay-hint { min-height: 1.45em; margin-top: 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--slate); }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--slate); }
.pay-secure .icon { width: 15px; height: 15px; color: var(--blue); }
.pay-foot { margin-top: 32px; text-align: center; font-size: 14px; color: var(--slate); }

@media (max-width: 1040px) {
  .pay-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pay-col--summary { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (max-width: 700px) {
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-col { padding: 20px; border-left: 0; border-top: 1px solid var(--hairline); }
  .pay-col:first-child { border-top: 0; }
  .pay-steps { gap: 8px; padding: 14px 20px; }
  .pay-steps li { gap: 8px; font-size: 0; }
  .pay-steps li > span { font-size: 13px; }
  .pay-steps li.is-active { font-size: 13px; }
}

/* ---------- Page « Espace élèves » ---------- */
.page-eleves .nav__cta { margin-left: auto; }
.nav__back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.nav__back::after { left: 26px; }
.nav__back .icon { width: 18px; height: 18px; rotate: 180deg; transition: translate .4s var(--ease); }
.nav__back:hover .icon { translate: -4px 0; }
.pay--page { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); }
.footer--simple { padding: 0 0 32px; border-top: 0; }

/* Boutons de réservation pleine largeur sur mobile */
@media (max-width: 560px) {
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .hero__actions .btn { padding: 12px 14px; font-size: 15px; }
}

/* ---------- Espace élèves : onglets, agenda en direct, packs ---------- */
.offer-tabs {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 4px;
  border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), var(--shadow-link);
}
.offer-tabs button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  border: 0; border-radius: var(--r-pill); background: none; color: var(--slate);
  font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .35s;
}
.offer-tabs button .icon { width: 17px; height: 17px; }
.offer-tabs button[aria-selected="true"] { color: #fff; }
.offer-tabs__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: var(--r-pill);
  background: var(--blue); box-shadow: var(--shadow-btn); transition: translate .55s var(--ease-spring), width .45s var(--ease);
}
.tab-panel.is-active { animation: panel-in .6s var(--ease) backwards; }
@keyframes panel-in { from { opacity: 0; translate: 0 16px; } }

.cal-live {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-card);
}
.cal-live__side { padding: 24px; border-right: 1px solid var(--hairline); }
.cal-live__main { min-width: 0; padding: 8px; }
.cal-embed { min-height: 520px; overflow: hidden; border-radius: var(--r-product); background: var(--paper); }
/* Dans la colonne étroite du hero, Cal.com empile calendrier et créneaux (~1300 px) : on garde la carte compacte et on fait défiler l'intérieur */
.cal-embed--hero { min-height: 440px; max-height: 540px; overflow-y: auto; border-radius: 0; }
.cal-embed__help { margin: 10px 0 12px; text-align: center; font-size: 13px; color: var(--slate); }

.pack-success {
  display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto 24px; padding: 14px 18px;
  border-radius: 12px; background: var(--tint); color: var(--cobalt); font-weight: 600;
}
.pack-success .icon { color: var(--blue); stroke-width: 2.4; }
.pack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 880px; margin: 0 auto; }
.pack-book {
  max-width: 880px; margin: 32px auto 0; padding: 28px;
  border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow-link);
}
.pack-book__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.pack-book__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--blue); }
.pack-book h3 { font-size: 20px; font-weight: 700; }
.pack-book p { margin-top: 4px; font-size: 15px; color: var(--slate); }

@media (max-width: 900px) {
  .cal-live { grid-template-columns: minmax(0, 1fr); }
  .cal-live__side { border-right: 0; border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 760px) { .pack-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .offer-tabs button { padding: 10px 14px; font-size: 14px; } }
