/* Variables globales - Thème or professionnel */
:root {
  --primary-gold: #B8860B;
  --light-gold: #F5E6A3;
  --accent-gold: #D4AF37;
  --dark-gold: #996515;
  --cream: #FEFDF8;
  --warm-white: #FFFEF9;
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --shadow-subtle: 0 2px 8px rgba(184, 134, 11, 0.1);
  --shadow-medium: 0 4px 16px rgba(184, 134, 11, 0.15);
  --shadow-strong: 0 8px 32px rgba(184, 134, 11, 0.2);
  --gradient-gold: linear-gradient(135deg, #F5E6A3 0%, #D4AF37 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(44, 44, 44, 0.4), rgba(44, 44, 44, 0.7));
}

/* Option 3: Ou garder vos variables mais forcer le body et les sections principales */
body {
  background-color: #ffffff !important;
  margin: 0;
  padding: 0;
  font-family:Arial, Helvetica, sans-serif;
}

.section-announcements {
  background: #ffffff !important;
}

.section-videos {
  background: #ffffff !important;
}

.section-projects {
  background: #ffffff !important;
}

.section-partners {
  background: #ffffff !important;
}

/* Section Annonces - Design or raffiné */
.section-announcements {
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
  padding: 4rem 0;
  position: relative;
}

.section-announcements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--light-gold) 50%, transparent 100%);
}

.section-announcements .section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-gold);
  font-weight: 600;
  letter-spacing: -0.5px;
  position: relative;
}

.section-announcements .section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.announcement-card {
  display: flex;
  align-items: flex-start;
  background: #edf7ed;
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.announcement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.announcement-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(184, 134, 11, 0.2);
}

.announcement-card:hover::before {
  opacity: 1;
}

.announcement-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-gold), var(--accent-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(184,134,11,0.25);
}

.announcement-icon-wrap i {
  font-size: 1.4rem;
  color: #fff;
}

.announce-details {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.announce-details li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.announce-details li i {
  color: var(--primary-gold);
  width: 16px;
}

.announcement-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.announcement-content h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.announcement-content p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Carte annonce IMAGE (affiche/flyer) ── */
.announcement-card--image {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  align-items: unset;
}

.announcement-card--image .announcement-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 0.4s ease;
}

.announcement-card--image:hover .announcement-poster {
  transform: scale(1.03);
}

.announcement-card--image .announcement-poster-title {
  padding: 0.85rem 1.25rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 3px solid var(--accent-gold, #b88007);
  background: #fff;
  border-radius: 0 0 16px 16px;
}

/* Hero Section - Design élégant */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: -1;
}

.hero-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.05);
}

.hero-background img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  max-width: 1000px;
  text-align: center;
  padding: 2.5rem;
  z-index: 2;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin-bottom: 2.5rem;
  color: var(--text-light);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* Section Vidéos - Design moderne */
