/* ============================================
   ASSOCIATION AOTONOMIA - Feuille de style principale
   Style premium inspiré de delta-sierra avec rythme visuel multi-sections
   ============================================ */

/* ---------- VARIABLES GLOBALES ---------- */
:root {
  /* Couleurs principales */
  --vert-profond: #0f1f1a;
  --vert-tres-fonce: #0a1612;
  --vert-fonce: #1a2e26;
  --vert-moyen: #2d5a4a;
  --vert-clair: #4a7c5e;
  
  /* Accents */
  --or: #d4af37;
  --or-clair: #e6c860;
  --or-fonce: #b8954e;
  
  /* Neutres */
  --creme: #f5f1e8;
  --creme-clair: #faf8f3;
  --beige: #e8e4d8;
  --gris-clair: #f0ede4;
  --texte-fonce: #2d3a2d;
  --texte-moyen: #4a4a4a;
  --texte-clair: #ffffff;
  --texte-clair-muet: rgba(255, 255, 255, 0.85);
  --texte-clair-tres-muet: rgba(255, 255, 255, 0.55);
  
  /* Typographie */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Containers */
  --container-max: 1280px;
  --container-narrow: 800px;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--texte-fonce);
  background: var(--creme-clair);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

/* ---------- HEADER NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vert-tres-fonce);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-brand-logo {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-brand-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  letter-spacing: 2px;
  line-height: 1;
}

.nav-brand-tagline {
  font-size: 0.65rem;
  color: var(--texte-clair-tres-muet);
  letter-spacing: 2px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  color: var(--texte-clair-muet);
  letter-spacing: 1.8px;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--or);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--or);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-cta-primary {
  background: var(--or);
  color: var(--vert-tres-fonce);
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: 1px solid var(--or);
  display: inline-block;
}

.btn-cta-primary:hover {
  background: var(--or-clair);
  border-color: var(--or-clair);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  border: 1px solid var(--or);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta-secondary:hover {
  background: var(--or);
  color: var(--vert-tres-fonce);
}

/* Sous-menu (visible uniquement sur les pages de "L'ASSOCIATION") */
.nav-sub {
  background: rgba(15, 31, 26, 0.95);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 0.7rem 2rem;
}

.nav-sub-list {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-sub-list a {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1.5px;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.nav-sub-list a:hover,
.nav-sub-list a.active {
  color: var(--or);
  border-bottom: 1px solid var(--or);
}

/* Menu hamburger mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: white;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* ---------- HERO PRINCIPAL ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: -84px;
  padding-top: 8rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 26, 0.5) 0%, rgba(15, 31, 26, 0.7) 60%, rgba(15, 31, 26, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.hero-ornament-line {
  width: 40px;
  height: 1px;
  background: var(--or);
}

.hero-ornament-dot {
  width: 6px;
  height: 6px;
  background: var(--or);
  border-radius: 50%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  color: var(--or);
  letter-spacing: 5px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--or);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--texte-clair-muet);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

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

.hero-actions .btn-cta-primary,
.hero-actions .btn-cta-secondary {
  padding: 1rem 2rem;
  font-size: 0.8rem;
}

/* Hero "petit" pour pages internes */
.hero-page {
  min-height: 60vh;
  padding-top: 6rem;
}

.hero-page .hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  background: var(--vert-tres-fonce);
  padding: 0.9rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.breadcrumb-text {
  font-size: 0.7rem;
  color: var(--texte-clair-tres-muet);
  letter-spacing: 2.5px;
}

.breadcrumb-text a {
  color: var(--texte-clair-tres-muet);
  transition: color 0.3s;
}

.breadcrumb-text a:hover {
  color: var(--or);
}

.breadcrumb-text .sep {
  margin: 0 0.5rem;
  color: var(--or);
}

/* ---------- SECTIONS GENERIQUES ---------- */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.section-wide {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-light {
  background: var(--creme-clair);
  color: var(--texte-fonce);
}

.section-cream {
  background: var(--creme);
  color: var(--texte-fonce);
}

.section-dark {
  background: var(--vert-profond);
  color: var(--texte-clair);
}

.section-very-dark {
  background: var(--vert-tres-fonce);
  color: var(--texte-clair);
}

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

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--or);
  letter-spacing: 4px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--or);
}

.section-eyebrow.left {
  justify-content: flex-start;
}

.section-eyebrow.left::after {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-dark .section-title,
.section-very-dark .section-title {
  color: white;
}

.section-light .section-title,
.section-cream .section-title {
  color: var(--vert-moyen);
}

.section-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--texte-moyen);
  margin-bottom: 1.5rem;
}

.section-dark .section-text,
.section-very-dark .section-text {
  color: var(--texte-clair-muet);
}

