/* ================================================
   CMR - Communauté Missionnaire du Réveil
   Site Web Officiel - Design System Moderne & Impactant
   ================================================ */

/* ---- CSS Variables & Design Tokens ---- */
:root {
  /* Palette Principale */
  --bordeaux: #7a1c36;
  --bordeaux-deep: #561225;
  --bordeaux-light: #9b2549;
  --bordeaux-vibrant: #ba325a;
  
  /* Rose & Tons Chauds */
  --rose: #f1b6a4;
  --rose-vibrant: #f49b82;
  --rose-light: #fbeae6;
  --rose-pale: #fff6f3;
  --bg-porcelain: #faf5f3;
  
  /* Or / Ambre Luxueux */
  --or: #d4a017;
  --or-bright: #f5b922;
  --or-light: #ffe699;
  --or-gradient: linear-gradient(135deg, #d48806 0%, #f5ba38 50%, #e6a117 100%);
  
  /* Gradients Riches */
  --gradient-bordeaux: linear-gradient(135deg, #5c1427 0%, #7d1e39 50%, #9e284c 100%);
  --gradient-hero: linear-gradient(140deg, #4f1323 0%, #6f1b33 35%, #922445 70%, #b43058 100%);
  --gradient-rose: linear-gradient(135deg, #fff0ec 0%, #fae2dc 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #fdf9f8 100%);
  --gradient-gold-badge: linear-gradient(135deg, #f5ba38 0%, #e6a117 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);

  /* Neutres & Textes (Contraste Élevé Garanti) */
  --blanc: #ffffff;
  --text-dark: #241c1e;        /* Texte principal très lisible */
  --text-body: #3d3235;        /* Texte paragraphes net */
  --text-muted: #6b5c60;       /* Texte secondaire lisible */
  --text-light: #8f7f83;
  --border-light: rgba(100, 21, 43, 0.1);
  --border-card: rgba(100, 21, 43, 0.08);

  /* Ombres Modernes & Glow */
  --shadow-xs: 0 2px 4px rgba(67, 12, 27, 0.04);
  --shadow-sm: 0 4px 12px rgba(67, 12, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(67, 12, 27, 0.09);
  --shadow-lg: 0 16px 36px rgba(67, 12, 27, 0.14);
  --shadow-glow-or: 0 4px 20px rgba(245, 185, 34, 0.35);
  --shadow-glow-bordeaux: 0 6px 24px rgba(100, 21, 43, 0.3);

  /* Rayons & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typographie Moderne */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --navbar-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-porcelain);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul, ol { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--bordeaux);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-body);
  font-size: 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Material Symbols (Font Icons) ---- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 450, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1, 'wght' 450, 'GRAD' 0, 'opsz' 24;
}

.icon-sm { font-size: 20px; }
.icon-md { font-size: 28px; }
.icon-lg { font-size: 40px; }
.icon-xl { font-size: 56px; }

/* ================================================
   NAVBAR MODERNE (Fond blanc rosé permanent)
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0 !important;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(67, 12, 27, 0.08) !important;
  border-bottom: 2px solid var(--rose-light) !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(67, 12, 27, 0.08) !important;
  border-bottom: 2px solid var(--rose-light) !important;
  padding: 0.75rem 0 !important;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  object-fit: contain;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.nav-logo:hover .logo-img {
  transform: scale(1.08) rotate(3deg);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--bordeaux);
  line-height: 1;
  letter-spacing: 0.5px;
}

.logo-subtext {
  font-size: 0.68rem;
  color: var(--bordeaux-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* Couleurs du logo en navbar défilée (scrolled) */
.navbar.scrolled .logo-text {
  color: var(--bordeaux);
  text-shadow: none;
}

.navbar.scrolled .logo-subtext {
  color: var(--bordeaux-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.55rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bordeaux);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  background: var(--rose-light);
  color: var(--bordeaux-deep);
}

.nav-link.active {
  background: var(--gradient-bordeaux);
  color: var(--blanc) !important;
  box-shadow: var(--shadow-sm);
}

/* Couleurs des liens en mode scrolled (fond blanc) */
.navbar.scrolled .nav-link {
  color: var(--bordeaux);
}

.navbar.scrolled .nav-link:hover {
  background: var(--rose-light);
  color: var(--bordeaux-deep);
}

.navbar.scrolled .nav-link.active {
  background: var(--gradient-bordeaux);
  color: var(--blanc) !important;
  box-shadow: var(--shadow-sm);
}

/* Dropdown Navigation */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle { cursor: pointer; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--blanc);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  border: 1px solid var(--border-light);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  width: 100%;
  border-radius: var(--radius-sm);
  color: var(--text-dark) !important;
  font-size: 0.92rem;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-dropdown-menu .nav-link:hover {
  background: var(--rose-light) !important;
  color: var(--bordeaux) !important;
  transform: translateX(4px);
}

.nav-dropdown-menu .nav-link .material-symbols-outlined {
  color: var(--or);
  font-size: 22px;
}

/* Hamburger mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bordeaux);
  font-size: 1.7rem;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle {
  color: var(--bordeaux);
}

/* ================================================
   HERO SECTION IMPACTANTE
   ================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: calc(var(--navbar-height) + 3rem) 2rem 6.5rem;
  color: var(--blanc);
}

/* Arrière-plan décoratif à gradients subtils */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(244, 155, 130, 0.25) 0%, rgba(100, 21, 43, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
  animation: pulseGlow 9s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.18) 0%, rgba(100, 21, 43, 0) 70%);
  border-radius: var(--radius-full);
  pointer-events: none;
  animation: pulseGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
}


/* Arrière-plan vidéo du Hero (Entraide & Partage) */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.38;
  filter: saturate(1.2) contrast(1.05);
  transition: opacity 1s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    140deg,
    rgba(77, 18, 34, 0.86) 0%,
    rgba(110, 25, 50, 0.80) 35%,
    rgba(143, 34, 67, 0.76) 70%,
    rgba(178, 45, 86, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 1.6rem;
  border-radius: var(--radius-full);
  color: var(--or-light);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--blanc);
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.25rem;
  font-weight: 400;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-devise {
  font-size: 1.3rem;
  color: var(--or-bright);
  font-style: italic;
  margin-bottom: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Bloc d'événement prochain Mardi Solidaire - Glassmorphism haute visibilité */
.hero-next-event {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--blanc);
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}

.hero-next-event .event-icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--or-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux-deep);
  flex-shrink: 0;
  box-shadow: var(--shadow-glow-or);
}

