* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #14211f;
  --teal: #003740;
  --clay: #b95118;
  --cream: #f8f3eb;
  --paper: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: var(--header-h, 90px);
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 15, 14, 0.82) 0%,
    rgba(9, 15, 14, 0.35) 45%,
    rgba(9, 15, 14, 0.05) 68%,
    rgba(9, 15, 14, 0.3) 100%
  );
}

/* ═══════════════════════════════════════
   HEADER FIXE — TICKER + NAVBAR
═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(20, 33, 31, 0.08);
}

/* ── Ticker flash ── */
.ticker {
  display: flex;
  align-items: stretch;
  background: var(--teal);
  overflow: hidden;
  height: 34px;
}
.ticker-flash {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--clay);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0.9rem;
}
.ticker-flash-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: tickerPulse 1.4s ease-in-out infinite;
}
@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.ticker-track {
  display: flex;
  overflow: hidden;
  flex: 1;
}
.ticker-row {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding-left: 1.5rem;
  animation: tickerScroll 38s linear infinite;
}
.ticker-row span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 500;
}
.ticker-sep {
  color: var(--clay);
  margin: 0 1.25rem;
  font-size: 0.6rem;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-row { animation: none; }
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0.7rem clamp(1.25rem, 4vw, 3.5rem);
}

.navbar-logo img {
  height: 32px;
  width: auto;
}
.navbar-logo-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal);
}

.navbar-info {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.navbar-info:hover { color: var(--clay); }

.navbar-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.navbar-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.15s ease;
}
.navbar-links a:hover { color: var(--clay); }
.navbar-links a.is-current { color: var(--clay); }

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
}
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0, 55, 64, 0.06);
  border: 1px solid rgba(0, 55, 64, 0.16);
  border-radius: 99em;
  padding: 0.45rem 1.9rem 0.45rem 0.95rem;
  cursor: pointer;
}
.lang-switch svg {
  position: absolute;
  right: 0.7rem;
  width: 11px;
  height: 11px;
  color: var(--teal);
  pointer-events: none;
}

.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.menu-btn-lines span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.menu-btn-lines span:last-child { width: 65%; }

/* ── Panneau Menu (tiroir) ── */
.menu-panel-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 31, 0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.menu-panel-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 84vw);
  background: var(--paper);
  z-index: 160;
  padding: 1.75rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.menu-panel.is-open {
  transform: translateX(0);
}
.menu-panel-close {
  align-self: flex-end;
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.menu-panel-close svg { width: 18px; height: 18px; }
.menu-panel-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.menu-panel-links a {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
}
.menu-panel-links a:hover { color: var(--clay); }
.menu-panel-info {
  margin-top: auto;
  font-size: 0.85rem;
  color: rgba(20, 33, 31, 0.6);
}
.menu-panel-info:hover { color: var(--clay); }

/* ── Contenu du hero ── */
.hero-content {
  position: relative;
  z-index: 5;
  margin-top:25px;
  padding: 0 clamp(1rem, 4vw, 3.5rem) clamp(2rem, 6vw, 4.5rem);
  max-width: 860px;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  animation: heroReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
  font-size: clamp(3.2rem, 9vw, 6rem);
  margin-bottom: 0;
  -webkit-text-stroke: 1px white; 
}
.hero-title span { display: block; }

.hero-text {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.9rem;
  border-radius: 99em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-pill:hover {
  background: var(--clay);
  color: #fff;
}

.link-plain {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
.link-plain:hover { border-color: #fff; }

/* ── Bandeau partenaires (défilement infini) ── */
.partners-marquee {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.1rem 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 1);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}
.partners-track.partners-track--reverse {
  animation-name: partnersScrollReverse;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partners-pills {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  white-space: nowrap;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99em;
  padding: 0.5rem 1.25rem;
}
.partner-pill-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes partnersScrollReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ═══════════════════════════════════════
   PROCHAINS ÉVÉNEMENTS
═══════════════════════════════════════ */
.upcoming {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(4rem, 7vw, 6rem);
}

.upcoming-head {
  margin-bottom: 2rem;
}
.upcoming-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink);
}

.upcoming-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.event-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.event-card--feature img {
  aspect-ratio: 16 / 11;
}

.event-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clay);
  margin-bottom: 0.5rem;
}

.event-card-body h3 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.event-card--feature h3 { font-size: 1.4rem; }

.event-card-body p {
  font-size: 0.85rem;
  color: rgba(20, 33, 31, 0.6);
}

