/* ================================================================
   RESET & BASE STYLES
   ================================================================ */

/* Assure que html et body occupent toute la hauteur de la fenêtre */
html, body {
    height: 100%;
    overflow-x: hidden; /* Empêche le scroll horizontal */
}

/* Reset universel pour supprimer les marges/padding par défaut des navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Inclut padding et border dans la largeur totale */
}

/* Configuration de base du body */
body {
    font-family: 'Open Sans', sans-serif; /* Police moderne et lisible */
    line-height: 1.6; /* Hauteur de ligne optimale pour la lisibilité */
    overflow-x: hidden; /* Évite le scroll horizontal indésirable */
    width: 100%;
    max-width: 100vw; /* Limite à la largeur de l'écran */
}

/* ================================================================
   NAVIGATION BAR
   ================================================================ */

/* Barre de navigation fixe avec effet glassmorphism */
.navbar {
    position: fixed; /* Reste en haut lors du scroll */
    top: 0;
    width: 100%;
    max-width: 100vw; /* Limite à la largeur de l'écran */
    padding: 1rem 2rem; /* Padding réduit */
    background: rgba(30, 58, 138, 0.95); /* Bleu semi-transparent */
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */
    z-index: 1000; /* S'assure qu'elle reste au-dessus du contenu */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Transition fluide pour les changements d'état */
    color: white;
    box-sizing: border-box;
}

/* Variante blanche de la navbar (activée via JavaScript) */
.navbar.white {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre subtile */
}

/* Navbar avec fond au scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Container principal de la navigation */
.nav-content {
    display: flex;
    justify-content: space-between; /* Répartit les éléments aux extrémités */
    align-items: center; /* Centre verticalement */
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

/* Container du logo avec image et texte */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre l'image et le texte */
    margin-right: auto;
}

/* Styling de l'image du logo */
.logo-image {
    height: 50px; /* Hauteur réduite */
    width: auto; /* Maintient les proportions */
    object-fit: contain; /* Évite la déformation de l'image */
    transition: all 0.3s ease;
}

/* Effet de zoom subtil au hover sur l'image */
.logo-image:hover {
    transform: scale(1.05);
}

/* Adaptation mobile du logo */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1rem; /* Padding plus petit sur mobile */
    }
    
    .logo-container {
        gap: 10px; /* Réduit l'espace sur mobile */
    }
    
    .logo-image {
        height: 35px; /* Logo plus petit sur mobile */
    }
}

/* Styling du texte du logo */
.logo {
    font-size: 1.5rem; /* Taille réduite */
    font-weight: bold;
    color: inherit; /* Hérite de la couleur du parent */
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Effet hover sur le logo avec changement de couleur */
.logo:hover {
    transform: scale(1.05);
    color: #ea580c; /* Couleur accent orange */
}

/* Container des liens de navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Espacement réduit entre les liens */
    margin-left: auto;
}

/* Styling des liens de navigation */
.nav-links a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem; /* Padding réduit */
    border-radius: 5px;
    font-size: 0.95rem; /* Taille réduite */
    position: relative; /* Nécessaire pour le pseudo-élément ::after */
}

/* Ligne animée sous les liens au hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Plus bas pour être vraiment sous le texte */
    left: 0; /* Aligné à gauche du lien */
    right: 0; /* S'étend sur toute la largeur du lien */
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 1px;
    transition: width 0.3s ease;
    margin: 0 auto; /* Centre la ligne */
}

/* Active la ligne au hover et pour le lien actif */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%; /* Prend toute la largeur du lien */
}

/* Liens de navigation actifs */
.nav-links a.active {
    color: #f97316 !important;
    font-weight: 600;
}

.mobile-menu a.active {
    color: #f97316 !important;
    font-weight: 600;
}

/* ================================================================
   MENU HAMBURGER (MOBILE)
   ================================================================ */

/* Button hamburger pour mobile */
.hamburger {
    display: none; /* Caché par défaut (desktop) */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

/* Barres du hamburger */
.hamburger span {
    width: 25px;
    height: 3px;
    background: currentColor; /* Utilise la couleur du texte */
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center; /* Point d'origine pour les rotations */
}

/* Animation de transformation en X quand le menu est ouvert */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0; /* Barre du milieu disparaît */
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================================================
   MENU MOBILE
   ================================================================ */

/* Menu déroulant pour mobile */
.mobile-menu {
    display: none; /* Caché par défaut */
    position: absolute;
    top: 100%; /* Positionné juste sous la navbar */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); /* Légèrement décalé vers le haut */
    transition: all 0.3s ease;
}

/* État actif du menu mobile avec animation */
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Revient à sa position normale */
}

