/**
 * =========================================================
 * Impact School Africa — style.css
 * Styles principaux (desktop-first, base ≥ 1200px)
 * =========================================================
 */

/* ---------------------------------------------------------
   1. VARIABLES
--------------------------------------------------------- */
:root {
    /* Couleurs — maquette */
    --color-navy: #002D5B;
    --color-navy-dark: #001F3F;
    --color-navy-soft: #0A3A6B;
    --color-orange: #F4A424;
    --color-orange-hover: #E09215;
    --color-stat-icon: #8B9A3C; /* vert olive / gold des icônes stats */
    --color-gray-bg: #F8F9FA;
    --color-white: #FFFFFF;
    --color-text: #2C3E50;
    --color-text-muted: #5A6A7A;
    --color-border: #E5E8EC;

    /* Typo */
    --font-primary: 'Poppins', sans-serif;

    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-pill: 50px;

    /* Ombres */
    --shadow-card: rgba(0, 0, 0, 0.05) 0px 10px 30px;
    --shadow-header: rgba(0, 0, 0, 0.08) 0px 4px 20px;
    --shadow-btn: rgba(0, 45, 91, 0.15) 0px 6px 16px;

    /* Layout */
    --container: 1180px;
    --header-height: 80px;
    --transition: 0.3s ease;
}

/* ---------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition), background-color var(--transition),
                border-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------------------------------------------------------
   3. UTILITAIRES LAYOUT
--------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.section-title__underline {
    display: block;
    width: 56px;
    height: 4px;
    background-color: var(--color-orange);
    border-radius: 2px;
    margin-top: 12px;
}

/* Apparition au scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   4. BOUTONS
--------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    border-radius: var(--radius-pill);
    padding: 14px 28px;
    border: 2px solid transparent;
    white-space: nowrap;
    transition: transform var(--transition), background-color var(--transition),
                color var(--transition), border-color var(--transition),
                box-shadow var(--transition);
}

.btn:hover {
    transform: scale(1.04);
}

.btn:active {
    transform: scale(0.98);
}

.btn--sm {
    padding: 11px 22px;
    font-size: 0.82rem;
}

.btn--lg {
    padding: 16px 34px;
    font-size: 0.95rem;
}

.btn--navy {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn--navy:hover {
    background-color: var(--color-navy-soft);
    box-shadow: var(--shadow-btn);
}

.btn--orange {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn--orange:hover {
    background-color: var(--color-orange-hover);
    box-shadow: rgba(244, 164, 36, 0.35) 0px 6px 18px;
}

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn--outline-navy {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn--outline-navy:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* ---------------------------------------------------------
   5. HEADER / NAVBAR
--------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-header);
    background-color: var(--color-white);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 20px;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo__text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo--footer .logo__text {
    color: var(--color-white);
}

/* Nav */
.nav__list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--color-orange);
}

.nav__link.is-active::after,
.nav__link:hover::after {
    width: 100%;
}

/* Actions header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* CTAs dans le drawer mobile (masqués desktop) */
.nav__actions-mobile {
    display: none;
}

/* Burger (masqué desktop) */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    z-index: 1001;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.burger.is-open .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   6. HERO
--------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 140px; /* espace pour la barre stats qui chevauche */
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding-top: 40px;
}

.hero__title {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   7. STATISTIQUES
--------------------------------------------------------- */
.statistics {
    position: relative;
    z-index: 10;
    margin-top: -90px; /* chevauchement sur le hero (accueil) */
    margin-bottom: 0;
    padding: 0;
}

/* Stats hors hero (ex. page À propos) */
.page-hero + .statistics,
.section + .statistics,
#equipe + .statistics,
.statistics.statistics--standalone {
    margin-top: 0;
    padding: 60px 0;
    background: var(--color-gray-bg);
}

.statistics__card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 36px 28px;
    gap: 12px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item__icon {
    font-size: 1.5rem;
    color: var(--color-stat-icon);
    margin-bottom: 12px;
}

.stat-item__number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-item__label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    line-height: 1.35;
}

/* ---------------------------------------------------------
   8. QUI SOMMES-NOUS (aperçu accueil)
--------------------------------------------------------- */
.about-preview {
    background-color: var(--color-white);
    padding-top: 90px;
    padding-bottom: 100px;
}

