/* =========================================
   VARIABLES & CONFIGURATION SIS
========================================= */
:root {
    --sis-blue: #0056a3;
    --sis-light-blue: #0077cc;
    --sis-green: #00a651;
    --sis-dark: #0b1220;
    --sis-light-bg: #f8fafc;
    --sis-text: #334155;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--sis-text);
    background-color: var(--sis-light-bg);
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    transition: 0.3s; 
}

/* =========================================
   NAVBAR & SOUS-MENUS IMBRIQUÉS
========================================= */
.navbar {
    background: rgba(11, 18, 32, 0.96);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-brand img { 
    height: 50px; 
}

.navbar-brand span {
    color: white; 
    font-weight: 700; 
    letter-spacing: 1px; 
    font-size: 1.1rem; 
    margin-left: 10px;
}

.nav-link {
    color: #e2e8f0 !important; 
    font-weight: 500; 
    padding: 10px 15px !important; 
    border-radius: 8px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--sis-green) !important; 
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu {
    background: #0f172a; 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 12px;
}

.dropdown-item { 
    color: #e2e8f0; 
    padding: 10px 20px; 
    transition: 0.2s; 
}

.dropdown-item:hover { 
    background: var(--sis-blue); 
    color: white; 
}

.dropdown-submenu { 
    position: relative; 
}

.dropdown-submenu .dropdown-menu {
    top: 0; 
    left: 100%; 
    margin-top: -1px; 
    display: none;
}

/* Gestion affichage Desktop au survol */
@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu { 
        display: block; 
        animation: fadeUp 0.3s ease forwards; 
    }
    .dropdown-submenu:hover > .dropdown-menu { 
        display: block; 
    }
}

/* Gestion Mobile (au clic) via classe .show */
@media (max-width: 991.98px) {
    .dropdown-submenu .dropdown-menu { 
        position: static; 
        margin-left: 15px; 
        background: rgba(255,255,255,0.03); 
    }
    .dropdown-submenu.show .dropdown-menu { 
        display: block; 
    }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    height: 85vh; 
    min-height: 600px;
    background: linear-gradient(to right, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.4)), url('images/terminal-petrolier-sis.jpeg') center/cover;
    display: flex; 
    align-items: center; 
    padding-top: 80px;
}

.hero h1 { 
    color: white; 
    font-weight: 800; 
    font-size: clamp(2.5rem, 5vw, 4rem); 
}

.hero p { 
    color: #cbd5e1; 
    font-size: 1.1rem; 
    max-width: 600px; 
}

.btn-custom { 
    padding: 14px 32px; 
    border-radius: 50px; 
    font-weight: 600; 
    transition: 0.3s; 
}

.btn-sis-green { 
    background: var(--sis-green); 
    color: white; 
    border: none; 
}

.btn-sis-green:hover { 
    background: #008b45; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.3); 
    color: white; 
}

/* =========================================
   SECTIONS COMMUNES
========================================= */
.section-padding { 
    padding: 90px 0; 
}

.kicker { 
    color: var(--sis-green); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.9rem; 
    margin-bottom: 10px; 
}

.section-title { 
    color: var(--sis-dark); 
    font-weight: 800; 
    font-size: 2.5rem; 
    margin-bottom: 30px; 
}

/* =========================================
   GRAND SLIDER D'IMAGES AVEC TEXTE INCORPORÉ
========================================= */
.large-gallery-section { 
    background-color: var(--sis-dark); 
    color: white; 
}

.large-gallery-swiper { 
    width: 100%; 
    padding-bottom: 50px; 
}

.large-slide-item {
    position: relative; 
    height: 500px; 
    border-radius: 20px; 
    overflow: hidden;
    background-size: cover; 
    background-position: center;
}

.large-slide-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(11, 18, 32, 0.95) 20%, rgba(11, 18, 32, 0.2) 100%);
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 40px;
}

.large-slide-title { 
    font-size: 1.8rem; 
    font-weight: 700; 
    color: white; 
    margin-bottom: 10px; 
}

.large-slide-text { 
    color: #cbd5e1; 
    max-width: 650px; 
    font-size: 1rem; 
}

/* =========================================
   MODULE AVIS & RATING INTERACTIF
========================================= */
.rating-stars i { 
    font-size: 24px; 
    color: #cbd5e1; 
    cursor: pointer; 
    transition: 0.2s; 
    margin-right: 5px; 
}

.rating-stars i.active { 
    color: #ffca28; 
}

.avis-card {
    background: white; 
    border-radius: 16px; 
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    border: 1px solid rgba(0,0,0,0.05); 
    margin-bottom: 20px;
}

.avis-stars { 
    color: #ffca28; 
    margin-bottom: 10px; 
}

/* =========================================
   COMPOSANTS FLOTTANTS & REHUTS
========================================= */
.whatsapp-float {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25D366; 
    color: white;
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    font-size: 30px; 
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); 
    z-index: 1000;
}

.swiper-pagination-bullet-active { 
    background: var(--sis-green) !important; 
}
