/* ==========================================================================
   RCN — feuille de style unique. Tokens détaillés dans docs/charte-graphique.md
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
/* Polices de repli recalées sur les métriques d'Inter et Barlow : le texte ne bouge pas quand les vraies polices arrivent. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 106.9%;
  ascent-override: 90.6%;
  descent-override: 22.6%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 68.6%;
  ascent-override: 145.8%;
  descent-override: 29.2%;
  line-gap-override: 0%;
}

:root {
  /* Bleu marine, doré, gris-bleu et bleu « NG » mesurés dans le logo : #162b48, #afaa6d, #d8dce6, #0072cf. */
  --bleu-950: #0a1628;
  --bleu-900: #101f36;
  --bleu-700: #162b48;
  --bleu-500: #0072cf;
  --bleu-100: #d8dce6;
  --bleu-50: #eef0f5;
  --or-700: #67632f;
  --or-500: #afaa6d;
  --or-400: #d2ce9c;
  --or-100: #f3f2e4;
  --sable: #f8f7f2;
  --encre: #121f33;
  --gris-600: #4a5669;
  --gris-300: #cdd4de;
  --blanc: #fff;
  --facebook: #0866ff;
  --instagram: #c13584;

  --font-titre: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-texte: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --rayon: 0.75rem;
  --rayon-s: 0.5rem;
  --ombre: 0 1px 2px rgb(10 22 40 / 0.06), 0 6px 20px rgb(10 22 40 / 0.08);
  --ombre-forte: 0 4px 10px rgb(10 22 40 / 0.12), 0 18px 40px rgb(10 22 40 / 0.14);
  --container: 74rem;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --header-h: 5rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
.h4 {
  font-family: var(--font-titre);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--bleu-900);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
}
h3 {
  font-size: 1.5rem;
}
h4,
.h4 {
  font-size: 1.25rem;
}
p,
ul,
ol,
dl,
blockquote {
  margin: 0 0 1rem;
}
a {
  color: var(--bleu-700);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  color: var(--bleu-500);
}
:focus-visible {
  outline: 3px solid var(--or-500);
  outline-offset: 3px;
  border-radius: 2px;
}
main:focus {
  outline: none;
}
address {
  font-style: normal;
}
small {
  font-size: 0.875rem;
}
[hidden] {
  display: none !important;
}

