/* ── VARIABLES ── */
:root {
  --green:  #1a8c2e;
  --red:    #c0391b;
  --yellow: #f5c800;
  --dark:   #2b2b2b;
  --light:  #faf8f3;
  --cream:  #f0ece0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 3rem;
}
.nav-logo img { height: 50px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(26,140,46,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(245,200,0,0.09) 0%, transparent 70%);
}
.hero-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--green) 33%, var(--red) 33% 66%, var(--yellow) 66%);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  padding: 2rem;
  animation: fadeUp 0.9s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content img {
  width: min(720px, 80vw);
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--red);
}
.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ── BOUTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary { background: var(--green); color: #fff; }
.btn-outline  { background: transparent; color: var(--red); border: 2px solid var(--red); margin-left: 1rem; }

/* ── SECTION COMMONS ── */
section { padding: 6rem 2rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.section-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  max-width: 620px;
}
.container { max-width: 1100px; margin: 0 auto; }

/* ── À PROPOS ── */
#about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, var(--green), var(--yellow));
}
.about-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.about-card cite {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.1em;
}
.stat-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}
.stat {
  text-align: center;
  flex: 1;
  background: var(--light);
  border-radius: 12px;
  padding: 1.5rem 1rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── ACTIVITÉS ── */
#activities {
  background: var(--dark);
  color: #fff;
}
#activities .section-title { color: #fff; }
#activities .section-lead  { color: rgba(255,255,255,0.65); }
.activities-header { margin-bottom: 3.5rem; }
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.activity-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: background 0.3s, transform 0.3s;
  cursor: default;
}
.activity-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.activity-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.activity-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--yellow);
}
.activity-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
}
.activity-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  background: rgba(26,140,46,0.3);
  color: #6ee87c;
}

/* ── AGENDA ── */
#agenda { background: var(--cream); }
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  transition: box-shadow 0.3s, transform 0.3s;
}
.event-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); transform: translateY(-3px); }
.event-date {
  width: 90px;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: var(--green);
  color: #fff;
}
.event-date .day   { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.3rem; }
.event-info { padding: 1.3rem 1.5rem; }
.event-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.event-info p { font-size: 0.85rem; color: #777; line-height: 1.5; }
.event-info .event-time {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 700;
}

/* ── GALERIE ── */
#galerie { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
  margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; border-radius: 16px; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.4s;
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.05); }
.g1 { background: linear-gradient(135deg, #c8e6c9, #a5d6a7); }
.g2 { background: linear-gradient(135deg, #ffe0b2, #ffcc80); }
.g3 { background: linear-gradient(135deg, #f8bbd0, #f48fb1); }
.g4 { background: linear-gradient(135deg, #fff9c4, #fff176); }
.g5 { background: linear-gradient(135deg, #b3e5fc, #81d4fa); }

/* ── CONTACT ── */
#contact { background: var(--light); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 600px;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.2rem;
}
.contact-item-text p,
.contact-item-text a { font-size: 0.95rem; color: var(--dark); text-decoration: none; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 2.5rem 2rem;
  text-align: center;
}
footer .footer-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--green) 33%, var(--red) 33% 66%, var(--yellow) 66%);
  margin-bottom: 2rem;
  border-radius: 3px;
}
footer p { font-size: 0.85rem; line-height: 1.8; }
footer strong { color: #fff; }
footer a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav { padding: 0.6rem 1.5rem; }
  .nav-links { display: none; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .activities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; }
  .stat-row { flex-direction: column; }
  .btn-outline { margin-left: 0; margin-top: 0.8rem; }
}
@media (max-width: 540px) {
  .activities-grid { grid-template-columns: 1fr; }
}
