/* ==========================================================================
   Planner Winter Arc — landing page
   ========================================================================== */

#neige {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.conteneur { width: min(1160px, 100% - 32px); margin-inline: auto; }
.conteneur-etroit { width: min(760px, 100% - 32px); }

:root {
  --coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Navigation ------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: 16px;
}
.nav-interieur {
  max-width: 1160px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 8px 0 16px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.defile .nav-interieur {
  background: linear-gradient(180deg, var(--verre-1), var(--verre-2));
  border-color: var(--verre-bord);
  box-shadow: inset 0 1px 0 var(--verre-reflet), var(--portee);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}
.nav-liens { display: flex; gap: 2px; }
.nav-liens a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--brume);
  font-size: 15px;
  font-weight: 500;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.nav-liens a:hover { color: var(--givre); background: var(--survol); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .nav-liens { display: none; } }
@media (max-width: 420px) { .nav-ouvrir { display: none; } }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(124px, 18vh, 176px);
  padding-bottom: 24px;
}
.hero-texte {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero h1 {
  font-size: clamp(48px, 8.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.hero h1 .serif { font-size: 1.14em; line-height: .9; }
.hero-sous {
  max-width: 620px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--brume);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-micro { font-size: 13px; color: var(--ombre); margin-top: -8px; }

/* Aperçu de l'app -------------------------------------------------------- */
.apercu-scene {
  position: relative;
  margin-top: 64px;
  perspective: 1600px;
}
.apercu-scene::before {
  content: "";
  position: absolute;
  inset: 8% 10% -6%;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--glacier) 22%, transparent), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.apercu {
  max-width: 1040px;
  margin: auto;
  border-radius: 28px;
  overflow: hidden;
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--p, 1)) * 22deg)) scale(calc(.92 + var(--p, 1) * .08));
  will-change: transform;
}
.apercu-tete {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--trait);
  font-size: 13px;
}
.apercu-points { display: flex; gap: 6px; }
.apercu-points i { width: 10px; height: 10px; border-radius: 50%; background: var(--trait); }
.apercu-titre { font-weight: 600; }
.apercu-note { margin-left: auto; color: var(--ombre); font-size: 12px; }

.apercu-corps { display: grid; grid-template-columns: 190px 1fr; }
.apercu-barre {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  border-right: 1px solid var(--trait);
}
.ap-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--brume);
}
.ap-nav b { width: 14px; height: 14px; border-radius: 4px; background: var(--trait); }
.ap-nav.actif { background: var(--survol); color: var(--givre); }
.ap-nav.actif b { background: var(--glacier); box-shadow: 0 0 12px var(--glacier); }

