:root {
  --bg: #0a2e23;
  --bg-deep: #061f18;
  --accent: #ffb84d;
  --accent-dark: #f5a623;
  --green-ink: #0d3d2e;
  --amount-green: #082a1f;
  --white: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.72);
  --radius: 20px;
  --font-display: "Bebas Neue", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #0f4034 0%, var(--bg) 45%, var(--bg-deep) 100%);
  color: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.page {
  width: 100%;
  max-width: min(620px, 100%);
  margin: 0 auto;
  padding: 1.25rem max(1rem, env(safe-area-inset-left)) max(2.5rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

/* Top bar : row 1 = logo | WhatsApp, row 2 = countdown centré */
.top-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0;
  align-items: start;
  margin-bottom: 1.5rem;
}

.top-bar .logo-block {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

.top-bar .whatsapp-block {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

.top-bar .countdown-block {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .top-bar {
    column-gap: 0.6rem;
    margin-bottom: 0.5rem;
  }

  .top-bar .countdown-block {
    margin-top: 30px;
  }

  .countdown-block .j-label {
    font-size: clamp(1.6rem, 7.5vw, 2.8rem);
    line-height: 1;
  }

  .countdown-block .event-date {
    font-size: 0.72rem;
    margin-top: 0.1rem;
    letter-spacing: 0.04em;
  }

  .countdown-detail {
    font-size: 0.65rem;
    margin-top: 0.12rem;
    line-height: 1.25;
  }

  .logo-block .line1 {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .logo-block .line2 {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
    margin-top: 0.08rem;
  }

}

.whatsapp-block {
  min-width: 0;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem 0.42rem 0.72rem;
  background: #25d366;
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  line-height: 1.2;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.whatsapp-btn__icon {
  flex-shrink: 0;
}

.whatsapp-btn__label {
  white-space: nowrap;
}

.whatsapp-btn:hover {
  background: #20bd5a;
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.countdown-block {
  text-align: center;
  justify-self: center;
}

.countdown-block .j-label {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin: 0;
  white-space: nowrap;
}

.countdown-block .j-label #countdown-j {
  color: var(--accent);
}

.countdown-block .event-date {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown-detail {
  margin: 0.5rem auto 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.countdown-detail.is-urgent {
  color: #ff4d4f;
}

.logo-block {
  justify-self: end;
  text-align: right;
}

.logo-block .line1 {
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo-block .line2 {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* Photo Moupita (à la place du titre texte) */
.hero-title {
  text-align: center;
  margin-bottom: 0.85rem;
}

.hero-title-heading {
  margin: 0;
  line-height: 0;
}

.hero-moupita-img {
  width: 100%;
  max-width: min(100%, 440px);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 3px solid rgba(255, 184, 77, 0.45);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.4);
}

/* Vidéo + accroche */
.hero-media {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 3px solid rgba(255, 184, 77, 0.35);
  min-height: 0;
  display: block;
  margin-bottom: 1rem;
}

.hero-video-wrap {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
}

.hero-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video-help {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-video-help a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .hero-video-wrap {
    width: min(100%, 300px);
  }
}

.hero-visual .gabon-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
}

/* Gabon : bandes vert > jaune > bleu (haut → bas) */
.hero-visual .gabon-flag span:nth-child(1) {
  background: #009e60;
}
.hero-visual .gabon-flag span:nth-child(2) {
  background: #fcd116;
}
.hero-visual .gabon-flag span:nth-child(3) {
  background: #3a75c4;
}

.hero-visual .word-gabon {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.2em;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
}

.hero-visual .panther {
  position: absolute;
  bottom: 0;
  width: min(22%, 120px);
  height: 140px;
  opacity: 0.85;
  pointer-events: none;
}

.hero-visual .panther-left {
  left: 2%;
}

.hero-visual .panther-right {
  right: 2%;
  transform: scaleX(-1);
}

.hero-visual .thumb-label {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
}

.hero-visual .thumb-label strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.hero-visual .play-btn {
  width: 64px;
  min-width: 48px;
  min-height: 48px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--green-ink);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin: 0 auto;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
}

.hero-visual .play-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 28px rgba(255, 184, 77, 0.45);
}

.hero-visual .play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 36ch;
  margin: 0 auto;
  color: var(--muted);
}

/* Bloc cagnotte : orange = titre + montant uniquement */
.cagnotte-stack {
  margin-bottom: 1.75rem;
}

/* Liste des cadeaux : sous le montant, au-dessus des numéros */
.repartition-finale {
  width: 100%;
  max-width: min(100%, 440px);
  margin: 1rem auto 1.15rem;
  padding: 0.85rem 1rem 1rem;
  background: rgba(6, 31, 24, 0.65);
  border: 1px solid rgba(255, 184, 77, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.repartition-finale__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--accent);
  text-transform: uppercase;
}

.repartition-finale__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 184, 77, 0.4);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  /* Évite un bug WebKit (Safari iOS) où table + overflow + radius masque le corps du tableau */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.repartition-finale__table {
  width: 100%;
  min-width: 260px;
  border-collapse: collapse;
  font-size: clamp(0.85rem, 3.2vw, 0.98rem);
  font-weight: 700;
  line-height: 1.4;
}

.repartition-finale__table thead th {
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 184, 77, 0.12);
  border-bottom: 1px solid rgba(255, 184, 77, 0.35);
}

.repartition-finale__table thead th:last-child {
  text-align: right;
}

.repartition-finale__table tbody td {
  padding: 0.5rem 0.65rem;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.repartition-finale__table tbody td:first-child {
  color: var(--muted);
}

.repartition-finale__table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.repartition-finale__table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .repartition-finale__table-wrap {
    overflow-x: visible;
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
  }

  .repartition-finale__table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .repartition-finale__table thead th {
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    font-size: 0.62rem;
  }

  .repartition-finale__table tbody td {
    overflow-wrap: anywhere;
  }

  .repartition-finale__table tbody td:last-child {
    white-space: normal;
  }
}

.cagnotte {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: linear-gradient(180deg, #ffc966 0%, var(--accent) 35%, #ff9f3a 100%);
  color: var(--green-ink);
  border-radius: 32px;
  padding: 1rem 0.3rem 1rem;
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 440px);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.35);
  border: 2px solid rgba(255, 214, 140, 0.6);
  overflow: hidden;
  min-height: clamp(10rem, 32vw, 14rem);
}

.cagnotte-header {
  text-align: center;
  margin-bottom: 0.45rem;
  padding-top: 0.15rem;
  flex-shrink: 0;
}

.cagnotte-header h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amount-green);
}

