/* ============================================================
   U.S.E.E MUAYTHAÏ — feuille de style statique
   Direction : "fight club" sombre — rouge oxblood + bleu azur
   sur fond quasi noir. Anton (display) + Barlow (texte courant).
   ============================================================ */

:root {
  --radius: 0.55rem;

  --background: #f6f5f1;
  --foreground: #161616;

  --card: #ffffff;
  --card-foreground: #161616;

  --primary: #b21f2a;
  --primary-hover: #961923;
  --primary-foreground: #ffffff;

  --azur: #315fc9;
  --azur-foreground: #ffffff;

  --muted: #eceae5;
  --muted-foreground: #6d6a64;

  --accent: #efede8;
  --border: #dedbd4;
  --input: #ffffff;

  --shadow-soft: 0 18px 50px rgba(20, 20, 20, 0.08);
  --shadow-lift: 0 18px 45px rgba(20, 20, 20, 0.12);

  --gradient-hero: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.08) 0%,
    rgba(12, 12, 12, 0.28) 48%,
    rgba(12, 12, 12, 0.82) 100%
  );
  --gradient-ember: linear-gradient(100deg, #b21f2a 0%, #d04445 100%);
  --gradient-tricolore: linear-gradient(
    90deg,
    #b21f2a 0 33%,
    #f4f1eb 33% 66%,
    #315fc9 66% 100%
  );
  --shadow-ring: 0 14px 34px rgba(178, 31, 42, 0.2);
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Barlow", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  font-family: "Anton", "Arial Narrow", sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  transform: skewX(-7deg);
  transform-origin: left bottom;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout helpers ---------- */
.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-y { padding-top: 1rem; padding-bottom: 1rem; }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

/* ---------- reusable utilities (from design system) ---------- */
.tricolore-bar { height: 4px; background: var(--gradient-tricolore); }

.ember-text {
  background: var(--gradient-ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.azur-text { color: var(--azur); }

.brush-plate {
  display: inline-block;
  padding: 0.25em 1.1em 0.3em;
  background: var(--primary);
  color: var(--primary-foreground);
  clip-path: polygon(2% 8%, 99% 0%, 97% 92%, 1% 100%);
}

.rule-slash {
  position: relative;
  padding-left: 1.25rem;
}
.rule-slash::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 6px;
  background: var(--primary);
  transform: skewX(-7deg);
}

.surface-grain {
  background-image: repeating-linear-gradient(
    -60deg,
    rgba(179, 34, 43, 0.07) 0 2px,
    transparent 2px 16px
  );
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  font-family: "Barlow", sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-ring);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--primary-hover); }

.btn-outline-azur {
  background: transparent;
  border: 2px solid var(--azur);
  color: var(--azur);
  padding: calc(0.9rem - 2px) calc(1.75rem - 2px);
}
.btn-outline-azur:hover { background: var(--azur); color: var(--azur-foreground); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.72rem;
  padding: 0.6rem 1.1rem;
}
.btn-outline:hover { background: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  color: var(--foreground);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  line-height: 1;
}
.brand img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; margin-right: 0.7rem; }
.brand .b1 {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-right: 0.4rem;
}
.brand .b2 {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 0.7rem;
}
.brand .since {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--azur);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.main-nav { display: none; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 242, 236, 0.7);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--foreground); }
.main-nav .nav-cta {
  margin-left: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  transition: transform 0.15s ease;
}
.main-nav .nav-cta:hover { transform: translateY(-2px); }

.menu-toggle {
  display: inline-flex;
  border: 1px solid rgba(245, 242, 236, 0.2);
  border-radius: var(--radius);
  background: none;
  padding: 0.5rem;
  color: var(--foreground);
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}
.mobile-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(245, 242, 236, 0.85);
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 480px) {
  .brand .since { display: none; }
  .brand .b1, .brand .b2 { font-size: 1.15rem; }
  .brand img { width: 34px; height: 34px; }
  .header-inner { padding: 0.85rem 1rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}
.hero-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 1.25rem 5rem;
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: 3rem;
  color: var(--foreground);
}
.hero .tagline {
  margin-top: 1.5rem;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.5rem;
}
.hero h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}
.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 4.5rem; }
  .hero .tagline { font-size: 2.25rem; }
  .hero h2 { font-size: 1.875rem; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 72rem;
  margin: 0 auto;
}
.stats > div {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.stats dt {
  font-family: "Anton", sans-serif;
  font-size: 2.25rem;
  color: var(--azur);
}
.stats dd {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats > div { border-bottom: none; border-left: 1px solid var(--border); }
  .stats > div:first-child { border-left: none; }
}

/* ============================================================
   GENERIC SECTION HEADINGS
   ============================================================ */
.section-head h2, .page-head h1 { font-size: 2rem; }
.section-head p, .page-head p { margin-top: 1rem; max-width: 34rem; color: var(--muted-foreground); }
@media (min-width: 640px) {
  .section-head h2 { font-size: 2.25rem; }
  .page-head h1 { font-size: 3.75rem; }
}

/* ============================================================
   ACTIVITÉS (grid on homepage)
   ============================================================ */
.activites-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.activites-grid article {
  background: var(--card);
  padding: 2rem;
  transition: background-color 0.15s ease;
}
.activites-grid article:hover { background: var(--accent); }
.activites-grid .icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
}
.activites-grid h3 { margin-top: 1.25rem; font-size: 1.25rem; text-transform: none; transform: none; }
.activites-grid p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