/* ---------- BANDEAU PARALLAXE ---------- */
.parallax-section {
  position: relative;
  padding: 5rem 2rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 26, 0.65) 0%, rgba(15, 31, 26, 0.85) 100%);
}

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

/* ---------- GRILLE 4 BLOCS (raisons de l'autonomie) ---------- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.reason-card {
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--or);
  font-size: 0.95rem;
  color: var(--texte-clair-muet);
  text-align: left;
  line-height: 1.6;
}

/* ---------- SPLIT IMAGE / TEXTE ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--vert-fonce);
  min-height: 480px;
}

.split-section.reverse {
  grid-template-columns: 1fr 1fr;
}

.split-image {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}

.split-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.split-content .section-eyebrow {
  justify-content: flex-start;
}

.split-content .section-eyebrow::after {
  display: none;
}

.split-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  color: white;
}

.split-content p {
  color: var(--texte-clair-muet);
  line-height: 1.8;
}

/* ---------- CHIFFRES CLES ---------- */
.stats-section {
  position: relative;
  padding: 5rem 2rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 18, 0.92) 0%, rgba(10, 22, 18, 0.95) 100%);
}

.stats-content {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.stat-item {
  color: white;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--or);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--texte-clair-muet);
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ---------- CITATION ---------- */
.quote-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--creme-clair) 0%, var(--gris-clair) 100%);
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--or);
  line-height: 0.8;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--vert-fonce);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
  font-weight: 400;
}

.quote-divider {
  width: 40px;
  height: 1px;
  background: var(--or-fonce);
  margin: 0 auto;
}

/* ---------- LISTES OBJECTIFS ---------- */
.objectives-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.objective-item {
  background: white;
  padding: 2rem 1.8rem;
  border-radius: 4px;
  border-top: 3px solid var(--or);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.objective-item:hover {
  transform: translateY(-4px);
}

.objective-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.objective-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 0.8rem;
}

.objective-text {
  font-size: 0.95rem;
  color: var(--texte-moyen);
  line-height: 1.7;
}

/* ---------- LISTE D'ACTIVITES (icônes + texte) ---------- */
.activities-block {
  background: var(--creme);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--or);
}

.activities-block h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 1.2rem;
}

.activities-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.8rem;
}

.activities-list li {
  font-size: 0.95rem;
  color: var(--texte-fonce);
  line-height: 1.5;
  padding-left: 0;
}

/* ---------- EQUIPE ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--or);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.75rem;
  color: var(--or-fonce);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--texte-moyen);
  line-height: 1.7;
  text-align: left;
}

/* ---------- TIMELINE HISTOIRE ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--or);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  width: 14px;
  height: 14px;
  background: var(--or);
  border-radius: 50%;
  border: 3px solid var(--creme-clair);
}

.timeline-item:nth-child(odd)::before {
  right: -7px;
}

.timeline-item:nth-child(even)::before {
  left: -7px;
}

.timeline-date {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--or-fonce);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--vert-moyen);
  margin-bottom: 0.5rem;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--texte-moyen);
  line-height: 1.7;
}

/* ---------- CARTE INTERACTIVE ---------- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

/* ---------- FORMULAIRE CONTACT ---------- */
.contact-form {
  display: grid;
  gap: 1.2rem;
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--or-fonce);
  text-transform: uppercase;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--beige);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: white;
  color: var(--texte-fonce);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--or);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  padding: 1rem 2rem;
  background: var(--vert-moyen);
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: var(--vert-fonce);
}

/* ---------- HELLOASSO IFRAME ---------- */
.helloasso-container {
  background: white;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 2rem;
}

.helloasso-iframe {
  width: 100%;
  min-height: 750px;
  border: 0;
  border-radius: 2px;
}

.helloasso-fallback {
  text-align: center;
  padding: 2rem;
  background: var(--creme);
  border-radius: 4px;
  margin-top: 1rem;
}

/* ---------- AGENDA / EVENEMENTS ---------- */
.agenda-loading {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--texte-moyen);
  font-style: italic;
}

.agenda-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--creme);
  border-radius: 4px;
  color: var(--texte-moyen);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--or);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-date-block {
  padding: 1.2rem;
  background: var(--vert-moyen);
  color: white;
  text-align: center;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}

.event-month {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  margin-top: 0.3rem;
}

.event-year {
  font-size: 0.75rem;
  color: var(--texte-clair-muet);
  margin-top: 0.2rem;
}

.event-content {
  padding: 1.5rem;
}

.event-time {
  font-size: 0.75rem;
  color: var(--or-fonce);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 0.6rem;
}

.event-location {
  font-size: 0.85rem;
  color: var(--texte-moyen);
  margin-bottom: 0.8rem;
}

.event-location::before {
  content: '📍 ';
}

.event-description {
  font-size: 0.9rem;
  color: var(--texte-moyen);
  line-height: 1.6;
}