/* Styling des liens dans le menu mobile */
.mobile-menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    border-bottom: 1px solid #eee; /* Séparateur entre les liens */
    transition: all 0.3s ease;
}

/* Effet hover sur les liens mobiles */
.mobile-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
    padding-left: 30px; /* Décalage vers la droite au hover */
}

/* Supprime la bordure du dernier lien */
.mobile-menu a:last-child {
    border-bottom: none;
}

/* ================================================================
   OVERLAY
   ================================================================ */

/* Overlay sombre derrière le menu mobile */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999; /* Juste en dessous de la navbar */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* État actif de l'overlay */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* Adaptation pour tablettes et mobiles */
@media screen and (max-width: 768px) {
    /* Cache les liens de navigation desktop */
    .nav-links {
        display: none;
    }

    /* Affiche le bouton hamburger */
    .hamburger {
        display: flex;
    }

    /* Active le menu mobile */
    .mobile-menu {
        display: block;
    }
}

/* ================================================================
   SECTIONS GÉNÉRIQUES
   ================================================================ */

/* Base pour toutes les sections */
.section {
    min-height: 100vh; /* Hauteur minimale de l'écran */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem; /* Padding latéral réduit */
    width: 100%;
    max-width: 100vw; /* Limite à la largeur de l'écran */
    overflow-x: hidden; /* Empêche le débordement horizontal */
    box-sizing: border-box;
}

/* ================================================================
   LAYOUT DES SECTIONS
   ================================================================ */

/* Container principal avec largeur maximale */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Centre horizontalement */
    width: 100%;
    padding: 0 1rem; /* Padding réduit */
    box-sizing: border-box;
}

/* Layout en grille pour le contenu des sections */
.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes égales */
    gap: 2rem; /* Espace réduit entre les colonnes */
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* ================================================================
   TYPOGRAPHIE
   ================================================================ */

/* Titre principal H1 */
.text-content h1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Taille responsive */
    margin-bottom: 1rem;
    color: inherit;
    line-height: 1.2;
}

/* Titre secondaire H2 */
.text-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Taille responsive */
    margin-bottom: 1rem;
    color: inherit;
    line-height: 1.2;
}

/* Paragraphes */
.text-content p {
    font-size: clamp(1rem, 2vw, 1.2rem); /* Taille responsive */
    margin-bottom: 2rem;
    color: inherit;
    opacity: 0.9; /* Légèrement transparent pour hiérarchiser */
    line-height: 1.6;
}

/* ================================================================
   CALL-TO-ACTION BUTTON
   ================================================================ */

/* Bouton principal d'appel à l'action */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem; /* Padding réduit */
    background: #ea580c; /* Orange vibrant */
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Coins très arrondis */
    font-weight: bold;
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Taille responsive */
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(234, 88, 12, 0.3); /* Ombre colorée */
    text-align: center;
}

/* Effet hover sur le bouton CTA */
.cta-button:hover {
    background: #c2410c; /* Orange plus foncé */
    transform: translateY(-3px); /* Élévation du bouton */
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.4); /* Ombre plus prononcée */
}

/* ================================================================
   HERO SECTION REDESIGNÉE
   ================================================================ */

/* Hero avec couleur unie au lieu du dégradé */
#hero {
    background-color: #1e3a8a; /* Bleu uni */
    color: white;
    position: relative;
    overflow: hidden; /* Cache les débordements */
    padding-top: 80px; /* Espace pour la navbar */
}

/* Container pour les boutons du hero */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espace réduit entre les boutons */
    margin-top: 1rem;
    flex-wrap: wrap; /* Permet le retour à la ligne */
}

/* Lien "Voir plus" avec flèche */
.see-more-link {
    display: inline-flex;
    align-items: center;
    color: #ea580c;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Taille responsive */
    font-family: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

/* Flèche animée du lien "Voir plus" */
.see-more-link .arrow {
    display: inline-block;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

/* Animation de la flèche au hover */
.see-more-link:hover .arrow {
    transform: translateX(4px); /* Décale la flèche vers la droite */
}

/* Classe utilitaire pour le texte orange */
.highlight-orange {
    color: #ea580c;
    font-weight: bold;
}

/* ================================================================
   LAYOUT HERO PRINCIPAL
   ================================================================ */

/* Container principal du hero */
.hero-container {
    max-width: 1400px; /* Largeur augmentée pour plus d'espace */
    margin: 0 auto;
    width: 100%;
    padding: 2rem 2rem; /* Padding augmenté sur les côtés */
    display: flex;
    align-items: center;
    justify-content: center; /* Centrage principal */
    min-height: 75vh; /* Hauteur légèrement augmentée */
    gap: 4rem; /* Espace augmenté entre le texte et les images */
    box-sizing: border-box;
}

/* Section texte du hero */
.hero-text {
    flex: 1;
    max-width: 600px; /* Largeur maximale pour le texte */
    text-align: left;
}

/* Container pour les actions du hero */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem; /* Espace réduit */
}

/* Container pour les statistiques */
.hero-stats {
    display: flex;
    gap: 1.5rem; /* Espace réduit */
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
}

/* Élément statistique individuel */
.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Nombre de la statistique */
.stat-number {
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* Taille responsive */
    font-weight: 700;
    color: #ea580c !important; /* Force la couleur orange */
}

/* Label de la statistique */
.stat-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Taille responsive */
    color: #ffffffcc; /* Blanc semi-transparent */
}