.cagnotte-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.15rem 0 0;
  width: 100%;
}

/* Montant : ~10 % plus petit qu’avant pour aérer le titre ; cqw limité pour les gros montants */
.cagnotte-amount {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, calc((30vw + 1.75rem) * 0.9), 12.6rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--amount-green);
  -webkit-text-stroke: 3.5px var(--white);
  paint-order: stroke fill;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.12),
    0 0 0 var(--white);
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

@supports (width: 1cqw) {
  .cagnotte-amount {
    font-size: clamp(4.275rem, 37.8cqw, 11.7rem);
  }
}

/* Texte CSV sous le bloc orange (fond vert) */
.cagnotte-texte {
  width: 100%;
  max-width: 38ch;
  margin: 0.85rem auto 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
  font-size: clamp(0.88rem, 3.5vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
  color: var(--white);
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}

.cagnotte-texte:empty {
  display: none;
}

.social-links {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.social-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 184, 77, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  background: #102c22;
}

.tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #111 0%, #1f1f1f 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow:
    -2px 0 0 #25f4ee,
    2px 0 0 #fe2c55,
    0 4px 14px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.tiktok-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow:
    -2px 0 0 #25f4ee,
    2px 0 0 #fe2c55,
    0 6px 18px rgba(0, 0, 0, 0.42);
}