/* ---------- ARTICLE ACTUALITES ---------- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.article-meta {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.8rem;
  color: var(--or-fonce);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.article-content h1 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--vert-fonce);
  margin-bottom: 1rem;
}

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--vert-moyen);
  margin: 2rem 0 0.8rem;
}

.article-content p {
  font-size: 1.05rem;
  color: var(--texte-moyen);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.article-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  color: var(--texte-moyen);
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 3px solid var(--or);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--creme);
  font-style: italic;
  color: var(--vert-fonce);
}

/* ---------- DOCUMENTS ---------- */
.documents-list {
  display: grid;
  gap: 1rem;
  max-width: 700px;
  margin: 2rem auto 0;
}

.document-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: white;
  border-radius: 4px;
  border-left: 3px solid var(--or);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.document-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.document-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.document-info {
  flex-grow: 1;
}

.document-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 0.2rem;
}

.document-meta {
  font-size: 0.8rem;
  color: var(--texte-moyen);
}

/* ---------- PARTENAIRES ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.partner-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  border-top: 3px solid var(--or);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.partner-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--vert-moyen);
  margin-bottom: 0.5rem;
}

.partner-role {
  font-size: 0.8rem;
  color: var(--or-fonce);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}

.partner-text {
  font-size: 0.9rem;
  color: var(--texte-moyen);
  line-height: 1.6;
}

/* ---------- IMAGE LARGE ---------- */
.full-image {
  width: 100%;
  margin: 3rem 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.full-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--texte-moyen);
  font-style: italic;
  margin-top: 0.8rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--vert-tres-fonce);
  color: var(--texte-clair-muet);
  padding: 4rem 2rem 1.5rem;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--or);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--texte-clair-muet);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--or);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-brand-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: white;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--or);
  border-color: var(--or);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--or);
  transition: fill 0.3s;
}

.footer-social a:hover svg {
  fill: var(--vert-tres-fonce);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
  font-size: 0.75rem;
  color: var(--texte-clair-tres-muet);
  letter-spacing: 1px;
}

/* ---------- BOUTON FLOTTANT RETOUR ---------- */
.floating-back {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: var(--or);
  color: var(--vert-tres-fonce);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.floating-back.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-back:hover {
  background: var(--or-clair);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.floating-back svg {
  width: 24px;
  height: 24px;
}

/* Tooltip pour le bouton flottant */
.floating-back::after {
  content: 'Retour en haut';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--vert-tres-fonce);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.floating-back:hover::after {
  opacity: 1;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.2rem;
  }
  .nav-links a {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-main {
    padding: 0.8rem 1rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-links,
  .nav-cta {
    display: none;
  }
  
  .nav-main.menu-open .nav-links,
  .nav-main.menu-open .nav-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--vert-tres-fonce);
    padding: 1.5rem 2rem;
    align-items: stretch;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  
  .nav-main.menu-open .nav-cta {
    top: auto;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1rem;
  }
  
  .nav-sub-list {
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .nav-sub-list a {
    font-size: 0.65rem;
  }
  
  .hero {
    padding-top: 6rem;
    min-height: 70vh;
  }
  
  .section {
    padding: 3.5rem 1.2rem;
  }
  
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }
  
  .split-content {
    padding: 2.5rem 1.5rem;
  }
  
  .timeline::before {
    left: 16px;
  }
  
  .timeline-item {
    width: 100%;
    margin-left: 0 !important;
    padding-left: 3rem;
  }
  
  .timeline-item::before {
    left: 9px !important;
    right: auto !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .floating-back {
    width: 48px;
    height: 48px;
    right: 1rem;
    bottom: 1rem;
  }
  
  .floating-back::after {
    display: none;
  }
}

/* ============================================
   VIDEO YOUTUBE EMBED (responsive 16:9)
   ============================================ */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(15, 31, 26, 0.18);
  background: #000;
  margin-top: 2rem;
}
.video-wrap iframe {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  border: 0;
}

/* ============================================
   PHOTOS DANS LES EVENEMENTS DE L'AGENDA
   Grilles adaptatives jusqu'a 10 photos
   ============================================ */

.event-photos {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid var(--beige);
  padding-top: 1.4rem;
}

/* 1 photo : grande, format paysage 16:10 */
.event-photos-1 {
  grid-template-columns: 1fr;
}
.event-photos-1 .event-photo-btn {
  aspect-ratio: 16 / 10;
}

/* 2 photos : cote a cote, format carre */
.event-photos-2 {
  grid-template-columns: 1fr 1fr;
}
.event-photos-2 .event-photo-btn {
  aspect-ratio: 4 / 3;
}

/* 3 photos : 1 grande a gauche + 2 petites a droite */
.event-photos-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 16 / 10;
}
.event-photos-3 .event-photo-btn:nth-child(1) {
  grid-row: span 2;
}

/* 4 photos : grille 2x2 carree */
.event-photos-4 {
  grid-template-columns: 1fr 1fr;
}
.event-photos-4 .event-photo-btn {
  aspect-ratio: 1 / 1;
}

/* 5 a 10 photos : grille 4 colonnes adaptative */
.event-photos-many {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
}
.event-photos-many .event-photo-btn {
  aspect-ratio: 1 / 1;
}

/* Bouton photo (declenche la lightbox) */
.event-photo-btn {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--beige);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(15, 31, 26, 0.08);
  font-family: inherit;
}

