/* ---------- Polices auto-hébergées (fontes variables, subset latin) ----------
   Ex-Google Fonts servies en local : RGPD (pas d'IP transmise à Google) + perf. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/cormorant-garamond-italic-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0E2A47;
  --navy-2: #0a1f36;
  --gold: #C9A24B;
  --gold-light: #E4C878;
  --red: #B33A2F;
  --cream: #F7F3EA;
  --ink: #16202b;
  --muted: #5c6773;
  --maxw: 1120px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-emph: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }

::selection { background: var(--gold); color: var(--navy-2); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem;
  padding: 12px 20px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transform: translateY(-260%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 10vw, 128px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  background: rgba(14, 42, 71, 0);
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 31, 54, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 11px 28px;
  border-bottom-color: rgba(201, 162, 75, .16);
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { width: 42px; height: 42px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(8deg); }
.brand-text { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; letter-spacing: .3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; letter-spacing: .2px; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--gold-light); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover { color: #fff; }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav a.is-active:not(.nav-cta) { color: #fff; }
.nav a.is-active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-light) !important;
  padding: 9px 20px; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--navy-2) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 60; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #163a5f 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: #fff; overflow: hidden; padding: 120px 24px 80px;
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; border-radius: 50%;
  top: -180px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,162,75,.28), transparent 62%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; max-width: 820px; }
.hero-emblem { position: relative; width: clamp(160px, 23vw, 230px); aspect-ratio: 1; margin: 0 auto 32px; display: grid; place-items: center; }
.hero-emblem .hero-logo { position: relative; z-index: 3; width: 86%; filter: drop-shadow(0 6px 18px rgba(201,162,75,.35)); }
.emblem-ring {
  position: absolute; inset: 0; z-index: 2; border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(201,162,75,.12), var(--gold-light), rgba(201,162,75,.12),
    var(--gold), rgba(201,162,75,.12), var(--gold-light), rgba(201,162,75,.12));
  box-shadow: 0 0 30px rgba(201,162,75,.25);
}
.emblem-glow {
  position: absolute; inset: -14%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.4), transparent 62%);
  filter: blur(8px);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: .72rem; font-weight: 600;
  color: var(--gold-light); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--serif); font-weight: 700; line-height: 1.02;
  font-size: clamp(2.6rem, 8vw, 5.2rem); letter-spacing: .5px;
}
.hero-title { text-wrap: balance; }
.hero-title span { color: var(--gold); display: block; }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.75rem); margin-top: 18px; color: #fff; }
.hero-sub { max-width: 540px; margin: 20px auto 0; color: rgba(255,255,255,.78); font-size: 1.04rem; line-height: 1.7; text-wrap: balance; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.btn {
  font-weight: 600; font-size: .95rem; letter-spacing: .3px; padding: 15px 32px; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--gold); color: var(--navy-2); box-shadow: 0 10px 26px rgba(201,162,75,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(201,162,75,.48); }
.btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 1.4rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ---------- Shared text ---------- */
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .74rem; font-weight: 700; color: var(--red); margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-weight: 700; color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 3.05rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 20ch; text-wrap: balance;
}
.lead { font-size: 1.13rem; color: #3a4652; max-width: 60ch; margin-top: 24px; line-height: 1.72; }
.lead em { color: var(--red); font-style: italic; }

.quote {
  position: relative; font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem); line-height: 1.4; color: var(--navy);
  max-width: 22ch; margin: 56px 0 0; padding-left: 42px; text-wrap: balance;
}
.quote::before {
  content: "\201C"; position: absolute; left: -6px; top: -.34em;
  font-family: var(--serif); font-size: 3.6em; line-height: 1; color: var(--gold); opacity: .5;
}

/* ---------- Constat ---------- */
.constat { background: var(--cream); }

/* ---------- Mission ---------- */
.mission { background: #fff; }
.cards {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 56px;
}
.card {
  position: relative; overflow: hidden; grid-column: span 2;
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid rgba(14,42,71,.08);
  border-radius: 18px; padding: 34px 30px 32px 34px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
/* 2e rangée (4 & 5) centrée pour éviter l'orphelin */
.card:nth-child(4) { grid-column: 2 / span 2; }
.card:nth-child(5) { grid-column: 4 / span 2; }
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--red); /* aka — drapeau rouge de l'arbitre */
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-emph);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(14,42,71,.14); border-color: rgba(201,162,75,.5); }
.card:hover::before { transform: scaleY(1); }
.card:hover .card-num { color: var(--red); }
.card-num { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--gold); transition: color .35s var(--ease); }
.card h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--navy); margin: 10px 0 12px; }
.card p { color: var(--muted); font-size: .96rem; line-height: 1.62; }