/* ================================================================
   TYPOGRAPHIE HERO
   ================================================================ */

/* Titre principal du hero */
.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Taille responsive */
    margin-bottom: 1.5rem;
    line-height: 1.2; /* Ligne compacte pour les grands titres */
    font-weight: 700;
}

/* Paragraphe du hero */
.hero-text p {
    font-size: clamp(1rem, 3vw, 1.3rem); /* Taille responsive */
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ================================================================
   HERO - SECTION IMAGES (AGRANDIES ET CENTRÉES)
   ================================================================ */

/* Container principal pour les images du hero */
.hero-images {
    flex: 1;
    position: relative;
    height: 500px; /* Hauteur augmentée */
    max-width: 600px; /* Largeur maximale augmentée */
    width: 100%;
    display: flex;
    justify-content: center; /* Centre les images */
    align-items: center;
}

/* Image principale avec effet d'ombre prononcé */
.main-image {
    position: relative;
    width: 100%; /* Largeur normale */
    height: 100%; /* Hauteur normale */
    border-radius: 20px;
    overflow: hidden; /* Cache les débordements de l'image */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Ombre profonde */
}

/* Configuration de l'image principale */
.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintient les proportions sans déformation */
}

/* Image en superposition avec effet de cadre */
.overlay-image {
    position: absolute;
    bottom: -80px; /* Position ajustée pour plus d'espace */
    left: -80px; /* Position ajustée pour plus d'espace */
    width: 320px; /* Taille augmentée */
    height: 240px; /* Taille augmentée */
    background-color: #1e3a8a; /* Même couleur que le background pour l'harmonie */
    padding: 10px; /* Espace augmenté pour créer l'effet de cadre */
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); /* Ombre renforcée */
}

/* Container interne de l'image overlay */
.overlay-image-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Coins arrondis plus subtils */
    overflow: hidden;
}

/* Configuration de l'image overlay */
.overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================================
   RESPONSIVE HERO (MOBILE)
   ================================================================ */

/* Adaptation mobile du hero */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column; /* Empile verticalement */
        align-items: center; /* Centre horizontalement */
        justify-content: center; /* Centre verticalement */
        gap: 3rem; /* Espace augmenté entre les éléments */
        min-height: auto; /* Hauteur automatique */
        padding: 2rem 1rem; /* Padding ajusté */
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        text-align: center; /* Centre le texte sur mobile */
    }

    .hero-images {
        max-width: 350px; /* Largeur augmentée sur mobile */
        height: 300px; /* Hauteur augmentée sur mobile */
    }

    .overlay-image {
        bottom: -50px;
        left: -50px;
        width: 220px; /* Taille augmentée sur mobile */
        height: 160px; /* Taille augmentée sur mobile */
    }

    .hero-actions {
        align-items: center; /* Centre les actions sur mobile */
        width: 100%;
    }

    .hero-buttons {
        justify-content: center; /* Centre les boutons sur mobile */
        width: 100%;
    }

    .hero-stats {
        justify-content: center; /* Centre les stats sur mobile */
    }
}

@media (max-width: 480px) {
    .hero-images {
        max-width: 280px; /* Au lieu de cacher, on réduit la taille */
        height: 220px;
    }
    
    .overlay-image {
        bottom: -30px;
        left: -30px;
        width: 160px;
        height: 120px;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ================================================================
   SECTION SERVICES - STRUCTURE GLOBALE
   ================================================================ */

/* Section services avec layout vertical en deux parties */
#services {
    min-height: 100vh; /* Prend au minimum toute la hauteur de l'écran */
    display: flex;
    flex-direction: column; /* Empile verticalement intro et cartes */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ================================================================
   SERVICES - PARTIE INTRODUCTION (HAUT)
   ================================================================ */

/* Zone d'introduction avec fond blanc */
#services-intro {
    flex: 1; /* Prend l'espace disponible */
    background: #ffffff;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem; /* Padding ajusté */
    position: relative;
}

/* Container pour centrer le contenu */
#services-intro .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titre principal de la section services */
#services-intro h2 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Taille responsive */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
    line-height: 1.2; /* Espacement vertical compact */
}

