/* ============================================================
   FAJ Niger - Fonds d'Appui à la Justice
   Style Principal
   Couleurs: Bleu marine #1B2A4A, Orange #E8870A
   ============================================================ */

:root {
  --primary: #1B2A4A;
  --primary-light: #243564;
  --primary-dark: #0f1a30;
  --secondary: #E8870A;
  --secondary-light: #f0a030;
  --secondary-dark: #c97008;
  /* Accent doré / sable (identité institutionnelle) */
  --gold: #C9A24B;
  --gold-light: #E4CE97;
  --gold-dark: #A6822F;
  --sand: #F6F1E7;
  /* Vert justice (accent secondaire institutionnel) */
  --justice-green: #1E5B4F;
  --white: #ffffff;
  --light: #f8f9fa;
  --light-gray: #e9ecef;
  --gray: #6c757d;
  --dark: #212529;
  --success: #28a745;
  --danger: #dc3545;
  --font-main: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
  --shadow: 0 4px 20px rgba(27, 42, 74, 0.12);
  --shadow-lg: 0 10px 40px rgba(27, 42, 74, 0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }

/* ===== ACCESSIBILITÉ : ÉTATS DE FOCUS CLAVIER ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lien "Aller au contenu" pour la navigation clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--primary);
  color: var(--white) !important;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ===== ACCESSIBILITÉ : RESPECT DES PRÉFÉRENCES DE MOUVEMENT RÉDUIT ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid { padding: 0 30px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 8px 0;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left span {
  margin-right: 20px;
}

.topbar-left span i {
  color: var(--secondary);
  margin-right: 6px;
}

.topbar-right a {
  color: rgba(255,255,255,0.8);
  margin-left: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition);
}

.topbar-right a:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
  background: rgba(232, 135, 10, 0.08);
}

.nav-link i {
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  border-top: 3px solid var(--secondary);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--dark);
  font-size: 14px;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: rgba(232, 135, 10, 0.08);
  color: var(--secondary);
  padding-left: 28px;
}

/* CTA Button */
.btn-donate {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(232, 135, 10, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-donate:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 135, 10, 0.5);
}

.btn-donate i { font-size: 15px; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(232, 135, 10, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 135, 10, 0.45);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline-primary:hover {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.3);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(27, 42, 74, 0.4);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-white:hover {
  background: var(--light);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== SECTION STYLES ===== */
section { padding: 90px 0; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 135, 10, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(232, 135, 10, 0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--secondary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(27, 42, 74, 0.92) 0%, 
    rgba(27, 42, 74, 0.75) 50%,
    rgba(27, 42, 74, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}

.hero-inner {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 135, 10, 0.2);
  border: 1px solid rgba(232, 135, 10, 0.5);
  color: var(--secondary-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--secondary-light);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Counter in hero */
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-light);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--secondary);
  width: 30px;
  border-radius: 5px;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--primary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(232, 135, 10, 0.08);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: rgba(232, 135, 10, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--secondary);
  font-size: 24px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

/* ===== À PROPOS SECTION ===== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.5s;
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-img-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--secondary);
  color: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.about-img-badge strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.about-img-badge span {
  font-size: 13px;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.about-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 135, 10, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature-text h6 {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-feature-text p {
  font-size: 13px;
  color: var(--gray);
}

/* ===== PROJETS ===== */
.projects-section {
  background: var(--light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-cat-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-body {
  padding: 25px;
}

.project-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.project-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-progress {
  margin-bottom: 20px;
}

.progress-bar {
  background: var(--light-gray);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  border-radius: 4px;
  transition: width 1s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.progress-percent {
  font-weight: 700;
  color: var(--secondary);
}

.progress-amount {
  color: var(--gray);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.project-meta {
  font-size: 13px;
  color: var(--gray);
}

.project-meta i {
  color: var(--secondary);
  margin-right: 4px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(232, 135, 10, 0.35);
  position: relative;
  z-index: 2;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== DON SECTION ===== */
.don-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.don-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(232, 135, 10, 0.06);
  border-radius: 50%;
}

.don-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.don-section .section-title { color: var(--white); }
.don-section .section-subtitle { color: rgba(255,255,255,0.75); }
.don-section .section-tag { background: rgba(232, 135, 10, 0.2); border-color: rgba(232, 135, 10, 0.4); }

.don-form-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 14px 10px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--secondary);
  background: rgba(232, 135, 10, 0.08);
  color: var(--secondary);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group label span.required {
  color: var(--danger);
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(232, 135, 10, 0.1);
}

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

/* Payment Methods */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.payment-method-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.payment-method-btn:hover,
.payment-method-btn.active {
  border-color: var(--secondary);
  background: rgba(232, 135, 10, 0.06);
}

.payment-method-btn img,
.payment-method-btn i {
  width: 30px;
  height: 30px;
  object-fit: contain;
  font-size: 22px;
}

.payment-method-btn.orange i { color: #FF6600; }
.payment-method-btn.moov i { color: #0066CC; }
.payment-method-btn.visa i { color: #1A1F71; }
.payment-method-btn.mastercard i { color: #EB001B; }

/* ===== TEMOIGNAGES ===== */
.testimonials-section {
  background: var(--light);
}

.testimonials-slider {
  padding: 20px 10px 50px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 80px;
  color: rgba(232, 135, 10, 0.15);
  font-family: serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 16px;
  font-size: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gray);
}

/* ===== NEWS ===== */
.news-section {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  height: 200px;
  overflow: hidden;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--gray);
}

.news-meta i {
  color: var(--secondary);
  margin-right: 4px;
}

.news-cat {
  color: var(--secondary);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: var(--transition);
}

.news-card:hover .news-title {
  color: var(--secondary);
}

.news-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.read-more i {
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ===== PARTENAIRES ===== */
.partners-section {
  background: var(--light);
  padding: 60px 0;
}

.partners-track {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
}

.partner-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-item img {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ===== FOOTER ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); }

.footer-top { padding: 80px 0 50px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.footer-brand-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(232, 135, 10, 0.4);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 10px;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-contact-info {
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.contact-item i {
  color: var(--secondary);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255,255,255,0.65);
}

.contact-item a:hover { color: var(--secondary); }

.footer-newsletter h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  font-size: 13px;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 18px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--secondary-dark);
}

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--secondary);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-icon {
  width: 35px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(0.6);
}

.payment-text {
  font-size: 11px;
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(232, 135, 10, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(232, 135, 10, 0.05);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .separator { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--secondary); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
}

/* ===== ALERTS ===== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  color: #155724;
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #721c24;
}

.alert-info {
  background: rgba(27, 42, 74, 0.08);
  border: 1px solid rgba(27, 42, 74, 0.2);
  color: var(--primary);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }

.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }

.overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 50px; }

.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Tags page */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-infrastructure { background: rgba(27, 42, 74, 0.1); color: var(--primary); }
.tag-formation { background: rgba(232, 135, 10, 0.1); color: var(--secondary); }
.tag-humanisation { background: rgba(40, 167, 69, 0.1); color: var(--success); }
.tag-acces_justice { background: rgba(220, 53, 69, 0.1); color: var(--danger); }
.tag-numerisation { background: rgba(23, 162, 184, 0.1); color: #17a2b8; }

/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: pulse 1.5s ease-in-out infinite;
  margin: 0 auto 20px;
}

.loader p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 12px;
}

.modal p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-about { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  
  .topbar-left span:first-child { display: none; }
  
  .navbar-nav { 
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    padding: 80px 30px 30px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    overflow-y: auto;
    z-index: 999;
  }
  
  .navbar-nav.open { right: 0; }
  
  .nav-list { flex-direction: column; align-items: flex-start; gap: 5px; }
  .nav-link { width: 100%; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--light-gray); }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 5px 0 5px 20px;
    display: none;
  }
  
  .nav-item.open .dropdown-menu { display: block; }
  
  .navbar-cta { display: none; }
  .mobile-toggle { display: flex; z-index: 1000; }
  
  .about-img-badge { left: 10px; }
  .about-features { grid-template-columns: 1fr; }
  
  .projects-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  
  .form-row { grid-template-columns: 1fr; }
  .amount-presets { grid-template-columns: repeat(2, 1fr); }
  .payment-methods-grid { grid-template-columns: 1fr; }
  
  .don-form-container { padding: 30px 20px; }
  
  .news-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-about { grid-column: auto; }
  
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  
  .hero-stats { gap: 20px; }
  .hero-stat-number { font-size: 26px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card::after { display: none; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; }
}

/* ===== MOT DU DIRECTEUR GÉNÉRAL ===== */
.dg-section { position: relative; }

@media (max-width: 900px) {
  .dg-section [style*="grid-template-columns:300px"] {
    grid-template-columns: 1fr !important;
  }
  .dg-section [style*="border-right"] {
    border-right: none !important;
    border-bottom: 1px solid rgba(232,135,10,0.15) !important;
    padding: 36px 24px !important;
  }
  .dg-section [style*="padding:48px 48px"] {
    padding: 32px 24px !important;
  }
  .dg-section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .dg-section [style*="justify-content:space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 576px) {
  .dg-section [style*="padding:40px 32px"] {
    padding: 28px 20px !important;
  }
  .dg-section [style*="font-size:80px"] {
    font-size: 50px !important;
  }
}

/* ============================================================
   SECTIONS INSTITUTIONNELLES (domaines, valeurs, partenaires)
   Ajout ak_main — palette bleu institutionnel + accents dorés
   ============================================================ */

/* ── Domaines d'intervention ── */
.domaines-section {
  padding: 90px 0;
  background: var(--sand);
}
.domaines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.domaine-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--dcolor, var(--primary));
  transition: var(--transition);
  color: inherit;
}
.domaine-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.domaine-icon {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  color: var(--dcolor, var(--primary));
  background: color-mix(in srgb, var(--dcolor, var(--primary)) 12%, white);
  margin-bottom: 22px;
}
.domaine-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.domaine-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  flex: 1;
}
.domaine-link {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.domaine-card:hover .domaine-link { color: var(--secondary); }

/* ── Valeurs ── */
.valeurs-section {
  padding: 90px 0;
  background: var(--white);
}
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.valeur-card {
  text-align: center;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff 0%, var(--sand) 100%);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}
.valeur-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-light);
}
.valeur-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold-dark);
  background: color-mix(in srgb, var(--gold) 18%, white);
}
.valeur-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.valeur-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Projet phare (carte sans montant fictif) ── */
.project-img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--gold-light);
  font-size: 54px;
  position: relative;
}

