/*
Theme Name:  REVES Senegal Pro
Theme URI:   https://reves-senegal.org
Author:      REVES Senegal International
Author URI:  https://reves-senegal.org
Description: Thème professionnel ONG — REVES Senegal International. Hero slider, modules d'accueil complets, administration facile depuis le dashboard WordPress. Conçu pour organisations à but non lucratif : dons, programmes, actualités, partenaires.
Version:     3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reves-senegal-pro
Tags:        ong, nonprofit, charity, slider, one-page, custom-menu, custom-logo, featured-images, responsive-layout, french
*/

/* ========================================================
   TABLE DES MATIÈRES
   1. VARIABLES & RESET
   2. TYPOGRAPHIE
   3. LAYOUT & CONTAINER
   4. HEADER & NAVIGATION
   5. HERO SLIDER
   6. SECTION : À PROPOS / PRÉSENTATION
   7. SECTION : STATISTIQUES / CHIFFRES CLÉS
   8. SECTION : PROGRAMMES / MISSIONS
   9. SECTION : ACTUALITÉS
   10. SECTION : APPELS À L'ACTION (CTA)
   11. SECTION : PARTENAIRES
   12. SECTION : TÉMOIGNAGES
   13. SECTION : NEWSLETTER
   14. FOOTER
   15. PAGES INTÉRIEURES
   16. WIDGETS & SIDEBAR
   17. RESPONSIVE
   18. ACCESSIBILITÉ
   ======================================================== */

/* ── 1. VARIABLES & RESET ── */
:root {
  --red:        #c1121f;
  --red-dark:   #9a0e18;
  --red-light:  #e63946;
  --green:      #2d6a4f;
  --green-light:#52b788;
  --gold:       #e9c46a;
  --dark:       #1a1a2e;
  --text:       #2c2c2c;
  --text-light: #666;
  --soft:       #f8f9fa;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.15);
  --radius:     8px;
  --radius-lg:  16px;
  --transition: all .3s ease;
  --font-body:  'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-head:  'Playfair Display', 'Georgia', serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* ── 2. TYPOGRAPHIE ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
  display: block;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header.left-align { text-align: left; }
.section-header.left-align .section-subtitle { margin-left: 0; }

/* ── 3. LAYOUT & CONTAINER ── */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}
.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1400px; }

.section { padding: 90px 0; }
.section--gray  { background: var(--soft); }
.section--dark  { background: var(--dark); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-subtitle { color: rgba(255,255,255,.75); }

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

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(193,18,31,.3); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white  { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--soft); color: var(--red-dark); transform: translateY(-2px); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--red); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__body { padding: 1.75rem; }
.card__img img { width: 100%; height: 220px; object-fit: cover; }

/* Tags / badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: rgba(193,18,31,.12);
  color: var(--red);
}

/* Divider */
.divider { height: 4px; width: 60px; background: var(--red); border-radius: 2px; margin: 1rem 0 1.5rem; }
.divider--center { margin: 1rem auto 1.5rem; }

/* ── 4. HEADER & NAVIGATION ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 56px; width: auto; }
.site-logo__text { line-height: 1.2; }
.site-logo__name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--red); display: block; }
.site-logo__tagline { font-size: .72rem; color: var(--text-light); display: block; max-width: 200px; }

/* Navigation principale */
.primary-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.primary-nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: block;
  padding: 28px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}
.primary-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--red);
  transition: var(--transition);
  border-radius: 2px 2px 0 0;
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a { color: var(--red); }
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li.current-menu-item > a::after { left: 0; right: 0; }

/* Sous-menus */
.primary-nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
  padding: 8px 0;
  border-top: 3px solid var(--red);
  z-index: 100;
}
.primary-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}
.primary-nav .sub-menu li a:hover { color: var(--red); background: var(--soft); padding-left: 28px; }

/* CTA Header */
.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* Burger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. HERO SLIDER ── */
.hero-slider {
  position: relative;
  height: min(90vh, 700px);
  overflow: hidden;
  background: var(--dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  cursor: pointer;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-slide__bg { transform: scale(1); }

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.85) 0%, rgba(26,26,46,.4) 100%);
}
.hero-slide__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-slide__inner { max-width: 660px; }
.hero-slide__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-slide__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero-slide__desc {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-slide__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--white); transform: scale(1.3); }

.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-50%) scale(1.1); }
.slider-arrow--prev { left: 24px; }
.slider-arrow--next { right: 24px; }

/* Mini info bar sous le slider */
.hero-infobar {
  background: var(--red);
  color: var(--white);
  padding: 14px 0;
}
.hero-infobar__inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.hero-infobar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
}
.hero-infobar__item span { opacity: .8; }
.hero-infobar__item strong { font-size: 1rem; }

/* ── 6. SECTION : À PROPOS / PRÉSENTATION ── */
.about-section { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--red);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge__number { font-size: 2.8rem; font-weight: 800; font-family: var(--font-head); line-height: 1; display: block; }
.about-badge__text   { font-size: .8rem; opacity: .88; margin-top: 4px; display: block; }

