/* ============================================
   LA MONTÉE DE L'ESPOIR — Global Styles
   Prototype pour Webflow
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #8B4513;
  --primary-light: #A0522D;
  --accent: #E8A838;
  --accent-hover: #D4881C;
  --dark: #1A0E05;
  --light: #FFF9F0;
  --white: #FFFFFF;
  --gray-100: #FDF6ED;
  --gray-200: #F0E4D4;
  --gray-300: #E0D0BC;
  --gray-500: #A89480;
  --gray-700: #5C4A3A;
  --gray-900: #2C1810;
  --red-accent: #C0392B;
  --green-accent: #5D7A2E;
  --font-heading: 'Geist', -apple-system, sans-serif;
  --font-accent: 'Sekuya', cursive;
  --font-body: 'Geist', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: all 0.3s ease;
}

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; text-wrap: balance; letter-spacing: -0.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { font-size: 1.05rem; color: var(--gray-700); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 20px; color: var(--dark); }
.section-subtitle { font-size: 1.15rem; color: var(--gray-500); max-width: 600px; margin-bottom: 60px; text-wrap: balance; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 168, 56, 0.4);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 136, 28, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 20px 48px; font-size: 1.1rem; }
.btn-sm { padding: 12px 24px; font-size: 0.9rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 14, 5, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* Dark-text navbar (for light-background pages) */
.navbar--dark-text:not(.scrolled) .nav-links a { color: var(--gray-900); }
.navbar--dark-text:not(.scrolled) .nav-links a:hover,
.navbar--dark-text:not(.scrolled) .nav-links a.active { color: var(--accent); }
.navbar--dark-text:not(.scrolled) .nav-toggle span { background: var(--gray-900); }

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(165deg, rgba(26,14,5,0.85) 0%, rgba(61,30,10,0.85) 30%, rgba(139,69,19,0.85) 60%, rgba(192,101,42,0.85) 100%),
    url('assets/kilimanjaro.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,56,0.12) 0%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(26,14,5,0.3), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 100px 0 40px;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: none;
  text-wrap: balance;
}

.hero-text h1 em {
  font-family: inherit;
  font-style: italic;
  font-weight: inherit;
  font-size: 1em;
  color: var(--accent);
  text-transform: inherit;
  padding-right: 0.25rem;
}

.hero-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 80px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
  flex-wrap: wrap;
}

.hero #vsl {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 3;
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 800;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* --- VSL Section --- */
.vsl-wrapper {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
}


.vsl-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.vsl-play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(232,168,56,0.4);
  animation: pulse-play 2s ease infinite;
}