.hero-next-event .event-icon-wrapper .material-symbols-outlined {
  font-size: 30px;
}

.hero-next-event .event-label {
  font-size: 0.85rem;
  color: var(--or-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  display: block;
}

.hero-next-event .event-date {
  color: var(--blanc);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  text-transform: capitalize;
}

/* Vague séparatrice hero */
.wave-separator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* ================================================
   BOUTONS IMPACTANTS & MODERNES
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: normal; /* Retour à la ligne automatique si le texte est long */
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.btn span {
  display: inline-block;
  max-width: 100%;
}

.btn .material-symbols-outlined {
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(-1px);
}

/* Bouton Or / Gradient (Principal) */
.btn-or {
  background: var(--or-gradient);
  color: #2b1300 !important;
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glow-or);
}

.btn-or:hover {
  background: linear-gradient(135deg, #f5ba38 0%, #ffcf55 100%);
  color: #1e0d00 !important;
  box-shadow: 0 6px 25px rgba(245, 185, 34, 0.55);
}

/* Bouton Bordeaux (Secondaire / Formulaires) */
.btn-primary, .btn-bordeaux {
  background: var(--gradient-bordeaux);
  color: var(--blanc) !important;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-glow-bordeaux);
}

.btn-primary:hover, .btn-bordeaux:hover {
  background: linear-gradient(135deg, #581024 0%, #7d1835 50%, #9e2346 100%);
  box-shadow: 0 8px 28px rgba(100, 21, 43, 0.45);
}

/* Bouton Secondaire (Hero bordé blanc) */
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--blanc) !important;
  border: 2px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: var(--blanc);
  color: var(--bordeaux) !important;
  border-color: var(--blanc);
}

