/* ============================================================
   AVENTURIER STRATÉGIQUE — V2 privée
   Refonte visuelle et interactive contrôlée (rendu Claude)
   ------------------------------------------------------------
   Un seul langage de mouvement : LA TRACE GPS.
   - traits pointillés qui se dessinent (trace GPX)
   - repères carte (pin) sur les actions de géolocalisation
   - point de position qui parcourt la trace rouge
   - révélations courtes à l'entrée dans le viewport
   Couleurs verrouillées : #050706 #101411 #FF2534 #79FF13
   #F5F7F2 #A4AAA4. Aucun texte ajouté par le CSS.
   Durées 160–500 ms, transform/opacity uniquement,
   prefers-reduced-motion respecté, focus clavier visibles.
   ============================================================ */

@font-face {
  font-family: "Aventurier Manuscrit";
  src: url("/fonts/z003-medium-italic.otf") format("opentype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  --black: #050706;
  --black-soft: #0b0e0c;
  --panel: #101411;
  --panel-light: #151a16;
  --red: #ff2534;
  --green: #79ff13;
  --gold: #d9ad3a;
  --white: #f5f7f2;
  --muted: #a4aaa4;
  --line: #2b312d;
  --shell: 1180px;

  /* Langage de mouvement */
  --ease-trail: cubic-bezier(0.22, 0.9, 0.3, 1);
  --t-fast: 170ms;
  --t-med: 260ms;
  --t-draw: 420ms;

  /* Trace GPS pointillée courte et rapprochée */
  --trace-red: repeating-linear-gradient(
    90deg,
    var(--red) 0 4px,
    transparent 4px 7px
  );
  --trace-green: repeating-linear-gradient(
    90deg,
    var(--green) 0 4px,
    transparent 4px 7px
  );
  --trace-red-v: repeating-linear-gradient(
    180deg,
    var(--red) 0 4px,
    transparent 4px 7px
  );
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 83% 12%, rgba(121, 255, 19, 0.055), transparent 25rem),
    radial-gradient(circle at 12% 48%, rgba(255, 37, 52, 0.045), transparent 28rem),
    var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, "Helvetica Neue", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--green);
  color: var(--black);
}

/* Navigation clavier : repère net partout */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Cinétique commune
   ------------------------------------------------------------ */
@keyframes waypoint-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(121, 255, 19, 0.45);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(121, 255, 19, 0);
  }
}

@keyframes waypoint-pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 37, 52, 0.45);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(255, 37, 52, 0);
  }
}

@keyframes arrow-nudge {
  0%,
  70%,
  100% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(4px);
  }
}

@keyframes click-hint {
  0%,
  68%,
  100% {
    translate: 0 0;
  }
  76% {
    translate: 0 -2px;
  }
  84% {
    translate: 0 1px;
  }
}

@keyframes button-breathe {
  50% {
    box-shadow: 0 0 0 7px rgba(121, 255, 19, 0.08);
    transform: translateY(-1px);
  }
}

@keyframes contact-vibe {
  0%,
  43%,
  57%,
  100% {
    transform: translateX(0) rotate(0);
  }
  47% {
    transform: translateX(-1px) rotate(-0.35deg);
  }
  51% {
    transform: translateX(1px) rotate(0.35deg);
  }
}

/* Point de position qui suit la trace */
@keyframes dot-travel {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soulignement-trace : un pointillé qui se dessine sous les liens.
   Appliqué aux liens texte ; ne touche à aucun contenu. */
.main-nav a,
.text-link,
.history-link,
.back-link,
.reel-external-link,
.answer-links a {
  background-image: var(--trace-green);
  background-repeat: no-repeat;
  background-position: left calc(100% - 1px);
  background-size: 0% 2px;
  transition:
    background-size var(--t-draw) var(--ease-trail),
    color var(--t-fast) ease,
    transform var(--t-fast) ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.history-link:hover,
.history-link:focus-visible,
.back-link:hover,
.back-link:focus-visible,
.reel-external-link:hover,
.reel-external-link:focus-visible,
.answer-links a:hover,
.answer-links a:focus-visible {
  background-size: 100% 2px;
}

/* ------------------------------------------------------------
   En-tête
   ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 2px solid var(--red);
  background: rgba(5, 7, 6, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  transition: transform var(--t-fast) ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--red);
  object-fit: cover;
  transition: box-shadow var(--t-med) ease;
}

.brand:hover .brand-avatar,
.brand:focus-visible .brand-avatar {
  box-shadow:
    0 0 0 2px var(--red),
    0 0 14px rgba(121, 255, 19, 0.28);
}

.brand-wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
  white-space: nowrap;
}

.brand-aventurier {
  border: 2px solid var(--red);
  color: var(--red);
  padding: 6px 8px;
}

.brand-strategique {
  color: var(--green);
  transform: translateY(-11px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Accueil — carnet d'exploration
   ------------------------------------------------------------ */
.home-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
  padding-block: 58px 46px;
}

.home-intro blockquote {
  position: sticky;
  top: 38px;
  max-width: 410px;
  margin: 0;
  color: #d8ddd7;
  font-family: "Aventurier Manuscrit", "Segoe Print", cursive;
  font-size: clamp(21px, 2.35vw, 29px);
  font-weight: 800;
  line-height: 1.36;
  rotate: -1.5deg;
}

.presentation {
  position: relative;
  max-width: 710px;
  overflow: hidden;
  border: 1px solid rgba(121, 255, 19, 0.36);
  border-left: 3px solid var(--red);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 37, 52, 0.055), transparent 42%),
    linear-gradient(315deg, rgba(121, 255, 19, 0.045), transparent 40%),
    rgba(13, 16, 14, 0.94);
  padding: clamp(22px, 3.4vw, 38px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.015),
    0 20px 52px rgba(0, 0, 0, 0.23);
}

.presentation::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  opacity: 0.48;
}

.presentation p {
  margin: 0;
  font-size: clamp(17px, 1.75vw, 22px);
  font-weight: 760;
  letter-spacing: -0.022em;
  line-height: 1.48;
}

.presentation p + p {
  margin-top: 24px;
}

/* Quatre entrées : même format, un outil blanc plus discret.
   Repère carte discret dans l'angle, plus de vibration continue. */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 18px;
}

.menu-card {
  position: relative;
  min-height: 118px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px 56px 20px 20px;
  transition:
    transform var(--t-fast) var(--ease-trail),
    border-color var(--t-fast) ease,
    box-shadow var(--t-med) ease;
}

/* Repère de position (waypoint) dans l'angle de chaque entrée */
.menu-card::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  transition: opacity var(--t-fast) ease;
}

.menu-card:hover::after,
.menu-card:focus-visible::after {
  opacity: 1;
  animation: waypoint-pulse 620ms var(--ease-trail) 1;
}

.menu-card:hover,
.menu-card:focus-visible {
  transform: translateY(-3px);
}

.menu-card strong {
  display: flex;
  align-items: center;
  gap: 0.35em;
  color: currentColor;
  font-size: clamp(18px, 1.85vw, 25px);
  font-weight: 900;
  letter-spacing: -0.042em;
  line-height: 1.12;
}

.menu-card-emoji {
  flex: 0 0 auto;
}

.menu-card-gold {
  border-color: #f1cf68;
  background: var(--button-spots, var(--gold));
  color: var(--black);
}

.menu-card-green {
  border-color: var(--green);
  background: var(--button-gpx, var(--green));
  color: var(--black);
}

.menu-card-red {
  border-color: var(--red);
  background: var(--button-chrono, var(--red));
  color: var(--white);
}

.menu-card-tools {
  border-color: rgba(245, 247, 242, 0.86);
  background: var(--white);
  color: var(--black);
}

.menu-card-gold:hover,
.menu-card-gold:focus-visible {
  border-color: #ffe69a;
  box-shadow: 0 14px 38px rgba(217, 173, 58, 0.2);
}

.menu-card-green:hover,
.menu-card-green:focus-visible {
  border-color: #c2ff94;
  box-shadow: 0 14px 38px rgba(121, 255, 19, 0.2);
}

.menu-card-red:hover,
.menu-card-red:focus-visible {
  border-color: #ff8790;
  box-shadow: 0 14px 38px rgba(255, 37, 52, 0.22);
}

.menu-card-tools:hover,
.menu-card-tools:focus-visible {
  border-color: #ffffff;
  box-shadow: 0 14px 38px rgba(245, 247, 242, 0.14);
}

.menu-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 24px;
  font-weight: 900;
  translate: 0 -50%;
  animation: arrow-nudge 2.7s ease-in-out infinite;
}

.home-contact {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff5d68;
  border-radius: 11px;
  background: var(--red);
  padding: 0 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  animation: contact-vibe 4.6s ease-in-out infinite;
  transition:
    transform var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(255, 37, 52, 0.22);
}

/* ------------------------------------------------------------
   Ancien héros / orbites (conservés pour compatibilité)
   ------------------------------------------------------------ */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 70px;
  align-items: center;
  min-height: 700px;
  padding-block: 72px 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.neon {
  color: var(--green);
}

.hero-copy h1,
.page-intro h1,
.gpx-heading h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-copy h1 {
  max-width: 710px;
}

.hero-last-line {
  white-space: nowrap;
}

.hero-last-line > span {
  font-size: 0.58em;
  vertical-align: 0.1em;
}

