/* ============================================================
   Fondation Internationale Adrienne Soundélé — Style principal
   ============================================================ */

/* Police du site : Helvetica (police système, pas besoin d'import) */

/* --- Variables --- */
:root {
  --vert-foret:  #2D6A2F;
  --vert-clair:  #6BBF4E;
  --marron:      #7B4F2E;
  --beige:       #F5F0E8;
  --blanc:       #FAFAF8;
  --bleu-eau:    #4A9EBF;
  --texte:       #2a2a2a;
  --texte-doux:  #555;
  --border:      #ddd6ca;
}

/* --- Reset léger --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.25;
}

a { color: var(--vert-foret); text-decoration: none; }
a:hover { color: var(--vert-clair); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* --- Navbar --- */
.navbar {
  background: var(--vert-foret);
  padding: 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-brand span {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--blanc);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 400;
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  padding: 0.55rem 0.9rem !important;
  transition: color 0.2s;
}

.navbar .nav-link:hover {
  color: var(--vert-clair) !important;
}

.btn-membre {
  background: var(--vert-clair);
  color: var(--vert-foret) !important;
  font-weight: 700;
  border-radius: 3px;
  padding: 0.45rem 1.1rem !important;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-membre:hover {
  background: var(--blanc);
  color: var(--vert-foret) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.85%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Boutons généraux --- */
.btn-primary-custom {
  display: inline-block;
  background: var(--vert-foret);
  color: var(--blanc) !important;
  padding: 0.7rem 1.8rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 2px solid var(--vert-foret);
  transition: background 0.2s, color 0.2s;
}
.btn-primary-custom:hover {
  background: transparent;
  color: var(--vert-foret) !important;
}

.btn-outline-custom {
  display: inline-block;
  background: transparent;
  color: var(--vert-foret) !important;
  padding: 0.7rem 1.8rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 2px solid var(--vert-foret);
  transition: background 0.2s, color 0.2s;
}
.btn-outline-custom:hover {
  background: var(--vert-foret);
  color: var(--blanc) !important;
}

.btn-white {
  display: inline-block;
  background: var(--blanc);
  color: var(--vert-foret) !important;
  padding: 0.7rem 1.8rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 2px solid var(--blanc);
  transition: background 0.2s, color 0.2s;
}
.btn-white:hover {
  background: transparent;
  color: var(--blanc) !important;
}

.btn-white-outline {
  display: inline-block;
  background: transparent;
  color: var(--blanc) !important;
  padding: 0.7rem 1.8rem;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* --- Section label / eyebrow --- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vert-clair);
  margin-bottom: 0.7rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--marron);
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================================
   HERO ACCUEIL
   ============================================================ */
.hero-home {
  min-height: 100vh;
  background: linear-gradient(160deg, #1a3d1b 0%, #2D6A2F 55%, #3a7a38 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/hero-foret.jpg') center/cover no-repeat;
  opacity: 0.22;
}

/* placeholder visuel pour la forêt quand pas d'image */
.hero-placeholder-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 60%, rgba(107,191,78,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(74,158,191,0.08) 0%, transparent 50%);
}

.hero-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-home h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--blanc);
  margin-bottom: 1.1rem;
  line-height: 1.18;
  font-weight: 700;
}

.hero-home p.lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.83);
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 540px;
}

.hero-home .btn-group-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* decoration droite hero */
.hero-deco {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 380px;
  border: 2px solid rgba(107,191,78,0.3);
  border-radius: 2px;
  z-index: 1;
}
.hero-deco::after {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid rgba(107,191,78,0.15);
  border-radius: 2px;
}

/* ============================================================
   CHIFFRES ANIMÉS
   ============================================================ */
.chiffres-section {
  background: var(--beige);
  padding: 70px 0;
  border-top: 3px solid var(--vert-foret);
}

.chiffre-item {
  text-align: center;
  padding: 20px 10px;
}

.chiffre-number {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--vert-foret);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.chiffre-label {
  font-size: 0.85rem;
  color: var(--texte-doux);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   SECTION CITATION
   ============================================================ */
.citation-section {
  padding: 90px 0;
  background: var(--blanc);
}

.citation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.citation-photo {
  position: relative;
}

.citation-photo .photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #c9b89a, #a08060);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.citation-photo::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--vert-clair);
  z-index: -1;
  border-radius: 2px;
}

