/* ==========================================================================
   Vaitape Gym, v2 « Dark Performance »
   Fond noir, typographie large, rouge des machines de la salle en accent,
   haltère 3D pré-calculé dans le hero. Sans librairie.
   Toute animation est coupée en mode « moins d'animations ».
   ========================================================================== */

/* ---------- Polices (servies par le site, licence SIL OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variables ---------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --card: #161616;
  --fg: #f3f2ee;
  --mut: #a6a59f;          /* 7,6:1 sur --bg */
  --red: #ff2b2b;          /* 5,3:1 sur --bg */
  --red-deep: #c4141c;     /* 6,1:1 avec du texte blanc */
  --green: #2ee672;
  --line: rgba(243, 242, 238, .13);

  --wide: "Archivo", system-ui, sans-serif;
  --num: "Anton", Impact, "Arial Narrow Bold", sans-serif;

  --wrap: 1320px;
  --pad: clamp(1.1rem, 4vw, 3rem);
  --header-h: 72px;
  --r: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--wide);
  font-size: clamp(1rem, .97rem + .2vw, 1.1rem);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}
/* Les éléments qui glissent dépassent un peu : coupés au bord de l'écran.
   « clip » ne crée pas de zone de défilement : les animations liées au scroll restent actives. */
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  padding: .7rem 1rem; border-radius: 8px;
  background: #fff; color: #000; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* Typo « large » : Archivo étiré, très gras */