.apercu-grille {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-areas:
    "arc serie epargne"
    "arc reseaux reseaux"
    "habitudes habitudes prio";
  gap: 14px;
  padding: 18px;
}
.ap-carte {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--givre) 3.5%, transparent);
  border: 1px solid var(--trait);
  min-width: 0;
}
.ap-label { font-size: 12px; font-weight: 600; color: var(--brume); }
.ap-sous { font-size: 12.5px; color: var(--brume); }
.ap-arc { grid-area: arc; align-items: center; justify-content: center; text-align: center; }
.ap-jauge { width: 100%; max-width: 250px; }
.ap-arc-texte { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: -40px; }
.ap-arc-texte strong { font-size: 40px; font-weight: 650; letter-spacing: -0.03em; }
.ap-arc-texte strong span { font-size: 18px; color: var(--ombre); font-weight: 500; }
.ap-arc-texte > span {
  font-size: 12px; font-weight: 600; color: var(--glacier);
  padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--glacier) 12%, transparent);
}
.ap-serie { grid-area: serie; }
.ap-flamme { display: flex; align-items: center; gap: 8px; color: var(--braise); margin-top: auto; }
.ap-flamme svg { width: 30px; height: 30px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--braise) 60%, transparent)); }
.ap-flamme strong { font-size: 36px; font-weight: 650; color: var(--givre); letter-spacing: -0.03em; }
.ap-epargne { grid-area: epargne; align-items: flex-start; }
.ap-anneau, [data-anneau] { position: relative; display: grid; place-items: center; }
.ap-anneau > span, [data-anneau] > span { position: absolute; font-size: 13px; font-weight: 600; }
.ap-reseaux { grid-area: reseaux; position: relative; }
.ap-gros { font-size: 30px; font-weight: 650; color: var(--glacier); letter-spacing: -0.03em; }
.ap-courbe { position: absolute; right: 16px; bottom: 14px; width: 55%; height: 64px; }
.ap-habitudes { grid-area: habitudes; }
.ap-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ap-puce {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--trait);
  font-size: 12.5px; color: var(--brume);
}
.ap-puce::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--trait); }
.ap-puce.faite { color: var(--givre); background: color-mix(in srgb, var(--glacier) 13%, transparent); border-color: color-mix(in srgb, var(--glacier) 30%, transparent); }
.ap-puce.faite::before { background: var(--glacier); box-shadow: 0 0 8px var(--glacier); }
.ap-prio { grid-area: prio; }
.ap-prio ul { list-style: none; padding: 0; margin: 2px 0 0; display: grid; gap: 7px; }
.ap-prio li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ap-prio li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ombre); }
.ap-prio li.faite { color: var(--ombre); text-decoration: line-through; }
.ap-prio li.faite::before { background: var(--glacier); border-color: var(--glacier); }

.flottant {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 12px;
  border-radius: 16px;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  animation: flotte 7s ease-in-out infinite alternate;
}
.fl-1 { left: -18px; top: 34%; }
.fl-2 { right: -22px; top: 16%; animation-delay: -2s; }
.fl-3 { right: 8%; bottom: -22px; animation-delay: -4s; }
.fl-coche {
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--glacier); color: var(--sur-accent);
}
.fl-coche svg { width: 14px; height: 14px; }
.fl-plus { color: var(--glacier); font-weight: 700; }
.fl-euro { color: var(--succes); font-weight: 700; }
@keyframes flotte { to { transform: translateY(-12px); } }

@media (max-width: 1120px) { .flottant { display: none; } }
@media (max-width: 820px) {
  .apercu-corps { grid-template-columns: 1fr; }
  .apercu-barre { display: none; }
  .apercu-grille {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "arc arc"
      "serie epargne"
      "reseaux reseaux"
      "habitudes habitudes"
      "prio prio";
    padding: 12px;
    gap: 10px;
  }
  .apercu-note { display: none; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(88px, 12vw, 148px); position: relative; }
.entete-section {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.entete-section h2 {
  font-size: clamp(34px, 5.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.entete-section h2 .serif { font-size: 1.12em; }
.entete-section > p.discret { font-size: 17px; max-width: 600px; }

/* Phases */
.phases {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.phases-arc {
  position: absolute;
  left: 8%;
  right: 8%;
  top: -64px;
  width: 84%;
  height: 90px;
  opacity: .7;
  pointer-events: none;
}
.phase { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.phase-jours {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--brume);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--trait);
}
.phase-icone {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin: 14px 0 10px;
  border-radius: 16px;
  color: var(--glacier);
  background: color-mix(in srgb, var(--glacier) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--glacier) 22%, transparent);
}
.phase-icone svg { width: 24px; height: 24px; }
.phase-icone.forge { color: var(--braise); background: color-mix(in srgb, var(--braise) 12%, transparent); border-color: color-mix(in srgb, var(--braise) 22%, transparent); }
.phase-icone.sommet { color: var(--aurore); background: color-mix(in srgb, var(--aurore) 12%, transparent); border-color: color-mix(in srgb, var(--aurore) 22%, transparent); }
.phase h3 { font-size: 26px; }
.phase p { color: var(--brume); }

.rituels {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.rituel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--trait);
  color: var(--brume);
  font-size: 15px;
}
.rituel-moment { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--givre); min-width: 86px; }

/* Toute l'année : 4 arcs qui s'enchaînent */
.annee {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
}
.annee-texte { display: grid; gap: 6px; }
.annee-texte strong { font-size: 18px; letter-spacing: -0.01em; }
.annee-texte .discret { font-size: 15px; }
.annee-frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.annee-frise span {
  position: relative;
  padding: 26px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brume);
  text-align: center;
}
.annee-frise span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 25%, transparent), var(--c));
  box-shadow: 0 0 14px -2px color-mix(in srgb, var(--c) 70%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.annee.visible .annee-frise span::before { transform: scaleX(1); }
.annee-frise span:nth-child(2)::before { transition-delay: .15s; }
.annee-frise span:nth-child(3)::before { transition-delay: .3s; }
.annee-frise span:nth-child(4)::before { transition-delay: .45s; }

@media (max-width: 860px) {
  .annee { grid-template-columns: 1fr; padding: 20px; }
  .phases, .rituels { grid-template-columns: 1fr; }
  .phases-arc { display: none; }
}

/* Bento des modules */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.module {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  min-height: 320px;
}
.m-production, .m-objectifs { grid-column: span 3; }
.module-tete { display: flex; align-items: center; gap: 12px; }
.module-icone {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--glacier);
  background: color-mix(in srgb, var(--glacier) 12%, transparent);
}
.module-icone svg { width: 20px; height: 20px; }
.module h3 { font-size: 20px; }
.module > p { color: var(--brume); font-size: 15px; max-width: 46ch; }
.m-visuel { margin-top: auto; padding-top: 14px; }

