/* Grammaire d'origami en CSS : panneaux, corde, mot-marque, tampons, cris,
   plaques, bandes, cartes, profil des points en jeu, téléphone, FAQ, liste
   d'attente. */

/* ---------- Panneaux (SignpostBorder) ---------- */

/* Panneau principal : plein balise, pointe à droite. Le contour de focus
   serait rogné par la découpe : il passe à l'intérieur. */
.btn {
  --tip: var(--point);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.6em calc(1.1em + var(--tip)) 0.6em 1.1em;
  border: 0;
  background: var(--signal);
  color: var(--on-signal);
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--tip)) 0, 100% 50%, calc(100% - var(--tip)) 100%, 0 100%);
  transition: transform var(--duration-fast) ease;
}

.btn:active {
  transform: translateY(2px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--on-signal);
}

.btn:disabled {
  cursor: progress;
}

.btn--small {
  --tip: var(--point-small);
  min-height: 44px;
  font-size: 0.9375rem;
}

/* Panneau secondaire, au trait : un fond plein découpé, puis le même évidé de
   2 px (le contour d'un clip-path ne se trace pas). */
.sign-outline {
  --tip: var(--point-small);
  --sign: polygon(var(--tip) 0, 100% 0, 100% 100%, var(--tip) 100%, 0 50%);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
}

.sign-outline::before,
.sign-outline::after {
  content: '';
  position: absolute;
  z-index: -1;
  clip-path: var(--sign);
}

.sign-outline::before {
  inset: 0;
  background: currentColor;
}

.sign-outline::after {
  inset: var(--stroke-outline);
  background: var(--sky);
}

/* ---------- Corde (drawRope) ---------- */

.rope,
.rope__shade,
.rope__sheen {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.rope {
  stroke: var(--rope);
  stroke-width: 6;
}

.rope__shade {
  stroke: var(--rope-shade);
  stroke-width: 6;
  stroke-dasharray: 1.9 3.8;
}

.rope__sheen {
  stroke: var(--rope-sheen);
  stroke-width: 2.5;
  stroke-dasharray: 1.4 4.3;
  stroke-dashoffset: -2.9;
}

/* ---------- Mot-marque (AppWordmark) : lettres en escalier, corde dessous ---------- */

.wordmark {
  position: relative;
  display: inline-block;
  padding: 0.42em 0 0.2em;
  font-family: var(--font-poster);
  font-weight: 900;
  font-size: clamp(4.4rem, 18vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordmark__letters {
  display: flex;
  align-items: flex-end;
  padding-right: 0.32em;
}

.wordmark__letters > span {
  display: block;
  transform: translateY(calc(var(--i) * -1 * var(--wordmark-step)));
}

/* La corde passe sous les pieds des lettres, avec un peu de mou. */
/* Largeur posée : un SVG positionné garde sinon le ratio de son viewBox. */
.wordmark__rope {
  position: absolute;
  left: -0.04em;
  bottom: 0.12em;
  width: calc(100% - 0.16em);
  max-width: none;
  height: calc(5 * var(--wordmark-step) + 0.1em);
  overflow: visible;
}

/* Le mousqueton pend au bout de la corde. */
.wordmark__carabiner {
  position: absolute;
  right: 0.07em;
  bottom: 0.27em;
  width: 0.34em;
  height: 0.34em;
  transform: rotate(var(--tilt-carabiner));
}

/* ---------- Tampons et cris (AppStamp, _Shout) ---------- */

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: var(--stroke-badge) solid currentColor;
  border-radius: var(--radius-plate);
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(var(--tilt-verdict));
}

.stamp svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.stamp--ok {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--on-signal);
}

.stamp--error {
  background: var(--error);
  border-color: var(--error);
  color: var(--on-error);
}

.shout {
  margin: 0;
  font-family: var(--font-poster);
  font-weight: 900;
  font-size: 58px;
  line-height: 0.95;
  text-transform: uppercase;
}

.shout--glow {
  color: var(--glow);
}

/* ---------- La voie : corde, plaques, bandes, carte à poser ---------- */

/* Plaque d'une carte posée : nom à gauche, cote à droite. */
.s-plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 7px 16px;
  border-radius: var(--radius-plate);
  background: var(--plate);
  color: var(--on-plate);
}

