/* ============================================================
   fido.css — Le goupil de l'Ordre · Compagnon de navigation
   Un terrier sous une voûte de braises : le renard veille au centre,
   ses pistes en éventail, sa jauge d'amitié en lanterne.
   Moteur : public/assets/js/goupil.js
   ============================================================ */

/* ── 1. Jetons de la page ───────────────────────────────────── */
.gp-page{
  --gp-ink: #f8ede8;
  --gp-soft: #d3bab6;
  --gp-muted: #a68f92;
  --gp-ruby: #ff6570;
  --gp-ember: #ff8a4c;
  --gp-amber: #ffb340;
  --gp-gold: #ffdc9a;
  --gp-line: #ffb9a326;
  --gp-line-soft: #ffb9a312;
  --gp-glass: linear-gradient(158deg, #ffffff0e, #ffffff03 46%), #241813d9;
  --gp-flame: linear-gradient(96deg, #ff5f74 0%, #ff9a5f 46%, #ffe6b8 100%);
  --gp-display: 'Rocket Brush', 'Outfit', sans-serif;
  --gp-ease: cubic-bezier(.16, 1, .3, 1);
  /* Avancée de lecture, nourrie par goupil.js : elle fait dériver la voûte. */
  --gp-progress: 0%;
  /* Teinte de la piste, redéfinie élément par élément. */
  --gp-tone: #ff8a4c;
  position: relative; z-index: 1; min-width: 0;
  padding: 0 var(--page-gutter) clamp(60px, 9vh, 130px);
  color: var(--gp-ink); font-family: var(--font-body);
  container-type: inline-size;
}
/* La remise à zéro ne doit jamais gagner contre un composant : :where() la
   laisse toujours perdante en cas d'égalité. Elle libère aussi les plafonds
   de _base.css (p, ul, ol bridés en 68ch) qui coupent les bandeaux en plein cadre. */
.gp-page :where(h1, h2, h3, h4, p, ol, ul, li, dl, dt, dd, figure){ margin: 0; padding: 0 }
.gp-page :where(ol, ul){ list-style: none }
.gp-page :where(p, ol, ul, dl){ max-width: none }
.gp-page :where(button){ font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
.gp-page em{ font-style: normal }
:where(.gp-page a){ color: inherit; text-decoration: none }
.gp-page :is(a, button, summary):focus-visible{
  outline: 2px solid var(--gp-gold); outline-offset: 4px; border-radius: 10px;
}

html[data-theme="light"] .gp-page{
  --gp-ink: #2b1a18;
  --gp-soft: #5d4642;
  --gp-muted: #8b706c;
  /* Les teintes pâles de la flamme disparaissent sur le fond pêche : on les
     descend d'un cran, ce qui corrige d'un coup pistes, jauges et veilleuses. */
  --gp-amber: #cf750b;
  --gp-gold: #a4560d;
  --gp-ruby: #d8303f;
  --gp-line: #b9544633;
  --gp-line-soft: #b954461a;
  --gp-flame: linear-gradient(96deg, #e2555c 0%, #e2683a 52%, #b97814 100%);
  --gp-glass: linear-gradient(158deg, #fffffff2, #ffffffc4 46%), #fff4ecf0;
}

/* ── 2. Atmosphère : aurore, terrier, braises, vignette ─────── */
.gp-atmos{ position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none }
.gp-aurora{
  position: absolute; top: -22%; left: -8%; width: 62%; height: 78%;
  background: radial-gradient(ellipse at 40% 40%, #ad283740, transparent 62%);
  filter: blur(28px);
  animation: gp-drift 26s ease-in-out infinite alternate;
}
.gp-den-glow{
  position: absolute; right: -6%; bottom: -18%; width: 58%; height: 74%;
  background: radial-gradient(circle at 60% 60%, #ff8a4c2e, transparent 58%),
              radial-gradient(circle at 62% 58%, #ffb3401f, transparent 40%);
  filter: blur(34px);
  translate: 0 calc(var(--gp-progress) * -.2);
}
.gp-vignette{ position: absolute; inset: 0; background: radial-gradient(ellipse 80% 64% at 50% 34%, transparent 42%, #0b0507a8 100%) }
/* Les braises montent en translate pur : aucun filtre, la framerate reste intacte. */
.gp-embers{ position: absolute; inset: auto 0 0; height: 66vh }
.gp-embers i{
  position: absolute; bottom: -12px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, #fff2cf, var(--gp-ember) 58%, #ff3d5c00);
  box-shadow: 0 0 12px 3px #ff8a4c5c;
  opacity: 0; animation: gp-ember 10.5s linear infinite;
}
.gp-embers i:nth-child(1){ left: 7%; animation-delay: -.6s }
.gp-embers i:nth-child(2){ left: 22%; animation-delay: -3.1s; scale: .7 }
.gp-embers i:nth-child(3){ left: 39%; animation-delay: -6.4s; scale: 1.25 }
.gp-embers i:nth-child(4){ left: 55%; animation-delay: -1.8s; scale: .8 }
.gp-embers i:nth-child(5){ left: 73%; animation-delay: -7.9s }
.gp-embers i:nth-child(6){ left: 90%; animation-delay: -4.4s; scale: .65 }
html[data-theme="light"] .gp-atmos{ opacity: .4 }
html[data-theme="light"] .gp-vignette{ background: radial-gradient(ellipse 80% 64% at 50% 34%, transparent 46%, #6b3b2a12 100%) }

/* ── 3. L'avis de vacances ──────────────────────────────────── */
.gp-rest{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 2vw, 30px);
  align-items: center; max-width: 1420px; margin: clamp(22px, 3vh, 34px) auto 0;
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px);
  border: 1px solid #ffb34355; border-radius: 26px;
  background: linear-gradient(112deg, #ff9e2820, #ff2a4b0c), var(--gp-glass);
}
.gp-rest-sun{
  display: grid; place-items: center; width: clamp(56px, 5vw, 76px); aspect-ratio: 1;
  border-radius: 50%; background: #ffb34322; color: #f5ad35;
  font-size: clamp(26px, 2.6vw, 38px);
  box-shadow: 0 0 34px #ffb34330, inset 0 1px 0 #ffffff2a;
}
.gp-rest-copy > .gp-kicker{ margin-bottom: 10px }
/* main.css impose Outfit sur les titres : le brush doit gagner même chargé avant lui. */
.gp-page .gp-rest-copy h2{
  max-width: none;
  font-family: var(--gp-display) !important; font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400; letter-spacing: 0; line-height: 1.18; text-transform: none;
  overflow-wrap: anywhere;
}
.gp-rest p{ max-width: 92ch; margin-top: 12px; font-size: 14.5px; line-height: 1.85; color: var(--gp-soft) }

/* ── 4. Scène d'ouverture ───────────────────────────────────── */
.gp-stage{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(28px, 4.4vw, 84px); align-items: center;
  max-width: 1420px; margin-inline: auto;
  padding: clamp(40px, 8vh, 104px) 0 clamp(46px, 6vh, 84px);
}
.gp-wordmark{
  position: absolute; left: 50%; bottom: 1%;
  translate: calc(-50% + var(--gp-progress) * -.5) 0;
  font-family: var(--gp-display); font-weight: 400;
  font-size: clamp(62px, 9.6vw, 176px); line-height: .85; letter-spacing: 0;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px #ffb9a31c;
  pointer-events: none; user-select: none;
}
.gp-kicker{
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 16px 8px 12px; border: 1px solid var(--gp-line); border-radius: 999px;
  background: #ffffff07; font-family: 'Outfit', var(--font-body);
  font-size: 11.5px; font-weight: 600; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gp-amber);
}
.gp-kicker > i{ flex: 0 0 34px; height: 1px; background: linear-gradient(90deg, var(--gp-ember), transparent); box-shadow: 0 0 14px #ff7a3c66 }
html[data-theme="light"] .gp-kicker{ color: var(--gp-gold); background: #b954460a }
html[data-theme="light"] .gp-wordmark{ -webkit-text-stroke-color: #b954462b }
.gp-status{
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2.2vh, 24px);
  padding: 9px 16px; border: 1px solid var(--gp-line); border-radius: 999px;
  background: linear-gradient(96deg, #ff4d6322, #ffdc9a14);
  font-family: 'Outfit', var(--font-body);
  font-size: 11.5px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gp-gold);
}
.gp-status > .bi{ font-size: 13px; color: var(--gp-ruby) }
.gp-stage-copy > .gp-kicker{ margin-bottom: clamp(14px, 2vh, 24px) }
/* Titre posé sur la scène, pas sur sa colonne : deux lignes et il déborde
   dans l'intervalle au lieu de s'empiler. */
.gp-page .gp-stage-copy h1{
  width: max-content; max-width: 122%;
  font-family: var(--gp-display) !important;
  font-size: clamp(38px, 8.6cqi, 104px); font-weight: 400; line-height: 1.16;
  letter-spacing: 0; text-transform: none;
}
.gp-stage h1 em{
  background: var(--flame-text); background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.gp-lead{
  margin-top: clamp(16px, 2vh, 26px); font-family: 'Outfit', var(--font-body);
  font-size: clamp(18px, 1.5vw, 25px); font-weight: 550; line-height: 1.45; color: var(--gp-gold);
}
.gp-stage-copy > p:not(.gp-lead){
  max-width: 50ch; margin-top: clamp(12px, 1.6vh, 20px);
  font-size: clamp(15px, 1.05vw, 17.5px); line-height: 1.9; color: var(--gp-soft);
}
.gp-stage-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 1.6vw, 26px); margin-top: clamp(24px, 3.4vh, 40px) }
.gp-note{
  display: flex; align-items: center; gap: 10px; margin-top: clamp(20px, 2.8vh, 32px);
  font-size: 13.5px; line-height: 1.7; color: var(--gp-muted);
}
.gp-note > .bi{ font-size: 16px; color: var(--gp-amber) }

/* ── 5. Boutons et liens ────────────────────────────────────── */
.gp-button{
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 16px 30px; border-radius: 999px;
  background: var(--gp-flame); background-size: 180% 100%;
  color: #2b0d10; font-family: 'Outfit', var(--font-body);
  font-size: 16px; font-weight: 650; letter-spacing: .01em;
  box-shadow: 0 16px 34px #ff5a3d2e, inset 0 1px 0 #ffffff5c;
  transition: translate .45s var(--gp-ease), scale .45s var(--gp-ease), background-position .8s var(--gp-ease), box-shadow .45s var(--gp-ease), opacity .3s ease;
}
.gp-button::after{
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120px 60px at var(--gp-mx, 50%) var(--gp-my, 50%), #ffffff7a, transparent 70%);
  transition: opacity .4s ease;
}
.gp-button:hover:not(:disabled){ translate: 0 -3px; scale: 1.015; background-position: 100% 0; box-shadow: 0 22px 44px #ff5a3d45, inset 0 1px 0 #ffffff7a }
.gp-button:hover:not(:disabled)::after{ opacity: 1 }
.gp-button > .bi{ font-size: 1.05em }
/* Désaturer en plus d'éteindre : sans ça, le dégradé enflammé d'un bouton hors
   service brille encore plus que le fantôme voisin, lui, bien cliquable. */
.gp-button:disabled{ opacity: .48; filter: saturate(.42); cursor: default; box-shadow: none }
.gp-button--claim{ min-height: 50px; padding: 13px 24px; font-size: 15px }
.gp-ghost{
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--gp-line); background: #ffffff07;
  font-family: 'Outfit', var(--font-body); font-size: 15px; font-weight: 600; color: var(--gp-soft);
  transition: border-color .35s ease, background .35s ease, color .3s ease, translate .45s var(--gp-ease);
}
.gp-ghost:hover{ background: #ffffff0d; color: var(--gp-ink); translate: 0 -2px }
.gp-text-link{
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 15px; font-weight: 550; letter-spacing: .02em; color: var(--gp-soft);
  transition: color .3s ease, gap .35s var(--gp-ease);
}
.gp-text-link:hover{ color: var(--gp-gold); gap: .85em }
.gp-text-link > .bi{ font-size: .95em }

/* ── 6. Le terrier : renard, anneaux, veilleuses ────────────── */
.gp-den{ display: grid; justify-items: center; gap: clamp(14px, 2.2vh, 26px) }
.gp-figure{
  position: relative; display: grid; place-items: center;
  width: 100%; max-width: 460px; padding: 6% 0 4%;
  isolation: isolate;
}
.gp-halo{
  position: absolute; inset: 2%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, #ff8a4c30, transparent 66%);
  animation: gp-breathe 7.5s ease-in-out infinite;
}
.gp-orbit{
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid #ffb9a324; pointer-events: none;
}
.gp-orbit--a{ inset: 6%; background: radial-gradient(circle, #ff7b1f15, transparent 70%) }
.gp-orbit--b{ inset: -4%; border-style: dashed; opacity: .5; animation: gp-spin 44s linear infinite }
.gp-watch{
  position: absolute; z-index: 3; top: 4%; right: -2%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border: 1px solid var(--gp-line); border-radius: 14px;
  background: #281c17e6; box-shadow: 0 8px 25px #0004;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #f0dfcb; white-space: nowrap;
  transition: opacity .3s ease;
}
.gp-watch > .bi{ color: var(--gp-ruby) }
.gp-touch{
  position: relative; z-index: 2; display: block; width: 100%; max-width: 420px;
  padding: 0; border-radius: 26px; touch-action: manipulation;
}
.gp-touch img{
  display: block; width: 100%; height: auto; user-select: none;
  filter: drop-shadow(0 22px 34px #0a0407aa) drop-shadow(0 0 26px #ff9e6926);
  animation: gp-float 6.5s ease-in-out infinite;
}
.gp-speech{
  position: absolute; z-index: 4; top: -2%; left: 50%;
  translate: -50% 0; width: max-content; max-width: 88%;
  padding: 15px 20px; border: 1px solid #ffcf9b6b; border-radius: 18px;
  background: linear-gradient(135deg, #fff0e7, #fff4d7); color: #76301a;
  box-shadow: 0 14px 34px #0a0407aa;
  font-size: 14.5px; font-weight: 600; line-height: 1.55; text-align: center;
  pointer-events: none;
}
.gp-speech[hidden]{ display: none }
.gp-speech::after{
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 13px; height: 13px;
  translate: -50% 0; rotate: 45deg;
  background: #fff4d7; border-right: 1px solid #ffcf9b6b; border-bottom: 1px solid #ffcf9b6b;
}
.gp-figure.is-petting .gp-watch{ opacity: 0 }
.gp-figure.is-petting .gp-touch img{ animation-play-state: paused }
.gp-hint{
  display: flex; align-items: center; gap: 8px; max-width: 92%;
  font-size: 12px; line-height: 1.6; color: #d9bc93; text-align: center;
}
.gp-hint > .bi{ color: var(--gp-amber) }
.gp-lamps{ display: grid; justify-items: center; gap: clamp(9px, 1.3vh, 14px); width: 100% }
.gp-lamp{
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px;
  width: 100%; max-width: 380px; padding: 12px 18px;
  border: 1px solid var(--gp-line-soft); border-radius: 15px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--gp-tone) 9%, transparent), transparent 58%), #ffffff06;
  transition: border-color .35s ease, translate .45s var(--gp-ease), background .35s ease;
}
.gp-lamp:hover{ border-color: color-mix(in srgb, var(--gp-tone) 42%, transparent); translate: 0 -2px }
.gp-lamp > span{ display: grid; gap: 2px; min-width: 0 }
.gp-lamp small{ font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gp-muted) }
.gp-lamp strong{ font-family: 'Outfit', var(--font-body); font-size: 16px; font-weight: 600; color: var(--gp-ink) }
.gp-lamp-beacon{
  width: 11px; height: 11px; border-radius: 50%; background: var(--gp-tone);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gp-tone) 16%, transparent), 0 0 16px 2px color-mix(in srgb, var(--gp-tone) 60%, transparent);
  animation: gp-pulse 3.4s ease-in-out infinite;
}
html[data-theme="light"] .gp-lamp{ background: linear-gradient(100deg, color-mix(in srgb, var(--gp-tone) 14%, transparent), transparent 58%), #ffffffa8 }
html[data-theme="light"] .gp-watch{ background: #fff4e9f2; border-color: #b9544633; color: #5d4642; box-shadow: 0 8px 22px #8d3a2f22 }
html[data-theme="light"] .gp-hint{ color: #96714a }

/* ── 7. Têtes de section ────────────────────────────────────── */
.gp-ways,.gp-trails,.gp-bond,.gp-faq{
  max-width: 1420px; margin: clamp(46px, 7vh, 92px) auto 0;
  scroll-margin-top: 24px;
}
.gp-head{ max-width: 78ch; margin-bottom: clamp(20px, 2.8vh, 32px) }
.gp-head > .gp-kicker{ margin-bottom: clamp(12px, 1.6vh, 18px) }
.gp-page .gp-head h2{
  max-width: none;
  font-family: var(--gp-display) !important;
  font-size: clamp(30px, 3.9vw, 58px); font-weight: 400; line-height: 1.16; letter-spacing: 0; text-transform: none;
}
.gp-head h2 em{ background: var(--flame-text); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
.gp-head > p{ max-width: 62ch; margin-top: clamp(12px, 1.6vh, 18px); font-size: 15px; line-height: 1.85; color: var(--gp-muted) }

/* ── 8. Les trois façons de parler ──────────────────────────── */
.gp-way-list{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px) }
.gp-way{
  position: relative; overflow: hidden; min-width: 0;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid color-mix(in srgb, var(--gp-tone) 22%, transparent); border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0, color-mix(in srgb, var(--gp-tone) 9%, transparent), transparent 62%),
    var(--gp-glass);
  box-shadow: inset 0 1px 0 #ffffff0a;
  transition: border-color .35s ease, translate .45s var(--gp-ease), box-shadow .35s ease;
}
.gp-way:hover{ translate: 0 -3px; border-color: color-mix(in srgb, var(--gp-tone) 46%, transparent); box-shadow: 0 18px 40px #0a040755 }
.gp-way-ico{
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--gp-tone) 30%, transparent);
  background: color-mix(in srgb, var(--gp-tone) 12%, transparent);
  color: var(--gp-tone); font-size: 21px;
}
.gp-way-tag{
  display: block; margin-top: clamp(18px, 2vh, 26px);
  font-size: 10.5px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gp-muted);
}
.gp-way h3{ margin: 8px 0 12px; font-family: 'Outfit', var(--font-body); font-size: 21px; font-weight: 600; letter-spacing: -.028em; line-height: 1.25 }
.gp-way p{ font-size: 14px; line-height: 1.85; color: var(--gp-muted) }

/* ── 9. Les six pistes ──────────────────────────────────────── */
.gp-trail-list{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px) }
.gp-trail{
  position: relative; overflow: hidden; text-align: left;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(14px, 1.4vw, 18px); min-width: 0;
  padding: clamp(18px, 1.8vw, 24px);
  border: 1px solid color-mix(in srgb, var(--gp-tone) 24%, transparent); border-radius: 22px;
  background:
    radial-gradient(ellipse 62% 120% at 0 100%, color-mix(in srgb, var(--gp-tone) 11%, transparent), transparent 60%),
    var(--gp-glass);
  transition: border-color .35s ease, translate .45s var(--gp-ease), box-shadow .35s ease;
}
.gp-trail:hover:not(:disabled){ translate: 0 -3px; border-color: color-mix(in srgb, var(--gp-tone) 50%, transparent); box-shadow: 0 18px 40px #0a040755 }
.gp-trail:disabled{ opacity: .5; cursor: default }
.gp-trail-ico{
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gp-tone) 34%, transparent);
  background: color-mix(in srgb, var(--gp-tone) 13%, transparent);
  color: var(--gp-tone); font-size: 19px;
}
.gp-trail-copy{ display: grid; gap: 5px; min-width: 0 }
.gp-trail-copy strong{ font-family: 'Outfit', var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--gp-ink) }
.gp-trail-copy small{ font-size: 13px; line-height: 1.7; color: var(--gp-muted) }
.gp-trail-go{ font-size: 15px; color: var(--gp-tone); transition: translate .35s var(--gp-ease) }
.gp-trail:hover:not(:disabled) .gp-trail-go{ translate: 3px -3px }

/* ── 10. La jauge d'amitié ──────────────────────────────────── */
.gp-bond-card{
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 2.4vw, 34px); align-items: start;
  padding: clamp(22px, 2.6vw, 38px);
  border: 1px solid color-mix(in srgb, var(--gp-ruby) 26%, transparent); border-radius: 28px;
  background:
    radial-gradient(ellipse 66% 120% at 8% 0, #ff4d631a, transparent 60%),
    var(--gp-glass);
  box-shadow: inset 0 1px 0 #ffffff0a;
}
.gp-bond-main{ display: grid; gap: clamp(12px, 1.6vh, 18px); min-width: 0 }
.gp-bond-heading{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(12px, 1.4vw, 18px) }
.gp-bond-heart{
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px;
  background: var(--gp-flame); color: #2b0d10; font-size: 22px;
  box-shadow: 0 8px 26px #ff4d6338, inset 0 1px 0 #ffffff5c;
}
.gp-bond-rank{ display: grid; gap: 4px; min-width: 0 }
.gp-bond-title{ font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gp-muted) }
.gp-bond-rank strong{ font-family: 'Outfit', var(--font-body); font-size: 23px; font-weight: 600; letter-spacing: -.02em }
.gp-bond-score{ text-align: right }
.gp-bond-score strong{ font-family: 'Outfit', var(--font-body); font-size: 30px; font-weight: 700; color: var(--gp-amber); font-variant-numeric: tabular-nums }
.gp-bond-score small{ display: block; margin-top: 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gp-muted) }
.gp-bond-track{ height: 12px; border-radius: 999px; background: #ff4d6318; overflow: hidden; box-shadow: inset 0 1px 0 #00000040 }
.gp-bond-track > span{ display: block; width: 0; height: 100%; border-radius: inherit; background: var(--gp-flame); transition: width .7s var(--gp-ease) }
.gp-bond-next{ font-family: 'Outfit', var(--font-body); font-size: 15px; font-weight: 600; color: var(--gp-ink); min-height: 1.4em }
.gp-bond-daily,.gp-bond-account{ font-size: 13.5px; line-height: 1.75; color: var(--gp-muted) }
.gp-bond-gains{
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 6px; padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--gp-line-soft); border-radius: 20px; background: #ffffff05;
}
.gp-bond-gains > strong{ width: 100%; font-family: 'Outfit', var(--font-body); font-size: 15px; font-weight: 600 }
/* Le registre du jour : une pastille par attention, même gabarit pour toutes.
   La couleur dit seule ce qui reste à offrir ou ce qui est déjà compté. */
.gp-bond-set{ display: flex; flex-wrap: wrap; gap: 10px; width: 100% }
.gp-bond-set > span{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; background: var(--gp-glass);
  border: 1px solid var(--gp-line-soft);
  font-size: 13.5px; color: var(--gp-soft);
  transition: border-color .3s ease, background .3s ease, opacity .3s ease;
}
.gp-bond-set > span[data-state="open"]{ border-color: color-mix(in srgb, var(--gp-amber) 38%, transparent); background: color-mix(in srgb, var(--gp-amber) 12%, transparent) }
.gp-bond-set > span[data-state="done"]{ opacity: .48 }
.gp-bond-gains b{ color: var(--gp-amber); font-family: 'Outfit', var(--font-body) }
.gp-bond-set > span[data-state="done"] b{ text-decoration: line-through; text-decoration-thickness: 1px }
.gp-bond-mark{ font-size: 15px }
.gp-attention-note{ font-size: 11.5px; font-weight: 500; color: var(--gp-muted) }
.gp-bond-set > span[data-state="open"] .gp-attention-note{ color: var(--gp-amber) }
.gp-bond-gains > small{ width: 100%; font-size: 12.5px; line-height: 1.7; color: var(--gp-muted) }
.gp-bond-side{ display: grid; gap: clamp(14px, 1.8vh, 20px); min-width: 0 }
.gp-bond-reward{
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px;
  padding-bottom: clamp(14px, 1.8vh, 20px); border-bottom: 1px solid var(--gp-line-soft);
}
.gp-bond-reward > .bi{ font-size: 26px; color: var(--gp-amber) }
.gp-bond-reward h3{ font-family: 'Outfit', var(--font-body); font-size: 18px; font-weight: 600; margin-bottom: 8px }
.gp-bond-reward p{ font-size: 13.5px; line-height: 1.75; color: var(--gp-muted) }
.gp-bond-reward p + p{ margin-top: 6px; color: var(--gp-soft) }
.gp-bond-actions{ display: flex; flex-wrap: wrap; gap: 10px }
.gp-bond-actions [hidden]{ display: none }
.gp-bond-notice{
  padding: 13px 17px; border-radius: 15px; background: #ff8a4c14;
  border: 1px solid var(--gp-line-soft);
  font-size: 13px; line-height: 1.7; color: var(--gp-soft);
}
.gp-bond-rules{ padding: 0 18px; border: 1px solid var(--gp-line-soft); border-radius: 18px; background: #ffffff04; transition: border-color .35s ease, background .35s ease }
.gp-bond-rules[open]{ border-color: #ffdc9a45; background: #ffdc9a0a }
.gp-bond-rules summary{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 550; color: var(--gp-soft);
}
.gp-bond-rules summary::-webkit-details-marker{ display: none }
.gp-bond-rules summary > .bi{ flex: 0 0 auto; font-size: 13px; color: var(--gp-amber); transition: rotate .3s var(--gp-ease) }
.gp-bond-rules[open] summary > .bi{ rotate: 45deg }
.gp-bond-rules ul{ padding: 0 0 18px; display: grid; gap: 10px }
.gp-bond-rules li{ position: relative; padding-left: 18px; font-size: 13px; line-height: 1.75; color: var(--gp-muted) }
.gp-bond-rules li::before{ content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gp-ember) }

/* ── 11. Avant de papoter ───────────────────────────────────── */
/* La liste reste sous la ligne de tête : une réponse de 14 px qui traverse
   tout le cadre se lit mal, même bordée d'air. */
.gp-faq-list{ display: grid; gap: 12px; max-width: 900px }
.gp-query{
  overflow: hidden;
  border: 1px solid var(--gp-line-soft); border-radius: 18px;
  background: #ffffff04;
  transition: border-color .35s ease, background .35s ease;
}
.gp-query:hover{ border-color: var(--gp-line) }
.gp-query[open]{ border-color: #ffdc9a45; background: #ffdc9a0a }
.gp-query summary{
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-family: 'Outfit', var(--font-body);
  font-size: 15px; line-height: 1.6; font-weight: 550; color: var(--gp-soft);
}
.gp-query summary::-webkit-details-marker{ display: none }
.gp-query summary > .bi{ flex: 0 0 auto; font-size: 14px; color: var(--gp-amber); transition: rotate .3s var(--gp-ease) }
.gp-query[open] summary > .bi{ rotate: 45deg }
.gp-query-body{ padding: 0 20px 19px; font-size: 14px; line-height: 1.85; color: var(--gp-muted) }
.gp-query-body a{ color: var(--gp-gold); text-decoration: underline; text-underline-offset: 3px }

/* ── 12. La clôture ─────────────────────────────────────────── */
.gp-call{
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: center;
  gap: clamp(24px, 3vw, 56px);
  max-width: 1420px; margin: clamp(46px, 7vh, 96px) auto 0;
  padding: clamp(30px, 3.8vw, 58px) clamp(24px, 3vw, 54px);
  border: 1px solid var(--gp-line-soft); border-radius: 32px;
  background: radial-gradient(ellipse 70% 120% at 50% 118%, #ff5a3d24, transparent 68%), var(--gp-glass);
}
.gp-call-copy > .gp-kicker{ margin-bottom: clamp(14px, 1.8vh, 20px) }
.gp-page .gp-call h2{
  max-width: none;
  font-family: var(--gp-display) !important; font-size: clamp(30px, 3.5vw, 56px);
  font-weight: 400; line-height: 1.16; letter-spacing: 0; text-transform: none;
}
.gp-call h2 em{ background: var(--flame-text); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
.gp-call-copy > p{ max-width: 54ch; margin-top: clamp(14px, 1.8vh, 22px); font-size: 15.5px; line-height: 1.85; color: var(--gp-soft) }
.gp-call-side{ display: grid; justify-items: start; gap: clamp(14px, 1.8vw, 22px) }

/* ── 13. L'ouverture, puis les bandeaux qui se déplient ─────── */
/* Le jeton vient du moteur : sans lui, tout reste visible et posé. */
@keyframes gp-rise { from { opacity: 0; translate: 0 26px } to { opacity: 1; translate: 0 0 } }
@keyframes gp-lift { from { opacity: 0; translate: 0 14px; scale: .96 } to { opacity: 1; translate: 0 0; scale: 1 } }
@keyframes gp-breathe { 0%, 100% { opacity: .6 } 50% { opacity: 1 } }
@keyframes gp-spin { to { rotate: 360deg } }
@keyframes gp-float { 0%, 100% { translate: 0 0 } 50% { translate: 0 -10px } }
@keyframes gp-drift { from { translate: 0 0 } to { translate: 4% 3% } }
@keyframes gp-ember { 0% { opacity: 0; translate: 0 0 } 12% { opacity: 1 } 100% { opacity: 0; translate: -22px -62vh } }

.gp-motion .gp-stage-copy > :not([aria-hidden]){ animation: gp-rise .95s var(--gp-ease) both }
.gp-motion .gp-stage-copy > :nth-child(2){ animation-delay: .14s }
.gp-motion .gp-stage-copy > :nth-child(3){ animation-delay: .26s }
.gp-motion .gp-stage-copy > :nth-child(4){ animation-delay: .38s }
.gp-motion .gp-stage-copy > :nth-child(5){ animation-delay: .5s }
.gp-motion .gp-stage-copy > :nth-child(6){ animation-delay: .6s }
/* Le jeton est posé sur .gp-page elle-même : les sélecteurs de chorégraphie
   partent du jeton seul, jamais de .gp-page .gp-… — ils ne matcheraient rien. */
.gp-motion .gp-den{ animation: gp-lift 1.1s var(--gp-ease) .3s both }
.gp-motion .gp-rest{ animation: gp-rise .8s var(--gp-ease) both }

.gp-motion :is(.gp-head, .gp-way, .gp-trail, .gp-bond-card, .gp-query, .gp-call){
  transition: opacity .8s var(--gp-ease), translate .8s var(--gp-ease), border-color .35s ease, box-shadow .35s ease, background .35s ease;
}
.gp-motion :is(.gp-head, .gp-way, .gp-trail, .gp-bond-card, .gp-query, .gp-call):not(.is-lit){ opacity: 0; translate: 0 24px }
.gp-motion .gp-way-list > :nth-child(2),.gp-motion .gp-faq-list > :nth-child(2){ transition-delay: .09s }
.gp-motion .gp-way-list > :nth-child(3),.gp-motion .gp-faq-list > :nth-child(3){ transition-delay: .17s }
.gp-motion .gp-trail-list > :nth-child(2){ transition-delay: .07s }
.gp-motion .gp-trail-list > :nth-child(3){ transition-delay: .13s }
.gp-motion .gp-trail-list > :nth-child(4){ transition-delay: .19s }
.gp-motion .gp-trail-list > :nth-child(5){ transition-delay: .25s }
.gp-motion .gp-trail-list > :nth-child(6){ transition-delay: .31s }

/* ── 14. Très grands écrans : on rend la largeur, pas la taille ─ */
@media (min-width: 1900px) {
  .gp-stage{ max-width: 1720px; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(70px, 3.8vw, 96px) }
  .gp-page .gp-stage-copy h1{ font-size: clamp(104px, 7.2cqi, 122px); max-width: none }
  .gp-stage-copy > p:not(.gp-lead){ font-size: 19px; max-width: 52ch }
  .gp-wordmark{ font-size: clamp(150px, 10.4vw, 200px) }
  .gp-figure{ max-width: 560px }
  .gp-touch img{ max-width: 520px }
  .gp-ways,.gp-trails,.gp-bond,.gp-faq,.gp-call,.gp-rest{ max-width: 1900px }
  .gp-page .gp-head h2{ font-size: 62px }
  .gp-way p,.gp-trail-copy small,.gp-query-body{ font-size: 15px }
  /* Deux clapets de front : la liste garde sa mesure de lecture sans laisser
     une île de 900 px au milieu d'un cadre de 1900. */
  .gp-faq-list{ max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 34px); align-items: start }
}
@media (min-width: 2400px) {
  .gp-stage{ max-width: 1980px }
  .gp-ways,.gp-trails,.gp-bond,.gp-faq,.gp-call,.gp-rest{ max-width: 2200px }
}

/* ── 15. Repli : la scène devient colonne, les cartes s'empilent ─ */
@media (max-width: 1399px) {
  .gp-bond-card{ grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 1180px) {
  .gp-stage{ grid-template-columns: minmax(0, 1fr) }
  .gp-page .gp-stage-copy h1{ width: auto; max-width: none }
  /* Le terrier descend sous le propos : le halo déborde au-dessus du renard
     et serait rogné par la barre supérieure sinon. */
  .gp-den{ margin-top: clamp(14px, 3.4vh, 34px) }
  .gp-wordmark{ top: auto; bottom: 0; font-size: clamp(50px, 16vw, 130px); opacity: .5 }
  .gp-way-list,.gp-trail-list{ grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 980px) {
  .gp-call{ grid-template-columns: minmax(0, 1fr) }
  .gp-call-side{ justify-items: stretch }
}
@media (max-width: 760px) {
  .gp-page{ padding-bottom: clamp(40px, 7vh, 70px) }
  .gp-page .gp-stage-copy h1{ font-size: clamp(38px, 11vw, 60px) }
  .gp-way,.gp-trail,.gp-bond-card,.gp-call,.gp-rest{ border-radius: 22px }
  .gp-way-list,.gp-trail-list{ grid-template-columns: minmax(0, 1fr) }
  .gp-bond-heading{ grid-template-columns: auto minmax(0, 1fr) }
  .gp-bond-score{ grid-column: 1 / -1; text-align: left }
  .gp-figure{ max-width: 340px }
  .gp-watch{ top: 0; right: 0; font-size: 11px; padding: 8px 12px }
}
@media (max-width: 520px) {
  .gp-button,.gp-text-link,.gp-ghost{ width: 100%; justify-content: center }
  .gp-stage-actions{ gap: 12px }
  .gp-rest{ grid-template-columns: minmax(0, 1fr) }
  .gp-trail{ grid-template-columns: auto minmax(0, 1fr) }
  .gp-trail-go{ display: none }
}

/* Sans préférence de mouvement : la page est posée dès le premier tracé. */
@media (prefers-reduced-motion: reduce) {
  .gp-page *,.gp-page *::before,.gp-page *::after{ animation: none !important; transition: none !important }
  .gp-motion :is(.gp-head, .gp-way, .gp-trail, .gp-bond-card, .gp-query, .gp-call):not(.is-lit){ opacity: 1; translate: none }
  .gp-motion .gp-den{ opacity: 1; translate: none; scale: 1 }
}