@keyframes pulse-play {
  0% { box-shadow: 0 0 0 0 rgba(232,168,56,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(232,168,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,168,56,0); }
}

.vsl-play svg { margin-left: 4px; }

/* --- Progress Bar --- */
.progress-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.progress-bar-wrapper {
  background: var(--gray-200);
  border-radius: 50px;
  height: 24px;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8B4513, #E8A838);
  border-radius: 50px;
  transition: width 1.5s ease;
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s ease infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.progress-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.progress-goal { color: var(--gray-500); font-size: 0.95rem; }

/* --- Sections générique --- */
section { padding: var(--section-padding); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* --- Mission Section --- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero/page-hero load-in animation --- */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .hero-text > *:not(#vsl),
.page-hero .container > * {
  opacity: 0;
  animation: heroReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero #vsl {
  opacity: 0;
  animation: heroFadeIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero .hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero .hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero .hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero .hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero .hero-text > *:nth-child(5) { animation-delay: 0.5s; }
.hero #vsl { animation-delay: 0.45s; }

.page-hero .container > *:nth-child(1) { animation-delay: 0.1s; }
.page-hero .container > *:nth-child(2) { animation-delay: 0.2s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-text > *,
  .hero #vsl,
  .page-hero .container > * {
    animation: none;
    opacity: 1;
  }
}

.mission-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.mission-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 1.5rem;
}

.mission-card h3 { margin-bottom: 12px; color: var(--dark); }
.mission-card p { font-size: 0.95rem; }

/* --- Team Section --- */
.team-section { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.team-photo {
  height: 280px;
  background: linear-gradient(135deg, #C0652A, #8B4513);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-info h3 { font-size: 1.2rem; margin-bottom: 4px; color: var(--dark); }
.team-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.team-bio { font-size: 0.9rem; margin-top: 12px; color: var(--gray-500); }

/* Clickable card (button reset) */
.team-card--clickable {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: var(--white);
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}
.team-card--clickable:hover { border-color: var(--accent); }

.team-photo--img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 320px;
  aspect-ratio: 3 / 4;
  padding: 0;
  margin: 0;
  background: var(--gray-100);
  overflow: hidden;
}
.team-card--clickable .team-info { flex: 0 0 auto; }
.team-photo--img::after { display: none; }
.team-photo--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}

.team-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Member modal */
.member-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.member-modal[aria-hidden="false"] { display: flex; }

.member-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,14,5,0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.member-modal__panel {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: minmax(0, 1fr);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: modalPop 0.25s ease;
}

.member-modal__panel--sponsor {
  max-width: 1080px;
  grid-template-columns: 420px 1fr;
}

.member-modal__panel--event {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.event-modal-info {
  margin-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.event-modal-info__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.event-modal-info__row dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
}
.event-modal-info__row dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--gray-900);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.member-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(26,14,5,0.85);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: var(--transition);
}
.member-modal__close:hover { background: var(--dark); transform: rotate(90deg); }

.member-modal__media {
  background: var(--gray-100);
  overflow: hidden;
}
.member-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.member-modal__body {
  padding: 40px 36px;
  overflow-y: auto;
  min-height: 0;
  min-width: 0;
}
.member-modal__body h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--dark);
}
.member-modal__body p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 14px;
}

body.modal-open { overflow: hidden; }

/* Member video slot */
.member-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
  margin: 20px 0 28px;
}

.member-video video,
.member-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.member-video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gray-500);
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.member-video__placeholder svg {
  padding: 16px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
  opacity: 0.75;
}

.member-video__placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Partnership form conditional section */
.form-conditional {
  border: none;
  padding: 0;
  margin: 0 0 24px;
}

.form-conditional legend {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding: 0;
}

/* --- Sponsors Section --- */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sponsor-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.sponsor-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.sponsor-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sponsor-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.sponsor-tier {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Hall of Donators tiers --- */
.tier-section { margin-bottom: 64px; }
.tier-section:last-of-type { margin-bottom: 0; }

.tier-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.tier-header h3 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gray-500);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
}

.tier-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}