.about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-preview__img {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4.4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.about-preview__content .section-title {
    margin-bottom: 24px;
}

.about-preview__text {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.about-preview__content .btn {
    margin-top: 12px;
}

/* ---------------------------------------------------------
   9. FOOTER
--------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 72px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer__mission {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 20px 0 24px;
    max-width: 340px;
    color: rgba(255, 255, 255, 0.75);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: var(--color-white);
    font-size: 0.9rem;
}

.social-link:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-2px);
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 22px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer__links a:hover {
    color: var(--color-orange);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer__contact i {
    color: var(--color-orange);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.footer__contact a:hover {
    color: var(--color-orange);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
    display: flex;
    gap: 20px;
}

.footer__legal a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer__legal a:hover {
    color: var(--color-orange);
}

/* ---------------------------------------------------------
   10. BOUTON RETOUR EN HAUT
--------------------------------------------------------- */
.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(244, 164, 36, 0.4) 0px 6px 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition),
                transform var(--transition), background-color var(--transition);
    z-index: 900;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-orange-hover);
    transform: scale(1.08);
}

/* ---------------------------------------------------------
   11. UTILITAIRES SUPPLEMENTAIRES
--------------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.section--gray { background-color: var(--color-gray-bg); }

.section-title--center {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title--center .section-title__underline {
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: -8px auto 48px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ---------------------------------------------------------
   12. PAGE HERO (pages internes)
--------------------------------------------------------- */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-height) + 48px) 0 56px;
    background-image: var(--page-hero-bg);
    background-size: cover;
    background-position: center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,45,91,0.55) 0%, rgba(0,20,40,0.75) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.85rem;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.7);
}

.breadcrumb__item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.6;
}

.breadcrumb__item a:hover { color: var(--color-orange); }
.breadcrumb__item span[aria-current] { color: var(--color-white); font-weight: 500; }

/* ---------------------------------------------------------
   13. CARTES COMMUNES
--------------------------------------------------------- */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0,0,0,0.1) 0 16px 40px;
}

.card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card__body { padding: 22px 22px 26px; }

.card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.35;
}

.card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}

.card__link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card__link:hover { gap: 10px; }

.card__meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.cards-grid {
    display: grid;
    gap: 28px;
}

.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------------------------------------------------------
   14. DOMAINES D'INTERVENTION (accueil)
--------------------------------------------------------- */
.domains { background: var(--color-gray-bg); }

.domain-card__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(244,164,36,0.12);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

/* ---------------------------------------------------------
   15. NOTRE APPROCHE (timeline)
--------------------------------------------------------- */
.approach__steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    padding: 20px 0 10px;
}

.approach__steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 6%;
    right: 6%;
    border-top: 2px dashed #D0D5DD;
    z-index: 0;
}

.approach-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 160px;
}

.approach-step__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid var(--color-orange);
    background: var(--color-white);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.approach-step__num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 4px;
}

.approach-step__label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.35;
}

/* ---------------------------------------------------------
   16. PROJET A LA UNE + CARTE
--------------------------------------------------------- */
.featured-project__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.featured-card__img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.featured-card__body { padding: 32px 28px; }

.featured-card__loc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-card__loc i { color: var(--color-orange); }

.featured-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.progress {
    margin-bottom: 18px;
}

