/* =============================================
   FEUILLE DE STYLES — S.O.U.R.I.R.E.
   Association loi 1901 | France & Congo
   Dernière mise à jour : juillet 2025
   ============================================= */

/* ─────────────────────────────────────────────
   VARIABLES GLOBALES (couleurs, polices)
   Modifiez ici pour changer tout le thème
   ───────────────────────────────────────────── */
:root {
  --or:       #D4922A;   /* Or principal — boutons, accents */
  --or2:      #F0B95A;   /* Or clair — hover, highlights */
  --fonce:    #0F1923;   /* Bleu très foncé — fond nav, sections sombres */
  --fonce2:   #1C2B38;   /* Bleu foncé secondaire */
  --chaud:    #FDF6EC;   /* Crème chaleureux — fond principal */
  --vert:     #2D6A4F;   /* Vert foncé — section témoignages */
  --vert2:    #40916C;   /* Vert moyen — hover bouton don */
  --rouge:    #C1121F;   /* Rouge — alertes */
  --texte:    #1a1a1a;   /* Texte principal */
  --moyen:    #666;      /* Texte secondaire / descriptions */
  --clair:    #f0ebe3;   /* Fond sections alternées */
  --blanc:    #ffffff;
}

/* ─────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--chaud);
  color: var(--texte);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   CURSEUR PERSONNALISÉ (point doré animé)
   ───────────────────────────────────────────── */
.cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--or); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: multiply;
}
.cursor-follower {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--or); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.3s, height 0.3s;
}

/* ─────────────────────────────────────────────
   BARRE DE NAVIGATION
   Transparente par défaut, sombre au scroll
   ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(15,25,35,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  color: white; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo img {
  height: 42px; width: 42px; object-fit: contain;
  border-radius: 50%; flex-shrink: 0;
}
.nav-logo span { color: var(--or2); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; padding-bottom: 3px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--or2);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--or2); }
.nav-links a:hover::after { width: 100%; }
/* Bouton CTA "Faire un don" dans la nav */
.nav-cta {
  background: var(--or); color: var(--fonce) !important;
  padding: 0.55rem 1.4rem; border-radius: 30px;
  font-weight: 600; font-size: 0.8rem !important;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--or2) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }

/* ─────────────────────────────────────────────
   HERO — SLIDER PLEIN ÉCRAN
   3 slides avec transitions en fondu
   ───────────────────────────────────────────── */
.hero {
  height: 100vh; min-height: 700px;
  position: relative; display: flex;
  align-items: center; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; display: flex; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-slide.active { opacity: 1; }
/* Dégradé sombre sur les slides pour lisibilité du texte */
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,25,35,0.85) 0%, rgba(15,25,35,0.55) 50%, rgba(15,25,35,0.2) 100%);
}
/* Images des slides — remplacez par vos propres photos */
.hero-slide-1 { background-image: url('s1.png'); }
.hero-slide-2 { background-image: url('s2.png'); }
.hero-slide-3 { background-image: url('s3.png'); }