.hero-lede,
.page-lede,
.gpx-heading > p:last-child {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.orbit-stage {
  position: relative;
  min-height: 530px;
  display: grid;
  align-content: center;
  gap: 170px;
  padding-block: 54px;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  border: 2px solid;
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.orbit-red {
  width: 360px;
  height: 360px;
  border-color: var(--red) transparent var(--red) var(--red);
  animation: orbit-red 18s linear infinite;
}

.orbit-green {
  width: 425px;
  height: 425px;
  border-color: var(--green) var(--green) transparent var(--green);
  animation: orbit-green 23s linear infinite;
}

@keyframes orbit-red {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-green {
  to {
    transform: rotate(-360deg);
  }
}

.action-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 104px;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(10, 13, 11, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

.action-card-gpx {
  transition:
    border-color var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.action-card-gpx:hover,
.action-card-gpx:focus-visible {
  border-color: var(--green);
  transform: translateX(6px);
  box-shadow: 0 18px 60px rgba(121, 255, 19, 0.09);
}

.action-card-disabled {
  border-color: rgba(255, 37, 52, 0.42);
  color: var(--white);
}

.gpx-thumb {
  width: 98px;
  height: 72px;
  border: 1px solid rgba(121, 255, 19, 0.75);
  border-radius: 10px;
  object-fit: cover;
}

.action-copy {
  min-width: 0;
}

.action-copy strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.action-copy small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.action-arrow {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.action-leaf,
.action-emoji {
  font-size: 24px;
}

/* ------------------------------------------------------------
   Sections accueil
   ------------------------------------------------------------ */
.proof-section {
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
  padding-block: 70px 78px;
}

.about-home {
  display: grid;
  grid-template-columns: auto minmax(0, 780px);
  justify-content: center;
  gap: 24px;
  padding-block: 30px 96px;
}

.about-home-kicker {
  margin: 3px 0 0;
  font-size: 24px;
}

.about-home-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.about-home-copy p {
  margin: 24px 0 0;
  color: var(--green);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  line-height: 1.5;
}

.chrono-home {
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--line);
  background: var(--black-soft);
}

.chrono-home-inner {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.chrono-home h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.chrono-home-button,
.chrono-answer-button,
.maps-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 56px;
  border-radius: 10px;
  background: var(--green);
  color: var(--black);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 950;
  transition:
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

/* Repère carte (pin) devant chaque action de géolocalisation */
.maps-button::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  transition: transform var(--t-med) var(--ease-trail);
}

.maps-button:hover::before,
.maps-button:focus-visible::before {
  transform: rotate(-45deg) scale(1.18);
}

.chrono-home-button {
  animation: click-hint 2.8s ease-in-out infinite;
}

.chrono-home-button:hover,
.chrono-home-button:focus-visible,
.chrono-answer-button:hover,
.chrono-answer-button:focus-visible,
.maps-button:hover,
.maps-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(121, 255, 19, 0.15);
}

.maps-button-red {
  background: var(--red);
  color: var(--white);
}

.maps-button-red:hover,
.maps-button-red:focus-visible {
  box-shadow: 0 12px 32px rgba(255, 37, 52, 0.19);
}

.history-link-section {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-link {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.history-link:hover,
.history-link:focus-visible {
  color: var(--white);
}

.proof-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.proof-heading h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 7px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.mini-logo-card {
  min-height: 142px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d100e;
  padding: 19px;
  transition:
    transform var(--t-fast) var(--ease-trail),
    border-color var(--t-fast) ease;
}

.mini-logo-card:hover {
  border-color: #455047;
  transform: translateY(-2px);
}

.mini-logo-card img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.mini-logo-reunion {
  height: 102px;
}

.mini-logo-sainte {
  height: 96px;
}

.mini-logo-edena {
  height: 50px;
}

.mini-logo-seychelles {
  height: 62px;
}

/* ------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------ */
.site-footer {
  border-top: 3px solid var(--red);
}

.footer-ps {
  width: min(760px, calc(100% - 40px));
  max-width: 860px;
  margin-top: 32px;
  border: 1px solid rgba(121, 255, 19, 0.34);
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(121, 255, 19, 0.085), rgba(255, 37, 52, 0.035)),
    #0d100e;
  padding: 13px 18px;
  color: #aab3ab;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.footer-ps span {
  color: var(--green);
  font-weight: 850;
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  transition:
    transform var(--t-fast) ease,
    filter var(--t-fast) ease;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(121, 255, 19, 0.16));
}

.footer-brand > span,
.footer-brand sup {
  color: var(--red);
}

.footer-brand strong {
  color: var(--green);
}

.footer-note {
  color: #70766f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-social {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(121, 255, 19, 0.5);
  border-radius: 10px;
  background: rgba(121, 255, 19, 0.04);
  color: var(--green);
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 900;
  transition:
    border-color var(--t-fast) ease,
    background var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.footer-social-icon {
  width: 25px;
  height: 25px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.footer-social > span:last-child {
  display: grid;
  gap: 2px;
}

.footer-social small {
  color: #919991;
  font-size: 8px;
  font-weight: 750;
}

.footer-tip {
  border-color: rgba(245, 247, 242, 0.72);
  background: rgba(245, 247, 242, 0.075);
  color: var(--white);
  cursor: pointer;
}

.footer-tip .footer-social-icon {
  font-size: 13px;
}

.footer-social.footer-tip:hover,
.footer-social.footer-tip:focus-visible {
  border-color: rgba(245, 247, 242, 0.92);
  background: rgba(245, 247, 242, 0.1);
  transform: none;
  box-shadow: 0 0 14px rgba(245, 247, 242, 0.1);
}

.footer-social:hover,
.footer-social:focus-visible {
  border-color: var(--red);
  background: rgba(255, 37, 52, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255, 37, 52, 0.13);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 58px;
  border: 1px solid rgba(121, 255, 19, 0.58);
  border-radius: 999px;
  background-color: rgba(121, 255, 19, 0.035);
  background-size: 100% 2px;
  color: var(--green);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Collaborations
   ------------------------------------------------------------ */
.collaborations-page {
  padding: 66px 0 100px;
}

.page-intro {
  max-width: var(--shell);
}

.page-intro h1 {
  max-width: 980px;
}

.page-lede {
  color: var(--green);
  font-weight: 800;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 68px;
}

.partner-card {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-rows: 250px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.025), transparent 45%),
    var(--panel);
  transition:
    border-color var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.partner-card:hover {
  border-color: #455047;
  transform: translateY(-3px);
}

.partner-index {
  position: absolute;
  top: 18px;
  right: 19px;
  z-index: 2;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.partner-logo-wrap {
  display: grid;
  place-items: center;
  padding: 32px 42px 18px;
}

.partner-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.partner-logo-reunion {
  height: 205px;
}

.partner-logo-sainte {
  height: 188px;
}

.partner-logo-edena {
  height: 88px;
}

.partner-logo-seychelles {
  height: 116px;
}

.partner-copy {
  align-self: end;
  min-height: 178px;
  border-top: 1px solid var(--line);
  padding: 24px 26px 28px;
}

.partner-handle {
  margin: 0 0 10px !important;
  color: var(--green) !important;
  font-size: 11px !important;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-copy h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.partner-copy > p:last-child {
  max-width: 480px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.collaboration-cta {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  margin-top: 68px;
  border-top: 2px solid var(--green);
  border-bottom: 1px solid var(--line);
}

.collaboration-cta h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.primary-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #050705;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(121, 255, 19, 0.16);
}

/* Bouton collaborations dans le flux : il ne recouvre jamais les réseaux */
.collab-trigger-row {
  display: flex;
  justify-content: flex-end;
  padding-block: 8px 18px;
}

/* Fenêtre collaborations : petite, discrète, trace verticale GPX */
.collab-trigger {
  position: relative;
  z-index: 4;
  border: 1px solid #4a514b;
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.9);
  color: #bbc0ba;
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    border-color var(--t-fast) ease,
    color var(--t-fast) ease,
    transform var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

.collab-trigger:hover,
.collab-trigger:focus-visible {
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(121, 255, 19, 0.16);
}

.collab-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 20px;
  backdrop-filter: blur(8px);
}

.collab-popup {
  width: min(390px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid #394039;
  border-top: 3px solid var(--red);
  border-radius: 18px;
  background: #090c0a;
  padding: 20px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  animation: rise-in var(--t-med) var(--ease-trail) both;
}

.collab-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.collab-popup h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 3vw, 22px);
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.collab-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color var(--t-fast) ease,
    transform var(--t-fast) ease;
}

.collab-close:hover,
.collab-close:focus-visible {
  border-color: var(--red);
  transform: rotate(90deg);
}

/* La trace rouge devient une vraie trace GPS pointillée */
.collaboration-trail {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-left: 24px;
}

.collaboration-trail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: var(--trace-red-v);
  box-shadow: 0 0 12px rgba(255, 37, 52, 0.55);
}

.collaboration-stop {
  position: relative;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 7px 8px;
}

.collaboration-stop::before {
  content: "";
  position: absolute;
  left: -22px;
  width: 10px;
  height: 10px;
  border: 2px solid #090c0a;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px rgba(255, 37, 52, 0.78);
}

.collaboration-stop:hover::before {
  animation: waypoint-pulse-red 620ms var(--ease-trail) 1;
}

.popup-logo {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.popup-logo-reunion {
  height: 76px;
}

.popup-logo-sainte {
  height: 58px;
}

.popup-logo-seychelles {
  height: 46px;
}

.collab-proposal-button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid #ff6670;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition:
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.collab-proposal-button:hover,
.collab-proposal-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 37, 52, 0.22);
}

/* ------------------------------------------------------------
   Pages 3 secondes chrono
   ------------------------------------------------------------ */
.chrono-page,
.chrono-video-page,
.chrono-answer-page {
  min-height: calc(100vh - 192px);
  padding: 66px 0 100px;
}

.chrono-intro h1,
.chrono-video-head h1,
.chrono-answer-card h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.chrono-intro > p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.chrono-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 62px;
}

.chrono-choice-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr auto;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 75% 20%, rgba(121, 255, 19, 0.09), transparent 45%),
    var(--panel);
  padding: 24px;
  transition:
    border-color var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.chrono-choice-card:nth-child(2) {
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 37, 52, 0.11), transparent 45%),
    var(--panel);
}

.chrono-choice-card:hover,
.chrono-choice-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-4px);
}

.chrono-choice-number {
  grid-column: 1 / -1;
  align-self: start;
  color: var(--green);
  font-size: 88px;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.chrono-choice-title {
  font-size: 18px;
  font-weight: 900;
}

.chrono-choice-arrow {
  color: var(--green);
  font-size: 28px;
  font-weight: 950;
  animation: arrow-nudge 2.7s ease-in-out infinite;
}

.chrono-video-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 52px;
}