.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: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--bleu-900);
  color: var(--blanc);
  border-radius: var(--rayon-s);
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gouttiere), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.section--tight {
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}
.section--sand {
  background: var(--sable);
}
.section--blue {
  background: var(--bleu-900);
  color: var(--blanc);
}
.section--blue h2,
.section--blue h3 {
  color: var(--blanc);
}
.section--blue a:not(.btn) {
  color: var(--or-400);
}
.section--blue .lead {
  color: rgb(255 255 255 / 0.88);
}
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}
.section__head h2 {
  margin: 0;
}
.section__sub {
  margin: 0;
  color: var(--gris-600);
  font-weight: 600;
}
.section__link {
  font-weight: 700;
  white-space: nowrap;
}
.section__link::after {
  content: " →";
}
.section__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
}
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (min-width: 60rem) {
  .split {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
  .split--center {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.grid-3 {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.prose {
  max-width: 44rem;
}
.prose h2 {
  margin-top: 1.5em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose li + li {
  margin-top: 0.35rem;
}
.lead {
  font-size: 1.2rem;
  color: var(--gris-600);
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or-700);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 3px;
  margin-right: 0.6rem;
  vertical-align: middle;
  background: currentColor;
}
.eyebrow--light {
  color: var(--or-400);
}
.empty {
  padding: 1.5rem;
  border: 2px dashed var(--gris-300);
  border-radius: var(--rayon);
  color: var(--gris-600);
  text-align: center;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--bleu-700);
  --btn-fg: var(--blanc);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1.2 var(--font-texte);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow: var(--ombre);
}
.btn .icon {
  width: 1.1em;
  height: 1.1em;
}
.btn--primary {
  --btn-bg: var(--or-500);
  --btn-fg: var(--bleu-950);
}
.btn--primary:hover {
  --btn-bg: var(--or-400);
}
.btn--secondary {
  --btn-bg: var(--bleu-700);
}
.btn--secondary:hover {
  --btn-bg: var(--bleu-900);
}
.btn--light {
  --btn-bg: rgb(255 255 255 / 0.12);
  --btn-fg: var(--blanc);
  --btn-bd: rgb(255 255 255 / 0.7);
  backdrop-filter: blur(4px);
}
.btn--light:hover {
  --btn-bg: rgb(255 255 255 / 0.22);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--bleu-700);
  --btn-bd: var(--bleu-700);
}
.btn--ghost:hover {
  --btn-bg: var(--bleu-50);
  --btn-fg: var(--bleu-900);
}
.btn--facebook {
  --btn-bg: var(--facebook);
}
.btn--instagram {
  --btn-bg: var(--instagram);
}
.reseaux {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn--large {
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  font-size: 1.075rem;
}
.btn--small {
  min-height: 2.25rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
}
.btn--block {
  width: 100%;
  margin-top: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 1rem;
  border: 1.5px solid var(--gris-300);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--bleu-900);
  font: 600 0.95rem/1.2 var(--font-texte);
  text-decoration: none;
  cursor: pointer;
}
.chip:hover {
  border-color: var(--bleu-700);
  color: var(--bleu-900);
}
.chip[aria-pressed="true"] {
  background: var(--bleu-700);
  border-color: var(--bleu-700);
  color: var(--blanc);
}
.tag {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--or-100);
  color: var(--or-700);
  font-size: 0.8rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid rgb(10 22 40 / 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
/* Hauteur fixe : quand le menu mobile s'ouvre en dessous, la ligne du logo ne se réduit pas. */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: var(--header-h);
  margin-right: auto;
  color: var(--bleu-900);
  text-decoration: none;
}
.brand__logo {
  width: auto;
  height: 4.25rem;
}
.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-titre);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
}
.brand__line1 {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--or-700);
}
.brand__line2 {
  font-size: 1.45rem;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--rayon-s);
  color: var(--bleu-900);
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover {
  background: var(--bleu-50);
  color: var(--bleu-900);
}
.nav__link[aria-current] {
  box-shadow: inset 0 -3px 0 var(--or-500);
  border-radius: 0;
}
.nav-toggle {
  display: none;
}
.nav__shop {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--rayon-s);
  color: var(--or-700);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav__shop:hover {
  background: var(--or-100);
  color: var(--or-700);
}
.nav__shop .icon {
  width: 1.2em;
  height: 1.2em;
}

@media (min-width: 64rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .nav__link,
  .nav__cta {
    white-space: nowrap;
  }
}
/* Entre tablette et grand écran, le logo seul laisse la place au menu complet sur une ligne. */
@media (min-width: 64rem) and (max-width: 79.99rem) {
  .brand__text {
    display: none;
  }
  .nav {
    gap: 0.5rem;
  }
  .nav__link {
    padding-inline: 0.6rem;
  }
}
@media (max-width: 63.99rem) {
  /* Sans JS, le menu reste affiché sous le logo. */
  .site-header__inner {
    flex-wrap: wrap;
  }
  .nav {
    width: 100%;
    padding-bottom: 1rem;
  }
  .nav__list {
    flex-wrap: wrap;
  }
  .js .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: var(--rayon-s);
    background: var(--bleu-50);
    color: var(--bleu-900);
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle__bars {
    position: relative;
  }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle__bars::before {
    top: -6px;
  }
  .nav-toggle__bars::after {
    top: 6px;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .js .nav {
    display: none;
  }
  .js .nav.is-open {
    display: block;
  }
  .js .nav__list {
    flex-direction: column;
  }
  .js .nav__link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--bleu-50);
    font-size: 1.15rem;
  }
  .nav__shop {
    display: flex;
    margin-top: 0.5rem;
    padding: 0.9rem 0.5rem;
    font-size: 1.15rem;
  }
  .nav__cta {
    margin-top: 1rem;
    width: 100%;
  }
}