.tier-badge-platine { background: linear-gradient(135deg, #B8C1CE, #6B7380); box-shadow: 0 4px 14px rgba(107,115,128,0.3); }
.tier-badge-gold    { background: linear-gradient(135deg, #F4C244, #C88C1F); box-shadow: 0 4px 14px rgba(200,140,31,0.3); }
.tier-badge-silver  { background: linear-gradient(135deg, #D8D8D8, #9A9A9A); box-shadow: 0 4px 14px rgba(154,154,154,0.3); }
.tier-badge-bronze  { background: linear-gradient(135deg, #CD7F32, #8B4513); box-shadow: 0 4px 14px rgba(139,69,19,0.3); }

/* Podium for Platine */
.podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
}

.podium-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

.podium-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }

.podium-1 {
  background: linear-gradient(160deg, #FFFDF7 0%, #FFF4D9 100%);
  border: 2px solid #E8A838;
  padding-top: 56px;
  padding-bottom: 44px;
  box-shadow: 0 20px 50px rgba(232,168,56,0.2);
}

.podium-1:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(232,168,56,0.3);
}

.podium-2 {
  background: linear-gradient(160deg, #FFFFFF 0%, #F3F4F7 100%);
  border: 2px solid #B8C1CE;
}

.podium-3 {
  background: linear-gradient(160deg, #FFFBF7 0%, #F5E6D3 100%);
  border: 2px solid #CD7F32;
}

.podium-crown {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(232,168,56,0.4);
}

.podium-rank {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-500);
  line-height: 1;
  margin-bottom: 12px;
}

.podium-1 .podium-rank { color: var(--accent); font-size: 3rem; }

.podium-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  word-break: break-word;
}

.podium-1 .podium-name { font-size: 1.35rem; }

.podium-amount {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.podium-1 .podium-amount { font-size: 1.2rem; }

/* Gold/Silver/Bronze grid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tier-grid-sm { grid-template-columns: repeat(4, 1fr); }

.tier-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
}

.tier-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }

.tier-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-900);
  font-size: 1rem;
}

/* --- Forms --- */
.form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-group label .required { color: var(--red-accent); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,168,56,0.15);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: 10px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.form-check label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--gray-900);
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}

.form-segmented {
  display: inline-flex;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.form-segmented label {
  margin: 0;
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.form-segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.form-segmented label:has(input:checked) {
  background: var(--accent);
  color: var(--white);
}

.form-help {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--gray-500);
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: none;
}

.form-status.success { display: block; background: rgba(93,122,46,0.1); color: var(--green-accent); border: 1px solid rgba(93,122,46,0.3); }
.form-status.error   { display: block; background: rgba(192,57,43,0.1); color: var(--red-accent); border: 1px solid rgba(192,57,43,0.3); }

/* --- Events table --- */
.events-table-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.events-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.events-table thead {
  background: var(--gray-100);
}

.events-table th {
  text-align: left;
  padding: 18px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-bottom: 1px solid var(--gray-200);
}

.events-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
  font-size: 0.98rem;
  color: var(--gray-900);
}

.events-table tbody tr:last-child td { border-bottom: none; }
.events-table tbody tr:hover { background: var(--gray-100); }

.event-date {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.event-title { font-weight: 600; margin-bottom: 4px; text-wrap: pretty; }

.event-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(232, 168, 56, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.event-row .event-tag { margin-bottom: 10px; }
.member-modal__body .event-tag { margin-bottom: 16px; }

.event-row { cursor: pointer; }
.event-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.event-row__chevron {
  text-align: right;
  white-space: nowrap;
  color: var(--gray-500);
  vertical-align: middle !important;
  font-size: 0.82rem;
  font-weight: 600;
}
.event-row__cta { display: inline-flex; align-items: center; gap: 4px; }
.event-row__chevron svg { flex-shrink: 0; transition: transform 0.2s ease, color 0.2s ease; }
.event-row:hover .event-row__chevron { color: var(--accent); }
.event-row:hover .event-row__chevron svg { transform: translateX(3px); }
.event-meta { color: var(--gray-500); font-size: 0.9rem; }

.event-meta--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-meta--clamp.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.event-more {
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.event-more:hover { text-decoration: underline; }

/* --- Transfer info box --- */
.transfer-box {
  background: var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 28px;
}

.transfer-box h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.transfer-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.98rem;
}

.transfer-row:last-child { border-bottom: none; }
.transfer-row span:first-child { color: var(--gray-500); }
.transfer-row span:last-child { font-weight: 600; color: var(--gray-900); font-family: var(--font-body); }

/* --- Long-form story page --- */
.story {
  padding: var(--section-padding);
}

.story p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.story__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 56px;
  margin-bottom: 24px;
  color: var(--dark);
}

.story__heading:first-child { margin-top: 0; }

.story__pull {
  font-size: 1.25rem !important;
  line-height: 1.5 !important;
  color: var(--dark) !important;
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 20px;
  margin: 16px 0 24px !important;
}

.story__quote {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--accent);
  text-align: center;
  padding: 48px 24px;
  margin: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  text-wrap: balance;
}

.story__figure {
  margin: 40px 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--gray-100);
}

.story__figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 560px;
  object-fit: cover;
}

.story__figure--wide {
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-radius: 16px;
}

.story__figure--wide img { max-height: 620px; }

.story__figure figcaption {
  padding: 14px 20px;
  background: var(--gray-100);
  font-size: 0.92rem;
  color: var(--gray-500);
  font-style: italic;
  text-align: center;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: var(--transition);
}

.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  right: 24px;
  font-size: 4rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}

.testimonial__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.testimonial:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }

.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-900);
  font-style: italic;
  flex: 1;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.testimonial figcaption strong {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}

