/* Animations de base */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Interface Modernisée et Attrayante */

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #222;
    font-weight: 600;
}

/* Améliorations générales */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa085 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-outline-success {
    color: #28a745;
    border: 2px solid #28a745;
    background: transparent;
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    transform: translateY(-2px);
}

.navbar {
    background-color: #fff; /* Blanc */
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.navbar-brand strong {
    color: #28a745; /* Vert */
}

.nav-link.active {
    color: #28a745 !important; /* Vert */
    font-weight: 500;
}

.btn-primary {
    background-color: #28a745; /* Vert */
    border-color: #28a745; /* Vert */
}

.btn-primary:hover {
    background-color: #218838; /* Vert plus foncé au survol */
    border-color: #1e7e34; /* Vert plus foncé au survol */
}

.btn-outline-primary {
    color: #28a745; /* Vert */
    border-color: #28a745; /* Vert */
}

.btn-outline-primary:hover {
    background-color: #28a745; /* Vert */
    color: #fff; /* Blanc */
}

.hero {
    height: 500px; /* Ajustement de la hauteur pour plus d'impact */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff; /* Texte blanc sur le hero */
    position: relative;
    overflow: hidden; /* Cache les débordements pour l'animation */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Overlay sombre pour contraster avec le texte blanc */
}

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

.hero h1 {
    color: #fff; /* Blanc pour le titre du hero */
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.5s forwards; /* Animation sur le titre */
    opacity: 0;
}

.hero p {
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards; /* Animation sur le paragraphe */
}

.hero .btn-primary {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards; /* Animation sur le bouton */
}

.section {
    padding: 60px 0;
    background-color: #fff; /* Sections sur fond blanc par défaut */
}

.section-dark {
    background-color: #333; /* Section sur fond noir */
    color: #fff;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5, .section-dark h6 {
    color: #fff;
}

.section h1, .section h2 {
    margin-bottom: 30px;
}

.card {
    border: 1px solid #eee; /* Bordure légère */
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour le hover */
}

.card:hover {
    transform: translateY(-5px); /* Léger mouvement vers le haut au survol */
    box-shadow: 0 8px 16px rgba(0,0,0,.1); /* Ombre plus prononcée au survol */
}

.footer {
    background-color: #222; /* Noir pour le footer */
    color: #fff;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #28a745; /* Vert pour les liens du footer */
}

.footer small {
    color: #aaa; /* Gris clair pour les petites infos */
}

/* === NOUVEAUX STYLES MODERNES === */

/* Header amélioré */
.navbar-brand .logo-icon {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: rotate(360deg);
}

.social-icons .bi {
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons .bi:hover {
    color: #28a745 !important;
    transform: scale(1.2);
}

/* Statistiques animées */
.stats-container {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-item {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }
.stat-item:nth-child(4) { animation-delay: 0.6s; }

.hero-content {
    animation: fadeIn 1.2s ease-out;
}

/* Boutons modernes */
.hero-buttons .btn {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Section Mission */
.mission-image-container {
    animation: slideInRight 1s ease-out;
}

.mission-image-container img {
    transition: transform 0.5s ease;
}

.mission-image-container:hover img {
    transform: scale(1.05);
}

/* Cartes d'engagement */
.engagement-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
    overflow: hidden;
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.icon-wrapper {
    animation: bounceIn 0.8s ease-out;
}

/* Cartes de projets */
.project-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
}

.card-img-container img {
    transition: transform 0.5s ease;
    height: 100%;
    object-fit: cover;
}

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

.hover-overlay {
    transition: opacity 0.3s ease;
}

.project-card:hover .hover-overlay {
    opacity: 1 !important;
}

/* Animations générales */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive improvements */
@media (max-width: 768px) {
    /* HERO MOBILE - Corrections majeures */
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding: 4rem 0 3rem !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .hero .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero .row {
        align-items: flex-start !important;
    }

    .hero-content {
        text-align: center !important;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    }

    .hero-buttons {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        margin-bottom: 0.5rem !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
    }

    /* STATISTIQUES MOBILE - Améliorations */
    .stats-container {
        margin-top: 3rem !important;
        padding: 0 1rem !important;
    }

    .stat-item {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem !important;
        border-radius: 12px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .stat-icon {
        margin-bottom: 0.75rem !important;
    }

    .stat-icon i {
        font-size: 1.5rem !important;
    }

    .stat-number {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }

    .stat-label {
        font-size: 0.9rem !important;
    }

    /* SECTIONS MOBILE - Corrections générales */
    .section {
        padding: 3rem 0 !important;
    }

    .section .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* GRILLES RESPONSIVE - Améliorations */
    .row {
        --bs-gutter-x: 1rem !important;
        --bs-gutter-y: 1rem !important;
    }

    .col-lg-4, .col-md-6, .col-lg-3, .col-lg-6, .col-xl-4 {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* NAVIGATION MOBILE - Améliorations complètes */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98) !important;
        border-radius: 0 0 12px 12px !important;
        margin-top: 0.5rem !important;
        padding: 1rem !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(40, 167, 69, 0.1) !important;
    }

    .navbar-nav {
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0 !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        font-weight: 500 !important;
    }

    .nav-link:hover {
        background: rgba(40, 167, 69, 0.1) !important;
        transform: translateX(5px) !important;
        color: #28a745 !important;
    }

    .nav-link.active {
        background: rgba(40, 167, 69, 0.1) !important;
        color: #28a745 !important;
        font-weight: 600 !important;
    }

    /* DROPDOWN MOBILE */
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border: none !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
        border-radius: 8px !important;
        margin-top: 0.5rem !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(40, 167, 69, 0.1) !important;
    }

    .dropdown-item {
        padding: 0.75rem 1rem !important;
        border-radius: 6px !important;
        margin: 0.125rem 0 !important;
        transition: all 0.3s ease !important;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        color: white !important;
        transform: translateX(5px) !important;
    }

    /* CTA BUTTON MOBILE */
    .btn-success {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 25px !important;
        box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
        transition: all 0.3s ease !important;
    }

    .btn-success:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    }

    /* CARTES RESPONSIVE */
    .card {
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
    }

    .card:hover {
        transform: none !important; /* Désactiver hover mobile */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    }

    /* FOOTER MOBILE */
    .footer {
        padding: 2rem 0 1rem !important;
    }

    .footer .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .footer .row {
        text-align: center !important;
    }

    .footer .col-md-6 {
        margin-bottom: 1.5rem !important;
    }

    /* FORMULAIRE DE CONTACT MOBILE */
    .contact-form-card {
        margin-bottom: 2rem !important;
        border-radius: 12px !important;
    }

    .contact-form-card .card-body {
        padding: 2rem 1.5rem !important;
    }

    .form-floating {
        margin-bottom: 1rem !important;
    }

    .form-floating > .form-control {
        padding: 1rem 0.75rem !important;
        font-size: 1rem !important;
    }

    .form-floating > label {
        padding: 1rem 0.75rem !important;
        font-size: 0.9rem !important;
    }

    /* BOUTONS CTA */
    .btn-lg {
        padding: 0.875rem 1.75rem !important;
        font-size: 1.1rem !important;
        border-radius: 25px !important;
        min-height: 44px !important; /* Accessibilité tactile */
        transition: all 0.3s ease !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Boutons hero spécifiques - Améliorations */
    .hero-buttons .btn-success,
    .hero-buttons .btn-outline-success {
        position: relative !important;
        overflow: hidden !important;
        border-width: 2px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: 0.5px !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-tap-highlight-color: rgba(40, 167, 69, 0.3) !important;
        touch-action: manipulation !important;
    }

    .hero-buttons .btn-success::before,
    .hero-buttons .btn-outline-success::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
        transition: left 0.5s ease !important;
    }

    .hero-buttons .btn-success:hover::before,
    .hero-buttons .btn-outline-success:hover::before {
        left: 100% !important;
    }

    /* Liens actifs et focus pour accessibilité */
    .hero-buttons .btn:focus {
        outline: none !important;
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3) !important;
    }

    /* Animation d'entrée des boutons */
    .hero-buttons .btn {
        animation: btnSlideIn 0.8s ease-out forwards !important;
        opacity: 0 !important;
        transform: translateY(20px) !important;
    }

    .hero-buttons .btn:nth-child(1) {
        animation-delay: 0.2s !important;
    }

    .hero-buttons .btn:nth-child(2) {
        animation-delay: 0.4s !important;
    }

    @keyframes btnSlideIn {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* TEXTE RESPONSIVE */
    .display-4 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .display-5 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }

    .lead {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }

    h1, h2, h3 {
        line-height: 1.3 !important;
    }

    /* ESPACEMENT AMÉLIORÉ */
    .section {
        padding: 3rem 0 !important;
    }

    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mb-5 {
        margin-bottom: 3rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .mb-3 {
        margin-bottom: 1rem !important;
    }

    /* ANIMATIONS MOBILES RÉDUITES */
    .card:hover {
        transform: none !important;
    }

    .btn:hover {
        transform: none !important;
    }

    .hover-lift:hover {
        transform: none !important;
    }

    /* IMAGES RESPONSIVE */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* SECTIONS AVEC BACKGROUND */
    .section[id] {
        background-attachment: scroll !important;
    }

    /* MISSION SECTION MOBILE */
    .mission-content {
        margin-bottom: 2rem;
    }

    .mission-highlights .highlight-item {
        padding: 0.25rem;
    }

    /* CARDS MOBILE IMPROVEMENTS */
    .engagement-card,
    .project-card,
    .impact-card,
    .domain-card,
    .objective-card {
        margin-bottom: 2rem;
    }

    /* CONTACT MOBILE */
    .contact-info,
    .contact-form {
        margin-bottom: 2rem;
    }

    /* STATS GRID MOBILE */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }

    /* HEADER MOBILE */
    .navbar-brand .logo-section {
        text-align: center;
    }

    .navbar-brand strong {
        font-size: 1.2rem;
    }

    .navbar-brand small {
        font-size: 0.7rem;
    }

    /* LOGO MOBILE */
    .logo-wrapper {
        margin-bottom: 0.5rem;
    }

    .brand-info {
        text-align: center !important;
        margin-top: 1rem;
    }

    /* TOP BAR MOBILE */
    .top-bar {
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .top-bar .row > div {
        margin-bottom: 0.25rem;
    }

    /* BACK TO TOP MOBILE */
    .back-to-top {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 45px !important;
        height: 45px !important;
    }

    /* NEWSLETTER MOBILE */
    .newsletter-content,
    .newsletter-form {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* SOCIAL LINKS FOOTER */
    .footer .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer .social-links a {
        margin: 0 0.25rem;
    }

    /* EXECUTIVE CARDS MOBILE */
    .executive-card {
        margin-bottom: 2rem !important;
    }

    .executive-card .card-body {
        padding: 1.5rem !important;
    }

    .member-photo {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto 1rem !important;
    }

    /* TEAM MEMBER CARDS MOBILE */
    .team-member-card {
        margin-bottom: 1.5rem !important;
    }

    .team-member-card .card-body {
        padding: 1.5rem !important;
        text-align: center !important;
    }

    /* PAGE ÉQUIPE MOBILE */
    #equipe .display-5 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }

    /* PAGE MISSION MOBILE */
    #mission .display-5 {
        font-size: 1.8rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    /* PAGE OBJECTIFS MOBILE */
    #objectifs .display-5 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }

    /* PAGE DOMAINES MOBILE */
    #domaines .display-5 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }

    /* PAGE CONTACT MOBILE */
    #contact .display-5 {
        font-size: 1.8rem !important;
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    /* HERO ULTRA-MOBILE */
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .hero p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        max-width: 250px !important;
        padding: 0.625rem 0.875rem !important;
        font-size: 0.95rem !important;
    }

    /* STATISTIQUES ULTRA-MOBILE */
    .display-5 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .stat-item {
        text-align: center !important;
        margin: 0 auto 1rem !important;
        max-width: 280px !important;
        padding: 1.25rem 0.75rem !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    /* NAVIGATION ULTRA-MOBILE */
    .navbar-brand strong {
        font-size: 1.1rem !important;
    }

    .navbar-brand small {
        font-size: 0.65rem !important;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem !important;
    }

    .navbar-collapse {
        padding: 0.75rem !important;
    }

    .nav-link {
        padding: 0.625rem 0.875rem !important;
        font-size: 0.95rem !important;
    }

    /* CARTES ULTRA-MOBILE */
    .card {
        margin-bottom: 1.25rem !important;
        border-radius: 10px !important;
    }

    .card .card-body {
        padding: 1.25rem !important;
    }

    /* FORMULAIRES ULTRA-MOBILE */
    .form-floating > .form-control {
        padding: 0.875rem 0.625rem !important;
        font-size: 0.95rem !important;
    }

    .form-floating > label {
        padding: 0.875rem 0.625rem !important;
        font-size: 0.8rem !important;
    }

    .btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    /* IMAGES ULTRA-MOBILE - CORRECTIONS */
    .member-photo {
        width: 120px !important;
        height: 120px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .card-img-container img,
    .card-img-top {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Photos de l'équipe */
    .team-member-card img,
    .executive-card img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Images des projets et impacts */
    .impact-image,
    .mission-image-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 8px !important;
    }

    /* Images des domaines */
    .domain-card .card-img-overlay {
        padding: 1rem !important;
    }

    .domain-card h5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .domain-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    /* FOOTER ULTRA-MOBILE */
    .footer {
        padding: 1.5rem 0 0.75rem !important;
    }

    .footer .social-links a {
        width: 35px !important;
        height: 35px !important;
        margin: 0 0.125rem !important;
    }

    /* BACK TO TOP ULTRA-MOBILE */
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 0.75rem !important;
        right: 0.75rem !important;
    }

    /* SECTIONS ULTRA-MOBILE */
    .section {
        padding: 2rem 0 !important;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* TEXTE ULTRA-MOBILE */
    .lead {
        font-size: 1rem !important;
    }

    /* TOP BAR ULTRA-MOBILE */
    .top-bar {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    /* LOGO ULTRA-MOBILE */
    .logo-circle {
        width: 40px !important;
        height: 40px !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    /* EXECUTIVE CARDS ULTRA-MOBILE */
    .executive-card .card-body {
        padding: 1.25rem !important;
        text-align: center !important;
    }

    .executive-card h5,
    .executive-card .card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .executive-card p,
    .executive-card .card-text {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* TEAM CARDS ULTRA-MOBILE */
    .team-member-card .card-body {
        padding: 1.25rem !important;
        text-align: center !important;
    }

    .team-member-card h6,
    .team-member-card .card-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .team-member-card small,
    .team-member-card .text-muted {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* CONTACT INFO ULTRA-MOBILE */
    .contact-info-card .card-body {
        padding: 1.25rem !important;
        text-align: center !important;
    }

    .contact-info-card h5 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }

    .contact-info-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* CARTES DE DOMAINES ULTRA-MOBILE */
    .domain-card .card-img-overlay {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        height: 100% !important;
        background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    }

    .domain-card h5 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .domain-card p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .domain-card .badge {
        font-size: 0.8rem !important;
        padding: 0.25rem 0.5rem !important;
    }

    /* TEXTES GÉNÉRAUX ULTRA-MOBILE */
    .display-4 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .display-5 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .lead {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* PARAGRAPHES ET TEXTES LONGS */
    p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.6 !important;
    }

    /* LIENS ET BOUTONS */
    a {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* ÉVITER LES DÉBORDEMENTS */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100% !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col, [class*="col-"] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* NEWSLETTER ULTRA-MOBILE */
    .newsletter-form .input-group {
        flex-direction: column !important;
    }

    .newsletter-form .btn {
        width: 100% !important;
        margin-top: 0.5rem !important;
        border-radius: 0 0 25px 25px !important;
    }
}

/* Scrollbar personnalisé */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #28a745;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #218838;
}

/* === INTERFACES UNIQUES PAR SECTION === */

/* HERO - Interface Magnifique & Immersive */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%),
                url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBzYWhlbHxlbnwwfHx8fDE3MDE1NTQ4NTF8MA&ixlib=rb-4.0.3&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
                rgba(40, 167, 69, 0.1) 0%,
                rgba(255, 215, 0, 0.08) 50%,
                rgba(40, 167, 69, 0.1) 100%);
    z-index: 1;
}

@keyframes heroGlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* MISSION - Interface Sobre & Institutionnelle */
#mission {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 3px solid #28a745;
    box-shadow: inset 0 0 50px rgba(40, 167, 69, 0.05);
}

#mission .display-5 {
    color: #2d5a2d;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

#mission .display-5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
}

/* ENGAGEMENT - Interface Moderne & Colorée */
#engagement {
    background: linear-gradient(135deg, rgba(255, 250, 240, 0.95) 0%, rgba(255, 245, 235, 0.9) 100%),
                url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBob3BlfGVufDB8fHx8MTcwMTU1NDg1MXww&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#engagement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(40, 167, 69, 0.03) 10px,
        rgba(40, 167, 69, 0.03) 20px
    );
}

