/* ============================================================
   HOME.CSS — Styles dédiés à la page d'accueil
   Grand African Projects — Design Premium v4.0
   ============================================================ */

/* ══════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════ */
.h-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-deeper);
}

.h-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.h-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.52) saturate(0.95);
}
.h-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,27,92,0.72) 0%,
    rgba(15,35,100,0.48) 55%,
    rgba(10,27,92,0.20) 100%
  );
}

.h-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(5rem, 10vh, 8rem);
}

.h-hero__text { max-width: 680px; }

.h-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(13, 158, 108, 0.45);
  border-radius: 999px;
  background: rgba(13, 158, 108, 0.12);
  color: #0D9E6C;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.h-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.h-hero__title em {
  font-style: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: #0D9E6C;
}

.h-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: rgba(232,238,248,0.85);
  margin-bottom: 2rem;
  max-width: 600px;
}

.h-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.h-btn-primary {
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(13, 158, 108, 0.35);
  border: 2px solid transparent;
}
.h-btn-primary:hover {
  background: #0A7D55;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13, 158, 108, 0.45);
}

.h-btn-secondary {
  background: rgba(255,255,255,0.12);
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.h-btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

.h-btn-ghost {
  background: transparent;
  color: rgba(232,238,248,0.8) !important;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: none;
}
.h-btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  transform: translateY(-3px);
}

.h-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: rgba(232,238,248,0.7);
  font-size: 0.88rem;
}
.h-hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.h-hero__trust i { color: #0D9E6C; font-size: 0.85rem; }

/* Stats sidebar */
.h-hero__stats {
  display: grid;
  gap: 1rem;
  min-width: 200px;
}
.h-stat-card {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(13, 158, 108,0.3);
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.h-stat-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-3px);
}
.h-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0D9E6C;
  line-height: 1;
  letter-spacing: -0.03em;
}
.h-stat-lbl {
  display: block;
  color: rgba(232,238,248,0.75);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
}

/* Scroll indicator */
.h-hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 2;
}
.h-hero__scroll span {
  display: block;
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
  animation: scroll-bounce 1.4s ease-in-out infinite;
}
.h-hero__scroll span:nth-child(2) { animation-delay: 0.2s; }
.h-hero__scroll span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scroll-bounce {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.6); }
}

/* ══════════════════════════════════════════════
   2. À PROPOS
   ══════════════════════════════════════════════ */
.h-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.h-about__img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.h-about__img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.h-about__img-wrap:hover img { transform: scale(1.04); }

.h-about__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.h-about__badge i {
  font-size: 1.5rem;
  color: var(--color-accent);
}
.h-about__badge strong { display: block; font-size: 0.95rem; font-weight: 700; }
.h-about__badge span { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

.h-about__side-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1rem;
}
.h-about__side-item {
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.h-about__side-item.accent { border-color: rgba(13, 158, 108,0.35); background: rgba(13, 158, 108,0.06); }
.h-about__side-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary);
}
.h-about__side-item.accent strong { color: var(--color-accent-dark); }
.h-about__side-item span { font-size: 0.82rem; color: var(--color-text-soft); }

.h-about__features {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.h-about__feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.h-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.h-about__feat strong { display: block; color: var(--color-heading); font-weight: 700; margin-bottom: 0.2rem; }
.h-about__feat p { color: var(--color-text-soft); font-size: 0.93rem; margin: 0; }

/* ══════════════════════════════════════════════
   3. MISSION / VISION / VALEURS
   ══════════════════════════════════════════════ */
.h-mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.h-mvv__card {
  padding: 2rem 1.75rem;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.h-mvv__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.h-mvv__card.featured::before { background: linear-gradient(90deg, var(--color-accent), #5DD4B0); opacity: 1; }
.h-mvv__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-light); }
.h-mvv__card:hover::before { opacity: 1; }
.h-mvv__card.featured { border-color: rgba(13, 158, 108,0.4); background: linear-gradient(145deg, rgba(13, 158, 108,0.05), var(--color-surface)); }

.h-mvv__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  margin: 0 auto 1.25rem;
  font-size: 1.7rem;
}
.h-mvv__icon.blue { background: var(--color-primary-soft); color: var(--color-primary); }
.h-mvv__icon.gold { background: rgba(13, 158, 108,0.12); color: var(--color-accent-dark); }

.h-mvv__card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.85rem;
}
.h-mvv__card p { color: var(--color-text-soft); font-size: 0.97rem; line-height: 1.7; }

/* ══════════════════════════════════════════════
   4. PROGRAMMES
   ══════════════════════════════════════════════ */
.h-programs__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.h-programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.h-prog-card {
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.h-prog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-soft), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.h-prog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(31,69,205,0.25);
}
.h-prog-card:hover::after { opacity: 1; }

