/* ============================================================
   css/style.css - STYLES GLOBAUX
   ============================================================ */

/* --- IMPORTS & FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- VARIABLES --- */
:root {
    --primary-blue: #0C3F92;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.2);
    --overlay-gradient: linear-gradient(to top, #0c3f92 0%, #0c3f9200 100%);
    --card-gradient: linear-gradient(to top, rgba(0, 35, 80, 0.95), transparent);
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", sans-serif; }
body { background-color: #ffffff; color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { display: block; }

/* --- UTILS --- */
.bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}

/* --- HEADER (DESKTOP) --- */
header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000;
    background: rgba(120, 120, 120, 0.3);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border); border-radius: 50px;
    display: flex; align-items: center; justify-content: space-between;
    width: auto; height: 60px; padding: 0 30px; gap: 30px;
    transition: all 0.3s ease;
}
header a.nav-link { font-size: 14px; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
header a.nav-link:hover { opacity: 0.7; }
header a.active, #mobileMenu a.active { text-decoration: underline; text-underline-offset: 5px; opacity: 1; font-weight: 700;}

.logo-container img { height: 40px; }
.logo-text { color: white; font-weight: 800; font-style: italic; font-size: 1.2rem; text-transform: uppercase; line-height: 1; }
.logo-text span { display: block; font-size: 0.8em; font-weight: 400; }

.btn-contact { background-color: var(--text-light); color: var(--primary-blue) !important; padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.btn-contact:hover { background-color: #f0f0f0; }

/* --- MENU BURGER & MOBILE NAV --- */
.burger-menu, .mobile-nav-overlay { display: none; }

/* --- HERO GLOBAL (Base) --- */
.hero { position: relative; width: 100%; height: 90vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: var(--overlay-gradient); z-index: 1; }
.hero-title { position: relative; z-index: 2; display: flex; flex-direction: row; padding: 0 5vw; gap: 20px; width: 100%; }
.hero-separateur { width: 5px; height: auto; background: #ffffff; opacity: 0.5; z-index: 2; border-radius: 15px 15px 0 0; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; padding-bottom: 50px; color: var(--text-light); width: 100%; }
.hero-content h1 { font-size: 3rem; font-weight: 600; margin-bottom: 15px; line-height: 1.1; }
.hero-content p { font-size: 1.1rem; line-height: 1.6; max-width: 600px; margin-bottom: 30px; opacity: 0.9; }

.btn-actu { display: inline-flex; align-items: center; justify-content: center; background: var(--text-light); color: var(--primary-blue); padding: 10px 20px; border-radius: 5px; font-size: 0.9rem; font-weight: 700; gap: 8px; transition: transform 0.2s; }
.btn-actu:hover { transform: translateX(5px); }

/* --- RESPONSIVE GLOBAL (HEADER & MOBILE MENU) --- */
@media (max-width: 900px) {
    header { width: calc(100% - 30px); left: 15px; transform: none; padding: 0 20px; }
    header .nav-link, header .btn-contact { display: none; }
    
    .burger-menu { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1002; }
    .burger-menu span { width: 25px; height: 3px; background-color: white; border-radius: 2px; transition: 0.3s; }
    .burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
    
    .mobile-nav-overlay { display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; top: 100px; z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s; gap: 30px; width: calc(100% - 30px); left: 15px; background: rgba(120, 120, 120, 0.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 50px; padding: 20px; }
    .mobile-nav-overlay.open { opacity: 1; visibility: visible; }
    .mobile-nav-overlay a { color: white; font-size: 1.5rem; font-weight: 700; }
    
    .hero { height: 70vh; } 
    .hero-content { padding-bottom: 40px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { display: none; }
}