.m-minuteur { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.m-minuteur [data-anneau] > span { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.m-barres { flex: 1; max-width: 260px; display: flex; align-items: flex-end; gap: 8px; height: 112px; }
.m-barres i {
  flex: 1; height: 0; border-radius: 6px;
  background: linear-gradient(to top, color-mix(in srgb, var(--glacier) 25%, transparent), var(--glacier));
  transition: height 1s var(--ease-out);
}
.m-barres i:last-child { background: linear-gradient(to top, color-mix(in srgb, var(--aurore) 25%, transparent), var(--aurore)); }
.visible .m-barres i { height: var(--h); }
.m-barres i:nth-child(2) { transition-delay: .06s; } .m-barres i:nth-child(3) { transition-delay: .12s; }
.m-barres i:nth-child(4) { transition-delay: .18s; } .m-barres i:nth-child(5) { transition-delay: .24s; }
.m-barres i:nth-child(6) { transition-delay: .3s; } .m-barres i:nth-child(7) { transition-delay: .36s; }

.m-jalons { display: grid; gap: 14px; }
.m-ligne { display: grid; gap: 7px; font-size: 14px; }
.m-barre { height: 8px; border-radius: 999px; background: var(--trait); overflow: hidden; }
.m-barre i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--aurore-grad); transition: width 1.1s var(--ease-out); }
.visible .m-barre i { width: var(--w); }

.m-cagnottes { display: flex; justify-content: space-around; gap: 8px; }
.m-cagnotte { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--brume); }

.m-dossier { display: grid; gap: 9px; }
.m-dossier span { position: relative; padding-left: 30px; font-size: 14px; color: var(--brume); }
.m-dossier span::before {
  content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 20px; height: 20px; border-radius: 7px; border: 1.5px solid var(--ombre);
}
.m-dossier span.faite { color: var(--givre); }
.m-dossier span.faite::before { background: var(--succes); border-color: var(--succes); }
.m-dossier span.faite::after {
  content: ""; position: absolute; left: 4px; top: 50%; translate: 0 -50%;
  width: 12px; height: 12px; background: var(--sur-accent);
  -webkit-mask: var(--coche) center / contain no-repeat; mask: var(--coche) center / contain no-repeat;
}

.m-plateformes { display: grid; gap: 10px; }
.m-plateforme {
  display: grid; grid-template-columns: 1fr auto 80px; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px; border: 1px solid var(--trait);
}
.m-pl-nom { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brume); }
.m-pl-nom i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.m-plateforme strong { font-size: 17px; }
.m-pl-courbe { height: 32px; }