/* ═══════════════════════════════════════
   FOOTER (prototype uniquement)
═══════════════════════════════════════ */
.proto-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.78rem;
  color: rgba(20, 33, 31, 0.45);
  border-top: 1px solid rgba(20, 33, 31, 0.1);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .upcoming-grid {
    grid-template-columns: 1fr 1fr;
  }
  .event-card--feature {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .navbar-info {
    display: none;
  }
  .navbar { gap: 0.75rem; flex-wrap: wrap; }
  .navbar-links {
    order: 5;
    width: 100%;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .navbar-links::-webkit-scrollbar { display: none; }
  .navbar-links a { flex-shrink: 0; }

  .hero { min-height: 100vh; }
  .hero-title { font-size: 3rem; }

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

/* Respecte la préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════
   RECHERCHE (Ctrl K) DANS LA NAVBAR
═══════════════════════════════════════ */
.navbar-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(20, 33, 31, 0.05);
  border: 1px solid rgba(20, 33, 31, 0.12);
  border-radius: 99em;
  padding: 0.45rem 0.7rem 0.45rem 0.85rem;
  color: rgba(20, 33, 31, 0.55);
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
  min-width: 190px;
}
.navbar-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.navbar-search-label {
  font-size: 0.8rem;
  flex: 1;
  text-align: left;
}
.navbar-search-kbd {
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(20, 33, 31, 0.08);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════
   PANNEAU PORTAIL (menu latéral)
═══════════════════════════════════════ */
.menu-panel-portal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem 0 1.5rem;
}
.menu-panel-portal-icon { font-size: 1.8rem; }
.menu-panel-portal h2 {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.menu-panel-portal p {
  font-size: 0.88rem;
  color: rgba(20, 33, 31, 0.6);
  margin-bottom: 0.5rem;
}

.btn-pill--dark {
  background: var(--teal);
  color: #fff;
}
.btn-pill--dark:hover { background: var(--clay); }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   MODALS PARTAGÉS (login / recherche)
═══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 14, 0.55);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-overlay.is-open { display: flex; }

.modal-box {
  background: var(--paper);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-box--wide { max-width: 900px; }

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
}
.modal-head-titles h2 {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.modal-head-titles p {
  font-size: 0.85rem;
  color: rgba(20, 33, 31, 0.6);
  margin-top: 0.3rem;
  max-width: 42ch;
}
.modal-close-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(20, 33, 31, 0.5);
  cursor: pointer;
  width: 28px;
  height: 28px;
}
.modal-close-btn svg { width: 16px; height: 16px; }
.modal-body { padding: 1.5rem; }

/* ── Formulaires (login) ── */
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.form-input-row { display: flex; gap: 0.5rem; }
.form-select,
.form-input {
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--cream);
  outline: none;
}
.form-input { flex: 1; width: 100%; }
.form-input-row .form-input { width: auto; }
.form-select:focus,
.form-input:focus { border-color: var(--teal); }