/* Bouton Outline Bordeaux (pour fonds clairs) */
.btn-outline {
  background: transparent;
  color: var(--bordeaux) !important;
  border: 2px solid var(--bordeaux);
}

.btn-outline:hover {
  background: var(--bordeaux);
  color: var(--blanc) !important;
}

.btn-rose {
  background: var(--rose-light);
  color: var(--bordeaux) !important;
  border-color: var(--rose);
}

.btn-rose:hover {
  background: var(--rose);
  color: var(--bordeaux-deep) !important;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
  display: inline-flex;
  max-width: 100%;
  box-sizing: border-box;
}

/* ================================================
   SECTIONS & STRUCTURE
   ================================================ */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-cream { background: var(--bg-porcelain); }
.section-white { background: var(--blanc); }
.section-rose { background: var(--gradient-rose); }
.section-bordeaux {
  background: var(--gradient-bordeaux);
  color: var(--blanc);
}

.section-bordeaux h2, 
.section-bordeaux h3, 
.section-bordeaux h4 {
  color: var(--blanc);
}

.section-bordeaux p {
  color: rgba(255, 255, 255, 0.88);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 65px;
  height: 4px;
  background: var(--or-gradient);
  margin: 0.8rem auto 0;
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.section-bordeaux .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ================================================
   CARTES MODERNES (Glassmorphism & Lifts)
   ================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(100, 21, 43, 0.2);
}

.card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--gradient-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: var(--bordeaux);
  box-shadow: 0 4px 14px rgba(244, 155, 130, 0.3);
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--gradient-bordeaux);
  color: var(--blanc);
  transform: scale(1.08);
}

.card-icon .material-symbols-outlined { font-size: 34px; }

.card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================================================
   PAGE HEADERS (Pages Internes)
   ================================================ */
.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--navbar-height) + 3.5rem) 0 3.5rem;
  text-align: center;
  position: relative;
  color: var(--blanc);
  border-bottom: 3px solid var(--or);
}

.page-header h1 {
  color: var(--blanc) !important;
  font-size: 2.75rem;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--or-bright) !important;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.95);
}

/* ================================================
   COMPTEURS ANIMÉS (Key Figures)
   ================================================ */
.counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.counter-item {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.counter-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.14);
}

.counter-item .material-symbols-outlined {
  font-size: 44px;
  color: var(--or-bright);
  margin-bottom: 1rem;
  display: block;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--blanc);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.counter-label {
  font-size: 1.1rem;
  color: var(--rose-light);
  font-weight: 600;
}

/* ================================================
   FORMULAIRES MODERNES & ACCESSIBLES
   ================================================ */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--blanc);
  padding: 3.2rem 2.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bordeaux);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #d9383a;
  font-weight: 800;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  border: 2px solid #e8dbdf;
  border-radius: var(--radius-sm);
  background: #fdfbfb;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 4px rgba(100, 21, 43, 0.12);
  background: var(--blanc);
}

.form-control::placeholder {
  color: #a39498;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2364152b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.8rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  cursor: pointer;
  font-size: 1rem;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 22px;
  height: 22px;
  accent-color: var(--bordeaux);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

.form-control.valid {
  border-color: #27ae60;
  background-color: #f6fbf8;
}

.form-control.invalid {
  border-color: #e74c3c;
  background-color: #fdf6f6;
}

.form-error {
  font-size: 0.85rem;
  color: #d9383a;
  margin-top: 0.35rem;
  display: none;
  font-weight: 600;
}

.form-control.invalid + .form-error,
.form-control.invalid ~ .form-error {
  display: block;
}

/* ================================================
   PAGE DONS : SÉLECTION MONTANT & PAIEMENT
   ================================================ */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.amount-option {
  padding: 1.2rem 0.5rem;
  text-align: center;
  border: 2px solid #e0d0d4;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--bordeaux);
  background: var(--blanc);
  box-shadow: var(--shadow-xs);
  user-select: none;
}

.amount-option:hover {
  border-color: var(--bordeaux);
  background: var(--rose-light);
  transform: translateY(-2px);
}

.amount-option.selected {
  border-color: var(--bordeaux);
  background: var(--gradient-bordeaux) !important;
  color: var(--blanc) !important;
  box-shadow: var(--shadow-glow-bordeaux);
  transform: translateY(-2px);
}

/* Cartes de paiement */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.payment-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid #ecdde1;
  overflow: hidden;
  transition: var(--transition);
}