/* ---------- Hero accueil ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88svh, 50rem);
  padding-block: 7rem 3.5rem;
  background: var(--bleu-900);
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.hero__img,
.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before,
.page-hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgb(10 22 40 / 0.95) 0%, rgb(10 22 40 / 0.6) 45%, rgb(10 22 40 / 0.15) 100%),
    linear-gradient(90deg, rgb(10 22 40 / 0.65) 0%, transparent 70%);
}
.hero__title {
  max-width: 18ch;
  margin-bottom: 1rem;
  color: var(--blanc);
  font-size: clamp(2.8rem, 1.6rem + 6vw, 5.75rem);
  line-height: 0.92;
}
.hero__title span {
  display: block;
  color: var(--or-400);
}
.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}
.hero__credit {
  margin: 2.5rem 0 0;
  font-size: 0.8rem;
  opacity: 0.85;
}
.hero__credit a {
  color: inherit;
}

/* ---------- Hero pages ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  background:
    radial-gradient(60rem 30rem at 110% -20%, rgb(175 170 109 / 0.28), transparent 60%),
    linear-gradient(135deg, var(--bleu-900), var(--bleu-700));
  color: var(--blanc);
  overflow: hidden;
  isolation: isolate;
}
.page-hero--photo {
  padding-top: clamp(6rem, 4rem + 8vw, 11rem);
}
.page-hero .eyebrow {
  color: var(--or-400);
}
.page-hero__title {
  color: var(--blanc);
  font-size: clamp(2.6rem, 1.8rem + 4vw, 4.5rem);
  margin-bottom: 0.75rem;
}
.page-hero__lead {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.35rem;
  opacity: 0.7;
}
.breadcrumb a {
  color: var(--blanc);
}

/* ---------- Chiffres ---------- */
.stats {
  background: var(--bleu-700);
  color: var(--blanc);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-block: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .stats__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  text-align: center;
  border-left: 1px solid rgb(255 255 255 / 0.12);
}
/* 2 colonnes sur mobile : trait vertical entre les colonnes, horizontal entre les lignes. */
.stat:nth-child(odd) {
  border-left: 0;
}
.stat:nth-child(n + 3) {
  border-top: 1px solid rgb(255 255 255 / 0.12);
}
@media (min-width: 48rem) {
  .stat:nth-child(odd) {
    border-left: 1px solid rgb(255 255 255 / 0.12);
  }
  .stat:first-child {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 0;
  }
}
.stat__value {
  font: 800 clamp(2.25rem, 1.8rem + 2vw, 3.25rem) / 1 var(--font-titre);
  color: var(--or-400);
}
.stat__label {
  font-size: 0.95rem;
}
.stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats-panel li {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--rayon);
  background: var(--bleu-900);
  color: var(--blanc);
}

/* ---------- Cartes équipes ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.team-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--rayon);
  background: var(--blanc);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card__link:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--ombre-forte);
}
.team-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgb(255 255 255 / 0.05) 22px 44px),
    linear-gradient(135deg, var(--bleu-700), var(--bleu-900));
}
.team-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__media[data-code]::after {
  content: attr(data-code);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 clamp(2.25rem, 1.8rem + 1.5vw, 3rem) / 1 var(--font-titre);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--or-400);
  opacity: 0.8;
}
.team-card__media[data-code] .team-card__code {
  display: none;
}
.team-card__code {
  position: absolute;
  z-index: 1;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--or-400);
  color: var(--bleu-950);
  font: 800 1rem/1.2 var(--font-titre);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem 1.25rem;
}
.team-card__title {
  font: 800 1.6rem/1 var(--font-titre);
  text-transform: uppercase;
  color: var(--bleu-900);
}
.team-card__meta {
  font-weight: 700;
  color: var(--or-700);
}
.team-card__accroche {
  font-size: 0.95rem;
  color: var(--gris-600);
}

/* ---------- Albums ---------- */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.album-card__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--bleu-100);
  color: var(--blanc);
  text-decoration: none;
  box-shadow: var(--ombre);
}
.album-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.album-card__link:hover .album-card__img {
  transform: scale(1.05);
}
.album-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(10 22 40 / 0.9), rgb(10 22 40 / 0.2) 55%, transparent);
}
.album-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem;
}
.album-card__title {
  font: 800 1.2rem/1.1 var(--font-titre);
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album-card__meta {
  font-size: 0.85rem;
  opacity: 0.9;
}
.albums.is-loading {
  opacity: 0.5;
  transition: opacity 0.2s;
}

/* ---------- Galerie ---------- */
.gallery-filters {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 48rem) {
  .gallery-filters {
    grid-template-columns: 16rem 1fr;
    align-items: start;
  }
}
.gallery-filters__field {
  margin: 0;
  padding: 0;
  border: 0;
}
.gallery-filters label,
.gallery-filters legend {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-weight: 700;
}
.gallery-filters select,
.finder__input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--gris-300);
  border-radius: var(--rayon-s);
  background: var(--blanc);
  color: var(--encre);
  font: inherit;
}
.gallery-filters select:focus-visible,
.finder__input:focus-visible {
  border-color: var(--bleu-700);
}
.gallery-status {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--gris-600);
}

