/* -----------------------------------------------------
   HEADER BASE
----------------------------------------------------- */

.site-header {
    width: 100%;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    transition: background .3s ease, border .3s ease, opacity .25s ease, transform .25s ease;
}

.site-header.menu-hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 1 !important;
}

.header-container {
    max-width: 1350px;
    margin: auto;
    padding: 16px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -----------------------------------------------------
   LOGO + TEXTE
----------------------------------------------------- */

.header-logo-combined {
    height: 58px;
    width: auto;
    max-height: none;
    display: block;
    object-fit: contain;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 58px;
    text-decoration: none !important;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.header-title {
    font-size: 26px;           /* 🔥 AGRANDI */
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2b5478;
}

.header-tagline {
    font-size: 18px;           /* 🔥 AGRANDI */
    color: #73a94f;
    margin-top: 4px;
}

/* -----------------------------------------------------
   NAV DESKTOP — VERSION PREMIUM
----------------------------------------------------- */

.header-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-menu li {
    margin: 0;
    padding: 0;
}

.header-menu a {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
    padding: 6px 0;
}

.header-menu a:hover {
    color: #ff7b00;
}

.header-menu a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #ff7b00, #ffba00);
    transition: width .35s ease, left .35s ease;
}

.header-menu a:hover::after {
    width: 100%;
    left: 0;
}

.header-menu .current-menu-item > a {
    color: #ff7b00 !important;
}

.header-menu .current-menu-item > a::after {
    width: 100%;
    left: 0;
}

/* -----------------------------------------------------
   CTA DESKTOP
----------------------------------------------------- */

.header-cta {
    background: linear-gradient(to right, #ff7b00, #ffba00);
    color: white;
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow .25s ease, transform .25s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 123, 0, 0.35);
}

/* -----------------------------------------------------
   BOUTON BURGER
----------------------------------------------------- */

.burger-btn {
    display: none;
    width: 34px;
    height: 34px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background: #1d2a3b;
    border-radius: 3px;
    transition: .3s;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* -----------------------------------------------------
   MENU MOBILE
----------------------------------------------------- */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9999;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 18px rgba(0,0,0,0.15);
    transition: right .35s ease;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

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

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 90px 22px 22px;
    justify-content: space-between;
}

.mobile-nav-links a {
    font-size: 20px;
    padding: 14px 0;
    display: block;
    color: #1d2a3b;
    text-decoration: none;
}

.mobile-nav-links a:hover {
    color: #ff7b00;
}

.mobile-cta {
    margin-top: auto;
    margin-bottom: 30px;
    text-align: center;
    padding: 14px 18px;
    background: linear-gradient(to right, #ff7b00, #ffba00);
    color: white;
    font-size: 18px;
    border-radius: 28px;
    text-decoration: none;
}

/* -----------------------------------------------------
   RESPONSIVE
----------------------------------------------------- */

@media (max-width: 980px) {

    .header-nav,
    .header-cta {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .header-logo-combined {
        height: 52px;
    }

    .header-title {
        font-size: 22px;
    }

    .header-tagline {
        font-size: 16px;
    }
}