/* Classe utilitaire pour le texte orange dans l'intro */
#services-intro .highlight-orange {
    color: #ea580c;
    font-weight: bold;
}

/* Paragraphe descriptif de l'intro */
#services-intro p {
    font-size: clamp(1rem, 3vw, 1.3rem); /* Taille responsive */
    line-height: 1.6;
    max-width: 800px; /* Limite la largeur pour la lisibilité */
    margin: 0 auto; /* Centre horizontalement */
    opacity: 0.9; /* Légèrement transparent pour la hiérarchie */
}

/* ================================================================
   SERVICES - PARTIE CARTES (BAS)
   ================================================================ */

/* Zone des cartes avec fond orange */
#services-cards {
    flex: 1; /* Prend l'espace disponible */
    background: #ea580c;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem; /* Padding vertical augmenté et horizontal élargi */
    position: relative;
}

/* Container pour centrer le contenu */
#services-cards .container {
    width: 100%;
    max-width: 1600px; /* Largeur maximale élargie pour plus d'étalement */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ================================================================
   CONTENU DES CARTES DE SERVICES
   ================================================================ */

/* Titre de la section cartes */
.services-cards-title {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Taille légèrement augmentée */
    font-weight: 700;
    margin-bottom: 3rem; /* Marge augmentée */
    color: white;
    text-align: center;
}

/* Grille responsive pour les cartes de services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Largeur minimale augmentée */
    gap: 3rem; /* Espace significativement augmenté entre les cartes */
    width: 100%;
    max-width: 1600px; /* Largeur maximale élargie pour plus d'étalement */
    justify-items: center; /* Centre les cartes dans leurs cellules */
}

/* Carte de service individuelle */
.service-card {
    background: #f8fafc; /* Fond gris très clair */
    color: #1e3a8a;
    padding: 3rem 2.5rem; /* Padding élargi pour plus d'espace interne */
    border-radius: 15px; /* Coins plus arrondis */
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée */
    transition: all 0.3s ease; /* Animation complète */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* Centre le contenu horizontalement */
    min-height: 380px; /* Hauteur augmentée pour plus d'amplitude */
    max-width: 420px; /* Largeur maximale élargie */
    width: 100%; /* Prend toute la largeur disponible */
}

/* Effet de survol sur les cartes */
.service-card:hover {
    transform: translateY(-8px) scale(1.02); /* Effet plus marqué */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Icône de la carte de service */
.service-icon {
    font-size: 3rem; /* Taille augmentée */
    margin-bottom: 1.5rem; /* Marge augmentée */
    color: #ea580c; /* Couleur accent */
    flex-shrink: 0;
    display: block;
    width: 100%;
}

/* Titre de la carte de service */
.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem); /* Taille légèrement augmentée */
    font-weight: 600;
    margin-bottom: 1.5rem; /* Marge augmentée */
    color: #1e3a8a;
    flex-shrink: 0;
    line-height: 1.3;
}

/* Description de la carte de service */
.service-card p {
    color: #64748b; /* Gris pour le texte secondaire */
    line-height: 1.5; /* Interlignage amélioré */
    font-size: clamp(0.9rem, 2vw, 1.05rem); /* Taille légèrement augmentée */
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0; /* Supprime les marges par défaut */
}

/* ================================================================
   SERVICES - RESPONSIVE DESIGN
   ================================================================ */

/* Adaptation pour grands écrans */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur grand écran */
        gap: 3.5rem; /* Espacement élargi pour grands écrans */
    }
    
    .service-card {
        max-width: 350px; /* Largeur optimisée et élargie pour 4 colonnes */
    }
}

/* Adaptation pour écrans moyens */
@media (max-width: 1199px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur écrans moyens */
        gap: 3rem; /* Espacement élargi */
        max-width: 1000px; /* Largeur élargie pour mieux étaler */
    }
    
    .service-card {
        max-width: 450px; /* Largeur élargie pour 2 colonnes */
    }
}

/* Adaptation pour tablettes */
@media (max-width: 1024px) {
    #services-cards {
        padding: 4rem 1.5rem; /* Padding élargi pour tablettes */
    }
    
    .services-cards-title {
        margin-bottom: 3rem; /* Marge augmentée */
    }
}

