/* ============================================================
   UTPLC v3 — Poster de course / Rouge Moutier
   Fonts: Anton (display) + DM Sans (body)
   Palette: Rouge vif · Blanc · Noir · Crème
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
  --yellow:   #C8102E;   /* rouge Moutier — remplace le jaune comme couleur primaire */
  --orange:   #A00D24;   /* rouge foncé pour hover/accents */
  --black:    #0D0D0D;
  --white:    #FAFAFA;
  --grey:     #F5F0EE;
  --ink:      #1A1A1A;
  --muted:    #666;
  --cream:    #FDF6F0;   /* fond chaud, pas froid */

  --font-display: "Anton", Impact, sans-serif;
  --font-body:    "DM Sans", system-ui, sans-serif;

  --border: 3px solid var(--black);
  --border-thick: 5px solid var(--black);
  --nav-h: 64px;
  --max-w: 1240px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typographie ── */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
}
h1 { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 9rem); text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 5rem); text-transform: uppercase; line-height: .95; }
h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; }
p  { line-height: 1.7; }
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--muted); }

/* ── Label / badge ── */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid currentColor; padding: 4px 12px; border-radius: 0;
}
.label--yellow { background: var(--yellow); color: var(--white); border-color: var(--black); }
.label--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.label--outline { background: transparent; color: var(--black); border-color: var(--black); }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 760px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .875rem; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-display);
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em;
  border: var(--border-thick); transition: transform .1s, box-shadow .1s;
  position: relative;
}
.btn:active { transform: translate(3px, 3px); box-shadow: none !important; }
.btn-primary {
  background: var(--yellow); color: var(--white);
  box-shadow: 5px 5px 0 var(--black);
}
.btn-primary:hover { box-shadow: 8px 8px 0 var(--black); transform: translate(-2px, -2px); }
.btn-orange {
  background: var(--orange); color: var(--white); border-color: var(--orange);
  box-shadow: 5px 5px 0 var(--black);
}
.btn-orange:hover { box-shadow: 8px 8px 0 var(--black); transform: translate(-2px, -2px); }
.btn-outline {
  background: transparent; color: var(--black);
  box-shadow: 5px 5px 0 var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); box-shadow: 8px 8px 0 var(--orange); transform: translate(-2px,-2px); }
.btn-outline-white {
  background: transparent; color: var(--white); border-color: var(--white);
  box-shadow: 5px 5px 0 rgba(255,255,255,.3);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-lg { padding: 18px 44px; font-size: 1.2rem; }
.btn-full { width: 100%; }
.btn-text {
  border: none; box-shadow: none; padding: 0; background: none;
  font-family: var(--font-body); font-weight: 700;
  color: var(--orange); text-decoration: underline; text-underline-offset: 3px;
  font-size: inherit;
}
.btn-text:hover { color: var(--black); }

/* ── Navigation ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); background: var(--black);
  border-bottom: 3px solid var(--yellow);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--white); line-height: 1;
}
.nav-logo span { color: var(--yellow); }
.nav-links { display: flex; list-style: none; align-items: center; gap: 0; }
.nav-links a {
  display: block; padding: 8px 11px; font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.65);
  transition: color .15s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }
.nav-cta {
  margin-left: 12px; padding: 8px 20px !important;
  background: var(--yellow) !important; color: var(--white) !important;
  font-family: var(--font-display) !important; font-size: .9rem !important;
  border: 2px solid var(--yellow) !important;
  transition: all .15s !important;
}
.nav-cta:hover { background: var(--white) !important; color: var(--black) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100svh; padding-top: var(--nav-h);
  display: grid; grid-template-rows: 1fr auto;
  background: var(--black); overflow: hidden; position: relative;
}
.hero-img-wrap {
  position: absolute; inset: 0; top: var(--nav-h);
  overflow: hidden;
}
.hero-img-wrap img, .hero-bg {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(60%) contrast(1.1);
  opacity: .45;
}
.hero-bg { background-size: cover; background-position: center; }
.hero-body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 64px 32px; max-width: var(--max-w); margin: 0 auto; width: 100%;
  min-height: calc(100svh - var(--nav-h));
}
.hero-eyebrow {
  display: inline-flex; gap: 8px; margin-bottom: 20px;
}
.hero-num {
  font-family: var(--font-display); font-size: clamp(8rem, 25vw, 18rem);
  color: var(--yellow); line-height: .85; letter-spacing: -.02em;
  user-select: none; position: absolute; right: 32px; bottom: 48px;
  opacity: .18; pointer-events: none;
}
.hero-title {
  color: var(--white); font-size: clamp(3.5rem, 10vw, 8rem);
  max-width: 900px; margin-bottom: 24px;
}
.hero-title .stroke {
  -webkit-text-stroke: 3px var(--white);
  color: transparent;
}
.hero-title .yellow { color: var(--yellow); }
.hero-sub { color: rgba(255,255,255,.65); font-size: 1.05rem; max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Hero layout avec stade 3D ── */
.hero-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px; width: 100%;
}
.hero-text { flex: 1; min-width: 0; }
.hero-stadium-wrap {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding-bottom: 8px;
}
#kawaii-stadium-wrap {
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 1 / 1;
  position: relative;
}
#kawaii-stadium-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero-stadium-label {
  font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column-reverse; align-items: center; gap: 32px; }
  .hero-text { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  #kawaii-stadium-wrap { width: clamp(180px, 55vw, 260px); }
  .hero-num { display: none; }
}