.reel-frame {
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.reel-frame iframe {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
}

.reel-poster-frame {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 2px solid var(--red);
  border-radius: 18px;
  background: var(--black);
  box-shadow:
    0 0 0 1px rgba(121, 255, 19, 0.34),
    0 20px 55px rgba(0, 0, 0, 0.34);
}

.reel-poster-image {
  object-fit: contain !important;
  object-position: center !important;
}

.reel-poster-stack {
  width: min(100%, 360px);
}

.reel-poster-stack .reel-poster-frame {
  display: block;
  width: 100%;
  border-radius: 18px 18px 0 0;
}

.reel-button-attached {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--button-video, var(--red));
  border-top: 0;
  border-radius: 0 0 13px 13px;
  background: var(--button-video, var(--red));
  color: var(--white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition:
    background var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

.reel-button-attached:hover,
.reel-button-attached:focus-visible {
  background: #ff4653;
  box-shadow: 0 10px 28px rgba(255, 37, 52, 0.2);
}

.chrono-video-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.chrono-video-actions > p {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.chrono-answer-pending {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--red);
  border-radius: 10px;
  padding: 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.reel-external-link {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chrono-answer-card {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.answer-coordinates {
  margin: 34px 0;
  color: var(--green);
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.answer-pending-copy {
  margin: 28px 0 0;
  color: var(--muted);
}

.answer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.answer-links a {
  padding-bottom: 5px;
}

.answer-city {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chrono-direct {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  margin-top: 46px;
}

.chrono-direct .maps-button {
  justify-self: start;
}

/* Rangée 3 secondes : rail horizontal, dégradé de bord = envie d'aller voir */
.chrono-poster-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  margin-top: 42px;
  padding-block: 8px 24px;
  scrollbar-color: rgba(255, 37, 52, 0.48) transparent;
}

.chrono-poster-card {
  width: clamp(178px, 21vw, 228px);
  flex: 0 0 auto;
}

.chrono-poster-link {
  position: relative;
  aspect-ratio: 9 / 16;
  display: block;
  overflow: hidden;
  border: 2px solid var(--red);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 0 16px rgba(255, 37, 52, 0.13);
  transition:
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.chrono-poster-card:first-child .chrono-poster-link {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(121, 255, 19, 0.17);
}

.chrono-poster-link img {
  object-fit: cover;
}

.chrono-poster-link:hover,
.chrono-poster-link:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 22px rgba(121, 255, 19, 0.22);
  transform: translateY(-3px);
}

.chrono-poster-card .maps-button {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding-inline: 10px;
  font-size: 11px;
}

/* ------------------------------------------------------------
   Pages GPX + formulaires
   ------------------------------------------------------------ */
.gpx-page {
  padding: 66px 0 100px;
}

.gpx-heading {
  max-width: 1000px;
}

.gpx-heading h1 {
  font-size: clamp(42px, 6.8vw, 82px);
}

.gpx-title,
.title-with-emoji {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 0.18em;
}

.gpx-title > span:first-child,
.gpx-title > span:last-child,
.title-with-emoji > span:last-child {
  white-space: nowrap;
}

.gpx-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: start;
  margin-top: 58px;
}

.gpx-layout-form-only {
  display: block;
  width: min(760px, 100%);
  margin-inline: auto;
}

.gpx-layout-form-only .form-panel {
  width: 100%;
}

.route-figure {
  position: sticky;
  top: 26px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--green);
  border-radius: 18px;
  background: var(--panel);
}

.route-figure img {
  display: block;
  width: 100%;
  height: min(68vh, 700px);
  object-fit: cover;
  object-position: center;
}

.route-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.route-figure figcaption span {
  color: var(--green);
}

.ultra-route-figure {
  border-color: var(--red);
}

.ultra-route-figure img {
  object-fit: cover;
  object-position: center;
}

.form-panel {
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 37, 52, 0.055), transparent 14rem),
    rgba(13, 16, 14, 0.97);
  padding: clamp(24px, 4vw, 42px);
}

.form-kicker {
  max-width: 640px;
  margin: 0 0 32px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.gpx-form {
  display: grid;
  gap: 24px;
}

.gpx-form .form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.gpx-form label:not(.consent-row) {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(164, 170, 164, 0.12);
  border-radius: 12px;
  background: rgba(5, 7, 6, 0.42);
  padding: 13px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.4;
  transition: border-color var(--t-fast) ease;
}

.gpx-form label:not(.consent-row):focus-within {
  border-color: rgba(121, 255, 19, 0.42);
}

.gpx-form em {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.gpx-form input:not([type="checkbox"]),
.gpx-form select,
.gpx-form textarea {
  width: 100%;
  border: 1px solid #3a433d;
  border-radius: 9px;
  outline: none;
  background: var(--panel-light);
  color: var(--white);
  padding: 13px 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.gpx-form input:not([type="checkbox"]):focus,
.gpx-form select:focus,
.gpx-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(121, 255, 19, 0.15);
}

.gpx-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  cursor: pointer;
}

.gpx-form select option {
  background: var(--panel);
  color: var(--white);
}

.gpx-form .short-input {
  max-width: 170px;
}

.gpx-form textarea {
  min-height: 120px;
  resize: vertical;
}

.consent-row {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.form-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  animation: button-breathe 3.4s ease-in-out infinite;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  animation: none;
}

.form-error {
  margin: -8px 0 0;
  border-left: 3px solid var(--red);
  color: #ffadb3;
  padding: 3px 0 3px 12px;
  font-size: 12px;
  line-height: 1.5;
}

.validation-message {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border: 1px solid var(--green);
  border-radius: 14px;
  background: rgba(121, 255, 19, 0.055);
  padding: 22px;
  animation: rise-in var(--t-med) var(--ease-trail) both;
}

.validation-message > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--black);
  font-size: 22px;
  font-weight: 950;
}

.validation-message strong {
  color: var(--green);
  font-size: 20px;
}

.validation-message p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.validation-message button {
  grid-column: 2;
  justify-self: start;
  border: 0;
  border-bottom: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  padding: 3px 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.guide-ready .pdf-download-button {
  grid-column: 2;
}

.pdf-download-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ff6570;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 950;
  animation: button-breathe 3.1s ease-in-out infinite;
  transition:
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.pdf-download-button:hover,
.pdf-download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(255, 37, 52, 0.22);
}

/* ------------------------------------------------------------
   Index des longues aventures
   ------------------------------------------------------------ */
.traces-page {
  min-height: calc(100vh - 192px);
  padding: 66px 0 100px;
}

.traces-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.traces-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(820px, 100%);
  margin-top: 48px;
}

.trace-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  min-height: 220px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition:
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.trace-card-green {
  border-color: var(--green);
}

.trace-card-red {
  border-color: var(--red);
}

.trace-card:hover,
.trace-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.trace-card-image {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--black);
}

.trace-card-image img {
  object-fit: cover;
}

.trace-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 22px;
}

.trace-card-copy strong {
  font-size: clamp(21px, 2.6vw, 31px);
  font-weight: 930;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.trace-card-copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

/* Mini-timeline Instagram : la trace rouge devient une trace GPS
   pointillée, avec un point de position vert qui la parcourt. */
.adventure-reels {
  position: relative;
  isolation: isolate;
  width: min(860px, 100%);
  margin: 30px auto 0;
}

.adventure-reels::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  z-index: -1;
  height: 3px;
  border-radius: 999px;
  background: var(--trace-red);
  box-shadow: 0 0 13px rgba(255, 37, 52, 0.4);
  transform: translateY(-50%) rotate(-0.7deg);
}

.adventure-reels::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: calc(50% - 5px);
  z-index: -1;
  height: 10px;
  background-image: radial-gradient(
    circle 4px at center,
    var(--green) 0 3.2px,
    rgba(121, 255, 19, 0.35) 3.2px 4.6px,
    transparent 5px
  );
  background-repeat: no-repeat;
  background-size: 12px 10px;
  animation: dot-travel 8.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  transform: rotate(-0.7deg);
  pointer-events: none;
}

.adventure-reel-line {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: clamp(18px, 3vw, 34px);
  overflow-x: auto;
  padding: 10px 12px 15px;
  scrollbar-color: rgba(121, 255, 19, 0.38) transparent;
}

.adventure-reel-thumb {
  position: relative;
  width: clamp(60px, 7.2vw, 88px);
  aspect-ratio: 9 / 16;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid var(--red);
  border-radius: 10px;
  background: var(--black);
  box-shadow: 0 0 11px rgba(255, 37, 52, 0.12);
  transition:
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.adventure-reel-thumb img {
  object-fit: cover;
}

.adventure-reel-thumb:hover,
.adventure-reel-thumb:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 17px rgba(121, 255, 19, 0.22);
  transform: translateY(-3px);
}

/* ------------------------------------------------------------
   Lieux (spots)
   ------------------------------------------------------------ */
.places-page,
.place-detail-page {
  min-height: calc(100vh - 192px);
  padding: 66px 0 100px;
}

.places-intro {
  display: grid;
  justify-items: start;
}

.places-intro h1 {
  max-width: 1020px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.spots-intro-note {
  max-width: 760px;
  margin-top: 28px;
  border: 1px solid rgba(121, 255, 19, 0.34);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  background: rgba(16, 20, 17, 0.78);
  color: #c5cac4;
  padding: 17px 19px;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 720;
  line-height: 1.55;
  text-align: left;
}

/* Carrousel : une seule ligne, bords fondus pour inviter au geste */
.spots-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  overflow-x: auto;
  margin-top: 48px;
  padding: 8px 3px 22px;
  scroll-padding-inline: 3px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(255, 37, 52, 0.48) transparent;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18px,
    #000 calc(100% - 26px),
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 18px,
    #000 calc(100% - 26px),
    transparent
  );
}

.spot-rail-item {
  width: clamp(158px, 16.5vw, 190px);
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.spot-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--red);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: 0 0 14px rgba(255, 37, 52, 0.12);
  transition:
    transform var(--t-fast) var(--ease-trail),
    border-color var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

.spot-card:hover,
.spot-card:focus-visible,
.spot-card:active {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow:
    0 14px 38px rgba(121, 255, 19, 0.1),
    0 0 18px rgba(121, 255, 19, 0.2);
}

.spot-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 37, 52, 0.46);
  background: var(--black);
}

.spot-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  filter: saturate(0.98) contrast(1.02) brightness(0.94);
  transition: filter 220ms ease;
}

.spot-order-badge {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  border: 1px solid rgba(121, 255, 19, 0.78);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.9);
  padding: 5px 8px 4px;
  color: var(--white);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
}