.wide, h1, h2 {
  font-family: var(--wide);
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: .9;
  margin: 0;
}
h3 { margin: 0; }
p { margin: 0 0 1rem; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.red { color: var(--red); }

.tag {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0 0 1.3rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #d6d5d0;
}
.tag::before { content: ""; width: 34px; height: 2px; background: var(--red); }

/* ---------- Boutons (pilules) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .85rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.pill svg { width: 1.1em; height: 1.1em; flex: none; }
.pill .arr { transition: transform .25s ease; }
.pill:hover .arr { transform: translateX(4px); }
/* texte blanc : rouge foncé (6,1:1) ; le rouge vif (3,7:1 avec du blanc) reste pour les traits et le texte sur noir */
.pill--red { background: var(--red-deep); color: #fff; }
.pill--red:hover { background: #d61a22; transform: translateY(-2px); }
.pill--line { border-color: rgba(243, 242, 238, .35); color: #fff; background: transparent; }
.pill--line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.pill--small { min-height: 44px; padding: .55rem 1.05rem; font-size: .82rem; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(10, 10, 10, .9), rgba(10, 10, 10, 0));
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  font-stretch: 125%; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; text-transform: uppercase;
  white-space: nowrap;
}
.brand i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  font-weight: 600; font-size: .84rem; letter-spacing: .07em; text-transform: uppercase; color: #d6d5d0;
  white-space: nowrap;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.lang {
  display: inline-flex; border: 1.5px solid rgba(243, 242, 238, .3); border-radius: 999px; overflow: hidden;
  font-weight: 700; font-size: .8rem; letter-spacing: .08em;
}
.lang a, .lang span { display: inline-grid; place-items: center; min-height: 36px; padding: .3rem .7rem; }
.lang a:hover { background: rgba(255, 255, 255, .08); }
.lang [aria-current="true"] { background: var(--fg); color: var(--bg); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(243, 242, 238, .35); background: transparent; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; margin-inline: auto; background: #fff; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .site-header .wrap { gap: .5rem; }
  .lang { margin-left: auto; }
  .js .nav-toggle { display: inline-grid; place-items: center; order: 5; }
  .nav { margin-left: 0; position: absolute; }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    padding: .6rem var(--pad) 1.6rem;
    background: rgba(10, 10, 10, .97);
    border-bottom: 2px solid var(--red);
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__list a {
    padding: 1rem 0; border-radius: 0;
    font-stretch: 125%; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; color: #fff;
    border-bottom: 1px solid var(--line);
  }
  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .header-call .label { display: none; }
}
@media (max-width: 400px) {
  .brand { font-size: .92rem; }
  .lang { display: none; }
  .nav-toggle { margin-left: auto; }
}
.nav__lang { display: none; }
@media (max-width: 400px) { .nav__lang { display: list-item; } }
.header-call, .nav-toggle { flex: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(1.5rem, 5vh, 3.5rem)) 0 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
/* Photo de la salle en fond, très assombrie */
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(.42);
  transform: scale(1.1);
  animation: bg-in 2.4s cubic-bezier(.2, .7, .1, 1) both;
}
@keyframes bg-in { to { transform: scale(1.02); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 52% at 74% 46%, rgba(255, 43, 43, .32), transparent 70%),
    linear-gradient(to top, var(--bg) 2%, rgba(10, 10, 10, .6) 40%, rgba(10, 10, 10, .35));
}

.hero__grid { position: relative; display: grid; gap: 1rem; align-items: center; }
.hero__text { position: relative; z-index: 2; }
/* Ordinateur : l'haltère passe en grand à droite, derrière le titre (les lettres en contour le laissent voir) */
@media (min-width: 980px) {
  .hero__visual {
    position: absolute; z-index: 1;
    right: -3%; top: 50%; transform: translateY(-46%);
    width: min(50vw, 700px);
  }
  .hero__lead, .hero__ctas { max-width: 50%; }
}

.hero__title { font-size: clamp(3.4rem, 11.5vw, 10.5rem); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: block; animation: line-up 1s cubic-bezier(.2, .8, .1, 1) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes line-up { from { transform: translateY(105%); } }

.hero__lead { max-width: 36ch; margin: 1.6rem 0 1.8rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.28rem); line-height: 1.55; color: #dcdbd6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Haltère 3D (images pré-calculées) */
.dumbbell {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  margin-inline: auto;
  touch-action: pan-y;
}
.dumbbell::before { /* halo rouge derrière l'objet */
  content: ""; position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 43, 43, .45), rgba(255, 43, 43, .08) 60%, transparent);
  filter: blur(10px);
}
/* Les vues sont cadrées pour un tour complet : l'objet n'occupe que le centre, on l'agrandit */
.dumbbell img { position: relative; width: 100%; height: 100%; object-fit: contain; transform: scale(1.38); user-select: none; -webkit-user-drag: none; cursor: grab; }
.dumbbell img:active { cursor: grabbing; }
.dumbbell__ring {
  position: absolute; inset: 6%;
  width: 88%; height: 88%;
  opacity: .32;
}
.dumbbell__ring text { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 8.5px; letter-spacing: 5px; fill: #d6d5d0; }
@media (pointer: fine) { .dumbbell__hint { display: none; } }
.dumbbell__hint {
  position: absolute; left: 50%; bottom: -5%; transform: translateX(-50%);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
  white-space: nowrap;
}
@media (max-width: 979px) {
  .dumbbell { width: min(78vw, 420px); margin-top: -.5rem; margin-bottom: 2rem; }
  .hero__visual { order: -1; }
}

/* Chiffres clés */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: clamp(2rem, 5vh, 3rem) 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.stats li { padding: 1.1rem 1rem 0 0; }
.stats li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.stats strong { display: flex; align-items: center; gap: .55rem; font-family: var(--num); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; }
.stats li > span { display: block; margin-top: .4rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--mut); flex: none; }
.dot.is-open { background: var(--green); box-shadow: 0 0 0 5px rgba(46, 230, 114, .18); }
.dot.is-closed { background: var(--red); box-shadow: 0 0 0 5px rgba(255, 43, 43, .18); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1rem; }
}

/* ==========================================================================
   Bandeau disciplines (avance avec le défilement)
   ========================================================================== */
