/* =============================================================================
   GFL — Gymnaestrada 2027 — Design system
   Palette méditerranéenne moderne (Nice → Lisbonne)
   ========================================================================== */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* Couleurs */
  --azur:        #0077b6;
  --azur-deep:   #023e58;
  --azur-night:  #03263a;
  --azur-light:  #48cae4;
  --azur-pale:   #ade8f4;
  --corail:      #ff6b5b;
  --corail-dark: #e8503f;
  --or:          #ffb703;
  --or-soft:     #ffd166;
  --sable:       #fff8f0;
  --sable-2:     #fef1e3;
  --ink:         #0d2231;
  --muted:       #5b7184;
  --line:        #e7e0d6;
  --white:       #ffffff;

  /* Dégradés */
  --grad-azur:   linear-gradient(135deg, var(--azur) 0%, var(--azur-deep) 100%);
  --grad-sunset: linear-gradient(120deg, var(--corail) 0%, var(--or) 100%);
  --grad-sea:    linear-gradient(135deg, var(--azur-light) 0%, var(--azur) 60%, var(--azur-deep) 100%);

  /* Typo */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Rayons & ombres */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(3, 38, 58, .06);
  --sh-md: 0 10px 30px rgba(3, 38, 58, .10);
  --sh-lg: 0 24px 60px rgba(3, 38, 58, .16);
  --sh-glow: 0 12px 40px rgba(0, 119, 182, .28);

  /* Layout */
  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
}

/* ── Reset & base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sable);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--azur-light); outline-offset: 2px; border-radius: 4px; }

/* ── Typographie ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
p  { color: var(--ink); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--corail);
}
.text-grad {
  background: var(--grad-sunset); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.muted { color: var(--muted); }
.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;
}

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: var(--r-pill); border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad-sunset); color: var(--white); box-shadow: var(--sh-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(255,107,91,.4); }
.btn-azur { background: var(--azur); color: var(--white); box-shadow: var(--sh-glow); }
.btn-azur:hover { transform: translateY(-2px); background: var(--azur-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--azur); border-color: var(--azur); }
.btn-outline:hover { background: var(--azur); color: var(--white); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ── Header / Navigation ─────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 240, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { box-shadow: var(--sh-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand .brand-logo { height: 78px; width: auto; flex: none; }
.footer-brand .brand-logo { height: 96px; background: var(--white); border-radius: var(--r-md); padding: 8px 10px; }
.site-header .brand small { white-space: nowrap; }
@media (max-width: 1100px) { .site-header .brand small { display: none; } }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a { padding: .5rem .85rem; border-radius: var(--r-pill); font-weight: 600; font-size: .95rem; color: var(--azur-deep); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--sable-2); }
.nav-links a.active { color: var(--azur); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px auto; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta .btn-text-hide { display: none; }
  .nav-links {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: .25rem; padding: 1rem 1.2rem 1.6rem; background: var(--sable);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav-links.open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--grad-azur); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 10%, rgba(72,202,228,.35), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(255,107,91,.3), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero .eyebrow { color: var(--or-soft); }
.hero h1 { color: var(--white); }
.hero h1 .accent { background: var(--grad-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem,2.2vw,1.3rem); color: rgba(255,255,255,.88); max-width: 46ch; margin-top: 1.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-cta .btn { flex: 1 1 13.5rem; min-width: max-content; max-width: var(--cta-max, 20rem); }
@media (max-width: 600px) { .hero-cta .btn { flex-basis: 100%; min-width: 0; max-width: none; padding-inline: 1.2rem; white-space: normal; text-align: center; } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.4rem; }
.hero-badge b { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.hero-badge span { font-size: .85rem; color: rgba(255,255,255,.75); }
.hero-flag { display: inline-flex; gap: .3rem; align-items: center; }

@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } .hero-cta, .hero-badges { justify-content: center; } .hero-sub, .countdown { margin-inline: auto; } }

/* ── Countdown ───────────────────────────────────────────────────────────── */
/* max-width = 2 boutons .hero-cta (20rem) + gap, pour aligner les bords */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-top: 1.8rem; max-width: calc(40rem + .9rem); }
.cd-unit {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px); border-radius: var(--r-md); padding: .9rem .3rem; text-align: center; min-width: 0;
}
@media (max-width: 600px) { .countdown { gap: .5rem; } .cd-unit span { font-size: .64rem; letter-spacing: .06em; } }
.cd-unit b { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.cd-unit span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.78); }

/* ── Carte jauge de financement ──────────────────────────────────────────── */
.gauge-card {
  background: var(--white); color: var(--ink); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--sh-lg); border: 1px solid var(--line);
}
.gauge-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,5vw,2.8rem); line-height: 1; }
.gauge-amount .sep { color: var(--muted); font-weight: 600; font-size: 1.2rem; }
.gauge-goal { color: var(--muted); font-weight: 600; }
.gauge-bar { height: 16px; border-radius: var(--r-pill); background: var(--sable-2); overflow: hidden; margin: 1.1rem 0 .7rem; position: relative; }
.gauge-fill { height: 100%; width: 0; border-radius: var(--r-pill); background: var(--grad-sunset); transition: width 1.4s cubic-bezier(.16,1,.3,1); box-shadow: 0 0 16px rgba(255,107,91,.4); }
.gauge-meta { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); font-weight: 600; }
.gauge-meta .pct { color: var(--corail); }
.gauge-card .btn { margin-top: 1.3rem; }