.spot-rail-item:nth-child(even) .spot-order-badge {
  border-color: rgba(255, 37, 52, 0.82);
}

.spot-card:hover .spot-thumb-image,
.spot-card:focus-visible .spot-thumb-image {
  filter: saturate(1.06) contrast(1.03) brightness(0.96);
}

.spot-card-copy {
  position: relative;
  min-height: 78px;
  display: block;
  padding: 14px 42px 15px 15px;
}

.spot-card-meta {
  display: block;
  overflow: hidden;
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.spot-card .spot-city-handwritten {
  display: block;
  margin-top: 0;
  color: var(--white);
  font-family: "Aventurier Manuscrit", "Segoe Print", cursive;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.spot-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 15px;
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
  animation: arrow-nudge 2.7s ease-in-out infinite;
}

.spots-guide-bottom {
  display: flex;
  justify-content: center;
  padding: 50px 0 8px;
}

.spots-guide-bottom-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-guide, var(--green));
  border-radius: 11px;
  background: var(--button-guide, var(--green));
  color: var(--black);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 900;
  animation: button-breathe 3.2s ease-in-out infinite;
  transition:
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.spots-guide-bottom-button:hover,
.spots-guide-bottom-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(255, 37, 52, 0.22);
}

/* Anciennes cartes lieux (compatibilité) */
.places-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.place-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(121, 255, 19, 0.1), transparent 38%),
    var(--panel);
  padding: 25px;
  transition:
    transform var(--t-fast) var(--ease-trail),
    border-color var(--t-fast) ease;
}

.place-card:hover,
.place-card:focus-visible {
  border-color: var(--green);
  transform: translateY(-4px);
}

.place-card-pending {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 37, 52, 0.09), transparent 38%),
    var(--panel);
}

.place-card-pending:hover {
  border-color: var(--line);
  transform: none;
}

.place-city {
  color: var(--green);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.place-card strong {
  max-width: 520px;
  margin-top: 76px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.place-tags {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.place-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--green);
  font-size: 26px;
}

/* ------------------------------------------------------------
   Fiche spot
   ------------------------------------------------------------ */
.place-detail-head h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(48px, 8vw, 94px);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.place-detail-head .spot-city-title {
  max-width: 930px;
  color: var(--white);
  font-family: "Aventurier Manuscrit", "Segoe Print", cursive;
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.spot-page-copy {
  width: min(100%, 820px);
  margin-top: 28px;
  border: 1px solid rgba(121, 255, 19, 0.4);
  border-left: 4px solid var(--red);
  border-radius: var(--card-radius, 18px);
  background: rgba(16, 20, 17, 0.88);
  padding: clamp(18px, 3vw, 28px);
}

.spot-page-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 920;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.spot-page-copy p {
  max-width: 68ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 1.65vw, 17px);
  font-weight: 650;
  line-height: 1.6;
}

.spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.spot-tag {
  border: 1px solid rgba(121, 255, 19, 0.38);
  border-radius: 999px;
  background: rgba(121, 255, 19, 0.05);
  color: var(--green);
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.detail-tags span {
  border: 1px solid #394039;
  border-radius: 999px;
  color: var(--muted);
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
}

.place-detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 54px;
}

.place-detail-info {
  display: grid;
  justify-items: start;
  gap: 30px;
  width: 100%;
  border: 1px solid rgba(164, 170, 164, 0.15);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(121, 255, 19, 0.025), transparent 44%),
    rgba(13, 16, 14, 0.76);
  padding: clamp(19px, 3vw, 30px);
}

.place-coordinate {
  margin: 0;
  color: var(--green);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.spot-access {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spot-access li {
  border-left: 2px solid var(--green);
  color: var(--muted);
  padding-left: 13px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.spot-map-previews {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.spot-guide-recap-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1.5px solid var(--button-guide, var(--green));
  border-radius: 10px;
  background: rgba(121, 255, 19, 0.035);
  color: var(--button-guide, var(--green));
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  transition:
    transform var(--t-fast) var(--ease-trail),
    background var(--t-fast) ease,
    box-shadow var(--t-fast) ease;
}

.spot-guide-recap-link:hover,
.spot-guide-recap-link:focus-visible {
  background: rgba(121, 255, 19, 0.09);
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(121, 255, 19, 0.12),
    0 0 16px rgba(121, 255, 19, 0.15);
}

.spot-map-pending {
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  padding: 13px 15px;
  font-size: 12px;
  font-weight: 800;
}

/* Carte locale statique : aucun lien, aucune géolocalisation exposée */
.map-snapshot {
  position: relative;
  width: min(100%, 650px);
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 15px;
  background: #cfeadb;
  box-shadow:
    0 0 0 1px rgba(255, 37, 52, 0.28),
    0 17px 38px rgba(0, 0, 0, 0.24);
  margin: 0;
}

.map-snapshot img {
  object-fit: cover;
}

.map-snapshot-variant-1 img {
  object-position: 64% 44%;
}

.map-snapshot-variant-2 img {
  object-position: 36% 58%;
}

.map-snapshot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 6, 0.66), transparent 42%);
  pointer-events: none;
}

.map-snapshot-city,
.map-snapshot-credit {
  position: absolute;
  z-index: 1;
  bottom: 11px;
  border-radius: 7px;
  backdrop-filter: blur(9px);
}

.map-snapshot-city {
  left: 11px;
  background: rgba(5, 7, 6, 0.82);
  color: var(--white);
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 900;
}

.map-snapshot-credit {
  right: 11px;
  border: 1px solid rgba(245, 247, 242, 0.26);
  background: rgba(5, 7, 6, 0.76);
  color: #e9ede8;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 850;
}

/* ------------------------------------------------------------
   Guide express 2.8.0 (récapitulatif)
   ------------------------------------------------------------ */
.spot-guide-page {
  min-height: calc(100vh - 192px);
  padding: 66px 0 100px;
}

.spot-guide-heading {
  max-width: 950px;
}

.spot-guide-heading h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.spot-guide-heading > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.spot-guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  align-items: start;
  margin-top: 52px;
}

.guide-cover {
  position: sticky;
  top: 24px;
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--red);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 0 24px rgba(255, 37, 52, 0.12);
}

.guide-cover img {
  display: block;
  width: 100%;
  height: min(68vh, 680px);
  object-fit: cover;
  object-position: top center;
}

