/**
 * =============================================
 * SITE PUBLIC - PROCLIMAT CONGO
 * Fichier CSS consolidé et centralisé
 * =============================================
 * 
 * Ce fichier regroupe tous les styles du site public
 * Fusion de : site_public.css + composantes.css + header_public.css
 * 
 * TABLE DES MATIÈRES :
 * 1. Variables CSS globales
 * 2. Styles pour la page FAQ
 * 3. Styles pour la page Documents
 * 4. Styles pour la page Contact
 * 5. Dropdown Treeview
 * 6. Menu mobile et responsive
 * 7. Animations et effets
 * 8. Utilitaires
 * 9. Corrections de visibilité
 * 10. Styles pour la page d'accueil
 * 11. Styles pour les composantes (de composantes.css)
 * 12. Styles du header public (de header_public.css)
 * 
 * Organisé par fonctionnalité pour faciliter la maintenance
 * =============================================
 */

/* =============================================
   VARIABLES CSS GLOBALES CONSOLIDÉES
   ============================================= */
:root {
    /* ========================================
       COULEURS PRINCIPALES - PROCLIMAT
       ======================================== */
    --primary-color: #66BB6A;
    --primary-dark: #2e7d32;
    --primary-darker: #1b5e20;
    --secondary-color: #4CAF50;
    --accent-color: #81C784;
    
    /* ========================================
       PALETTE DE VERTS PROCLIMAT
       ======================================== */
    --green-50: #E8F5E8;
    --green-100: #F1F8E9;
    --green-200: #C8E6C9;
    --green-300: #A5D6A7;
    --green-400: #81C784;
    --green-500: #66BB6A;
    --green-600: #4CAF50;
    --green-700: #2e7d32;
    --green-800: #1b5e20;
    
    /* ========================================
       COULEURS NEUTRES
       ======================================== */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* ========================================
       COULEURS DE TEXTE
       ======================================== */
    --text-color: #333333;
    --text-dark: #37474F;
    --text-light: #78909C;
    --text-muted: #6c757d;
    --text-white: #ffffff;
    
    /* ========================================
       COULEURS DE FOND
       ======================================== */
    --bg-white: #ffffff;
    --bg-light: #F1F8E9;
    --bg-light-green: #E8F5E8;
    --bg-gray: #f8f9fa;
    --bg-gray-light: #e9ecef;
    --bg-dark: #212529;
    --bg-gradient-white-green: linear-gradient(135deg, #ffffff 0%, #f8fdf9 100%);
    --secondary-bg: #f8f9fa;
    
    /* ========================================
       BORDURES
       ======================================== */
    --border-color: #dee2e6;
    --border-color-light: #e9ecef;
    --border-color-dark: #ced4da;
    --border-width: 1px;
    
    /* ========================================
       OMBRES
       ======================================== */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 25px rgba(102, 187, 106, 0.15);
    --shadow-success: 0 8px 25px rgba(40, 167, 69, 0.3);
    
    /* ========================================
       RAYONS DE BORDURE
       ======================================== */
    --radius-xs: 0.25rem;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50%;
    --border-radius: 10px; /* Alias pour compatibilité */
    
    /* ========================================
       TRANSITIONS
       ======================================== */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.4s ease;
    --transition-cubic: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ========================================
       ESPACEMENTS
       ======================================== */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
}

/* =============================================
   STYLES POUR LA PAGE FAQ
   ============================================= */

.faq-item {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.faq-item .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 500;
    border-radius: 0;
}

.faq-item .btn:hover,
.faq-item .btn:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b5e20 100%);
    box-shadow: none;
}

.faq-item .btn:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b5e20 100%);
}

.faq-item .collapse {
    background: white;
}

.faq-item .card-body {
    padding: 1.5rem;
    background: white;
    border-top: 3px solid var(--primary-color);
}

.faq-search {
    background: #66BB6A;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.faq-category-badge {
    background: #66BB6A;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.faq-category-badge:hover {
    background: #66BB6A;
    color: white;
    transform: translateY(-1px);
}

/* =============================================
   STYLES POUR LA PAGE DOCUMENTS
   ============================================= */
.document-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.document-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    margin-right: 1rem;
    font-size: 1.5rem;
}

.document-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.document-meta small {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.6;
}

.document-download-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.document-download-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b5e20 100%);
    color: white;
    transform: translateY(-1px);
}

.document-search {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.document-stats {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.document-stats .stat-item {
    text-align: center;
    padding: 1rem;
}

.document-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.document-stats .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* =============================================
   STYLES POUR LA PAGE CONTACT
   ============================================= */

.hero-section {
    background: #66BB6A;
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

/* Cartes d'information de contact (Adresse, Téléphone, Email) */
section.bg-light .card:not(.bg-success) {
    background: linear-gradient(135deg, #961515 0%, #4b7bac 100%);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

section.bg-light .card:not(.bg-success)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

section.bg-light .card:not(.bg-success):hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 187, 106, 0.15);
}

section.bg-light .card:not(.bg-success):hover::before {
    transform: scaleX(1);
}

/* Icônes des cartes de contact */
section.bg-light .card:not(.bg-success) .fa-map-marker-alt {
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(102, 187, 106, 0.3));
    transition: all 0.3s ease;
}

section.bg-light .card:not(.bg-success) .fa-phone {
    color: #28a745;
    filter: drop-shadow(0 2px 4px rgba(40, 167, 69, 0.3));
    transition: all 0.3s ease;
}

section.bg-light .card:not(.bg-success) .fa-envelope {
    color: #17a2b8;
    filter: drop-shadow(0 2px 4px rgba(23, 162, 184, 0.3));
    transition: all 0.3s ease;
}

section.bg-light .card:not(.bg-success):hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Titres des cartes */
section.bg-light .card:not(.bg-success) .card-title {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Texte des cartes */
section.bg-light .card:not(.bg-success) .card-text {
    color: #6c757d;
    line-height: 1.6;
}

section.bg-light .card:not(.bg-success) .card-text a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

section.bg-light .card:not(.bg-success) .card-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

section.bg-light .card:not(.bg-success) .card-text a:hover {
    color: var(--primary-dark);
}

section.bg-light .card:not(.bg-success) .card-text a:hover::after {
    width: 100%;
}

/* Carte Numéro Vert - Design spécial avec bg-success */
section.bg-light .card.bg-success {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

section.bg-light .card.bg-success::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

section.bg-light .card.bg-success:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

/* Anciens styles conservés pour compatibilité */
.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.contact-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b5e20 100%);
    transform: translateY(-1px);
}

/* =============================================
   DROPDOWN TREEVIEW POUR CATÉGORIES (ancien système)
   ============================================= */
.dropdown-treeview {
    position: relative;
}

.dropdown-treeview .treeview-toggle {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-treeview .treeview-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
}

.dropdown-treeview .treeview-toggle .caret {
    transition: transform 0.3s ease;
}

.dropdown-treeview .treeview-toggle.active .caret {
    transform: rotate(180deg);
}

.dropdown-treeview .treeview-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    transition: max-height 0.3s ease;
    z-index: 1000;
}

.dropdown-treeview .treeview-dropdown.show {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-treeview .treeview-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dropdown-treeview .treeview-item:hover {
    background-color: var(--light-bg);
}

.dropdown-treeview .treeview-item.selected {
    background-color: rgba(102, 187, 106, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.dropdown-treeview .treeview-text {
    flex: 1;
}

.dropdown-treeview .treeview-item[data-level="1"] {
    padding-left: 2rem;
}

.dropdown-treeview .treeview-item[data-level="2"] {
    padding-left: 3rem;
}

.dropdown-treeview .treeview-item[data-level="3"] {
    padding-left: 4rem;
}

/* =============================================
   NAVBAR - GESTION CENTRALISÉE
   ============================================= */
/* IMPORTANT : Tous les styles de la navbar sont gérés dans navbar.css
   Ne pas ajouter de styles navbar ici pour éviter les conflits */

/* =============================================
   ANIMATIONS ET EFFETS
   ============================================= */
/* .fade-in supprimé (remplacé par animations.css) */

.card-hover {
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .document-search,
    .faq-search {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 0;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 1rem;
    }
    
    .document-search,
    .faq-search {
        padding: 1rem;
    }
}

/* =============================================
   UTILITAIRES
   ============================================= */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) border-box;
    border-radius: var(--radius);
}

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    transition: var(--transition);
}

.btn-gradient-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1b5e20 100%);
    color: white;
    transform: translateY(-1px);
}

/* =============================================
   CORRECTION VISIBILITÉ TEXTE DANS LES CHAMPS DE SAISIE
   ============================================= */

/* Styles globaux pour tous les champs de formulaire du site public */
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    color: #212529 !important; /* Texte noir foncé pour bonne lisibilité */
    background-color: #ffffff !important; /* Fond blanc */
    border: 1px solid #ced4da !important;
}

/* Uniformiser la hauteur des combobox avec les champs de saisie */
.form-select,
select.form-select {
    height: 38px !important; /* Hauteur exacte Bootstrap pour form-control */
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important; /* Padding identique à form-control */
    line-height: 1.5 !important;
    font-size: 1rem !important;
    min-height: 38px !important;
}

/* Assurer que tous les inputs ont aussi la même hauteur */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"] {
    height: 38px !important;
    padding: 0.375rem 0.75rem !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    min-height: 38px !important;
}

/* Pour les textarea, garder la hauteur auto */
textarea.form-control {
    height: auto !important;
    min-height: 80px !important;
    padding: 0.375rem 0.75rem !important;
}

/* État focus (quand l'utilisateur clique dans le champ) */
.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25) !important;
}

/* Placeholder (texte d'aide dans les champs vides) */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #6c757d !important; /* Gris moyen pour le placeholder */
    opacity: 0.7 !important;
}

/* Options des select */
.form-select option,
select option {
    color: #212529 !important;
    background-color: #ffffff !important;
}

/* Champs désactivés */
.form-control:disabled,
.form-select:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    color: #6c757d !important;
    background-color: #e9ecef !important;
}