.about-content { padding-left: 1rem; }
.about-values { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.about-values span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(193,18,31,.08);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--red);
}
.about-values span::before { content: '✓'; font-weight: 900; }

/* ── 7. STATISTIQUES ── */
.stats-section { background: var(--dark); color: var(--white); padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-item__number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-item__label { font-size: .9rem; color: rgba(255,255,255,.75); font-weight: 500; }
.stat-item__icon { font-size: 2rem; margin-bottom: .75rem; display: block; }

/* ── 8. PROGRAMMES ── */
.programmes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.programme-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.programme-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.programme-card__img img { width: 100%; height: 200px; object-fit: cover; }
.programme-card__body { padding: 1.75rem; }
.programme-card__icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.programme-card__tag { margin-bottom: .75rem; }
.programme-card__title { font-size: 1.15rem; margin-bottom: .75rem; color: var(--dark); }
.programme-card__excerpt { font-size: .9rem; color: var(--text-light); margin-bottom: 1.25rem; line-height: 1.6; }
.programme-card__link { color: var(--red); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.programme-card__link::after { content: '→'; transition: var(--transition); }
.programme-card__link:hover::after { transform: translateX(4px); }

/* ── 9. ACTUALITÉS ── */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.news-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card__img img { width: 100%; height: 190px; object-fit: cover; }
.news-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card__meta { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; font-size: .8rem; color: var(--text-light); }
.news-card__title { font-size: 1.05rem; margin-bottom: .75rem; color: var(--dark); line-height: 1.35; flex: 1; }
.news-card__title a { color: inherit; }
.news-card__title a:hover { color: var(--red); }
.news-card__excerpt { font-size: .88rem; color: var(--text-light); margin-bottom: 1.25rem; }
.news-card__footer { margin-top: auto; }

/* ── 10. CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,.85); }
.cta-buttons { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }

/* ── 11. PARTENAIRES ── */
.partners-section { padding: 70px 0; background: var(--soft); }
.partners-track { display: flex; gap: 3rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 12px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: var(--transition);
  font-weight: 700;
  color: var(--text-light);
  font-size: .9rem;
  min-width: 140px;
}
.partner-item img { height: 44px; width: auto; filter: grayscale(1); opacity: .65; transition: var(--transition); }
.partner-item:hover img { filter: none; opacity: 1; }
.partner-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* ── 12. TÉMOIGNAGES ── */
.testimonials-section { padding: 90px 0; }
.testimonial-card {
  background: var(--soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.testimonial-card::before { content: '"'; position: absolute; top: -10px; left: 24px; font-size: 5rem; color: var(--red); opacity: .15; font-family: var(--font-head); line-height: 1; }
.testimonial-card__text { font-style: italic; font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; }
.testimonial-card__author { display: flex; align-items: center; gap: 1rem; }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--border); }
.testimonial-card__name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.testimonial-card__role { font-size: .8rem; color: var(--text-light); }

/* ── 13. NEWSLETTER ── */
.newsletter-section { background: var(--dark); color: var(--white); padding: 70px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.newsletter-form { display: flex; gap: .75rem; }
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form input[type="email"]:focus { border-color: var(--red); }

/* ── 14. FOOTER ── */
.site-footer { background: #0f0f1a; color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.footer-logo img { height: 50px; }
.footer-logo__name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }

.footer-heading { font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.footer-nav li { margin-bottom: .6rem; }
.footer-nav a { color: rgba(255,255,255,.65); font-size: .88rem; transition: var(--transition); }
.footer-nav a:hover { color: var(--red); padding-left: 4px; }

.footer-contact li { margin-bottom: .8rem; font-size: .88rem; display: flex; gap: 8px; align-items: flex-start; }
.footer-contact li span { opacity: .5; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--red); }

/* ── 15. PAGES INTÉRIEURES ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero__title { color: var(--white); margin-bottom: .5rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { opacity: .4; }

.content-area { padding: 70px 0; }
.post-content h2,
.post-content h3 { margin: 2rem 0 .75rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: .4rem; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  padding: 1.25rem 1.5rem;
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* ── 16. WIDGETS ── */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--dark); margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--red); }

/* ── 17. RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .about-grid  { gap: 3rem; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .menu-toggle { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    align-items: stretch;
  }
  .primary-nav.open { display: flex; }
  .primary-nav ul { flex-direction: column; }
  .primary-nav > ul > li > a { padding: 14px 20px; }
  .primary-nav > ul > li > a::after { display: none; }
  .primary-nav .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    background: var(--soft);
    border-top: none;
    padding: 0;
  }
  .header-cta .btn:not(.btn-don) { display: none; }

  .hero-slider { height: min(80vh, 540px); }
  .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
  .hero-slide__title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .hero-infobar__inner { gap: 1.5rem; }

  .about-grid    { grid-template-columns: 1fr; }
  .about-content { padding-left: 0; }
  .about-badge   { bottom: -16px; right: 16px; }

  .programmes-grid { grid-template-columns: 1fr; }
  .news-grid       { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form  { flex-direction: column; }

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

  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .hero-slide__cta { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ── 18. ACCESSIBILITÉ ── */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ── UTILITAIRES ── */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.hidden { display: none; }