.guide-cover figcaption {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  color: var(--green);
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

/* ------------------------------------------------------------
   Révélation à l'entrée dans le viewport
   (amélioration progressive, sans décalage de mise en page)
   ------------------------------------------------------------ */
@supports (animation-timeline: view()) {
  .menu-card,
  .spot-rail-item,
  .trace-card,
  .partner-card,
  .chrono-choice-card,
  .chrono-poster-card,
  .mini-logo-card,
  .form-panel,
  .place-detail-info {
    animation: rise-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  .main-nav a:first-child,
  .main-nav a:last-child {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding-block: 56px 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-lede {
    margin-inline: auto;
  }

  .orbit-stage {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .home-intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .home-intro blockquote {
    position: static;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-card {
    min-height: 132px;
  }

  .proof-heading,
  .chrono-home-inner,
  .collaboration-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .mini-logo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gpx-layout {
    grid-template-columns: 1fr;
  }

  .chrono-choice-grid {
    grid-template-columns: 1fr;
  }

  .chrono-choice-card {
    min-height: 220px;
  }

  .chrono-video-layout {
    grid-template-columns: 1fr;
  }

  .reel-frame {
    width: min(430px, 100%);
  }

  .route-figure {
    position: relative;
    top: auto;
  }

  .route-figure img {
    height: min(68vh, 620px);
  }

  .place-detail-layout {
    grid-template-columns: 1fr;
  }

  .place-detail-info {
    padding: 18px;
  }

  .map-snapshot {
    width: 100%;
  }

  .chrono-direct {
    grid-template-columns: 1fr;
  }

  .spot-guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-cover {
    position: static;
    width: min(420px, 100%);
  }

  .reel-poster-stack {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .menu-card {
    min-height: 94px;
  }

  .traces-grid {
    grid-template-columns: 1fr;
  }

  .trace-card {
    grid-template-columns: 104px 1fr;
    min-height: 190px;
  }

  .trace-card-image {
    min-height: 190px;
  }

  .chrono-poster-row {
    justify-content: flex-start;
  }

  .adventure-reel-line {
    justify-content: flex-start;
    gap: 20px;
    padding-inline: 16px;
  }

  .presentation {
    padding: 22px 18px;
  }

  .spots-grid {
    width: calc(100% - 20px);
    margin-left: 20px;
    margin-right: 0;
    padding-right: 20px;
  }

  .spot-rail-item {
    width: min(46vw, 174px);
  }

  .spots-guide-cta,
  .spots-guide-bottom-button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-socials {
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-avatar {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark {
    gap: 5px;
    font-size: 10px;
  }

  .brand-aventurier {
    padding: 5px 6px;
  }

  .brand-strategique {
    transform: translateY(-10px);
  }

  .main-nav {
    gap: 0;
    font-size: 10px;
  }

  .main-nav a:nth-child(1),
  .main-nav a:nth-child(3),
  .main-nav a:nth-child(4) {
    display: none;
  }

  .main-nav a:nth-child(2) {
    border: 1px solid var(--green);
    border-radius: 999px;
    padding: 8px 10px;
    color: var(--green);
  }

  .hero-copy h1,
  .page-intro h1,
  .gpx-heading h1 {
    font-size: clamp(41px, 13vw, 66px);
  }

  .gpx-heading .gpx-title {
    font-size: clamp(32px, 9.1vw, 46px);
  }

  .places-intro .title-with-emoji,
  .traces-heading .title-with-emoji {
    font-size: clamp(31px, 9vw, 46px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .orbit-stage {
    min-height: 450px;
    gap: 150px;
    padding-block: 38px;
  }

  .orbit-red {
    width: 250px;
    height: 250px;
  }

  .orbit-green {
    width: 305px;
    height: 305px;
  }

  .action-card {
    min-height: 90px;
    gap: 12px;
    padding: 12px;
  }

  .gpx-thumb {
    width: 66px;
    height: 55px;
  }

  .action-copy strong {
    font-size: 14px;
  }

  .action-arrow {
    font-size: 22px;
  }

  .home-intro {
    padding-block: 48px 48px;
  }

  .presentation {
    padding-left: 20px;
  }

  .presentation p {
    font-size: 17px;
  }

  .menu-card {
    min-height: 108px;
    padding: 18px 48px 18px 17px;
  }

  .menu-card strong {
    font-size: 19px;
  }

  .about-home {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 12px 64px;
  }

  .about-home-kicker {
    margin: 0;
  }

  .about-home-copy h2 {
    font-size: 25px;
  }

  .about-home-copy p {
    margin-top: 20px;
    font-size: 17px;
  }

  .proof-section {
    padding-block: 54px 60px;
  }

  .proof-heading h2 {
    font-size: 39px;
  }

  .proof-heading {
    align-items: flex-start;
  }

  .text-link {
    white-space: normal;
  }

  .mini-logo-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mini-logo-card {
    min-height: 116px;
    padding: 13px;
  }

  .mini-logo-reunion {
    height: 80px;
  }

  .mini-logo-sainte {
    height: 78px;
  }

  .mini-logo-edena {
    height: 36px;
  }

  .mini-logo-seychelles {
    height: 46px;
  }

  .footer-inner {
    min-height: 94px;
    display: grid;
    gap: 7px;
    align-content: center;
  }

  .back-link {
    margin-bottom: 40px;
  }

  .collaborations-page,
  .chrono-page,
  .chrono-video-page,
  .chrono-answer-page,
  .gpx-page,
  .places-page,
  .place-detail-page,
  .spot-guide-page {
    padding-top: 44px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .partner-card {
    min-height: 410px;
    grid-template-rows: 220px 1fr;
  }

  .partner-logo-reunion {
    height: 185px;
  }

  .partner-logo-sainte {
    height: 160px;
  }

  .collaboration-cta {
    min-height: 300px;
    justify-content: center;
    padding-block: 48px;
  }

  .primary-button {
    width: 100%;
  }

  .chrono-home-inner {
    min-height: 330px;
    justify-content: center;
    padding-block: 48px;
  }

  .chrono-home-button,
  .chrono-answer-button,
  .maps-button {
    width: 100%;
  }

  .history-link-section {
    min-height: 150px;
  }

  .chrono-choice-grid {
    margin-top: 42px;
  }

  .chrono-choice-number {
    font-size: 70px;
  }

  .reel-frame,
  .reel-frame iframe {
    min-height: 590px;
    height: 590px;
  }

  .chrono-answer-card {
    min-height: 520px;
  }

  .gpx-layout {
    margin-top: 42px;
  }

  .route-figure img {
    height: 530px;
  }

  .form-panel {
    padding: 23px 18px;
  }

  .form-kicker {
    font-size: 28px;
  }

  .collab-popup {
    width: min(360px, 100%);
    padding: 17px;
  }

  .popup-logo-reunion {
    height: 66px;
  }

  .popup-logo-sainte {
    height: 52px;
  }

  .popup-logo-seychelles {
    height: 41px;
  }

  .place-card {
    min-height: 280px;
  }

  .collab-trigger {
    right: auto;
    bottom: auto;
    max-width: none;
    line-height: 1.2;
    text-align: center;
  }

  .spots-grid {
    gap: 8px;
    margin-top: 34px;
  }

  .spot-map-previews {
    grid-template-columns: 1fr;
  }

  .spot-thumb {
    aspect-ratio: 9 / 16;
  }

  .spot-card-copy {
    min-height: 72px;
    padding: 14px 36px 15px 13px;
  }

  .spot-card-meta {
    font-size: 8px;
  }

  .spot-card .spot-city-handwritten {
    font-size: 14px;
  }

  .spot-card-arrow {
    right: 12px;
    bottom: 13px;
    font-size: 19px;
  }

  .chrono-direct .reel-frame,
  .chrono-direct .reel-frame iframe {
    width: 100%;
  }

  .chrono-direct .maps-button {
    width: 100%;
  }

  .spot-guide-recap-link {
    width: 100%;
  }

  .reel-poster-frame {
    width: min(100%, 320px);
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------
   Mouvement réduit : tout s'arrête, tout reste lisible
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .adventure-reels::after {
    display: none;
  }
}


/* Export statique GitHub : compléments sans analytique ni bandeau cookies. */
[hidden]{display:none!important}
img{max-width:100%}
.spot-thumb-image,.reel-poster-image,.chrono-poster-link img,.trace-card-image img,.adventure-reel-thumb img,.map-snapshot img{display:block;width:100%;height:100%;object-fit:cover}
.brand-avatar{object-fit:cover}
.collab-backdrop[hidden]{display:none!important}
.form-error[hidden]{display:none!important}
.validation-message{min-height:220px}
@media(max-width:680px){.main-nav a:first-child{display:none}.header-inner{gap:12px}.brand-wordmark{font-size:12px}}

/* === BETA ACCUEIL · FRAGMENTS SYMBOLIQUES === */
.home-page-beta {
  position: relative;
  isolation: isolate;
}

.home-page-beta::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 84px;
  bottom: 0;
  left: 50%;
  width: 2px;
  pointer-events: none;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    180deg,
    var(--red) 0 5px,
    transparent 5px 10px,
    var(--green) 10px 15px,
    transparent 15px 20px
  );
  background-position: 0 0;
  opacity: 0.18;
  animation: milestone-trace 10s linear infinite;
}

.home-page-beta > * {
  position: relative;
  z-index: 1;
}

.milestones {
  padding-block: 76px 92px;
}

.milestones-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.milestones-heading h2 {
  margin: 0;
  color: #e8ede7;
  font-family: "Aventurier Manuscrit", "Segoe Print", cursive;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  rotate: -0.7deg;
}

.milestones-list {
  position: relative;
  display: grid;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.milestones-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  bottom: -22px;
  width: 3px;
  translate: -50% 0;
  background: repeating-linear-gradient(
    180deg,
    var(--red) 0 6px,
    transparent 6px 10px,
    var(--green) 10px 16px,
    transparent 16px 20px
  );
  background-position: 0 0;
  opacity: 0.92;
  animation: milestone-trace 7s linear infinite;
}

@keyframes milestone-trace {
  to {
    background-position: 0 80px;
  }
}

.milestone-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
}

.milestone-node {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 11px;
  height: 11px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(255, 37, 52, 0.5);
}

.milestone-item:nth-child(even) .milestone-node {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green), 0 0 18px rgba(121, 255, 19, 0.42);
}

.milestone-card {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(200px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 18px;
  min-height: 258px;
  overflow: hidden;
  border: 1px solid rgba(255, 37, 52, 0.58);
  border-left: 3px solid var(--red);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 37, 52, 0.075), transparent 46%),
    rgba(13, 16, 14, 0.97);
  padding: 16px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.23);
  transition:
    transform var(--t-fast) var(--ease-trail),
    border-color var(--t-fast) ease,
    box-shadow var(--t-med) ease;
}

.milestone-item:nth-child(even) .milestone-card {
  grid-column: 3;
  border-color: rgba(121, 255, 19, 0.54);
  border-left-color: var(--green);
  background:
    linear-gradient(135deg, rgba(121, 255, 19, 0.06), transparent 46%),
    rgba(13, 16, 14, 0.97);
}

.milestone-card:hover,
.milestone-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--white);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34);
}

.milestone-lockup {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.milestone-poster {
  position: relative;
  width: clamp(92px, 8.2vw, 108px);
  flex: 0 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 37, 52, 0.72);
  border-radius: 12px;
  background: var(--black);
}

.milestone-item:nth-child(even) .milestone-poster {
  border-color: rgba(121, 255, 19, 0.72);
}

.milestone-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease-trail);
}

.milestone-card:hover .milestone-poster img,
.milestone-card:focus-visible .milestone-poster img {
  transform: scale(1.025);
}

.milestone-media-label {
  position: absolute;
  left: 6px;
  bottom: 6px;
  border-radius: 5px;
  background: rgba(5, 7, 6, 0.88);
  padding: 4px 6px;
  color: var(--white);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.milestone-cross {
  flex: 0 0 auto;
  color: #727a73;
  font-size: 16px;
  font-weight: 900;
}

.milestone-partner {
  min-width: 0;
  width: 88px;
  flex: 0 1 88px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
}

.milestone-partner-logo {
  width: 96px;
  flex-basis: 96px;
}

.milestone-partner img {
  width: 100%;
  max-height: 96px;
  display: block;
  object-fit: contain;
}

.milestone-partner-reunion {
  width: 108px;
  flex-basis: 108px;
}

.milestone-partner-seychelles {
  width: 94px;
  flex-basis: 94px;
}

.milestone-partner-word {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.035em;
}

.milestone-linfo {
  color: #ff5c68;
}

.milestone-france3 {
  width: 98px;
  flex: 0 0 98px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--white);
  text-transform: lowercase;
}

.milestone-france3 span {
  font-size: 20px;
  font-weight: 900;
}

.milestone-france3 b {
  color: #53b9ff;
  font-size: 39px;
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.milestone-card-france3 {
  grid-template-columns: minmax(0, 1.18fr) minmax(150px, 0.82fr);
}

.milestone-lockup-france3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  width: 100%;
}

.milestone-poster-youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.milestone-poster-youtube img {
  object-fit: cover;
}

.milestone-copy-france3 .milestone-title {
  font-size: clamp(16px, 1.45vw, 21px);
}

.milestone-lockup-solo {
  gap: 15px;
}

.milestone-stat {
  gap: 4px;
  border: 1px solid rgba(245, 247, 242, 0.08);
  border-radius: 10px;
  background: rgba(245, 247, 242, 0.055);
  padding: 11px 7px;
  line-height: 1;
}

.milestone-stat b {
  color: var(--white);
  font-size: 14px;
  font-weight: 950;
}

.milestone-stat span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
}

.milestone-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.milestone-kind {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.11em;
  line-height: 1.35;
}

.milestone-item:nth-child(even) .milestone-kind {
  color: var(--green);
}