.h-prog-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.35rem;
  transition: background var(--transition), color var(--transition);
}
.h-prog-card:hover .h-prog-card__icon {
  background: var(--color-primary);
  color: #fff;
}

.h-prog-card__body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.h-prog-card__body h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--color-heading); }
.h-prog-card__body p { color: var(--color-text-soft); font-size: 0.9rem; line-height: 1.65; flex: 1; }

/* ══════════════════════════════════════════════
   5. PROJETS PRIORITAIRES
   ══════════════════════════════════════════════ */
.h-focus__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.h-focus__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem 1.25rem;
  border-radius: 22px;
  border: 1px solid var(--color-border-mid);
  background: var(--color-surface);
  text-align: center;
  color: var(--color-heading);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: var(--shadow-xs);
}
.h-focus__item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 28px rgba(13, 158, 108,0.2);
  background: rgba(13, 158, 108,0.05);
  color: var(--color-accent-dark);
}
.h-focus__item i {
  font-size: 1.75rem;
  color: var(--color-primary);
  transition: color var(--transition);
}
.h-focus__item:hover i { color: var(--color-accent-dark); }

.h-focus__num {
  position: absolute;
  top: 0.65rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.35;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════
   6. CHIFFRES CLÉS
   ══════════════════════════════════════════════ */
.h-kpi {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--color-primary-deeper) 0%, #1a3590 100%);
}
.h-kpi .section-kicker { color: rgba(13, 158, 108,0.9); }
.h-kpi .section-heading { color: #fff; }
.h-kpi .section-copy { color: rgba(232,238,248,0.8); }

.h-kpi__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.h-kpi__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.h-kpi__card {
  padding: 2rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.h-kpi__card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); border-color: rgba(13, 158, 108,0.35); }
.h-kpi__card.featured {
  border-color: rgba(13, 158, 108,0.4);
  background: rgba(13, 158, 108,0.08);
}

.h-kpi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(13, 158, 108,0.15);
  color: #0D9E6C;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.h-kpi__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #0D9E6C;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.4rem;
}
.h-kpi__lbl {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.h-kpi__desc { color: rgba(232,238,248,0.65); font-size: 0.88rem; line-height: 1.65; }

/* ══════════════════════════════════════════════
   7. ACTUALITÉS
   ══════════════════════════════════════════════ */
.h-news__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--grid-gap);
}

.h-news__card {
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.h-news__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.h-news__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--color-surface-mid);
}
.h-news__card--featured .h-news__thumb { aspect-ratio: 16/10; }
.h-news__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.h-news__card:hover .h-news__thumb img { transform: scale(1.05); }

.h-news__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.h-news__badge.event { background: var(--color-primary); color: #fff; }
.h-news__badge.program { background: var(--color-accent); color: #fff; }
.h-news__badge.book { background: #10B981; color: #fff; }

.h-news__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.h-news__date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}
.h-news__body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.3;
}
.h-news__card--featured .h-news__body h3 { font-size: 1.25rem; }
.h-news__body p { color: var(--color-text-soft); font-size: 0.92rem; line-height: 1.65; flex: 1; }

/* ══════════════════════════════════════════════
   8. TÉMOIGNAGES
   ══════════════════════════════════════════════ */
.h-testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: 3rem;
}

.h-testi__card {
  padding: 2rem 1.75rem;
  border-radius: 26px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.h-testi__card.featured {
  border-color: rgba(31,69,205,0.3);
  background: linear-gradient(145deg, rgba(31,69,205,0.04), var(--color-surface));
  box-shadow: var(--shadow-card);
}
.h-testi__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.h-testi__quote {
  font-size: 2.5rem;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
}
.h-testi__card.featured .h-testi__quote { opacity: 0.5; }

.h-testi__card > p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.h-testi__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.h-testi__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.h-testi__author strong { display: block; color: var(--color-heading); font-size: 0.95rem; font-weight: 700; }
.h-testi__author span { color: var(--color-text-muted); font-size: 0.82rem; }

/* ══════════════════════════════════════════════
   9. GALERIE & VIDÉOS
   ══════════════════════════════════════════════ */
.h-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.h-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-primary-deeper);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.h-gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
.h-gallery__item--wide { grid-column: span 2; aspect-ratio: 16/7; }

.h-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.h-gallery__item:hover img { transform: scale(1.06); }

.h-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  background: linear-gradient(to top, rgba(10,27,92,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}
.h-gallery__item:hover .h-gallery__overlay { opacity: 1; }
.h-gallery__overlay span { color: #fff; font-weight: 700; font-size: 0.95rem; }

/* Vidéos */
.h-videos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  margin-top: 2rem;
}

.h-video__card {
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.h-video__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.h-video__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-primary-deeper);
  cursor: pointer;
}
.h-video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.h-video__card:hover .h-video__thumb img { transform: scale(1.04); }