.m-grille { display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; }
.m-grille i { aspect-ratio: 1; border-radius: 4px; background: var(--trait); transition: background .4s var(--ease); }
.m-grille i.n1 { background: color-mix(in srgb, var(--glacier) 28%, transparent); }
.m-grille i.n2 { background: color-mix(in srgb, var(--glacier) 58%, transparent); }
.m-grille i.n3 { background: var(--glacier); box-shadow: 0 0 6px color-mix(in srgb, var(--glacier) 60%, transparent); }

.m-humeurs { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.m-humeurs i {
  flex: 1; height: 0; border-radius: 8px;
  background: linear-gradient(to top, color-mix(in srgb, var(--aurore) 30%, transparent), var(--aurore));
  transition: height 1s var(--ease-out);
}
.visible .m-humeurs i { height: calc(var(--n) * 19%); }

.m-avant-apres { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-avant-apres > div { display: flex; flex-direction: column; gap: 2px; }
.m-avant-apres strong { font-size: 32px; font-weight: 650; letter-spacing: -0.03em; }
.m-avant-apres svg { width: 28px; height: 28px; color: var(--ombre); }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .module, .m-production, .m-objectifs { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .module { min-height: 0; padding: 22px; }
}

/* Mixte : bandes qui défilent */
.section-mixte { overflow: hidden; }
.defilant {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.defilant + .defilant { margin-top: 12px; }
.defilant-piste {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: defile 60s linear infinite;
}
.defilant-inverse .defilant-piste { animation-direction: reverse; animation-duration: 70s; }
.defilant-piste span {
  padding: 13px 22px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(180deg, var(--verre-1), var(--verre-2));
  border: 1px solid var(--verre-bord);
  box-shadow: inset 0 1px 0 var(--verre-reflet);
}
.defilant-inverse .defilant-piste span { color: var(--brume); }
@keyframes defile { to { transform: translateX(calc(-50% - 6px)); } }
.defilant:hover .defilant-piste { animation-play-state: paused; }

/* Offre */
.formules-choix {
  position: relative;
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 5px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--verre-1), var(--verre-2));
  border: 1px solid var(--verre-bord);
  box-shadow: inset 0 1px 0 var(--verre-reflet);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.formules-choix button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brume);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.formules-choix button[aria-checked="true"] { color: var(--givre); }
.formules-curseur {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 11px;
  background: color-mix(in srgb, var(--givre) 10%, transparent);
  border: 1px solid var(--verre-bord);
  box-shadow: inset 0 1px 0 var(--verre-reflet);
  transition: left .35s var(--ease-out), width .35s var(--ease-out);
}

.formules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}
.formule { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.formule-pied {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--trait);
  font-size: 14px;
  color: var(--brume);
}
.formule-tete h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.formule-tete p { margin-top: 6px; }
.formule-prix { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.formule-prix strong { font-size: 48px; font-weight: 650; letter-spacing: -0.04em; transition: opacity .2s; }
.formule-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.formule-liste li { position: relative; padding-left: 28px; color: var(--brume); }
.formule-liste li b { color: var(--givre); font-weight: 600; }
.formule-liste li:has(b) { padding-left: 0; }
.formule-liste li:not(:has(b))::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; background: var(--glacier);
  -webkit-mask: var(--coche) center / contain no-repeat; mask: var(--coche) center / contain no-repeat;
}
.formule-sommet {
  isolation: isolate;
  box-shadow: inset 0 1px 0 var(--verre-reflet), 0 40px 90px -40px color-mix(in srgb, var(--aurore) 70%, transparent);
}
.formule-sommet .formule-liste li::before { background: var(--aurore); }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.formule-sommet::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), var(--glacier), var(--aurore), var(--braise), var(--glacier));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: tourne 8s linear infinite;
  pointer-events: none;
}
@keyframes tourne { to { --angle: 360deg; } }
.formules-note { text-align: center; margin-top: 24px; font-size: 14px; }