.section-videos {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--warm-white), var(--cream));
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-gold);
  letter-spacing: -0.5px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-card {
  background: var(--warm-white);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(184, 134, 11, 0.2);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-content {
  padding: 2rem;
}

.video-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.video-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Section Projets - Design raffiné */
.section-projects {
  padding: 5rem 0;
  background: var(--cream);
  position: relative;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border: 1px solid rgba(184, 134, 11, 0.15);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(184, 134, 11, 0.12);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(184, 134, 11, 0.22);
  border-color: rgba(184, 134, 11, 0.3);
}

/* ── Bande colorée supérieure ── */
.project-card-top {
  height: 10px;
  width: 100%;
  border-radius: 20px 20px 0 0;
}

.project-card-top--encours {
  background: linear-gradient(90deg, #C8960A, #E8C040, #C8960A);
  background-size: 200% 100%;
  animation: shimmerBar 3s ease-in-out infinite;
}

.project-card-top--termine {
  background: linear-gradient(90deg, #4A3010, #7A5C2E, #4A3010);
  background-size: 200% 100%;
  animation: shimmerBar 3s ease-in-out infinite;
}

.project-card-top--planifie {
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold), var(--primary-gold));
  background-size: 200% 100%;
  animation: shimmerBar 3s ease-in-out infinite;
}

@keyframes shimmerBar {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.project-content {
  padding: 2rem 2.5rem 2.5rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.project-status {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.project-status.en-cours {
  background: linear-gradient(135deg, #FDEAAA, #F5D060);
  color: #7A5500;
  border: 1px solid rgba(200, 150, 10, 0.4);
}

.project-status.terminé {
  background: linear-gradient(135deg, #3C2A10, #5A4020);
  color: #F5E6C8;
  border: none;
}

.project-status.planifié {
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-gold));
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
}

.project-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.project-link:hover {
  color: var(--dark-gold);
  transform: translateX(4px);
}

/* Section Partenaires */
.section-partners {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 100%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-card {
  background: var(--warm-white);
  border: 1px solid rgba(184, 134, 11, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(184, 134, 11, 0.2);
}

.partner-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(245, 230, 163, 0.1), rgba(212, 175, 55, 0.1));
  border: 2px solid rgba(184, 134, 11, 0.1);
}

.partner-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.partner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.partner-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.partner-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.partner-link:hover {
  color: var(--dark-gold);
  transform: translateX(4px);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-outline:hover {
  background: var(--primary-gold);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Animations améliorées */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container responsive */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}



/* Media Queries améliorées */
@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .section-announcements,
  .section-videos,
  .section-projects,
  .section-partners {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .video-grid,
  .project-grid,
  .announcements-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .partners-grid {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .partner-logo {
    width: 120px;
    height: 120px;
  }

  .video-card,
  .partner-card,
  .announcement-card {
    padding: 1.5rem;
  }

  .project-content {
    padding: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }

  .hero-content {
    max-width: 1100px;
  }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {

  .hero-background img,
  .video-card,
  .project-card,
  .announcement-card,
  .partner-card {
    transition: none;
  }

  .hero-content {
    animation: none;
  }
}

/* Focus states pour l'accessibilité */
.project-link:focus,
.partner-link:focus,
.btn:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════════
   LOGO HERO
══════════════════════════════════════════════════ */
.hero-logo-wrap {
  margin-bottom: 1.5rem;
  animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  transition: transform 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.05) rotate(3deg);
}

@keyframes logoEntrance {
  from { opacity: 0; transform: scale(0.4) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ══════════════════════════════════════════════════
   HERO ACTIONS (CTA buttons)
══════════════════════════════════════════════════ */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1.2s ease-out 0.6s both;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-gold));
  color: #fff;
  box-shadow: 0 6px 20px rgba(184,134,11,0.45);
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(184,134,11,0.55);
  background: linear-gradient(135deg, #e8c43d, #c9920f);
}

.hero-cta-outline {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  box-shadow: none;
}

.hero-cta-outline:hover {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════════════ */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheelAnim 2s ease infinite;
}

@keyframes scrollWheelAnim {
  0%   { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 24px; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════════════
   VERSE BAND
══════════════════════════════════════════════════ */
.verse-band {
  background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
  padding: 1.2rem 0;
}

.verse-band-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  flex-wrap: wrap;
}

.verse-band-inner i {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.verse-band-inner q {
  color: #fff;
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  quotes: "\00AB" "\00BB";
}

.verse-band-inner cite {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════
   SECTION TITLE ICONS
══════════════════════════════════════════════════ */
.section-title-icon {
  margin-right: 0.5rem;
  opacity: 0.8;
}

/* ══════════════════════════════════════════════════
   VIDEO REF & QUOTE ICON
══════════════════════════════════════════════════ */
.video-ref {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-gold);
  background: var(--light-gold);
  padding: 3px 10px;
  border-radius: 20px;
}

.quote-icon {
  color: var(--accent-gold);
  font-size: 0.8rem;
  margin-right: 0.3rem;
  opacity: 0.7;
}


/* ══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 768px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-logo { width: 100px; height: 100px; }
  .verse-band-inner { flex-direction: column; gap: 0.5rem; }
}