/* Adaptation pour mobiles */
@media (max-width: 768px) {
    #services-intro,
    #services-cards {
        padding: 2.5rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 2rem; /* Espacement augmenté même sur mobile */
        max-width: 450px; /*

    .service-card {
        padding: 2.5rem 2rem; /* Padding élargi sur mobile */
        min-height: 320px; /* Hauteur augmentée */
        max-width: 100%; /* Pleine largeur sur mobile */
    }
    
    .services-cards-title {
        margin-bottom: 2rem;
    }
}

/* Adaptation pour très petits écrans */
@media (max-width: 480px) {
    #services-intro,
    #services-cards {
        padding: 2rem 0.5rem;
    }
    
    .services-grid {
        max-width: 320px;
    }
    
    .service-card {
        padding: 1.5rem;
        min-height: 250px;
    }
}

/* ================================================================
   SECTION RÉALISATIONS - VERSION PLEINE LARGEUR
   ================================================================ */

/* Section réalisations avec fond clair */
#realisations {
    background: #f8fafc;
    color: #1e3a8a;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Container sans contraintes de largeur */
#realisations .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

/* Contenu centré avec padding */
#realisations .section-content {
    display: block;
    text-align: center;
    padding: 3rem 0 2rem;
    width: 100%;
}

/* Titre et description centrés avec padding latéral */
#realisations .text-content {
    padding: 0 2rem;
    margin-bottom: 3rem;
}

/* ================================================================
   GALERIE DE RÉALISATIONS - PLEINE LARGEUR
   ================================================================ */

/* Container principal de la galerie - pleine largeur */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 1rem; /* Espace entre les images */
    margin: 0;
    width: 100vw; /* Largeur complète de la fenêtre */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 1rem; /* Padding pour éviter les bords */
    box-sizing: border-box;
}

/* Container pour la deuxième ligne - pleine largeur */
.gallery-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes égales */
    gap: 1rem; /* Espace entre les images */
    margin: 1rem 0 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 1rem; /* Padding pour éviter les bords */
    box-sizing: border-box;
}

/* ================================================================
   CARTES DE PROJETS - PLEINE LARGEUR
   ================================================================ */

/* Carte individuelle de projet */
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transition moderne */
    width: 100%;
    border-radius: 12px; /* Coins arrondis */
}

/* Cartes de la première ligne - plus grandes */
.gallery-container .project-card {
    height: 450px; /* Plus grand pour la première ligne */
}

/* Cartes de la deuxième ligne - plus petites */
.gallery-row-2 .project-card {
    height: 320px; /* Plus petit pour la deuxième ligne */
}

/* Effet de survol moderne avec zoom et filtre */
.project-card:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Image de fond du projet - couvre toute la carte */
.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px; /* Coins arrondis pour l'image */
}

/* Effet parallax moderne sur l'image au hover */
.project-card:hover .project-image {
    transform: scale(1.05);
}

/* ================================================================
   IMAGES SPÉCIFIQUES POUR CHAQUE PROJET
   ================================================================ */

/* Attribution des images pour la première ligne */
.gallery-container .project-card:nth-child(1) .project-image {
    background-image: url('images/GDE.jpg');
}

.gallery-container .project-card:nth-child(2) .project-image {
    background-image: url('images/NH-Ponthieu.jpg');
}

.gallery-container .project-card:nth-child(3) .project-image {
    background-image: url('images/Lacepede.jpg');
}

/* Attribution des images pour la deuxième ligne */
.gallery-row-2 .project-card:nth-child(1) .project-image {
    background-image: url('images/TESTjpg.jpg');
}

.gallery-row-2 .project-card:nth-child(2) .project-image {
    background-image: url('images/Hémicycle.jpg');
}

.gallery-row-2 .project-card:nth-child(3) .project-image {
    background-image: url('images/Equilis.jpg');
}

.gallery-row-2 .project-card:nth-child(4) .project-image {
    background-image: url('images/Village_Nature.jpg');
}

/* ================================================================
   OVERLAY D'INFORMATIONS SUR LES PROJETS
   ================================================================ */

/* Overlay avec informations qui apparaît au hover */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(234, 88, 12, 0.9));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 12px; /* Coins arrondis pour l'overlay */
}

/* Animation d'entrée moderne pour l'overlay */
.project-card:hover .project-overlay {
    opacity: 1;
}

/* Titre du projet avec animation */
.project-title {
    color: white;
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px; /* Espacement moderne */
}

/* Animation du titre au hover */
.project-card:hover .project-title {
    transform: translateY(0);
}

/* Description du projet avec animation */
.project-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
    font-weight: 400;
}

/* Animation de la description au hover */
.project-card:hover .project-description {
    transform: translateY(0);
}