@media (min-width: 640px) { .activites-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .activites-grid { grid-template-columns: repeat(3, 1fr); } }

.link-arrow {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--azur);
}
.link-arrow:hover { text-decoration: underline; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--card);
}
.cta-band-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}
.cta-band-inner h2 { font-size: 1.875rem; }
.cta-band-inner p { margin-top: 0.75rem; max-width: 40rem; font-size: 0.875rem; color: var(--muted-foreground); }
@media (min-width: 768px) {
  .cta-band-inner { flex-direction: row; align-items: center; }
  .cta-band-inner h2 { font-size: 2.25rem; }
}

/* ============================================================
   TRAINERS
   ============================================================ */
.trainers-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}
.trainer-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}
.trainer-avatar {
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(179,34,43,0.35), rgba(63,111,224,0.25));
  position: relative;
}
.trainer-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-60deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 18px);
}
.trainer-avatar span {
  font-family: "Anton", sans-serif;
  font-size: 3.5rem;
  color: rgba(245,242,236,0.92);
  transform: skewX(-7deg);
}
.trainer-card .body { padding: 2rem; }
.trainer-card .role { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: var(--azur); }
.trainer-card h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.trainer-card ul { margin-top: 1rem; }
.trainer-card li { font-size: 0.875rem; color: var(--muted-foreground); padding: 0.15rem 0; }

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

/* ============================================================
   PRICING NOTES + SECTIONS (activités page)
   ============================================================ */
.notes-grid {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
.notes-grid p {
  border: 1px solid rgba(63,111,224,0.4);
  background: rgba(63,111,224,0.06);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--azur);
}
@media (min-width: 640px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }

.section-cards { margin-top: 2rem; display: flex; flex-direction: column; gap: 3rem; }
.section-card {
  display: grid;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}
.section-card img { height: 16rem; width: 100%; object-fit: cover; }
.section-card .body { padding: 2rem; }
.section-card .age { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em; color: var(--azur); }
.section-card h3 { margin-top: 0.5rem; font-size: 1.5rem; }
.section-card .desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.4; color: var(--muted-foreground); }
.section-card .prices { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.section-card .prices li { font-size: 0.875rem; font-weight: 600; color: var(--azur); }
.section-card .actions { margin-top: 1.75rem; display: flex; gap: 0.75rem; }
.section-card.reverse img { order: -1; }

@media (min-width: 768px) {
  .section-card { grid-template-columns: 1fr 1fr; }
  .section-card img { height: 100%; }
  .section-card.reverse img { order: 2; }
}

.gear-card {
  margin-top: 2rem;
  display: grid;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}
.gear-card img { height: 16rem; width: 100%; object-fit: cover; }
.gear-card .body { padding: 2rem; }
.gear-card ul { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; font-size: 0.875rem; }
.gear-card li { border-left: 2px solid var(--primary); padding-left: 0.75rem; }
@media (min-width: 768px) { .gear-card { grid-template-columns: 1fr 1fr; } .gear-card img { height: 100%; } }

/* ============================================================
   PLANNING TABLE
   ============================================================ */
.planning-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid rgba(179,34,43,0.5);
  border-radius: var(--radius);
  background: var(--card);
}
table.planning {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.875rem;
}
table.planning thead tr { border-bottom: 1px solid rgba(179,34,43,0.5); }
table.planning th { padding: 1rem 0.75rem; }
table.planning thead th { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; border-left: 1px solid var(--border); }
table.planning thead th:first-child { border-left: none; width: 14rem; }
table.planning tbody tr { border-bottom: 1px solid var(--border); }
table.planning tbody tr:last-child { border-bottom: none; }
table.planning tbody th {
  border-right: 1px solid rgba(179,34,43,0.5);
  padding: 1.1rem 1rem;
  text-align: left;
}
table.planning tbody th .t { display: block; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; }
table.planning tbody th .a { display: block; margin-top: 0.2rem; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); }
table.planning td { border-left: 1px solid var(--border); padding: 1.1rem 0.75rem; font-size: 0.78rem; color: var(--muted-foreground); }
table.planning td.on { color: var(--foreground); font-weight: 600; }

/* ---------- planning : version mobile en cartes ---------- */
@media (max-width: 767px) {
  .planning-table-wrap {
    overflow-x: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  table.planning { min-width: 0; }

  table.planning thead { display: none; }

  table.planning,
  table.planning tbody,
  table.planning tr,
  table.planning th,
  table.planning td {
    display: block;
    width: 100%;
  }

  table.planning tbody tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(179, 34, 43, 0.35);
    border-radius: 0;
    background: var(--card);
  }
  table.planning tbody tr:last-child { margin-bottom: 0; }

  table.planning tbody th {
    border-right: 0;
    border-bottom: 1px solid rgba(179, 34, 43, 0.35);
    padding: 0.9rem 1.1rem;
    background: rgba(179, 34, 43, 0.06);
  }

  table.planning td {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 0.7rem 1.1rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  /* seuls les créneaux actifs (.on) sont affichés, avec le jour en préfixe */
  table.planning td:not(.on) { display: none; }
  table.planning td.on:first-of-type { border-top: 0; }
  table.planning td.on::before {
    content: attr(data-day);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-foreground);
  }

  /* si un cours n'a exceptionnellement aucun créneau actif, on garde le "–" visible pour ne pas afficher une carte vide */
  table.planning tbody tr:not(:has(td.on)) td:first-of-type {
    display: flex;
    border-top: 0;
  }
}

