/* Identité visuelle Téléthon Amboise 2026 */
:root {
  --telethon-blue: #163274;
  --telethon-light-blue: #2753b8;
  --telethon-yellow: #ffde17;
  --telethon-dark: #111b36;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--telethon-dark);
  background-image: linear-gradient(135deg, rgba(17, 27, 54, 0.84) 0%, rgba(22, 50, 116, 0.78) 100%), url('images/fond-telethon-amboise.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.font-handwriting {
  font-family: 'Caveat', cursive;
  font-size: 1.9rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Barre de navigation */
.navbar {
  background-color: rgba(17, 27, 54, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
  color: #ffffff !important;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--telethon-yellow) !important;
}

/* Pastille jaune style affiche */
.badge-telethon {
  background-color: var(--telethon-yellow);
  color: var(--telethon-dark);
  font-weight: 800;
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* Boutons principaux */
.btn-telethon {
  background-color: var(--telethon-yellow);
  color: var(--telethon-dark);
  font-weight: 800;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-telethon:hover {
  background-color: #ffe64d;
  color: var(--telethon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 222, 23, 0.45);
}

/* Cartes des associations */
.asso-card {
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--telethon-dark);
  border-radius: 20px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.asso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.asso-logo-wrapper {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-bottom: 2px solid #f0f2f5;
}

.asso-logo-wrapper img {
  max-height: 85px;
  max-width: 100%;
  object-fit: contain;
}

/* Gestion des sections Cover */
.page-section {
  display: none;
  flex: 1;
  padding: 3rem 0;
}

.page-section.active-section {
  display: flex;
  align-items: center;
}

/* Carte de don Stripe */
.donation-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--telethon-dark);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.amount-btn {
  border: 2px solid var(--telethon-blue);
  color: var(--telethon-blue);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.8rem;
  transition: all 0.2s;
}

.amount-btn.selected, .amount-btn:hover {
  background-color: var(--telethon-blue);
  color: #ffffff;
}

footer {
  background-color: rgba(17, 27, 54, 0.95);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
