/* ============================================
   AJFTPE - MAIN STYLESHEET
   Association environnementale de Tombouctou
   ============================================ */

/* CSS Variables & Reset */
:root {
    --primary-dark: #0B5D2A;
    --primary: #4CAF50;
    --primary-light: #81C784;
    --accent: #D4AF37;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #666666;
    --dark: #333333;
    
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 30px 50px rgba(0,0,0,0.15);
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.social-icons {
    gap: 12px;
}

.navbar-nav {
    flex: 1;
    justify-content: center;
}

/* Navigation */
.navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.8rem;
}

.brand-icon {
    color: var(--primary);
    margin-right: 8px;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 80%;
}

.btn-support {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
}

.social-icons {
    gap: 15px;
}

.social-icons a {
    color: #2e7d32; /* vert écologique */
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #00c853; /* vert plus vif */
    transform: translateY(-2px);
}

/* IMPORTANT : ne pas impacter le menu */
.navbar-nav {
    flex: 1;
    justify-content: center;
}

.btn-support:after {
    display: none;
}

/* Hero Section */
/* ========== SECTION HERO CORRIGÉE ========== */
.hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(11,93,42,0.85), rgba(76,175,80,0.8)), url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteneur principal */
.hero-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Titre - Version corrigée */
.hero-title {
    margin: 0;
    padding: 0;
    font-family: var(--font-title);
    font-weight: 800;
    color: white;
    text-align: center;
    line-height: 1.3;
    font-size: 50px;
}

/* Ligne 1 */
.hero-title .line1 {
    display: block;
    font-size: 3rem;
    text-align: center;
    white-space: nowrap;
}

/* Ligne 2 */
.hero-title .line2 {
    display: block;
    font-size: 3rem;
    text-align: center;
    color: var(--accent);
    white-space: nowrap;
    margin-top: 5px;
}

/* Sous-titre */
.hero-subtitle {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
}

/* Boutons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* RESPONSIVE - Pour les écrans un peu plus petits */
@media (max-width: 950px) {
    .hero-title .line1 {
        font-size: 2.5rem;
        white-space: normal;
        max-width: 900px;
    }
    
    .hero-title .line2 {
        font-size: 2.5rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-title .line1 {
        font-size: 1.8rem;
    }
    
    .hero-title .line2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 80%;
    }
}