.h-video__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #0A66C2;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.h-video__badge.linkedin { background: #0A66C2; }

.h-video__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.h-video__body h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--color-heading); }
.h-video__body p { color: var(--color-text-soft); font-size: 0.92rem; line-height: 1.65; }

/* ══════════════════════════════════════════════
   10. PARTENAIRES
   ══════════════════════════════════════════════ */
.h-partners {
  background: var(--color-surface);
}

.h-partners__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.h-partner__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 1.5rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-soft);
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.h-partner__item:hover {
  transform: translateY(-4px);
  border-color: rgba(31,69,205,0.25);
  box-shadow: var(--shadow-card);
  color: var(--color-primary);
}
.h-partner__item i {
  font-size: 2rem;
  color: var(--color-primary);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.h-partner__item:hover i { opacity: 1; }

.h-partners__cta {
  margin-top: 3rem;
  padding: 2.25rem 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(31,69,205,0.15);
  background: linear-gradient(130deg, var(--color-primary-soft), rgba(13, 158, 108,0.06));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.h-partners__cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}
.h-partners__cta-text p {
  color: var(--color-text-soft);
  font-size: 0.97rem;
  max-width: 520px;
}

/* ══════════════════════════════════════════════
   11. CTA FINAL
   ══════════════════════════════════════════════ */
.h-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 8rem);
}

.h-cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #060f2e 0%, #0c1f6e 50%, #1a3590 100%);
  z-index: 0;
}
.h-cta__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.h-cta__bg::after {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 158, 108,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.h-cta__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.h-cta__text { max-width: 520px; }

.h-cta__options {
  display: grid;
  gap: 0.85rem;
}

.h-cta__option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.h-cta__option:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(13, 158, 108,0.45);
  transform: translateX(6px);
}

.h-cta__opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  color: #0D9E6C;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.h-cta__opt-icon.accent { background: rgba(13, 158, 108,0.2); }
.h-cta__option:hover .h-cta__opt-icon { background: rgba(13, 158, 108,0.25); }

.h-cta__option div strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}
.h-cta__option div span {
  font-size: 0.82rem;
  color: rgba(232,238,248,0.65);
  font-weight: 400;
}

.h-cta__opt-arrow {
  color: rgba(255,255,255,0.35);
  font-size: 0.95rem;
  transition: color var(--transition), transform var(--transition);
}
.h-cta__option:hover .h-cta__opt-arrow {
  color: #0D9E6C;
  transform: translateX(4px);
}

.h-cta__primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  grid-column: 1;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — HOME — version complète
   ══════════════════════════════════════════════ */

/* ── Tablette large (≤ 1200px) ─────────────────── */
@media (max-width: 1200px) {
  .h-programs__grid        { grid-template-columns: repeat(3, 1fr); }
  .h-focus__grid           { grid-template-columns: repeat(4, 1fr); }
  .h-partners__logos       { grid-template-columns: repeat(4, 1fr); }
}