/* ── Pourquoi s'engager / partenaires ── */
.engager-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.engager-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.engager-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.engager-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--primary);
  background: color-mix(in srgb, var(--gold) 16%, white);
}
.engager-title { font-size: 15.5px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.engager-desc { font-size: 13px; color: var(--gray); line-height: 1.7; }
.engager-cta {
  margin-top: 50px;
  text-align: center;
  padding: 44px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}
.engager-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  margin-bottom: 24px;
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .domaines-grid { grid-template-columns: repeat(2, 1fr); }
  .valeurs-grid  { grid-template-columns: repeat(2, 1fr); }
  .engager-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .domaines-grid, .valeurs-grid, .engager-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GOUVERNANCE & CADRE FINANCIER (pages institutionnelles)
   ═══════════════════════════════════════════════════════════════════════════ */

/* — Piliers de gouvernance — */
.gouv-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.gouv-pillar {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
}
.gouv-pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gouv-pillar-icon {
  width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.gouv-pillar h3 { font-family: var(--font-display); font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.gouv-pillar p { color: var(--gray); line-height: 1.7; font-size: 15px; }

/* — Cartes des membres du Conseil — */
.conseil-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.conseil-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius-lg);
  padding: 30px 26px 30px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex; align-items: center; gap: 18px;
}
.conseil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.conseil-num {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-display); font-size: 34px; font-weight: 800;
  color: var(--light-gray); line-height: 1;
}
.conseil-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--secondary);
  background: rgba(232, 135, 10, 0.12);
}
.conseil-card p { color: var(--dark); font-weight: 600; line-height: 1.5; font-size: 15px; }

