/* ============================================================
   Tennis Club de l'Erdre — design system
   Palette dérivée du sujet : vert court de tennis + jaune balle
   ============================================================ */

:root {
  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — vert-de-gris chauds */
  --color-bg: #f5f6f9;
  --color-surface: #fbfcfe;
  --color-surface-2: #ffffff;
  --color-surface-offset: #e9edf4;
  --color-surface-deep: #131f3d;
  --color-divider: oklch(from var(--color-text) l c h / 0.1);
  --color-border: oklch(from var(--color-text) l c h / 0.14);

  /* Texte */
  --color-text: #1d2433;
  --color-text-muted: #5a6472;
  --color-text-faint: #9aa3b2;
  --color-text-inverse: #f5f7fb;

  /* Vert court — couleur principale */
  --color-primary: #194488;
  --color-primary-hover: #13336b;
  --color-primary-active: #0d264f;
  --color-primary-soft: #e2e9f5;

  /* Jaune balle — accent (usage réservé) */
  --color-accent: #dce21f;
  --color-accent-strong: #b7c510;
  --color-clay: #c4763f;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 250 / 0.12);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1160px;

  --font-display: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

/* ============ Structure générale ============ */

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-2);
  z-index: 200;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* --- Barre latérale verticale (desktop) --- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: 252px;
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-6) var(--space-5);
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
}

.sidebar__brand svg {
  flex-shrink: 0;
}

.sidebar__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.sidebar__name small {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: var(--space-1);
}

.sidebar__nav {
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  color: oklch(from var(--color-text-inverse) l c h / 0.85);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  min-height: 44px;
}

.sidebar__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

.sidebar__link:hover {
  background: oklch(from var(--color-text-inverse) l c h / 0.12);
  color: var(--color-text-inverse);
}

.sidebar__link[aria-current='page'] {
  background: oklch(from #ffffff l c h / 0.16);
  color: #ffffff;
  font-weight: 700;
}

.sidebar__link[aria-current='page'] svg {
  opacity: 1;
  color: var(--color-accent);
}

.sidebar__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid oklch(from #ffffff l c h / 0.18);
}

.sidebar__note {
  font-size: var(--text-xs);
  color: oklch(from var(--color-text-inverse) l c h / 0.65);
  line-height: 1.5;
}

.sidebar__social {
  display: flex;
  gap: var(--space-2);
}

.sidebar__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: oklch(from #ffffff l c h / 0.85);
}

.sidebar__social a:hover {
  background: oklch(from #ffffff l c h / 0.14);
  color: #ffffff;
}

/* --- En-tête mobile --- */
.topbar {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: 64px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-base);
}

.topbar__burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: #ffffff;
}

.topbar__burger:hover {
  background: oklch(from #ffffff l c h / 0.14);
}

/* --- Panneau mobile --- */
.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: oklch(0.2 0.02 150 / 0.5);
}

.backdrop[data-open='true'] {
  display: block;
}

.sidebar[data-mobile='true'] {
  transform: translateX(-100%);
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar[data-mobile='true'][data-open='true'] {
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .topbar {
    display: flex;
  }
  .sidebar {
    width: min(300px, 86vw);
    box-shadow: var(--shadow-lg);
    padding-top: calc(64px + var(--space-6));
  }
  .sidebar:not([data-open='true']) {
    transform: translateX(-100%);
  }
  .sidebar {
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (min-width: 1024px) {
  .main {
    margin-left: 252px;
  }
}

/* ============ Sections communes ============ */

.page {
  padding-top: 64px;
}

@media (min-width: 1024px) {
  .page {
    padding-top: 0;
  }
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: clamp(var(--space-10), 6vw, var(--space-16));
}

.section--tight {
  padding-block: clamp(var(--space-8), 4vw, var(--space-10));
}

.section--deep {
  padding-block: clamp(var(--space-12), 7vw, var(--space-20));
}

.section--offset {
  background: var(--color-surface-offset);
}

.section--green {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.kicker::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
}

.section--green .kicker {
  color: var(--color-accent);
}

.section h2,
.section h1.title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.1;
  margin-top: var(--space-3);
  letter-spacing: -0.01em;
}

.section h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  max-width: 62ch;
}

.section--green .lead {
  color: oklch(from #ffffff l c h / 0.8);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.22 0.04 150 / 0.92) 0%, oklch(0.22 0.04 150 / 0.45) 55%, oklch(0.22 0.04 150 / 0.25) 100%);
}

.hero__inner {
  position: relative;
  padding-block: var(--space-16) var(--space-12);
  width: 100%;
}

.hero .kicker {
  color: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: var(--space-4);
  max-width: 18ch;
}

.hero p {
  margin-top: var(--space-4);
  max-width: 52ch;
  color: oklch(from #ffffff l c h / 0.9);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

/* Hero compact pour pages intérieures */
.hero--page {
  min-height: 44vh;
}

.hero--page h1 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  max-width: 24ch;
}

/* ============ Boutons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-accent-strong);
  color: #17264a;
}

.btn--primary:hover {
  background: #a3b200;
}

.btn--ghost {
  border-color: oklch(from #ffffff l c h / 0.5);
  color: #ffffff;
}

.btn--ghost:hover {
  background: oklch(from #ffffff l c h / 0.15);
}

.btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary-soft);
}

.btn--white {
  background: #ffffff;
  color: var(--color-primary-hover);
}

.btn--white:hover {
  background: var(--color-primary-soft);
}

/* ============ Chiffres clés ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-8);
  border-block: 1px solid var(--color-divider);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============ Cartes actualités ============ */

.news-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) 0;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.badge {
  display: inline-block;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  background: var(--color-primary-soft);
  color: var(--color-primary-hover);
  font-weight: 700;
}

.news-card h3 {
  padding: var(--space-2) var(--space-4) 0;
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
}

.news-card p {
  padding: var(--space-2) var(--space-4) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Liste complète d'articles */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-divider);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.news-item h3 {
  margin-top: var(--space-2);
  font-size: var(--text-lg);
}

.news-item p {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

/* ============ Dispositions éditoriales ============ */

.split {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .split--rev > .split__media {
    order: 2;
  }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
}

.split__content > * + * {
  margin-top: var(--space-4);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  font-size: var(--text-base);
}

.check-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-accent-strong);
  transform: translateY(-1px);
}

/* ============ Valeurs / historique ============ */

.values {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .values {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .value-card--wide {
    grid-row: span 1;
  }
}

.value-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.value-card h3::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-accent-strong);
}