.payment-card:hover {
  border-color: var(--bordeaux);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.payment-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.8rem;
  background: var(--gradient-rose);
  border-bottom: 2px solid rgba(100, 21, 43, 0.08);
}

.payment-card-header .material-symbols-outlined {
  font-size: 32px;
  color: var(--bordeaux);
}

.payment-card-header h3 {
  font-size: 1.3rem;
  color: var(--bordeaux);
  margin: 0;
}

.payment-card-body {
  padding: 2rem 1.8rem;
}

.iban-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--rose-light);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  margin: 1.2rem 0;
  border: 1px dashed var(--bordeaux);
  flex-wrap: wrap;
}

.iban-display code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bordeaux-deep);
  flex: 1;
  word-break: break-all;
}

/* ================================================
   INFO-BOXES & BADGES HAUTE LISIBILITÉ
   ================================================ */
.info-box {
  background: linear-gradient(135deg, #fff7f4 0%, #feece7 100%);
  border-left: 5px solid var(--bordeaux);
  padding: 1.4rem 1.8rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-xs);
  color: var(--text-dark);
}

.info-box h3, .info-box h4 {
  color: var(--bordeaux);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info-box.info-or {
  border-left-color: var(--or);
  background: linear-gradient(135deg, #fffdf2 0%, #fff6d9 100%);
}

.info-box.info-or h4, .info-box.info-or h3 {
  color: #614400;
}

.info-box.info-or p {
  color: #3b2a00;
}

/* ================================================
   SECTION QR CODE BÉNÉFICIAIRE
   ================================================ */
.qr-container {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--blanc);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 2.5rem auto;
  border: 3px solid var(--rose);
}

.qr-container h3 {
  color: var(--bordeaux);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.qr-code-wrapper {
  display: inline-block;
  padding: 1.5rem;
  background: var(--blanc);
  border: 4px solid var(--bordeaux);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.qr-id {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bordeaux);
  background: var(--rose-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 1.2rem;
}

.qr-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   GALERIE PHOTOS & LIGHTBOX
   ================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--rose-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(67, 12, 27, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover::after { opacity: 1; }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem;
  color: var(--blanc);
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 2;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 3, 7, 0.94);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--blanc);
  font-size: 2.2rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--or);
  color: var(--bordeaux-deep);
}

/* ================================================
   CALENDRIER DYNAMIQUE DES DISTRIBUTIONS
   ================================================ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.mini-calendar-month-card {
  background: var(--blanc);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(67, 12, 27, 0.08);
  border: 2px solid #eedad6;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-calendar-month-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(67, 12, 27, 0.14);
}

.mini-calendar-month-card.next {
  border: 2.5px solid var(--or-bright);
  box-shadow: 0 10px 32px rgba(212, 160, 23, 0.28);
}

.mini-calendar-header {
  padding: 1.4rem 1.2rem;
  background: linear-gradient(135deg, #6e1b33 0%, #922445 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
}

.mini-calendar-month-card.next .mini-calendar-header {
  background: linear-gradient(135deg, #d4a017 0%, #f5b922 100%);
  color: #241100;
}

.mini-calendar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
}

.mini-cal-badge-future {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mini-cal-badge-next {
  background: #241100 !important;
  color: #ffffff !important;
}

.mini-cal-badge-past {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

.mini-calendar-title,
h3.mini-calendar-title,
.mini-calendar-header h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0.35rem 0 0.45rem;
  text-transform: capitalize;
  font-family: var(--font-heading);
  line-height: 1.2;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.mini-calendar-month-card.next .mini-calendar-title,
.mini-calendar-month-card.next h3.mini-calendar-title,
.mini-calendar-month-card.next .mini-calendar-header h3 {
  color: #241100 !important;
  text-shadow: none;
}

.mini-calendar-event-highlight {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 8px;
  color: #ffffff !important;
}

.mini-calendar-month-card.next .mini-calendar-event-highlight {
  background: rgba(36, 17, 0, 0.12);
  color: #1e0d00 !important;
}

/* Grille du mois */
.mini-calendar-grid-wrap {
  padding: 1.2rem;
  background: #fffdfa;
  border-bottom: 1px solid #eedad6;
}