/* PROJETS - Interface Dynamique & Energique */
#projets {
    background: linear-gradient(45deg, rgba(135, 206, 235, 0.1) 0%, rgba(70, 130, 180, 0.08) 50%, rgba(25, 25, 112, 0.05) 100%),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBjb21tdW5pdHklMjBhZ3JpY3VsdHVyZXxlbnwwfHx8fDE3MDE1NTU0ODUxfDB8&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

#projets .display-5 {
    background: linear-gradient(45deg, #1e90ff, #00bfff, #4169e1, #000080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite alternate;
    text-shadow: none !important;
}

#projets::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(30, 144, 255, 0.1) 90deg, transparent 180deg, rgba(0, 191, 255, 0.1) 270deg, transparent 360deg);
    animation: projectsRotate 20s linear infinite;
    z-index: 1;
}

@keyframes projectsRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#projets .container {
    position: relative;
    z-index: 2;
}

/* ÉQUIPE - Interface Humaine & Chaleureuse */
#equipe {
    background: linear-gradient(135deg, rgba(255, 218, 185, 0.95) 0%, rgba(255, 228, 196, 0.9) 50%, rgba(255, 239, 213, 0.85) 100%),
                url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjB0ZWFtfGVufDB8fHx8MTcwMTU1NDg1MXww&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#equipe .display-5 {
    color: #8b4513 !important;
    text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.2);
}