.event-photo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 31, 26, 0.18);
}

.event-photo-btn:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 2px;
}

.event-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s;
}

.event-photo-btn:hover img {
  transform: scale(1.04);
}

/* Legende de photo (visible au survol seulement) */
.event-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 31, 26, 0.85) 0%, rgba(15, 31, 26, 0) 100%);
  color: white;
  padding: 1.5rem 1rem 0.7rem;
  font-size: 0.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  text-align: left;
}

.event-photo-btn:hover .event-photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Sur mobile : simplification des grilles */
@media (max-width: 600px) {
  .event-photos-2,
  .event-photos-3,
  .event-photos-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .event-photos-2 .event-photo-btn,
  .event-photos-3 .event-photo-btn,
  .event-photos-4 .event-photo-btn {
    aspect-ratio: 1 / 1;
    grid-row: auto;
  }
  .event-photo-caption {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.7rem;
    padding: 1rem 0.7rem 0.5rem;
  }
}

/* ============================================
   LIGHTBOX GALERIE PHOTOS (lecteur plein ecran)
   ============================================ */

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 14, 12, 0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: lightbox-fade-in 0.25s ease-out;
}

.lightbox.active {
  display: flex;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #1a1a1a;
}

.lightbox-caption {
  margin-top: 1.2rem;
  color: white;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  max-width: 700px;
  padding: 0 1rem;
  line-height: 1.5;
}

.lightbox-counter {
  margin-top: 0.6rem;
  color: var(--or-clair, #e4c35a);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Boutons lightbox (close, prev, next) */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  padding: 0;
  z-index: 10;
}

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--or, #d4af37);
  border-color: var(--or, #d4af37);
  transform: scale(1.08);
  color: #0F1F1A;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--or, #d4af37);
  outline-offset: 4px;
}

/* Position de la croix : en haut a droite */
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

/* Fleche precedente : milieu gauche */
.lightbox-prev {
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Fleche suivante : milieu droit */
.lightbox-next {
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* Sur mobile : boutons un peu plus petits et mieux places */
@media (max-width: 600px) {
  .lightbox {
    padding: 1rem;
  }
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }
  .lightbox-close svg,
  .lightbox-prev svg,
  .lightbox-next svg {
    width: 20px;
    height: 20px;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }
  .lightbox-prev {
    left: 0.7rem;
  }
  .lightbox-next {
    right: 0.7rem;
  }
  .lightbox-image {
    max-width: 95vw;
    max-height: 70vh;
  }
  .lightbox-caption {
    font-size: 0.95rem;
    margin-top: 0.8rem;
  }
}

/* ============================================
   PAGE ACTUALITES - liste des articles
   ============================================ */

.actu-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.actu-article {
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--beige);
}

.actu-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.actu-header {
  margin-bottom: 2rem;
}

.actu-date {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.actu-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--vert-moyen);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.actu-summary {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--texte-moyen);
  border-left: 3px solid var(--or);
  padding-left: 1.5rem;
  margin: 1.5rem 0 0 0;
}

.actu-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--texte-fonce);
}

.actu-body p {
  margin-bottom: 1.4rem;
}

.actu-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  color: var(--vert-moyen);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.actu-body strong {
  color: var(--vert-fonce);
  font-weight: 600;
}

.actu-body ul {
  margin: 1.4rem 0;
  padding-left: 1.5rem;
}

.actu-body ul li {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  position: relative;
  list-style: none;
  padding-left: 1.5rem;
}

.actu-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 600;
}

.actu-body blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--vert-moyen);
  border-left: 4px solid var(--or);
  padding: 0.5rem 0 0.5rem 1.8rem;
  margin: 2rem 0;
  background: var(--creme);
  padding: 1.5rem 2rem;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .actu-list {
    gap: 3rem;
  }
  .actu-article {
    padding-bottom: 3rem;
  }
  .actu-summary {
    font-size: 1rem;
    padding-left: 1rem;
  }
  .actu-body {
    font-size: 1rem;
  }
  .actu-body h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }
  .actu-body blockquote {
    font-size: 1.05rem;
    padding: 1.2rem 1.5rem;
  }
}

.agenda-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--texte-moyen);
  font-style: italic;
  font-family: var(--font-serif);
}