.testimonial figcaption span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Wish types breakdown --- */
.wish-breakdown {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 64px;
  align-items: center;
}

.wish-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wish-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wish-item__dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 8px;
}

.wish-item__body { flex: 1; }

.wish-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.wish-item__head h4 {
  font-size: 1.05rem;
  color: var(--dark);
  margin: 0;
}

.wish-item__pct {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  white-space: nowrap;
}

.wish-item p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.wish-chart {
  display: flex;
  justify-content: center;
  align-items: center;
}

.wish-chart__donut {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.wish-chart__center {
  position: absolute;
  inset: 22%;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--gray-200);
}

.wish-chart__total {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.wish-chart__year {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 6px;
}

/* --- Transparency grid (impact.html) --- */
.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

/* --- Sponsor benefits grid (commanditaires.html) --- */
.sponsor-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Section divider (discrete centered line) --- */
.section-divider {
  display: block;
  height: 1px;
  width: min(800px, 80%);
  max-width: calc(100% - 48px);
  margin: 0 auto;
  background: var(--gray-200);
  border: none;
}

/* --- Sponsor logos strip --- */
.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sponsor-logo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.sponsor-logo-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }

.sponsor-logo-card--clickable {
  appearance: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
  width: 100%;
}

.sponsor-logo-card img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* --- Commandites tiers --- */
.commandite-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.commandite-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.commandite-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.commandite-principal {
  background: linear-gradient(160deg, #FFFDF7 0%, #FFF4D9 100%);
  border: 2px solid var(--accent);
  box-shadow: 0 16px 40px rgba(232,168,56,0.15);
}

.commandite-head {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.commandite-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.commandite-principal .commandite-icon {
  background: var(--accent);
  color: var(--white);
}

.commandite-head h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.commandite-price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
}

.commandite-benefits {
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.commandite-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--gray-900);
  line-height: 1.5;
}

.commandite-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.commandite-obj {
  font-style: italic;
  color: var(--gray-500);
  font-size: 0.9rem;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-200);
}

.transparence-box {
  background: var(--gray-100);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px 28px;
  max-width: 900px;
  margin: 0 auto;
}

.transparence-box h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.transparence-box p {
  color: var(--gray-700);
  font-size: 0.98rem;
}