.otp-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.otp-tab {
  flex: 1;
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  background: none;
  padding: 0.6rem;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.otp-tab.is-active { border-color: var(--teal); background: rgba(0,55,64,0.06); }

.btn-primary-full {
  width: 100%;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.1rem;
}
.btn-primary-full:hover { background: var(--clay); }

.otp-demo-hint {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: rgba(20, 33, 31, 0.55);
  text-align: center;
  background: var(--cream);
  border: 1px dashed rgba(20, 33, 31, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
}
.otp-demo-hint strong { color: var(--teal); letter-spacing: 0.04em; }

.otp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: rgba(20, 33, 31, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  padding: 0;
}
.otp-back-link svg { width: 13px; height: 13px; }

#otpDestinationLabel { font-size: 0.85rem; color: rgba(20,33,31,0.6); }

.otp-code-row {
  display: flex;
  gap: 0.5rem;
  margin: 0.7rem 0 0.6rem;
}
.otp-code-input {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.otp-code-input:focus { border-color: var(--teal); }
.otp-code-row.has-error .otp-code-input { border-color: #d0392b; }
.otp-code-error {
  color: #d0392b;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  display: none;
}

.otp-helper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(20, 33, 31, 0.6);
}
.otp-helper-row button {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.8rem;
}
.otp-helper-row button:disabled { color: rgba(20, 33, 31, 0.35); cursor: default; }

.otp-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}
.otp-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 55, 64, 0.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.otp-success-icon svg { width: 24px; height: 24px; }
.otp-success h3 {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.otp-success p { font-size: 0.88rem; color: rgba(20,33,31,0.6); }

/* ═══════════════════════════════════════
   MODAL RECHERCHE AVANCÉE (revue de presse)
═══════════════════════════════════════ */
.search-modal-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.1rem;
}
.press-review-date-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.press-review-date-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.press-review-date {
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  background: var(--cream);
  color: var(--ink);
}
.press-review-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.press-tab {
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  background: var(--cream);
  color: var(--ink);
  border-radius: 99em;
  padding: 0.45rem 0.9rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.press-tab.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }

.press-review-body {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.press-item {
  border: 1px solid rgba(20, 33, 31, 0.1);
  border-radius: 12px;
  padding: 1rem;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.press-item-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.press-item-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}
.press-item-link {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 1px;
}
.press-item-link:hover { color: var(--clay); border-color: var(--clay); }

.press-review-more {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
}
.press-review-more:hover { color: var(--clay); }
.press-review-note {
  margin-top: 1rem;
  font-size: 0.76rem;
  color: rgba(20, 33, 31, 0.5);
  border-top: 1px dashed rgba(20, 33, 31, 0.15);
  padding-top: 0.8rem;
}

@media (max-width: 700px) {
  .navbar-search { display: none; }
}

/* ═══════════════════════════════════════
   PAGE "SUR LE MUR"
═══════════════════════════════════════ */
.wall-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: calc(var(--header-h, 90px) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) 2rem;
}

.wall-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.wall-head h1 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
  border-bottom: 3px solid var(--clay);
  padding-bottom: 0.3rem;
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  border-radius: 99em;
  padding: 0.5rem 1.1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-pill-outline svg { width: 15px; height: 15px; }
.btn-pill-outline:hover { background: var(--teal); color: #fff; }

.wall-sub {
  text-align: center;
  color: rgba(20, 33, 31, 0.6);
  font-size: 0.95rem;
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

.wall-grid {
  column-count: 1;
  column-gap: 1.75rem;
}
@media (min-width: 640px) { .wall-grid { column-count: 2; } }
@media (min-width: 1000px) { .wall-grid { column-count: 3; } }
@media (min-width: 1350px) { .wall-grid { column-count: 4; } }

.wall-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 2.25rem;
}
.wall-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.9rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.wall-card--feature img { aspect-ratio: 16 / 10; }

.wall-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  background: rgba(0, 55, 64, 0.08);
  padding: 3px 9px;
  border-radius: 99em;
  margin-bottom: 0.6rem;
}
.wall-tag--econ {
  color: var(--clay);
  background: rgba(185, 81, 24, 0.1);
}

.wall-card h2 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.wall-card--feature h2 { font-size: 1.55rem; }

.wall-card p {
  font-size: 0.88rem;
  color: rgba(20, 33, 31, 0.65);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.wall-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.wall-author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wall-author span:last-child {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}
.wall-author strong { color: var(--ink); font-weight: 700; }
.wall-author span span { font-size: 0.75rem; color: rgba(20,33,31,0.55); }

.wall-source {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clay);
}

@media (max-width: 700px) {
  .navbar-links a.is-current { text-decoration: underline; }
}

/* ═══════════════════════════════════════
   PANNEAU MENU — état "Compte connecté"
═══════════════════════════════════════ */
.menu-panel-account {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 1rem;
}
.menu-panel-account-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.1rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
}
.menu-panel-account-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.menu-panel-account-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}
.menu-panel-account-head span {
  display: block;
  font-size: 0.78rem;
  color: rgba(20, 33, 31, 0.55);
}
.menu-panel-account a {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(20, 33, 31, 0.08);
}
.menu-panel-account a:hover { color: var(--clay); }
.menu-panel-logout {
  margin-top: 1rem;
  background: none;
  border: 1.5px solid rgba(208, 57, 43, 0.35);
  color: #d0392b;
  border-radius: 99em;
  padding: 0.6rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-panel-logout:hover { background: rgba(208, 57, 43, 0.08); }

/* ═══════════════════════════════════════
   PAGE LIVE TV — contenu flouté + paywall
═══════════════════════════════════════ */
.livetv-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--header-h, 90px) + 2.5rem) clamp(1.25rem, 4vw, 3.5rem) 3rem;
}
.livetv-page .wall-head h1 { border-bottom-color: var(--teal); }

.gated-wrap { position: relative; margin-top: 2rem; }

.webtv-content,
.webtv-recommended {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}
.gated-wrap.is-unlocked .webtv-content,
.gated-wrap.is-unlocked .webtv-recommended {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}
.gated-wrap.is-unlocked .paywall { display: none; }