.value-card p {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-left: var(--space-6);
  border-left: 2px solid oklch(from var(--color-primary) l c h / 0.25);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-primary);
  font-size: var(--text-lg);
}

.timeline h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--space-1);
}

.timeline p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ Tableaux ============ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
}

.table {
  min-width: 640px;
  font-size: var(--text-sm);
}

.table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-offset);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.table td {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-divider);
  vertical-align: middle;
}

.table .num {
  font-variant-numeric: tabular-nums;
}

.pill {
  display: inline-block;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
}

.pill--win {
  background: #e2efdd;
  color: #2e5c1a;
}

.pill--draw {
  background: #e8e7e0;
  color: #55564e;
}

.pill--loss {
  background: #f6e3da;
  color: #92401c;
}

/* ============ École de tennis — niveaux ============ */

.levels {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.level {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4) var(--space-5);
  align-items: start;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
}

.level__dot {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  box-shadow: inset 0 0 0 2px oklch(from #ffffff l c h / 0.4);
}

.level h3 {
  font-size: var(--text-base);
  font-weight: 700;
}

.level__age {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.level p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.level__slot {
  grid-column: 2;
  font-size: var(--text-sm);
  color: var(--color-primary-hover);
  font-weight: 600;
}

/* ============ Événements ============ */

.event-list {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 800px) {
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-5);
  align-items: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #ffffff;
  padding: var(--space-2) 0;
  min-height: 64px;
}

.event__day {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
}

.event__month {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event h3 {
  font-size: var(--text-base);
  font-weight: 700;
}

.event p {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============ Galerie ============ */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
  .gallery__item--tall {
    grid-row: span 2;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: zoom-in;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  background: linear-gradient(to top, oklch(0.2 0.02 150 / 0.75), transparent);
  color: #ffffff;
  font-size: var(--text-xs);
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: oklch(0.15 0.02 150 / 0.9);
  padding: var(--space-6);
}

.lightbox[data-open='true'] {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 84vh;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: oklch(from #ffffff l c h / 0.15);
}

.lightbox figcaption {
  position: absolute;
  bottom: var(--space-5);
  color: oklch(from #ffffff l c h / 0.85);
  font-size: var(--text-sm);
}

/* ============ Formulaire ============ */

.form {
  display: grid;
  gap: var(--space-5);
  max-width: var(--content-narrow);
}

.form__row {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.field label {
  font-size: var(--text-sm);
  font-weight: 600;
}

.field .req {
  color: var(--color-primary);
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: var(--text-base);
  min-height: 44px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form__status {
  display: none;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-sm);
}

.form__status[data-show='success'] {
  display: block;
  background: #e2efdd;
  color: #2e5c1a;
}

.form__status[data-show='error'] {
  display: block;
  background: #f6e3da;
  color: #92401c;
}

/* ============ Contact / infos ============ */

.contact-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-line {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}

.contact-line strong {
  font-size: var(--text-sm);
}

.contact-line span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}

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

/* ============ CTA final ============ */

.cta-band {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.cta-band h2 {
  color: #ffffff;
  max-width: 22ch;
}

.cta-band .lead {
  color: oklch(from #ffffff l c h / 0.8);
}

.cta-band .btn {
  margin-top: var(--space-6);
}

/* ============ Footer de page (pied de contenu) ============ */

.pagefoot {
  border-top: 1px solid var(--color-divider);
  padding: var(--space-8) 0 var(--space-10);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
}

.pagefoot a {
  color: var(--color-text-muted);
}

.pagefoot a:hover {
  color: var(--color-primary-hover);
}

/* ============ Révélations au scroll ============ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-visible='true'] {
  opacity: 1;
  transform: none;
}

/* ============ Impression (fiche) ============ */

@media print {
  .sidebar,
  .topbar,
  .backdrop,
  .pagefoot,
  .no-print {
    display: none !important;
  }
  .main {
    margin: 0 !important;
  }
  body {
    background: #fff;
  }
}

/* ============ Logo du club ============ */

.brand-logo {
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

/* ============ Partenaires ============ */

.partners {
  padding: var(--space-10) 0 var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.partners__title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.partners__fade {
  position: relative;
}

.partners__strip {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.partners__strip img {
  display: block;
  width: 100%;
  min-width: 520px;
  height: auto;
  border-radius: var(--radius-md);
}

@media (max-width: 720px) {
  .partners__fade::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56px;
    background: linear-gradient(to right, transparent, var(--color-bg));
    pointer-events: none;
  }
}

/* ============ Photo encart entraînement ============ */

.photo-aside {
  margin-top: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
}

.photo-aside img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.photo-aside figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