.hero-content {
  position: relative; z-index: 10;
  padding: 0 8%; max-width: 750px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(212,146,42,0.2); border: 1px solid rgba(212,146,42,0.5);
  color: var(--or2); font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.45rem 1.1rem; border-radius: 30px;
  margin-bottom: 2rem; animation: fadeUp 1s 0.2s both;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--or2); border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 300; color: white;
  line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 1.8rem; animation: fadeUp 1s 0.4s both;
}
.hero h1 strong { font-weight: 600; color: var(--or2); display: block; }
.hero h1 em { font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem; line-height: 1.75;
  font-weight: 300; max-width: 480px;
  margin-bottom: 2.8rem; animation: fadeUp 1s 0.6s both;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 1s 0.8s both;
}
.btn-hero-primary {
  background: var(--or); color: var(--fonce);
  padding: 1rem 2.2rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(212,146,42,0.4);
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(212,146,42,0.5); }
.btn-hero-outline {
  border: 1.5px solid rgba(255,255,255,0.45); color: white;
  padding: 1rem 2.2rem; border-radius: 50px; font-size: 0.9rem; cursor: pointer;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-hero-outline:hover { border-color: var(--or2); background: rgba(212,146,42,0.1); }
/* Points indicateurs du slider */
.hero-indicators {
  position: absolute; bottom: 2.5rem; right: 8%;
  display: flex; flex-direction: column; gap: 0.6rem; z-index: 10;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active { background: var(--or2); transform: scale(1.5); }
/* Compteur de slides (01 / 03) */
.hero-counter {
  position: absolute; bottom: 2.5rem; left: 8%;
  color: rgba(255,255,255,0.5); font-size: 0.78rem;
  letter-spacing: 0.15em; z-index: 10;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-counter-line { width: 40px; height: 1px; background: rgba(255,255,255,0.3); }
.hero-counter span { color: white; }

/* ─────────────────────────────────────────────
   CHIFFRES D'IMPACT (bande sombre sous le hero)
   ───────────────────────────────────────────── */
.impact {
  background: var(--fonce); padding: 5rem 8%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background-color: rgba(255,255,255,0.06);
}
.impact-item {
  background: var(--fonce2); padding: 3rem 2.5rem;
  text-align: center; position: relative; overflow: hidden;
  transition: background 0.3s;
}
.impact-item:hover { background: #243447; }
/* Barre dorée animée au hover */
.impact-item::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--or), var(--or2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.impact-item:hover::before { transform: scaleX(1); }
.impact-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 600; color: var(--or2);
  line-height: 1; margin-bottom: 0.6rem;
}
.impact-label { color: rgba(255,255,255,0.6); font-size: 0.82rem; letter-spacing: 0.08em; }

/* ─────────────────────────────────────────────
   ÉLÉMENTS RÉUTILISABLES (labels, titres)
   Utilisés dans plusieurs sections
   ───────────────────────────────────────────── */
.about-label {
  font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--or); display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.about-label::before { content: ''; width: 2rem; height: 1px; background: var(--or); }
.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300; color: var(--fonce);
  line-height: 1.18; margin-bottom: 2rem;
}
.about-title strong { font-weight: 600; color: var(--vert2); }

/* ─────────────────────────────────────────────
   SECTION À PROPOS
   ───────────────────────────────────────────── */
#about { padding: 9rem 8%; background: var(--chaud); }
.about-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 7rem; align-items: center;
}
.about-body p {
  color: var(--moyen); line-height: 1.9; margin-bottom: 1.3rem;
  font-weight: 300; font-size: 0.97rem;
}
.about-body strong { color: var(--texte); font-weight: 500; }
/* Citation de la présidente */
.about-quote-block {
  margin-top: 3rem; padding: 2.5rem;
  background: var(--fonce); position: relative; border-radius: 4px;
}
.about-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem; color: var(--or); opacity: 0.2;
  position: absolute; top: -1rem; left: 1.5rem; line-height: 1;
}
.about-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.25rem;
  color: rgba(255,255,255,0.9); line-height: 1.65;
  position: relative; z-index: 1; margin-bottom: 1.2rem;
}
.about-quote-author {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--or2); position: relative; z-index: 1;
}
/* Grille de photos à droite */
.about-images {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem;
}
.about-img { overflow: hidden; border-radius: 4px; }
.about-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.about-img:hover img { transform: scale(1.06); }
.about-img-1 { grid-row: 1 / 3; }
.about-img-1 img { height: 420px; }
.about-img-2 img { height: 195px; }
.about-img-3 img { height: 195px; }
/* Badge "2025 — Année de création" */
.about-images-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--or); padding: 1.2rem 1.5rem;
  border-radius: 4px; box-shadow: 0 8px 30px rgba(212,146,42,0.35); z-index: 2;
}
.about-images-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--fonce); line-height: 1;
}
.about-images-badge-text { font-size: 0.72rem; color: var(--fonce); font-weight: 500; letter-spacing: 0.05em; }

/* ─────────────────────────────────────────────
   SECTION NOS ACTIONS (fond sombre, 8 cartes)
   ───────────────────────────────────────────── */