.live-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.live-hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.live-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,15,14,0.85), rgba(9,15,14,0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: #d0392b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 99em;
  margin-bottom: 0.7rem;
}
.live-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: tickerPulse 1.4s ease-in-out infinite;
}
.live-hero-overlay h2 { font-family: "Fraunces", serif; font-size: 1.3rem; margin-bottom: 0.3rem; }
.live-hero-overlay p { font-size: 0.85rem; opacity: 0.85; }

.live-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(20, 33, 31, 0.1);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--paper);
}
.live-row img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.live-row-info { flex: 1; min-width: 0; }
.live-row-info h4 { font-family: "Fraunces", serif; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.2rem; }
.live-row-info span { font-size: 0.78rem; color: rgba(20,33,31,0.55); }
.live-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(20,33,31,0.55);
  white-space: nowrap;
}
.live-status--live { color: #d0392b; }

/* ── Paywall overlay ── */
.paywall {
  position: absolute;
  inset: -1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.paywall-card {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(9,15,14,0.22);
  padding: 2rem 1.75rem;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  text-align: center;
}
.paywall-icon { font-size: 1.8rem; }
.paywall-card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.5rem 0 0.4rem;
}
.paywall-card > p {
  font-size: 0.9rem;
  color: rgba(20,33,31,0.6);
  margin-bottom: 1.75rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.25rem;
}
.plan-card {
  position: relative;
  border: 1.5px solid rgba(20, 33, 31, 0.14);
  border-radius: 14px;
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.plan-card--popular {
  border-color: var(--teal);
  border-width: 2px;
  transform: scale(1.04);
  box-shadow: 0 10px 26px rgba(0,55,64,0.14);
}
.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99em;
  white-space: nowrap;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(20,33,31,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.plan-price {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
}
.plan-price span { font-size: 0.8rem; font-weight: 500; font-family: "DM Sans", sans-serif; color: rgba(20,33,31,0.5); }
.plan-features { list-style: none; margin: 0.3rem 0 0.6rem; flex: 1; }
.plan-features li {
  font-size: 0.8rem;
  color: rgba(20,33,31,0.65);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.plan-btn { width: 100%; justify-content: center; }
.plan-btn.is-selected { opacity: 0.6; pointer-events: none; }

.paywall-note {
  font-size: 0.75rem;
  color: rgba(20,33,31,0.45);
}

@media (max-width: 780px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--popular { transform: none; order: -1; }
}

/* ═══════════════════════════════════════
   WEB TV — interface de streaming (fond sombre)
═══════════════════════════════════════ */
.webtv-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: calc(var(--header-h, 90px) + 2rem) clamp(1.25rem, 4vw, 3.5rem) 3rem;
}
.webtv-page .gated-wrap { margin-top: 1.5rem; }

.webtv-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  background: #0e1210;
  border-radius: 18px;
  padding: 1.25rem;
}

.webtv-player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.webtv-player-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}
.webtv-player-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65), transparent);
}
.webtv-timer {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.webtv-streamer {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.webtv-streamer div { text-align: right; }
.webtv-streamer strong { display: block; color: #fff; font-size: 0.85rem; }
.webtv-streamer span { display: block; color: rgba(255,255,255,0.6); font-size: 0.72rem; }
.webtv-streamer-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  flex-shrink: 0;
}

.webtv-scrubber {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}
.webtv-ctrl {
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
}
.webtv-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 99em;
  overflow: hidden;
}
.webtv-progress-fill {
  width: 62%;
  height: 100%;
  background: var(--clay);
}
.webtv-time {
  color: #fff;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.webtv-stats {
  display: flex;
  gap: 1.1rem;
  margin: 1rem 0 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.webtv-stats strong { color: #fff; }
.webtv-title {
  font-family: "Fraunces", serif;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.webtv-meta { color: rgba(255,255,255,0.55); font-size: 0.82rem; }

.webtv-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.webtv-upnext h3,
.webtv-chat h3 {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}
.webtv-upnext-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0;
  align-items: center;
}
.webtv-upnext-item img {
  width: 72px; height: 44px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.webtv-upnext-item h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2px;
}
.webtv-upnext-item span { color: rgba(255,255,255,0.5); font-size: 0.7rem; }

.webtv-chat {
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 0.9rem;
  flex: 1;
}
.webtv-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 220px;
  overflow-y: auto;
}
.webtv-chat-msg {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.webtv-chat-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.webtv-chat-msg p { color: rgba(255,255,255,0.85); font-size: 0.8rem; line-height: 1.4; }

.webtv-recommended {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.webtv-rec-card { display: block; }
.webtv-rec-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}
.webtv-rec-body { display: flex; gap: 0.55rem; }
.webtv-rec-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.webtv-rec-body div { min-width: 0; }
.webtv-rec-body strong { display: block; font-size: 0.78rem; color: rgba(20,33,31,0.5); font-weight: 600; }
.webtv-rec-body > div > span:first-of-type {
  display: block;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 2px 0;
}
.webtv-rec-meta { display: block; font-size: 0.75rem; color: rgba(20,33,31,0.45); }

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

/* ═══════════════════════════════════════
   TUNNEL DE PAIEMENT — méthode / détails / traitement
═══════════════════════════════════════ */
.paywall-back {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: rgba(20, 33, 31, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 auto 1rem 0;
  padding: 0;
}
.paywall-back svg { width: 14px; height: 14px; }

#paymentStepMethod h2,
#paymentStepDetails h2 {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  margin-bottom: 0.3rem;
}
.pay-summary {
  text-align: left;
  font-size: 0.85rem;
  color: rgba(20, 33, 31, 0.55);
  margin-bottom: 1.5rem;
}
.pay-summary strong { color: var(--teal); }

.pay-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.pay-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid rgba(20, 33, 31, 0.14);
  border-radius: 12px;
  padding: 1.1rem 0.75rem;
  background: var(--paper);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
}
.pay-method:hover { border-color: var(--teal); background: var(--cream); }
.pay-method-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.pay-method-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }

#paymentStepDetails .form-label,
#paymentStepMethod .form-label { text-align: left; }
#paymentStepDetails .form-input-row { margin-bottom: 0; }

.pay-hint {
  text-align: left;
  font-size: 0.78rem;
  color: rgba(20, 33, 31, 0.5);
  margin-top: 0.6rem;
}

.pay-processing {
  padding: 1.5rem 0.5rem;
  text-align: center;
}
.pay-spinner {
  display: inline-block;
  width: 42px; height: 42px;
  border: 3px solid rgba(0, 55, 64, 0.15);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: paySpin 0.8s linear infinite;
  margin-bottom: 1.1rem;
}
@keyframes paySpin { to { transform: rotate(360deg); } }
.pay-processing h2 {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pay-processing p { font-size: 0.85rem; color: rgba(20,33,31,0.6); max-width: 40ch; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .pay-spinner { animation: none; border-top-color: rgba(0,55,64,0.15); }
}

/* ═══════════════════════════════════════
   EXPLORATEUR — onglets (Événements / eSports / Pronostics)
═══════════════════════════════════════ */
.explorer-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.75rem;
  flex-wrap: wrap;
}
.explorer-tabs-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.explorer-see-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  border-bottom: 1.5px solid transparent;
}
.explorer-see-more:hover {
  color: var(--clay);
  border-bottom-color: var(--clay);
}
.explorer-tab {
  border: 1.5px solid rgba(20, 33, 31, 0.16);
  background: var(--paper);
  color: var(--ink);
  border-radius: 99em;
  padding: 0.6rem 1.3rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.explorer-tab:hover { border-color: var(--teal); }
.explorer-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.explorer-panel { display: none; }
.explorer-panel.is-active { display: block; }

/* ═══════════════════════════════════════
   ONGLET ESPORTS — bracket de matchs
═══════════════════════════════════════ */
.esports-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.esports-match {
  position: relative;
  background: linear-gradient(135deg, #14211f 0%, #0a0f0e 100%);
  border-radius: 14px;
  padding: 1.1rem 1.5rem 1.25rem;
  overflow: hidden;
}
.esports-match-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.8rem;
}
.esports-match-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 0.9rem;
}
.esports-team {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.esports-team--right {
  justify-content: flex-end;
  text-align: right;
}
.esports-team-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.esports-team strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.esports-team span {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  margin-top: 2px;
}
.esports-date,
.esports-time {
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.esports-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--clay) 0%, #7a340f 100%);
  box-shadow: 0 0 22px rgba(185, 81, 24, 0.55);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.esports-venue {
  display: block;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 700px) {
  .esports-match-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: center;
  }
  .esports-team,
  .esports-team--right { justify-content: center; text-align: center; }
  .esports-vs { margin: 0 auto; }
}