/* ── Ticker / band ── */
.ticker-band {
  background: var(--yellow); border-top: var(--border); border-bottom: var(--border);
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 0; animation: ticker 18s linear infinite;
}
.ticker-item { color: var(--white);
  font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--black); padding: 0 32px;
  display: inline-flex; align-items: center; gap: 16px;
}
.ticker-item::after { content: "●"; font-size: .5rem; opacity: .5; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── Stats block ── */
.stats-block {
  display: grid; grid-template-columns: repeat(3, 1fr) 2fr;
  border: var(--border); border-top: none;
}
.stat-cell {
  padding: 32px 28px; border-right: var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-cell--yellow { background: var(--yellow); }
.stat-val {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1; letter-spacing: -.02em; display: block;
}
.stat-lbl {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-top: 6px; display: block;
}
.stat-progress-wrap { padding: 32px 28px; }
.stat-progress-wrap .stat-lbl { margin-bottom: 12px; color: var(--muted); }
.progress-track { height: 10px; background: var(--grey); border: 2px solid var(--black); }
.progress-fill {
  height: 100%; background: var(--yellow);
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
  position: relative;
}
.progress-fill::after {
  content: ""; position: absolute; right: -1px; top: -4px;
  width: 8px; height: 18px; background: var(--orange); border: 2px solid var(--black);
}
.progress-num {
  font-family: var(--font-display); font-size: 2rem; margin-top: 8px;
  display: flex; align-items: baseline; gap: 6px;
}
.progress-num span { font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Section intro / bento ── */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.bento-cell {
  padding: 56px 48px; border: var(--border);
  position: relative; overflow: hidden;
}
.bento-cell--black { background: var(--black); color: var(--white); }
.bento-cell--yellow { background: var(--yellow); }
.bento-cell--orange { background: var(--orange); color: var(--white); }
.bento-cell--img { padding: 0; }
.bento-cell--img img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.bento-num {
  font-family: var(--font-display); font-size: 6rem; line-height: 1;
  opacity: .15; position: absolute; top: 16px; right: 24px; letter-spacing: -.03em;
}

/* ── Cards navigation ── */
.nav-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: var(--border); border-top: none;
}
.nav-card {
  display: block; padding: 36px 28px; border-right: var(--border);
  transition: background .12s;
  position: relative;
}
.nav-card:last-child { border-right: none; }
.nav-card:hover { background: var(--yellow); color: var(--white); }
.nav-card:hover h3, .nav-card:hover p { color: var(--white); }
.nav-card:hover .nav-card-num { color: rgba(255,255,255,.15); }
.nav-card-num {
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1;
  color: var(--black); opacity: .12; display: block; margin-bottom: 16px;
}
.nav-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.nav-card p { font-size: .875rem; color: var(--muted); line-height: 1.55; }
.nav-card-arrow {
  position: absolute; top: 28px; right: 28px;
  font-size: 1.2rem; opacity: 0; transition: all .15s; transform: translate(-4px, 4px);
}
.nav-card:hover .nav-card-arrow { opacity: 1; transform: translate(0, 0); }
.nav-card--cta { background: var(--orange); }
.nav-card--cta h3, .nav-card--cta p, .nav-card--cta .nav-card-num { color: var(--white); }
.nav-card--cta .nav-card-num { opacity: .2; }
.nav-card--cta:hover { background: var(--black); }
.nav-card--cta:hover h3 { color: var(--yellow); }

/* ── Donateurs ── */
.donors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; }
.donor-card {
  background: var(--white); border: var(--border); padding: 20px;
  transition: all .12s;
}
.donor-card:hover { background: var(--grey); border-color: var(--yellow); }
.donor-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.donor-name { font-weight: 700; }
.donor-amount { font-family: var(--font-display); font-size: 1.3rem; color: var(--orange); }
.donor-bet {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--black); color: var(--yellow);
  padding: 3px 10px;
}
.donor-message { margin-top: 8px; font-size: .85rem; color: var(--muted); font-style: italic; }
.donor-card--sm {
  padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; font-size: .875rem;
}

