 :root {
    --primary-blue: #1b5695;
    --primary-orange: #ec870e;
    --dark-overlay: linear-gradient(rgba(0, 0, 0, 0.4), rgba(27, 86, 149, 0.6));
    --text-dark: #2c3e50;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.85rem;
    padding: 10px 0;
    font-weight: 500;
}
.top-bar a { color: white; text-decoration: none; margin-left: 20px; transition: 0.3s; }
.top-bar a:hover { color: var(--primary-orange); }
.top-bar i { margin-right: 6px; color: var(--primary-orange); }

/* --- NAVBAR & LANGUES --- */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 15px 0;
    background: white;
}
.nav-link {
    color: #444 !important;
    font-weight: 600;
    margin: 0 8px;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Bouton Langue */
.lang-switcher .dropdown-toggle {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 5px 15px;
    background: #f8f9fa;
}
.lang-switcher .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 120px;
}

/* Bouton Devis */
.btn-devis {
    background: var(--primary-orange);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    color: var(--primary-orange);
}

/* --- HERO SLIDER 20 ANS --- */
.carousel-item {
    height: 480px;
    position: relative;
}
.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
/* Overlay pour lisibilité */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /*background: var(--dark-overlay); */
    display: flex;
    align-items: center;
}
.carousel-caption {
    position: static; /* Reset pour centrage flexbox */
    text-align: left;
    padding-bottom: 0;
}
.hero-badge {
    background-color: var(--primary-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

/* --- SECTIONS --- */
.section-title h2 {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}
.section-title .divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 15px auto 30px;
    border-radius: 2px;
}

/* Valeurs Cards */
.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}
.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}
.value-icon-circle {
    width: 80px;
    height: 80px;
    background-color: rgba(27, 86, 149, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 2rem;
    transition: 0.3s;
}
.value-card:hover .value-icon-circle {
    background-color: var(--primary-blue);
    color: white;
}

/* --- FOOTER --- */

/* --- FOOTER --- */
footer { background-color: #0a192f; color: #cbd5e1; padding-top: 80px; }
footer h5 { color: white; font-weight: 700; margin-bottom: 30px; position: relative; }
footer h5::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 30px; height: 2px; background: var(--primary-orange); }
footer .liste_icon a{width: 30px}
.footer-bottom { background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); }



/* --- BOUTONS FLOTTANTS --- */
/* Container des boutons à droite */
.right-floating-group {
    position: fixed;
    right: 25px;
    bottom: 10px;
    display: flex;
    flex-direction: column; /* Aligne les boutons l'un au-dessus de l'autre */
    gap: 15px; /* Espace entre les deux boutons */
    z-index: 9999;
}

/* Style commun pour les deux boutons */
.btn-floating {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

/* WhatsApp - Vert */
.btn-whatsapp-fixed {
    background-color: #25d366;
    color: white;
    font-size: 28px;
}
.btn-whatsapp-fixed:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

/* Scroll Top - Bleu */
#scrollTop {
    background-color: var(--primary-blue);
    color: white;
    font-size: 20px;
    cursor: pointer;
}
#scrollTop:hover {
    background-color: var(--primary-orange);
    transform: scale(1.1);
}

/* Animation Pulse optionnelle pour WhatsApp */
.pulse-anim {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}






.btn-passerelles {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-orange);; /* Bleu Bootstrap ou votre couleur principale */
    color: var(--primary-orange);;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px; /* Un peu moins arrondi pour faire sérieux */
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-passerelles:hover {
    background-color: var(--primary-orange);;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    transform: translateX(5px); /* Petit mouvement vers la droite */
}

.btn-minimal {
    position: relative;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.btn-minimal::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d6efd;
    transform: scaleX(0.3); /* Barre courte par défaut */
    transform-origin: bottom left;
    transition: transform 0.3s ease-out;
}

.btn-minimal:hover::after {
    transform: scaleX(1); /* La barre s'allonge au survol */
}


/* Responsive Text */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .carousel-item { height: 500px; }
}



@media (max-width: 992px) {
 
    .navbar-collapse {
        background: #ffffff;
        border-radius: 0 0 20px 20px;
        padding: 1.5rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        max-height: 80vh;
        overflow-y: auto;
    }
 
    .nav-link {
        color: #2c3e50 !important;
        font-weight: 600;
        font-size: 1rem;
        padding: 12px 15px !important;
        border-radius: 10px;
        transition: background 0.2s;
    }

    .nav-link:active, .nav-link:focus {
        background-color: #f8f9fa;
        color: #007bff !important;
    }

    /* Sous-menus imbriqués style "Card" */
    .dropdown-menu {
        border: none;
        background-color: #f1f4f8;
        border-radius: 12px;
        margin: 5px 10px 15px 10px !important;
        padding: 10px;
        min-width: 300px;
    }

    .dropdown-item {
        font-size: 1rem;
        padding: 10px 15px;
        border-radius: 8px;
    }