/* ═══════════════════════════════════════
   ONGLET PRONOSTICS — bannière matchday + cartes
═══════════════════════════════════════ */
.matchday-hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal) 0%, #001f24 100%);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  margin-bottom: 1.75rem;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.matchday-photo {
  position: absolute;
  top: 0;
  height: 100%;
  width: 30%;
  object-fit: cover;
  opacity: 0.55;
}
.matchday-photo--left {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent);
  mask-image: linear-gradient(to right, #000 55%, transparent);
}
.matchday-photo--right {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent);
  mask-image: linear-gradient(to left, #000 55%, transparent);
}
.matchday-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 560px;
  color: #fff;
}
.matchday-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin-bottom: 0.5rem;
}
.matchday-content h2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.matchday-vs-row strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.matchday-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.4rem;
}
.matchday-tipster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.matchday-tipster--sm { justify-content: flex-start; margin: 0.7rem 0; }
.tipster-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.matchday-tipster div { text-align: left; }
.matchday-tipster strong { display: block; font-size: 0.85rem; color: #fff; }
.matchday-tipster span { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.65); }
.matchday-tipster--sm strong { color: var(--ink); }
.matchday-tipster--sm span { color: rgba(20,33,31,0.55); }

.matchday-pick {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 99em;
  display: inline-block;
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.matchday-analysis {
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  max-width: 46ch;
  margin: 0 auto;
}

.pronostic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.pronostic-card {
  background: var(--paper);
  border: 1px solid rgba(20, 33, 31, 0.1);
  border-radius: 14px;
  overflow: hidden;
}
.pronostic-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.pronostic-body { padding: 1.1rem 1.2rem 1.3rem; }
.pronostic-body h3 {
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.5rem 0 0.35rem;
  line-height: 1.3;
}
.pronostic-date {
  display: block;
  font-size: 0.76rem;
  color: rgba(20,33,31,0.5);
}
.pronostic-pick {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  background: rgba(0,55,64,0.06);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  margin-top: 0.2rem;
}

.pronostic-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.76rem;
  color: rgba(20, 33, 31, 0.45);
  text-align: center;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .matchday-photo { display: none; }
  .matchday-hero { padding: 2rem 1.25rem; }
}