#actions { padding: 9rem 8%; background: var(--fonce); }
#actions .about-label { color: rgba(212,146,42,0.8); }
#actions .about-label::before { background: rgba(212,146,42,0.8); }
#actions .about-title { color: white; }
.actions-head { max-width: 600px; margin-bottom: 5rem; }
.actions-head p { color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.8; margin-top: 1rem; }
.actions-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.tab-btn {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65); padding: 0.5rem 1.2rem; border-radius: 30px;
  font-family: 'Outfit', sans-serif; font-size: 0.8rem; cursor: pointer; transition: all 0.3s;
}
.tab-btn:hover, .tab-btn.active { background: var(--or); border-color: var(--or); color: var(--fonce); font-weight: 600; }
.actions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5px; background: rgba(255,255,255,0.05);
}
.action-card {
  background: var(--fonce2); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; transition: background 0.35s; cursor: default;
}
/* Image de fond au hover */
.action-card-bg {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
  background-size: cover; background-position: center;
}
.action-card-bg::after { content: ''; position: absolute; inset: 0; background: rgba(15,25,35,0.82); }
.action-card:hover .action-card-bg { opacity: 1; }
.action-card-inner { position: relative; z-index: 2; }
.ac-icon { font-size: 2rem; margin-bottom: 1.5rem; display: inline-block; transition: transform 0.4s; }
.action-card:hover .ac-icon { transform: scale(1.2) rotate(-5deg); }
.ac-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: white; margin-bottom: 0.8rem; line-height: 1.3;
}
.ac-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.7; font-weight: 300; }
.ac-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--or2); font-size: 0.78rem; margin-top: 1.2rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.3s;
}
.action-card:hover .ac-arrow { opacity: 1; transform: translateX(0); }
.ac-arrow::after { content: '→'; }

/* ─────────────────────────────────────────────
   GALERIE PHOTOS (grille mosaïque)
   Remplacez les images Unsplash par vos photos
   ───────────────────────────────────────────── */
#gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 280px 280px; gap: 4px;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease, filter 0.5s ease; filter: saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,25,35,0.7) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-text {
  color: white; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1rem;
}

/* ─────────────────────────────────────────────
   SECTION BUREAU / ÉQUIPE
   Photos cliquables pour upload
   ───────────────────────────────────────────── */
#bureau { padding: 9rem 8%; background: var(--chaud); }
.bureau-head { text-align: center; max-width: 600px; margin: 0 auto 5rem; }
.bureau-head .about-title { font-size: clamp(2rem, 4vw, 3rem); }
.bureau-head p { color: var(--moyen); line-height: 1.8; font-weight: 300; margin-top: 1rem; }
.bureau-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.bureau-card {
  background: white; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}
.bureau-card:hover { transform: translateY(-8px); box-shadow: 0 16px 45px rgba(0,0,0,0.12); }
.bureau-photo {
  width: 100%; height: 220px; position: relative; overflow: hidden;
  background: var(--clair); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.bureau-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.bureau-card:hover .bureau-photo img { transform: scale(1.06); }
.bureau-photo-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; padding: 1.5rem; text-align: center;
}
.bureau-photo-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--or), var(--or2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: white;
}
.bureau-photo-hint { font-size: 0.75rem; color: var(--moyen); line-height: 1.4; }
/* Overlay "Ajouter une photo" au hover */
.bureau-upload-overlay {
  position: absolute; inset: 0; background: rgba(212,146,42,0.9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; opacity: 0; transition: opacity 0.3s;
}
.bureau-card:hover .bureau-upload-overlay { opacity: 1; }
.bureau-upload-overlay span { color: var(--fonce); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; }
.bureau-upload-icon { font-size: 1.8rem; }
.bureau-input { display: none; }
.bureau-info { padding: 1.5rem; }
.bureau-role {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--or); margin-bottom: 0.4rem; font-weight: 500;
}
.bureau-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--fonce); margin-bottom: 0.4rem; }
.bureau-sub { font-size: 0.78rem; color: var(--moyen); }

/* ─────────────────────────────────────────────
   SECTION TÉMOIGNAGES (fond vert foncé)
   ───────────────────────────────────────────── */
