@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #0B3C5D; /* Bleu */
    --secondary: #1A1A1A; /* Noir */
    --accent: #C0392B; /* Rouge */
    --light: #F5F5F5; /* Gris clair */
    --muted: #666666;
}

/* Typographie */

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--secondary);
    background-color: #ffffff;
    
}
.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
    color: var(--primary) !important;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.1;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
}

h3 {
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.3;
}

p, li, a, span, label {
    font-size: clamp(16px, 2vw, 18px);
}

.small-text {
    font-size: clamp(14px, 1.5vw, 16px);
}

.caption {
    font-size: clamp(12px, 1vw, 14px);
    color: var(--muted);
}
.text-primary{
    color: var(--primary) !important;
}




/* Header / Navbar */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
}

.navbar-brand {
    color: var(--secondary) !important;
    font-size: 1.2rem;
}

.navbar-brand .logo-navbar {
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--secondary) !important;
    font-weight: 500;
    padding: 0.45rem 0.65rem;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background-color: rgba(11,60,93,0.08);
    border-radius: 0.35rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 60%;
        max-width: 320px;
        height: 100vh;
        padding: 1.5rem;
        background: #ffffff;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.16);
        transform: translateX(-110%);
        transition: transform 0.3s ease-in-out;
        z-index: 1100;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
    }

    .navbar-collapse .nav-link {
        font-size: 1.05rem;
        padding: 0.85rem 0.75rem;
        display: block;
    }

    body.nav-open {
        overflow: hidden;
    }
}

.image-overlay {
    position: relative;
    overflow: hidden;
}

.image-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.image-overlay .overlay-content,
.image-overlay .overlay-inner {
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
    font-size: 16px;
    padding: 8px 24px;
    border-radius: 8px;
    text-transform: none;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

.btn-outline-light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.8) !important;
}

.btn-outline-light:hover {
    color: #fff !important;
    background-color: rgba(255,255,255,0.12) !important;
    border-color: #fff !important;
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
}

.btn-outline-primary:hover i,
.btn-outline-primary:hover .fas,
.btn-outline-primary:hover .far,
.btn-outline-primary:hover .fab {
    color: #fff !important;
}

.text-accent {
    color: var(--accent) !important;
}

/* Sections alternées */
/* .page-section {
    padding: 4rem 0;
} */



.page-section:nth-of-type(even) {
    background-color: var(--light);
}

.page-section:nth-of-type(odd) {
     background-color: #ffffff;
}

.page-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.page-section p {
    color: rgba(26,26,26,0.85);
}

/* Footer */
footer {
    background-color: #000000;
    color: #ffffff;
}

footer a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.8);
}

/* Liens icônes outline et espacement */
.social-link {
    border: 1px solid rgba(255,255,255,0.5);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.social-link:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.16);
}


/* =====================================
   ANIMATIONS AU SCROLL
   ===================================== */

/* Animation de base */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Classes d'animation */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s ease-out forwards;
}

/* Délais d'animation */
.animation-delay-1 { animation-delay: 0.2s; }
.animation-delay-2 { animation-delay: 0.4s; }
.animation-delay-3 { animation-delay: 0.6s; }

/* =====================================
   PAGES SERVICES
   ===================================== */

/* --- Page Services (Liste) --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Icône de service */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.1), rgba(192, 57, 43, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Statistiques section */
.stat-item h3 {
    font-size: 2.5rem;
}

/* --- Page Service (Détail) --- */
.service-icon-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.1), rgba(192, 57, 43, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Item des fonctionnalités */
.feature-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

/* Boîte des avantages */
.service-benefits {
    border-left: 4px solid var(--primary);
}

/* Sidebar sticky */
.sidebar .card {
    position: sticky;
    top: 100px;
}

/* Conteneur d'image service */
.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-image-container:hover {
    transform: scale(1.02);
}

.service-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Contenu service */
.service-content {
    padding: 2rem 0;
}

.service-content .service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 60, 93, 0.1), rgba(192, 57, 43, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    transition: transform 0.3s ease;
}

.service-content .service-icon:hover {
    transform: scale(1.1);
}

.service-content h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.service-content .service-features h4 {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-content .service-features li {
    line-height: 1.6;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.service-content .service-features li:last-child {
    border-bottom: none;
}



 .notification-popup {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            z-index: 1080;
            min-width: 280px;
            max-width: 90%;
            padding: 1rem 1.25rem;
            border-radius: 0.75rem;
            box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
            color: #ffffff;
            font-weight: 500;
            text-align: center;
        }

        .notification-popup.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .notification-popup.success {
            background: #198754;
        }

        .notification-popup.error {
            background: #dc3545;
        }

        .notification-popup.warning {
            background: #ffc107;
            color: #000;
        }

        .notification-popup .notification-close {
            position: absolute;
            top: 8px;
            right: 10px;
            border: none;
            background: transparent;
            color: inherit;
            font-size: 1.2rem;
            cursor: pointer;
            line-height: 1;
        }
    