/* Carte Île-de-France */
.idf { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 76px; }
.idf-svg { width: 100%; height: auto; display: block; }
.idf-dep {
  fill: var(--cream); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round;
  cursor: pointer; transition: fill .35s var(--ease);
}
.idf-dep:hover, .idf-dep.is-active { fill: var(--gold); }
.idf-num { font: 700 15px var(--serif); fill: var(--navy); text-anchor: middle; pointer-events: none; }
.idf-num-sm { font-size: 12px; }
.idf-side h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.idf-side p { color: var(--muted); line-height: 1.7; }
.idf-label { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; font-weight: 600; color: var(--gold); min-height: 1.6em; }

@media (max-width: 900px) {
  .idf { grid-template-columns: 1fr; }
  .idf-side { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
}

/* ---------- Programme ---------- */
.programme { background: var(--cream); }
.axes { list-style: none; margin-top: 56px; border-top: 1px solid rgba(14,42,71,.12); }
.axes li {
  display: flex; gap: clamp(20px, 4vw, 48px); align-items: flex-start;
  padding: 34px 8px; border-bottom: 1px solid rgba(14,42,71,.12);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.axes li:hover { background: rgba(201,162,75,.07); padding-left: 20px; }
.axe-num {
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1; color: var(--gold); min-width: 2ch;
  transition: color .35s var(--ease);
}
.axes li:hover .axe-num { color: var(--red); }
.axe-body h3 { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; color: var(--navy); margin-bottom: 8px; }
.axe-body p { color: var(--muted); font-size: .98rem; line-height: 1.66; max-width: 62ch; }

/* ---------- Clubs partenaires ---------- */
.clubs { background: #fff; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.tier {
  display: flex; flex-direction: column;
  background: var(--cream); border: 1px solid rgba(14,42,71,.1); border-radius: 18px;
  padding: 34px 30px 30px; border-top: 4px solid;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(14,42,71,.14); }
.tier-bronze { border-top-color: #A9744F; }
.tier-argent { border-top-color: #9BA5B0; }
.tier-or { border-top-color: var(--gold); background: linear-gradient(180deg, rgba(201,162,75,.12), var(--cream) 55%); border-color: rgba(201,162,75,.45); }
.tier h3 { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; color: var(--navy); }
.tier-freq { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin: 4px 0 18px; }
.tier ul { list-style: none; }
.tier li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
  color: var(--muted); font-size: .95rem; line-height: 1.55;
}
.tier li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.clubs .hero-actions { margin-top: 48px; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- Valeurs ---------- */
.valeurs {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(130% 90% at 50% 0%, #11324f 0%, var(--navy) 44%, var(--navy-2) 100%);
}
.valeurs::before {
  content: ""; position: absolute; inset: 0; opacity: .045; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(circle at 50% 32%, #000, transparent 74%);
          mask: radial-gradient(circle at 50% 32%, #000, transparent 74%);
}
.valeurs .wrap { position: relative; }
.valeurs .section-title { color: #fff; }

.values {
  list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-top: 60px;
}
.values li {
  position: relative; grid-column: span 2; overflow: hidden;
  padding: 34px 30px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(201,162,75,.22); border-radius: 18px;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease), background .45s var(--ease);
}
/* 2e rangée (4 & 5) centrée */
.values li:nth-child(4) { grid-column: 2 / span 2; }
.values li:nth-child(5) { grid-column: 4 / span 2; }
.values li:hover {
  transform: translateY(-8px);
  border-color: rgba(201,162,75,.65);
  background: linear-gradient(180deg, rgba(201,162,75,.12), rgba(255,255,255,.02));
  box-shadow: 0 26px 55px rgba(0,0,0,.4);
}
.val-num {
  display: block; font-family: var(--serif); font-weight: 700; line-height: 1;
  font-size: 2.7rem; color: var(--gold); margin-bottom: 16px;
}
.values h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.9rem; letter-spacing: .3px;
  color: var(--gold-light); margin-bottom: 12px;
}
.values p { color: rgba(255,255,255,.8); font-size: .98rem; line-height: 1.62; }

@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .values li, .values li:nth-child(4), .values li:nth-child(5) { grid-column: auto; }
  .values li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .values li:nth-child(5) { grid-column: auto; }
}

/* ---------- Le Bureau ---------- */
.bureau { background: #fff; }
.bureau-grid {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 60px;
}
.membre {
  text-align: center; padding: 36px 22px 30px;
  background: var(--cream); border: 1px solid rgba(14,42,71,.08); border-radius: 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.membre:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(14,42,71,.14);
  border-color: rgba(201,162,75,.5);
}
/* Monogramme cerclé d'or — écho du médaillon du hero */
.membre-avatar {
  position: relative; display: grid; place-items: center;
  width: 96px; aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%;
  background: radial-gradient(120% 90% at 50% 0%, #163a5f, var(--navy) 60%, var(--navy-2));
}
.membre-avatar::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg,
    rgba(201,162,75,.15), var(--gold-light), rgba(201,162,75,.15),
    var(--gold), rgba(201,162,75,.15), var(--gold-light), rgba(201,162,75,.15));
  transition: transform .6s var(--ease);
}
.membre:hover .membre-avatar::before { transform: rotate(120deg); }
.membre-avatar > span {
  font-family: var(--serif); font-weight: 700; font-size: 1.75rem;
  letter-spacing: 1px; color: var(--gold-light);
}
.membre-avatar-photo { overflow: hidden; background: var(--navy-2); }
.membre-avatar-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.membre h3 { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--navy); }
.membre-role {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--red); margin-top: 6px;
}
.membre-note { font-size: .86rem; color: var(--muted); margin-top: 8px; }

@media (max-width: 900px) {
  .bureau-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bureau-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}

/* ---------- Parrains d'honneur ---------- */
.parrains { background: var(--cream); }
.parrains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 60px; }
/* Cadre façon galerie d'honneur : passe-partout blanc, liseré or */
.parrain {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(201,162,75,.4); border-radius: 6px;
  padding: 14px 14px 26px;
  box-shadow: 0 2px 0 rgba(201,162,75,.25), 0 14px 34px rgba(14,42,71,.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.parrain:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,75,.85);
  box-shadow: 0 2px 0 rgba(201,162,75,.4), 0 26px 55px rgba(14,42,71,.16);
}
.parrain-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #163a5f, var(--navy) 55%, var(--navy-2));
  outline: 1px solid rgba(201,162,75,.35); outline-offset: -8px;
}
.parrain-photo img { width: 100%; height: 100%; object-fit: cover; }
.parrain-mono {
  font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 6vw, 4.4rem);
  color: rgba(201,162,75,.55);
}
.parrain figcaption { padding: 22px 12px 0; text-align: center; }
.parrain h3 { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--navy); }
.parrain-titre {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--red); margin-top: 6px;
}
.parrain-mot {
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.55;
  color: var(--muted); margin-top: 14px; text-wrap: balance;
}