.milestone-title {
  display: block;
  color: var(--white);
  font-size: clamp(18px, 1.75vw, 24px);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.milestone-description {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.milestone-action {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 5px;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-image: var(--trace-red);
  background-repeat: no-repeat;
  background-position: left 100%;
  background-size: 100% 2px;
}

.milestone-item:nth-child(even) .milestone-action {
  background-image: var(--trace-green);
}

.home-page-beta .footer-ps {
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
  font-weight: 850;
  box-shadow: 0 0 24px rgba(121, 255, 19, 0.24);
}

.home-page-beta .footer-ps span {
  color: var(--red);
  font-weight: 950;
}

.home-page-beta .footer-inner {
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding-block: 19px;
}

.home-page-beta .footer-socials {
  width: 100%;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 7px;
}

.home-page-beta .footer-social {
  min-width: 0;
  flex: 0 1 142px;
  justify-content: center;
  padding: 7px 8px;
  font-size: 9px;
}

.home-page-beta .footer-social small {
  font-size: 7px;
}

@media (max-width: 920px) {
  .home-page-beta::before {
    left: 25px;
    transform: none;
  }

  .milestones {
    padding-block: 62px 78px;
  }

  .milestones-list::before {
    left: 11px;
    translate: 0;
  }

  .milestone-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .milestone-node,
  .milestone-item:nth-child(even) .milestone-node {
    grid-column: 1;
  }

  .milestone-card,
  .milestone-item:nth-child(even) .milestone-card {
    grid-column: 2;
    width: calc(100% - 8px);
  }

  .milestone-item:nth-child(odd) .milestone-card {
    margin-right: 8px;
  }

  .milestone-item:nth-child(even) .milestone-card {
    margin-left: 8px;
  }
}

@media (max-width: 620px) {
  .milestones-heading {
    margin: 0 0 32px 28px;
    text-align: left;
  }

  .milestones-heading h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .milestones-list {
    gap: 19px;
  }

  .milestone-card,
  .milestone-item:nth-child(even) .milestone-card {
    grid-template-columns: minmax(132px, 0.9fr) minmax(0, 1.1fr);
    gap: 11px;
    min-height: 218px;
    border-radius: 14px;
    padding: 11px;
  }

  .milestone-lockup {
    gap: 5px;
  }

  .milestone-poster {
    width: clamp(78px, 22vw, 90px);
    border-radius: 9px;
  }

  .milestone-partner {
    width: 46px;
    flex-basis: 46px;
  }

  .milestone-partner-logo {
    width: 62px;
    flex-basis: 62px;
  }

  .milestone-partner-reunion {
    width: 70px;
    flex-basis: 70px;
  }

  .milestone-partner-seychelles {
    width: 62px;
    flex-basis: 62px;
  }

  .milestone-partner img {
    max-height: 68px;
  }

  .milestone-cross {
    font-size: 12px;
  }

  .milestone-partner-word {
    font-size: 9px;
  }

  .milestone-stat {
    width: 45px;
    padding: 8px 3px;
  }

  .milestone-stat b {
    font-size: 10px;
  }

  .milestone-stat span {
    font-size: 7px;
  }

  .milestone-kind {
    margin-bottom: 6px;
    font-size: 7px;
  }

  .milestone-title {
    font-size: 16px;
  }

  .milestone-description {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.38;
  }

  .milestone-action {
    margin-top: 11px;
    font-size: 8px;
  }

  .milestone-card-france3,
  .milestone-item:nth-child(even) .milestone-card-france3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .milestone-lockup-france3 {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .milestone-poster-youtube {
    width: 100%;
  }

  .milestone-france3 {
    width: 64px;
    flex-basis: 64px;
  }

  .milestone-france3 span {
    font-size: 13px;
  }

  .milestone-france3 b {
    font-size: 29px;
  }

  .home-page-beta .footer-ps {
    width: min(100% - 28px, 860px);
    padding: 12px 14px;
    font-size: 10px;
  }

  .home-page-beta .footer-inner {
    width: min(100% - 20px, var(--shell));
    gap: 13px;
  }

  .home-page-beta .footer-socials {
    gap: 5px;
  }

  .home-page-beta .footer-social {
    flex: 1 1 0;
    gap: 5px;
    min-height: 38px;
    padding: 6px 5px;
    font-size: 8px;
  }

  .home-page-beta .footer-social-icon {
    width: 21px;
    height: 21px;
    font-size: 7px;
  }

  .home-page-beta .footer-social small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page-beta::before,
  .milestones-list::before {
    animation: none;
  }
}


/* === BETA ACCUEIL · UTOI, LOGOS XXL ET ÉTAPES MYSTÈRES === */
.milestone-card-brand {
  grid-template-columns: minmax(244px, 1.16fr) minmax(0, 0.84fr);
  min-height: 292px;
}

.milestone-card-brand .milestone-lockup {
  justify-content: space-evenly;
  gap: 10px;
}

.milestone-card-brand .milestone-poster {
  width: clamp(98px, 8vw, 108px);
}

.milestone-card-brand .milestone-partner-logo {
  width: clamp(122px, 10.5vw, 150px);
  flex-basis: clamp(122px, 10.5vw, 150px);
}

.milestone-card-brand .milestone-partner img {
  max-height: 132px;
}

.milestone-card-brand .milestone-partner-reunion {
  width: clamp(138px, 11.5vw, 164px);
  flex-basis: clamp(138px, 11.5vw, 164px);
}

.milestone-card-brand .milestone-partner-seychelles {
  width: clamp(126px, 10.8vw, 150px);
  flex-basis: clamp(126px, 10.8vw, 150px);
}

.milestone-linfo {
  width: 138px;
  flex: 0 0 138px;
  font-size: clamp(20px, 1.8vw, 25px);
  letter-spacing: -0.025em;
}

.milestone-partner-france3 {
  width: clamp(136px, 11.2vw, 158px);
  flex-basis: clamp(136px, 11.2vw, 158px);
}

.milestone-partner-france3 img {
  max-height: none;
}

.milestone-card-france3 {
  grid-template-columns: 1fr;
  gap: 16px;
}

.milestone-lockup-france3 {
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 12px;
}

.milestone-partner-utoi {
  width: clamp(128px, 10.5vw, 148px);
  flex-basis: clamp(128px, 10.5vw, 148px);
}

.milestone-partner-utoi img {
  max-height: 142px;
}

.milestone-ultra-stats {
  display: inline-flex;
  margin-top: 13px;
  border: 1px solid rgba(245, 247, 242, 0.16);
  border-radius: 999px;
  background: rgba(245, 247, 242, 0.065);
  padding: 7px 10px;
  color: var(--white);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.milestones-list::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 50%;
  top: -8px;
  width: 15px;
  height: 15px;
  pointer-events: none;
  transform: translateX(-50%);
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--green);
  box-shadow:
    0 0 0 2px var(--green),
    0 0 18px rgba(121, 255, 19, 0.78);
  animation: milestone-position-bubble 16s ease-in-out infinite alternate;
}

@keyframes milestone-position-bubble {
  0% {
    top: -8px;
    background: var(--red);
    box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(255, 37, 52, 0.78);
  }
  48% {
    background: var(--green);
    box-shadow: 0 0 0 2px var(--green), 0 0 20px rgba(121, 255, 19, 0.8);
  }
  100% {
    top: calc(100% - 7px);
    background: var(--red);
    box-shadow: 0 0 0 2px var(--red), 0 0 18px rgba(255, 37, 52, 0.78);
  }
}

.milestone-card-mystery {
  min-height: 180px;
  cursor: default;
  pointer-events: none;
  filter: saturate(0.72);
}

.milestone-card-mystery:hover {
  transform: none;
}

.milestone-item-mystery .milestone-node {
  background: #687069;
  box-shadow: 0 0 0 2px #687069, 0 0 15px rgba(245, 247, 242, 0.18);
}

.milestone-mystery-visual {
  justify-self: center;
  width: 92px;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(245, 247, 242, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 32% 26%, rgba(121, 255, 19, 0.42), transparent 20%),
    radial-gradient(circle at 67% 69%, rgba(255, 37, 52, 0.46), transparent 24%),
    linear-gradient(145deg, #252a26, #0b0e0c 62%);
  filter: blur(7px);
  opacity: 0.62;
}

.milestone-mystery-visual-b {
  transform: translateX(8px) rotate(2deg);
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 37, 52, 0.46), transparent 22%),
    radial-gradient(circle at 31% 76%, rgba(121, 255, 19, 0.4), transparent 22%),
    linear-gradient(25deg, #202521, #090b0a 64%);
}

.milestone-mystery-visual-c {
  transform: translateX(-7px) rotate(-2deg);
  background:
    radial-gradient(circle at 35% 34%, rgba(255, 37, 52, 0.42), transparent 25%),
    radial-gradient(circle at 74% 72%, rgba(121, 255, 19, 0.38), transparent 20%),
    linear-gradient(165deg, #242824, #080a09 66%);
}

.milestone-mystery-copy {
  display: grid;
  align-content: center;
  gap: 13px;
  width: 100%;
  filter: blur(8px);
  opacity: 0.55;
}

.milestone-mystery-copy i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5d645e, #222723);
}

.milestone-mystery-copy i:nth-child(1) {
  width: 42%;
  background: linear-gradient(90deg, var(--red), #4c262b);
}

.milestone-mystery-copy i:nth-child(2) {
  width: 88%;
}

.milestone-mystery-copy i:nth-child(3) {
  width: 63%;
  background: linear-gradient(90deg, var(--green), #304a27);
}

.milestone-card-goal {
  grid-template-columns: minmax(180px, 0.88fr) minmax(0, 1.12fr);
  min-height: 292px;
  border-color: rgba(121, 255, 19, 0.72);
  border-left-color: var(--green);
  background:
    radial-gradient(circle at 18% 50%, rgba(121, 255, 19, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(255, 37, 52, 0.07), transparent 55%),
    rgba(13, 16, 14, 0.98);
}

.milestone-goal-logo {
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  justify-self: center;
}

.milestone-goal-logo img {
  width: 100%;
  max-height: 210px;
  display: block;
  object-fit: contain;
}

.milestone-goal-copy .milestone-kind {
  color: var(--green);
}

.milestone-goal-copy .milestone-title {
  font-size: clamp(26px, 2.7vw, 38px);
}

.milestone-node-goal {
  width: 15px;
  height: 15px;
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green), 0 0 26px rgba(121, 255, 19, 0.72);
}

@media (max-width: 920px) {
  .milestones-list::after {
    left: 11px;
  }

  .milestone-card-brand {
    grid-template-columns: minmax(270px, 1.08fr) minmax(0, 0.92fr);
  }
}

@media (max-width: 620px) {
  .milestone-card-brand,
  .milestone-item:nth-child(even) .milestone-card-brand {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 14px;
  }

  .milestone-card-brand .milestone-lockup {
    min-height: 152px;
    justify-content: center;
    gap: 12px;
  }

  .milestone-card-brand .milestone-poster {
    width: 84px;
  }

  .milestone-card-brand .milestone-partner-logo,
  .milestone-card-brand .milestone-partner-reunion,
  .milestone-card-brand .milestone-partner-seychelles,
  .milestone-card-brand .milestone-partner-utoi {
    width: clamp(108px, 35vw, 132px);
    flex-basis: clamp(108px, 35vw, 132px);
  }

  .milestone-card-brand .milestone-partner img {
    max-height: 126px;
  }

  .milestone-linfo {
    width: 120px;
    flex-basis: 120px;
    font-size: 21px;
  }

  .milestone-card-france3,
  .milestone-item:nth-child(even) .milestone-card-france3 {
    grid-template-columns: 1fr;
  }

  .milestone-lockup-france3 {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 0 !important;
    gap: 9px !important;
  }

  .milestone-lockup-france3 .milestone-poster-youtube {
    width: 100%;
  }

  .milestone-lockup-france3 .milestone-partner-france3 {
    width: clamp(104px, 31vw, 122px);
    flex-basis: clamp(104px, 31vw, 122px);
  }

  .milestone-card-mystery,
  .milestone-item:nth-child(even) .milestone-card-mystery {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 152px;
  }

  .milestone-mystery-visual {
    width: 62px;
  }

  .milestone-mystery-copy {
    gap: 10px;
  }

  .milestone-mystery-copy i {
    height: 11px;
  }

  .milestone-card-goal,
  .milestone-item:nth-child(even) .milestone-card-goal {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 208px;
  }

  .milestone-goal-logo {
    width: 108px;
  }

  .milestone-goal-logo img {
    max-height: 122px;
  }

  .milestone-goal-copy .milestone-title {
    font-size: clamp(23px, 7vw, 30px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .milestones-list::after {
    display: none;
    animation: none;
  }
}


/* === PUBLICATION · AURA DES LOGOS ET SABLIER FINAL === */
.milestone-card-brand .milestone-partner {
  position: relative;
  isolation: isolate;
}

.milestone-card-brand .milestone-partner::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 6% -12%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 37, 52, 0.3) 0%, rgba(255, 37, 52, 0.13) 38%, transparent 72%);
  filter: blur(11px);
  opacity: 0.82;
}

.milestone-card-brand .milestone-partner > img {
  position: relative;
  z-index: 1;
}

.milestone-card-waiting,
.milestone-item:nth-child(even) .milestone-card-waiting {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 190px;
  cursor: default;
  pointer-events: none;
  border-color: rgba(255, 37, 52, 0.58);
  border-left-color: var(--red);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 37, 52, 0.11), transparent 38%),
    rgba(13, 16, 14, 0.97);
}

.milestone-node-waiting {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red), 0 0 22px rgba(255, 37, 52, 0.68);
}