.citation-text blockquote {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.55rem;
  font-style: italic;
  color: var(--vert-foret);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 24px;
}

.citation-text blockquote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 4rem;
  color: var(--vert-clair);
  line-height: 1;
  font-family: Helvetica, Arial, sans-serif;
}

.citation-text .attrib {
  font-weight: 700;
  color: var(--marron);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  background: var(--vert-foret);
  padding: 80px 0;
  color: var(--blanc);
}

.timeline-section h2 {
  color: var(--blanc);
  text-align: center;
  margin-bottom: 55px;
  font-size: 2rem;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(107,191,78,0.4);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 30px);
  margin-bottom: 32px;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 30px);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 14px;
  width: 12px;
  height: 12px;
  background: var(--vert-clair);
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-card {
  background: rgba(255,255,255,0.1);
  padding: 14px 18px;
  border-radius: 2px;
  max-width: 320px;
}

.timeline-year {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vert-clair);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}

/* ============================================================
   PROJETS RÉCENTS
   ============================================================ */
.projets-section {
  padding: 85px 0;
  background: var(--beige);
}

.projets-section h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.projets-section .section-intro {
  color: var(--texte-doux);
  margin-bottom: 40px;
  max-width: 520px;
}

.projet-card {
  background: var(--blanc);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}

.projet-card:hover {
  box-shadow: 0 6px 24px rgba(45,106,47,0.13);
  transform: translateY(-3px);
}

.projet-card .card-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.projet-card .img-placeholder {
  width: 100%;
  height: 185px;
  background: linear-gradient(135deg, #4a7a3a 0%, #2D6A2F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projet-card .img-placeholder span {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projet-card .card-body {
  padding: 18px 20px 22px;
}

.projet-tag {
  display: inline-block;
  background: var(--beige);
  color: var(--marron);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.projet-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: var(--vert-foret);
  line-height: 1.3;
}

.projet-localisation {
  font-size: 0.82rem;
  color: var(--texte-doux);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   SECTION REJOINDRE (bannière)
   ============================================================ */
.rejoindre-banner {
  background: var(--marron);
  padding: 75px 0;
  text-align: center;
}

.rejoindre-banner h2 {
  color: var(--blanc);
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.rejoindre-banner p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.rejoindre-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1a2e1a;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 28px;
  font-size: 0.9rem;
}

footer h5 {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--blanc);
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 600;
}

footer p, footer address {
  font-style: normal;
  line-height: 1.9;
}

footer a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
footer a:hover { color: var(--vert-clair); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-logo {
  height: 44px;
  margin-bottom: 14px;

}

/* ============================================================
   HERO PAGES INTÉRIEURES
   ============================================================ */
.hero-inner {
  background: var(--vert-foret);
  padding: 110px 0 60px;
  color: var(--blanc);
}

.hero-inner h1 {
  color: var(--blanc);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}

.hero-inner .lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 620px;
  font-weight: 300;
}

/* ============================================================
   PAGE FONDATION
   ============================================================ */
.section-histoire {
  padding: 80px 0;
  background: var(--blanc);
}

.section-histoire .histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.section-histoire p {
  margin-bottom: 1rem;
  color: var(--texte-doux);
  line-height: 1.85;
}

.histoire-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #5a8a3a, #2D6A2F);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  position: relative;
}

/* valeurs */
.valeurs-section {
  background: var(--beige);
  padding: 75px 0;
}

.valeur-card {
  background: var(--blanc);
  border-top: 3px solid var(--vert-foret);
  padding: 28px 22px;
  height: 100%;
}

.valeur-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.valeur-card h4 {
  font-size: 1.1rem;
  color: var(--vert-foret);
  margin-bottom: 10px;
}

.valeur-card p {
  font-size: 0.9rem;
  color: var(--texte-doux);
  line-height: 1.7;
}

/* présidente */
.presidente-section {
  padding: 80px 0;
  background: var(--blanc);
}

.presidente-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 55px;
  align-items: start;
}

.presidente-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #c9b89a, #a08060);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presidente-section p {
  color: var(--texte-doux);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* équipe */