#equipe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 69, 0, 0.05) 0%, transparent 50%);
}

/* SOUTIEN - Interface Émotionnelle & Inspirante */
#soutien {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1) 0%, rgba(255, 192, 203, 0.15) 50%, rgba(255, 218, 221, 0.1) 100%),
                url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBoZWxwJTIwaGFuZHN8ZW58MHx8fHwxNzAxNTU0ODUxfDB8&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#soutien::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-radial-gradient(circle at 25% 25%, rgba(255, 20, 147, 0.05) 0px, transparent 50px),
                repeating-radial-gradient(circle at 75% 75%, rgba(255, 105, 180, 0.05) 0px, transparent 50px);
}

/* IMPACTS - Interface Factuelle & Professionnelle */
#impacts {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
}

#impacts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(40, 167, 69, 0.02) 50%, transparent 60%);
    background-size: 60px 60px;
}

/* OBJECTIFS - Interface Moderne & Inspirante */
#objectifs {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 50%, rgba(240, 240, 240, 0.85) 100%),
                url('https://images.unsplash.com/photo-1544717297-fa95b6ee9643?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBlZHVjYXRpb258ZW58MHx8fHwxNzAxNTU0ODUxfDB8&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#objectifs .display-5 {
    color: #2e8b57 !important;
    text-shadow: 1px 1px 2px rgba(46, 139, 87, 0.2);
}