.milestone-hourglass {
  width: clamp(78px, 7.5vw, 104px);
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 37, 52, 0.34));
}

.milestone-hourglass svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.hourglass-frame {
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
}

.hourglass-glass {
  fill: rgba(245, 247, 242, 0.025);
  stroke: rgba(245, 247, 242, 0.82);
  stroke-width: 3;
  stroke-linejoin: round;
}

.hourglass-sand,
.hourglass-drop {
  fill: var(--red);
}

.hourglass-drop {
  transform-origin: 48px 57px;
  animation: hourglass-flow 1.5s ease-in infinite;
}

@keyframes hourglass-flow {
  0% {
    transform: translateY(-8px) scale(0.72);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(12px) scale(1);
    opacity: 0;
  }
}

@media (max-width: 620px) {
  .milestone-card-waiting,
  .milestone-item:nth-child(even) .milestone-card-waiting {
    grid-template-columns: 1fr;
    min-height: 156px;
  }

  .milestone-hourglass {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hourglass-drop {
    animation: none;
  }
}


/* === PUBLICATION · LINFO, REPÈRES ET SABLIER BICOLORE === */
.milestone-card-brand .milestone-partner-linfo {
  width: clamp(142px, 12vw, 172px);
  flex-basis: clamp(142px, 12vw, 172px);
}

.milestone-card-brand .milestone-partner-linfo img {
  width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.milestone-card-waiting,
.milestone-item:nth-child(even) .milestone-card-waiting {
  gap: 12px;
  padding-block: 24px;
}

.milestone-waiting-label {
  color: var(--white);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 950;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.hourglass-frame-top,
.hourglass-sand-top {
  animation: hourglass-color-top 3.2s ease-in-out infinite;
}

.hourglass-frame-bottom,
.hourglass-sand-bottom {
  animation: hourglass-color-bottom 3.2s ease-in-out infinite;
}

.hourglass-drop {
  animation:
    hourglass-flow 1.5s ease-in infinite,
    hourglass-drop-color 3.2s ease-in-out infinite;
}

@keyframes hourglass-color-top {
  0%,
  100% {
    fill: var(--red);
    stroke: var(--red);
  }
  50% {
    fill: var(--green);
    stroke: var(--green);
  }
}

@keyframes hourglass-color-bottom {
  0%,
  100% {
    fill: var(--green);
    stroke: var(--green);
  }
  50% {
    fill: var(--red);
    stroke: var(--red);
  }
}

@keyframes hourglass-drop-color {
  0%,
  100% {
    fill: var(--red);
  }
  50% {
    fill: var(--green);
  }
}

@media (max-width: 620px) {
  .milestone-card-brand .milestone-partner-linfo {
    width: clamp(118px, 38vw, 144px);
    flex-basis: clamp(118px, 38vw, 144px);
  }

  .milestone-card-brand .milestone-partner-linfo img {
    max-height: 62px;
  }

  .milestone-waiting-label {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hourglass-frame-top,
  .hourglass-frame-bottom,
  .hourglass-sand-top,
  .hourglass-sand-bottom,
  .hourglass-drop {
    animation: none;
  }

  .hourglass-frame-top {
    stroke: var(--red);
  }

  .hourglass-frame-bottom {
    stroke: var(--green);
  }

  .hourglass-sand-top {
    fill: var(--red);
  }

  .hourglass-sand-bottom {
    fill: var(--green);
  }
}


/* === PUBLICATION · FINITION SOUVENIRS, CONTACT ET RÉSEAUX === */
/* Cartes d’entrée : le repère texte 📍 suffit, aucun point décoratif. */
.home-page-beta .menu-card::after {
  content: none;
  display: none;
}

/* La longue aventure reste visuellement équilibrée sans bloc de statistiques. */
.home-page-beta .milestone-lockup-solo {
  justify-content: center;
}

/* Le libellé final devient un vrai repère encadré. */
.home-page-beta .milestone-waiting-label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 9px;
  background: rgba(5, 7, 6, 0.9);
  padding: 9px 15px;
  animation: hourglass-label-colors 3.2s ease-in-out infinite;
}

@keyframes hourglass-label-colors {
  0%,
  100% {
    border-color: var(--red);
    box-shadow: 0 0 16px rgba(255, 37, 52, 0.2);
  }
  50% {
    border-color: var(--green);
    box-shadow: 0 0 16px rgba(121, 255, 19, 0.2);
  }
}

/* Invitation de contact : manuscrit puis bouton vivant. */
.home-page-beta .home-contact {
  min-height: 190px;
  flex-direction: column;
  gap: 17px;
  text-align: center;
}

.home-page-beta .home-contact-title {
  margin: 0;
  color: var(--white);
  font-family: "Aventurier Manuscrit", cursive;
  font-size: clamp(27px, 3.4vw, 42px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.home-page-beta .contact-button {
  animation: contact-invite 3.4s ease-in-out infinite;
}

@keyframes contact-invite {
  0%,
  36%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
    box-shadow: 0 0 0 rgba(255, 37, 52, 0);
  }
  42% {
    transform: translate3d(-2px, -1px, 0) rotate(-0.45deg);
  }
  48% {
    transform: translate3d(2px, 0, 0) rotate(0.45deg);
    box-shadow: 0 0 22px rgba(255, 37, 52, 0.25);
  }
  54% {
    transform: translate3d(-1px, 1px, 0) rotate(-0.2deg);
  }
  60% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

/* Trois réseaux, trois aplats pleins. */
.home-page-beta .footer-social {
  border-color: transparent;
  box-shadow: none;
}

.home-page-beta .footer-social-instagram,
.home-page-beta .footer-social-instagram:hover,
.home-page-beta .footer-social-instagram:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.home-page-beta .footer-social-facebook,
.home-page-beta .footer-social-facebook:hover,
.home-page-beta .footer-social-facebook:focus-visible {
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
}

.home-page-beta .footer-social-tiktok,
.home-page-beta .footer-social-tiktok:hover,
.home-page-beta .footer-social-tiktok:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.home-page-beta .footer-social small {
  color: currentColor;
  opacity: 0.78;
}

.home-page-beta .footer-social:hover,
.home-page-beta .footer-social:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

@media (max-width: 620px) {
  .home-page-beta .home-contact {
    min-height: 172px;
    gap: 14px;
  }

  .home-page-beta .home-contact-title {
    font-size: clamp(26px, 9vw, 34px);
  }

  .home-page-beta .milestone-waiting-label {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page-beta .milestone-waiting-label,
  .home-page-beta .contact-button {
    animation: none;
  }
}


/* === BÊTA · ENGAGEMENT AVANT GÉOLOCALISATION === */
.geolocation-honor-lock {
  width: 100%;
  display: grid;
  gap: 17px;
  overflow: hidden;
  border: 1px solid rgba(121, 255, 19, 0.4);
  border-left: 4px solid var(--green);
  border-radius: 15px;
  background:
    radial-gradient(circle at 8% 12%, rgba(121, 255, 19, 0.1), transparent 38%),
    linear-gradient(135deg, rgba(255, 37, 52, 0.045), transparent 58%),
    var(--black-soft);
  padding: clamp(17px, 2.8vw, 25px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition:
    border-color var(--t-med) ease,
    box-shadow var(--t-med) ease;
}

.geolocation-honor-lock[data-geo-state="unlocked"] {
  border-color: rgba(121, 255, 19, 0.92);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(121, 255, 19, 0.12);
}

.geo-honor-heading {
  display: grid;
  gap: 6px;
}

.geo-honor-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.geo-honor-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.geo-honor-check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
  border: 1px solid rgba(245, 247, 242, 0.15);
  border-radius: 11px;
  background: rgba(245, 247, 242, 0.035);
  padding: 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  transition:
    border-color var(--t-fast) ease,
    background var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.geo-honor-check:hover {
  border-color: rgba(121, 255, 19, 0.48);
  background: rgba(121, 255, 19, 0.055);
  transform: translateY(-1px);
}

.geo-honor-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.geo-honor-box {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 7px;
  background: var(--black);
  box-shadow: 0 0 14px rgba(121, 255, 19, 0.13);
  transition:
    background var(--t-fast) ease,
    border-color var(--t-fast) ease,
    transform var(--t-fast) var(--ease-trail);
}

.geo-honor-check input:focus-visible + .geo-honor-box {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.geo-honor-check input:checked + .geo-honor-box {
  border-color: var(--green);
  background: var(--green);
  transform: rotate(-3deg) scale(1.04);
}

.geo-honor-check input:checked + .geo-honor-box::after {
  content: "✓";
  color: var(--black);
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
}

.geo-map-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.geo-map-button {
  position: relative;
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid var(--green);
  border-radius: 11px;
  background: var(--green);
  padding: 12px 15px 12px 36px;
  color: var(--black);
  transition:
    filter var(--t-med) ease,
    opacity var(--t-med) ease,
    transform var(--t-fast) var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.geo-map-button::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 37, 52, 0.58);
}

.geo-map-button strong {
  font-size: 12px;
  font-weight: 950;
}

.geo-map-button span {
  font-size: 10px;
  font-weight: 850;
  opacity: 0.76;
}

.geo-map-button.is-locked {
  cursor: default;
  pointer-events: none;
  filter: blur(4px) saturate(0.35);
  opacity: 0.34;
  transform: scale(0.985);
  user-select: none;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button {
  animation: geo-link-reveal 360ms var(--ease-trail) both;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button:nth-child(2) {
  animation-delay: 55ms;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button:nth-child(3) {
  animation-delay: 110ms;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button:nth-child(4) {
  animation-delay: 165ms;
}

.geo-map-button:hover,
.geo-map-button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(121, 255, 19, 0.16),
    0 0 18px rgba(121, 255, 19, 0.17);
}

.geo-honor-status {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-honor-status {
  color: var(--green);
}

@keyframes geo-link-reveal {
  from {
    opacity: 0.2;
    transform: translateY(5px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 620px) {
  .geolocation-honor-lock {
    gap: 14px;
    border-radius: 13px;
    padding: 15px;
  }

  .geo-honor-heading h2 {
    font-size: 22px;
  }

  .geo-honor-check {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    font-size: 11px;
  }

  .geo-honor-box {
    width: 22px;
    height: 22px;
  }

  .geo-map-links {
    grid-template-columns: 1fr;
  }

  .geo-map-button {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geolocation-honor-lock,
  .geo-honor-check,
  .geo-honor-box,
  .geo-map-button,
  .geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button {
    animation: none;
    transition: none;
  }
}


/* BÊTA · Correctif Safari : le déverrouillage retire toujours le flou */
.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-button {
  filter: none !important;
  opacity: 1 !important;
  transform: none;
  animation: none !important;
}


/* PUBLICATION · LA CAPTURE ET SON BOUTON SE DÉVERROUILLENT ENSEMBLE */
.geo-map-links.geo-map-pairs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  align-items: start;
}

.geo-map-pair {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  isolation: isolate;
}

.geo-map-pair .map-snapshot,
.geo-map-pair .geo-map-button {
  width: 100%;
  transition:
    filter 300ms ease,
    opacity 300ms ease,
    transform 300ms var(--ease-trail),
    box-shadow var(--t-fast) ease;
}

.geo-map-pair .geo-map-button {
  min-height: 58px;
}

.geo-map-pair::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: -2px;
  pointer-events: none;
  border: 1px solid transparent;
  border-radius: 17px;
  background: rgba(5, 7, 6, 0);
  opacity: 0;
  transition:
    opacity 300ms ease,
    background 300ms ease,
    border-color 300ms ease;
}

.geo-map-pair.is-locked {
  pointer-events: none;
}

.geo-map-pair.is-locked::after {
  border-color: rgba(121, 255, 19, 0.2);
  background:
    linear-gradient(135deg, rgba(5, 7, 6, 0.38), rgba(5, 7, 6, 0.18)),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(121, 255, 19, 0.025) 14px 15px);
  opacity: 1;
}

.geo-map-pair.is-locked .map-snapshot,
.geo-map-pair.is-locked .geo-map-button {
  filter: blur(12px) saturate(0.12) brightness(0.52) !important;
  opacity: 0.24 !important;
  transform: scale(0.965) !important;
  user-select: none;
}

.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-pair .map-snapshot,
.geolocation-honor-lock[data-geo-state="unlocked"] .geo-map-pair .geo-map-button {
  filter: none !important;
  opacity: 1 !important;
  transform: none;
}

@media (max-width: 620px) {
  .geo-map-links.geo-map-pairs {
    grid-template-columns: 1fr;
  }

  .geo-map-pair .geo-map-button {
    min-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-map-pair,
  .geo-map-pair::after,
  .geo-map-pair .map-snapshot,
  .geo-map-pair .geo-map-button {
    animation: none !important;
    transition: none !important;
  }
}


/* BACK-OFFICE · RÉGLAGES SÛRS + ANIMATIONS DE LA PROCHAINE ÉTAPE */
.menu-card,
.milestone-card,
.spot-card,
.map-snapshot,
.form-panel,
.presentation {
  border-radius: var(--card-radius, 18px);
}

.contact-button,
.back-link,
.form-submit,
.maps-button,
.spot-guide-recap-link,
.spots-guide-bottom-button {
  border-radius: var(--button-radius, 999px);
}

.menu-card,
.milestone-card,
.contact-button,
.back-link {
  transition-duration: var(--motion-duration, 420ms);
}

.milestones {
  padding-block: var(--section-space, 76px) calc(var(--section-space, 76px) + 16px);
}

.milestones-list::before {
  width: var(--trace-width, 3px);
}

.milestone-symbol {
  width: clamp(78px, 7.5vw, 104px);
  display: block;
  filter: drop-shadow(0 0 18px rgba(255, 37, 52, 0.34));
}

.milestone-symbol svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.backpack-loop,
.backpack-strap {
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
}

.backpack-body {
  fill: var(--red);
  stroke: rgba(245, 247, 242, 0.9);
  stroke-width: 3;
}

.backpack-pocket {
  fill: rgba(5, 7, 6, 0.35);
  stroke: var(--green);
  stroke-width: 3;
  stroke-linejoin: round;
}

.backpack-beacon {
  fill: var(--green);
  transform-origin: 52px 49px;
  animation: backpack-beacon 1.8s ease-in-out infinite;
}

.milestone-backpack {
  transform-origin: 50% 80%;
  animation: backpack-breathe 2.8s ease-in-out infinite;
}

@keyframes backpack-breathe {
  0%, 100% { transform: translateY(1px) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1deg); }
}

@keyframes backpack-beacon {
  0%, 100% { transform: scale(0.72); opacity: 0.68; }
  50% { transform: scale(1.18); opacity: 1; }
}

.plant-stem {
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
}

.plant-leaf {
  fill: var(--green);
  stroke: rgba(245, 247, 242, 0.78);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.plant-leaf-left { animation: plant-left 2.5s ease-in-out infinite; }
.plant-leaf-right { animation: plant-right 2.5s ease-in-out infinite; }

.plant-pot {
  fill: var(--red);
  stroke: rgba(245, 247, 242, 0.9);
  stroke-width: 3;
  stroke-linejoin: round;
}

.plant-spark {
  fill: var(--gold);
  transform-origin: 76px 23px;
  animation: plant-spark 2.5s ease-in-out infinite;
}

/* Tips : dernier bouton, blanc, volontairement plus discret. */
@keyframes footer-tip-whisper {
  0%,
  72%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0);
  }
  82% {
    transform: translate3d(0, -1px, 0) rotate(-0.12deg);
  }
  91% {
    transform: translate3d(0, 0.5px, 0) rotate(0.08deg);
  }
}

.home-page-beta .footer-social.footer-tip {
  order: 4;
  align-self: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 8px;
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
  font-size: 8px;
  font-weight: 850;
  opacity: 0.86;
  box-shadow: none;
  animation: footer-tip-whisper 8s ease-in-out infinite;
}

.home-page-beta .footer-social.footer-tip .footer-social-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  font-size: 11px;
}

.home-page-beta .footer-social.footer-tip:hover,
.home-page-beta .footer-social.footer-tip:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
  opacity: 1;
  filter: none;
  box-shadow: 0 0 12px rgba(245, 247, 242, 0.14);
}

@media (max-width: 620px) {
  .home-page-beta .footer-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page-beta .footer-social.footer-tip {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page-beta .footer-social.footer-tip {
    animation: none;
  }
}

@keyframes plant-left {
  0%, 100% { transform: rotate(-2deg) scale(0.96); }
  50% { transform: rotate(4deg) scale(1.04); }
}

@keyframes plant-right {
  0%, 100% { transform: rotate(2deg) scale(0.98); }
  50% { transform: rotate(-4deg) scale(1.05); }
}

@keyframes plant-spark {
  0%, 100% { transform: scale(0.68); opacity: 0.42; }
  50% { transform: scale(1.18); opacity: 1; }
}

@media (max-width: 620px) {
  .milestone-symbol { width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .milestone-backpack,
  .backpack-beacon,
  .plant-leaf,
  .plant-spark {
    animation: none !important;
  }
}