.band { overflow: hidden; border-block: 1px solid var(--line); padding: 1.3rem 0; }
.band__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; font-size: clamp(2.4rem, 6.6vw, 5.6rem); }
.band__track span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1.5px rgba(243, 242, 238, .6); }
.band__track i { font-style: normal; color: var(--red); font-size: .6em; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: clamp(4.5rem, 11vw, 8rem); position: relative; }
.section--alt { background: var(--bg-2); }
.section__head { display: grid; gap: 1.4rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1fr 1fr; align-items: end; } }
.section__title { font-size: clamp(2.6rem, 8vw, 6.4rem); }
.section__intro { max-width: 46ch; margin: 0; font-size: clamp(1.02rem, 1rem + .3vw, 1.18rem); color: #cfcec9; }

/* ---------- La salle : galerie qui glisse à l'horizontale ---------- */
.hs { height: 320vh; view-timeline-name: --hs; view-timeline-axis: block; }
.hs__sticky {
  position: sticky; top: 0; height: 100svh; overflow: clip;
  display: flex; flex-direction: column; justify-content: center; gap: 1.8rem;
  padding-top: var(--header-h);
}
.hs__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; }
.hs__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); width: max-content; padding-left: var(--pad); padding-right: var(--pad); margin: 0; list-style: none; }
.card {
  position: relative; margin: 0;
  width: clamp(250px, 32vw, 480px); aspect-ratio: 4 / 5;
  border-radius: var(--r); overflow: hidden; background: var(--card); flex: none;
}
.card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.18) brightness(1.25);
  transition: filter .5s ease, transform .9s cubic-bezier(.2, .7, .1, 1);
}
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .88), transparent 55%); pointer-events: none; }
.card figcaption { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 1; }
.card b { display: block; font-stretch: 125%; font-weight: 800; font-size: 1.45rem; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
.card small { display: block; margin-top: .25rem; font-size: .93rem; color: #d6d5d0; }
.card .num { position: absolute; top: 1rem; left: 1.2rem; z-index: 1; font-family: var(--num); font-size: 1rem; letter-spacing: .12em; color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .card:hover img { filter: none; transform: scale(1.05); }
}
/* Dans la galerie épinglée, la hauteur des cartes suit l'écran pour que tout tienne */
.hs .card { width: auto; height: min(54svh, 540px); aspect-ratio: 4 / 5; }
.hs .section__title { font-size: clamp(2.4rem, 6.5vw, 5.4rem); }
.hs__progress { height: 2px; margin-inline: var(--pad); background: var(--line); position: relative; }
.hs__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }

/* Avis + note Google */
.proof { display: grid; gap: 1rem; margin-top: 0; }
@media (min-width: 900px) { .proof { grid-template-columns: 1fr 1fr .6fr; } }
.quote { margin: 0; padding: 1.6rem 1.7rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.quote p { font-stretch: 112%; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3; margin-bottom: 1rem; }
.quote footer { font-size: .88rem; color: var(--mut); }
.rating {
  display: grid; place-content: center; gap: .25rem; text-align: center;
  padding: 1.6rem; border-radius: var(--r); background: var(--red-deep); color: #fff;
  transition: transform .2s ease;
}
.rating:hover { transform: translateY(-3px); }
.rating strong { font-family: var(--num); font-weight: 400; font-size: 3.6rem; line-height: 1; }
.rating span { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Horaires ---------- */
.hours { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 940px) { .hours { grid-template-columns: .85fr 1.15fr; } }
.hours > * { min-width: 0; }
.big-clock { font-family: var(--num); font-size: clamp(6rem, 22vw, 13rem); line-height: .85; font-variant-numeric: tabular-nums; margin: 0 0 1rem; }
.big-clock span { color: var(--red); }
.status {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-top: 1.4rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase;
}
.status:empty { display: none; }
.board { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.board__row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.board__row:last-child { border-bottom: 0; }
.board dt { font-weight: 700; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; color: #d6d5d0; }
.board dd { margin: 0; font-family: var(--num); font-size: clamp(1.5rem, 3.8vw, 2.2rem); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.board dd .sep { color: var(--mut); margin-inline: .35em; }
.board__row.is-closed dd { color: var(--mut); text-transform: uppercase; }
.board__row.is-today { background: rgba(255, 43, 43, .12); }
.board__row.is-today dt { color: #fff; }
.board__row.is-today dt[data-today]:not([data-today=""])::after { content: attr(data-today); margin-left: .7rem; padding: .15rem .5rem; border-radius: 999px; background: var(--red-deep); color: #fff; font-size: .68rem; letter-spacing: .1em; }
.board__note { margin: 1rem 0 0; font-size: .92rem; color: var(--mut); }
.board__note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* Téléphone étroit : placé APRÈS les règles du tableau, sinon elles l'écrasent */
@media (max-width: 480px) {
  .board__row { padding: .85rem 1rem; gap: .6rem; }
  .board dt { font-size: .84rem; letter-spacing: .06em; }
  .board__row { grid-template-columns: minmax(0, 1fr) auto; }
  .board dd { font-size: 1.28rem; }
  .board dd .sep { margin-inline: .2em; }
  .board__row.is-today dt[data-today]:not([data-today=""])::after { display: block; width: fit-content; margin: .35rem 0 0; }
}

/* ---------- De passage ---------- */
.visit { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: stretch; }
@media (min-width: 980px) { .visit { grid-template-columns: 1.15fr .85fr; } }
.tiles { display: grid; gap: 0 2.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); margin: 0; padding: 0; list-style: none; align-content: start; }
.tile { display: grid; grid-template-columns: 40px 1fr; gap: .2rem 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.tile svg { grid-row: span 2; width: 34px; height: 34px; }
.tile b { font-stretch: 118%; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; }
.tile p { margin: 0; color: #cfcec9; }
.tile a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.photo-card { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--card); }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent 55%); }
.photo-card figcaption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; z-index: 1; }
.photo-card b { display: block; font-stretch: 125%; font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }

/* ---------- La team ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 43, 43, .55); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.team { display: grid; gap: 1rem; }
@media (min-width: 760px) {
  .team { grid-template-columns: repeat(3, 1fr); }
  .team .span-2 { grid-column: span 2; }
}
.team .card { width: auto; aspect-ratio: 4 / 5; }
.team .span-2 { aspect-ratio: auto; }
.team .span-2 img { aspect-ratio: 16 / 10; object-position: 50% 32%; }
.team .card img { filter: grayscale(.2) contrast(1.05); }
@media (max-width: 759px) { .team .span-2 img { aspect-ratio: 1; } }
.results { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 1rem 0 0; padding: 0; list-style: none; }
.results li { padding: 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.results strong { display: block; font-family: var(--num); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--red); }
.results sup { font-size: .45em; }
.results span { display: block; margin-top: .5rem; font-weight: 700; }
.results small { display: block; margin-top: .3rem; color: var(--mut); font-size: .84rem; }

/* ---------- Accès ---------- */
.access { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 980px) { .access { grid-template-columns: .9fr 1.1fr; } }
.address { font-style: normal; font-size: 1.1rem; line-height: 1.55; color: #dcdbd6; }
.address strong { display: block; margin-bottom: .3rem; font-stretch: 125%; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: #fff; }
.landmark { display: inline-flex; align-items: center; gap: .55rem; margin: 1rem 0 0; padding: .5rem .9rem; border-radius: 999px; background: var(--red-deep); color: #fff; font-weight: 700; font-size: .92rem; }
.trip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.trip div { padding: 1rem .6rem; text-align: center; }
.trip div + div { border-left: 1px solid var(--line); }
.trip strong { display: block; font-family: var(--num); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; }
.trip span { display: block; margin-top: .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.steps { counter-reset: s; margin: 0 0 1.8rem; padding: 0; list-style: none; display: grid; gap: .9rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.3rem 1fr; gap: .9rem; align-items: start; color: #dcdbd6; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--red-deep); color: #fff; font-family: var(--num); font-size: 1.15rem;
}
.access__ctas { display: flex; flex-wrap: wrap; gap: .7rem; }

.map-card { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.map-card__frame { position: relative; aspect-ratio: 600 / 440; background: #121212; }
.map-card__frame > svg, .map-card__frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card__bar {
  display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--mut);
}
.pluscode { display: inline-flex; gap: .45rem; align-items: center; font-weight: 700; color: #fff; }
.pluscode code { font-family: ui-monospace, "SF Mono", Menlo, monospace; padding: .15rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.copy-btn { min-height: 44px; padding: .25rem .9rem; border-radius: 999px; border: 1px solid rgba(243, 242, 238, .35); background: transparent; font-weight: 700; font-size: .85rem; cursor: pointer; }
.copy-btn:hover { border-color: #fff; }

/* Plan SVG, version sombre */
.map-land { fill: #141414; }
.map-lagoon { fill: #0d3b38; }
.map-waves { fill: none; stroke: rgba(120, 220, 210, .35); stroke-width: 2; stroke-linecap: round; }
.map-hills { fill: none; stroke: rgba(243, 242, 238, .08); stroke-width: 1.5; }
.map-road { fill: none; stroke: #3a3a3a; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.map-road-inner { fill: none; stroke: #222; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.map-side { fill: none; stroke: #3a3a3a; stroke-width: 7; stroke-linecap: round; }
.map-side-inner { fill: none; stroke: #222; stroke-width: 3; stroke-linecap: round; }
.map-route-bg { fill: none; stroke: rgba(255, 43, 43, .28); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; }
.map-route { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 43, 43, .7)); }
.map-label { font-family: var(--wide); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; fill: #d6d5d0; }
.map-label--water { fill: #9fe3da; }
.map-label--small { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.map-label--big { font-stretch: 125%; font-size: 24px; letter-spacing: -.01em; fill: #fff; }
.map-box { fill: #1c1c1c; stroke: #555; stroke-width: 1.5; }
.map-pier { fill: #2a2a2a; stroke: #555; stroke-width: 1.5; }
.map-pin { fill: var(--red); }
.map-pin-halo { fill: rgba(255, 43, 43, .25); }
.map-walker { fill: #fff; stroke: var(--red); stroke-width: 3; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { padding-block: clamp(2.5rem, 6vw, 3.5rem) 1.6rem; border-top: 1px solid var(--line); background: var(--bg); }
.footer { display: grid; gap: 1.6rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; }
.footer__hours { margin: 0; color: var(--mut); }
.footer__links { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.footer__links a, .footer__legal a { display: inline-grid; align-items: center; min-height: 44px; font-weight: 600; }
.footer__links a:hover, .footer__legal a:hover, .footer__credit a:hover { color: var(--red); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--mut); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
.footer__legal a { color: var(--fg); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.footer__credit { margin-left: auto !important; }
.footer__credit a { color: var(--fg); font-weight: 700; }
@media (max-width: 700px) { .footer__links { margin-left: 0; } .footer__credit { margin-left: 0 !important; } }

/* ==========================================================================
   Animations liées au défilement (navigateurs compatibles uniquement).
   Sans support : tout est affiché et la galerie se fait défiler au doigt.
   ========================================================================== */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band__track {
      animation-name: band; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: scroll(root);
    }
    @keyframes band { from { transform: translateX(0); } to { transform: translateX(-42%); } }

    .dumbbell__ring {
      animation-name: ring-spin; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: scroll(root);
    }
    @keyframes ring-spin { to { transform: rotate(-540deg); } }

    .hs__track {
      animation-name: hs-slide; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --hs; animation-range: contain 0% contain 100%;
    }
    @keyframes hs-slide { to { transform: translateX(calc(-100% + 100vw)); } }
    .hs__progress i {
      animation-name: grow; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: --hs; animation-range: contain 0% contain 100%;
    }
    @keyframes grow { to { transform: scaleX(1); } }

    .reveal {
      animation-name: reveal; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    @keyframes reveal { from { opacity: 0; transform: translateY(48px); } }

    .section__title {
      animation-name: title-in; animation-timing-function: linear; animation-fill-mode: both;
      animation-timeline: view(); animation-range: entry 0% entry 80%;
    }
    @keyframes title-in { from { opacity: 0; transform: translateX(-5%); } }
  }
}
/* Pas de galerie épinglée sans support ou en mouvement réduit : défilement horizontal au doigt */
@supports not (animation-timeline: view()) {
  .hs { height: auto; }
  .hs__sticky { position: static; height: auto; padding-block: 5rem; }
  .hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .hs__track .card { scroll-snap-align: start; }
  .hs__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* « none » plutôt qu'une durée minuscule : une transition sur `visibility` peut faire perdre le focus */
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hs { height: auto; }
  .hs__sticky { position: static; height: auto; padding-block: 5rem; }
  .hs__track { width: auto; overflow-x: auto; padding-bottom: 1rem; }
  .hs__progress { display: none; }
}

@media print {
  .site-header, .dumbbell, .band, .hs__progress { display: none; }
  .reveal, .section__title, .hs__track { animation: none !important; }
  .hs { height: auto; } .hs__sticky { position: static; height: auto; }
}

.section__head .chips { margin-top: 1.2rem; }
