
:root {
    --primary: #005580;
    --primary-light: #e0f2fe;
    --yellow: #ffcc00;
    --dark: #0f172a;
    --text-slate: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --radius: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-vibrant: 0 10px 30px rgba(0, 85, 128, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.topbar {
    background: var(--light-bg);
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
    font-size: 0.85rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
    color: var(--text-slate);
    font-weight: 500;
}

.top-info i {
    color: var(--primary);
    margin-right: 5px;
}

.top-social a {
    color: var(--text-slate);
    margin-left: 15px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.top-social a:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* ======================
   HEADER & NAVIGATION
   ===================== */
.main-header {
    padding: 15px 0;
    background: var(--white);
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover { opacity: 0.8; }

.m-box {
    background: var(--primary);
    color: white;
    padding: 6px; 
    border-radius: 10px;
    display: flex; 
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 85, 128, 0.3);
    width: fit-content;
}

.m-box img {
    display: block;
    height: 30px; 
    width: auto;  
    object-fit: contain;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-slate);
    margin-left: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: var(--primary);
}

.btn-nav-install {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 85, 128, 0.2);
}

.btn-nav-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 128, 0.3);
}

.menu-toggle-bg {
    display: none;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ===========================
   HERO & CAROUSEL 
   ======================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
    background: #000; 
    text-align: center;
    min-height: 70vh;
    padding: 60px 0;
}


/* --- Conteneur d'images --- */
.carousel-images {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
.carousel-item.active {
    opacity: 1; 
    z-index: 1; 
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
    transition: transform 6s ease; 
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3; 
    padding: 120px 0 80px;
}

.hero-text h1 {
    font-size: clamp(2.8rem, 8vw, 4.5rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px; 
}

.highlight {
    color: var(--yellow);
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    max-width: 650px; 
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-yellow-main {
    background: var(--yellow);
    color: #000;
    padding: 18px 38px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.25);
}

.btn-yellow-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.35);
}

.compatibility-modern {
    margin-top: 30px;
}

.compatibility-modern p {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.op-logos-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.op-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); 
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.op-item i {
    color: var(--yellow);
    font-size: 0.8rem;
}

.op-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--yellow);
    transform: translateY(-5px);
}

/* ===========
   RESPONSIVE 
   =========== */
@media (max-width: 992px) {
    .hero-carousel {
        text-align: center;
        min-height: auto; 
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-text p {
        margin: 0 auto 35px; 
        font-size: 1.15rem;
    }

    .hero-actions {
        justify-content: center; 
        margin-bottom: auto;
    }

    .op-logos-grid {
        justify-content: center; 
    }
}


@media (max-width: 576px) {
    .hero-container {
        padding: 40px 0; 
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }

    .btn-yellow-main {
        width: 100%; 
        justify-content: center;
        margin-bottom: auto;
    }
}

/* ================
   ABOUT SECTION
   ============== */
.about-trust { padding: 100px 0; background: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background: var(--primary-light);
    color: var(--primary);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.about-content h2 { font-size: 2.5rem; margin-bottom: 25px; line-height: 1.2; }
.highlight-blue { color: var(--primary); }
.p-main { font-size: 1.1rem; color: var(--text-slate); margin-bottom: 30px; }

.trust-lines {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-item { display: flex; gap: 15px; align-items: flex-start; }
.trust-item i { color: #10b981; font-size: 1.4rem; margin-top: 4px; }

.p-footer-quote {
    font-style: italic;
    color: var(--text-slate);
    border-left: 4px solid var(--yellow);
    padding-left: 20px;
}

.about-image { position: relative; }
.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-image img:hover { transform: rotate(-1deg) scale(1.02); }

.experience-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 85, 128, 0.4);
    max-width: 280px;
}

/* =====================
   SERVICES & FEATURES
   ====================*/
.services-modern {
    padding: 80px 0;
    background: var(--light-bg);
    border-radius: 60px;
    margin: 40px 0;
}

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; }
.section-title h2 span { color: var(--primary); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
}

.service-item span { font-weight: 600; font-size: 0.95rem; line-height: 1.4; }

.features { padding: 100px 0; background: #fdfdfd; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.f-card {
    padding: 40px;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.f-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.f-icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.f-card:hover .f-icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

/* ===============
   TEAM SECTION
   ============== */
.team-section { padding: 100px 0; background: #f8fafc; text-align: center; }

.team-slider-container {
    overflow-x: auto;
    padding: 40px 0;
    scrollbar-width: none;
    display: flex;
    justify-content: center;
}

.team-slider-container::-webkit-scrollbar { display: none; }

.team-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
}

.team-card {
    min-width: 250px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow);
}

.member-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info { padding: 25px; }
.member-info h3 { font-size: 1.4rem; margin-bottom: 5px; }
.member-info span { color: var(--primary); font-weight: 700; display: block; }

/* ======================
   CONSTRUCTION SECTION 
   ====================== */
.construction-section { padding: 50px 0; background: #f8fafc; text-align: center; }
.construction-content h1 { font-size: 2.5rem; margin-bottom: 20px; }

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.construction-image {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    animation: zoomInOut 10s ease-in-out infinite;
}

/* =======
   FOOTER
   =======*/
.main-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* ================
   MOBILE OVERLAY 
   ===============*/
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 5000;
    transform: translateX(100%);
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-overlay.active { transform: translateX(0); }

.mobile-header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.mobile-nav {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-link {
    text-decoration: none;
    color: var(--dark);
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.mobile-link.active { background: var(--primary-light); color: var(--primary); }

.btn-yellow-full {
    display: block;
    background: var(--yellow);
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: black;
    font-weight: 800;
    margin: 20px;
}

/* ====================
   RESPONSIVE DESIGN
   ===================*/
@media (max-width: 992px) {
    .desktop-nav, .btn-nav-install { display: none; }
    .menu-toggle-bg { display: flex; }
    
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    
    .about-image { order: 2; margin-top: 40px; }
    .trust-item { text-align: left; }
    .experience-card { left: 50%; transform: translateX(-50%); width: 80%; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .team-wrapper {
        justify-content: flex-start;
        padding-left: 20px;
    }
    .team-card { min-width: 280px; }
    .hero h1 { font-size: 2.5rem; }

    .carousel-item img {
        object-position: top center; 
    }

    .hero-carousel {
        min-height: 60vh; 
    }
    
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn-yellow-main, .btn-outline-white { width: 100%; justify-content: center; }
}