@media (max-width: 900px) {
  .parrains-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

/* ---------- Soutenir ---------- */
.soutenir {
  background: linear-gradient(135deg, var(--navy-2), #123152);
  color: #fff; text-align: center;
}
.soutenir .section-title { color: #fff; margin: 0 auto; }
.soutenir .lead { color: rgba(255,255,255,.82); margin: 24px auto 0; }
.soutenir-inner { display: flex; flex-direction: column; align-items: center; }
.soutenir .hero-actions { margin-top: 40px; }
.quote-light {
  color: var(--gold-light); text-align: center;
  max-width: 30ch; margin: 48px auto 0; padding-left: 0;
}
.quote-light::before { left: 50%; transform: translateX(-50%); top: -.62em; opacity: .45; }

/* ---------- Footer ---------- */
.site-footer { background: #071726; color: rgba(255,255,255,.75); padding-top: 80px; border-top: 1px solid rgba(201,162,75,.16); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 52px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 58px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.25rem; }
.footer-col h3 { color: var(--gold-light); font-family: var(--sans); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col a { color: rgba(255,255,255,.78); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: .92rem; margin-bottom: 10px; line-height: 1.55; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Page légale ---------- */
.legal { background: var(--cream); min-height: 100svh; padding-top: clamp(120px, 16vw, 160px); }
.legal .wrap { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.5rem; margin: 40px 0 12px; }
.legal p { color: #3a4652; font-size: .98rem; margin-bottom: 12px; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-block; margin-top: 48px; font-weight: 600; color: var(--navy); text-decoration: none; }
.legal .back:hover { color: var(--red); }

/* ---------- Lenis (scroll fluide) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Tilt 3D piloté par GSAP : la transition CSS lâche transform pour éviter le conflit */
.values li.js-tilt { transition-property: border-color, box-shadow, background; }

/* ---------- Micro-UX ---------- */
.copy-btn, .share-btn {
  font: 600 .78rem var(--sans); letter-spacing: .3px; cursor: pointer;
  color: var(--gold-light); background: none;
  border: 1px solid rgba(201,162,75,.45); border-radius: 999px;
  padding: 4px 12px; margin-left: 8px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.share-btn { margin-left: 0; padding: 7px 16px; }
.copy-btn:hover, .share-btn:hover { background: var(--gold); color: var(--navy-2); border-color: var(--gold); }
.copy-btn.copied { background: var(--gold); color: var(--navy-2); border-color: var(--gold); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-light); font-size: 1.15rem;
  border: 1px solid rgba(201,162,75,.35); border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s var(--ease);
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-2); }

/* ---------- Reveal (JS-driven) ----------
   Masqué uniquement quand GSAP est chargé (.reveal-ready), et seulement
   tant que l'élément n'est pas révélé (.is-revealed) — sinon le transform CSS
   se réappliquerait après le clearProps de fin d'animation (saut de 28px).
   Si le JS échoue, le contenu reste visible (progressive enhancement). */
.reveal-ready [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(28px); will-change: opacity, transform; }

/* ---------- Responsive ---------- */
/* Nav à 7 liens : on resserre puis on masque le nom avant le passage en burger */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
}
@media (max-width: 940px) {
  .brand-text { display: none; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(10,31,54,.98); padding: 16px 24px; transform: translateY(-140%);
    transition: transform .35s ease; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .brand-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .scroll-hint { animation: none; }
}