/* ── Bandeau chiffres clés ──────────────────────────────────────────────── */
.stats-band { background: var(--azur-deep); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; padding-block: clamp(2rem,5vw,3rem); }
.stat b { font-family: var(--font-display); font-size: clamp(1.6rem,4vw,2.6rem); display: block; color: var(--or-soft); }
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.stats-title { margin: 0; padding-top: clamp(1.8rem,4vw,2.6rem); text-align: center; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.stats-title + .stats-grid { padding-top: 1.4rem; }
.stats-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 860px; margin-inline: auto; }
.stats-band--gym { background: linear-gradient(120deg, #e23d2e 0%, #ea6427 55%, #ee8a1e 100%); }
.stats-band--gym .stats-grid { row-gap: 2rem; padding-bottom: 1.4rem; }
.stats-band--gym .stats-title { color: rgba(255,255,255,.92); }
.stats-band--gym .stat b { color: var(--white); white-space: nowrap; }
.stats-band--gym .stat span { color: var(--white); font-weight: 500; }
.stats-source { margin: 0; padding-bottom: clamp(1.6rem,4vw,2.4rem); text-align: center; font-size: .78rem; color: rgba(255,255,255,.85); }
@media (max-width: 700px) { .stats-grid--3 { grid-template-columns: 1fr; } }

/* ── Cartes génériques ──────────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.card-body { padding: 1.3rem; }
/* Cartes d'action : même hauteur, bouton calé en bas */
.card--action { display: flex; }
.card--action .card-body { flex: 1; display: flex; flex-direction: column; padding: 1.6rem; }
.card--action h3 { margin-top: .6rem; }
.card--action p { margin-top: .6rem; margin-bottom: 1.4rem; }
.card--action .btn { margin-top: auto; }
.news-card { display: flex; flex-direction: column; }
.news-card .card-body { flex: 1; display: flex; flex-direction: column; }
.news-card p { margin-bottom: 1rem; }
.news-card .btn { margin-top: auto; }
.card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--sable-2); }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── Section "C'est quoi" / split ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 4/3; background: var(--grad-sea); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ── Mur des sponsors ───────────────────────────────────────────────────── */
.sponsor-tier { margin-top: 2.2rem; }
.sponsor-tier h3 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tier-dot { width: 12px; height: 12px; border-radius: 50%; }
.tier-or .tier-dot { background: var(--or); }
.tier-argent .tier-dot { background: #9aa7b4; }
.tier-bronze .tier-dot { background: #cd7f32; }
.sponsor-logos { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.sponsor-logo { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); display: grid; place-items: center; padding: 1rem 1.4rem; box-shadow: var(--sh-sm); transition: transform .2s; min-height: 80px; }
.sponsor-logo.or { min-width: 200px; min-height: 110px; }
.sponsor-logo.argent { min-width: 160px; }
.sponsor-logo:hover { transform: translateY(-3px); }
.sponsor-logo img { max-height: 110px; max-width: 220px; object-fit: contain; }

/* ── Paliers / pricing ──────────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.tier-card { position: relative; background: var(--white); border: 2px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.tier-card.featured { border-color: var(--corail); box-shadow: var(--sh-glow); }
.tier-card .badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-sunset); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .9rem; border-radius: var(--r-pill); }
.tier-price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--azur); }
.tier-price .cur { font-size: 1.2rem; color: var(--muted); }
.tier-card h3 { margin: .3rem 0 .5rem; }
.tier-card .tier-desc { color: var(--muted); flex: 1; margin-bottom: 1.2rem; }
.tier-list { display: flex; flex-direction: column; gap: .55rem; margin: .4rem 0 1.3rem; }
.tier-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.tier-list li::before { content: "✓"; color: var(--corail); font-weight: 800; }

/* ── Actus ──────────────────────────────────────────────────────────────── */
.news-card .card-body { display: flex; flex-direction: column; gap: .5rem; }
.news-date { font-size: .8rem; color: var(--corail); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { font-size: 1.2rem; }

/* ── Équipe ─────────────────────────────────────────────────────────────── */
.gym-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.1rem; }
.gym-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.gym-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.gym-photo { aspect-ratio: 3/4; object-fit: cover; width: 100%; background: var(--grad-sea); }
.gym-info { padding: .9rem 1rem; }
.gym-info b { font-family: var(--font-display); display: block; }
.gym-info .gym-role { color: var(--corail); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.coach-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.coach-grid .gym-card { width: 220px; }
.gym-info .gym-word { font-size: .85rem; color: var(--ink); margin-top: .4rem; font-style: italic; }

/* ── CTA final ──────────────────────────────────────────────────────────── */
.cta-final { position: relative; overflow: hidden; background: var(--grad-azur); color: var(--white); border-radius: var(--r-xl); padding: clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,5vw,4rem); text-align: center; }
.cta-final::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 50% 0%, rgba(255,183,3,.25), transparent 70%); }
.cta-final > * { position: relative; }
.cta-final h2 { color: var(--white); }
.cta-final .hero-cta { justify-content: center; }