/* Container pour les détails avec animation */
.project-details {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

/* Animation des détails au hover */
.project-card:hover .project-details {
    transform: translateY(0);
}

/* Détail individuel avec icône et animation */
.project-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-detail:last-child {
    border-bottom: none;
}

.project-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Icône des détails du projet avec style moderne */
.project-detail-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

/* ================================================================
   RÉALISATIONS - RESPONSIVE DESIGN PLEINE LARGEUR
   ================================================================ */

/* Adaptation pour tablettes */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .gallery-row-2 {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Hauteurs ajustées pour tablette */
    .gallery-container .project-card {
        height: 380px;
    }
    
    .gallery-row-2 .project-card {
        height: 280px;
    }
}

/* Adaptation pour mobiles */
@media (max-width: 768px) {
    .gallery-container,
    .gallery-row-2 {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Hauteurs ajustées pour mobile */
    .gallery-container .project-card {
        height: 320px;
    }
    
    .gallery-row-2 .project-card {
        height: 250px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
}

/* Adaptation pour très petits écrans */
@media (max-width: 480px) {
    .gallery-container .project-card {
        height: 280px;
    }
    
    .gallery-row-2 .project-card {
        height: 220px;
    }
    
    .project-overlay {
        padding: 1rem;
    }
    
    #realisations .text-content {
        padding: 0 1rem;
    }
}

/* ================================================================
   SECTION CHIFFRES - STRUCTURE PRINCIPALE
   ================================================================ */

/* Section chiffres avec fond clair */
#chiffres {
    background: #f8fafc;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Introduction de la section chiffres */
#chiffres-intro {
    padding: 4rem 1rem;
    background: #1e3a8a;
    color: white;
    text-align: center;
}

/* Titre principal de la section chiffres */
#chiffres-intro h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}

/* Paragraphe d'introduction */
#chiffres-intro p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Container pour le contenu visuel */
.visual-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ================================================================
   GRILLE DE STATISTIQUES
   ================================================================ */

/* Grille responsive pour les statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; /* Espace réduit */
    margin-bottom: 3rem;
}

/* Élément statistique individuel avec effet glassmorphism */
.stat-item {
    text-align: center;
    padding: 2rem 1.5rem; /* Padding réduit */
    background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
    border-radius: 15px;
    backdrop-filter: blur(10px); /* Effet de flou en arrière-plan */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Bordure subtile */
    transition: transform 0.3s ease;
}

/* Effet de survol sur les statistiques */
.stat-item:hover {
    transform: translateY(-5px); /* Élévation au hover */
}

/* Nombre de la statistique */
.stat-number {
    font-size: clamp(2rem, 5vw, 3rem); /* Taille responsive */
    font-weight: 700;
    color: #ea580c; /* Couleur accent orange */
    display: block;
    margin-bottom: 10px;
}

/* Label de la statistique */
.stat-label {
    font-size: clamp(0.9rem, 2vw, 1.1rem); /* Taille responsive */
    color: white;
    opacity: 0.9;
}

/* ================================================================
   GRAPHIQUE D'ÉVOLUTION DU CHIFFRE D'AFFAIRES
   ================================================================ */

/* Container du graphique avec effet glassmorphism */
.revenue-chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1rem; /* Padding ajusté */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Titre du graphique */
.revenue-chart h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem); /* Taille responsive */
    margin-bottom: 2rem;
    text-align: center;
    color: white;
}

/* Container des barres du graphique */
.chart-container {
    display: flex;
    justify-content: space-around; /* Répartit les barres uniformément */
    align-items: flex-end; /* Aligne les barres en bas */
    height: 200px; /* Hauteur fixe pour le graphique */
    padding: 20px 0;
    overflow-x: auto; /* Permet le scroll horizontal si nécessaire */
}

/* Barre individuelle du graphique */
.chart-bar {
    background: linear-gradient(to top, #ea580c, #c2410c); /* Dégradé vertical */
    width: 50px; /* Largeur réduite */
    min-width: 40px; /* Largeur minimale */
    border-radius: 5px 5px 0 0; /* Coins arrondis en haut seulement */
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0; /* Empêche la réduction */
}

/* Effet de survol sur les barres du graphique */
.chart-bar:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

/* Label de l'année sous chaque barre */
.chart-bar .year {
    position: absolute;
    bottom: -25px; /* Positionné sous la barre */
    left: 50%;
    transform: translateX(-50%); /* Centre horizontalement */
    font-weight: 600;
    color: white;
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* Taille responsive */
    white-space: nowrap;
}

/* Valeur au-dessus de chaque barre */
.chart-bar .value {
    position: absolute;
    top: -25px; /* Positionné au-dessus de la barre */
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    color: #ea580c;
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* Taille responsive */
    white-space: nowrap; /* Empêche le retour à la ligne */
}

/* ================================================================
   SECTION PARTENAIRES
   ================================================================ */

/* Section partenaires avec fond blanc */
#chiffres-partners {
    padding: 4rem 1rem; /* Padding ajusté */
    background: white;
}