.progress__head {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.progress__bar {
    height: 10px;
    background: #EEF1F4;
    border-radius: 20px;
    overflow: hidden;
}

.progress__fill {
    height: 100%;
    background: var(--color-orange);
    border-radius: 20px;
    transition: width 1s ease;
}

.featured-card__stats {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.featured-card__stats strong {
    display: block;
    color: var(--color-navy);
    font-size: 1.15rem;
}

.map-placeholder {
    background: #E8F0F7;
    border-radius: var(--radius-lg);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder__icon {
    font-size: 5rem;
    color: var(--color-navy);
    opacity: 0.25;
    margin-bottom: 12px;
}

.map-placeholder__pins {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.map-pin {
    background: var(--color-navy);
    color: white;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------------------------------------------------------
   17. TEMOIGNAGES
--------------------------------------------------------- */
.testimonials { background: var(--color-gray-bg); }

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    transition: transform var(--transition);
}

.testimonial-card:hover { transform: translateY(-6px); }

.testimonial-card__quote-icon {
    color: var(--color-orange);
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.testimonial-card__text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    min-height: 110px;
}

.testimonial-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid rgba(244,164,36,0.3);
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 0.95rem;
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   18. PARTENAIRES
--------------------------------------------------------- */
.partners__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px 48px;
}

.partners__logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter var(--transition), opacity var(--transition);
}

.partners__logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ---------------------------------------------------------
   19. CTA BANNER
--------------------------------------------------------- */
.cta-banner {
    position: relative;
    padding: 90px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(244, 164, 36, 0.88);
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 28px;
}

.cta-banner__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   20. NEWSLETTER
--------------------------------------------------------- */
.newsletter { background: var(--color-gray-bg); }

.newsletter__inner { text-align: center; max-width: 640px; margin: 0 auto; }

.newsletter__text {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    height: 52px;
    padding: 0 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter__input:focus { border-color: var(--color-navy); }

.newsletter__msg {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--color-navy);
    font-weight: 500;
}

/* ---------------------------------------------------------
   21. ABOUT PAGE
--------------------------------------------------------- */
.about-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-block__grid--reverse .about-block__media { order: 2; }

.about-block__img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-block__text {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.75;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--transition);
}

.value-card:hover { transform: translateY(-6px); }

.value-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(244,164,36,0.12);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.value-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.value-card__text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-6px); }

.team-card__img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.team-card__body { padding: 20px; }

.team-card__name {
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   22. PROJETS — filtres / recherche / pagination
--------------------------------------------------------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-navy);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.is-active {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

.toolbar__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    min-width: 260px;
}

.toolbar__search input {
    border: none;
    outline: none;
    flex: 1;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: transparent;
}

.toolbar__search i { color: var(--color-text-muted); }

.project-card__progress {
    margin: 12px 0 8px;
}

.project-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination__btn {
    min-width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: white;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    transition: all var(--transition);
}

.pagination__btn:hover,
.pagination__btn.is-active {
    background: var(--color-navy);
    color: white;
    border-color: var(--color-navy);
}

/* ---------------------------------------------------------
   23. DETAIL PROJET / ACTUALITE
--------------------------------------------------------- */
.detail-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.detail-main__cover {
    width: 100%;
    border-radius: var(--radius-lg);
    max-height: 440px;
    object-fit: cover;
    margin-bottom: 28px;
}

.detail-main h2 {
    font-size: 1.35rem;
    color: var(--color-navy);
    margin: 28px 0 14px;
}

.detail-main p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.detail-main ul {
    list-style: disc;
    padding-left: 22px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.detail-main li { margin-bottom: 8px; line-height: 1.6; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.gallery-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.detail-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px;
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 16px;
}

/* ---------------------------------------------------------
   24. CONTACT
--------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(244,164,36,0.12);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__item h4 {
    color: var(--color-navy);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-info__item p,
.contact-info__item a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 36px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
    background: white;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-navy);
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
    border-color: #E74C3C;
}

.form-error {
    display: none;
    font-size: 0.78rem;
    color: #E74C3C;
    margin-top: 6px;
}

.form-group.is-invalid .form-error { display: block; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-success {
    display: none;
    background: #E8F8EF;
    color: #1B7A4A;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.form-success.is-visible { display: block; }

.map-embed {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #E8F0F7;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--color-text-muted);
    gap: 12px;
}

.map-embed i { font-size: 2.5rem; color: var(--color-navy); opacity: 0.4; }

/* ---------------------------------------------------------
   25. DON
--------------------------------------------------------- */
.donate-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 16px 8px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    background: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-navy);
    cursor: pointer;
    transition: all var(--transition);
}

.amount-btn:hover,
.amount-btn.is-active {
    border-color: var(--color-orange);
    background: rgba(244,164,36,0.08);
    color: var(--color-orange);
}

.donate-summary {
    background: var(--color-navy);
    color: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.donate-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.donate-summary__row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 0.92rem;
}

.donate-summary__row--total {
    border-bottom: none;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 8px;
    color: var(--color-orange);
}

.donate-summary .btn {
    width: 100%;
    margin-top: 24px;
}

.donate-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 14px;
    line-height: 1.5;
}