/* CONTACT - Interface Pratique & Accessible */
#contact {
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.98) 0%, rgba(230, 240, 255, 0.95) 50%, rgba(220, 230, 255, 0.92) 100%),
                url('https://images.unsplash.com/photo-1551632436-cbf8dd35adfa?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGNvbnRhY3R8ZW58MHx8fHwxNzAxNTU0ODUxfDB8&ixlib=rb-4.0.3&q=80&w=1080');
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#contact .display-5 {
    background: linear-gradient(45deg, #4682b4, #5f9ea0, #20b2aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(135, 206, 235, 0.1) 0%, transparent 70%);
}

/* Conteneur image de soutien */
.support-image-container {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.support-image-container img {
    transition: transform 0.5s ease;
}

.support-image-container:hover img {
    transform: scale(1.03);
}

/* Overlay de statistiques sur l'image */
.impact-stats-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.stat-badge {
    animation: bounceIn 0.8s ease-out 0.5s both;
}

/* Cartes d'impact */
.impact-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 15px;
    overflow: hidden;
}

.impact-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.impact-card .card-img-container {
    height: 220px;
    overflow: hidden;
}

.impact-card .card-img-top {
    transition: transform 0.5s ease;
    height: 100%;
    object-fit: cover;
}

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

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.8) 0%, rgba(34, 197, 94, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impact-card:hover .impact-overlay {
    opacity: 1;
}

/* Statistiques d'impact */
.impact-stat {
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.impact-card:hover .impact-stat {
    background-color: rgba(40, 167, 69, 0.15) !important;
    transform: scale(1.05);
}

/* Footer avec image de fond */
.footer {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.85);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

/* Améliorations responsive pour les images de fond */
@media (max-width: 768px) {
    #engagement,
    #projets,
    #equipe,
    #soutien,
    .footer {
        background-attachment: scroll !important;
    }

    .hero {
        background-attachment: scroll;
    }
}

/* Optimisations de performance pour les images */
img {
    max-width: 100%;
    height: auto;
}

/* Lazy loading effect pour les images */
.fade-in-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.fade-in-image.loaded {
    opacity: 1;
}

/* Améliorations générales pour les sections avec fond */
.section {
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* === CORRECTIONS RESPONSIVITÉ GÉNÉRALES === */

/* Background images fixes pour mobile */
@media (max-width: 991px) {
    /* Désactiver background-attachment: fixed sur mobile pour éviter les bugs */
    .hero,
    .section[id],
    #mission,
    #engagement,
    #projets,
    #equipe,
    #soutien,
    #impacts,
    #objectifs,
    #contact,
    #domaines,
    .footer {
        background-attachment: scroll !important;
    }

    /* Améliorer le rendu des backgrounds sur mobile */
    .hero,
    .section {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}

/* Corrections pour les très petits écrans */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .hero {
        padding: 3rem 0 2rem !important;
    }

    .hero h1 {
        font-size: 1.6rem !important;
    }

    .hero p {
        font-size: 0.9rem !important;
    }
}

/* Corrections pour les écrans moyens */
@media (min-width: 769px) and (max-width: 991px) {
    .hero h1 {
        font-size: 3rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero p {
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .stats-container {
        padding: 0 2rem !important;
    }

    /* Images sur tablettes */
    .member-photo {
        width: 140px !important;
        height: 140px !important;
    }

    .card-img-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Textes sur tablettes */
    .executive-card h5 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }

    .team-member-card h6 {
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
    }

    .domain-card h5 {
        font-size: 1.2rem !important;
        word-wrap: break-word !important;
    }

    .domain-card p {
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
    }

    /* Containers sur tablettes */
    .container {
        max-width: 100% !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Corrections pour les écrans mobiles moyens */
@media (min-width: 577px) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .stats-container {
        padding: 0 1.5rem !important;
    }

    /* Images mobiles moyens */
    .member-photo {
        width: 130px !important;
        height: 130px !important;
    }

    .card-img-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Textes mobiles moyens */
    .executive-card h5 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }

    .team-member-card h6 {
        font-size: 1.05rem !important;
        word-wrap: break-word !important;
    }

    .domain-card h5 {
        font-size: 1.15rem !important;
        word-wrap: break-word !important;
    }

    .domain-card p {
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
    }

    /* Containers mobiles moyens */
    .container {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .display-5 {
        font-size: 1.9rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
}

/* Corrections générales pour tous les appareils */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Corrections spécifiques pour les images */
.member-photo,
.team-member-card img,
.executive-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.card-img-container img,
.card-img-top,
.impact-image img,
.mission-image-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Corrections pour les textes longs */
p, .card-text, .lead, .text-muted {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

/* Corrections pour les containers */
.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Corrections pour les grilles Bootstrap */
.row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
}

.col, [class*="col-"] {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/* Corrections pour les cartes */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card-body {
    padding: 1.5rem;
}

/* Corrections pour les boutons */
.btn {
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Corrections pour les formulaires */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Améliorer la lisibilité des textes sur les backgrounds */
.hero .hero-content h1,
.hero .hero-content p,
.section .container h1,
.section .container h2,
.section .container .lead {
    position: relative;
    z-index: 2;
}

/* Corrections pour les cartes avec background */
.card-img-overlay {
    z-index: 1;
}

.card-img-overlay .text-white,
.card-img-overlay h5,
.card-img-overlay p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Corrections pour les dropdowns */
.dropdown-menu {
    z-index: 1050;
}

/* Corrections pour les modals */
.modal {
    z-index: 1060;
}

/* Corrections pour les tooltips */
.tooltip {
    z-index: 1070;
}

/* Améliorer l'accessibilité mobile */
@media (max-width: 768px) {
    .btn {
        min-height: 44px; /* Taille minimale pour les boutons tactiles */
        min-width: 44px;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Améliorer la taille des zones cliquables */
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Corrections pour les navigateurs mobiles */
@media (hover: none) and (pointer: coarse) {
    /* Désactiver les effets hover sur les appareils tactiles */
    .card:hover {
        transform: none !important;
    }

    .btn:hover {
        transform: none !important;
    }

    .nav-link:hover {
        transform: none !important;
    }

    .social-link:hover {
        transform: none !important;
    }

    .dropdown-item:hover {
        transform: none !important;
    }
}

/* Corrections pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero,
    .section {
        background-size: cover !important;
    }
}

/* Corrections pour Safari mobile */
@supports (-webkit-touch-callout: none) {
    .hero {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .section[id] {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* === STYLES SPÉCIFIQUES PAR SECTION === */

/* Styles spécifiques pour chaque section */
#engagement .engagement-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 240, 0.9) 100%);
    border: 2px solid rgba(210, 180, 140, 0.3);
    backdrop-filter: blur(10px);
}

#engagement .engagement-card:hover {
    border-color: rgba(210, 180, 140, 0.6);
    box-shadow: 0 15px 35px rgba(210, 180, 140, 0.2);
}

#engagement .icon-wrapper {
    background: linear-gradient(135deg, #daa520, #ffd700);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.3);
}

#projets .project-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.9) 100%);
    border: 2px solid rgba(30, 144, 255, 0.2);
    backdrop-filter: blur(10px);
}

#projets .project-card:hover {
    border-color: rgba(30, 144, 255, 0.5);
    box-shadow: 0 20px 40px rgba(30, 144, 255, 0.2);
}

#projets .display-5 {
    background: linear-gradient(45deg, #1e90ff, #00bfff, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite alternate;
}

@keyframes textShimmer {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

#equipe .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 228, 196, 0.9) 100%);
    border: 2px solid rgba(255, 140, 0, 0.2);
    backdrop-filter: blur(10px);
}

#equipe .card:hover {
    border-color: rgba(255, 140, 0, 0.5);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.2);
    transform: translateY(-8px) rotate(1deg);
}

#soutien .display-5 {
    color: #dc143c;
    text-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}

#soutien .btn {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    border: none;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.3);
}

#soutien .btn:hover {
    background: linear-gradient(135deg, #ff69b4, #ffb6c1);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 20, 147, 0.4);
}

#impacts .impact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    border: 2px solid rgba(40, 167, 69, 0.1);
    backdrop-filter: blur(5px);
}

#impacts .impact-card:hover {
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.15);
}

#impacts .impact-stat {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(34, 197, 94, 0.15) 100%);
    border-left: 4px solid #28a745;
}

#contact .contact-info, #contact .contact-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.9) 100%);
    border: 2px solid rgba(135, 206, 235, 0.3);
    backdrop-filter: blur(15px);
}