/* Correction spécifique pour les champs de recherche */
.hero-section input[type="search"],
.bg-light input[type="text"],
.bg-light input[type="search"],
.bg-light select,
.card input[type="text"],
.card input[type="email"],
.card textarea,
.card select {
    color: #212529 !important;
    background-color: #ffffff !important;
}

/* Correction pour les champs dans les sections avec fond sombre */
.bg-dark input,
.bg-dark select,
.bg-dark textarea,
.bg-primary input,
.bg-primary select,
.bg-primary textarea {
    color: #212529 !important;
    background-color: #ffffff !important;
}

/* =============================================
   STYLES POUR LA PAGE D'ACCUEIL (INDEX.PHP)
   ============================================= */

/* Animations pour la section Numéro Vert */
.call-center-placeholder {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.numero-vert-display {
    animation: glow-box 3s ease-in-out infinite;
}

@keyframes glow-box {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 10px 60px rgba(255, 255, 255, 0.3);
    }
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/**
 * Feuille de style centralisée pour les pages du dossier public/composantes
 * ProClimat Congo - Styles des composantes du projet
 * 
 * Ce fichier regroupe tous les styles CSS des pages de composantes
 * pour garantir la cohérence visuelle et faciliter la maintenance.
 */

/* ============================================
   GRADIENTS DE FOND
   ============================================ */

/* .bg-gradient-primary défini dans header_public.css avec couleurs ProClimat */

/* Gradient succès (vert) - Composantes 2 et 6 */
.bg-gradient-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #157347 100%);
}

/* Gradient avertissement (jaune) - Composante 3 */
.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

/* Gradient info (cyan) - Composante 4 */
.bg-gradient-info {
    background: linear-gradient(135deg, var(--bs-info) 0%, #0dcaf0 100%);
}

/* Gradient danger (rouge) - Composante 5 */
.bg-gradient-danger {
    background: linear-gradient(135deg, var(--bs-danger) 0%, #b02a37 100%);
}

/* ============================================
   STATISTIQUES HERO
   ============================================ */

/* Conteneur des statistiques */
.hero-stats .stat-item {
    text-align: center;
}

/* Valeurs numériques (avec animation de compteur) */
.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

/* Valeurs textuelles (sans animation de compteur) */
.hero-stats .stat-text {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

/* Labels des statistiques */
.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Badge du hero */
.hero-badge .badge {
    border-radius: 25px;
}

/* ============================================
   CARTES GÉNÉRALES
   ============================================ */

/* Carte d'aperçu (overview) */
.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
}

.overview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Carte d'objectif */
.objective-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
}

.objective-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Carte de composante */
.component-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.component-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Numéro de composante (cercle) */
.component-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
    color: white;
}

.component-title {
    color: var(--bs-dark);
    margin-bottom: 1rem;
}

.component-description {
    color: var(--bs-secondary);
    margin-bottom: 1rem;
}

.component-highlights .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* ============================================
   SOUS-COMPOSANTES
   ============================================ */

/* Carte de sous-composante */
.sub-component-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Numéro de sous-composante */
.sub-component-number {
    width: 80px;
    height: 80px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

.sub-component-number.bg-success {
    background: var(--bs-success) !important;
}

/* ============================================
   ÉLÉMENTS DE LISTE
   ============================================ */

/* Item de fonctionnalité */
.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

/* Item de synergie */
.synergy-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Fonctionnalité SCARP */
.scarp-feature {
    text-align: center;
    padding: 1rem;
}

/* ============================================
   CARTES SPÉCIFIQUES
   ============================================ */

/* Icône de bénéficiaire */
.beneficiary-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Carte d'impact */
.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ============================================
   NAVIGATION ENTRE COMPOSANTES
   ============================================ */

/* Lien de navigation entre composantes - Taille uniforme */
.component-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1.5rem 1rem;
    min-height: 140px;
    border-radius: 15px;
    text-decoration: none;
    color: #37474F;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Bordure animée au hover */
.component-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #2196F3, #00BCD4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.component-nav-link:hover::before {
    transform: scaleX(1);
}

.component-nav-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    color: #66BB6A;
}

/* Icône - Taille uniforme */
.component-nav-link i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.component-nav-link:hover i {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 187, 106, 0.2), rgba(33, 150, 243, 0.2));
}

/* Texte du lien */
.component-nav-link span {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .component-nav-link {
        min-height: 130px;
        padding: 1.25rem 1rem;
    }
    
    .component-nav-link i {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .component-nav-link {
        min-height: 120px;
        padding: 1rem 0.75rem;
    }
    
    .component-nav-link i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .component-nav-link span {
        font-size: 0.85rem;
    }
}

/* ============================================
   DIAGRAMME D'INTÉGRATION
   ============================================ */

/* Conteneur du diagramme */
.integration-diagram {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

/* Cercle central */
.central-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Conteneur des éléments en orbite */
.orbit-items {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Éléments en orbite */
.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: orbit 20s linear infinite;
}

/* Positions des éléments en orbite */
.orbit-1 { 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    animation-delay: 0s; 
}

.orbit-2 { 
    top: 25%; 
    right: 0; 
    animation-delay: -3.33s; 
}

.orbit-3 { 
    bottom: 25%; 
    right: 0; 
    animation-delay: -6.66s; 
}

.orbit-4 { 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    animation-delay: -10s; 
}

.orbit-5 { 
    bottom: 25%; 
    left: 0; 
    animation-delay: -13.33s; 
}

.orbit-6 { 
    top: 25%; 
    left: 0; 
    animation-delay: -16.66s; 
}

/* Animation d'orbite */
@keyframes orbit {
    from { 
        transform: rotate(0deg) translateX(125px) rotate(0deg); 
    }
    to { 
        transform: rotate(360deg) translateX(125px) rotate(-360deg); 
    }
}

/* ============================================
   SECTION CALL-TO-ACTION
   ============================================ */

/* Section CTA */
.cta-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.cta-buttons .btn {
    margin: 0.5rem;
}

/* ============================================
   SECTION CTA BSP PERSONNALISÉE
   ============================================ */

/* Section CTA avec fond gradient animé */
.cta-bsp-section {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 50%, #0D47A1 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Fond animé avec overlay */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(33, 150, 243, 0.9) 0%, 
        rgba(25, 118, 210, 0.95) 50%, 
        rgba(13, 71, 161, 0.9) 100%);
    z-index: 1;
}

.cta-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: ctaGradientShift 15s ease infinite;
}

@keyframes ctaGradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Icônes flottantes décoratives */
.cta-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.cta-icon-float {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatIcon 6s ease-in-out infinite;
}