/* Titre de la section partenaires */
.partners-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem); /* Taille responsive */
    margin-bottom: 3rem;
    color: #333;
    font-weight: 700;
}

/* Grille des logos partenaires */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Colonnes adaptatives */
    gap: 1.5rem; /* Espace réduit */
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Container pour chaque logo partenaire */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem; /* Padding réduit */
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Bordure invisible par défaut */
    aspect-ratio: 3/2; /* Ratio uniforme */
}

/* Effet de survol sur les logos partenaires */
.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #ea580c; /* Bordure orange au hover */
}

/* Images des logos partenaires */
.partner-logo img {
    max-width: 100%;
    max-height: 100px; /* Hauteur réduite */
    width: auto;
    height: auto;
    filter: grayscale(100%); /* Logos en noir et blanc par défaut */
    transition: filter 0.3s ease;
    object-fit: contain;
}

/* Logos en couleur au hover */
.partner-logo:hover img {
    filter: grayscale(0%);
}

/* ================================================================
   SECTION QUALIFICATIONS
   ================================================================ */

/* Section qualifications centrée */
.qualifications-section {
    text-align: center;
    margin-bottom: 3rem;
}

/* Titre de la section qualifications */
.qualifications-section .partners-title {
    font-size: clamp(1.5rem, 4vw, 1.8rem); /* Taille responsive */
    margin-bottom: 2rem;
    color: #333;
    font-weight: 600;
}

/* Élément de qualification avec bordure orange */
.qualification-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem; /* Padding ajusté */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 15px;
    border: 2px solid #ea580c; /* Bordure orange distinctive */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.1);
    max-width: 300px;
    margin: 0 auto;
}

/* Effet de survol sur les qualifications */
.qualification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.2);
    border-color: #c2410c; /* Bordure plus foncée au hover */
}

/* Images des qualifications */
.qualification-item img {
    max-height: 60px; /* Hauteur réduite */
    width: auto;
    transition: transform 0.3s ease;
    object-fit: contain;
}

/* Effet de zoom sur les images au hover */
.qualification-item:hover img {
    transform: scale(1.05);
}

/* ================================================================
   CHIFFRES - RESPONSIVE DESIGN
   ================================================================ */

/* Adaptation pour tablettes et mobiles */
@media (max-width: 768px) {
    #chiffres-intro {
        padding: 3rem 1rem; /* Padding réduit sur mobile */
    }

    .stats-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1.5rem;
    }

    .chart-container {
        height: 150px; /* Hauteur réduite du graphique */
    }

    .chart-bar {
        width: 40px; /* Barres plus étroites */
        min-width: 35px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    #chiffres-partners {
        padding: 3rem 1rem;
    }

    .revenue-chart {
        padding: 1.5rem 1rem;
    }
}

/* ================================================================
   SECTION CONTACT
   ================================================================ */

/* Section contact avec fond gris clair */
#contact {
    background: #f3f4f6;
    color: #1e3a8a;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Formulaire de contact avec dégradé bleu */
.contact-form {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding: 2rem; /* Padding réduit */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Groupe de champs du formulaire */
.form-group {
    margin-bottom: 1rem;
}

/* Labels des champs de formulaire */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.3rem); /* Taille responsive */
}

/* Champs de saisie du formulaire */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-sizing: border-box;
}

/* État focus des champs de formulaire */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea580c; /* Bordure orange au focus */
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2); /* Halo de focus */
    transform: translateY(-2px); /* Légère élévation */
    background: white;
}

/* Zone de texte avec hauteur et redimensionnement */
.form-group textarea {
    height: 120px;
    resize: vertical; /* Redimensionnement vertical uniquement */
}

/* Bouton de soumission avec dégradé orange */
.submit-btn {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(234, 88, 12, 0.3);
    font-size: clamp(0.9rem, 2vw, 1rem); /* Taille responsive */
    width: 100%;
    max-width: 300px;
}