/* ── Tablette (≤ 1024px) ────────────────────────── */
@media (max-width: 1024px) {
  /* Hero */
  .h-hero__content         { grid-template-columns: 1fr; text-align: center; }
  .h-hero__text            { max-width: 100%; }
  .h-hero__sub             { max-width: 100%; }
  .h-hero__actions         { justify-content: center; }
  .h-hero__trust           { justify-content: center; }
  .h-hero__stats           { grid-template-columns: repeat(4, 1fr); min-width: unset; }

  /* À propos */
  .h-about__grid           { grid-template-columns: 1fr; }
  .h-about__media          { order: -1; }

  /* MVV */
  .h-mvv__grid             { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Programmes */
  .h-programs__grid        { grid-template-columns: repeat(2, 1fr); }

  /* Actualités */
  .h-news__grid            { grid-template-columns: 1fr 1fr; }
  .h-news__card--featured  { grid-column: span 2; }

  /* Témoignages */
  .h-testi__grid           { grid-template-columns: 1fr 1fr; }

  /* KPIs */
  .h-kpi__grid             { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .h-cta__content          { grid-template-columns: 1fr; }
  .h-cta__text             { max-width: 100%; text-align: center; }
  .h-cta__primary          { grid-column: auto; justify-content: center; }

  /* Vidéos */
  .h-videos__grid          { grid-template-columns: 1fr; }
}

/* ── Mobile (≤ 768px) ───────────────────────────── */
@media (max-width: 768px) {
  /* Hero */
  .h-hero                  { min-height: 100dvh; }
  .h-hero__content         { padding-block: clamp(4rem, 8vh, 6rem); gap: 2rem; }
  .h-hero__title           { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .h-hero__kicker          { font-size: 0.72rem; }
  .h-hero__sub             { font-size: 0.97rem; }
  .h-hero__stats           { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .h-stat-card             { padding: 1rem; }
  .h-stat-num              { font-size: 1.7rem; }
  .h-hero__actions         { flex-direction: column; align-items: stretch; }
  .h-hero__actions .button { width: 100%; justify-content: center; }
  .h-hero__trust           { flex-direction: column; align-items: center; gap: 0.6rem; }
  .h-hero__scroll          { display: none; }

  /* À propos */
  .h-about__side-stat      { grid-template-columns: 1fr 1fr; }
  .h-about__img-wrap img   { aspect-ratio: 16/9; }

  /* MVV */
  .h-mvv__grid             { grid-template-columns: 1fr; }

  /* Programmes */
  .h-programs__header      { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .h-programs__grid        { grid-template-columns: 1fr 1fr; gap: 1rem; }

  /* Focus */
  .h-focus__grid           { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .h-focus__item           { padding: 1.1rem 0.75rem 1rem; font-size: 0.82rem; }

  /* KPIs */
  .h-kpi__grid             { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .h-kpi__card             { padding: 1.5rem 1.1rem; }

  /* Actualités */
  .h-news__grid            { grid-template-columns: 1fr; }
  .h-news__card--featured  { grid-column: auto; }

  /* Témoignages */
  .h-testi__grid           { grid-template-columns: 1fr; }

  /* Galerie */
  .h-gallery__grid         {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .h-gallery__item--tall,
  .h-gallery__item--wide   { grid-row: auto; grid-column: auto; aspect-ratio: 4/3; }

  /* Vidéos */
  .h-videos__grid          { grid-template-columns: 1fr; }

  /* Partenaires */
  .h-partners__logos       { grid-template-columns: repeat(3, 1fr); }
  .h-partners__cta         { flex-direction: column; text-align: center; align-items: center; }
  .h-partners__cta-text p  { margin-inline: auto; }

  /* CTA */
  .h-cta__option           { grid-template-columns: auto 1fr; }
  .h-cta__opt-arrow        { display: none; }
  .h-cta__primary          { flex-direction: column; align-items: stretch; }
  .h-cta__primary .button  { width: 100%; justify-content: center; }
}

/* ── Petit mobile (≤ 480px) ─────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .h-hero__title           { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .h-hero__stats           { grid-template-columns: 1fr 1fr; }
  .h-stat-num              { font-size: 1.5rem; }

  /* Programmes */
  .h-programs__grid        { grid-template-columns: 1fr; }

  /* Focus */
  .h-focus__grid           { grid-template-columns: 1fr 1fr; }

  /* KPIs */
  .h-kpi__grid             { grid-template-columns: 1fr; }

  /* Galerie */
  .h-gallery__grid         { grid-template-columns: 1fr; }
  .h-gallery__item--tall,
  .h-gallery__item--wide   { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }

  /* Partenaires */
  .h-partners__logos       { grid-template-columns: repeat(2, 1fr); }

  /* À propos badges */
  .h-about__side-stat      { grid-template-columns: 1fr; }
  .h-about__badge          { padding: 0.65rem 0.85rem; }

  /* MVV */
  .h-mvv__grid             { grid-template-columns: 1fr; }

  /* Témoignages */
  .h-testi__grid           { grid-template-columns: 1fr; }

  /* Actualités */
  .h-news__card--featured .h-news__body h3 { font-size: 1.05rem; }

  /* Sections header centré sur mobile */
  .h-programs__header .section-heading,
  .h-programs__header .section-kicker { text-align: left; }
}

/* ── Très petit (≤ 360px) ───────────────────────── */
@media (max-width: 360px) {
  .h-focus__grid           { grid-template-columns: 1fr; }
  .h-hero__stats           { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .h-stat-num              { font-size: 1.3rem; }
  .h-partners__logos       { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   DARK MODE OVERRIDES
   ══════════════════════════════════════════════ */
[data-theme="dark"] .h-mvv__card { background: var(--color-surface); border-color: var(--color-border); }
[data-theme="dark"] .h-mvv__card.featured { background: rgba(13, 158, 108,0.06); }
[data-theme="dark"] .h-prog-card { background: var(--color-surface); }
[data-theme="dark"] .h-news__card { background: var(--color-surface); }
[data-theme="dark"] .h-testi__card { background: var(--color-surface); }
[data-theme="dark"] .h-partner__item { background: var(--color-surface-alt); }
[data-theme="dark"] .h-about__side-item { background: var(--color-surface); }
[data-theme="dark"] .h-partners__cta { background: linear-gradient(130deg, rgba(31,69,205,0.12), rgba(13, 158, 108,0.06)); }
[data-theme="dark"] .h-focus__item { background: var(--color-surface); }
[data-theme="dark"] .h-video__card { background: var(--color-surface); }
[data-theme="dark"] .h-stat-card { background: rgba(255,255,255,0.05); }