/* ═══════════════════════════════════════
   PAGE CALENDRIER
═══════════════════════════════════════ */
.cal-filters {
  margin-bottom: 2rem;
}
.cal-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
}
.cal-day-group {
  display: flex;
  gap: 1.25rem;
}
.cal-day-group.is-empty { display: none; }
.cal-day-badge {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 31, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cal-day-num {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1;
}
.cal-day-name {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(20, 33, 31, 0.5);
  margin-top: 2px;
}
.cal-day-events {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cal-event {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid rgba(20, 33, 31, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}
.cal-event.is-hidden { display: none; }
.cal-event-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal);
}
.cal-event[data-sport="football"] .cal-event-dot { background: var(--clay); }
.cal-event[data-sport="tennis"] .cal-event-dot { background: #2b8ea8; }
.cal-event[data-sport="natation"] .cal-event-dot { background: #2f7d4f; }
.cal-event[data-sport="boxe"] .cal-event-dot { background: #d0392b; }
.cal-event[data-sport="basketball"] .cal-event-dot { background: #6b4fa0; }
.cal-event-info { flex: 1; min-width: 0; }
.cal-event-info h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.cal-event-info span {
  font-size: 0.8rem;
  color: rgba(20, 33, 31, 0.55);
}
.cal-event-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(20, 33, 31, 0.5);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .cal-day-group { gap: 0.75rem; }
  .cal-day-badge { width: 50px; height: 50px; }
}

/* ═══════════════════════════════════════
   MODAL SPONSOR (encart publicitaire ciblé)
═══════════════════════════════════════ */
.sponsor-modal-box {
  max-width: 440px;
  position: relative;
  overflow: hidden;
}
.sponsor-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.sponsor-modal-close:hover { background: rgba(255, 255, 255, 0.35); }
.sponsor-modal-close svg { width: 15px; height: 15px; }

.sponsor-modal-banner {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
}
.sponsor-modal-icon {
  font-size: 3rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.sponsor-modal-body {
  padding: 1.6rem 1.75rem 1.9rem;
  text-align: center;
}
.sponsor-modal-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(20, 33, 31, 0.5);
  margin-bottom: 0.7rem;
}
.sponsor-modal-body h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.sponsor-modal-body p {
  font-size: 0.9rem;
  color: rgba(20, 33, 31, 0.62);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.sponsor-modal-cta {
  justify-content: center;
  width: 100%;
}
