:root {
    --CouleurPrimaire: #1f354d;
    --CouleurSecondaire: #03989e;
    --CouleurAccent: #FF8C42;
    --FontFamily: "Khand", sans-serif;
    --BoxShadow: rgb(163, 163, 163);
    --FontSizeREG: clamp(19px, 1.3vw, 30px);
    --FontSizeBIG: clamp(30px, 7vw, 42px);
}

/* ===== 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;
    }
}

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

/* ===== SECTIONS ===== */
.section {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 1000px;
    width: 92%;
    padding-left: 4%;
    padding-right: 4%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--FontFamily);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--CouleurPrimaire);
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: var(--FontFamily);
    font-size: clamp(16px, 1.3vw, 20px);
    color: #666;
    font-weight: 400;
}

.hidden {
    display: none !important;
}

/* ===== HERO ===== */
#ContactHero {
    padding-top: 80px;
    padding-bottom: 30px;
}

/* ===== SUBJECT BUTTONS ===== */
.subject-buttons {
    margin-bottom: 35px;
}

.subject-label {
    font-family: var(--FontFamily);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 500;
    color: var(--CouleurPrimaire);
    margin-bottom: 15px;
    text-align: center;
}

.subject-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.subject-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.subject-btn .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
}

.subject-btn:hover {
    border-color: var(--CouleurSecondaire);
    background: rgba(3, 152, 158, 0.05);
}

.subject-btn.active {
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.85));
    border-color: var(--CouleurSecondaire);
    color: white;
    cursor: default;
}

.subject-btn.active .material-symbols-outlined {
    color: white;
}

@media only screen and (max-width: 500px) {
    .subject-options {
        flex-direction: column;
    }

    .subject-btn {
        justify-content: center;
    }
}

/* ===== CONTACT FORM ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-container h2 {
    font-family: var(--FontFamily);
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    font-family: var(--FontFamily);
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--FontFamily);
    font-size: 15px;
    font-weight: 500;
    color: var(--CouleurPrimaire);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--FontFamily);
    font-size: 16px;
    color: var(--CouleurPrimaire);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--CouleurSecondaire);
    box-shadow: 0 0 0 3px rgba(3, 152, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--CouleurSecondaire) 0%, #05b8bf 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 152, 158, 0.4);
}

.submit-button .material-symbols-outlined {
    font-size: 22px;
}

/* ===== SUCCESS MESSAGE ===== */
.success-container {
    text-align: center;
    padding: 60px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon .material-symbols-outlined {
    font-size: 80px;
    color: var(--CouleurSecondaire);
}

.success-container h2 {
    font-family: var(--FontFamily);
    font-size: 32px;
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 15px;
}

.success-container p {
    font-family: var(--FontFamily);
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.cta-button.secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    font-family: var(--FontFamily);
    text-decoration: none;
    background: white;
    color: var(--CouleurSecondaire);
    border: 2px solid var(--CouleurSecondaire);
    box-shadow: 0 4px 15px rgba(3, 152, 158, 0.15);
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: var(--CouleurSecondaire);
    color: white;
}


/* ===== FOOTER ===== */
#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;
}

.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;
    }
}