.s-name {
  min-width: 0;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0;
}

.s-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex: none;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 27px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.s-value small {
  font-size: 18px;
}

.s-value b {
  font-weight: 800;
}

/* Le repère : sa mention en italique au-dessus de la cote. */
.s-plate--anchor .s-value {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  column-gap: 4px;
}

.s-plate--anchor .s-value i {
  grid-column: 1 / -1;
  justify-self: end;
  margin-bottom: 2px;
  font-family: var(--font-map);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
}

.s-plate--anchor .s-value svg {
  width: 16px;
  height: 16px;
  align-self: center;
}

/* Vraie place d'une carte ratée : liseré d'erreur. */
.s-plate--missed {
  box-shadow: inset 0 0 0 var(--stroke-panel) var(--error);
}

/* Bande libre : pointillé, « + » et ses voisines, en italique de carte. */
.s-band {
  position: relative;
  display: block;
  height: 38px;
  margin-block: 5px;
  padding: 0 12px 0 38px;
  border: var(--stroke-hairline) dashed var(--slot);
  border-radius: var(--radius-plate);
  color: var(--text-secondary);
  font-family: var(--font-map);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 35px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-band::after {
  content: '+';
  position: absolute;
  left: 12px;
  top: 0;
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
}

/* Carte à poser : pleine balise, son rang en étiquette sur l'arête. */
.s-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 4px;
  padding: 12px 16px;
  border-radius: var(--radius-plate);
  background: var(--signal);
  color: var(--on-signal);
  transition:
    background-color var(--duration-base) ease,
    color var(--duration-base) ease;
}

.s-card .s-name {
  font-size: 30px;
}

.s-card .s-value {
  padding-top: 2px;
}

.s-desc {
  grid-column: 1 / -1;
  font-family: var(--font-map);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.2;
}

.s-tag {
  position: absolute;
  top: -11px;
  left: 16px;
  padding: 3px 8px;
  border-radius: var(--radius-plate);
  background: var(--ground);
  color: var(--signal);
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Profil des points en jeu (PocketProfile) ---------- */

.profile {
  flex: none;
  width: 140px;
  height: 54px;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
}

.profile__line--done {
  stroke: currentColor;
  stroke-width: 3;
}

.profile__line--stake {
  stroke: var(--signal);
  stroke-width: 3;
  stroke-dasharray: 3 4;
}

.profile__line--dim {
  stroke: currentColor;
  stroke-opacity: 0.38;
  stroke-width: 2;
  stroke-dasharray: 3 4;
}

.profile [class*='profile__node'] {
  stroke-width: 2;
}

.profile__node--done {
  fill: currentColor;
  stroke: currentColor;
}

.profile__node--stake {
  fill: var(--sky);
  stroke: var(--signal);
}

.profile__node--dim {
  fill: var(--sky);
  stroke: currentColor;
  stroke-opacity: 0.38;
}

.profile text {
  fill: currentColor;
  stroke: none;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 17px;
  text-anchor: middle;
}

.profile .profile__label--dim {
  fill-opacity: 0.38;
}

/* ---------- Téléphone : écrans de l'app rejoués en HTML ---------- */

/* L'écran est mis en page à la taille logique d'un iPhone (390 × 844), avec
   les mesures de l'app, puis réduit d'un bloc : `--scale` règle tout. */
.phone {
  --scale: 0.72;
  --bezel: 10px;
  position: relative;
  flex: none;
  width: calc(390px * var(--scale) + 2 * var(--bezel));
  padding: var(--bezel);
  border-radius: calc(54px * var(--scale) + var(--bezel));
  background: #0b0f19;
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.16);
}

