/* ==========================================================================
   Badminton Pays de Plélan — Feuille de style
   Refonte : identité visuelle reprise du logo du club.
   1.  Base & variables
   2.  Typographie
   3.  Mise en page (conteneurs, sections)
   4.  Composants (boutons, cartes, badges…)
   5.  En-tête & navigation
   6.  Hero
   7.  Horaires
   8.  Tarifs / adhésion
   9.  Galerie
   10. Logos (partenaires, instances, clubs)
   11. Histoire, entraîneur, bureau
   12. Compétitions
   13. FAQ
   14. Pied de page
   15. Animations & divers
   ========================================================================== */

/* --- 1. Base & variables -------------------------------------------------- */

:root {
  /* Couleurs issues du logo du club */
  --brand: #d8005b;
  --brand-dark: #a70046;
  --brand-soft: #ffeef4;
  --lime: #8cc63f;
  --lime-dark: #6ea62b;
  --sky: #1ba1e2;
  --green: #24a46c;
  --amber: #f5911e;
  --tan: #a9754b;

  /* Neutres */
  --ink: #0f1319;
  --ink-2: #2b3441;
  --muted: #616c7c;
  --line: #e4e8ee;
  --line-strong: #d3d9e2;
  --bg: #ffffff;
  --bg-soft: #f6f7fa;
  --bg-dark: #0d1117;

  /* Rythme */
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 30px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(15, 19, 25, 0.06), 0 4px 14px rgba(15, 19, 25, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 19, 25, 0.07), 0 18px 44px rgba(15, 19, 25, 0.09);
  --shadow-lg: 0 10px 30px rgba(15, 19, 25, 0.1), 0 36px 80px rgba(15, 19, 25, 0.14);

  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: clamp(16px, 1rem + 0.2vw, 17.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* --- 2. Typographie ------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.05rem;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: var(--muted);
  line-height: 1.6;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--lime));
}

.kicker--center {
  justify-content: center;
}

.kicker--center::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--sky));
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--brand);
}

/* --- 3. Mise en page ------------------------------------------------------ */

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

.section {
  padding-block: var(--section-y);
}

.section--soft {
  background: var(--bg-soft);
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.split {
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* --- 4. Composants -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(216, 0, 91, 0.28);
}

.btn--primary:hover {
  background: var(--brand-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(216, 0, 91, 0.34);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--lime);
  color: var(--ink);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  color: var(--muted);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 700;
}

.badge--brand {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand);
}

.badge--lime {
  background: #f2fae6;
  border-color: transparent;
  color: var(--lime-dark);
}

.badge--sky {
  background: #e9f6fd;
  border-color: transparent;
  color: #0d7fb8;
}

.note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-soft), #fff7ef);
  border: 1px solid #ffdfe9;
}

.note__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.note p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

/* --- 5. En-tête & navigation --------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 19, 25, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  width: clamp(148px, 16vw, 186px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 10px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

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

.nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-cta {
  flex: none;
}

.burger {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --- 6. Hero -------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 78vh, 720px);
  padding-block: clamp(70px, 10vw, 110px);
  overflow: hidden;
  background: var(--bg-dark);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(8, 11, 16, 0.93) 0%,
      rgba(8, 11, 16, 0.82) 42%,
      rgba(8, 11, 16, 0.36) 78%,
      rgba(8, 11, 16, 0.5) 100%
    ),
    radial-gradient(60% 60% at 15% 100%, rgba(216, 0, 91, 0.4), transparent 70%);
}

.hero__inner {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime);
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}

.chip:nth-child(2) i {
  background: var(--sky);
}

.chip:nth-child(3) i {
  background: var(--amber);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__scroll:hover {
  color: #fff;
}

/* Bannière de page intérieure */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--bg-dark);
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 120% at 85% -10%, rgba(216, 0, 91, 0.55), transparent 60%),
    radial-gradient(60% 100% at 0% 110%, rgba(140, 198, 63, 0.28), transparent 65%),
    linear-gradient(180deg, #0d1117, #12171f);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  color: #fff;
}

.page-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 1rem + 0.5vw, 1.2rem);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumb a,
.breadcrumb span {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--lime);
}

/* --- 7. Horaires ---------------------------------------------------------- */

.slot-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.slot-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  margin: calc(clamp(24px, 3vw, 34px) * -1) calc(clamp(24px, 3vw, 34px) * -1)
    clamp(20px, 2.4vw, 26px);
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--brand), var(--lime));
}

.slot-card--sky::before {
  background: linear-gradient(90deg, var(--sky), var(--green));
}

.slot-card--amber::before {
  background: linear-gradient(90deg, var(--amber), var(--brand));
}

.slot-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slot-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.slot-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.slot-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.slot-list .day {
  font-weight: 700;
  color: var(--ink);
}

.slot-list .time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.slot-card--sky .slot-list .time {
  color: #0d7fb8;
}

.slot-card--amber .slot-list .time {
  color: var(--amber);
}