.planning-cta {
  margin-top: 3.5rem;
  border-left: 4px solid var(--azur);
  padding-left: 1.5rem;
}
.planning-cta p { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.5rem; }
.planning-cta a { margin-top: 1.5rem; }

/* ============================================================
   FORMS (inscription / contact / comptabilite)
   ============================================================ */
.form-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 1.4fr 1fr; } }

.panel { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 2rem; }

.field {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}
.field input, .field select, .field textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: "Barlow", sans-serif;
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field-check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); grid-column: 1 / -1; }
.field-check input { margin-top: 0.2rem; width: 1rem; height: 1rem; accent-color: var(--primary); }

#inscription-form-fields, #contact-form-fields { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { #inscription-form-fields { grid-template-columns: repeat(2, 1fr); } }
.span-2 { grid-column: 1 / -1; }

.dark-input {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--input);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: "Barlow", sans-serif;
  outline: none;
  transition: border-color 0.15s ease;
}
.dark-input:focus { border-color: var(--primary); }
.dark-input::placeholder { color: var(--muted-foreground); }

.price-box {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(63,111,224,0.4);
  background: rgba(63,111,224,0.06);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.price-box .label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--azur); }
.price-box .amount { font-family: "Anton", sans-serif; font-size: 2rem; color: var(--azur); }

.success-box { padding: 3rem 0; text-align: center; }
.success-box svg { margin: 0 auto; color: var(--azur); }
.success-box h2 { margin-top: 1rem; font-size: 1.5rem; }
.success-box p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.success-box button { margin-top: 1.5rem; }

.aside-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-stack h2 { font-size: 1.25rem; }
.aside-stack ul { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.aside-stack li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.aside-stack li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--primary); width: 16px; height: 16px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
.contact-card svg { width: 24px; height: 24px; color: var(--primary); }
.contact-card h3 { margin-top: 1rem; font-size: 1.25rem; }
.contact-card p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); }

.contact-map-form { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-map-form { grid-template-columns: repeat(2, 1fr); } }
.map-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { width: 100%; height: 520px; border: 0; display: block; }

/* ============================================================
   COMPTABILITÉ
   ============================================================ */
.compta-stats { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .compta-stats { grid-template-columns: repeat(3, 1fr); } }
.compta-stat { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
.compta-stat.solde { border-color: rgba(63,111,224,0.4); background: rgba(63,111,224,0.06); }
.compta-stat .label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.compta-stat .label svg { width: 16px; height: 16px; }
.compta-stat .value { margin-top: 0.75rem; font-family: "Anton", sans-serif; font-size: 2.25rem; }
.compta-stat .value.azur { color: var(--azur); }
.compta-stat .value.primary { color: var(--primary); }

.compta-section { margin-top: 2.5rem; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 2rem; }
.compta-section h2 { font-size: 1.25rem; }

.cat-row { margin-top: 1.5rem; }
.cat-row .top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; }
.cat-row .top .name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.cat-bar { margin-top: 0.5rem; height: 0.5rem; border-radius: var(--radius); background: var(--muted); overflow: hidden; }
.cat-bar > div { height: 100%; border-radius: var(--radius); }