/* ---------- Outil catégorie ---------- */
.finder {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: calc(var(--rayon) * 1.5);
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
  border-top: 5px solid var(--or-500);
}
.finder__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.finder__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.finder__input {
  flex: 1 1 9rem;
  width: auto;
  font-size: 1.25rem;
  font-weight: 700;
}
.finder__hint {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  color: var(--gris-600);
}
.finder__results:not(:empty) {
  margin-top: 1.25rem;
}
.finder__message {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--rayon-s);
  background: var(--bleu-50);
}
.finder__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.finder__item {
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--bleu-100);
  border-radius: var(--rayon);
}
.finder__item h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}
.finder__item .creneaux {
  margin-bottom: 0.75rem;
}
.finder__item .actions {
  margin-top: 0.5rem;
}

/* ---------- Page équipe ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 0;
}
.fact {
  padding: 1.25rem;
  border-radius: var(--rayon);
  background: var(--bleu-50);
  border-left: 4px solid var(--or-500);
}
.fact dt {
  margin-bottom: 0.35rem;
  font: 800 1.1rem/1 var(--font-titre);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-700);
}
.fact dd {
  margin: 0;
}
.creneaux {
  margin: 0;
  padding: 0;
  list-style: none;
}
.creneaux li + li {
  margin-top: 0.2rem;
}
.creneaux__jour {
  font-weight: 700;
}
.panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.section--sand .panel {
  box-shadow: none;
}
.panel__title {
  font-size: 1.6rem;
}
.panel--dark {
  background: rgb(255 255 255 / 0.06);
  box-shadow: none;
  border: 1px solid rgb(255 255 255 / 0.12);
}
.panel__more {
  margin: 1rem 0 0;
  font-weight: 600;
}
/* Organigramme en arbre : président → comité → pôles → équipes, reliés par des traits dorés. */
.arbre {
  --trait: var(--or-500);
  --epaisseur: 3px;
  margin-top: 2rem;
}
.arbre ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Un seul cercle doré pour tous les membres de l'organigramme. */
.medaillon {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.5rem;
  height: 3.5rem;
  border: 3px solid var(--or-500);
  border-radius: 50%;
  background: var(--bleu-50);
  overflow: hidden;
  box-shadow: 0 3px 8px rgb(10 22 40 / 0.2);
}
.noeud--dore .medaillon {
  border-color: var(--or-500);
}
.medaillon__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.medaillon__photo--vide {
  display: grid;
  place-items: center;
  color: var(--bleu-700);
  font: 800 1rem/1 var(--font-titre);
}
.noeud__corps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
button.noeud__corps {
  padding: 0;
  border: 0;
  border-radius: var(--rayon-s);
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
button.noeud__corps .medaillon {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button.noeud__corps:hover .medaillon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 14px rgb(10 22 40 / 0.3);
}
button.noeud__corps:hover .noeud__nom {
  color: var(--bleu-700);
  text-decoration: underline;
}
.noeud__texte {
  display: grid;
  line-height: 1.25;
}
.noeud__nom {
  font-weight: 700;
  color: var(--bleu-900);
}
.noeud__role {
  font-size: 0.85rem;
  color: var(--gris-600);
}
.noeud__lien {
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.noeud--vacant .medaillon {
  border-style: dashed;
}
.noeud--vacant .medaillon__photo--vide {
  font-size: 1.4rem;
}
.noeud--grand .noeud__corps {
  flex-direction: column;
  text-align: center;
}
.noeud--grand .medaillon {
  width: 6.5rem;
  height: 6.5rem;
  border-width: 4px;
}
.noeud--grand .noeud__nom {
  font: 800 1.5rem/1.1 var(--font-titre);
  text-transform: uppercase;
}
.arbre__racine {
  display: flex;
  justify-content: center;
}
.arbre .arbre__racine,
.arbre__comite {
  position: relative;
  padding-bottom: 2rem;
}
/* Traits verticaux centrés sur l'axe, pour se raccorder sans décalage. */
.arbre__racine::after,
.arbre__comite::after {
  content: "";
  position: absolute;
  left: calc(50% - var(--epaisseur) / 2);
  bottom: 0;
  height: 2rem;
  border-left: var(--epaisseur) solid var(--trait);
}
.arbre__comite > .arbre__titre,
.arbre__comite > .arbre__personnes {
  max-width: 62rem;
  margin-inline: auto;
}
/* Blocs repliables (<details>) : ouverts par défaut, le triangle devant le titre indique l'état. */
.arbre__titre,
.arbre__pole-titre,
.branche__titre {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  cursor: pointer;
}
.arbre__titre::-webkit-details-marker,
.arbre__pole-titre::-webkit-details-marker,
.branche__titre::-webkit-details-marker {
  display: none;
}
.arbre__titre::before,
.arbre__pole-titre::before,
.branche__titre::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.55rem solid var(--bleu-700);
  transition: transform 0.2s ease;
}
.arbre__titre::before,
.arbre__pole-titre::before {
  border-left-color: var(--or-400);
}
details[open] > .arbre__titre::before,
details[open] > .arbre__pole-titre::before,
details[open] > .branche__titre::before {
  transform: rotate(90deg);
}
.arbre__nom,
.branche__nom {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.arbre__titre {
  width: fit-content;
  margin-inline: auto;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: var(--bleu-900);
  color: var(--blanc);
  font: 800 1.35rem/1.2 var(--font-titre);
  text-transform: uppercase;
}
.arbre__comite > .arbre__personnes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 2px solid var(--bleu-100);
  border-radius: calc(var(--rayon) * 1.5);
  background: var(--sable);
}
.arbre__poles {
  --gouttiere-poles: 2rem;
  position: relative;
  display: grid;
  align-items: start;
  gap: var(--gouttiere-poles);
}
@media (min-width: 60rem) {
  /* Le trait vertical sous le comité traverse directement la barre jusqu'au pôle central (École de rugby) en une seule ligne droite. */
  .arbre__comite::after {
    height: 4rem;
    bottom: -2rem;
  }
  .arbre__poles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 2rem;
  }
  /* Barre horizontale : de l'axe du premier pôle à l'axe du dernier (la gouttière décale les axes). */
  .arbre__poles::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc((100% - 2 * var(--gouttiere-poles)) / 6 - var(--epaisseur) / 2);
    right: calc((100% - 2 * var(--gouttiere-poles)) / 6 - var(--epaisseur) / 2);
    border-top: var(--epaisseur) solid var(--trait);
  }
  .arbre__pole::before {
    content: "";
    position: absolute;
    top: -2rem;
    left: calc(50% - var(--epaisseur) / 2);
    height: 2rem;
    border-left: var(--epaisseur) solid var(--trait);
  }
  .arbre__pole:nth-child(2)::before {
    display: none;
  }
}
.arbre__pole {
  position: relative;
  min-width: 0;
}
.arbre__pole-titre {
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: var(--rayon);
  background: var(--bleu-700);
  color: var(--blanc);
  font: 800 1.35rem/1.2 var(--font-titre);
  text-align: center;
}
.arbre__titre:hover,
.arbre__pole-titre:hover {
  background: var(--bleu-950);
}
/* Branche verticale avec une petite tige vers chaque équipe. */
.arbre .branche {
  margin-left: 1.25rem;
  padding-top: 0.5rem;
  border-left: var(--epaisseur) solid var(--trait);
}
.branche > li {
  position: relative;
  padding: 0.75rem 0 0 1.25rem;
}
.branche > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 1rem;
  border-top: var(--epaisseur) solid var(--trait);
}
.branche__titre {
  color: var(--bleu-900);
  font: 700 1.1rem/1.2 var(--font-titre);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.branche__titre:hover {
  color: var(--bleu-700);
}
.branche__nb {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--or-100);
  color: var(--or-700);
  font: 700 0.8rem/1 var(--font-texte);
}
.arbre .arbre__personnes--liste {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.arbre__personnes--liste .noeud__nom {
  font-size: 0.95rem;
}
/* Carte de joueur d'un membre de l'organigramme (<dialog> ouvert au clic sur sa photo). */
.fiche {
  width: min(21rem, calc(100vw - 2.5rem));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
}
.fiche::backdrop {
  background: rgb(10 22 40 / 0.8);
}
.fiche[open] .fiche__carte {
  animation: fiche-entree 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes fiche-entree {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateY(-80deg) scale(0.8);
  }
}
.fiche__fermer {
  position: absolute;
  z-index: 2;
  top: -0.9rem;
  right: -0.9rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--or-500);
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: var(--ombre-forte);
  color: var(--bleu-900);
  font: 700 1.5rem/1 var(--font-texte);
  cursor: pointer;
}
.fiche__fermer:hover {
  background: var(--or-100);
}
/* Carte dorée pour tous les membres de l'organigramme, avec un reflet à l'ouverture. */
.fiche__carte {
  --cadre: var(--or-500);
  --cadre-texte: var(--bleu-950);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  border: 7px solid var(--cadre);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, var(--or-100), var(--blanc) 45%);
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.5);
}
.fiche__carte::after,
.fiche__carte--doree::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.55) 48%, transparent 66%) 0 0 / 250% 100% no-repeat;
  pointer-events: none;
  animation: fiche-reflet 1.2s 0.5s ease-out both;
}
.fiche__carte--doree {
  --cadre: var(--or-500);
  --cadre-texte: var(--bleu-950);
  background: linear-gradient(160deg, var(--or-100), var(--blanc) 45%);
}
@keyframes fiche-reflet {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -50% 0;
  }
}
.fiche__entete {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.7rem;
  background: var(--cadre);
  color: var(--cadre-texte);
  font: 700 0.85rem/1.2 var(--font-titre);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fiche__logo {
  width: 1.6rem;
  height: 1.6rem;
}
.fiche__groupe {
  flex: 1;
  text-align: right;
}
.fiche__visuel {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  aspect-ratio: 1;
  max-height: 45dvh;
  border-bottom: 4px solid var(--cadre);
  background: radial-gradient(circle at 50% 35%, var(--bleu-500), var(--bleu-900));
  overflow: hidden;
}
.fiche__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fiche__initiales {
  color: var(--blanc);
  font: 800 5rem/1 var(--font-titre);
}
.fiche__photo:not([hidden]) + .fiche__initiales {
  display: none;
}
.fiche__identite {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  margin: 0;
  padding: 2.5rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgb(10 22 40 / 0.9) 60%);
  color: var(--blanc);
  line-height: 1;
  text-align: left;
}
.fiche__prenom {
  color: var(--or-400);
  font: 600 1.1rem/1.2 var(--font-titre);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fiche__nom {
  font: 800 2.2rem/1 var(--font-titre);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.fiche__roles {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0.9rem 1rem;
  list-style: none;
  color: var(--encre);
  font-size: 0.92rem;
  line-height: 1.3;
}
.fiche__roles li {
  display: grid;
}
.fiche__roles li:first-child {
  color: var(--bleu-900);
  font-size: 1rem;
  font-weight: 700;
}
.fiche__role-groupe {
  color: var(--or-700);
  font: 700 0.78rem/1.2 var(--font-titre);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fiche__pied {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.5rem 1rem;
  border-top: 1px dashed var(--bleu-100);
  color: var(--gris-600);
  font: 600 0.78rem/1.2 var(--font-titre);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.9rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.panel .people {
  grid-template-columns: 1fr;
  margin-top: 0;
}
.person {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  align-items: center;
  line-height: 1.3;
}
button.person {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--rayon-s);
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
button.person .person__photo {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button.person:hover .person__photo {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 14px rgb(10 22 40 / 0.3);
}
button.person:hover .person__name {
  color: var(--bleu-700);
  text-decoration: underline;
}
.person__photo {
  grid-row: span 3;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid var(--or-500);
  object-fit: cover;
  background: var(--bleu-50);
}
.person__photo--initiales {
  display: grid;
  place-items: center;
  font: 800 1.15rem/1 var(--font-titre);
  color: var(--bleu-700);
}
.person--vacant .person__photo {
  border-style: dashed;
  color: var(--or-700);
}
.person__name {
  align-self: end;
  font-weight: 700;
  color: var(--bleu-900);
}
.person__role {
  align-self: start;
  font-size: 0.9rem;
  color: var(--gris-600);
}
.person__link {
  align-self: start;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.acces > div {
  margin-bottom: 0.5rem;
}
.acces dt {
  font-weight: 700;
}
.acces dd {
  margin: 0;
}

/* ---------- Divers composants ---------- */
.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.band > div {
  max-width: 40rem;
}
.band p {
  margin: 0;
}
.band--light {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--rayon) * 1.5);
  background: var(--bleu-50);
}
.contact-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  margin: 0 0 2.75rem;
  padding: 1.1rem 1.5rem;
  border-left: 5px solid var(--or-500);
  border-radius: var(--rayon-s);
  background: var(--bleu-50);
  list-style: none;
  font-size: 1.15rem;
}
.contact-band a {
  font-weight: 700;
}
.contact-band__label {
  display: block;
  font: 600 0.95rem/1.2 var(--font-titre);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-700);
}
.choices {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .choices {
    grid-template-columns: repeat(2, 1fr);
  }
}
.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--rayon);
  border-top: 5px solid var(--or-500);
  background: var(--sable);
}
.choice__title {
  font-size: 2rem;
}
.choice > .btn,
.choice > .actions {
  margin-top: auto;
}
.shop {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .shop {
    grid-template-columns: 1fr 1.25fr;
  }
}
.shop__img {
  width: 100%;
  border-radius: calc(var(--rayon) * 1.5);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.quote {
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 4px solid var(--or-500);
  font-size: 1.125rem;
}
.quote footer {
  font-weight: 700;
  color: var(--bleu-900);
}
.president {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 48rem) {
  .president {
    grid-template-columns: minmax(13rem, 18rem) minmax(0, 44rem);
    justify-content: center;
  }
}
.president__photo {
  margin: 0;
  max-width: 18rem;
}
.president__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--rayon);
  border-bottom: 5px solid var(--or-500);
  box-shadow: var(--ombre);
}
.president__photo figcaption {
  margin-top: 0.75rem;
  color: var(--gris-600);
  line-height: 1.4;
}
.president__photo strong {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--bleu-900);
}
/* Indique visuellement les liens de texte qui ouvrent un autre site dans un nouvel onglet. */
a[target="_blank"]:not(.btn, .chip, .album-card__link, .carte__map, .team-card__link)::after {
  content: "\00a0↗";
  font-size: 0.85em;
}
.timeline {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 40rem) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}
.timeline li {
  margin: 0;
  padding: 1rem;
  border-radius: var(--rayon-s);
  background: var(--sable);
}
.timeline strong {
  display: block;
  font: 800 1.2rem/1.1 var(--font-titre);
  text-transform: uppercase;
  color: var(--or-700);
}
.steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding: 3.25rem 1.5rem 1.5rem;
  border-radius: var(--rayon);
  background: var(--sable);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: -0.9rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--bleu-700);
  color: var(--or-400);
  font: 800 1.6rem/1 var(--font-titre);
}
.step__title {
  font-size: 1.5rem;
}
.contact-list {
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}
.contact-list span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gris-600);
}
.table-wrap {
  overflow-x: auto;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
}
.table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
}
.table th,
.table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--bleu-50);
  text-align: left;
  vertical-align: top;
}
.table thead th {
  background: var(--bleu-900);
  color: var(--blanc);
  font: 800 1rem/1.2 var(--font-titre);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table tbody th a {
  font-weight: 700;
}
/* Sur téléphone, chaque ligne devient une carte : plus de défilement horizontal. */
@media (max-width: 40rem) {
  .table-wrap {
    overflow: visible;
    background: none;
    box-shadow: none;
  }
  .table {
    min-width: 0;
  }
  .table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
  }
  .table tbody tr {
    margin-bottom: 0.9rem;
    padding: 0.4rem 0;
    border-radius: var(--rayon);
    background: var(--blanc);
    box-shadow: var(--ombre);
  }
  .table th,
  .table td {
    padding: 0.5rem 1.1rem;
    border: 0;
  }
  .table tbody th {
    font-size: 1.15rem;
  }
  .table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font: 600 0.9rem/1.3 var(--font-titre);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--or-700);
  }
}