.mini-cal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.mini-cal-th {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  padding: 4px 0 8px;
}

.mini-cal-td {
  font-size: 0.85rem;
  padding: 4px 0;
  color: #334155;
  height: 32px;
  width: 14.28%;
  font-weight: 600;
}

.mini-cal-day-empty {
  background: transparent;
}

.mini-cal-day-event {
  background: var(--or-gradient);
  color: #1e0d00 !important;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(212, 160, 23, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.mini-cal-day-today {
  border: 1.5px solid var(--bordeaux);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

/* Liste des détails pratiques */
.mini-calendar-info-list {
  padding: 1.2rem;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.mini-calendar-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.mini-calendar-info-row .material-symbols-outlined {
  color: var(--bordeaux);
  font-size: 19px;
  flex-shrink: 0;
}

.mini-calendar-month-card.next .mini-calendar-info-row .material-symbols-outlined {
  color: #b45309;
}

/* ================================================
   FAQ / ACCORDÉON
   ================================================ */
.accordion {
  max-width: 820px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--blanc);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: rgba(100, 21, 43, 0.25);
}

.accordion-header {
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--bordeaux);
  font-size: 1.05rem;
  transition: var(--transition-fast);
  gap: 1rem;
}

.accordion-header:hover {
  background: var(--rose-light);
}

.accordion-header .material-symbols-outlined {
  transition: transform 0.3s ease;
  color: var(--or);
  font-size: 26px;
  flex-shrink: 0;
}

.accordion-item.active .accordion-header {
  background: var(--gradient-rose);
}

.accordion-item.active .accordion-header .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--bordeaux);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.8;
}

/* ================================================
   TÉMOIGNAGES & SLIDER
   ================================================ */
.testimonials-slider {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 2.5rem;
  line-height: 1.7;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 4.5rem;
  color: var(--rose-vibrant);
  position: absolute;
  top: -1.5rem;
  left: 0;
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.testimonial-author {
  font-weight: 800;
  color: var(--bordeaux);
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: var(--rose);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--bordeaux);
  width: 32px;
}

/* ================================================
   PARTENAIRES MODERNES
   ================================================ */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.partner-card {
  padding: 1.2rem 2.2rem;
  font-weight: 700;
  color: var(--bordeaux);
  background: var(--blanc);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-card:hover {
  background: var(--gradient-rose);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--rose-vibrant);
}

/* ================================================
   NEWSLETTER & FOOTER RICHE
   ================================================ */
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 520px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  flex: 1;
  background: var(--blanc);
  border: 2px solid transparent;
}

.footer {
  background: linear-gradient(180deg, #4f1323 0%, #380b18 100%);
  color: var(--blanc);
  padding: 5rem 0 0;
  border-top: 4px solid var(--or);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: var(--or-bright);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--or-bright);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-contact-item .material-symbols-outlined {
  color: var(--or-bright);
  font-size: 22px;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item a:hover {
  color: var(--or-bright);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--or-gradient);
  color: var(--bordeaux-deep);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 1.8rem 0;
  text-align: center;
}

.footer-devise {
  font-style: italic;
  color: var(--or-bright);
  font-size: 1.15rem;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 0;
}

.footer-copy a {
  color: var(--or-bright);
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ================================================
   TOAST & NOTIFICATIONS
   ================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--gradient-bordeaux);
  color: var(--blanc);
  padding: 1.1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3000;
  transform: translateY(120%);
  transition: var(--transition);
  max-width: 420px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast.show { transform: translateY(0); }
.toast.success { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); }
.toast.error { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); }

/* ================================================
   CARTE GOOGLE MAPS
   ================================================ */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 420px;
  border: 2px solid var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31, 4, 11, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--blanc);
  padding: 1.3rem 2rem;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show { display: flex; }

.cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.cookie-banner a {
  color: var(--or-bright);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ================================================
   CLASSES UTILITAIRES DE COULEUR & TEXTE
   ================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--blanc) !important; }
.text-bordeaux { color: var(--bordeaux) !important; }
.text-or { color: var(--or) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-dark { color: var(--text-dark) !important; }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.8rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.8rem; }

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Boutons fluides avec retour à la ligne garanti sur tablette et mobile */
  .btn {
    white-space: normal !important;
    padding: 0.8rem 1.25rem !important;
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .btn-lg {
    padding: 0.85rem 1.4rem !important;
    font-size: 1.02rem !important;
  }

  .btn-block {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.9rem !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
  html { font-size: 15px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1.15rem; }
  .hero { padding-top: calc(var(--navbar-height) + 1.5rem); }

  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: var(--blanc);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.8rem 2rem;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    transition: right 0.35s ease;
    gap: 0.4rem;
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    padding: 0.85rem 1.2rem;
    color: var(--bordeaux) !important;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--rose-light) !important;
    color: var(--bordeaux-deep) !important;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: var(--rose-light);
    margin: 0.3rem 0 0.8rem;
    border-radius: var(--radius-sm);
    border: none;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 5, 12, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
  }

  .nav-overlay.active { display: block; }

  .section { padding: 3.5rem 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-container { padding: 2rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .hero-next-event { flex-direction: column; text-align: center; }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Ajustement optimal pour les écrans de smartphone compacts */
  .btn {
    white-space: normal !important;
    padding: 0.75rem 1.05rem !important;
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
    border-radius: 999px !important;
    gap: 6px !important;
  }

  .btn-lg {
    padding: 0.8rem 1.15rem !important;
    font-size: 0.95rem !important;
  }

  .btn .material-symbols-outlined {
    font-size: 20px !important;
  }
  .container { padding: 0 1.2rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .newsletter-form { flex-direction: column; }
  .qr-actions { flex-direction: column; }
  .counters { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   SLIDER PHOTOS ACTIVITÉS (AUTO-SLIDER)
   ================================================ */
.photo-slider-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.photo-slider-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(67, 12, 27, 0.16);
  border: 3px solid var(--border-light);
  background: #140307;
}

.photo-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.photo-slide-item {
  min-width: 100%;
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
}

@media (max-width: 768px) {
  .photo-slide-item {
    height: 390px;
  }
}

@media (max-width: 480px) {
  .photo-slide-item {
    height: 310px;
  }
}

.photo-slide-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.35);
  transform: scale(1.15);
  z-index: 1;
}

.photo-slide-img {
  position: relative;
  z-index: 2;
  max-width: 96%;
  max-height: 84%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.photo-slide-item:hover .photo-slide-img {
  transform: scale(1.02);
}

.photo-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1.2rem 2rem 1.8rem;
  background: linear-gradient(to top, rgba(20, 3, 7, 0.95) 0%, rgba(20, 3, 7, 0.72) 65%, transparent 100%);
  color: #ffffff;
  text-align: center;
}

.photo-slide-caption h3 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  color: var(--or-bright);
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.photo-slide-caption p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Boutons précédent / suivant */
.photo-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--or-bright);
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.photo-slider-btn:hover {
  background: var(--or-gradient);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 136, 6, 0.4);
}

.photo-slider-btn.prev {
  left: 18px;
}

.photo-slider-btn.next {
  right: 18px;
}

@media (max-width: 576px) {
  .photo-slider-btn {
    width: 38px;
    height: 38px;
  }
  .photo-slider-btn.prev { left: 8px; }
  .photo-slider-btn.next { right: 8px; }
}

/* Badge Compteur */
.photo-slider-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(20, 3, 7, 0.8);
  backdrop-filter: blur(8px);
  color: var(--or-bright);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(245, 186, 56, 0.4);
}

/* Pagination Dots */
.photo-slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.photo-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8c2bb;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-slider-dot.active {
  width: 30px;
  border-radius: 8px;
  background: var(--or-gradient);
  border-color: var(--or-bright);
  box-shadow: 0 2px 8px rgba(212, 136, 6, 0.35);
}