.entry-form { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 768px) { .entry-form { grid-template-columns: repeat(6, 1fr); align-items: center; } }
.entry-form input, .entry-form select {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--input); color: var(--foreground); padding: 0.6rem 0.75rem; font-size: 0.875rem;
  font-family: "Barlow", sans-serif; outline: none;
}
.entry-form input:focus, .entry-form select:focus { border-color: var(--primary); }
.entry-amount-row { display: flex; gap: 0.5rem; }
.entry-amount-row button {
  flex-shrink: 0; border-radius: var(--radius); background: var(--primary); color: var(--primary-foreground);
  border: none; padding: 0 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.journal-head { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.filter-btns { display: flex; gap: 0.5rem; }
.filter-btn {
  border-radius: var(--radius); border: 1px solid var(--border); background: transparent;
  color: var(--muted-foreground); padding: 0.5rem 1rem; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em; cursor: pointer; transition: all 0.15s ease;
  font-family: "Barlow", sans-serif;
}
.filter-btn:hover { background: var(--accent); }
.filter-btn.active { border-color: var(--azur); background: rgba(63,111,224,0.1); color: var(--azur); }

.journal-wrap { margin-top: 1.25rem; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
table.journal { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
table.journal thead tr { border-bottom: 1px solid var(--border); text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
table.journal th, table.journal td { padding: 1rem 1.25rem; }
table.journal tbody tr { border-bottom: 1px solid rgba(50,44,42,0.6); }
table.journal tbody tr:last-child { border-bottom: none; }
table.journal .amount { text-align: right; font-weight: 600; white-space: nowrap; }
table.journal .amount.recette { color: var(--azur); }
table.journal .amount.depense { color: var(--primary); }
table.journal .del { text-align: right; }
table.journal .del button { background: none; border: none; color: var(--muted-foreground); cursor: pointer; padding: 0.25rem; }
table.journal .del button:hover { color: var(--primary); }
table.journal .empty { text-align: center; padding: 2.5rem; color: var(--muted-foreground); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 0; background: #151515; color: #f5f2ec; }

.site-footer .footer-grid {
  max-width: 76rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .site-footer .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer .footer-grid > div { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer .footer-grid > div:first-child { gap: 1rem; }

.site-footer .brand-line { font-family: "Anton", sans-serif; font-size: 1.25rem; letter-spacing: 0.03em; transform: none; text-transform: none; color: #fff; }
.site-footer .brand-line b { color: #d53b42; }
.site-footer .brand-line .ember-text { color: #d6454b; }
.site-footer .brand-desc { margin-top: 0.75rem; max-width: 20rem; font-size: 0.875rem; color: #aaa69e; }

.site-footer .footer-grid h3 { font-family: "Barlow", sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; transform: none; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
.site-footer .footer-grid ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.site-footer .footer-grid p,
.site-footer .footer-grid li,
.site-footer .footer-grid a { margin: 0; color: #aaa69e; font-size: 0.75rem; line-height: 1.7; }
.site-footer .footer-grid a:hover { color: #fff; }
.site-footer .footer-grid .salle p { margin-top: 1rem; }

.site-footer .footer-bottom {
  max-width: 76rem;
  margin: 0 auto;
  border-top: 1px solid #333;
  padding: 1.2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #77736c;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer .footer-bottom a { color: #77736c; }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 600px) {
  .site-footer .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* --- SOCIAL LINKS --- */
.social-links { display: flex; flex-direction: column; gap: 0.85rem; }
.social-links a { display: inline-flex; align-items: center; gap: 0.65rem; font-size: 0.875rem; font-weight: 600; }
.social-links svg { color: var(--primary); flex-shrink: 0; }

/* ============================================================
   SCROLL OFFSET FOR ANCHORS UNDER STICKY HEADER
   ============================================================ */
#accueil, #club, #disciplines, #tarifs, #planning, #equipement, #contact {
  scroll-margin-top: 5rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ============================================================
   U.S.E.E MUAYTHAÏ — MODERN EDITORIAL REDESIGN
   Light / elegant / athletic
   (variables déjà déclarées dans le :root en haut de fichier)
   ============================================================ */

body {
  background: var(--background);
  color: var(--foreground);
}

h1, h2, h3, h4 {
  color: var(--foreground);
}

/* ---------- accessibilité ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared container ---------- */

/* ---------- header: white, slim, editorial ---------- */
.site-header {
  background: rgba(255,255,255,.96);
  color: var(--foreground);
  border-bottom: 1px solid #e5e2dc;
  box-shadow: 0 8px 28px rgba(15,15,15,.045);
  backdrop-filter: blur(16px);
}

.site-header .header-inner {
  max-width: 76rem;
  padding: .9rem 1.25rem;
  border-bottom: 0;
  min-height: 76px;
}

.brand {
  align-items: center;
  gap: .8rem;
}

.brand img {
  width: 46px;
  height: 46px;
  margin-right: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
}

.brand .b1,
.brand .b2 {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: .01em;
}

.brand .b1 { color: #b21f2a; }
.brand .b2 { color: #151515; }

.brand .since {
  color: #77736d;
  border-left: 1px solid #d8d4cd;
  padding-left: .8rem;
  margin-left: .15rem;
  letter-spacing: .22em;
}

.main-nav {
  gap: .15rem;
}

.main-nav a {
  position: relative;
  padding: .65rem .8rem;
  border-radius: 1px;
  color: #56534e;
  font-size: .72rem;
  letter-spacing: .13em;
  transition: color .2s ease, background .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .38rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--primary);
  transition: transform .2s ease;
}

.main-nav .nav-cta::after,
.main-nav .nav-secondary::after,
.main-nav .nav-shop::after {
  content: none;
}

.main-nav a:hover {
  color: #151515;
  background: #f3f1ed;
}

.main-nav a:hover::after { transform: scaleX(1); }

.main-nav .nav-cta {
  margin-left: .55rem;
  padding: .72rem 1.05rem;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.main-nav .nav-cta:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.main-nav .nav-secondary {
  margin-left: 0.3rem;
  padding: 0.72rem 1.05rem;
  background: #163a73;
  color: #fff;
  box-shadow: none;
}
.main-nav .nav-secondary:hover {
  background: #0f2b57;
  color: #fff;
  transform: translateY(-1px);
}

.main-nav .nav-shop {
  margin-left: 0.3rem;
  padding: 0.72rem 1.05rem;
  background: #1c1c1c;
  color: #fff;
  box-shadow: none;
}
.main-nav .nav-shop:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

.main-nav .nav-cta span,
.mobile-cta span { font-size: 1rem; margin-left: .25rem; }

.menu-toggle {
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #d8d5cf;
  border-radius: 50%;
  background: #fff;
  color: #151515;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* burger -> croix quand le menu mobile est ouvert */
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  background: #fff;
  border-top: 1px solid #e8e5df;
  padding: .7rem 1.25rem 1.2rem;
}

.mobile-nav a {
  padding: .8rem .2rem;
  color: #3f3d39;
  border-bottom: 1px solid #eeeae4;
  letter-spacing: .12em;
}

.mobile-nav .mobile-cta {
  margin-top: .8rem;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 1px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.mobile-nav .nav-secondary {
  margin-top: .5rem;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 1px;
  background: #163a73;
  color: #fff;
  text-align: center;
}

.mobile-nav .nav-shop {
  margin-top: .5rem;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 1px;
  background: #1c1c1c;
  color: #fff;
  text-align: center;
}

/* ---------- type & buttons ---------- */
.ember-text { background: var(--gradient-ember); }
.azur-text { color: var(--azur); }

.brush-plate {
  background: var(--primary);
  border-radius: .12rem;
  padding: .16em .72em .2em;
  clip-path: polygon(1% 8%, 99% 2%, 98% 91%, 2% 100%);
}

.btn {
  border-radius: 1px;
  padding: .85rem 1.45rem;
  letter-spacing: .12em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--primary);
  box-shadow: var(--shadow-ring);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 18px 38px rgba(178,31,42,.24);
}

.btn-outline,
.btn-outline-azur {
  border-radius: 1px;
}

.btn-outline {
  border-color: #cbc7bf;
  color: #272622;
  background: rgba(255,255,255,.55);
}

.btn-outline:hover { background: #fff; }

.btn-outline-azur {
  border-color: rgba(255,255,255,.65);
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* ---------- hero ---------- */
.hero {
  min-height: 0;
  background: #111;
}

.hero img.hero-bg {
  opacity: .82;
  object-position: center 43%;
  filter: saturate(.88) contrast(1.04);
}

.hero .overlay {
  background:
    linear-gradient(90deg, rgba(8,8,8,.80) 0%, rgba(8,8,8,.38) 58%, rgba(8,8,8,.12) 100%),
    linear-gradient(180deg, rgba(8,8,8,.02) 0%, rgba(8,8,8,.12) 45%, rgba(8,8,8,.72) 100%);
}

.hero-inner {
  max-width: 76rem;
  min-height: min(78vh, 760px);
  padding: 8rem 1.25rem 5.5rem;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  letter-spacing: -.01em;
}

.hero .tagline {
  font-size: clamp(1.35rem, 2.6vw, 2.25rem);
  max-width: 650px;
}

.hero h2 { margin-top: 1.8rem; }

.hero-actions { margin-top: 2rem; }

.hero + .tricolore-bar {
  height: 5px;
}

/* ---------- alternating home sections ---------- */
#accueil { background: #111; }
#accueil + .tricolore-bar { background: var(--gradient-tricolore); }

#activites {
  background: #fff;
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 76rem) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 76rem) / 2 + 1.25rem));
}

#activites .activites-grid {
  max-width: 76rem;
}

#activites + .cta-band {
  background: #f2f0eb;
}

#entraineurs {
  background: #fff;
  max-width: none;
  padding-left: max(1.25rem, calc((100vw - 76rem) / 2 + 1.25rem));
  padding-right: max(1.25rem, calc((100vw - 76rem) / 2 + 1.25rem));
}

#sections,
#inscription {
  background: #f2f0eb;
}

#planning,
#contact {
  background: #eef0f2;
}

/* Stats = quiet off-white separator */
.surface-grain {
  background: #f1efe9;
  background-image: none;
}

.stats {
  max-width: 76rem;
}

.stats > div {
  padding: 2.2rem 1.5rem;
  border-color: #ddd9d1;
}

.stats dt {
  color: #171717;
  font-size: 2.55rem;
}

.stats dd { color: #77736d; }

/* ---------- activity cards ---------- */
.activites-grid {
  gap: 0;
  background: #e1ded7;
  border: 1px solid #e1ded7;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.activites-grid article {
  background: #fff;
  padding: 2.15rem;
  min-height: 245px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.activites-grid article:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  position: relative;
  z-index: 1;
}

.activites-grid .icon {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.activites-grid h3 {
  margin-top: 1.15rem;
  font-size: 1.15rem;
}

.activites-grid p { color: #706d67; }

.link-arrow {
  color: var(--primary);
  letter-spacing: .12em;
  text-decoration: none;
  border-bottom: 1px solid rgba(178,31,42,.3);
  padding-bottom: .3rem;
}

.link-arrow:hover { text-decoration: none; border-color: var(--primary); }

/* ---------- CTA ---------- */
.cta-band {
  border-color: #dedad2;
}

.cta-band-inner {
  max-width: 76rem;
  padding: 4.4rem 1.25rem;
}

.cta-band-inner h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band-inner p { color: #6e6a64; }

/* ---------- trainers ---------- */
.trainer-card,
.panel,
.section-card,
.gear-card,
.contact-card {
  background: #fff;
  border-color: #e2ded7;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(20,20,20,.045);
}

.trainer-card { transition: transform .25s ease, box-shadow .25s ease; }
.trainer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.trainer-avatar {
  height: 16rem;
  background: linear-gradient(135deg, #1b1b1b, #383633);
}

.trainer-card .role { color: var(--primary); }
.trainer-card li { color: #706d67; }

/* ---------- activities page ---------- */
.section-card {
  border: 0;
  box-shadow: var(--shadow-soft);
}

.section-card img { min-height: 100%; }

.section-card .body { padding: clamp(1.75rem, 3vw, 3rem); }

.section-card .age { color: var(--primary); }
.section-card .prices li { color: #2f5fc7; }

.notes-grid p {
  border: 0;
  background: #fff;
  color: #5f5b55;
  box-shadow: 0 5px 20px rgba(20,20,20,.04);
}

/* ---------- planning ---------- */
.planning-table-wrap {
  border: 1px solid #dedad2;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

table.planning thead tr {
  background: #f3f1ec;
  border-color: #dedad2;
}

table.planning thead th {
  color: #3e3b36;
}

table.planning tbody tr { border-color: #e7e3dc; }
table.planning tbody th { border-color: #e0ddd6; }
table.planning tbody th .a { color: var(--primary); }
table.planning td { border-color: #eeeae4; }
table.planning td.on {
  color: #171717;
  background: rgba(49,95,201,.055);
}

.planning-cta {
  border-left: 3px solid var(--primary);
}

/* ---------- forms ---------- */
.panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.field,
.contact-map-form input,
.contact-map-form textarea {
  color: #55514b;
}

.field input, .field select, .field textarea,
.dark-input {
  background: #faf9f7 !important;
  color: #181818 !important;
  border-color: #d9d5ce !important;
  border-radius: .65rem !important;
}

.field input:focus, .field select:focus, .field textarea:focus,
.dark-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(178,31,42,.08);
}

/* ---------- small-screen polish ---------- */
@media (max-width: 767px) {
  .site-header .header-inner { min-height: 68px; }
  .brand .since { display: none; }
  .brand .b1, .brand .b2 { font-size: 1.18rem; }
  .brand img { width: 38px; height: 38px; }

  .hero-inner {
    min-height: 78vh;
    padding-top: 6rem;
    padding-bottom: 3.75rem;
  }

  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }

  .section-y { padding-top: 2rem; padding-bottom: 0rem; }

  .activites-grid article {
    min-height: 0;
    padding: 1.7rem;
  }

  .section-card .body { padding: 1.6rem; }

  /* footer centré sur mobile */
  .site-footer .footer-grid { text-align: center; }
  .site-footer .footer-grid > div { align-items: center; }
  .site-footer .footer-grid img { margin-left: auto; margin-right: auto; }
  .social-links { align-items: center; }
  .social-links a { justify-content: center; }
}

@media (min-width: 768px) {
  #activites,
  #entraineurs {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ============================================================
   PREMIUM HOMEPAGE — U.S.E.E MUAYTHAÏ
   ============================================================ */
.premium-hero {
  position: relative; min-height: calc(100vh - 76px); overflow: hidden;
  background: #101010; color: #fff;
}
.premium-hero-bg {
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  object-position:center 35%; filter:saturate(.78) contrast(1.08);
}
.premium-hero-shade {
  position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(0,19,40,.60) 0%,rgba(0,19,40,.60) 45%,rgba(0,19,40,.60) 100%),
             linear-gradient(0deg,rgba(0,19,40,.60),transparent 30%);
}
.premium-hero-inner { position:relative; z-index:1; min-height:calc(100vh - 76px); display:flex; flex-direction:column; justify-content:center; padding-top:5rem; padding-bottom:5rem; }
.hero-kicker { font-size:.68rem; letter-spacing:.28em; color:#ddd; display:flex; align-items:center; gap:.7rem; margin-bottom:1.6rem; }
.hero-kicker span { width:30px;height:1px;background:#c72b35;display:block; }
.premium-hero h1 { font-size:clamp(3rem,6vw,6rem); max-width:900px; margin:0; color:#fff; }
.premium-hero h1 em { color:#d53b42; font-style:normal; }
.hero-lead { margin:2rem 0 0; font-size:clamp(1.05rem,1.6vw,1.35rem); line-height:1.3; color:#e2e0dc; max-width:600px; }
.hero-actions { display:flex; align-items:center; gap:1.6rem; margin-top:2.2rem; }
.hero-actions .btn { color:#fff; }
.hero-link { color:#fff; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; }
.hero-link span { margin-left:.55rem; color:#d53b42; }
.hero-scroll { position:absolute; z-index:2; right:2rem; bottom:2rem; color:#c9c6c0; font-size:.6rem; letter-spacing:.25em; writing-mode:vertical-rl; display:flex; align-items:center; gap:.7rem; }
.hero-scroll span { width:1px;height:45px;background:#c72b35; }

.statement-section { background:#fff; padding:5rem 0; }
.statement-grid { display:grid; grid-template-columns:80px 1.25fr 1fr; gap:2rem; align-items:start; }
.statement-number { font-size:.7rem; letter-spacing:.2em; color:#b21f2a; padding-top:.7rem; }
.statement-section h2, .section-intro h2, .club-copy h2, .planning-preview h2, .contact-section h2 { font-size:clamp(2.8rem,5.2vw,5.5rem); line-height:1.005; margin:.7rem 0 0; }
.statement-section h2 span, .section-intro h2 span, .club-copy h2 span, .planning-preview h2 span, .contact-section h2 span { color:#b21f2a; }
.statement-copy { color:#69665f; font-size:1.05rem; line-height:1.4; max-width:500px; padding-top:3.6rem; }

.disciplines-section { background:#eef0f2; padding:5rem 0; }
.section-intro { display:grid; grid-template-columns:1.3fr .7fr; gap:4rem; align-items:end; margin-bottom:4rem; }
.section-intro > p { color:#6c6861; line-height:1.4; max-width:410px; margin-bottom:.4rem; }
.discipline-grid { display:grid; grid-template-columns:1.45fr 1fr 1fr; grid-template-rows:330px 250px; gap:12px; }
.discipline-card { position:relative; overflow:hidden; background:#222; color:#fff; min-height:250px; text-decoration:none; }
.discipline-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .55s ease; }
.discipline-card:hover img { transform:scale(1.045); }
.card-main { grid-row:span 2; }
.card-overlay { position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.05) 72%); }
.card-content { position:absolute; z-index:1; left:2rem; right:2rem; bottom:2rem; }
.card-content > span { color:#d43b43; font-size:.65rem; letter-spacing:.2em; }
.card-content h3 { color:#fff; font-size:clamp(1.7rem,3vw,3rem); margin:.5rem 0 .5rem; }
.card-content p { color:#ddd; font-size:.82rem; margin:0 0 1rem; }
.card-content b { font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; font-weight:500; color:#fff; }
.dark-card { background:#171717; display:flex; }
.dark-card:before { content:""; position:absolute; width:220px;height:220px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-65px;top:-65px; }
.dark-card .card-content { bottom:2rem; }

.club-section { background:#fff; padding:5rem 0; }
.club-grid { display:grid; grid-template-columns:1fr 1fr; gap:7rem; align-items:center; }
.club-image { position:relative; }
.club-image img { width:100%; aspect-ratio:4/5; object-fit:cover; filter:saturate(.8); }
.club-copy > p:not(.eyebrow) { color:#6c6861; line-height:1.4; max-width:500px; margin:2rem 0; }
.club-stats { display:flex; gap:2rem; padding:1.6rem 0; border-top:1px solid #dedbd4; border-bottom:1px solid #dedbd4; margin-bottom:2rem; }
.club-stats div { display:flex; flex-direction:column; gap:.3rem; }
.club-stats strong { font-size:1.8rem; }
.club-stats span { font-size:.65rem; letter-spacing:.08em; color:#77736d; text-transform:uppercase; }
.text-link { display:inline-flex; gap:.6rem; color:#1b1b1b; font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; border-bottom:1px solid #bdb9b1; padding-bottom:.45rem; }
.text-link:hover { color:#b21f2a; border-color:#b21f2a; }
.club-actions { display:flex; flex-wrap:wrap; gap:2rem; margin-top:1.5rem; }
.club-actions .btn {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.club-actions .btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(178, 31, 42, .06);
}

.quote-section { background:#161616; color:#fff; padding:9rem 0; }
.quote-section .eyebrow { color:#d53b42; }
.quote-section blockquote { font-size:clamp(2rem,3vw,3.5rem); line-height:.95; letter-spacing:-.04em; margin:3rem 0; max-width:1100px; }
.quote-section blockquote em { color:#d53b42; font-style:normal; }
.quote-line { width:100%;height:1px;background:#3b3b3b;position:relative; }
.quote-line:before { content:"";display:block;width:100%;height:2px;background:#b21f2a;position:absolute;top:-1px; }

.planning-preview { background:#eef0f2; padding:5rem 0; }
.planning-preview-grid { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:3rem; }
.planning-preview-grid > div > p:last-child { color:#6d6962; margin-top:1.5rem; }
.big-arrow { display:flex; align-items:center; justify-content:space-between; border-top:1px solid #cfcac2; border-bottom:1px solid #cfcac2; padding:1.5rem 0; color:#1b1b1b; font-size:.7rem; letter-spacing:.17em; text-transform:uppercase; }
.big-arrow span { font-size:1.4rem; color:#b21f2a; transition:transform .2s; }
.big-arrow:hover span { transform:translate(4px,-4px); }

.contact-section { background:#fff; padding:5rem 0; }
.contact-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:4rem; align-items:end; }
.contact-action { border-left:1px solid #dedbd4; padding-left:3rem; }
.contact-action p { color:#6d6962; line-height:1.4; max-width:430px; margin:0 0 1.4rem; }
.contact-action .text-link { margin-left:1.2rem; }

@media (max-width: 800px) {
  .premium-hero { min-height:calc(100vh - 68px); }
  .premium-hero-inner { min-height:calc(100vh - 68px); }
  .statement-grid, .section-intro, .club-grid, .planning-preview-grid, .contact-grid { grid-template-columns:1fr; gap:2rem; }
  .statement-copy { padding-top:0; }
  .discipline-grid { grid-template-columns:1fr 1fr; grid-template-rows:330px 240px 240px; }
  .card-main { grid-row:span 1; grid-column:span 2; }
  .club-grid { gap:3rem; }
  .contact-action { border-left:0; border-top:1px solid #dedbd4; padding:2rem 0 0; }
}
@media (max-width: 560px) {
  .premium-hero h1 { font-size:3.7rem; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:1.2rem; }
  .discipline-grid { display:flex; flex-direction:column; }
  .discipline-card, .card-main { min-height:300px; }
  .club-stats { gap:1rem; justify-content:space-between; }
  .club-stats strong { font-size:1.5rem; }
  .contact-action .text-link { margin-left:0; display:flex; margin-top:1.3rem; width:max-content; }
}

/* ============================================================
   POP-IN VIDÉO (boutons "Explorer")
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.video-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.video-modal.open .video-modal-dialog { transform: scale(1); }

.video-modal-frame { position: relative; width: 100%; padding-top: 56.25%; }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.video-modal-close:hover { background: rgba(178, 31, 42, 0.9); }

/* ============================================================
   PAGE DOCUMENTS
   ============================================================ */
.doc-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .doc-grid { grid-template-columns: repeat(3, 1fr); } }

.doc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.doc-card.doc-card-highlight {
  border-color: rgba(178, 31, 42, 0.4);
  background: linear-gradient(180deg, rgba(178, 31, 42, 0.05), var(--card) 60%);
}
.doc-card svg { width: 28px; height: 28px; color: var(--primary); }
.doc-card h3 { margin-top: 1rem; font-size: 1.15rem; }
.doc-card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); flex-grow: 1; }
.doc-card .doc-meta {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}
.doc-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ============================================================
   IFRAME ESPACE MEMBRES (page inscription)
   ============================================================ */
.yapla-embed {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 950px;
}
.yapla-embed iframe {
  display: block;
  width: 100%;
  height: 750px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
@media (max-width: 700px) {
  .yapla-embed iframe { height: 600px; }
}

.info-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) { .info-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PAGE BOXEURS
   ============================================================ */
.boxer-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) { .boxer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .boxer-grid { grid-template-columns: repeat(3, 1fr); } }

.boxer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.boxer-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #eceae5, #dedad2);
  color: #b7b2a8;
}
.boxer-photo-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
  will-change: transform;
  backface-visibility: hidden;
}
.boxer-card:hover .boxer-photo-inner {
  transform: scale(1.08);
}
.boxer-photo svg { width: 40%; height: 40%; }
.boxer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  backface-visibility: hidden;
}

/* Image alternative qui apparaît au survol de la carte */
.boxer-photo .photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.boxer-card:hover .photo-hover { opacity: 1; }
.boxer-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.boxer-body > .btn { margin-top: auto; }
.boxer-body h3 { font-size: 1.15rem; }
.boxer-meta {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.boxer-meta span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  background: var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.boxer-title {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--foreground);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.boxer-title svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 0.15rem; }
.boxer-contact {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.boxer-contact svg { width: 15px; height: 15px; flex-shrink: 0; }
.boxer-social {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
}
.boxer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--muted-foreground);
  transition: background 0.2s ease, color 0.2s ease;
}
.boxer-social a:hover { background: var(--primary); color: #fff; }
.boxer-social svg { width: 15px; height: 15px; }
.placeholder-note {
  margin-top: 1.5rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(178, 31, 42, 0.08);
  border: 1px dashed rgba(178, 31, 42, 0.4);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
}

/* ============================================================
   BANDEAU D'ALERTE / NOTIFICATION (sous le header)
   ============================================================ */
.site-alert {
  background: var(--primary-hover);
  color: #fff;
}
.site-alert-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  text-align: center;
}
.site-alert-inner svg { width: 20px; height: 20px; flex-shrink: 0; }
.site-alert-inner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.site-alert-inner p strong { font-weight: 700; }

@media (max-width: 600px) {
  .site-alert-inner { padding: 0.65rem 1rem; gap: 0.6rem; }
  .site-alert-inner p { font-size: 0.78rem; }
}

/* ============================================================
   BOUTON FLOTTANT "FAIRE UN DON"
   ============================================================ */
.donate-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(178, 31, 42, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.donate-fab svg { width: 18px; height: 18px; }
.donate-fab:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(178, 31, 42, 0.42);
}

@media (max-width: 600px) {
  .donate-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.8rem;
  }
  .donate-fab span { display: none; }
}

/* ============================================================
   SECTION PARTENAIRES (plus compacte que les autres sections)
   ============================================================ */
.partners-section {
  padding: 2.5rem 0;
  background: #ffffff;

}
.partners-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  margin: 0 0 1.5rem;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}
.partner-logo {
  width: 110px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #b7b2a8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ============================================================
   PAGE BOUTIQUE
   ============================================================ */
.shop-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shop-grid { grid-template-columns: repeat(4, 1fr); } }

.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.shop-photo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #eceae5, #dedad2);
  color: #fff;
}
.shop-photo svg { width: 42%; height: 42%; }
.shop-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.shop-body h3 { font-size: 1.05rem; margin: 0; }
.shop-variant { margin-top: 0.2rem; font-size: 0.78rem; color: var(--muted-foreground); }
.shop-price {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.shop-body .btn { margin-top: 1rem; width: 100%; text-align: center; }
.shop-note {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

/* ============================================================
   PAGES COACHING PRIVÉ
   ============================================================ */
.coaching-hero {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}
@media (min-width: 800px) { .coaching-hero { grid-template-columns: 320px 1fr; } }

.coaching-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.coaching-photo img { width: 100%; height: 100%; object-fit: cover; }

.coaching-name { font-size: 1.5rem; margin: 0; }
.coaching-role {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.coaching-desc { margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.6; max-width: 34rem; }

.coaching-formats {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .coaching-formats { grid-template-columns: repeat(3, 1fr); } }
.coaching-format-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.coaching-format-card h3 { font-size: 1rem; margin: 0; }
.coaching-format-card .price { margin-top: 0.5rem; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.coaching-format-card p { margin-top: 0.5rem; font-size: 0.82rem; color: var(--muted-foreground); }

.coaching-cta {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--accent);
  border: 1px solid var(--border);
}
.coaching-cta h3 { margin: 0 0 0.5rem; }
.coaching-cta p { color: var(--muted-foreground); margin: 0 0 1.25rem; }