#contact .contact-info:hover, #contact .contact-form:hover {
    border-color: rgba(135, 206, 235, 0.6);
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.2);
}

/* Footer avec style unique */
.footer {
    background: linear-gradient(180deg, rgba(25, 25, 112, 0.95) 0%, rgba(0, 0, 139, 1) 100%),
                url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w1NjY1NTJ8MHwxfHNlYXJjaHwxfGFmcmljYW4lMjBzYWhlbHxlbnwwfHx8fDE3MDE1NTQ4NTF8MA&ixlib=rb-4.0.3&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: #ffffff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(25, 25, 112, 0.8) 0%, rgba(0, 0, 139, 0.9) 100%);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer strong {
    color: #ffd700;
}

.footer a {
    color: #87ceeb;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffffff;
}

/* Animations spécifiques par section */
#engagement .engagement-card {
    animation: fadeInUp 0.8s ease-out both;
}

#engagement .engagement-card:nth-child(1) { animation-delay: 0.1s; }
#engagement .engagement-card:nth-child(2) { animation-delay: 0.2s; }
#engagement .engagement-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#projets .project-card {
    animation: slideInScale 0.8s ease-out both;
}

#projets .project-card:nth-child(1) { animation-delay: 0.1s; }
#projets .project-card:nth-child(2) { animation-delay: 0.3s; }
#projets .project-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateX(0);
    }
}

#impacts .impact-card {
    animation: bounceIn 0.8s ease-out both;
}

#impacts .impact-card:nth-child(1) { animation-delay: 0.1s; }
#impacts .impact-card:nth-child(2) { animation-delay: 0.3s; }
#impacts .impact-card:nth-child(3) { animation-delay: 0.5s; }

/* Section Contact avec image de fond */
#contact {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

#contact::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(40, 167, 69, 0.03) 100%);
}