.loading-dots { display: flex; gap: 8px; padding: 1rem 0; }
.loading-dots span {
  width: 10px; height: 10px; background: var(--yellow); border: 2px solid var(--black);
  animation: blink2 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: .15s; background: var(--yellow); }
.loading-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes blink2 { 0%,100%{opacity:.2;transform:scale(.7)} 50%{opacity:1;transform:scale(1)} }

/* ── Page hero (sous-pages) ── */
.page-hero {
  padding-top: var(--nav-h); background: var(--black);
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(60%) contrast(1.1); opacity: .4;
}
.page-hero-content {
  position: relative; z-index: 2; padding: 72px 32px 56px;
  max-width: var(--max-w); margin: 0 auto;
}
.page-hero-content h1 { color: var(--white); margin-bottom: 16px; }
.page-hero-content h1 em { color: var(--yellow); font-style: normal; }
.page-hero-content .lead { color: rgba(255,255,255,.6); max-width: 560px; }
.page-hero-eyebrow { margin-bottom: 16px; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 100%);
}
.page-hero--short { min-height: 200px; }

/* ── Section title ── */
.section-header { margin-bottom: 56px; }
.section-header .label { margin-bottom: 16px; }
.section-title-line {
  display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap;
}
.section-title-line h2 { flex: 1; }
.section-title-line a { margin-bottom: 10px; }

/* ── Key figures ── */
.key-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2px; }
.kf-cell {
  background: var(--white); border: var(--border); padding: 28px 20px; text-align: center;
  transition: background .12s;
}
.kf-cell:hover { background: var(--yellow); color: var(--white); }
.kf-val { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); display: block; line-height: 1; }
.kf-lbl { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 6px; display: block; }