/* --- Impact --- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}

.impact-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.impact-stat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.impact-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.impact-stat p {
  font-size: 0.98rem;
  color: var(--gray-700);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #8B4513 0%, #1A0E05 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232,168,56,0.1);
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.15rem; margin-bottom: 40px; }
.cta-banner .btn-lg { padding: 16px 36px; font-size: 1rem; }

/* --- About Page --- */
.page-hero {
  padding: 180px 0 80px;
  background: linear-gradient(165deg, #1A0E05 0%, #6B3410 100%);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.15rem; text-wrap: balance; }

.page-hero.page-hero--banner {
  background: linear-gradient(165deg, #1A0E05 0%, #6B3410 100%);
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero.page-hero--banner .section-label { color: var(--accent); }
.page-hero.page-hero--banner h1 { color: var(--white); }
.page-hero.page-hero--banner p { color: rgba(255,255,255,0.7); }

.page-hero__banner {
  max-width: 760px;
  margin: 0 auto 48px;
  height: clamp(240px, 36vw, 420px);
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  border-radius: 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.about-content:has(.slider) {
  align-items: center;
}

.about-image {
  position: relative;
  min-height: 450px;
  border-radius: 16px;
  background: linear-gradient(135deg, #C0652A, #8B4513);
  overflow: hidden;
  color: rgba(255,255,255,0.3);
  font-size: 1rem;
}
.about-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-image > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Slider --- */
.about-image.slider {
  aspect-ratio: 2 / 3;
  min-height: 0;
  align-self: center;
  width: 100%;
  max-height: 720px;
}

.slider .slider-track {
  position: absolute;
  inset: 0;
}
.slider .slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slider .slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26,14,5,0.55);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 3;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(26,14,5,0.85); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(232,168,56,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

.value-item h4 { font-size: 1rem; margin-bottom: 4px; }
.value-item p { font-size: 0.85rem; }

/* --- Timeline --- */
.timeline { position: relative; max-width: 700px; margin: 0 auto; }

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding: 0 0 48px;
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  margin: 4px auto 0;
  box-shadow: 0 0 0 4px rgba(232,168,56,0.2);
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
}

.timeline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 4px;
}

.timeline-item:nth-child(odd) .timeline-date { text-align: right; padding-right: 20px; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 3; }

.timeline-item:nth-child(even) .timeline-date { grid-column: 3; padding-left: 20px; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-dot { grid-column: 2; grid-row: 1; }

.timeline-content h4 { font-size: 1rem; margin-bottom: 6px; }
.timeline-content p { font-size: 0.85rem; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding: 60px 0 30px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 0.9rem; color: rgba(255,255,255,0.5); }
.footer ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; padding: 120px 0 60px; }
  .hero-text { text-align: center; }
  .hero-text p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  .commandite-tiers { grid-template-columns: 1fr; }
  .wish-breakdown { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .sponsor-logos { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { transition: none; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26,14,5,0.98);
    padding: 24px;
    gap: 20px;
  }
  .navbar:has(.nav-links.active) {
    background: rgba(26, 14, 5, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
  }
  .navbar--dark-text:has(.nav-links.active) .nav-toggle span { background: var(--white); }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 70px; }
  .nav-logo img { height: 72px; }
  .hero { align-items: flex-start; }
  .hero-content { padding: 40px 0 24px; gap: 12px; }
  .hero-text h1 { margin-bottom: 12px; font-size: clamp(1.75rem, 6.5vw, 2rem); width: 100% !important; text-align: center; }
  .hero-text .section-label { margin-bottom: 6px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .sponsors-grid { grid-template-columns: 1fr; }
  .transparency-grid { grid-template-columns: 1fr; }
  .sponsor-benefits-grid { grid-template-columns: 1fr; }
  .member-modal__panel { grid-template-columns: 1fr; grid-template-rows: 280px minmax(0, 1fr); max-height: calc(100vh - 32px); }
  .member-modal__panel--event { grid-template-rows: minmax(0, 1fr); max-height: 85vh; }
  .member-modal__media { height: 280px; min-height: 0; }
  .member-modal__body { padding: 28px 24px; overflow-y: auto; min-height: 0; }
  .tier-grid, .tier-grid-sm { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .podium { grid-template-columns: 1fr; gap: 16px; max-width: 360px; }
  .podium-1 { transform: none; order: -1; }
  .form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .events-table { min-width: 0; }
  .events-table thead { display: none; }
  .events-table, .events-table tbody, .events-table tr, .events-table td { display: block; width: 100%; }
  .events-table tr { padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
  .events-table td { padding: 6px 0; border: none; }
  .events-table tr.event-row { display: flex; flex-direction: column; }
  .event-row > .event-cell { order: 1; }
  .event-row > td:first-child { order: 2; }
  .event-row > .event-row__chevron { order: 3; }
  .events-table td.event-row__chevron {
    display: block;
    padding: 0;
    margin-top: 14px;
    text-align: left;
    color: var(--dark);
  }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .timeline-item { grid-template-columns: 20px 1fr; }
  .timeline::before { left: 10px; }
  .timeline-dot { grid-column: 1; margin: 4px 0 0; }
  .timeline-content { grid-column: 2 !important; grid-row: auto !important; }
  .timeline-date { grid-column: 2 !important; grid-row: auto !important; padding-left: 0 !important; padding-right: 0 !important; text-align: left !important; margin-bottom: 8px; }
  .timeline-item:nth-child(even) .timeline-dot { grid-column: 1; grid-row: auto; }
}

/* --- Footer share button --- */
.footer-share {
  margin-top: auto;
  padding-top: 24px;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent);
  color: var(--dark);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.28);
  font-family: inherit;
}
.btn-share:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 168, 56, 0.4);
}
.btn-share:active { transform: translateY(0); }
.btn-share svg { flex-shrink: 0; }

.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--white);
  color: var(--dark);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}
.share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.share-toast.share-toast--error {
  background: #b3261e;
}