/* Styles pour les cartes de contact */
.contact-info, .contact-form {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info:hover, .contact-form:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* Placeholder de carte */
.map-placeholder {
    transition: all 0.3s ease;
}

.location-map:hover .map-placeholder {
    background-color: rgba(40, 167, 69, 0.05) !important;
    transform: scale(1.02);
}

/* Améliorations pour les formulaires */
.form-control:focus, .form-select:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Animations pour les icônes de contact */
.contact-info i {
    transition: transform 0.3s ease;
}

.contact-info:hover i {
    transform: scale(1.1);
}

/* Styles pour la section Mission améliorée */
.mission-content {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mission-highlights .highlight-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.mission-highlights .highlight-item:hover {
    background-color: rgba(40, 167, 69, 0.1);
    transform: translateX(5px);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.7) 0%, rgba(34, 197, 94, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.mission-image-container:hover .image-overlay {
    opacity: 1;
}

/* Amélioration des statistiques de l'accueil */
.stat-item {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
}

/* Header amélioré avec logo */
.logo-section {
    animation: logoEntrance 1s ease-out;
}

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

/* Boutons améliorés */
.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-success:hover::before {
    left: 100%;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-warning:hover::before {
    left: 100%;
}

/* === EFFETS FINAUX ET POLISH === */

/* Animation de fade-in généralisée */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de parallaxe subtil pour les sections */
.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

/* Micro-interactions */
* {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus amélioré pour accessibilité */
.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

/* Améliorations de performance */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #28a745;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    .hero,
    .section {
        background: white !important;
        color: black !important;
    }

    .btn,
    .navbar {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000 !important;
    }

    .btn-success {
        background: #000 !important;
        color: #fff !important;
        border: 2px solid #fff !important;
    }
}

/* Section Témoignages */
#testimonials {
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.quote-icon {
    text-align: center;
}

.testimonial-author img {
    border: 3px solid rgba(40, 167, 69, 0.2);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    border-color: #28a745;
}

/* Partners logos */
.partners-logos .partner-logo {
    transition: transform 0.3s ease;
}

.partners-logos .partner-logo:hover {
    transform: scale(1.05);
}

/* Amélioration du footer avec navigation */
.footer .footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer .footer-section h5 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer .footer-section ul li a {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer .footer-section ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social media footer */
.footer .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #87ceeb;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: #28a745;
    color: white;
    transform: translateY(-3px);
}

/* Newsletter signup */
.footer .newsletter {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.footer .newsletter h5 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer .newsletter .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.footer .newsletter .btn {
    background: #28a745;
    border: none;
    color: white;
}

.footer .newsletter .btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Styles spécifiques pour une interface moderne et attrayante */

/* Cartes d'équipe améliorées */
.team-member-card {
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-member-card:hover::before {
    opacity: 1;
}

.team-member-card .card-img-overlay {
    z-index: 2;
}

.member-photo {
    transition: transform 0.3s ease;
}

.team-member-card:hover .member-photo {
    transform: scale(1.1);
}

/* Cartes de domaines avec effets spéciaux */
.domain-card {
    position: relative;
}

.domain-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #28a745, #20c997, #28a745);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.domain-card:hover::after {
    opacity: 0.3;
}

/* Cartes d'objectifs avec animation */
.objective-card {
    position: relative;
}

.objective-card .icon-wrapper {
    transition: all 0.3s ease;
}

.objective-card:hover .icon-wrapper {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* Cartes de contact améliorées */
.contact-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info-card .icon-wrapper {
    transition: all 0.3s ease;
}

.contact-info-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(40, 167, 69, 0.2) !important;
}

/* Formulaire de contact moderne */
.contact-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-floating > label {
    color: #6c757d;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #28a745;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Statistiques animées améliorées */
.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    background: linear-gradient(45deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Section hero améliorée */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Animations d'entrée améliorées */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-section {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Micro-interactions */
.navbar-brand:hover .logo-icon {
    transform: rotate(10deg);
    transition: transform 0.3s ease;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .card:hover {
        transform: none;
    }
}

/* Styles pour les nouvelles sections */

/* Témoignages */
.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(40, 167, 69, 0.1);
    font-family: Georgia, serif;
    z-index: 0;
}

.testimonial-card .card-body {
    position: relative;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar img {
    border: 4px solid #28a745;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar img {
    border-color: #20c997;
    transform: scale(1.1);
}

.testimonial-stars {
    color: #ffc107;
}

/* Cartes de valeurs */
.value-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.value-card .value-icon {
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.2) rotate(10deg);
    color: #28a745 !important;
}

/* Animations pour les nouvelles sections */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-card, .value-card {
    animation: fadeInScale 0.6s ease-out forwards;
}

/* Améliorations responsive */
@media (max-width: 768px) {
    .testimonial-card, .value-card {
        margin-bottom: 2rem;
    }

    .testimonial-card:hover, .value-card:hover {
        transform: none;
    }

    .testimonial-stars {
        font-size: 1.2rem;
    }
}

/* ===== PREMIUM HEADER STYLES ===== */

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced Logo */
.logo-wrapper {
    position: relative;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.logo-text {
    position: relative;
    z-index: 2;
}

.logo-accent {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #20c997, #28a745);
    border-radius: 2px;
}

.logo-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #28a745, #20c997);
    opacity: 0;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.brand-info .brand-subtitle {
    line-height: 1.2;
}

/* Premium Navigation */
.navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
}

.navbar-toggler {
    border: 2px solid #28a745;
    color: #28a745;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Navigation Links */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.nav-link:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745 !important;
    transform: translateY(-1px);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover .nav-indicator {
    width: 80%;
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    margin: 0.125rem 0;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white !important;
    transform: translateX(5px);
}

/* CTA Button in Header */
.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ===== PREMIUM FOOTER STYLES ===== */

/* Footer Logo */
.footer-logo .logo-circle {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.footer-logo:hover .logo-circle {
    transform: rotate(10deg) scale(1.1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.bg-facebook:hover { background: #1877f2 !important; }
.bg-twitter:hover { background: #1da1f2 !important; }
.bg-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }
.bg-youtube:hover { background: #ff0000 !important; }

/* Footer Links */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: #28a745 !important;
    transform: translateX(5px);
}

/* Newsletter Section */
.footer-newsletter {
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    opacity: 0.5;
}

.newsletter-form .input-group {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 0.75rem 1rem;
    background: white;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn {
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */

@media (max-width: 991px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .row > div {
        margin-bottom: 0.5rem;
    }

    .brand-info {
        text-align: center;
        margin-top: 1rem;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }

    .dropdown-menu {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(40, 167, 69, 0.1);
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .footer-main .col-lg-4,
    .footer-main .col-lg-2 {
        margin-bottom: 2rem;
    }

    .newsletter-content,
    .newsletter-form {
        text-align: center;
        margin-bottom: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ===== OBJECTIFS STYLES ===== */

/* Icon Circle for Objectives */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Objective Cards */
.objective-card {
    transition: all 0.3s ease;
    border: none !important;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.15) !important;
}

/* Progress Circle Animation */
.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.progress-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

/* Objectives List */
.objectives-list .objective-item {
    display: flex;
    align-items: flex-start;
    padding: 0.25rem 0;
    line-height: 1.4;
}

.objectives-list .objective-item i {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Budget Progress Bars */
.objective-card .progress {
    border-radius: 3px;
}

.objective-card .progress-bar {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    transition: width 1s ease-in-out;
}

/* ===== ENHANCED GENERAL STYLES ===== */

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #28a745;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #218838, #1aa085);
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }

    .top-bar,
    .navbar,
    .back-to-top,
    .social-links {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background: #000 !important;
        color: #fff !important;
    }

    .section-dark {
        background: #000 !important;
        color: #fff !important;
    }

    .navbar {
        background: #000 !important;
        color: #fff !important;
    }

    .top-bar {
        background: #000 !important;
        color: #fff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .logo-pulse {
        display: none;
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.dropdown-item:focus,
.btn:focus,
.social-link:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* ===== JAVASCRIPT ENHANCEMENTS ===== */

.back-to-top {
    cursor: pointer;
}

.back-to-top:active {
    transform: scale(0.95);
}

/* ===== STORY & TESTIMONIALS STYLES ===== */

/* Story elements */
.story-intro-highlight {
    border-left: 4px solid #28a745;
}

.story-narrative {
    position: relative;
    overflow: hidden;
}

.story-narrative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02) 0%, rgba(255, 255, 255, 0.98) 100%);
    z-index: -1;
}

.story-year {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

/* Enhanced Timeline */
.timeline-enhanced .timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-enhanced .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #28a745 0%, #20c997 100%);
}

.timeline-enhanced .timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-enhanced .timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-enhanced .timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-enhanced .timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-enhanced .timeline-item:nth-child(4) { animation-delay: 0.7s; }

.timeline-enhanced .timeline-marker {
    position: absolute;
    left: -22px;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #28a745;
}

.timeline-enhanced .pulse-marker {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 3px #28a745, 0 0 0 6px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 0 0 3px #28a745, 0 0 0 10px rgba(40, 167, 69, 0.1);
    }
}

.timeline-enhanced .timeline-date {
    color: #28a745;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.timeline-enhanced .timeline-title {
    color: #28a745;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-enhanced .timeline-text {
    line-height: 1.6;
    color: #555;
}

/* Story conclusion */
.story-conclusion {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
    border: 1px solid rgba(40, 167, 69, 0.1);
}

/* Impact stats */
.impact-stats .stat-item {
    min-width: 120px;
    text-align: center;
    transition: transform 0.3s ease;
}

.impact-stats .stat-item:hover {
    transform: translateY(-5px);
}

/* ===== TESTIMONIALS WIDGETS ===== */

/* Profile Widgets */
.testimonial-profile-widget {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-profile-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #28a745 100%);
}

.testimonial-profile-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Profile Avatar */
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 3px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.profile-avatar i {
    font-size: 2rem;
    color: #28a745;
}

/* Profile Content */
.profile-content {
    text-align: center;
}

.profile-name {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 0.5rem;
}

.profile-role {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.profile-quote {
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    position: relative;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.02);
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.profile-quote::before {
    content: '"';
    font-size: 3rem;
    color: rgba(40, 167, 69, 0.1);
    position: absolute;
    top: -10px;
    left: 10px;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(40, 167, 69, 0.1);
}

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

.profile-stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
}

.profile-stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Testimonial Stars */
.testimonial-stars {
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #ffc107;
    margin: 0 2px;
}

/* Enhanced fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONSEIL D'ADMINISTRATION STYLES ===== */

.ca-members .ca-member-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(40, 167, 69, 0.1) !important;
}

.ca-members .ca-member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15) !important;
    border-color: #28a745 !important;
}

.ca-members .member-icon {
    transition: all 0.3s ease;
}

.ca-members .ca-member-card:hover .member-icon {
    transform: scale(1.1);
    background-color: #28a745 !important;
    color: white !important;
}

/* ===== CORRECTIONS ULTIMES RESPONSIVITÉ MOBILE - PRIORITÉ MAXIMALE ===== */

/* Expérience mobile native - comme une application */
@media (max-width: 768px) {
    /* Viewport et scroll pour mobile */
    html, body {
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
    }

    /* Prévention du zoom sur les inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important; /* Empêche le zoom sur iOS */
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth !important;
    }

    /* Force la responsivité pour TOUTES les images en mobile - Suite */
    /* RÈGLES ULTRA-PRIORITAIRES pour les photos d'équipe */
    .member-photo,
    .team-member-card img,
    .executive-card img,
    .ca-member-card img {
        width: 100px !important;
        height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        display: block !important;
        margin: 0 auto 1rem auto !important;
        border: 3px solid #28a745 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }

    /* Cartes d'équipe - dimensions forcées */
    .team-member-card,
    .executive-card,
    .ca-member-card {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
        text-align: center !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    }

    .team-member-card .card-body,
    .executive-card .card-body,
    .ca-member-card .card-body {
        padding: 0.75rem !important;
    }

    /* Textes d'équipe - taille forcée */
    .team-member-card h6,
    .team-member-card .card-title,
    .executive-card h5,
    .executive-card .card-title {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
        font-weight: 600 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    .team-member-card small,
    .team-member-card .text-muted,
    .executive-card p,
    .executive-card .card-text {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        color: #6c757d !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Cartes de domaine - corrections */
    .domain-card {
        margin-bottom: 1rem !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .domain-card .card-img-overlay {
        padding: 0.75rem !important;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%) !important;
    }

    .domain-card h5 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    }

    .domain-card p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Grille responsive forcée */
    .row {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col, [class*="col-"] {
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    /* Container responsive forcé */
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        max-width: 100% !important;
    }

    /* Titres principaux */
    .display-4, .display-5, .display-6 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.3 !important;
    }

    /* Paragraphes */
    p, .lead, .card-text {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        line-height: 1.5 !important;
    }

    /* Boutons */
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
        border-radius: 20px !important;
        min-height: 40px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Navigation mobile */
    .navbar-collapse {
        padding: 0.5rem !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 0 0 10px 10px !important;
    }

    .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem !important;
        border-radius: 5px !important;
        margin: 0.125rem 0 !important;
    }

    /* Footer mobile */
    .footer {
        padding: 1rem 0 !important;
        text-align: center !important;
    }

    .footer .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /* Statistiques */
    .stat-item {
        padding: 1rem 0.5rem !important;
        margin-bottom: 0.5rem !important;
        border-radius: 8px !important;
    }

    .stat-number {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }
}

/* CORRECTIONS POUR ULTRA-MOBILE (très petits écrans) */
@media (max-width: 480px) {
    .member-photo,
    .team-member-card img,
    .executive-card img {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        border: 2px solid #28a745 !important;
    }

    .team-member-card h6,
    .executive-card h5 {
        font-size: 0.8rem !important;
    }

    .team-member-card small,
    .executive-card p {
        font-size: 0.75rem !important;
    }

    .display-4, .display-5 {
        font-size: 1.3rem !important;
    }

    .domain-card h5 {
        font-size: 0.8rem !important;
    }

    .domain-card p {
        font-size: 0.75rem !important;
    }
}

/* CORRECTIONS POUR MOBILE MOYEN */
@media (min-width: 481px) and (max-width: 768px) {
    .member-photo,
    .team-member-card img,
    .executive-card img {
        width: 110px !important;
        height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
        border: 3px solid #28a745 !important;
    }

    .team-member-card h6,
    .executive-card h5 {
        font-size: 0.95rem !important;
    }

    .display-4, .display-5 {
        font-size: 1.7rem !important;
    }

    /* Section introduction mobile moyen */
    .introduction-section {
        padding: 3rem 0 !important;
    }

    .introduction-section .main-title {
        font-size: 2.5rem !important;
        letter-spacing: 1px !important;
    }

    .introduction-section .ong-subtitle {
        font-size: 1.5rem !important;
        letter-spacing: 0.5px !important;
    }

    .decoration-line {
        width: 150px !important;
    }
}

/* CORRECTIONS POUR ULTRA-MOBILE */
@media (max-width: 480px) {
    /* Section introduction ultra-mobile */
    .introduction-section {
        padding: 2.5rem 1rem !important;
    }

    .introduction-section .main-title {
        font-size: 1.8rem !important;
        letter-spacing: 0.5px !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }

    .introduction-section .ong-subtitle {
        font-size: 1.2rem !important;
        letter-spacing: 0.3px !important;
        margin-bottom: 0.5rem !important;
    }

    .decoration-line {
        width: 120px !important;
        height: 2px !important;
        margin-top: 2rem !important;
    }

    /* Boutons hero ultra-mobile */
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
        min-height: 48px !important; /* Accessibilité tactile */
    }

    /* Images mission ultra-mobile */
    .mission-image-container img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    .image-overlay {
        padding: 1rem !important;
    }

    .image-overlay h4 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .image-overlay p {
        font-size: 0.9rem !important;
    }

    .image-overlay .display-4 {
        font-size: 2rem !important;
    }
}

/* CORRECTIONS POUR MOBILE STANDARD */
@media (max-width: 768px) {
    /* Section introduction mobile */
    .introduction-section {
        padding: 3rem 1rem !important;
    }

    .introduction-section .main-title {
        font-size: 2.2rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 1.5rem !important;
    }

    .introduction-section .ong-subtitle {
        font-size: 1.4rem !important;
        letter-spacing: 0.5px !important;
    }

    .decoration-line {
        width: 150px !important;
        margin-top: 2.5rem !important;
    }
}

/* ANIMATIONS POUR LA SECTION INTRODUCTION */
.introduction-section .main-title {
    animation: titleFadeIn 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.introduction-section .ong-subtitle {
    animation: subtitleFadeIn 1.2s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.introduction-section .decoration-line {
    animation: lineGrow 1s ease-out 0.6s forwards;
    transform: scaleX(0);
    transform-origin: center;
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

.ca-members .ca-member-card:hover .text-info {
    color: white !important;
}

/* ===== SECTION ÉQUIPE MISE EN VALEUR ===== */

/* Grille responsive d'équipe */
.team-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .team-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 992px) {
    .team-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 767px) {
    .team-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
}

/* Container de membre d'équipe */
.team-member-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-member-card-simple {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(40, 167, 69, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
}

.team-member-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.02) 0%, rgba(34, 197, 94, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.team-member-card-simple:hover::before {
    opacity: 1;
}

.team-member-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(40, 167, 69, 0.2);
}

/* Container de photo */
.member-photo-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: transform 0.3s ease;
}

.team-member-card-simple {
    animation: team-slide-up 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

/* Délais d'animation très subtils */
.team-member-card-simple:nth-child(1) { animation-delay: 0.05s; }
.team-member-card-simple:nth-child(2) { animation-delay: 0.1s; }
.team-member-card-simple:nth-child(3) { animation-delay: 0.15s; }
.team-member-card-simple:nth-child(4) { animation-delay: 0.2s; }
.team-member-card-simple:nth-child(5) { animation-delay: 0.25s; }
.team-member-card-simple:nth-child(6) { animation-delay: 0.3s; }
.team-member-card-simple:nth-child(7) { animation-delay: 0.35s; }
.team-member-card-simple:nth-child(8) { animation-delay: 0.4s; }

.member-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3), 0 0 0 4px rgba(40, 167, 69, 0.2), 0 0 15px rgba(40, 167, 69, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.team-member-card-simple:hover .member-portrait {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3), 0 0 0 3px rgba(40, 167, 69, 0.2);
    border-color: #28a745;
}

.team-member-card-simple:hover .member-photo-container {
    transform: translateY(-5px);
}

@keyframes team-slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour la section équipe dans index.html */
.team-member {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 1rem !important;
}

.team-member img {
    margin: 0 auto 1rem auto !important;
    display: block !important;
    border: 3px solid #28a745 !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2) !important;
    transition: all 0.3s ease !important;
    max-width: 100% !important;
    height: auto !important;
}

.team-member img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3) !important;
}

/* Responsive pour la section équipe accueil */
@media (max-width: 768px) {
    .team-member img {
        width: 120px !important;
        height: 120px !important;
        border-width: 2px !important;
    }

    .team-member h6 {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .team-member small {
        font-size: 0.875rem !important;
    }

    .team-member {
        padding: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .team-member img {
        width: 100px !important;
        height: 100px !important;
        border-width: 2px !important;
    }

    .team-member h6 {
        font-size: 0.9rem !important;
    }

    .team-member small {
        font-size: 0.8rem !important;
    }
}

.team-member h6 {
    margin-bottom: 0.5rem !important;
    font-weight: 700 !important;
    color: #28a745 !important;
    text-align: center !important;
}

.team-member small {
    color: #6c757d !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* Améliorations responsives générales */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem !important;
    }

    .footer-main h5 {
        font-size: 1.1rem !important;
    }

    .footer-main p {
        font-size: 0.9rem !important;
    }

    .contact-form .form-control {
        font-size: 16px !important; /* Empêche le zoom iOS */
        padding: 0.75rem !important;
    }

    .contact-form .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Améliorer la visibilité des numéros de téléphone */
    .footer-contact span {
        background: rgba(255, 255, 255, 0.9) !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero .lead {
        font-size: 1rem !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Footer plus compact sur mobile */
    .footer-main {
        padding: 2rem 0 !important;
    }

    .footer-contact {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Informations du membre */
.member-info {
    z-index: 2;
    position: relative;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.team-member-card-simple:hover .member-name {
    color: #28a745;
}

.member-role {
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Animations d'entrée */
.team-member-card-simple {
    animation: teamCardFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.team-member-card-simple:nth-child(1) { animation-delay: 0.1s; }
.team-member-card-simple:nth-child(2) { animation-delay: 0.2s; }
.team-member-card-simple:nth-child(3) { animation-delay: 0.3s; }
.team-member-card-simple:nth-child(4) { animation-delay: 0.4s; }
.team-member-card-simple:nth-child(5) { animation-delay: 0.5s; }
.team-member-card-simple:nth-child(6) { animation-delay: 0.6s; }

@keyframes teamCardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivité mobile optimisée */
@media (max-width: 480px) {
    .team-showcase-grid {
        gap: 1.5rem;
        padding: 0 0.25rem;
    }

    .team-member-card-simple {
        padding: 1.5rem 1rem;
        max-width: 280px;
    }

    .member-portrait {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .member-name {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .member-role {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .team-member-card-simple:hover {
        transform: none; /* Désactiver hover mobile pour éviter les conflits tactiles */
    }

    .team-member-card-simple:hover .member-portrait {
        transform: none;
    }

    .team-member-card-simple:hover .member-name {
        color: #2d3748;
    }
}

/* Tablettes */
@media (min-width: 577px) and (max-width: 991px) {
    .team-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .member-portrait {
        width: 130px;
        height: 130px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .team-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .member-portrait {
        width: 150px;
        height: 150px;
        border-width: 5px;
    }

    .member-name {
        font-size: 1.35rem;
    }

    .member-role {
        font-size: 0.95rem;
    }
}

/* Styles pour le nouveau logo ASAS */
.logo-image {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.2));
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: drop-shadow(0 4px 8px rgba(40, 167, 69, 0.3));
    transform: scale(1.05);
}

/* Responsive pour le logo */
@media (max-width: 768px) {
    .logo-image {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        max-height: 35px;
    }
}
