:root {
  --ink: #1e211d;
  --muted: #6c7068;
  --paper: #f7f4ed;
  --paper-2: #eee9dd;
  --gold: #b88b36;
  --gold-light: #d7bb79;
  --green: #183f32;
  --green-2: #245a47;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 27, 22, .13);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, calc(100% - 40px)); margin: auto; }
.section { padding: 100px 0; }
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.section-heading h2 em {
  color: var(--green);
  font-weight: 600;
}
.section-heading.centered { text-align: center; }
.section-heading.centered p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0; left: 0; right: 0;
  background: rgba(24, 63, 50, .94);
  backdrop-filter: blur(12px);
  color: white;
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
  font-size: .78rem;
  letter-spacing: .02em;
}
.brand strong { font-size: .92rem; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  letter-spacing: .05em;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .88rem; }
.nav-links a { opacity: .9; transition: .25s; }
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.6rem;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(9,24,19,.88), rgba(9,24,19,.48)),
    url("https://pbs.twimg.com/media/EydLTUaWQAIy9yu.jpg") center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, var(--paper));
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(184,139,54,.2), transparent 35%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
}
.hero h1 {
  max-width: 820px;
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .9;
  letter-spacing: -.04em;
}
.hero h1 span { color: var(--gold-light); }
.hero-subtitle {
  margin: 22px 0 4px;
  font-size: 1.4rem;
  font-weight: 600;
}
.hero-text { max-width: 640px; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-primary { color: white; background: var(--gold); }
.btn-light { color: var(--green); background: white; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .8;
}
.hero-scroll span { margin-left: 8px; font-size: 1.1rem; }

.intro { background: var(--paper); }
.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: end;
}
.intro-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.03rem;
}
.intro-copy p { margin-top: 0; margin-bottom: 20px; }

.century {
  background:
    linear-gradient(rgba(24,63,50,.95), rgba(24,63,50,.95)),
    url("https://files.cdn-files-a.com/uploads/8177039/800_684d845f4ecca.jpg") center/cover;
  color: white;
}
.century .section-heading h2 span { color: var(--gold-light); }
.century .section-heading.centered p:last-child { color: rgba(255,255,255,.7); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 55px;
}
.timeline-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}
.timeline-card.highlight { background: rgba(184,139,54,.18); border-color: rgba(215,187,121,.45); }
.year {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 700;
}
.timeline-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.timeline-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .9rem; }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 55px;
}
.activity-card {
  min-height: 255px;
  padding: 28px;
  background: white;
  border: 1px solid #e5dfd1;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(31,34,29,.05);
  transition: transform .3s, box-shadow .3s;
}
.activity-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin-bottom: 45px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--gold);
  font-size: 1.4rem;
}
.activity-card h3 { margin: 0 0 8px; font-family: "Cormorant Garamond", serif; font-size: 1.7rem; }
.activity-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.gallery { background: var(--paper-2); }
.slider {
  position: relative;
  overflow: hidden;
  margin-top: 55px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #111;
}
.slides { position: relative; min-height: 610px; }
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide img { height: 610px; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.slide figcaption {
  position: absolute;
  z-index: 2;
  left: 45px; right: 45px; bottom: 45px;
  color: white;
}
.slide figcaption strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.slide figcaption span { display: block; margin-top: 10px; color: rgba(255,255,255,.76); }
.slider-btn {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 50px; height: 50px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.28);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(5px);
}
.prev { left: 20px; }
.next { right: 20px; }
.dots {
  position: absolute;
  z-index: 5;
  bottom: 18px; left: 50%;
  display: flex; gap: 7px;
  transform: translateX(-50%);
}
.dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.dot.active { width: 24px; border-radius: 10px; background: var(--gold-light); }

.quote-section { padding: 30px 0 100px; background: var(--paper-2); }
.quote-box {
  position: relative;
  padding: 70px 8%;
  border-radius: 28px;
  background: var(--green);
  color: white;
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  top: 0; left: 30px;
  color: rgba(215,187,121,.22);
  font-family: Georgia, serif;
  font-size: 13rem;
  line-height: 1;
}
blockquote {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
}
.quote-box p { position: relative; z-index: 1; color: rgba(255,255,255,.65); }

.participate { background: var(--paper); }
.participate-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 60px;
  border: 1px solid #ddd4c3;
  border-radius: 28px;
}
.participate-box h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1; }
.participate-box h2 em { color: var(--green); }
.participate-box > div > p:last-child { max-width: 680px; color: var(--muted); }

.footer { padding: 60px 0 0; background: #102a22; color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 45px; }
.footer-brand { margin-bottom: 20px; }
.footer p { color: rgba(255,255,255,.62); font-size: .82rem; }
.footer-note { text-align: right; }
.sources { font-size: .72rem !important; }
.copyright {
  padding: 17px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
}

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 20px; right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 18px;
    background: var(--green);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .timeline, .activity-grid { grid-template-columns: 1fr 1fr; }
  .slides, .slide img { min-height: 520px; height: 520px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 75px 0; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .timeline, .activity-grid, .footer-grid { grid-template-columns: 1fr; }
  .timeline-card { min-height: 190px; }
  .activity-card { min-height: 220px; }
  .icon { margin-bottom: 30px; }
  .slides, .slide img { min-height: 430px; height: 430px; }
  .slide figcaption { left: 25px; right: 25px; bottom: 35px; }
  .slider-btn { width: 42px; height: 42px; }
  .participate-box { flex-direction: column; align-items: flex-start; padding: 35px 25px; }
  .footer-note { text-align: left; }
}

/* Formulaire d'inscription */
.participate-actions {
  flex-shrink: 0;
}

.btn-formulaire {
  max-width: 340px;
  text-align: center;
}

.registration {
  background: var(--paper-2);
  padding-top: 30px;
}

.registration-box {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 65px;
  padding: 60px;
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.registration-box .section-heading > p:last-child {
  color: var(--muted);
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.registration-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 700;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  border: 1px solid #ddd6c8;
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.registration-form textarea {
  resize: vertical;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,139,54,.12);
}

.registration-form button {
  border: 0;
  cursor: pointer;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .registration-box {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 40px 30px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .registration-box {
    padding: 30px 20px;
  }

  .btn-formulaire {
    width: 100%;
    max-width: none;
  }
}
