/* ==========================================================================
   PALETTE DE COULEURS & VARIABLES GLOBALES (STYLE COMMUN)
   ========================================================================== */
:root {
    --primary-blue: #0A2540;
    --accent-red: #D9381E;
    --technical-gray: #F4F6F9;
    --dark-gray: #2C3E50;
    --pure-white: #FFFFFF;
    --border-color: #E2E8F0;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset Global & Typographie */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--pure-white);
    color: var(--dark-gray);
    line-height: 1.6;
    padding-top: 80px; /* Compensation pour la navigation fixe */
}

/* Normalisation des Titres & Textes */
h1 { font-size: 2.8rem; color: var(--primary-blue); font-weight: 800; line-height: 1.2; }
h2 { font-size: 2.2rem; color: var(--primary-blue); font-weight: 700; }
h3 { font-size: 1.5rem; color: var(--primary-blue); font-weight: 600; }
h4 { font-size: 1.2rem; color: var(--primary-blue); font-weight: 600; }
p { font-size: 1rem; color: #4A5568; }

/* Boutons Communs Réutilisables */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--pure-white) !important;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(217, 56, 30, 0.2);
}

.btn-primary:hover {
    background-color: #b52b14;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 56, 30, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--pure-white) !important;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: #061729;
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION DÉDIÉE (FIXED NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo & Marque */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-brand .brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.nav-brand .brand-text span {
    color: var(--accent-red);
}

/* Menu Desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-red);
}

/* Menu Hamburger & Drawer Navigation (Style Android) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 37, 64, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Android Drawer (Menu Latéral Mobile) */
@media (max-width: 992px) {
    .hamburger-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--pure-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 2rem 2rem 2rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        transition: var(--transition-smooth);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 0.6rem 0;
        border-bottom: 1px solid var(--technical-gray);
    }
}

/* ==========================================================================
   FOOTER PROFESSIONNEL AVEC NEWSLETTER & RÉSEAUX SOCIAUX
   ========================================================================== */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--technical-gray);
    padding: 0 5% 2rem 5%;
    position: relative;
}

/* Bandeau Newsletter */
.newsletter-banner {
    background: linear-gradient(135deg, #0d3154, #05182b);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transform: translateY(-40px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
}

.newsletter-content h3 {
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.newsletter-content p {
    color: #A0AEC0;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 0.95rem;
}

.newsletter-response {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Grille des colonnes du Footer */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-top: 1rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--pure-white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-red);
}

.footer-desc {
    color: #A0AEC0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a {
    color: #A0AEC0;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--pure-white);
    padding-left: 5px;
}

.contact-info-list li {
    color: #A0AEC0;
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info-list i {
    color: var(--accent-red);
    margin-top: 4px;
}

/* Réseaux Sociaux */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--pure-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    background: var(--accent-red);
    color: var(--pure-white);
    transform: translateY(-3px);
}

/* Bottom Bar Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #A0AEC0;
}

/* Adaptations Mobiles pour le Footer */
@media (max-width: 768px) {
    .newsletter-banner {
        padding: 1.5rem;
        transform: translateY(-20px);
        flex-direction: column;
        align-items: stretch;
    }
    .newsletter-form {
        flex-direction: column;
        max-width: 100%;
    }
}