/* ===== HEADER MODERNE ===== */
#MainHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 53, 77, 0.08);
    transition: box-shadow 0.3s ease;
}

#MainHeader.scrolled {
    box-shadow: 0 4px 20px rgba(31, 53, 77, 0.1);
}

#HeaderNav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 5%;
    gap: 20px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

.header-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo-text {
    font-family: "Playwrite BE VLG", cursive;
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--CouleurPrimaire);
    font-weight: 400;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 500;
    color: var(--CouleurPrimaire);
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.nav-link .material-symbols-outlined {
    font-size: 20px;
    color: var(--CouleurSecondaire);
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.nav-link:hover {
    background: rgba(3, 152, 158, 0.08);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.85));
    color: white;
}

.nav-link.active .material-symbols-outlined {
    color: white;
    background: transparent;
}

.nav-link.cta-header {
    margin-left: auto;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: rgba(31, 53, 77, 0.05);
    color: var(--CouleurPrimaire);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(3, 152, 158, 0.1);
}

.menu-toggle .material-symbols-outlined {
    font-size: 26px;
}

/* Mobile Menu */
#MobileMenu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 10px;
    z-index: 99;
    box-shadow: 0 10px 40px rgba(31, 53, 77, 0.15);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#MobileMenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    background: rgba(31, 53, 77, 0.04);
    transition: all 0.2s ease;
}

#MobileMenu a:hover {
    background: rgba(3, 152, 158, 0.1);
}

@media only screen and (max-width: 700px) {
    .header-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-text {
        display: none;
    }

    .header-logo img {
        width: 40px;
        height: 40px;
    }
}

@media only screen and (min-width: 701px) {
    #MobileMenu {
        display: none !important;
    }
}

/* ===== FOOTER MODERNE ===== */
#Footer {
    background: var(--CouleurPrimaire);
    color: white;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5% 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
}

.footer-brand {
    padding-right: 20px;
    text-align: left;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.footer-logo span {
    font-family: "Playwrite BE VLG", cursive;
    font-size: 18px;
    color: white;
}

.footer-description {
    font-family: var(--FontFamily);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.footer-title {
    font-family: var(--FontFamily);
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--CouleurSecondaire);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    font-family: var(--FontFamily);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--CouleurSecondaire);
}

.footer-links.territory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
}

.footer-links.contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links.contact .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--CouleurSecondaire);
    transform: translateY(-3px);
}

.footer-social img {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 5%;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media only screen and (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media only screen and (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 5% 30px;
    }
}

/* Empêcher le défilement quand le menu mobile est ouvert */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