.equipe-section {
  padding: 70px 0;
  background: var(--beige);
}

.membre-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--blanc);
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: 100%;
}

.membre-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #6BBF4E, #2D6A2F);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--blanc);
}

.membre-card h5 { font-size: 1rem; margin-bottom: 4px; color: var(--vert-foret); }
.membre-card .role { font-size: 0.82rem; color: var(--texte-doux); }

/* ============================================================
   PAGE ACTIONS
   ============================================================ */
.actions-section {
  padding: 80px 0;
  background: var(--blanc);
}

.action-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

.action-item:last-child { border-bottom: none; }

.action-item.reverse { direction: rtl; }
.action-item.reverse > * { direction: ltr; }

.action-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #4a7a3a, #2D6A2F);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action-number {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 3.5rem;
  color: var(--border);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.action-item h3 {
  font-size: 1.35rem;
  color: var(--vert-foret);
  margin-bottom: 12px;
}

.action-item p {
  color: var(--texte-doux);
  line-height: 1.8;
}

/* impact chiffres sur fond vert */
.impact-section {
  background: var(--vert-foret);
  padding: 70px 0;
  color: var(--blanc);
}

.impact-section .chiffre-number { color: var(--vert-clair); }
.impact-section .chiffre-label { color: rgba(255,255,255,0.75); }

/* ============================================================
   PAGE REJOINDRE
   ============================================================ */
.soutien-section {
  padding: 80px 0;
  background: var(--blanc);
}

.soutien-card {
  padding: 32px 24px;
  border-radius: 2px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--blanc);
}

.soutien-card:hover { box-shadow: 0 4px 18px rgba(45,106,47,0.13); transform: translateY(-3px); }

.soutien-card .soutien-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
}

.soutien-card h4 {
  font-size: 1.1rem;
  color: var(--vert-foret);
  margin-bottom: 12px;
}

.soutien-card p {
  font-size: 0.9rem;
  color: var(--texte-doux);
  line-height: 1.7;
}

.pourquoi-section {
  background: var(--beige);
  padding: 70px 0;
}

.pourquoi-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.pourquoi-num {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--vert-foret);
  font-weight: 700;
  line-height: 1;
  min-width: 48px;
}

.pourquoi-item h4 { font-size: 1rem; margin-bottom: 6px; }
.pourquoi-item p { font-size: 0.9rem; color: var(--texte-doux); }

/* don banner */
.don-section {
  background: var(--bleu-eau);
  padding: 75px 0;
  text-align: center;
  color: var(--blanc);
}

.don-section h2 { color: var(--blanc); font-size: 2rem; margin-bottom: 14px; }
.don-section p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }

/* formulaire */
.contact-section {
  padding: 80px 0;
  background: var(--blanc);
}

.form-fondation .form-control,
.form-fondation .form-select {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  background: var(--blanc);
  color: var(--texte);
  transition: border-color 0.2s;
}

.form-fondation .form-control:focus,
.form-fondation .form-select:focus {
  border-color: var(--vert-foret);
  box-shadow: 0 0 0 3px rgba(45,106,47,0.1);
  outline: none;
}

.form-fondation label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 5px;
  display: block;
  letter-spacing: 0.02em;
}

.form-fondation textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group { margin-bottom: 20px; }

.btn-submit {
  background: var(--vert-foret);
  color: var(--blanc);
  border: none;
  padding: 0.75rem 2.5rem;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: #245225; }

.alert-success-custom {
  background: #e8f5e9;
  border: 1px solid var(--vert-foret);
  color: #1b5e20;
  padding: 14px 18px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.alert-error-custom {
  background: #fce4ec;
  border: 1px solid #c62828;
  color: #b71c1c;
  padding: 14px 18px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 0.92rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-section {
  padding: 80px 0;
  background: var(--blanc);
}

.article-card {
  background: var(--blanc);
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.article-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.12); }

.article-card .art-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card .art-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #6BBF4E, #2D6A2F);
}

.article-card .art-body {
  padding: 20px;
}

.article-card .art-date {
  font-size: 0.78rem;
  color: var(--texte-doux);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--vert-foret);
  line-height: 1.35;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--texte-doux);
  line-height: 1.65;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body {
  background: #f0f2f0;
  min-height: 100vh;
  font-family: Helvetica, Arial, sans-serif;
}