.tiktok-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.tiktok-btn__icon {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .social-item {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .social-avatar {
    width: 56px;
    height: 56px;
  }
}

.donateurs-block {
  margin: 1.15rem auto 0;
  width: 100%;
  max-width: 44ch;
  text-align: center;
}

.sponsors-block {
  margin: 1.15rem auto 0;
  width: 100%;
  text-align: center;
}

.sponsors-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.sponsors-logos {
  margin-top: 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
}

.sponsor-logo {
  width: min(31%, 210px);
  height: 82px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.28rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

@media (max-width: 640px) {
  .sponsors-logos {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .sponsor-logo {
    width: min(100%, 320px);
    height: 84px;
  }
}

.donateurs-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.donateurs-texte {
  margin: 0.35rem auto 0;
  width: fit-content;
  max-width: 34ch;
  font-size: clamp(0.9rem, 3.8vw, 1.02rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  text-wrap: balance;
  white-space: pre-line;
  text-align: left;
}

.donateurs-texte:empty {
  display: none;
}

.cagnotte-error {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: #ffb84d;
  text-align: center;
  min-height: 0;
}

.cagnotte-error:empty {
  display: none;
}

.cagnotte-mock-note {
  margin: 0.35rem 0 0;
  font-size: 0.7rem;
  opacity: 0.8;
  text-align: center;
  color: var(--muted);
}

/* Partners */
.partners {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.partners span {
  color: var(--accent);
}

/* Footer pay */
.footer-pay {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
}

@media (max-width: 640px) {
  .footer-pay {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .pay-lines {
    width: 100%;
  }

  .pay-lines p {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .pay-lines .paypal-btn {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.pay-lines {
  --pay-label-width: 11ch;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.pay-lines p {
  margin: 0;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.pay-country {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pay-country-wero {
  min-width: var(--pay-label-width);
}

.flag {
  display: inline-block;
  width: 1.35em;
  height: 0.95em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.flag-ga {
  background: linear-gradient(180deg, #009e60 0 33.333%, #fcd116 33.333% 66.666%, #3a75c4 66.666% 100%);
}

.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.333%, #ffffff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.pay-lines a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.pay-lines .paypal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--pay-label-width) * 1.8);
  align-self: center;
  margin-top: 0.15rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #0070ba;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.pay-lines .paypal-btn:hover {
  background: #005ea6;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.pay-lines .paypal-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.coach-photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid var(--accent);
  background: var(--bg-deep);
  flex-shrink: 0;
}

.coach-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  border: 3px dashed rgba(255, 184, 77, 0.45);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  padding: 0.5rem;
  line-height: 1.2;
}

/* ——— Téléphones ——— */
@media (max-width: 480px) {
  .page {
    padding-top: max(0.85rem, env(safe-area-inset-top));
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .top-bar {
    row-gap: 0.35rem;
    margin-bottom: 0.4rem;
  }

  .whatsapp-btn {
    padding: 0.36rem 0.72rem 0.36rem 0.6rem;
    gap: 0.38rem;
    font-size: 0.7rem;
    min-height: 40px;
  }

  .whatsapp-btn__icon {
    width: 18px;
    height: 18px;
  }

  .countdown-block .j-label {
    font-size: clamp(1.4rem, 6.5vw, 2.4rem);
  }

  .countdown-block .event-date {
    font-size: 0.68rem;
  }

  .countdown-detail {
    font-size: 0.62rem;
    max-width: 48vw;
  }

  .logo-block .line1 {
    font-size: 0.55rem;
  }

  .logo-block .line2 {
    font-size: 0.52rem;
  }

  .hero-title {
    margin-bottom: 0.55rem;
  }

  .hero-moupita-img {
    max-width: min(100%, 380px);
    border-radius: 16px;
  }

  .cagnotte-stack {
    margin-bottom: 1.25rem;
  }

  .cagnotte {
    max-width: min(100%, 380px);
    min-height: clamp(8.5rem, 30vw, 12rem);
    padding: 0.85rem 0.2rem 0.75rem;
    border-radius: 20px;
  }

  .hero-media {
    margin-bottom: 1.35rem;
  }

  .hero-visual {
    border-radius: 16px;
    margin-bottom: 0.85rem;
    min-height: 0;
  }

  .hero-visual .play-wrap {
    max-height: none;
    min-height: 160px;
  }

  .hero-visual .gabon-flag {
    width: 40px;
    height: 30px;
    top: 8px;
    right: 8px;
  }

  .hero-visual .word-gabon {
    font-size: clamp(1.75rem, 11vw, 2.75rem);
  }

  .hero-visual .panther {
    width: min(26%, 88px);
    height: 100px;
    opacity: 0.75;
  }

  .hero-visual .thumb-label {
    padding: 0.65rem 0.5rem;
  }

  .hero-visual .thumb-label strong {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .hero-visual .play-btn {
    width: 56px;
    height: 56px;
  }

  .hero-visual .play-btn svg {
    width: 24px;
    height: 24px;
  }

  .hero-tagline {
    font-size: 0.92rem;
    max-width: 100%;
    padding: 0 0.35rem;
    line-height: 1.45;
  }

  .cagnotte-header {
    margin-bottom: 0.35rem;
    padding-top: 0.1rem;
  }

  .cagnotte-header h2 {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    padding: 0 0.15rem;
  }

  .cagnotte-main {
    padding: 0.1rem 0 0;
  }

  .cagnotte-amount {
    font-size: clamp(3.6rem, calc((36vw + 0.5rem) * 0.9), 8.55rem);
    line-height: 0.72;
    -webkit-text-stroke: 2.25px var(--white);
    letter-spacing: -0.035em;
  }

  @supports (width: 1cqw) {
    .cagnotte-amount {
      font-size: clamp(3.6rem, 43.2cqw, 8.775rem);
    }
  }

  .cagnotte-texte {
    font-size: 0.84rem;
    max-width: 100%;
    margin-top: 0.65rem;
    padding: 0 0.35rem;
    line-height: 1.4;
  }

  .cagnotte-error,
  .cagnotte-mock-note {
    font-size: 0.68rem;
    padding: 0 0.25rem;
    line-height: 1.4;
  }

  .partners {
    font-size: 0.82rem;
    margin-bottom: 1.75rem;
    padding: 0 0.35rem;
    line-height: 1.45;
  }

  .footer-pay {
    gap: 1.15rem;
  }

  .pay-lines {
    gap: 0.65rem;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .pay-lines p {
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
    line-height: 1.45;
  }

  .pay-lines a {
    display: inline-block;
    padding: 0.4rem 0.15rem;
    min-height: 44px;
    line-height: 1.35;
    box-sizing: border-box;
  }

  .coach-placeholder,
  .coach-photo {
    width: 100px;
    height: 100px;
  }
}

/* Desktop large (>768px) */
@media (min-width: 769px) {
  .page {
    max-width: 640px;
    padding-top: 2rem;
  }

  .top-bar {
    column-gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .top-bar .countdown-block {
    margin-top: 20px;
  }

  .countdown-block .j-label {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
  }

  .countdown-block .event-date {
    font-size: 1.1rem;
    margin-top: 0.4rem;
  }

  .countdown-detail {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .hero-moupita-img {
    max-width: 480px;
  }

  .cagnotte {
    max-width: 530px;
  }
}

/* Très petits écrans (≤360px) */
@media (max-width: 360px) {
  .countdown-block .j-label {
    font-size: clamp(1.25rem, 6vw, 2rem);
  }

  .cagnotte-amount {
    font-size: clamp(3.465rem, calc((38vw + 0.25rem) * 0.9), 8.1rem);
  }

  @supports (width: 1cqw) {
    .cagnotte-amount {
      font-size: clamp(3.465rem, 45cqw, 8.325rem);
    }
  }

  .cagnotte-header h2 {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }
}