/* ---------- Partenaires ---------- */
.logos {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logos--strip {
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  align-items: center;
}
.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  padding: 0.75rem;
  border-radius: var(--rayon-s);
  background: var(--blanc);
  border: 1px solid var(--bleu-50);
}
.logos__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.logos__card img {
  width: 100%;
  height: 8rem;
  object-fit: contain;
}
.logos--grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
}
.logos__card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre);
  text-align: center;
}
.logos__card--sans-logo {
  grid-template-rows: auto;
  align-content: center;
  min-height: 12rem;
}
.logos__card img {
  margin-bottom: 0.75rem;
}
.logos__name {
  font-weight: 700;
  color: var(--bleu-900);
}
.logos__activite {
  font-size: 0.9rem;
  color: var(--gris-600);
}

/* ---------- Carte ---------- */
.carte {
  margin: 0;
}
.carte__map {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--bleu-100);
}
.carte__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  height: 100%;
}
.carte__tiles img {
  width: 100%;
  height: 100%;
}
/* Position calculée par scripts/generate-map.js */
.carte__pin {
  position: absolute;
  left: 43.86%;
  top: 61.18%;
  width: 1.4rem;
  height: 1.4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bleu-700);
  border: 4px solid var(--or-400);
  box-shadow: 0 0 0 6px rgb(22 43 72 / 0.25), var(--ombre-forte);
}
.carte__credit {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--gris-600);
}
.itineraires {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--bleu-950);
  color: rgb(255 255 255 / 0.88);
}
.site-footer a:not(.btn) {
  color: var(--blanc);
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 72rem) {
  .site-footer__grid {
    grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  }
}
/* Logo PNG transparent : posé directement sur le fond bleu. */
.site-footer__logo {
  width: 6.5rem;
  height: auto;
  margin-bottom: 1rem;
}
.site-footer__nom {
  font: 800 1.35rem/1.1 var(--font-titre);
  text-transform: uppercase;
  color: var(--blanc);
}
.site-footer__titre {
  font-size: 1.3rem;
  color: var(--or-400);
}
.site-footer__liens {
  padding: 0;
  list-style: none;
}
.site-footer__liens li {
  margin-bottom: 0.5rem;
}
.site-footer .btn--ghost {
  --btn-fg: var(--blanc);
  --btn-bd: rgb(255 255 255 / 0.5);
}
.site-footer .btn--ghost:hover {
  --btn-bg: rgb(255 255 255 / 0.1);
}
.site-footer .carte__credit {
  color: rgb(255 255 255 / 0.7);
}
.site-footer__flickr {
  margin-top: 0.75rem;
}
.site-footer__bas {
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.7);
}

/* ---------- PhotoSwipe ---------- */
.pswp {
  --pswp-bg: var(--bleu-950);
}
.pswp__custom-caption {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  max-width: calc(100% - 2rem);
  padding: 0.4rem 0.9rem;
  transform: translateX(-50%);
  border-radius: var(--rayon-s);
  background: rgb(10 22 40 / 0.75);
  color: var(--blanc);
  font-size: 0.9rem;
  text-align: center;
}
.pswp__custom-caption a {
  color: var(--or-400);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