/* — Attributions (liste à puces) — */
.gouv-split .section-tag { display: inline-block; }
.attrib-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.attrib-list li {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.attrib-list li:hover { border-color: var(--primary-light); transform: translateX(4px); }
.attrib-list li i { color: var(--success); font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.attrib-list li span { color: var(--dark); line-height: 1.6; font-weight: 500; }

/* — Sources de ressources — */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 50px;
}
.source-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.source-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.source-icon {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--gold-dark);
  background: color-mix(in srgb, var(--gold) 18%, transparent);
}
.source-card p { color: var(--dark); font-size: 14.5px; line-height: 1.6; font-weight: 500; }

/* — Clé de répartition (anneaux %) — */
.repartition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 50px;
}
.repartition-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.repartition-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.repartition-ring {
  width: 150px; height: 150px; margin: 0 auto 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(closest-side, var(--white) 74%, transparent 75% 100%),
    conic-gradient(var(--primary) calc(var(--pct) * 1%), var(--light-gray) 0);
}
.repartition-pct {
  font-family: var(--font-display); font-size: 42px; font-weight: 800;
  color: var(--primary); line-height: 1;
}
.repartition-pct small { font-size: 20px; margin-left: 2px; }
.repartition-card h3 { font-family: var(--font-display); font-size: 18px; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.repartition-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.repartition-note {
  margin-top: 40px; text-align: center;
  color: var(--gray); font-size: 14.5px;
  background: var(--light); padding: 16px 22px; border-radius: var(--radius);
  border: 1px dashed var(--light-gray);
}
.repartition-note i { color: var(--primary); margin-right: 8px; }

/* — Bande CTA institutionnelle — */
.engager-cta-band {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
}

/* — Responsive — */
@media (max-width: 992px) {
  .gouv-pillars, .conseil-grid, .repartition-grid { grid-template-columns: repeat(2, 1fr); }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .gouv-split { grid-template-columns: 1fr !important; gap: 36px !important; }
}
@media (max-width: 576px) {
  .gouv-pillars, .conseil-grid, .sources-grid, .repartition-grid { grid-template-columns: 1fr; }
}