#temoignage {
  padding: 9rem 8%;
  background: linear-gradient(135deg, var(--vert) 0%, var(--fonce) 60%);
  position: relative; overflow: hidden;
}
#temoignage::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 70vw; height: 70vw; border-radius: 50%; background: rgba(255,255,255,0.03);
}
.temoignage-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.temoignage-slides { position: relative; min-height: 260px; }
.temoignage-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: translateY(20px); pointer-events: none;
}
.temoignage-slide.active {
  opacity: 1; transform: translateY(0); position: relative; pointer-events: auto;
}
.temoignage-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-style: italic; font-weight: 300;
  color: white; line-height: 1.5; margin-bottom: 2.5rem; text-align: center;
}
.temoignage-quote::before {
  content: '"'; font-size: 5rem; color: rgba(212,146,42,0.3);
  display: block; line-height: 0.6; margin-bottom: 1.2rem;
}
.temoignage-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.temoignage-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--or); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--fonce);
}
.temoignage-name { color: var(--or2); font-size: 0.88rem; font-weight: 500; }
.temoignage-role { color: rgba(255,255,255,0.5); font-size: 0.78rem; }
.temoignage-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 3rem; }
.temoignage-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s;
}
.temoignage-dot.active { background: var(--or2); transform: scale(1.5); }

/* ─────────────────────────────────────────────
   SECTION ADHÉSION (fond crème clair)
   ───────────────────────────────────────────── */