.admin-sidebar {
  width: 240px;
  background: var(--vert-foret);
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform 0.25s ease;
}

.admin-sidebar .brand {
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: Helvetica, Arial, sans-serif;
  color: var(--blanc);
  font-size: 1rem;
  line-height: 1.3;
}

.admin-sidebar .brand small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin-top: 2px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--blanc);
  border-left-color: var(--vert-clair);
}

.admin-nav .nav-section {
  padding: 16px 20px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.admin-main {
  margin-left: 240px;
  padding: 30px;
}

.admin-topbar {
  background: var(--blanc);
  border-bottom: 1px solid var(--border);
  padding: 14px 30px;
  margin-left: 240px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar h1 {
  font-size: 1.2rem;
  color: var(--vert-foret);
  font-weight: 700;
}

.admin-topbar a.logout {
  font-size: 0.82rem;
  color: var(--marron);
  font-weight: 700;
}

/* Bouton hamburger (visible seulement sur mobile, voir media query) */
.admin-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--vert-foret);
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

/* Fond semi-transparent derrière le menu ouvert sur mobile */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
}
.admin-sidebar-overlay.visible { display: block; }

.admin-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px;
  margin-bottom: 24px;
}

.admin-card h2 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: var(--vert-foret);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  background: var(--beige);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texte-doux);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: var(--texte);
  vertical-align: middle;
}

.admin-table tr:hover td { background: #fafaf5; }

.badge-lu {
  background: #e8f5e9;
  color: #2D6A2F;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-nonlu {
  background: #fff3e0;
  color: #e65100;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}

.btn-admin {
  padding: 5px 13px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-admin-primary { background: var(--vert-foret); color: var(--blanc); }
.btn-admin-primary:hover { background: #245225; color: var(--blanc); }
.btn-admin-danger { background: #c62828; color: var(--blanc); }
.btn-admin-danger:hover { background: #b71c1c; color: var(--blanc); }
.btn-admin-warning { background: #f57f17; color: var(--blanc); }
.btn-admin-warning:hover { background: #e65100; color: var(--blanc); }

.stat-box {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-top: 3px solid var(--vert-foret);
  padding: 20px 22px;
  border-radius: 2px;
  text-align: center;
}

.stat-box .num {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--vert-foret);
  display: block;
}

.stat-box .lbl {
  font-size: 0.8rem;
  color: var(--texte-doux);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Login admin */
.admin-login-page {
  min-height: 100vh;
  background: var(--vert-foret);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  background: var(--blanc);
  padding: 42px 38px;
  width: 100%;
  max-width: 380px;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.login-box h1 {
  font-size: 1.5rem;
  color: var(--vert-foret);
  margin-bottom: 6px;
}

.login-box .sub {
  font-size: 0.85rem;
  color: var(--texte-doux);
  margin-bottom: 28px;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 30px; }
.text-muted { color: var(--texte-doux) !important; }
.text-center { text-align: center; }

/* animation compteur */
.count-up { opacity: 0; transform: translateY(10px); transition: opacity 0.5s, transform 0.5s; }
.count-up.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .citation-inner,
  .section-histoire .histoire-grid,
  .presidente-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline::before { left: 18px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-item::after { left: 14px; transform: none; }

  .action-item,
  .action-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
  }

  .hero-deco { display: none; }
}

@media (max-width: 767px) {
  /* Le menu admin devient un panneau qui glisse depuis la gauche,
     ouvert/fermé via le bouton hamburger (voir admin_header.php) */
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.ouvert {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  .admin-main, .admin-topbar { margin-left: 0; }
  .admin-menu-toggle { display: inline-flex; }
  .admin-topbar { padding: 14px 16px; }
  .admin-main { padding: 18px; }

  /* Les tableaux de l'admin défilent horizontalement plutôt que de casser la mise en page */
  .admin-card { overflow-x: auto; }
  .admin-table { min-width: 620px; }

  .chiffre-number { font-size: 2.5rem; }
  .citation-text blockquote { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 100px 0 40px; }
  .rejoindre-banner h2,
  .don-section h2 { font-size: 1.6rem; }
  .timeline-card { max-width: 100%; }
}