@media (max-width: 760px) {
  .formules { grid-template-columns: 1fr; }
  .formule { padding: 26px; }
  .formules-choix button { padding: 10px 12px; font-size: 13px; }
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; overflow: hidden; }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  min-height: 64px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--brume), var(--brume)) center / 100% 1.6px no-repeat,
    linear-gradient(var(--brume), var(--brume)) center / 1.6px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--brume); }
.faq details[open] p { animation: deplie .35s var(--ease-out); }
@keyframes deplie { from { opacity: 0; transform: translateY(-6px); } }

/* Appel final */
.final-carte {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(40px, 7vw, 80px) 24px;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.final-carte::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--aurore) 22%, transparent), transparent 70%);
  z-index: -1;
}
.final-jauge { width: 220px; margin-bottom: -8px; }
.final-carte h2 { font-size: clamp(34px, 5.4vw, 56px); letter-spacing: -0.035em; line-height: 1.04; }
.final-carte h2 .serif { font-size: 1.12em; }
.final-carte p { font-size: 17px; }

/* Pied de page */
.pied { border-top: 1px solid var(--trait); padding: 32px 0 48px; }
.pied-interieur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.pied-liens { display: flex; gap: 18px; flex-wrap: wrap; }
.pied-liens a { color: var(--brume); }
.pied-liens a:hover { color: var(--givre); }

/* Liste d'attente --------------------------------------------------------- */
.liste { position: relative; width: min(520px, 100%); display: grid; gap: 10px; }
.liste-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.liste-champ {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--verre-1), var(--verre-2));
  border: 1px solid var(--verre-bord);
  box-shadow: inset 0 1px 0 var(--verre-reflet), var(--portee);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.liste-champ:focus-within {
  border-color: color-mix(in srgb, var(--glacier) 55%, transparent);
  box-shadow: inset 0 1px 0 var(--verre-reflet), 0 0 0 4px color-mix(in srgb, var(--glacier) 16%, transparent), var(--portee);
}
.liste-champ input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--givre);
  font-size: 16px;
  outline: none;
}
.liste-champ input::placeholder { color: var(--ombre); }
.liste-champ .btn { border-radius: 14px; }
.liste-message { font-size: 14px; color: var(--erreur); text-align: center; }
.liste-message:empty { display: none; }
.liste.envoi .btn { opacity: .7; pointer-events: none; }
.liste.envoi .btn svg { animation: glisse .8s ease-in-out infinite alternate; }
@keyframes glisse { to { transform: translateX(4px); } }

.liste-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(520px, 100%);
  padding: 16px 20px;
  border-radius: 20px;
  text-align: left;
  font-size: 15px;
  color: var(--brume);
  background: linear-gradient(180deg, color-mix(in srgb, var(--glacier) 14%, transparent), color-mix(in srgb, var(--glacier) 4%, transparent));
  border: 1px solid color-mix(in srgb, var(--glacier) 32%, transparent);
  box-shadow: inset 0 1px 0 var(--verre-reflet), 0 20px 50px -24px color-mix(in srgb, var(--glacier) 60%, transparent);
  animation: apparait .5s var(--ease-out);
}
.liste-ok strong { color: var(--givre); }
.liste-ok-coche {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--glacier);
  color: var(--sur-accent);
  box-shadow: 0 0 20px -2px var(--glacier);
}
.liste-ok-coche svg { width: 18px; height: 18px; }
@keyframes apparait { from { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(4px); } }

.final-carte .liste, .final-carte .liste-ok { margin-top: 4px; }
.liste-legal { font-size: 13px; color: var(--ombre); max-width: 46ch; }
.hero-micro a, .liste-legal a, .faq a { color: var(--brume); text-decoration: underline; text-underline-offset: 3px; }
.hero-micro a:hover, .liste-legal a:hover, .faq a:hover { color: var(--givre); }

@media (max-width: 520px) {
  .liste-champ { flex-direction: column; padding: 8px; }
  .liste-champ input { text-align: center; }
  .liste-champ .btn { width: 100%; }
}