@media (max-width: 550px) {
    .hero-title .line1 {
        font-size: 1.4rem;
    }
    
    .hero-title .line2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .hero-title .line1 {
        font-size: 1.2rem;
    }
    
    .hero-title .line2 {
        font-size: 1.2rem;
    }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline-light {
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Activity Cards */
.activity-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.activity-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.activity-icon i {
    font-size: 2rem;
    color: var(--white);
}

.activity-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    color: var(--white);
}

.stat-card {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number-lg {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-title);
}

.stat-label-lg {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Presentation Section */
.presentation-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.presentation-image img {
    transition: var(--transition);
}

.presentation-image:hover img {
    transform: scale(1.05);
}

.project-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.intervention-map img{
    width: 100%;
    max-width: 600px;
    height: auto;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-title);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Impact Section */
.impact-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.impact-card h3 {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1rem;
    text-align: center;
    margin: 0;
}

.impact-card p {
    padding: 1.5rem;
    text-align: center;
}

/* Uniformiser la taille des logos */
.partner-logo {
    width: 100%;
    height: 100px; /* même hauteur pour tous */
    object-fit: contain; /* évite la déformation */
    display: block;
    margin: 0 auto;
}

/* Conteneur des logos */
.partners-section .col-md-2 {
    text-align: center;
    position: relative;
}

/* Ajouter le nom du partenaire en dessous */
.partners-section .col-md-2::after {
    content: attr(data-name);
    display: block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Testimonials */
.testimonial-swiper {
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin: 1rem;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--primary-dark);
}

.testimonial-author span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-brand h3 {
    color: var(--white);
    margin: 0;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info li i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(37,211,102,0.3);
    transition: var(--transition);
    font-weight: 600;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20b859;
    color: white;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Mission Cards */
.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Team Cards */
.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
    object-fit: cover;
    object-position: top;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.team-info span {
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Team Preview Section - Page d'accueil */
.team-preview {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

/* Bouton Voir toute l'équipe */
.btn-team-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #0B5D2A;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid #4CAF50;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-team-all:hover {
    background: linear-gradient(135deg, #4CAF50, #0B5D2A);
    color: white;
    gap: 15px;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

.btn-team-all i {
    transition: transform 0.3s ease;
}

.btn-team-all:hover i {
    transform: translateX(5px);
}

/* Ajustements responsives pour la section team */
@media (max-width: 768px) {
    .team-card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn-team-all {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ============================================
   GALERIE SECTION
   ============================================ */

.gallery-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
}

/* Filtres galerie */
.gallery-filters {
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #4CAF50;
    color: #0B5D2A;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #4CAF50, #0B5D2A);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Cartes galerie */
.gallery-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 93, 42, 0.9), rgba(76, 175, 80, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    color: #0B5D2A;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: #D4AF37;
    color: white;
    transform: scale(1.1);
}

/* Bouton voir plus galerie */
.btn-gallery-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #4CAF50;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: 2px solid #4CAF50;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gallery-more:hover {
    background: linear-gradient(135deg, #4CAF50, #0B5D2A);
    color: white;
    gap: 15px;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.2);
}

/* Modal lightbox */
.modal-content {
    background: transparent;
    border: none;
    position: relative;
}

.modal .modal-content img {
    border-radius: 20px;
}

.modal-caption {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin-top: 1rem;
}

.modal-caption h4 {
    color: #0B5D2A;
    margin-bottom: 0.5rem;
}

.modal-caption p {
    color: #666;
    margin: 0;
}

.btn-close-modal {
    position: absolute;
    top: -40px;
    right: -10px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: #D4AF37;
    color: white;
    transform: rotate(90deg);
}

/* Animations filtres */
.gallery-item {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive galerie */
@media (max-width: 768px) {
    .filter-btn {
        padding: 0.3rem 1rem;
        margin: 0.25rem;
        font-size: 0.8rem;
    }
    
    .gallery-info h4 {
        font-size: 1rem;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
    }
    
    .gallery-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .btn-gallery-more {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76,175,80,0.1);
}

.contact-info-wrapper {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 2.5rem;
    border-radius: 20px;
    color: var(--white);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.contact-info-item p {
    margin: 0;
    opacity: 0.9;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Support Cards */
.support-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 2rem;
    color: var(--white);
}

.donation-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.amount-btn {
    background: var(--gray-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.amount-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.support-list {
    text-align: left;
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.support-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-list li i {
    color: var(--primary);
}

.impact-small {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition);
}

.impact-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.impact-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    font-family: var(--font-title);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 20px;
        margin-top: 1rem;
        box-shadow: var(--shadow-md);
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }
    
    .contact-form-wrapper, .contact-info-wrapper {
        padding: 1.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        width: 30ch; /* ajuste jusqu'à obtenir 2 lignes parfaites */
        margin: 0 auto;
        text-align: center;
        line-height: 1.2;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ========== HERO SECTION AVEC CARROUSEL ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Conteneur du carrousel */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Chaque slide */
.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

/* Slide active */
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* Animation de zoom sur les slides */
.hero-slider .slide.active {
    animation: zoomEffect 8s ease-in-out infinite;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Overlay vert pour lisibilité */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11,93,42,0.75), rgba(76,175,80,0.65));
    z-index: 2;
}

/* Contenu hero */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ========== ANIMATION DU TITRE ========== */
/* Animation d'apparition du titre */
.hero-title {
    margin: 0;
    padding: 0;
    font-family: var(--font-title);
    font-weight: 800;
    color: white;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

/* Animation ligne par ligne */
.hero-title .line1 {
    display: block;
    font-size: 3rem;
    text-align: center;
    animation: slideInLeft 0.8s ease-out;
}

.hero-title .line2 {
    display: block;
    font-size: 3rem;
    text-align: center;
    color: var(--accent);
    animation: slideInRight 0.8s ease-out 0.3s both;
}

/* Animation du sous-titre */
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animation des boutons */
.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

/* Keyframes d'animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Effet de surbrillance sur le titre */
.hero-title .line1 {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255,255,255,0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(255,255,255,0.6);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title .line1,
    .hero-title .line2 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}