.phone__glass {
  position: relative;
  width: calc(390px * var(--scale));
  height: calc(844px * var(--scale));
  overflow: hidden;
  border-radius: calc(46px * var(--scale));
  background: var(--face);
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 390px;
  height: 844px;
  overflow: hidden;
  background: var(--face);
  color: var(--text-primary);
  font-family: var(--font-text);
  font-weight: 600;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  transition:
    opacity 300ms ease,
    visibility 300ms;
}

/* Une seule étape visible à la fois : celle que nomme `data-show`. */
.phone[data-show] .screen[data-stage] {
  visibility: hidden;
  opacity: 0;
}

.phone[data-show='handoff'] .screen[data-stage='handoff'],
.phone[data-show='climb'] .screen[data-stage='climb'],
.phone[data-show='choice'] .screen[data-stage='choice'],
.phone[data-show='fall'] .screen[data-stage='fall'] {
  visibility: visible;
  opacity: 1;
}

.screen .label {
  font-size: 14px;
  letter-spacing: 2px;
}

/* Barre du haut : le tour, l'équipe qui monte. */
.s-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 24px;
}

.s-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
}

.s-more {
  margin-left: auto;
  font-weight: 700;
  letter-spacing: 2px;
}

.s-badge {
  flex: none;
  width: 22px;
  height: 22px;
}

/* En-tête de la montée, sur le ciel. */
.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 54px 24px 34px;
}

.s-title-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 76px;
}