#rejoindre { padding: 9rem 8%; background: var(--clair); }
.rejoindre-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 6rem; align-items: start;
}
.rejoindre-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.membre-card {
  background: white; border-radius: 8px; padding: 1.6rem 2rem;
  display: flex; align-items: flex-start; gap: 1.2rem;
  border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; cursor: default;
}
.membre-card:hover {
  border-color: var(--or); box-shadow: 0 8px 30px rgba(212,146,42,0.12); transform: translateX(6px);
}
.membre-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--or), var(--or2));
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.membre-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; color: var(--fonce); }
.membre-desc { font-size: 0.82rem; color: var(--moyen); line-height: 1.6; }
/* Carte cotisation (sticky) */
.cotisation-feature {
  background: var(--fonce); border-radius: 12px; padding: 3rem; position: sticky; top: 100px;
}
.cotisation-badge {
  display: inline-block; background: rgba(212,146,42,0.15); border: 1px solid rgba(212,146,42,0.4);
  color: var(--or2); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 20px; margin-bottom: 1.5rem;
}
.cotisation-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 600; color: white; line-height: 1; margin-bottom: 0.5rem;
}
.cotisation-price sup { font-size: 2rem; vertical-align: super; color: var(--or2); }
.cotisation-period { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 2rem; }
.cotisation-perks { list-style: none; margin-bottom: 2.5rem; }
.cotisation-perks li {
  display: flex; align-items: center; gap: 0.8rem;
  color: rgba(255,255,255,0.75); font-size: 0.88rem;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cotisation-perks li::before { content: '✓'; color: var(--or2); font-weight: 700; flex-shrink: 0; }
.btn-join {
  width: 100%; background: var(--or); color: var(--fonce);
  padding: 1rem; border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer;
  transition: background 0.3s, transform 0.2s; box-shadow: 0 6px 20px rgba(212,146,42,0.35);
}
.btn-join:hover { background: var(--or2); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SECTION DON
   ───────────────────────────────────────────── */
#don {
  padding: 9rem 8%; background: var(--chaud);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.don-image { position: relative; border-radius: 8px; overflow: hidden; }
.don-image img {
  width: 100%; height: 500px; object-fit: cover; display: block;
  border-radius: 8px; transition: transform 0.7s ease;
}
.don-image:hover img { transform: scale(1.04); }
.don-image-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,25,35,0.85));
  padding: 3rem 2rem 2rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  color: rgba(255,255,255,0.9); font-size: 1.1rem;
}
.don-content .about-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.don-content p { color: var(--moyen); line-height: 1.9; font-weight: 300; margin: 1.2rem 0; }
/* Boutons de montant prédéfinis */
.don-amounts { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0; }
.don-amt {
  background: white; border: 2px solid rgba(0,0,0,0.1);
  color: var(--texte); padding: 0.7rem 1.6rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.don-amt:hover, .don-amt.active {
  background: var(--or); border-color: var(--or); color: var(--fonce);
  box-shadow: 0 4px 16px rgba(212,146,42,0.3);
}
/* Bouton principal "Faire un don" — CORRIGÉ (suppression du décalage) */
.btn-don {
  display: inline-block;
  background: var(--fonce); color: white;
  padding: 1rem 2.5rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  vertical-align: middle;
}
.btn-don:hover { background: var(--vert); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SECTION CONTACT (fond sombre)
   ───────────────────────────────────────────── */
#contact { padding: 9rem 8%; background: var(--fonce); }
#contact .about-label { color: rgba(212,146,42,0.8); }
#contact .about-label::before { background: rgba(212,146,42,0.8); }
#contact .about-title { color: white; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; margin-top: 4rem;
}
.contact-info-item { display: flex; gap: 1.2rem; margin-bottom: 2.5rem; }
.contact-ic {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(212,146,42,0.1); border: 1px solid rgba(212,146,42,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; color: var(--or2);
}
.contact-ic-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 0.4rem;
}
.contact-ic-val { color: rgba(255,255,255,0.85); font-size: 0.92rem; line-height: 1.6; }
/* Formulaire de contact */
.contact-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 3rem;
}
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 0.85rem 1.1rem;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem; color: white;
  outline: none; transition: border-color 0.3s, background 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select option { background: var(--fonce2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--or); background: rgba(212,146,42,0.06);
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-contact {
  width: 100%; background: var(--or); color: var(--fonce); padding: 1rem; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.btn-contact:hover { background: var(--or2); transform: translateY(-2px); }

/* ─────────────────────────────────────────────
   SECTION DOCUMENTS OFFICIELS
   ───────────────────────────────────────────── */
#documents { padding: 9rem 8%; background: var(--chaud); }
#documents .about-title { color: var(--fonce); }
.docs-intro {
  color: var(--moyen); font-weight: 300; line-height: 1.8;
  max-width: 580px; margin-top: 1rem; margin-bottom: 4rem;
}
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.doc-card {
  background: white; border-radius: 10px; padding: 2rem 2rem 1.6rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.doc-card:hover {
  border-color: var(--or); box-shadow: 0 12px 40px rgba(212,146,42,0.14); transform: translateY(-4px);
}
.doc-icon-wrap {
  width: 52px; height: 52px; border-radius: 10px;
  background: linear-gradient(135deg, var(--or), var(--or2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.doc-type {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--or); font-weight: 500; margin-bottom: 0.4rem;
}
.doc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem; font-weight: 600; color: var(--fonce); line-height: 1.3; margin-bottom: 0.5rem;
}
.doc-desc { font-size: 0.82rem; color: var(--moyen); line-height: 1.6; }
.doc-info {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.75rem; color: var(--moyen);
  border-top: 1px solid var(--clair); padding-top: 1rem;
}
.doc-info-badge {
  background: var(--clair); border-radius: 4px; padding: 0.2rem 0.55rem;
  font-size: 0.68rem; font-weight: 600; color: var(--texte); letter-spacing: 0.05em;
}
.doc-actions { display: flex; gap: 0.7rem; }
.btn-doc-view {
  flex: 1; background: var(--fonce); color: white; border: none; border-radius: 6px;
  padding: 0.7rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: background 0.25s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; text-decoration: none;
}
.btn-doc-view:hover { background: var(--fonce2); transform: translateY(-1px); }
.btn-doc-dl {
  background: var(--or); color: var(--fonce); border: none; border-radius: 6px;
  padding: 0.7rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: background 0.25s, transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  text-decoration: none; white-space: nowrap;
}
.btn-doc-dl:hover { background: var(--or2); transform: translateY(-1px); }
/* Visionneuse modale des documents */
.doc-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.82);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(8px); padding: 2rem;
}
.doc-modal-overlay.open { opacity: 1; pointer-events: auto; }
.doc-modal-box {
  background: var(--fonce2); border-radius: 12px;
  width: 100%; max-width: 820px; max-height: 90vh;
  display: flex; flex-direction: column;
  transform: scale(0.96) translateY(20px); transition: transform 0.3s; overflow: hidden;
}
.doc-modal-overlay.open .doc-modal-box { transform: scale(1) translateY(0); }
.doc-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.doc-modal-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: white;
}
.doc-modal-close {
  background: rgba(255,255,255,0.08); border: none; color: white;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.doc-modal-close:hover { background: rgba(255,255,255,0.16); }
.doc-modal-body {
  flex: 1; overflow-y: auto; padding: 2rem;
  font-family: 'Outfit', sans-serif; color: rgba(255,255,255,0.85);
  font-size: 0.9rem; line-height: 1.9;
}
.doc-modal-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  color: var(--or2); margin: 1.8rem 0 0.6rem; font-weight: 600;
}
.doc-modal-body h3:first-child { margin-top: 0; }
.doc-modal-body p { margin-bottom: 0.9rem; color: rgba(255,255,255,0.7); }
.doc-modal-body strong { color: white; font-weight: 500; }
.doc-modal-footer {
  padding: 1.2rem 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: flex-end; gap: 0.8rem;
}

/* ─────────────────────────────────────────────
   PIED DE PAGE (FOOTER)
   ───────────────────────────────────────────── */
footer {
  background: #080e14; padding: 4rem 8% 2.5rem;
  border-top: 1px solid rgba(212,146,42,0.15);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 4rem; margin-bottom: 3rem;
}
.footer-brand-logo {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600;
  color: var(--or2); letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-brand-text { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.8; font-weight: 300; }
.footer-col-title {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--or2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-loi { font-size: 0.78rem; color: rgba(212,146,42,0.5); }

/* ─────────────────────────────────────────────
   ANIMATIONS KEYFRAMES
   ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Classes d'apparition au scroll (ajoutées par JS) */
.reveal {
  opacity: 0; transform: translateY(35px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-35px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(35px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─────────────────────────────────────────────
   MODALE UPLOAD PHOTO (membres bureau)
   ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s; backdrop-filter: blur(6px);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: white; border-radius: 12px; padding: 3rem; max-width: 460px; width: 90%;
  transform: scale(0.95) translateY(20px); transition: transform 0.3s; text-align: center;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--fonce); margin-bottom: 0.5rem; }
.modal-sub { color: var(--moyen); font-size: 0.88rem; margin-bottom: 2rem; }
.modal-drop {
  border: 2px dashed rgba(212,146,42,0.4); border-radius: 8px; padding: 3rem;
  background: var(--chaud); cursor: pointer; transition: border-color 0.3s; margin-bottom: 1.5rem;
}
.modal-drop:hover { border-color: var(--or); }
.modal-drop-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.modal-drop-text { color: var(--moyen); font-size: 0.85rem; }
.modal-close {
  background: transparent; border: 1px solid rgba(0,0,0,0.2);
  padding: 0.6rem 1.5rem; border-radius: 6px; cursor: pointer;
  font-family: 'Outfit', sans-serif; transition: background 0.2s;
}
.modal-close:hover { background: var(--clair); }

/* ─────────────────────────────────────────────
   MENU HAMBURGER (mobile)
   ───────────────────────────────────────────── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; z-index: 600;
}
.nav-hamburger span {
  display: block; width: 26px; height: 2px;
  background: white; border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Menu mobile plein écran */
.nav-mobile-menu {
  display: none; position: fixed; inset: 0; top: 70px;
  background: rgba(15,25,35,0.98); backdrop-filter: blur(16px);
  z-index: 400; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.nav-mobile-menu.open { opacity: 1; pointer-events: auto; }
.nav-mobile-menu a {
  color: white; text-decoration: none; font-size: 1.6rem;
  font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: 0.05em; transition: color 0.3s;
}
.nav-mobile-menu a:hover { color: var(--or2); }
.nav-mobile-menu .mobile-cta {
  background: var(--or); color: var(--fonce) !important;
  padding: 0.8rem 2.5rem; border-radius: 40px;
  font-family: 'Outfit', sans-serif; font-size: 1rem !important; font-weight: 600;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLETTE LARGE (≤ 1100px)
   ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  nav { padding: 0 4%; }
  #about, #don { padding: 6rem 6%; }
  #actions, #bureau, #rejoindre, #contact, #temoignage { padding: 6rem 6%; }
  #documents { padding: 6rem 6%; }
  footer { padding: 3.5rem 6% 2rem; }
  .hero-content { padding: 0 6%; }
  .impact { padding: 4rem 6%; }

  .about-wrap { grid-template-columns: 1fr; gap: 4rem; }
  .about-images { max-width: 600px; }
  .about-img-1 img { height: 320px; }
  .about-img-2 img, .about-img-3 img { height: 148px; }

  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .bureau-grid { grid-template-columns: repeat(2, 1fr); }

  #don { grid-template-columns: 1fr; }
  .don-image img { height: 380px; }

  .rejoindre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cotisation-feature { position: static; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }

  #gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-tall img { height: 240px; }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-item img { height: 240px; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLETTE (≤ 860px)
   ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .impact { grid-template-columns: repeat(2, 1fr); padding: 3rem 5%; }
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .bureau-grid { grid-template-columns: repeat(2, 1fr); }
  .bureau-photo { height: 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤ 640px)
   ───────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Navigation → afficher hamburger, masquer liens */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { display: flex; }
  nav { padding: 0 5%; }

  /* Hero */
  .hero-content { padding: 0 5%; max-width: 100%; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-sub { font-size: 0.92rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.4rem 0.9rem; }
  .hero-btns { flex-direction: column; gap: 0.8rem; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; justify-content: center; padding: 0.9rem 1.5rem; }
  .hero-counter { left: 5%; }
  .hero-indicators { right: 5%; }

  /* Chiffres impact */
  .impact { grid-template-columns: repeat(2, 1fr); padding: 2.5rem 5%; gap: 1px; }
  .impact-item { padding: 2rem 1.2rem; }
  .impact-num { font-size: 2.5rem; }

  /* Espacements généraux */
  #about, #actions, #bureau, #rejoindre, #temoignage, #contact { padding: 5rem 5%; }
  #don { padding: 5rem 5%; }
  #documents { padding: 5rem 5%; }
  footer { padding: 3rem 5% 2rem; }

  /* À propos */
  .about-wrap { gap: 3rem; }
  .about-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .about-images { grid-template-columns: 1fr; grid-template-rows: auto; max-width: 100%; }
  .about-img-1, .about-img-2, .about-img-3 { grid-row: auto; grid-column: auto; }
  .about-img-1 img { height: 250px; }
  .about-img-2 img, .about-img-3 img { height: 180px; }
  .about-images-badge { left: 0; bottom: -1rem; }

  /* Actions */
  .actions-grid { grid-template-columns: 1fr; gap: 1px; }
  .action-card { padding: 2rem 1.5rem; }

  /* Galerie */
  #gallery { grid-template-columns: 1fr; grid-template-rows: auto; gap: 3px; }
  .gallery-item-tall, .gallery-item-wide { grid-row: auto; grid-column: auto; }
  .gallery-item img { height: 220px !important; }

  /* Bureau */
  .bureau-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .bureau-photo { height: 160px; }
  .bureau-name { font-size: 0.95rem; }
  .bureau-sub { font-size: 0.72rem; }
  .bureau-info { padding: 1rem; }

  /* Témoignages */
  .temoignage-quote { font-size: clamp(1.2rem, 5vw, 1.6rem); }

  /* Adhésion */
  .rejoindre-grid { gap: 2.5rem; }
  .cotisation-price { font-size: 3.5rem; }
  .cotisation-feature { padding: 2rem; }

  /* Don */
  #don { grid-template-columns: 1fr; }
  .don-image img { height: 280px; }
  .don-amounts { gap: 0.5rem; }
  .don-amt { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Documents */
  .docs-grid { grid-template-columns: 1fr; }
  .doc-modal-body { padding: 1.2rem; }
  .doc-modal-header { padding: 1rem 1.2rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* ─────────────────────────────────────────────
   TRÈS PETIT MOBILE (≤ 380px)
   ───────────────────────────────────────────── */
@media (max-width: 380px) {
  .bureau-grid { grid-template-columns: 1fr; }
  .impact { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
}