/* Effet de survol sur le bouton de soumission */
.submit-btn:hover {
    background: linear-gradient(135deg, #c2410c, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(234, 88, 12, 0.4);
}

/* Contenu visuel centré */
.visual-content {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

/* Section détails de contact */
.contact-details {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Paragraphes des détails de contact */
.contact-details p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem); /* Taille responsive */
    color: white;
}

/* Liens dans les détails de contact */
.contact-details a {
    color: #ffffff;
    text-decoration: none;
    word-break: break-all; /* Empêche le débordement des emails/liens longs */
}

/* Effet de survol sur les liens de contact */
.contact-details a:hover {
    text-decoration: underline;
}

/* ================================================================
   CONTACT - RESPONSIVE DESIGN
   ================================================================ */

/* Adaptation pour tablettes et mobiles */
@media (max-width: 768px) {
    .section-content {
        grid-template-columns: 1fr; /* Une seule colonne */
        text-align: center;
        gap: 2rem;
    }

    .text-content h2 {
        font-size: clamp(1.8rem, 5vw, 2rem); /* Titre plus petit sur mobile */
    }

    .section {
        padding: 0 1rem; /* Padding latéral réduit */
    }

    .contact-form {
        padding: 1.5rem 1rem; /* Padding réduit du formulaire */
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* ================================================================
   FOOTER - PIED DE PAGE
   ================================================================ */

/* Footer principal avec fond bleu */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 3rem 0 1.5rem; /* Padding généreux en haut, réduit en bas */
    margin-top: auto; /* Pousse le footer en bas de page */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Container du footer avec largeur maximale */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Padding réduit */
    box-sizing: border-box;
}

/* Contenu principal du footer en grille */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Colonnes adaptatives */
    gap: 2rem; /* Espace réduit entre les sections */
    margin-bottom: 2rem;
}

/* Titre des sections du footer */
.footer-section h3 {
    color: #ea580c; /* Couleur accent orange */
    font-size: clamp(1.1rem, 3vw, 1.2rem); /* Taille responsive */
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Texte et adresses dans les sections du footer */
.footer-section p,
.footer-section address {
    font-size: 0.95rem;
    line-height: 1.6; /* Bonne lisibilité */
    opacity: 0.9; /* Légèrement transparent */
    font-style: normal; /* Annule l'italique par défaut des adresses */
}

/* Container pour les informations de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Petit espace entre chaque info */
}

/* Liens dans les informations de contact */
.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all; /* Empêche le débordement */
}

/* Effet de survol sur les liens de contact */
.contact-info a:hover {
    color: #ea580c; /* Change vers la couleur accent */
}

/* Ligne de séparation dans le footer */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Ligne subtile */
    margin: 2rem 0 1.5rem; /* Espacement vertical */
}

/* Section bas du footer */
.footer-bottom {
    display: flex;
    justify-content: space-between; /* Répartit aux extrémités */
    align-items: center;
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8; /* Plus discret que le contenu principal */
}

/* Paragraphes du bas de footer */
.footer-bottom p {
    margin: 0;
}

/* Section des liens légaux */
.footer-legal {
    display: flex;
    gap: 1rem; /* Espace réduit entre les liens légaux */
    flex-wrap: wrap;
}

/* Liens légaux */
.footer-legal a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

/* Effet de survol sur les liens légaux */
.footer-legal a:hover {
    color: #ea580c;
}

/* ================================================================
   FOOTER - RESPONSIVE DESIGN
   ================================================================ */

/* Adaptation pour tablettes et mobiles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Une seule colonne */
        gap: 1.5rem; /* Espace réduit entre les sections */
        text-align: center; /* Centre le contenu */
    }

    .footer-bottom {
        flex-direction: column; /* Empile verticalement */
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center; /* Centre les liens légaux */
    }

    footer {
        padding: 2rem 0 1rem; /* Padding réduit */
    }
}

/* Adaptation pour très petits écrans */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 1rem; /* Padding latéral réduit */
    }

    .footer-legal {
        flex-direction: column; /* Empile les liens légaux */
        gap: 0.5rem; /* Espace réduit entre les liens */
        align-items: center;
    }
}

/* ================================================================
   CORRECTIONS GLOBALES POUR ÉVITER LES DÉBORDEMENTS
   ================================================================ */

/* Assure qu'aucun élément ne dépasse la largeur de l'écran */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Images responsives */
img {
    max-width: 100%;
    height: auto;
}

/* Empêche les débordements de texte */
p, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Conteneurs principaux */
.section,
.container,
.hero-container,
.nav-content {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;

/* Navigation active et scroll offset */
html {
    scroll-padding-top: 100px; /* Ajustez selon la hauteur de votre navbar */
    scroll-behavior: smooth;
}

/* Navbar avec fond au scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Transitions pour la navbar */
.navbar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Liens de navigation actifs */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: #f97316 !important;
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 1px;
}

.mobile-menu a.active {
    color: #f97316 !important;
    font-weight: 600;
}}
