/* --- VARIABLES DE LA CHARTE GRAPHIQUE --- */
:root {
    --blue-dark: #024EA3;
    --blue-medium: #2275C5;
    --blue-light: #6EB0CA;
    --yellow-accent: #FFBF00;
    --off-white: #F1E8E1;
    --bg-light: #F4F8FB; 
}

/* --- RESET & CORRECTION DE L'OVERFLOW --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100vw; 
    overflow-x: hidden !important; 
    position: relative; 
}

body {
    color: var(--off-white); 
    background-color: #000000; 
}

body.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* --- ARRIÈRE-PLAN VIDÉO ET FILTRE COLORÉ --- */
.video-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; 
    z-index: -1; 
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    pointer-events: none; 
    background: linear-gradient(
        180deg, 
        rgba(2, 78, 163, 0.95) 0%, 
        rgba(34, 117, 197, 0.75) 50%, 
        rgba(2, 78, 163, 0.95) 100%
    ); 
}

/* --- EN-TÊTE / NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: relative;
    z-index: 100;
}

.nav-left, .nav-right { flex: 1; }
.nav-left ul { display: flex; list-style: none; gap: 2rem; }
.nav-left a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.3s ease;
}
.nav-left a:hover { color: var(--yellow-accent); }
.nav-left .arrow { font-size: 0.6rem; }

/* MENUS DÉROULANTS */
.has-dropdown { position: relative; }
.submenu {
    position: absolute;
    top: calc(100% + 15px); 
    left: 0;
    background-color: var(--blue-dark); 
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0 !important; 
}
.submenu::before {
    content: "";
    position: absolute;
    top: -15px; 
    left: 0;
    width: 100%;
    height: 15px;
    background-color: transparent; 
}
.submenu li { list-style: none; width: 100%; }
.submenu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--yellow-accent);
    padding-left: 1.8rem; 
}
.has-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.arrow { display: inline-block; transition: transform 0.3s ease; }
.has-dropdown:hover .arrow { transform: rotate(180deg); }

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 10000; 
}
.hamburger .bar {
    width: 25px; height: 3px; background-color: var(--off-white);
    border-radius: 5px; transition: all 0.3s ease;
}

.logo { display: flex; justify-content: center; align-items: center; flex: 0 1 auto; }
.logo img { height: 40px; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; }
.language {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: color 0.3s ease;
}
.language svg { width: 20px; height: 20px; flex-shrink: 0; }
.language:hover { color: var(--yellow-accent); }

.login-btn {
    display: inline-block; background-color: var(--yellow-accent); color: var(--blue-dark);
    padding: 0.6rem 1.5rem; border-radius: 20px; text-decoration: none; font-weight: 700;
    font-size: 0.9rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 191, 0, 0.2); white-space: nowrap;
}
.login-btn:hover { background-color: var(--off-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* --- ANIMATIONS CSS --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { to { opacity: 1; transform: translateY(0); } }

/* ========================================= */
/* --- SECTION TARIFS (CONTENU) --- */
/* ========================================= */

.tarifs-section {
    padding: 2rem 6rem 8rem 6rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tarifs-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 4rem;
}

.tarifs-header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tarifs-header p {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.tarifs-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.pole-category {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pole-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--yellow-accent);
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 191, 0, 0.3);
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* --- TABLEAU LOCATION MATÉRIEL --- */
.table-wrapper {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.price-table thead tr {
    background-color: var(--blue-dark);
}

.price-table th {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 1.2rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.price-table th:first-child,
.price-table td.item-name {
    text-align: left;
}

.price-table td {
    padding: 0.9rem 1.2rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-medium);
}

.price-table td.item-name {
    color: var(--blue-dark);
    font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.price-table td.unavailable {
    color: #AAAAAA;
    font-weight: 500;
    font-style: italic;
}

/* --- GRILLE DE PACKS --- */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pack-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 1.6rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.pack-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.3;
}

.pack-card .pack-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--blue-medium);
}

.pack-card p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666666;
    line-height: 1.5;
}

/* --- NOTE DE BAS DE PAGE --- */
.tarifs-note {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    text-align: center;
}

.tarifs-note p {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.tarifs-note strong {
    color: var(--yellow-accent);
}


/* ========================================= */
/* --- RESPONSIVE DESIGN (Mobiles & Tabs) --- */
/* ========================================= */

@media screen and (max-width: 1024px) {
    .tarifs-header h1 { font-size: 3.5rem; }
    .navbar { padding: 2rem; }
    .tarifs-section { padding: 2rem 2rem 6rem 2rem; }
}

@media screen and (max-width: 768px) {
    .navbar { padding: 1.5rem; }
    
    .nav-left ul#nav-menu {
        position: fixed; top: 0; left: -100%; width: 280px; height: 100vh;
        background: rgba(2, 78, 163, 0.98); flex-direction: column; justify-content: center;
        align-items: center; gap: 3rem; transition: left 0.4s ease; z-index: 9999; 
        box-shadow: 2px 0 15px rgba(0,0,0,0.5); 
    }
    .nav-left ul.active { left: 0; }
    .nav-left a { font-size: 1.3rem; } 
    .hamburger { display: flex; }
    .hamburger.active { position: fixed; top: 2rem; left: 1.5rem; }
    .hamburger.active .bar { background-color: var(--yellow-accent); } 
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .submenu {
        position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none;
        background-color: transparent; padding: 0; margin-top: 1rem; display: none; 
    }
    .submenu::before { display: none; }
    .submenu li a { padding: 0.5rem 1rem; font-size: 1.1rem; text-align: center; }
    .has-dropdown.open .submenu { display: flex; }
    .has-dropdown.open .arrow { transform: rotate(180deg); }

    .logo img { height: 30px; }
    .nav-right { gap: 0.8rem; }
    .lang-text { display: none; }
    .login-btn { padding: 0.5rem 1rem; font-size: 0.8rem; }

    /* Ajustements Tarifs Mobile */
    .tarifs-section { padding: 2rem 1.5rem 4rem 1.5rem; }
    .tarifs-header { margin-top: 1rem; margin-bottom: 2.5rem; }
    .tarifs-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem;}
    .tarifs-header p { font-size: 1rem; }
    
    .pole-title { font-size: 1.4rem; }
    .packs-grid { grid-template-columns: 1fr; gap: 1rem; }
    .price-table th, .price-table td { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
}

/* ========================================= */
/* --- FOOTER STYLÉ --- */
/* ========================================= */

.site-footer {
    background-color: var(--blue-dark);
    padding: 3rem 4rem;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.footer-content { max-width: 1200px; width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.footer-socials { display: flex; gap: 2.5rem; }
.social-link { display: flex; align-items: center; gap: 0.6rem; color: var(--off-white); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s ease; }
.social-link:hover { color: var(--yellow-accent); transform: translateY(-3px); }
.footer-copyright { color: rgba(241, 232, 225, 0.7); font-size: 0.85rem; font-weight: 400; text-align: right; }

@media screen and (max-width: 768px) {
    .site-footer { padding: 2.5rem 1.5rem; }
    .footer-content { flex-direction: column; text-align: center; justify-content: center; gap: 1.5rem; }
    .footer-socials { flex-direction: column; gap: 1.2rem; align-items: center; }
    .footer-copyright { text-align: center; margin-top: 1rem; }
}