/* ── Rich text ── */
.rich-text h2 { margin: 1.5em 0 .6em; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.rich-text h3 { margin: 1.25em 0 .4em; }
.rich-text p { margin-bottom: 1.1em; color: var(--muted); line-height: 1.8; }
.rich-text ul, .rich-text ol { margin: 1em 0 1em 1.4em; }
.rich-text li { margin-bottom: .4em; color: var(--muted); }
.rich-text a { color: var(--orange); font-weight: 700; }
.rich-text blockquote {
  background: var(--cream); border-left: 6px solid var(--yellow);
  padding: 20px 24px; margin: 1.5em 0; font-style: italic; font-size: 1.05em;
}
.lead-text p { font-size: 1.1rem; line-height: 1.85; }

/* ── Route map ── */
.route-map { border: var(--border); width: 100%; }

/* ── Association ── */
.asso-card {
  background: var(--cream); border: var(--border-thick); padding: 40px 48px;
  display: flex; align-items: center; gap: 40px;
}
.asso-logo { max-height: 80px; max-width: 200px; }
.asso-info h3 { margin-bottom: 6px; font-size: 1.6rem; }
.asso-info p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

/* ── Hall of Fame ── */
.donor-row { display: flex; align-items: center; gap: 24px; padding: 20px 28px; }
.donor-row-rank { font-family: var(--font-display); font-size: 1.6rem; min-width: 48px; text-align: center; flex-shrink: 0; }
.donor-row-info { flex: 1; min-width: 0; }
.donor-row-amount { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.02em; white-space: nowrap; flex-shrink: 0; }

/* ── Galerie ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; }
.gallery-item {
  cursor: zoom-in; position: relative; aspect-ratio: 16/9;
  overflow: hidden; border: var(--border);
  background: var(--black);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all .4s; filter: grayscale(20%); }
.gallery-item:hover img { transform: scale(1.08); filter: grayscale(0%); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--yellow); border-top: var(--border);
  padding: 8px 14px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; transform: translateY(100%); transition: transform .2s;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Lightbox */
.lightbox { display: none; }
.lightbox.is-open {
  position: fixed; inset: 0; z-index: 999; background: rgba(13,13,13,.96);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-content { max-width: 1000px; width: 100%; text-align: center; }
.lightbox-content img { max-height: 82vh; width: auto; max-width: 100%; border: var(--border-thick); }
.lightbox-content p { color: rgba(255,255,255,.5); margin-top: 12px; font-size: .875rem; }
.lightbox-close { position: absolute; top: 20px; right: 24px; color: var(--white); font-size: 1.4rem; padding: 10px; font-family: var(--font-display); }
.lightbox-close:hover { color: var(--yellow); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 3rem; padding: 16px;
  font-family: var(--font-display); transition: color .15s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--yellow); }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; }
.blog-card { background: var(--white); border: var(--border); transition: transform .12s; }
.blog-card:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--black); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; display: block; border-bottom: var(--border); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; filter: grayscale(30%); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); filter: grayscale(0%); }
.blog-card-body { padding: 24px; }
.blog-date {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); display: block; margin-bottom: 8px;
}
.blog-card-title { font-size: 1.3rem; margin-bottom: 10px; }
.blog-card-title a:hover { color: var(--orange); }
.blog-excerpt { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-bottom: 14px; }

/* ── Dons / formulaire ── */
.donation-layout { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.donation-sidebar-card { background: var(--cream); border-left: 5px solid var(--yellow); border: var(--border-thick); padding: 28px; margin-bottom: 16px; }
.donation-sidebar-card h3 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 16px; color: var(--muted);
}
.progress-amounts { margin: 12px 0 4px; }
.progress-amounts strong { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -.02em; }
.progress-amounts span { font-size: .85rem; color: var(--muted); }
.progress-sub { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.donors-sidebar-list { display: flex; flex-direction: column; gap: 2px; }

.donation-form, .contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-section-title {
  font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase;
  border-bottom: var(--border); padding-bottom: 10px; margin-bottom: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.form-group input:not([type="checkbox"]):not([type="radio"]), .form-group textarea {
  padding: 13px 16px; border: var(--border);
  font-family: var(--font-body); font-size: 1rem;
  background: var(--white); color: var(--ink);
  border-radius: 0; transition: all .1s;
  appearance: none;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange);
  background: #fff8f5;
  box-shadow: 4px 4px 0 var(--orange);
}
.form-hint { font-size: .75rem; color: var(--muted); }
.form-check { flex-direction: row; align-items: center; gap: 10px; }
.form-check input { width: 18px; height: 18px; accent-color: var(--orange); }
.form-check label { font-size: .875rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; }
.form-error {
  background: #ffeeee; color: #c00; border: 2px solid #c00;
  padding: 12px 16px; font-size: .875rem;
}

.amount-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.amount-btn {
  padding: 10px 22px; border: var(--border);
  font-family: var(--font-display); font-size: 1rem; text-transform: uppercase;
  color: var(--ink); transition: all .1s; letter-spacing: .03em;
  box-shadow: 3px 3px 0 var(--black);
}
.amount-btn:hover { background: var(--yellow); color: var(--white); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--black); }
.amount-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: 4px 4px 0 var(--black); }

