* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background-color: #0f172a; 
    color: #e5e7eb; 
    overflow-x: hidden; 
    width: 100%; 
    margin: 0;
    padding: 0;
}

.navbar { 
    background-color: #1e293b; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 50px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
    position: sticky; 
    top: 0; 
    left: 0;
    width: 100%;
    z-index: 1000; 
    flex-wrap: wrap; 
}
.navbar nav {
    display: flex;
    align-items: center;
}
.navbar nav a { 
    text-decoration: none; 
    color: #cbd5e1; 
    margin-left: 30px; 
    font-weight: 600; 
    transition: color 0.3s; 
}
.navbar nav a:hover { color: #fbd400; }
.navbar nav a.btn-nav { 
    background-color: #d62828; 
    color: white; 
    padding: 10px 20px; 
    border-radius: 8px; 
} 
.navbar nav a.btn-nav:hover { background-color: #b51c1c; }

.burger-menu { 
    display: none; 
    background: none; 
    border: none; 
    color: #fbd400; 
    font-size: 28px; 
    cursor: pointer; 
}

.btn-primary { width: 100%; background-color: #16327a; color: white; border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.3s; text-decoration: none; display: block; }
.btn-primary:hover { background-color: #10255c; }
.btn-primary-round { background-color: #16327a; color: white; border: none; font-weight: bold; cursor: pointer; transition: background-color 0.3s; text-decoration: none; display: inline-block; padding: 15px 35px; border-radius: 30px; border: 2px solid #16327a; }
.btn-primary-round:hover { background-color: #10255c; border-color: #fbd400; }

.hero-modern { display: flex; align-items: center; justify-content: space-between; padding: 60px 40px; background-color: #1e293b; max-width: 1200px; margin: 40px auto; border-radius: 24px; gap: 50px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.hero-text { flex: 1; text-align: left; }
.hero-text h1 { font-size: 46px; color: #fbd400; margin-bottom: 20px; line-height: 1.2; }
.hero-text h1 span { color: #d62828; }
.hero-text p { font-size: 18px; color: #94a3b8; margin-bottom: 30px; line-height: 1.6; }
.hero-image { flex: 1; text-align: right; }
.hero-image img { max-width: 100%; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.5); border: 2px solid #334155; }

.services-header { text-align: center; padding: 60px 20px 20px 20px; max-width: 800px; margin: 0 auto; }
.services-header h1 { font-size: 42px; color: #fbd400; margin-bottom: 20px; line-height: 1.2; }
.services-header p { font-size: 22px; color: #cbd5e1; line-height: 1.6; margin-top: 15px; }

.services-zigzag { max-width: 1200px; margin: 60px auto; padding: 0 20px; display: flex; flex-direction: column; gap: 80px; }
.service-row { display: flex; align-items: center; gap: 50px; }
.service-row.reverse { flex-direction: row-reverse; }
.service-text { flex: 1; }
.service-text h2 { color: #fbd400; font-size: 32px; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.service-text h2 i { color: #d62828; font-size: 28px; background: #1e293b; padding: 12px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.service-text p { color: #cbd5e1; font-size: 17px; line-height: 1.7; }
.service-image { flex: 1; }
.service-image img { width: 100%; border-radius: 16px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); border: 3px solid #16327a; transition: transform 0.4s ease; }
.service-image img:hover { transform: scale(1.03); border-color: #fbd400; }

.services-footer-contact { text-align: center; margin-bottom: 80px; margin-top: 40px; }
.services-footer-contact p { color: #cbd5e1; margin-bottom: 20px; font-size: 18px; }

.testimonials-carousel { padding: 60px 20px; background-color: #0f172a; text-align: center; overflow: hidden; }
.testimonials-carousel h2 { color: #fbd400; margin-bottom: 40px; font-size: 32px; }
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; }
.carousel-track-container { overflow: hidden; width: 100%; padding: 15px 0; }
.carousel-track { display: flex; gap: 20px; list-style: none; transition: transform 0.4s ease-in-out; }
.carousel-slide { min-width: calc(33.333% - 14px); box-sizing: border-box; }
.review-card { background: #1e293b; padding: 30px; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); text-align: left; border-top: 4px solid #fbd400; height: 100%; } 
.review-stars { color: #fbd400; margin-bottom: 15px; font-size: 18px; }
.review-text { font-style: italic; color: #cbd5e1; margin-bottom: 20px; line-height: 1.6; font-size: 14px; }
.review-author { font-weight: bold; color: #fbd400; }
.carousel-btn { background: #16327a; color: white; border: none; border-radius: 50%; width: 45px; height: 45px; cursor: pointer; font-size: 20px; position: absolute; z-index: 10; box-shadow: 0 4px 8px rgba(0,0,0,0.4); transition: background-color 0.3s; }
.carousel-btn:hover { background: #d62828; }
.prev-btn { left: -15px; }
.next-btn { right: -15px; }

.store-section { display: flex; align-items: center; justify-content: space-between; padding: 60px 40px; background-color: #16327a; color: white; max-width: 1200px; margin: 60px auto; border-radius: 24px; gap: 50px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.store-text { flex: 1; }
.store-text h2 { font-size: 36px; color: #fbd400; margin-bottom: 20px; } 
.store-text p { font-size: 18px; color: #e5e7eb; line-height: 1.6; margin-bottom: 20px; }
.store-image { flex: 1; text-align: right; }
.store-image img { max-width: 100%; border-radius: 12px; border: 4px solid #fbd400; box-shadow: 0 15px 35px rgba(0,0,0,0.5); }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

#btnRetourHaut {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #d62828;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnRetourHaut.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#btnRetourHaut:hover {
    background-color: #b51c1c;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

@media (max-width: 600px) {
    #btnRetourHaut {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .navbar { padding: 15px 20px; }
    .burger-menu { display: block; } 
    
    .navbar nav { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        text-align: center; 
        margin-top: 15px; 
    }
    
    .navbar nav.active { 
        display: flex; 
        animation: fadeIn 0.3s ease-in-out;
    }
    
    .navbar nav a { margin-left: 0; padding: 15px 0; border-bottom: 1px solid #334155; }
    .navbar nav a:last-child { border-bottom: none; margin-top: 10px; }

    .hero-modern, .store-section { 
        flex-direction: column; 
        text-align: center; 
        padding: 40px 20px; 
        margin: 20px auto; 
        width: calc(100% - 40px);
    }
    
    .hero-text h1, .services-header h1 { font-size: 36px; }
    .store-text h2 { font-size: 32px; }
    .hero-text, .store-image { text-align: center; }
    .store-section { flex-direction: column-reverse; }

    .service-row, .service-row.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .service-text h2 { justify-content: center; }

    .carousel-slide { min-width: calc(50% - 10px); }
}

@media (max-width: 600px) {
    .hero-modern, .store-section { 
        padding: 30px 15px; 
        margin: 15px auto; 
        width: calc(100% - 30px); 
    }

    .hero-text h1, .services-header h1 { font-size: 28px; }
    .store-text h2 { font-size: 26px; }
    .hero-text p, .services-header p { font-size: 15px; }

    .services-zigzag { gap: 30px; margin: 30px auto; padding: 0 15px; }
    
    .service-row, .service-row.reverse { 
        background: #1e293b; 
        padding: 25px 20px; 
        border-radius: 16px; 
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        border-top: 3px solid #16327a;
    }
    
    .service-text h2 { 
        font-size: 22px; 
        flex-direction: column; 
        gap: 10px; 
    }
    .service-text h2 i { font-size: 24px; padding: 10px; }
    .service-text p { font-size: 15px; }
    .service-image img { border-width: 2px; border-radius: 12px; margin-top: 10px; }

    .carousel-slide { min-width: 100%; }
    .carousel-btn { display: none; }
    .carousel-track-container { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
    .carousel-slide { scroll-snap-align: center; }
}