.s-title {
  flex: 1;
  margin: 8px 0 0;
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Chrono en altimètre : une graduation par seconde, éteintes au fil du temps. */
.s-dial {
  position: relative;
  flex: none;
  width: 76px;
  height: 76px;
  transition: opacity var(--duration-base) ease;
}

.s-dial__ticks {
  width: 76px;
  height: 76px;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.s-dial__ticks .is-off {
  stroke-opacity: 0.22;
  stroke-width: 2.4;
}

.s-dial__digits {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 22px;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.s-dial__digits b {
  font-weight: 800;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

/* Le verdict tombe à la place de la définition. */
.s-swap {
  display: grid;
}

.s-swap > * {
  grid-area: 1 / 1;
}

.s-verdict {
  justify-self: start;
  align-self: center;
  opacity: 0;
}

.s-def {
  margin: 0;
  color: var(--on-sky-muted);
  font-size: 17px;
  line-height: 1.25;
}

.s-def .map {
  font-weight: 400;
}

.s-def b {
  color: var(--on-sky);
  font-weight: 700;
}

.s-up {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -1px;
  color: var(--on-sky);
}

/* Les points en jeu et « Garder … points ». */
.s-stake {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.s-stake .profile {
  width: 112px;
  height: 44px;
}

.s-pocket {
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.s-keep {
  margin-left: auto;
  height: 48px;
  padding: 0 12px 0 24px;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

/* La face : la voie, sous la crête. */
.s-face {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.s-ridge {
  position: absolute;
  top: -22px;
  left: 0;
  z-index: 1;
  height: 40px;
}

.s-route {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: 30px 38px 18px 40px;
}

[data-stage='climb'] .s-route {
  justify-content: flex-end;
}

/* La corde court au fond de la zone morte de gauche (AppSpacing.ropeX). */
.s-route::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 23.5px;
  width: 5px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2.4px, var(--rope-sheen) 2.4px 3.6px, transparent 3.6px 4.8px) center / 2.1px 100% no-repeat,
    repeating-linear-gradient(to bottom, var(--rope-shade) 0 1.6px, transparent 1.6px 4.8px),
    var(--rope);
}

/* Anneau qui accroche une carte à la corde, et son attache. */
.s-route .s-plate::before,
.s-route .s-card::before,
.s-route .s-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2.2px solid var(--text-primary);
  border-radius: 50%;
  background: var(--face);
}

.s-route .s-plate::after,
.s-route .s-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -9px;
  width: 9px;
  height: 2.2px;
  margin-top: -1.1px;
  background: var(--text-primary);
}

.s-route .s-band::before {
  left: -18px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-width: 1.5px;
  border-color: var(--slot);
}

.s-route .s-plate--anchor::before {
  left: -22px;
  width: 16px;
  height: 14px;
  margin-top: -8px;
  border: 0;
  border-radius: 0;
  background: var(--text-primary);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.s-route .s-plate--missed::before {
  border-color: var(--error);
}

.s-route .s-plate--missed::after {
  background: var(--error);
}

/* La dernière carte au choix. */
.s-choice {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding-top: 18px;
}

.s-choice .s-tag {
  top: 0;
  left: 0;
}

.s-choice__title {
  margin: 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
}

.s-card--pick {
  padding-block: 10px;
  transition: transform var(--duration-fast) ease;
}

.s-card--pick .s-name {
  font-size: 26px;
}

/* Le sol : la zone d'action. */
.s-ground {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 16px 24px 34px;
}

.s-ground__edge {
  position: absolute;
  top: -12px;
  left: 0;
  height: 24px;
}

/* Bouton à maintenir (HoldButton) : sa jauge monte en crête. */
.s-hold {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 6px;
  padding: 14px 44px 14px 24px;
  overflow: hidden;
  background: var(--signal);
  color: var(--on-signal);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  transition: color var(--duration-hold) steps(1, jump-end);
}

.s-hold__gauge {
  position: absolute;
  inset: -12px 0 0;
  z-index: -1;
  background: var(--gauge);
  clip-path: polygon(0 10px, 8% 5px, 17% 11px, 25% 2px, 33% 9px, 42% 0, 50% 8px, 58% 4px, 67% 12px, 75% 3px, 83% 10px, 92% 5px, 100% 9px, 100% 100%, 0 100%);
  transform: translateY(100%);
}

.s-hold__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.s-hold__row b {
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.s-hold__row .s-hold__stake {
  font-family: var(--font-data);
  font-size: 28px;
  letter-spacing: 0;
  text-transform: none;
}

.s-hold__hint {
  font-size: 16px;
  line-height: 1.25;
}

/* Grisé tant que la carte n'est pas choisie : contour plein, jamais en tirets. */
.s-hold--off {
  background: none;
  color: var(--on-sky-muted);
  clip-path: none;
}

.s-hold--off::before,
.s-hold--off::after {
  content: '';
  position: absolute;
  z-index: -1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

.s-hold--off::before {
  inset: 0;
  background: var(--slot);
}

.s-hold--off::after {
  inset: 2px 3px 2px 2px;
  background: var(--ground);
}

/* Panneau d'action simple : « C'est moi, Chloé », « Voir le classement ». */
.s-cta {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 40px 0 24px;
  background: var(--signal);
  color: var(--on-signal);
  font-family: var(--font-poster);
  font-weight: 800;
  font-size: 24px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

/* Passation : l'affiche de l'équipe, puis le prénom en grand sur la neige. */
.s-sky {
  padding-top: 54px;
}

.s-sky .s-bar {
  padding-inline: 24px;
}

.s-poster {
  width: 390px;
  height: 272px;
  margin-top: 4px;
}

.s-snow {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 20px;
  background: var(--snow);
  color: var(--on-snow);
}

.s-snow .s-ridge {
  top: -36px;
}

.s-kicker {
  margin: 0;
  font-size: 19px;
}

.s-captain {
  margin: 0;
  font-family: var(--font-poster);
  font-weight: 900;
  font-size: 88px;
  line-height: 0.9;
  text-transform: uppercase;
}

.s-role {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

.s-heckle {
  margin: auto 0 0;
  font-family: var(--font-map);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
}

.s-scores {
  display: flex;
  gap: 22px;
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 17px;
}

.s-scores span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Fin de la montée, dans l'en-tête. */
.s-outcome {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-top: 6px;
}

.s-outcome p {
  margin: 0;
}

.s-outcome__shelf {
  color: var(--on-sky-muted);
}

.s-lost,
.s-score {
  font-weight: 700;
  font-size: 19px;
}

.s-other {
  color: var(--on-sky-muted);
  font-weight: 400;
  font-size: 17px;
}

/* ---------- Animations du téléphone de l'accroche (js/main.js) ---------- */

.phone.is-holding .s-hold__gauge {
  transform: none;
  transition: transform var(--duration-hold) linear;
}

.phone.is-holding .s-hold {
  color: var(--on-sky);
}

.phone.is-stamped .s-dial,
.phone.is-stamped .s-def {
  opacity: 0;
}

/* Le nom du thème passe en étiquette pour laisser la place au verdict. */
.phone.is-stamped [data-stage='climb'] .s-title-row {
  min-height: 0;
}

.phone.is-stamped [data-stage='climb'] .s-dial {
  display: none;
}

.phone.is-stamped [data-stage='climb'] .s-title {
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 2px;
}

.phone.is-stamped .s-verdict {
  opacity: 1;
}

.phone.is-stamped .s-verdict,
.phone.is-fallen .s-outcome > :not(.s-outcome__shelf) {
  animation: stamp var(--duration-pop) var(--ease-emphasized) both;
}

.phone.is-settled [data-stage='climb'] .s-card {
  background: var(--plate);
  color: var(--on-plate);
}

.phone.is-settled [data-stage='climb'] .s-tag {
  opacity: 0;
}

.phone.is-picked [data-pick] {
  transform: scale(0.97);
  box-shadow: 0 0 0 3px var(--on-signal);
}

.phone:not(.is-fallen) [data-stage='fall'] .s-outcome > *:not(.s-outcome__shelf) {
  opacity: 0;
}

.phone.is-fallen .s-outcome > :nth-child(3) {
  animation-delay: 500ms;
}

.phone.is-fallen .s-outcome > :nth-child(n + 4) {
  animation-name: appear;
  animation-delay: 900ms;
}

/* La carte ratée glisse jusqu'à sa vraie place, par-dessus les autres. */
.phone.is-fallen .s-plate--missed {
  animation: glide var(--duration-slow) var(--ease-decelerate) 250ms both;
}

@keyframes stamp {
  from {
    opacity: 0;
    scale: var(--scale-stamp);
  }
}

@keyframes appear {
  from {
    opacity: 0;
  }
}

@keyframes glide {
  from {
    translate: 0 -232px;
  }
}

/* ---------- Puces ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 12px;
  border: var(--stroke-hairline) solid var(--on-sky-muted);
  border-radius: var(--radius-plate);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.chips--center {
  justify-content: center;
}

.chips--center li {
  border-color: var(--slot);
  color: var(--text-secondary);
}

/* ---------- Liste d'attente ---------- */

.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.waitlist__input {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 56px;
  padding: 0 16px;
  border: var(--stroke-outline) solid transparent;
  border-radius: var(--radius-plate);
  background: var(--plate);
  color: var(--on-plate);
  font-weight: 600;
  font-size: 1.0625rem;
}

.waitlist__input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.waitlist__input:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

.waitlist__note,
.waitlist__status {
  flex-basis: 100%;
  font-size: 0.9375rem;
  color: var(--on-sky-muted);
}

.waitlist__status:empty {
  display: none;
}

.waitlist__status[data-state='ok'] {
  color: var(--signal);
}

.waitlist__status[data-state='error'] {
  color: var(--glow);
}

.waitlist--center {
  margin-inline: auto;
  justify-content: center;
}

/* ---------- Coches ---------- */

.ticks {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ticks__icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  color: var(--signal);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border-radius: var(--radius-plate);
  background: var(--plate);
  color: var(--on-plate);
}

.faq__item summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -52%;
  font-size: 1.75rem;
  line-height: 1;
  transition: rotate var(--duration-base) ease;
}

.faq__item[open] summary::after {
  rotate: 45deg;
}

.faq__item p {
  padding: 0 20px 20px;
  color: var(--text-secondary);
}