/* ── Défis bonus/malus ── */
.challenge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; }
.challenge-card {
  background: var(--white); border: var(--border); padding: 20px;
  text-align: left; cursor: pointer; transition: all .12s; position: relative;
}
.challenge-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--black); }
.challenge-card.selected { background: var(--yellow); border-color: var(--black); }
.challenge-card.selected .challenge-price,
.challenge-card.selected .challenge-label,
.challenge-card.selected .challenge-desc { color: var(--white); }
.challenge-kind {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 8px; margin-bottom: 10px;
}
.challenge-kind--bonus { background: #E8F5E9; color: #2D7A1E; }
.challenge-kind--malus { background: #FFEBEE; color: #C62828; }
.challenge-card.selected .challenge-kind--bonus,
.challenge-card.selected .challenge-kind--malus { background: rgba(255,255,255,.2); color: var(--white); }
.challenge-icon { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.challenge-label { font-weight: 700; font-size: .95rem; display: block; margin-bottom: 4px; }
.challenge-desc { font-size: .8rem; color: var(--muted); line-height: 1.4; margin-bottom: 12px; display: block; }
.challenge-price {
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.01em;
  color: var(--orange);
}
.challenge-card.selected .challenge-price { color: var(--white); }
.challenge-check {
  position: absolute; top: 16px; right: 16px; width: 22px; height: 22px;
  border: 2px solid var(--black); background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  opacity: 0;
}
.challenge-card.selected .challenge-check { opacity: 1; }

.free-amount-card {
  background: var(--grey); border: 2px dashed var(--black); padding: 20px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.free-amount-card input {
  width: 120px; padding: 10px 14px; border: var(--border);
  font-family: var(--font-display); font-size: 1.1rem; background: var(--white);
}

/* Widget de paiement RaiseNow */
.raisenow-mount { min-height: 320px; border: var(--border); padding: 24px; background: var(--white); }
.raisenow-placeholder {
  text-align: center; padding: 48px 24px; color: var(--muted);
  border: 2px dashed var(--black); background: var(--grey);
}

/* ── Live ── */
.live-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 14px; border: 2px solid rgba(255,255,255,.3);
}
.live-status--on { background: #C62828; color: var(--white); border-color: var(--white); }
.live-status--on .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: live-pulse 1.4s infinite; }
.live-status--off { color: rgba(255,255,255,.5); }
@keyframes live-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.live-stream-wrap { aspect-ratio: 16/9; width: 100%; border: var(--border); background: var(--black); overflow: hidden; }
.live-stream-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.live-offline {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; color: rgba(255,255,255,.5);
  text-align: center; padding: 32px;
}

.live-pot { display: grid; grid-template-columns: 1fr 1fr; border: var(--border); border-top: none; }
.live-pot-cell { padding: 24px 20px; text-align: center; border-right: var(--border); }
.live-pot-cell:last-child { border-right: none; }
.live-milestone-wrap { border: var(--border); border-top: none; padding: 20px 24px; }
.live-milestone-bar { height: 14px; background: var(--grey); border: 2px solid var(--black); margin-top: 10px; }
.live-milestone-fill { height: 100%; background: var(--yellow); transition: width 1s cubic-bezier(.16,1,.3,1); }

.live-feed { display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow-y: auto; }
.live-feed-item { background: var(--white); border: var(--border); padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.live-feed-name { font-weight: 700; font-size: .9rem; }
.live-feed-challenge { font-size: .75rem; color: var(--orange); font-weight: 700; margin-top: 2px; }
.live-feed-amount { font-family: var(--font-display); font-size: 1.2rem; color: var(--orange); white-space: nowrap; }

.live-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }

.thanks-box { text-align: center; padding: 4rem 2rem; }
.thanks-icon {
  width: 80px; height: 80px; background: var(--yellow); border: var(--border-thick);
  font-size: 2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 5px 5px 0 var(--black);
}
.thanks-box h2 { margin-bottom: 1rem; }

/* ── CTA block ── */
.cta-block {
  background: var(--black); color: var(--white);
  padding: 80px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: "GO!"; font-family: var(--font-display);
  font-size: 18rem; line-height: 1; color: var(--yellow); opacity: .04;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; white-space: nowrap;
}
.cta-block h2 { color: var(--white); margin-bottom: 1rem; }
.cta-block p { color: rgba(255,255,255,.6); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.site-footer { background: var(--black); border-top: var(--border-thick); border-top-color: var(--yellow); }
.footer-top {
  max-width: var(--max-w); margin: 0 auto; padding: 56px 32px 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: start;
}
.footer-logo { font-family: var(--font-display); font-size: 2rem; color: var(--white); }
.footer-logo span { color: var(--yellow); }
.footer-tagline { color: rgba(255,255,255,.35); font-size: .8rem; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 0; flex-direction: column; }
.footer-nav a { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); padding: 4px 0; transition: color .15s; }
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 32px; text-align: center; font-size: .75rem; color: rgba(255,255,255,.25); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-block { grid-template-columns: 1fr 1fr; }
  .stats-block .stat-cell:nth-child(2) { border-right: none; }
  .stats-block .stat-progress-wrap { grid-column: 1/-1; border-top: var(--border); border-right: none; }
  .donation-layout { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .nav-cards { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Burger dès 960px — 7 liens + CTA ne tiennent plus proprement sur tablette */
@media (max-width: 960px) {
  .nav-links {
    display: none; position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--black); flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; padding: 14px 32px; color: rgba(255,255,255,.7); white-space: normal; }
  .nav-links a:hover, .nav-links a.active { color: var(--yellow); }
  .nav-cta { margin: 12px 0 0 !important; }
  .nav-burger { display: flex; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 64px 0; }
  .nav-cards { grid-template-columns: 1fr; border-top: none; }
  .nav-card { border-bottom: var(--border); border-right: none; }
  .donors-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { padding: 56px 28px; }
  .asso-card { flex-direction: column; padding: 28px; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .key-figures { grid-template-columns: 1fr 1fr; }
  .stats-block { grid-template-columns: 1fr 1fr 1fr; }
  .stats-block .stat-progress-wrap { display: none; }
  .page-hero-content { padding: 56px 20px 40px; }
  .container { padding: 0 20px; }
  .bento-cell { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .amount-btn { padding: 8px 16px; font-size: .9rem; }
  .hero-num { display: none; }
  .ticker-band { display: none; }
}

/* ── Responsive grilles inline ── */
.grid-cause-main  { display: grid; grid-template-columns: 3fr 2fr; gap: 80px; align-items: start; }
.grid-cause-impact { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; }
.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-event { display: grid; grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
  .grid-4col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-intro { grid-template-columns: 1fr; gap: 0; }
  .grid-intro .intro-deco { display: none; }
  .grid-event { grid-template-columns: 1fr; }
  .grid-cause-main { grid-template-columns: 1fr; gap: 32px; }
  .grid-cause-impact { grid-template-columns: 1fr; gap: 32px; }
  .kawaii-scene { min-height: 340px; }
  .event-text-col { border-left: none !important; border-top: var(--border); padding: 40px 28px; }

  /* Dons / Live */
  .live-layout { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr 1fr; }
  .free-amount-card { padding: 16px; }
  .free-amount-card .btn { margin-left: 0 !important; width: 100%; }
  .free-amount-card input { width: 100%; }
  .raisenow-mount { padding: 16px; }
  .live-pot-cell { padding: 18px 14px; }
  .donation-sidebar-card { padding: 20px; }
}
@media (max-width: 480px) {
  .grid-4col { grid-template-columns: 1fr; }
  .grid-2col { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .live-feed-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .live-feed-amount { align-self: flex-end; }
  .selection-summary, #selection-summary { flex-direction: column; align-items: stretch !important; }
  #continue-btn { width: 100%; }

  .donor-row { flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px; }
  .donor-row-amount { margin-left: auto; }
}