.cta-icon-float:nth-child(1) { animation-delay: 0s; }
.cta-icon-float:nth-child(2) { animation-delay: 1.5s; }
.cta-icon-float:nth-child(3) { animation-delay: 3s; }
.cta-icon-float:nth-child(4) { animation-delay: 4.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Contenu CTA */
.cta-content {
    animation: fadeInUp 0.8s ease;
}

/* Badge d'information */
.cta-bsp-section .badge {
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mini statistiques */
.cta-stat {
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.cta-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.cta-stat .h4 {
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Bouton CTA avec animation */
.cta-button {
    position: relative;
    overflow: hidden;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: white;
    color: #2196F3;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    color: #1976D2;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Flèche animée du bouton */
.cta-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .cta-bsp-section {
        min-height: 500px;
        padding: 3rem 0 !important;
    }
    
    .cta-icon-float {
        font-size: 2rem;
    }
    
    .cta-stat {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 767.98px) {
    .cta-bsp-section {
        min-height: auto;
    }
    
    .cta-icon-float {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-stat {
        padding: 0.5rem;
    }
    
    .cta-button {
        width: 100%;
    }
}

/* ============================================
   COULEURS PERSONNALISÉES
   ============================================ */

/* Couleur rose personnalisée */
.text-pink {
    color: #e91e63 !important;
}

/* Texte noir (pour contraste sur fond clair) */
.text-black {
    color: #000 !important;
}

/* ============================================
   CORRECTIFS RESPONSIVE BSP (Tableaux & Cartes)
   ============================================ */
@media (max-width: 768px) {
    /* Optimisation des tableaux sur mobile */
    .table-responsive .table {
        font-size: 0.75rem; /* Police encore plus petite */
    }
    
    .table-responsive .table th,
    .table-responsive .table td {
        padding: 0.4rem 0.2rem;
        white-space: normal; /* Permettre le retour à la ligne si nécessaire */
    }

    /* Masquer la première colonne (Département) pour les lignes de données */
    /* On exclut les titres de section (.table-active) et TOUS les types de sous-totaux (.table-success, .table-primary, .table-info) */
    .table-responsive .table thead th:first-child,
    .table-responsive .table tbody tr:not(.table-active):not(.table-success):not(.table-primary):not(.table-info) td:first-child {
        display: none !important;
    }

    /* Transformation des lignes de sous-total avec Flexbox */
    .table-responsive .table tbody tr.table-success,
    .table-responsive .table tbody tr.table-primary,
    .table-responsive .table tbody tr.table-info {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100%;
    }

    /* Libellé du sous-total : occupe toute la largeur (force le retour à la ligne) */
    .table-responsive .table tbody tr.table-success td:first-child,
    .table-responsive .table tbody tr.table-primary td:first-child,
    .table-responsive .table tbody tr.table-info td:first-child {
        flex: 0 0 100% !important; /* Ne grandit pas, ne rétrécit pas, prend 100% */
        max-width: 100% !important;
        text-align: left !important;
        font-weight: bold;
        font-size: 0.75rem;
        padding: 0.5rem 0.2rem 0.3rem;
        border: none !important;
    }

    /* Les 3 chiffres : chacun prend exactement 33.33% de la largeur */
    .table-responsive .table tbody tr.table-success td:nth-child(2),
    .table-responsive .table tbody tr.table-primary td:nth-child(2),
    .table-responsive .table tbody tr.table-info td:nth-child(2) {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
        text-align: center !important;
        font-size: 0.85rem;
        padding: 0.3rem 0.1rem;
        border: none !important;
    }

    .table-responsive .table tbody tr.table-success td:nth-child(3),
    .table-responsive .table tbody tr.table-primary td:nth-child(3),
    .table-responsive .table tbody tr.table-info td:nth-child(3) {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
        text-align: center !important;
        font-size: 0.85rem;
        padding: 0.3rem 0.1rem;
        border: none !important;
    }

    .table-responsive .table tbody tr.table-success td:nth-child(4),
    .table-responsive .table tbody tr.table-primary td:nth-child(4),
    .table-responsive .table tbody tr.table-info td:nth-child(4) {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
        text-align: center !important;
        font-size: 0.85rem;
        font-weight: bold;
        padding: 0.3rem 0.1rem;
        border: none !important;
    }

    /* En-têtes de cartes BSP : forcer l'empilement vertical */
    .card-header .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .card-header h4 {
        font-size: 1.1rem;
        margin-bottom: 0;
        line-height: 1.4;
    }

    .card-header .badge {
        align-self: flex-start;
        font-size: 0.85rem !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    /* Statistiques hero */
    .hero-stats {
        justify-content: center;
        margin-top: 2rem;
    }
    
    /* Numéros de composante */
    .component-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Numéros de sous-composante */
    .sub-component-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    /* Diagramme d'intégration */
    .integration-diagram {
        width: 250px;
        height: 250px;
    }
    
    .central-circle {
        width: 100px;
        height: 100px;
    }
    
    .orbit-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .orbit-1, .orbit-4 { 
        transform: translateX(-50%); 
    }
    
    /* Processus d'activation CERC responsive */
    .activation-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    /* Timeline responsive */
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-marker {
        left: -15px;
    }
}

/* ============================================
   CARTES SPÉCIFIQUES SUPPLÉMENTAIRES
   ============================================ */

/* Carte de solution basée sur la nature */
.nature-solution-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.nature-solution-card:hover {
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Étape de chaîne de valeur */
.value-chain-step {
    padding: 1rem;
}

/* Fonctionnalité géographique */
.geo-feature {
    padding: 1rem 0;
}

/* Visualisation géographique */
.geo-visualization {
    padding: 2rem;
}

/* Étape MGP (Mécanisme de Gestion des Plaintes) */
.mgp-step {
    padding: 1.5rem;
}

/* Numéro d'étape */
.step-number {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--bs-warning);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Icône de fonctionnalité */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Timeline (chronologie) */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -25px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-title {
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 0.5rem;
}

/* Carte de statistique */
.stat-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Type d'urgence */
.emergency-type {
    padding: 1.5rem;
}

/* Item d'avantage */
.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

/* Section logo PAM */
.pam-logo-section {
    padding: 2rem;
}

/* Boîte de statistique */
.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

/* Type d'assistance */
.assistance-type {
    padding: 1.5rem;
}

/* Carte de bénéficiaire prioritaire */
.beneficiary-priority-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.beneficiary-priority-card:hover {
    transform: translateY(-5px);
}

.priority-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.priority-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Processus d'activation */
.activation-process {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

/* ============================================
   UTILITAIRES SUPPLÉMENTAIRES
   ============================================ */

/* Correction des titres de section sur fond sombre */
.section-title-white {
    color: white !important;
}

/* Correction des paragraphes sur fond clair */
.text-dark-readable {
    color: #000 !important;
}

/* Correction des paragraphes sur fond sombre */
.text-white-readable {
    color: white !important;
}

/* ============================================
   SECTIONS MODERNES AVEC GRADIENTS
   ============================================ */

/* Section avec gradient jaune (Fonctionnalités, Bénéficiaires) */
.section-gradient-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

/* Section avec gradient vert (Types d'assistance) */
.section-gradient-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    position: relative;
    overflow: hidden;
}

/* Section avec gradient bleu clair (Stratégie PAM, Processus) */
.section-gradient-blue-light {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

/* Section avec gradient bleu (Stratégie PAM alternative) */
.section-gradient-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    position: relative;
    overflow: hidden;
}

/* Section avec gradient rouge (Types d'urgences) */
.section-gradient-red {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    position: relative;
    overflow: hidden;
}

/* Section avec gradient bleu foncé (Chaînes de valeur) */
.section-gradient-blue-dark {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

/* ============================================
   PATTERNS SVG D'ARRIÈRE-PLAN
   ============================================ */

/* Pattern géométrique jaune */
.pattern-yellow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23f59e0b\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Pattern géométrique blanc */
.pattern-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%23ffffff\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Pattern géométrique cyan */
.pattern-cyan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%230ea5e9\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Pattern géométrique bleu */
.pattern-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width=\'60\' height=\'60\' viewBox=\'0 0 60 60\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'none\' fill-rule=\'evenodd\'%3E%3Cg fill=\'%233b82f6\' fill-opacity=\'1\'%3E%3Cpath d=\'M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z\'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* ============================================
   CARTES MODERNISÉES
   ============================================ */

/* Carte CERC Feature (uniformisée) */
.cerc-feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cerc-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Carte d'urgence */
.emergency-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.emergency-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.emergency-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.emergency-card:hover .emergency-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Carte de processus */
.process-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.process-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.process-icon {
    transition: transform 0.3s ease;
}

.process-card:hover .process-icon {
    transform: scale(1.15);
}

/* Flèche de processus (droite) */
.process-arrow-right {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    font-size: 2rem;
    z-index: 10;
    animation: arrow-slide 2s infinite;
}

@keyframes arrow-slide {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}

/* Carte d'assistance alimentaire */
.assistance-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.assistance-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.assistance-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.assistance-card:hover .assistance-icon-box {
    transform: scale(1.1) rotate(-5deg);
}

/* Carte de bénéficiaire modernisée */
.beneficiary-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.beneficiary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.priority-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.beneficiary-card:hover .priority-icon-box {
    transform: scale(1.1);
}

/* Carte d'avantage PAM */
.advantage-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.advantage-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.advantage-card:hover .advantage-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Carte logo PAM */
.pam-logo-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pam-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.pam-icon-wrapper {
    transition: transform 0.3s ease;
}

.pam-logo-card:hover .pam-icon-wrapper {
    transform: scale(1.05);
}

/* Carte de chaîne de valeur */
.value-chain-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-chain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.chain-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    flex-shrink: 0;
}

.chain-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.value-chain-card:hover .chain-icon-box {
    transform: scale(1.15) rotate(5deg);
}

/* Flèche de chaîne de valeur */
.chain-arrow {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    font-size: 2.5rem;
    z-index: 10;
    animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(5px);
    }
}

/* Ligne de connexion gradient */
.connection-line {
    position: absolute;
    bottom: -20px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: linear-gradient(to right, #3b82f6, #10b981, #06b6d4, #f59e0b);
    border-radius: 2px;
}

/* Ligne de connexion pour chaînes de valeur */
.chain-connection-line {
    position: absolute;
    top: -80px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, 
        var(--bs-primary) 0%, 
        var(--bs-success) 33%, 
        var(--bs-info) 66%, 
        var(--bs-warning) 100%);
    opacity: 0.3;
    border-radius: 10px;
}

/* Icône de chaîne */
.chain-icon {
    transition: transform 0.3s ease;
}

.value-chain-card:hover .chain-icon {
    transform: scale(1.15) rotate(5deg);
}

/* ============================================
   ANIMATIONS SUPPLÉMENTAIRES
   ============================================ */

/* Animation pulse définie dans la section ANIMATIONS à la fin du fichier */

/* Animation de brillance */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   SECTION GÉOSPATIALE
   ============================================ */

/* Carte de fonctionnalité géospatiale */
.geo-feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.geo-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.geo-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.geo-visualization-modern {
    padding: 3rem 0;
}

.geo-center-icon {
    width: 200px;
    height: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

.geo-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(25, 118, 210, 0.3);
    border-radius: 50%;
    animation: geo-pulse-ring 3s infinite;
}

.geo-circle-1 {
    width: 250px;
    height: 250px;
    animation-delay: 0s;
}

.geo-circle-2 {
    width: 350px;
    height: 350px;
    animation-delay: 1s;
}

.geo-circle-3 {
    width: 450px;
    height: 450px;
    animation-delay: 2s;
}

@keyframes geo-pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.geo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: geo-pulse-glow 2s infinite;
}

@keyframes geo-pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* ============================================
   SECTION MGP (MÉCANISME DE GESTION DES PLAINTES)
   ============================================ */

/* Carte d'étape MGP */
.mgp-step-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mgp-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.mgp-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.mgp-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mgp-step-card:hover .mgp-icon-box {
    transform: scale(1.15) rotate(5deg);
}

/* ============================================
   NUMÉRO VERT
   ============================================ */

/* Icône numéro vert avec animation */
.numero-vert-icon {
    position: relative;
    display: inline-block;
}

@keyframes phone-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

/* Animation de pulsation pour numéro vert */
.pulse-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Affichage du numéro vert */
.numero-vert-display {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

/* Animation bounce définie dans la section ANIMATIONS à la fin du fichier */

/* Boîte de fonctionnalité */
.feature-box {
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-5px);
}

/* Flèche d'étape */
.step-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.step-number-modern {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.step-icon {
    transition: transform 0.3s ease;
}

.mgp-step-card:hover .step-icon {
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE SUPPLÉMENTAIRE
   ============================================ */

@media (max-width: 992px) {
    /* Masquer les flèches sur tablette et mobile */
    .process-arrow-right,
    .chain-arrow {
        display: none !important;
    }
    
    /* Masquer la ligne de connexion sur mobile */
    .connection-line {
        display: none !important;
    }
    
    /* Réduire la taille des cercles géospatiaux sur mobile */
    .geo-center-icon {
        width: 150px;
        height: 150px;
    }
    
    .geo-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .geo-circle-2 {
        width: 280px;
        height: 280px;
    }
    
    .geo-circle-3 {
        width: 360px;
        height: 360px;
    }
}
/* =============================================
   SECTION : HEADER PUBLIC (de header_public.css)
   ============================================= */

/* Variables CSS déjà définies au début du fichier */

/* =============================================
   STYLES GÉNÉRAUX DU BODY
   ============================================= */

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* =============================================
   HERO CAROUSEL - AJUSTEMENT MARGIN
   ============================================= */

.hero-carousel {
    margin-top: -80px !important;
}

/* =============================================
   BOUTONS PRIMAIRES
   ============================================= */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
    color: white;
}

/* =============================================
   BREADCRUMB (FIL D'ARIANE)
   ============================================= */

.breadcrumb {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* =============================================
   EFFET HOVER-LIFT POUR LES CARTES
   ============================================= */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* =============================================
   COULEURS PERSONNALISÉES
   ============================================= */

.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.text-pink {
    color: #e83e8c !important;
}

.bg-pink {
    background-color: #e83e8c !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* =============================================
   ANIMATIONS GÉNÉRALES
   ============================================= */

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

/* .animate-fade-in supprimé */

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
    opacity: 0;
}

/* =============================================
   EFFET BACKDROP BLUR
   ============================================= */

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* =============================================
   EFFETS FOOTER
   ============================================= */

.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

/* =============================================
   PLACEHOLDER NEWSLETTER
   ============================================= */

input#newsletterEmail::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   ZONES D'INTERVENTION
   ============================================= */
/* Zones d'intervention */
.zone-card {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
    border: 1px solid rgba(102, 187, 106, 0.2);
    transition: var(--transition);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 187, 106, 0.2);
    border-color: rgba(102, 187, 106, 0.4);
}

.zone-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.zone-number {
    margin-top: auto;
    text-align: right;
}

.zone-number .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.zone-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(102, 187, 106, 0.08) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.zone-card:hover .zone-overlay {
    opacity: 1;
}

/* Bénéficiaires */
.beneficiary-card {
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.beneficiary-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.beneficiary-icon {
    transition: var(--transition);
}

.beneficiary-card:hover .beneficiary-icon {
    transform: scale(1.1);
}

/* Section Statistiques avec Compteurs Animés */
.stats-counter-section {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
    position: relative;
}

.stats-counter-section.bg-dark {
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
}

/* Style pour fond clair avec icônes vertes circulaires */
.counter-card-dark {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 187, 106, 0.15);
    border: 1px solid rgba(102, 187, 106, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.counter-card-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #66BB6A, #4CAF50);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.counter-card-dark:hover::before {
    transform: scaleX(1);
}

.counter-card-dark:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(102, 187, 106, 0.25);
    border-color: #66BB6A;
    background: rgba(255, 255, 255, 0.95);
}

.counter-icon-green {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(102, 187, 106, 0.3);
}

.counter-icon-green::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    background-clip: padding-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.counter-card-dark:hover .counter-icon-green::after {
    opacity: 0.3;
}

.counter-icon-green i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.counter-card-dark:hover .counter-icon-green {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, #4CAF50, #81C784);
    box-shadow: 0 12px 35px rgba(102, 187, 106, 0.4);
}

.counter-content-dark {
    position: relative;
    z-index: 2;
}

.counter-card-dark .counter-number {
    margin-bottom: 1.5rem;
    line-height: 1;
}

.counter-card-dark .counter {
    font-size: 4rem;
    font-weight: 800;
    display: inline-block;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
}

.counter-card-dark .counter-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 0.5rem;
    vertical-align: top;
}

.counter-card-dark:hover .counter {
    transform: scale(1.05);
}

.counter-card-dark .counter-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-card-dark .counter-description {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Animation d'apparition pour les cartes sombres */
.counter-card-dark {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.counter-card-dark:nth-child(1) { animation-delay: 0.1s; }
.counter-card-dark:nth-child(2) { animation-delay: 0.2s; }
.counter-card-dark:nth-child(3) { animation-delay: 0.3s; }
.counter-card-dark:nth-child(4) { animation-delay: 0.4s; }

/* Styles pour le Carrousel Hero avec design oblique */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
}

/* Portion gauche - Citations avec fond dégradé animé */
.carousel-left-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    z-index: 3;
    clip-path: polygon(0 0, 75% 0, 55% 100%, 0 100%);
    overflow: hidden;
}

.gradient-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Gradient par défaut si aucune classe spécifique */
.gradient-animated-bg:not([class*="gradient-"]) {
    background: linear-gradient(-45deg, #66BB6A, #4CAF50, #81C784, #A5D6A7, #C8E6C9);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Dégradés animés pour la portion gauche du carrousel */
.gradient-1 {
    background: linear-gradient(-45deg, #81C784, #66BB6A, #4CAF50, #2e7d32);
    background-size: 400% 400%;
    animation: gradientShift1 8s ease-in-out infinite;
}

.gradient-2 {
    background: linear-gradient(-45deg, #66BB6A, #4CAF50, #81C784, #A5D6A7);
    background-size: 400% 400%;
    animation: gradientShift2 10s ease-in-out infinite;
}

.gradient-3 {
    background: linear-gradient(-45deg, #4CAF50, #2e7d32, #66BB6A, #81C784);
    background-size: 400% 400%;
    animation: gradientShift3 12s ease-in-out infinite;
}

.gradient-4 {
    background: linear-gradient(-45deg, #A5D6A7, #81C784, #66BB6A, #4CAF50);
    background-size: 400% 400%;
    animation: gradientShift4 9s ease-in-out infinite;
}

.gradient-5 {
    background: linear-gradient(-45deg, #C8E6C9, #A5D6A7, #81C784, #66BB6A);
    background-size: 400% 400%;
    animation: gradientShift5 11s ease-in-out infinite;
}

/* Animations pour chaque gradient */
@keyframes gradientShift1 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientShift2 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientShift3 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientShift4 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gradientShift5 {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.carousel-content-left {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem 3rem 3rem;
}

.text-content {
    max-width: 450px;
    text-align: left;
    color: white;
    padding-right: 2rem;
}

.carousel-right-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
}

/* Contenu mobile masqué en desktop */
.carousel-content-mobile {
    display: none;
}

/* Amélioration de la transition entre slides */
.hero-carousel .carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* Responsive design - Image plein écran avec citation superposée */
@media (max-width: 768px) {
    /* Masquer le bloc vert séparé */
    .carousel-left-section {
        display: none !important;
    }
    
    /* Image en plein écran */
    .carousel-right-section {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }
    
    /* Overlay sombre pour améliorer la lisibilité du texte */
    .carousel-right-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.6) 100%
        );
        z-index: 2;
    }
    
    /* Masquer le contenu desktop */
    .carousel-content-left {
        display: none;
    }
    
    /* Afficher et positionner le contenu mobile */
    .carousel-content-mobile {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        z-index: 10;
        padding: 1.5rem;
        text-align: center;
    }
    
    .text-content {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    /* Titre compact */
    .carousel-title-left {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
        font-weight: 700;
        color: #ffffff;
    }
    
    /* Réafficher la citation avec style adapté */
    .carousel-quote-left {
        display: block !important;
        margin: 1rem 0;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    .carousel-quote-left p {
        font-size: 1rem;
        line-height: 1.5;
        font-style: italic;
        color: #ffffff;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
        margin-bottom: 0.5rem;
        font-weight: 400;
    }
    
    .carousel-quote-left footer {
        font-size: 0.9rem;
        color: #f0f8ff;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
        opacity: 0.95;
    }
    
    /* Boutons sociaux repositionnés */
    .social-buttons {
        justify-content: center;
        gap: 0.6rem;
        margin-top: 1rem;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        background: rgba(102, 187, 106, 0.85);
        backdrop-filter: blur(5px);
    }
}

@media (max-width: 576px) {
    .carousel-content-mobile {
        width: 95%;
        padding: 1rem;
    }
    
    .carousel-title-left {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.15;
    }
    
    .carousel-quote-left p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }
    
    .carousel-quote-left footer {
        font-size: 0.85rem;
    }
    
    .social-buttons {
        gap: 0.5rem;
        margin-top: 0.8rem;
    }
    
    .social-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Très petits écrans */
@media (max-width: 400px) {
    .carousel-content-mobile {
        width: 95%;
        padding: 0.8rem;
    }
    
    .carousel-title-left {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        line-height: 1.1;
    }
    
    .carousel-quote-left p {
        font-size: 0.85rem;
        line-height: 1.35;
        margin-bottom: 0.3rem;
    }
    
    .carousel-quote-left footer {
        font-size: 0.8rem;
    }
    
    .social-buttons {
        gap: 0.4rem;
        margin-top: 0.6rem;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    /* Masquer les 2 derniers boutons sociaux sur très petits écrans */
    .social-buttons .social-btn:nth-child(n+4) {
        display: none;
    }
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

/* Overlay géré par .carousel-right-section::before en mobile */

.carousel-item.active .carousel-image {
    transform: scale(1.05);
}

/* Styles pour la nouvelle structure oblique */
.carousel-title-left {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
    color: white;
}

.carousel-quote-left {
    margin: 2rem 0;
    padding: 0;
    background: transparent;
    border: none;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-quote-left p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.carousel-quote-left footer {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 600;
    color: #f0f8ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Anciens styles conservés pour compatibilité */
.carousel-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1s ease-out;
}

.carousel-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.carousel-quote p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.carousel-quote footer {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 600;
    color: #f8f9fa;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.social-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Animation pour le slide depuis la gauche */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-btn.facebook::before {
    background: #1877f2;
}

.social-btn.linkedin::before {
    background: #0077b5;
}

.social-btn.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.whatsapp::before {
    background: #25d366;
}

.social-btn.twitter::before {
    background: #1da1f2;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:hover::before {
    transform: scale(1);
}

/* Indicateurs du carrousel */
.hero-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

.hero-carousel .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    background-color: #66BB6A;
    border-color: #66BB6A;
    transform: scale(1.2);
}

/* Indicateurs en mobile */
@media (max-width: 768px) {
    .hero-carousel .carousel-indicators {
        bottom: 12px;
    }
    
    .hero-carousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
        background-color: rgba(255, 255, 255, 0.6);
        border: 1.5px solid rgba(255, 255, 255, 0.8);
    }
    
    .hero-carousel .carousel-indicators button.active {
        background-color: #66BB6A;
        border-color: #ffffff;
        transform: scale(1.2);
        box-shadow: 0 2px 6px rgba(102, 187, 106, 0.5);
    }
}

/* Contrôles de navigation */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-carousel .carousel-control-prev {
    left: 30px;
}

.hero-carousel .carousel-control-next {
    right: 30px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: rgba(102, 187, 106, 0.8);
    border-color: #66BB6A;
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation fadeInUp définie dans la section ANIMATIONS à la fin du fichier */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-carousel {
        height: 100vh;
        min-height: 100vh;
        margin-top: 0;
        overflow: hidden;
    }
    
    .hero-carousel .carousel-item {
        height: 100vh;
        min-height: 100vh;
        flex-direction: row;
        position: relative;
    }
    
    .carousel-title {
        font-size: 2.5rem;
    }
    
    .carousel-quote p {
        font-size: 1.2rem;
    }
    
    .social-buttons {
        gap: 0.5rem;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
        background: rgba(102, 187, 106, 0.85);
        border: 1.5px solid rgba(255, 255, 255, 0.7);
        opacity: 0.9;
    }
    
    .hero-carousel .carousel-control-prev {
        left: 8px;
    }
    
    .hero-carousel .carousel-control-next {
        right: 8px;
    }
    
    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-quote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .carousel-quote p {
        font-size: 1.1rem;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Styles existants pour la version claire (conservés) */
.counter-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(46, 139, 87, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.counter-card:hover::before {
    transform: scaleX(1);
}

.counter-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.counter-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.3);
}

.counter-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: padding-box;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.counter-card:hover .counter-icon::after {
    opacity: 0.3;
}

.counter-icon i {
    font-size: 2.5rem;
    color: white;
    z-index: 2;
    position: relative;
}

.counter-card:hover .counter-icon {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 12px 35px rgba(46, 139, 87, 0.4);
}

.counter-content {
    position: relative;
    z-index: 2;
}

.counter-number {
    margin-bottom: 1.5rem;
    line-height: 1;
}

.counter {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
}

.counter-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 0.5rem;
    vertical-align: top;
}

.counter-card:hover .counter {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.counter-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.counter-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Animation d'apparition */
.counter-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.counter-card:nth-child(1) { animation-delay: 0.1s; }
.counter-card:nth-child(2) { animation-delay: 0.2s; }
.counter-card:nth-child(3) { animation-delay: 0.3s; }
.counter-card:nth-child(4) { animation-delay: 0.4s; }

/* Animation fadeInUp définie dans la section ANIMATIONS à la fin du fichier */

/* Responsive */
@media (max-width: 768px) {
    .counter {
        font-size: 3rem;
    }
    
    .counter-suffix {
        font-size: 1.2rem;
    }
    
    .counter-icon {
        width: 70px;
        height: 70px;
    }
    
    .counter-icon i {
        font-size: 2rem;
    }
    
    .counter-card {
        padding: 2rem 1.5rem;
    }
}

/* Reset et base */
* {
    box-sizing: border-box;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Liens */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Boutons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(50, 205, 50, 0.3);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* Fond vert clair pour les cartes normales (sauf statistiques sur fond sombre) */
.card:not([style*="rgba"]) {
    background: linear-gradient(135deg, #F1F8E9 0%, #f8fdf9 100%) !important;
    color: #212529 !important;
}

.card-title {
    margin: 0;
    font-weight: 600;
    color: #1976D2;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: transparent;
    border-top: 1px solid #eee;
    padding: 1rem 1.5rem;
}

/* Section Hero */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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="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)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Statistiques */
.stats-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.98);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Composantes */
.composante-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.composante-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.composante-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.composante-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.composante-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Actualités */
.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Documents */
.document-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.document-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.document-info h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.document-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ */
.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 500px;
}

.accordion-collapse.show .faq-answer {
    max-height: none; /* contenu entièrement visible */
    padding: 1.5rem;
}

/* Formulaires */
.form-control {
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
    background: var(--bg-white);
}

/* Labels de formulaires - Visibilité forcée */
label,
.form-label,
.col-form-label {
    font-weight: 500;
    color: #37474F !important;
    margin-bottom: 0.5rem;
    display: block;
}

.form-floating > label {
    color: #37474F !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #66BB6A !important;
}

/* Texte d'aide sous les champs */
.form-text,
small.form-text {
    color: #6c757d !important;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

/* Alertes */
.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.alert-success {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(50, 205, 50, 0.1));
    border-left: 4px solid var(--primary-color);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 107, 107, 0.1));
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 235, 59, 0.1));
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(79, 172, 254, 0.1));
    border-left: 4px solid #0dcaf0;
    color: #0c5460;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge-primary {
    background: var(--primary-color);
    color: white;
}

.badge-success {
    background: var(--accent-color);
    color: white;
}

/* Pagination */
.pagination .page-link {
    border: none;
    color: var(--primary-color);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* Breadcrumb déjà défini dans la section BREADCRUMB */

/* =============================================
   ANIMATIONS CONSOLIDÉES
   ============================================= */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* fade-in-up/left/right supprimés */

/* =============================================
   STYLES SPÉCIFIQUES PAR PAGE (anciennement inline)
   ============================================= */

/* ===== PAGE CONTACT (contact.php) ===== */
#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
}

.accordion-button {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

.accordion-body {
    padding: 0.5rem 0.75rem;
}

/* Numéro vert animations */
.pulse-icon {
    animation: pulse-scale 2s infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.numero-vert-box {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: glow 2s infinite alternate;
}

/* Animation glow déjà définie dans la section ANIMATIONS SUPPLÉMENTAIRES */

/* ===== PAGE BSP (bsp.php) ===== */
.table-responsive {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.table-hover tbody tr:hover {
    background-color: rgba(102, 187, 106, 0.05);
}

.stat-box {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.objective-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.objective-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ===== PAGE AMI DETAIL (ami_detail.php) ===== */
.user-content {
    line-height: 1.6;
}

.user-content h1, .user-content h2, .user-content h3 {
    color: var(--bs-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.user-content p {
    margin-bottom: 1rem;
}

.user-content ul, .user-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* Cartes de documents - Largeur naturelle et contenance */
.ami-detail-page .card {
    overflow: hidden;
    min-height: 140px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.ami-detail-page .card-body {
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    min-width: 0;
}

/* Positionnement naturel des cartes */
.ami-detail-page .col-12,
.ami-detail-page .col-md-6,
.ami-detail-page .col-xl-4 {
    display: flex;
    flex-direction: column;
}

.ami-detail-page .col-12 .card,
.ami-detail-page .col-md-6 .card,
.ami-detail-page .col-xl-4 .card {
    flex: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
}

/* ===== PAGE ACTUALITE DETAIL (actualite_public_detail.php) ===== */
.hero-actualite {
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    z-index: 3;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.content-actualite {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #2c3e50;
}

.content-actualite h2,
.content-actualite h3 {
    color: var(--bs-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-actualite p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.btn-social {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
}

.similar-article:hover {
    background-color: rgba(0, 0, 0, 0.02);
    transform: translateX(5px);
}

.illustration-gallery .illustration-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.illustration-gallery .illustration-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.illustration-gallery .illustration-item:hover img {
    transform: scale(1.1);
}

.illustration-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.illustration-lightbox-overlay.active {
    display: flex;
}

.illustration-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.illustration-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.illustration-lightbox-close,
.illustration-lightbox-prev,
.illustration-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.illustration-lightbox-close {
    top: 10px;
    right: 10px;
    transform: none;
}

.illustration-lightbox-prev {
    left: -55px;
}

.illustration-lightbox-next {
    right: -55px;
}

.illustration-lightbox-close:hover,
.illustration-lightbox-prev:hover,
.illustration-lightbox-next:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.illustration-lightbox-close i,
.illustration-lightbox-prev i,
.illustration-lightbox-next i {
    font-size: 1.1rem;
}

/* Centrage et espacement optimisés */
.page-actualite .container {
    max-width: 1200px;
}

.article-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Alignement sidebar avec contenu principal */
.page-actualite .row.justify-content-center {
    max-width: 1200px;
    margin: 0 auto;
}

/* Animations au scroll */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-in"] {
    opacity: 0;
}

.animate-on-scroll[data-animation="fade-in"].animated {
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-in-up"] {
    opacity: 0;
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="fade-in-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="fade-in-left"] {
    opacity: 0;
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="fade-in-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll[data-animation="fade-in-right"] {
    opacity: 0;
    transform: translateX(50px);
}

.animate-on-scroll[data-animation="fade-in-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll[data-animation="zoom-in"] {
    opacity: 0;
    transform: scale(0.9);
}

.animate-on-scroll[data-animation="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

/* Section vidéos */
.video-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.video-card {
    height: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.video-badge .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.video-title {
    font-size: 1.1rem;
    color: #333;
}

.video-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.video-meta {
    font-size: 0.875rem;
}

.video-meta a {
    color: #6c757d;
    transition: color 0.3s ease;
}

.video-meta a:hover {
    color: var(--bs-primary);
}

/* ===== PAGE 404 (404.php) ===== */
.fa-exclamation-triangle {
    animation: bounce 2s infinite;
}

/* Animation bounce déjà définie dans la section ANIMATIONS CONSOLIDÉES */

/* ===== RESPONSIVE POUR PAGES SPÉCIFIQUES ===== */
@media (min-width: 992px) {
    .col-lg-4 .card {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 768px) {
    /* BSP page */
    .table {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    /* Actualité detail page */
    .hero-actualite {
        height: 40vh;
        min-height: 300px;
    }
    
    .hero-actualite h1,
    .article-header h1 {
        font-size: 1.5rem !important;
    }
    
    /* Ajouter une marge supérieure au badge de vues quand il passe à la ligne */
    .hero-content .badge.bg-info {
        margin-top: 0.5rem !important;
    }
    
    .content-card {
        padding: 2rem 1.5rem !important;
        max-width: 100% !important;
        margin: 0 1rem !important;
    }
    
    .social-share-section {
        max-width: 100% !important;
        margin: 2rem 1rem 1rem 1rem !important; /* Matching other sections spacing */
        position: relative !important;
        z-index: 1 !important;
        clear: both !important;
        transform: translateY(0); /* Ensure proper positioning */
    }
    
    .btn-social {
        width: 40px;
        height: 40px;
    }
    
    main.container-fluid {
        padding-top: 1rem !important;
    }
    
    .breadcrumb {
        margin-bottom: 1rem !important;
    }
    
    .article-header {
        margin-bottom: 1.5rem !important;
    }
    
    .page-actualite .row.justify-content-center {
        margin: 0 1rem !important;
        max-width: calc(100% - 2rem) !important;
    }
    
    .illustration-lightbox-prev {
        left: -40px;
    }
    
    .illustration-lightbox-next {
        right: -40px;
    }
    
    .video-section {
        margin-top: 2rem;
    }
    
    .video-container {
        border-radius: 8px;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .video-badge .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 575.98px) {
    /* AMI detail page */
    .ami-detail-page .card {
        min-height: 160px;
    }
    
    .ami-detail-page .card-body {
        padding: 0.75rem !important;
    }
    
    .ami-detail-page .btn-sm {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .ami-detail-page .fa-2x {
        font-size: 1.8em !important;
    }
}

@media (min-width: 576px) {
    .ami-detail-page .card {
        min-height: 140px;
    }
}

/* ===== FAQ SECTION STYLES ===== */
.faq-preview {
    position: relative;
}

.faq-image-container {
    margin-bottom: 2rem;
}

.faq-letters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

.faq-f {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation-delay: 0s;
}

.faq-a {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    animation-delay: 0.2s;
}

.faq-q {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    animation-delay: 0.4s;
}

.faq-accordion {
    max-height: 400px;
    overflow-y: auto;
}

.faq-item-preview {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-preview:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-question-preview {
    border: none !important;
    background: #f8f9fa !important;
    transition: all 0.3s ease;
}

.faq-question-preview:hover {
    background: #e9ecef !important;
}

.faq-question-preview[aria-expanded="true"] {
    background: #e7f3ff !important;
}

.faq-question-preview[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer-preview {
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.transition-all {
    transition: all 0.3s ease;
}

/* Responsive adjustments for FAQ */
@media (max-width: 991px) {
    .faq-letters {
        gap: 0.5rem;
    }
    
    .faq-letter {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .faq-accordion {
        max-height: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .composante-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .news-image {
        height: 150px;
        font-size: 2rem;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .composante-card,
    .news-card {
        margin-bottom: 2rem;
    }
}

/* Utilitaires */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.bg-light-green {
    background: var(--bg-light) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-hover {
    box-shadow: var(--shadow-hover) !important;
}

.rounded-lg {
    border-radius: var(--border-radius) !important;
}

/* États de chargement */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2c2c2c;
        --text-dark: #ffffff;
        --text-light: #cccccc;
    }
    
    body {
        background-color: var(--bg-white);
        color: var(--text-dark);
    }
    
    .card,
    .composante-card,
    .news-card,
    .document-item,
    .faq-item {
        background: var(--bg-light);
    }
    
    .form-control {
        background: var(--bg-light);
        border-color: #444;
        color: var(--text-dark);
    }
}

/* =============================================
   CORRECTION OMBRES - CARTE APERÇU PROJET
   ============================================= */

/* Renforcer TOUTES les ombres pour effet 3D prononcé */

/* Ombre petite - Pour la carte de description blanche */
.shadow-sm,
.card.shadow-sm {
    box-shadow: 
        0 0.5rem 1.5rem rgba(0, 0, 0, 0.15),
        0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

/* Fond harmonisé pour la carte de description du projet */
.card.bg-white.shadow-sm {
    background: linear-gradient(135deg, #fefefe 0%, #f8faf9 100%) !important;
}

/* Ombre moyenne */
.shadow {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2) !important;
}

/* Ombre grande - Pour la carte verte */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

/* Ombre encore plus prononcée pour les cartes avec fond vert */
.card.shadow-lg {
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.35) !important;
}

/* Effet 3D supplémentaire pour la carte de présentation verte */
.card.border-0.shadow-lg {
    box-shadow: 
        0 1.5rem 4rem rgba(0, 0, 0, 0.35),
        0 0.5rem 1.5rem rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
    transform: translateZ(0);
}

/* =============================================
   SECTION OBJECTIFS ET BÉNÉFICIAIRES
   ============================================= */

/* Section principale avec dégradé vert sophistiqué */
.objectives-section {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 50%, #A5D6A7 100%);
    position: relative;
    overflow: hidden;
}

/* Pattern d'arrière-plan décoratif */
.objectives-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%232e7d32" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

/* Éléments décoratifs flottants */
.objectives-section::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-decoration 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes float-decoration {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

/* Icône décorative gauche */
.objectives-section .container {
    position: relative;
    z-index: 1;
}

.objectives-section .container::before {
    content: '\f0eb';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: -5%;
    top: 10%;
    font-size: 15rem;
    color: rgba(46, 125, 50, 0.08);
    z-index: 0;
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Icône décorative droite */
.objectives-section .container::after {
    content: '\f4d8';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -5%;
    bottom: 10%;
    font-size: 12rem;
    color: rgba(76, 175, 80, 0.08);
    z-index: 0;
    animation: pulse-slow 5s ease-in-out infinite 1s;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.08;
        transform: scale(1);
    }
    50% {
        opacity: 0.12;
        transform: scale(1.05);
    }
}

/* Badge de section réutilisable */
.section-badge {
    display: inline-block;
    background: rgba(102, 187, 106, 0.1);
    color: #66BB6A;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #66BB6A;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: #66BB6A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

/* Titre de section réutilisable */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #37474F;
}

/* Carte objectif principal */
.objective-main-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-left: 4px solid #66BB6A;
}

.objective-main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 187, 106, 0.2);
}

.objective-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(102, 187, 106, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.objective-main-card:hover .objective-icon-box {
    transform: rotate(360deg) scale(1.1);
    background: rgba(102, 187, 106, 0.2);
}

.objective-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #546E7A;
    margin: 0;
}

/* Carte zones d'intervention */
.intervention-zone-card {
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #0288D1;
    transition: all 0.3s ease;
}

.intervention-zone-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.2);
}

/* Carte highlight bénéficiaires */
.beneficiaries-highlight-card {
    display: inline-block;
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem 3rem;
    box-shadow: 0 8px 25px rgba(102, 187, 106, 0.3);
    transition: all 0.4s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.beneficiaries-highlight-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 187, 106, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(102, 187, 106, 0.3);
    }
    50% {
        box-shadow: 0 12px 35px rgba(102, 187, 106, 0.5);
    }
}

/* Cartes bénéficiaires - Design unifié */
.beneficiary-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.beneficiary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #4CAF50);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.beneficiary-card:hover::before {
    transform: scaleX(1);
}

.beneficiary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Icônes bénéficiaires - Taille et style unifiés */
.beneficiary-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.beneficiary-icon-box i {
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.beneficiary-card:hover .beneficiary-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.beneficiary-card:hover .beneficiary-icon-box i {
    transform: scale(1.1);
}

/* Couleurs des icônes - Utilisation des classes Bootstrap */
.beneficiary-icon-box.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.3);
}

.beneficiary-icon-box.bg-primary {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.beneficiary-icon-box.bg-warning {
    background: linear-gradient(135deg, #FFA726, #FB8C00);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.beneficiary-icon-box.bg-info {
    background: linear-gradient(135deg, #26C6DA, #00ACC1);
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.beneficiary-icon-box.bg-secondary {
    background: linear-gradient(135deg, #78909C, #546E7A);
    box-shadow: 0 4px 15px rgba(96, 125, 139, 0.3);
}

.beneficiary-icon-box.bg-danger {
    background: linear-gradient(135deg, #EF5350, #E53935);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

/* Titres bénéficiaires - Taille unifiée */
.beneficiary-title {
    font-size: 1rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* Descriptions bénéficiaires - Style unifié */
.beneficiary-desc {
    font-size: 0.875rem;
    color: #78909C;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .beneficiary-card {
        padding: 1.5rem 1rem;
    }
    
    .beneficiary-icon-box {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .objective-main-card {
        padding: 1.5rem;
    }
    
    .beneficiaries-highlight-card {
        padding: 1rem 2rem;
    }
}

/* =============================================
   SECTION AMI INFO (Guide de participation)
   ============================================= */

/* Section principale avec dégradé */
.ami-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Pattern d'arrière-plan subtil */
.ami-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23000000" fill-opacity="1" fill-rule="evenodd"%3E%3Cpath d="M0 40L40 0H20L0 20M40 40V20L20 40"/%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

.ami-info-section .container {
    position: relative;
    z-index: 1;
}

/* Badge d'information */
.ami-info-badge {
    display: inline-block;
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #2196F3;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ami-info-badge:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Titre de la section */
.ami-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Sous-titre */
.ami-info-subtitle {
    font-size: 1.1rem;
    color: #78909C;
    margin: 0;
}

/* Cartes des étapes - Taille uniforme */
.ami-step-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Effet de bordure animée */
.ami-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #66BB6A, #00BCD4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ami-step-card:hover::before {
    transform: scaleX(1);
}

.ami-step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Numéro de l'étape */
.ami-step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #37474F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ami-step-card:hover .ami-step-number {
    transform: rotate(360deg) scale(1.1);
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    color: white;
}

/* Icône de l'étape - Taille uniforme */
.ami-step-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    position: relative;
    transition: all 0.4s ease;
}

.ami-step-icon-box i {
    font-size: 2.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.ami-step-card:hover .ami-step-icon-box {
    transform: scale(1.15) rotate(-5deg);
}

.ami-step-card:hover .ami-step-icon-box i {
    transform: scale(1.1);
}

/* Couleurs des icônes avec dégradés */
.ami-step-icon-box.bg-primary {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.ami-step-icon-box.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

.ami-step-icon-box.bg-info {
    background: linear-gradient(135deg, #26C6DA, #00ACC1);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

/* Titre de l'étape - Taille uniforme */
.ami-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #37474F;
    margin: 1rem 0 1rem 0;
    line-height: 1.3;
}

/* Description de l'étape - Taille uniforme */
.ami-step-desc {
    font-size: 0.95rem;
    color: #78909C;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 991.98px) {
    .ami-info-title {
        font-size: 2rem;
    }
    
    .ami-step-card {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    
    .ami-step-icon-box {
        width: 90px;
        height: 90px;
    }
    
    .ami-step-icon-box i {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .ami-info-section {
        padding: 3rem 0;
    }
    
    .ami-info-title {
        font-size: 1.75rem;
    }
    
    .ami-info-subtitle {
        font-size: 1rem;
    }
    
    .ami-step-card {
        min-height: 320px;
        padding: 2rem 1.5rem;
    }
    
    .ami-step-icon-box {
        width: 80px;
        height: 80px;
    }
    
    .ami-step-icon-box i {
        font-size: 2rem;
    }
    
    .ami-step-title {
        font-size: 1.25rem;
    }
    
    .ami-step-desc {
        font-size: 0.9rem;
    }
}

/* =============================================
   SECTION CONTACT INFO (Informations de contact)
   ============================================= */

/* Section principale avec dégradé */
.contact-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Pattern d'arrière-plan */
.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23000000" fill-opacity="1"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3Ccircle cx="0" cy="0" r="2"/%3E%3Ccircle cx="60" cy="0" r="2"/%3E%3Ccircle cx="0" cy="60" r="2"/%3E%3Ccircle cx="60" cy="60" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

.contact-info-section .container {
    position: relative;
    z-index: 1;
}

/* Badge */
.contact-info-badge {
    display: inline-block;
    background: rgba(102, 187, 106, 0.1);
    color: #66BB6A;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #66BB6A;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-badge:hover {
    background: #66BB6A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

/* Titre */
.contact-info-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Sous-titre */
.contact-info-subtitle {
    font-size: 1.1rem;
    color: #78909C;
    margin: 0;
}

/* Cartes de contact - Taille uniforme */
.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    min-height: 340px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Bordure animée */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #2196F3, #00BCD4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
    transform: scaleX(1);
}

.contact-info-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Carte featured (Numéro Vert) */
.contact-info-card-featured {
    background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
    box-shadow: 0 8px 30px rgba(102, 187, 106, 0.3);
}

.contact-info-card-featured::before {
    background: linear-gradient(90deg, #fff, #fff);
}

.contact-info-card-featured:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 187, 106, 0.4);
}

/* Icônes - Taille uniforme */
.contact-info-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.contact-info-icon-box i {
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon-box {
    transform: scale(1.15) rotate(10deg);
}

.contact-info-card:hover .contact-info-icon-box i {
    transform: scale(1.1);
}

/* Couleurs des icônes */
.contact-info-icon-box.bg-primary {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.contact-info-icon-box.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

.contact-info-icon-box.bg-info {
    background: linear-gradient(135deg, #26C6DA, #00ACC1);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.contact-info-icon-box.bg-white {
    background: white;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.contact-info-card-featured .contact-info-icon-box {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    }
}

/* Titres des cartes */
.contact-info-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Texte des cartes */
.contact-info-card-text {
    font-size: 0.95rem;
    color: #546E7A;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Liens de contact */
.contact-link {
    color: #66BB6A;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #4CAF50;
    transform: translateX(3px);
}

/* Horaires */
.contact-info-hours {
    display: block;
    color: #78909C;
    font-size: 0.85rem;
    margin-top: auto;
}

/* Numéro Vert - Display */
.numero-vert-display {
    background: white;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.numero-vert-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4CAF50;
    letter-spacing: 0.3em;
    display: block;
    animation: numero-glow 2s ease-in-out infinite;
}

@keyframes numero-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
    }
}

/* Features du numéro vert */
.numero-vert-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.numero-vert-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
}

.numero-vert-feature i {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-info-title {
        font-size: 2rem;
    }
    
    .contact-info-card {
        min-height: 320px;
        padding: 2rem 1.5rem;
    }
    
    .contact-info-icon-box {
        width: 80px;
        height: 80px;
    }
    
    .contact-info-icon-box i {
        font-size: 2rem;
    }
    
    .numero-vert-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .contact-info-section {
        padding: 3rem 0;
    }
    
    .contact-info-title {
        font-size: 1.75rem;
    }
    
    .contact-info-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-card {
        min-height: 300px;
        padding: 2rem 1.5rem;
    }
    
    .contact-info-icon-box {
        width: 75px;
        height: 75px;
    }
    
    .contact-info-icon-box i {
        font-size: 1.8rem;
    }
    
    .contact-info-card-title {
        font-size: 1.2rem;
    }
    
    .numero-vert-number {
        font-size: 2.2rem;
        letter-spacing: 0.2em;
    }
    
    .numero-vert-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* =============================================
   SECTIONS COMPOSANTES (Objectifs & Sous-composantes)
   ============================================= */

/* Section Objectifs */
.composante-objectives-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.composante-objectives-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2366BB6A" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

.composante-objectives-section .container {
    position: relative;
    z-index: 1;
}

/* Section Sous-composantes */
.composante-subcomponents-section {
    background: linear-gradient(135deg, #37474F 0%, #263238 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.composante-subcomponents-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%2366BB6A" fill-opacity="1"%3E%3Cpath d="M0 0h40v40H0V0zm40 40h40v40H40V40z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 0;
}

.composante-subcomponents-section .container {
    position: relative;
    z-index: 1;
}

/* Badge de section */
.composante-section-badge {
    display: inline-block;
    background: rgba(102, 187, 106, 0.1);
    color: #66BB6A;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #66BB6A;
    border-radius: 50px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.composante-section-badge.badge-light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.composante-section-badge:hover {
    background: #66BB6A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
}

.composante-section-badge.badge-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Titre de section */
.composante-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Sous-titre */
.composante-section-subtitle {
    font-size: 1.1rem;
    color: #78909C;
    margin: 0;
}

/* Cartes Objectifs - Taille uniforme */
.composante-objective-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    min-height: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.composante-objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #2196F3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.composante-objective-card:hover::before {
    transform: scaleX(1);
}

.composante-objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Icône objectif */
.composante-objective-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.composante-objective-icon i {
    font-size: 2rem;
    color: white;
}

.composante-objective-card:hover .composante-objective-icon {
    transform: scale(1.1) rotate(10deg);
}

.composante-objective-icon.bg-primary {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.composante-objective-icon.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

/* Titre objectif */
.composante-objective-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Description objectif */
.composante-objective-desc {
    font-size: 1rem;
    color: #546E7A;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Liste objectif */
.composante-objective-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.composante-objective-list li {
    padding: 0.75rem 0;
    border-top: 1px solid #E0E0E0;
    font-size: 0.95rem;
    color: #546E7A;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.composante-objective-list li:first-child {
    border-top: none;
}

.composante-objective-list li i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Cartes Sous-composantes */
.composante-subcomponent-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.composante-subcomponent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #66BB6A, #2196F3);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.composante-subcomponent-card:hover::before {
    transform: scaleY(1);
}

.composante-subcomponent-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Numéro sous-composante */
.composante-subcomponent-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
    transition: all 0.4s ease;
}

.composante-subcomponent-number.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 8px 25px rgba(102, 187, 106, 0.4);
}

.composante-subcomponent-card:hover .composante-subcomponent-number {
    transform: scale(1.1) rotate(360deg);
}

/* Titre sous-composante */
.composante-subcomponent-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Description sous-composante */
.composante-subcomponent-desc {
    font-size: 1.05rem;
    color: #546E7A;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Features sous-composante */
.composante-subcomponent-feature {
    display: flex;
    align-items: start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.composante-subcomponent-feature:hover {
    background: rgba(255, 255, 255, 0.8);
    border-left-color: #4CAF50;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.composante-subcomponent-feature i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.composante-subcomponent-feature h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.composante-subcomponent-feature small {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 991.98px) {
    .composante-section-title {
        font-size: 2rem;
    }
    
    .composante-objective-card {
        min-height: 380px;
        padding: 2rem;
    }
    
    .composante-objective-icon {
        width: 70px;
        height: 70px;
    }
    
    .composante-objective-icon i {
        font-size: 1.8rem;
    }
    
    .composante-subcomponent-number {
        width: 90px;
        height: 90px;
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .composante-objectives-section,
    .composante-subcomponents-section {
        padding: 3rem 0;
    }
    
    .composante-section-title {
        font-size: 1.75rem;
    }
    
    .composante-section-subtitle {
        font-size: 1rem;
    }
    
    .composante-objective-card {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .composante-objective-icon {
        width: 65px;
        height: 65px;
    }
    
    .composante-objective-icon i {
        font-size: 1.6rem;
    }
    
    .composante-objective-title {
        font-size: 1.3rem;
    }
    
    .composante-subcomponent-card {
        padding: 2rem 1.5rem;
    }
    
    .composante-subcomponent-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .composante-subcomponent-title {
        font-size: 1.5rem;
    }
}

/* =============================================
   SECTION SOLUTIONS FONDÉES SUR LA NATURE
   ============================================= */

/* Section principale */
.nature-solutions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.nature-solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="%2366BB6A" fill-opacity="1"/%3E%3C/svg%3E');
    z-index: 0;
}

.nature-solutions-section .container {
    position: relative;
    z-index: 1;
}

/* Cartes Solutions Nature - Taille uniforme */
.nature-solution-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    height: 100%;
    min-height: 320px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nature-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #66BB6A, #4CAF50, #2E7D32);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.nature-solution-card:hover::before {
    transform: scaleX(1);
}

.nature-solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Icône solution nature */
.nature-solution-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.nature-solution-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.4s ease;
}

.nature-solution-card:hover .nature-solution-icon::after {
    opacity: 0.3;
    transform: scale(1.4);
}

.nature-solution-icon i {
    font-size: 2.2rem;
    color: white;
}

.nature-solution-card:hover .nature-solution-icon {
    transform: scale(1.15) rotate(-10deg);
}

.nature-solution-icon.bg-success {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.4);
}

.nature-solution-icon.bg-info {
    background: linear-gradient(135deg, #26C6DA, #00ACC1);
    box-shadow: 0 6px 20px rgba(38, 198, 218, 0.4);
}

.nature-solution-icon.bg-warning {
    background: linear-gradient(135deg, #FFA726, #FB8C00);
    box-shadow: 0 6px 20px rgba(255, 167, 38, 0.4);
}

.nature-solution-icon.bg-primary {
    background: linear-gradient(135deg, #42A5F5, #1E88E5);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Titre solution */
.nature-solution-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
}

/* Description solution */
.nature-solution-desc {
    font-size: 0.95rem;
    color: #546E7A;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 991.98px) {
    .nature-solution-card {
        min-height: 300px;
        padding: 1.75rem 1.25rem;
    }
    
    .nature-solution-icon {
        width: 80px;
        height: 80px;
    }
    
    .nature-solution-icon i {
        font-size: 2rem;
    }
    
    .nature-solution-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .nature-solutions-section {
        padding: 3rem 0;
    }
    
    .nature-solution-card {
        min-height: 280px;
        padding: 1.5rem 1rem;
    }
    
    .nature-solution-icon {
        width: 75px;
        height: 75px;
    }
    
    .nature-solution-icon i {
        font-size: 1.8rem;
    }
    
    .nature-solution-title {
        font-size: 1.15rem;
    }
    
    .nature-solution-desc {
        font-size: 0.9rem;
    }
}

/* =============================================
   SECTION VUE D'ENSEMBLE DU PROJET
   ============================================= */

/* Section principale */
.project-overview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.project-overview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%234CAF50" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 1;
    z-index: 0;
}

.project-overview-section .container {
    position: relative;
    z-index: 1;
}

/* Cartes Vue d'ensemble */
.project-overview-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.project-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-overview-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.project-overview-card:hover::before {
    transform: scaleX(1);
}

/* Icône */
.project-overview-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.project-overview-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid currentColor;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.project-overview-card:hover .project-overview-icon {
    transform: scale(1.15) rotate(-10deg);
}

.project-overview-card:hover .project-overview-icon::after {
    opacity: 0.3;
    transform: scale(1.3);
}

.project-overview-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Titre */
.project-overview-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #37474F;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Description */
.project-overview-desc {
    font-size: 1rem;
    color: #546E7A;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Barre décorative */
.project-overview-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #66BB6A);
    margin: 0 auto;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.project-overview-card:hover .project-overview-bar {
    width: 100px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .project-overview-section {
        padding: 4rem 0;
    }
    
    .project-overview-card {
        min-height: 350px;
        padding: 2rem 1.5rem;
    }
    
    .project-overview-icon {
        width: 80px;
        height: 80px;
    }
    
    .project-overview-icon i {
        font-size: 2.2rem;
    }
    
    .project-overview-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .project-overview-section {
        padding: 3rem 0;
    }
    
    .project-overview-card {
        min-height: 320px;
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .project-overview-icon {
        width: 75px;
        height: 75px;
    }
    
    .project-overview-icon i {
        font-size: 2rem;
    }
    
    .project-overview-title {
        font-size: 1.2rem;
    }
    
    .project-overview-desc {
        font-size: 0.95rem;
    }
}

/* =============================================
   BSP - INTRODUCTION / ZONES D'INTERVENTION
   ============================================= */

/* Box introduction */
.bsp-intro-box {
    background: white;
    border: 3px solid #29B6F6;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 35px rgba(41, 182, 246, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s ease;
}

.bsp-intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #29B6F6, #0288D1);
}

.bsp-intro-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(41, 182, 246, 0.3);
    border-color: #0288D1;
}

/* Icône introduction */
.bsp-intro-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #29B6F6, #0288D1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(41, 182, 246, 0.3);
    transition: all 0.3s ease;
}

.bsp-intro-icon i {
    font-size: 2rem;
    color: white;
}

.bsp-intro-box:hover .bsp-intro-icon {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 10px 25px rgba(41, 182, 246, 0.4);
}

/* Contenu introduction */
.bsp-intro-content {
    flex: 1;
}

/* Titre introduction */
.bsp-intro-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0277BD;
    margin-bottom: 1rem;
}

/* Texte introduction */
.bsp-intro-text {
    font-size: 1.1rem;
    color: #37474F;
    line-height: 1.8;
    margin: 0;
}

.bsp-intro-text strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 991.98px) {
    .bsp-intro-box {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .bsp-intro-icon {
        width: 65px;
        height: 65px;
    }
    
    .bsp-intro-icon i {
        font-size: 1.8rem;
    }
    
    .bsp-intro-title {
        font-size: 1.4rem;
    }
    
    .bsp-intro-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 767.98px) {
    .bsp-intro-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .bsp-intro-icon {
        width: 60px;
        height: 60px;
    }
    
    .bsp-intro-icon i {
        font-size: 1.6rem;
    }
    
    .bsp-intro-title {
        font-size: 1.3rem;
    }
    
    .bsp-intro-text {
        font-size: 1rem;
    }
}

/* =============================================
   BSP - FLEXIBILITÉ DU PÉRIMÈTRE
   ============================================= */

/* Box flexibilité */
.bsp-flexibility-box {
    background: white;
    border: 3px solid #FFA726;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 35px rgba(255, 167, 38, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s ease;
}

.bsp-flexibility-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #FFA726, #FF9800);
}

.bsp-flexibility-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(255, 167, 38, 0.3);
    border-color: #FF9800;
}

/* Icône flexibilité */
.bsp-flexibility-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFA726, #FF9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 167, 38, 0.3);
    transition: all 0.3s ease;
}

.bsp-flexibility-icon i {
    font-size: 2rem;
    color: white;
}

.bsp-flexibility-box:hover .bsp-flexibility-icon {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 10px 25px rgba(255, 167, 38, 0.4);
}

/* Contenu flexibilité */
.bsp-flexibility-content {
    flex: 1;
}

/* Titre flexibilité */
.bsp-flexibility-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #F57C00;
    margin-bottom: 1rem;
}

/* Intro flexibilité */
.bsp-flexibility-intro {
    font-size: 1.05rem;
    color: #37474F;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Liste flexibilité */
.bsp-flexibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bsp-flexibility-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #37474F;
    line-height: 1.7;
    border-bottom: 1px solid #FFF3E0;
    transition: all 0.3s ease;
}

.bsp-flexibility-list li:last-child {
    border-bottom: none;
}

.bsp-flexibility-list li:hover {
    padding-left: 0.5rem;
    background: #FFF8E1;
}

.bsp-flexibility-list li i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .bsp-flexibility-box {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .bsp-flexibility-icon {
        width: 65px;
        height: 65px;
    }
    
    .bsp-flexibility-icon i {
        font-size: 1.8rem;
    }
    
    .bsp-flexibility-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .bsp-flexibility-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .bsp-flexibility-icon {
        width: 60px;
        height: 60px;
    }
    
    .bsp-flexibility-icon i {
        font-size: 1.6rem;
    }
    
    .bsp-flexibility-title {
        font-size: 1.2rem;
    }
    
    .bsp-flexibility-intro {
        font-size: 1rem;
    }
    
    .bsp-flexibility-list li {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* =============================================
   BSP - MISSIONS TERRAIN RÉGULIÈRES
   ============================================= */

/* Box missions terrain */
.bsp-missions-box {
    background: white;
    border: 3px solid #2196F3;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 35px rgba(33, 150, 243, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.bsp-missions-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #2196F3, #1976D2);
}

.bsp-missions-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(33, 150, 243, 0.3);
    border-color: #1976D2;
}

/* Header missions */
.bsp-missions-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E3F2FD;
}

/* Icône missions */
.bsp-missions-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.bsp-missions-icon i {
    font-size: 1.5rem;
    color: white;
}

.bsp-missions-box:hover .bsp-missions-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 7px 20px rgba(33, 150, 243, 0.4);
}

/* Titre missions */
.bsp-missions-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1976D2;
    margin: 0;
}

/* Liste missions */
.bsp-missions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bsp-missions-list li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #37474F;
    line-height: 1.7;
    border-bottom: 1px solid #F5F5F5;
    transition: all 0.3s ease;
}

.bsp-missions-list li:last-child {
    border-bottom: none;
}

.bsp-missions-list li:hover {
    padding-left: 0.5rem;
    background: #F5F9FF;
}

.bsp-missions-list li i {
    font-size: 0.9rem;
}

.bsp-missions-list li strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 767.98px) {
    .bsp-missions-box {
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1.5rem;
    }
    
    .bsp-missions-icon {
        width: 50px;
        height: 50px;
    }
    
    .bsp-missions-icon i {
        font-size: 1.3rem;
    }
    
    .bsp-missions-title {
        font-size: 1.15rem;
    }
    
    .bsp-missions-list li {
        font-size: 0.95rem;
    }
}

/* =============================================
   MGP - INFORMATIONS COMPLÉMENTAIRES
   ============================================= */

/* Box d'information MGP */
.mgp-info-box {
    background: white;
    border: 2px solid #2196F3;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mgp-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #2196F3, #1976D2);
}

.mgp-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.25);
    border-color: #1976D2;
}

/* Icône d'information */
.mgp-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.mgp-info-icon i {
    font-size: 1.8rem;
    color: white;
}

.mgp-info-box:hover .mgp-info-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Titre et texte */
.mgp-info-box h6 {
    font-size: 1.2rem;
    color: #37474F;
}

.mgp-info-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #546E7A;
}

/* Responsive */
@media (max-width: 767.98px) {
    .mgp-info-box {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .mgp-info-icon {
        width: 50px;
        height: 50px;
    }
    
    .mgp-info-icon i {
        font-size: 1.5rem;
    }
    
    .mgp-info-box h6 {
        font-size: 1.1rem;
    }
    
    .mgp-info-box p {
        font-size: 0.95rem;
    }
}