/* ── Formulaires ────────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--azur); }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { padding: .8rem 1rem; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e6f7ec; color: #1d7a45; }
.form-msg.err { display: block; background: #fde8e6; color: #c0392b; }

/* ── Amount picker (don libre) ───────────────────────────────────────────── */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1rem; }
.amount-chip { padding: .8rem; border: 2px solid var(--line); border-radius: var(--r-md); background: var(--white); font-family: var(--font-display); font-weight: 700; transition: .15s; }
.amount-chip.active, .amount-chip:hover { border-color: var(--corail); color: var(--corail); }
@media (max-width: 480px) { .amount-grid { grid-template-columns: repeat(2,1fr); } }

/* ── Onglets ────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; background: var(--sable-2); padding: .4rem; border-radius: var(--r-pill); width: fit-content; margin-inline: auto; margin-bottom: 2.5rem; }
.tab { padding: .7rem 1.4rem; border-radius: var(--r-pill); border: 0; background: transparent; font-family: var(--font-display); font-weight: 700; color: var(--muted); transition: .18s; }
.tab.active { background: var(--white); color: var(--azur); box-shadow: var(--sh-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }

/* ── Bannière info / défisc ─────────────────────────────────────────────── */
.info-banner { background: var(--sable-2); border: 1px solid var(--line); border-left: 4px solid var(--or); border-radius: var(--r-md); padding: 1rem 1.3rem; display: flex; gap: .8rem; align-items: flex-start; }
.info-banner .ic { font-size: 1.3rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--azur-night); color: rgba(255,255,255,.78); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a:hover { color: var(--azur-light); }
.footer-links { display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; }
.footer-brand .brand { color: var(--white); margin-bottom: .8rem; }
.footer-brand p { font-size: .9rem; max-width: 32ch; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .18s; }
.social-btn:hover { background: var(--corail); transform: translateY(-3px); }
.footer-news { display: flex; gap: .5rem; margin-top: .8rem; }
.footer-news input { flex: 1; padding: .7rem .9rem; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); }
.footer-news input::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Page header (sous-pages) ───────────────────────────────────────────── */
.page-hero { background: var(--grad-azur); color: var(--white); position: relative; overflow: hidden; padding-block: clamp(3rem,7vw,5rem); }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 80% at 90% 0%, rgba(72,202,228,.3), transparent 60%); }
.page-hero h1 { color: var(--white); position: relative; }
.page-hero .lead { color: rgba(255,255,255,.85); position: relative; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .8rem; position: relative; }
.breadcrumb a:hover { color: var(--white); }

/* ── Animations reveal ──────────────────────────────────────────────────── */
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .gauge-fill { transition: none; }
}

/* ── Wave divider ───────────────────────────────────────────────────────── */
.wave { display: block; width: 100%; height: auto; color: var(--sable); }
.wave-azur { color: var(--azur-deep); }

/* ── Galerie photos ─────────────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.photo-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--sable-2);
  box-shadow: var(--sh-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.photo-item:hover { transform: scale(1.02); box-shadow: var(--sh-md); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-item:hover img { transform: scale(1.06); }
.photo-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(3,38,58,.72));
  color: #fff; font-size: .82rem; padding: .6rem .85rem;
  opacity: 0; transition: opacity .22s ease;
}
.photo-item:hover .photo-caption { opacity: 1; }
.photo-empty { text-align: center; padding: 2.5rem; color: var(--muted); font-size: .95rem; }

/* ── Bande réseaux sociaux ──────────────────────────────────────────────── */
.social-band { background: var(--azur-night); padding-block: clamp(3rem, 6vw, 4.5rem); text-align: center; }
.social-band h2 { color: var(--white); margin: .5rem 0 .75rem; }
.social-band .lead { color: rgba(255,255,255,.75); max-width: 46ch; margin: 0 auto 2rem; }
.social-cards { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.social-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 1.2rem 2rem;
  color: var(--white); font-weight: 700; font-size: 1.05rem;
  transition: background .2s, transform .2s;
  min-width: 220px; justify-content: center;
}
.social-card:hover { background: rgba(255,255,255,.14); transform: translateY(-4px); }
.social-card.ig { border-color: rgba(193,53,132,.5); }
.social-card.ig:hover { background: linear-gradient(135deg, rgba(193,53,132,.25), rgba(255,107,91,.2)); }
.social-card.tk { border-color: rgba(105,201,208,.4); }
.social-card.tk:hover { background: rgba(105,201,208,.15); }
.social-card svg { flex-shrink: 0; }
.social-handle { display: flex; flex-direction: column; text-align: left; gap: .1rem; }
.social-handle small { font-weight: 400; font-size: .78rem; color: rgba(255,255,255,.6); }