.slot-card .group-label {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- 8. Tarifs ------------------------------------------------------------ */

.price-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.price:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.price__who {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price__value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 4px;
  color: var(--ink);
  font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price__value span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

.price__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price .btn {
  margin-top: auto;
  padding-top: 13px;
  margin-block-start: 22px;
}

/* --- 9. Galerie ----------------------------------------------------------- */

.gallery {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 17vw, 210px);
}

.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
}

.gallery figure:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery figure.span-2 {
  grid-column: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 18px 14px;
  background: linear-gradient(transparent, rgba(8, 11, 16, 0.82));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery figure:hover figcaption {
  opacity: 1;
  transform: none;
}

/* --- 10. Logos ------------------------------------------------------------ */

.logo-grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.logo-cell {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.logo-cell img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-cell:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.logo-cell:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

.instances {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.instances .logo-cell {
  min-height: 130px;
  background: #fff;
}

/* --- 11. Histoire, entraîneur, bureau ------------------------------------- */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(26px, 4vw, 46px);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--lime));
  border-radius: 2px;
}

.timeline li {
  position: relative;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(clamp(26px, 4vw, 46px) * -1 + 1px);
  top: 9px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

.timeline .year {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-soft);
}

.media img {
  width: 100%;
}

.media--tilt {
  transform: rotate(-1.4deg);
}

.media--tilt-right {
  transform: rotate(1.4deg);
}

.figures {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(2, 1fr);
}

.figures img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.quote {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 7vw, 92px) 0;
  overflow: hidden;
  background: var(--bg-dark);
}

.quote__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

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

.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 12, 17, 0.9), rgba(9, 12, 17, 0.55));
}

.quote blockquote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-size: clamp(1.4rem, 1.1rem + 1.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.quote cite {
  display: block;
  margin-top: 22px;
  color: var(--lime);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile {
  text-align: center;
}

.profile__photo {
  width: clamp(160px, 22vw, 210px);
  margin: 0 auto 20px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
}

.profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.profile__name {
  margin-bottom: 4px;
}

.profile__role {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.92rem;
}

.team-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.member {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.member:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.member__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--amber));
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  overflow: hidden;
}

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

.member__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.member__role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.bars {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.bar__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--ink);
}

.bar__top span:last-child {
  color: var(--brand);
  font-size: 1.05rem;
}

.bar__track {
  height: 14px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--amber));
  transition: width 1.1s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.bar:nth-child(2) .bar__fill {
  background: linear-gradient(90deg, var(--sky), var(--lime));
}

.bar.is-visible .bar__fill {
  width: var(--value, 0%);
}

/* --- 12. Compétitions ----------------------------------------------------- */

.team-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.team-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.team-card__body {
  padding: clamp(20px, 2.4vw, 26px);
}

.team-card__body h3 {
  margin-bottom: 6px;
}

.team-card__players {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.team-card__captain {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 700;
}

.link-tiles {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.link-tile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.link-tile__arrow {
  margin-left: auto;
  color: var(--brand);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.link-tile:hover .link-tile__arrow {
  transform: translateX(5px);
}

/* --- 13. FAQ -------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--brand);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(17px, 2.2vw, 22px) clamp(18px, 2.4vw, 26px);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1rem, 0.98rem + 0.2vw, 1.08rem);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq summary:hover {
  background: var(--bg-soft);
}

.faq__body {
  padding: 0 clamp(18px, 2.4vw, 26px) clamp(18px, 2.4vw, 24px);
  color: var(--muted);
}

.faq__body p {
  margin-bottom: 0.7em;
}

/* --- 14. CTA & pied de page ---------------------------------------------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand) 0%, #7d0f57 55%, #2b1c4d 100%);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 198, 63, 0.55), transparent 65%);
}

.cta-band h2 {
  color: #fff;
  max-width: 16ch;
}

.cta-band p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  padding-block: clamp(48px, 6vw, 76px) 32px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer-brand span {
  color: var(--lime);
}

.site-footer h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--lime);
}

.social {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.87rem;
}

/* --- 15. Animations & divers --------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

/* Page 404 */
.error-page {
  display: grid;
  place-items: center;
  min-height: 68vh;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
  text-align: center;
}

.error-page .code {
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, var(--brand), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 960px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(140px, 30vw, 220px);
  }

  .gallery figure:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 880px) {
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 12px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(15, 19, 25, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
  }

  .nav a::after {
    display: none;
  }

  .site-header.is-stuck {
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-block: clamp(56px, 14vw, 84px);
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(180px, 52vw, 250px);
  }

  .gallery figure:nth-child(1) {
    grid-column: span 1;
  }

  .gallery figure.span-2 {
    grid-column: span 1;
  }

  .gallery figcaption {
    opacity: 1;
    transform: none;
  }

  .figures {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__scroll,
  .burger {
    display: none !important;
  }

  body {
    color: #000;
  }
}
