/* -----------------------------------------------------
   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); /* effet verre premium */
    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; /* ne bloque plus les clics */
}

.header-container {
    max-width: 1350px;
    margin: auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO + TEXTE */

/* Logo combiné — format unique */
.header-logo-combined {
    height: 64px;    /* Ajuste ici : 58–76px recommandé */
    width: auto;
    display: block;
    object-fit: contain;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-title {
  font-size: 22px;
  font-weight: 700;
  color: #2b5478; /* TITRE BLEU FONCÉ */
}

.header-tagline {
  font-size: 16px;
  color: #73a94f  ; /* TAGLINE VERTE */
  margin-top: 2px;
}
/* -----------------------------------------------------
   NAV DESKTOP — VERSION PREMIUM
----------------------------------------------------- */

/* Structure UL */
.header-menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Items */
.header-menu li {
    margin: 0;
    padding: 0;
}

/* Liens — version prestige */
.header-menu a {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    color: #1e293b; /* bleu graphite premium */
    text-decoration: none;
    transition: color .25s ease, opacity .25s ease;
    padding: 6px 0;
}

/* Hover pro */
.header-menu a:hover {
    color: #ff7b00;
}

/* Ligne animée "Apple style" */
.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;
}

/* Animation */
.header-menu a:hover::after {
    width: 100%;
    left: 0;
}

/* -----------------------------------------------------
   LIEN ACTIF — page en cours (WordPress ajoute .current-menu-item)
----------------------------------------------------- */
.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: scale(1.05);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 123, 0, 0.35);
}


/* -----------------------------------------------------
   BOUTON BURGER + ANIMATION CROIX
----------------------------------------------------- */
.burger-btn {
    display: none;
    width: 34px;
    height: 34px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10001; /* AU-DESSUS DU MENU */
    background: none;
    border: none;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background: #1d2a3b;
    border-radius: 3px;
    transition: .3s;
}

/* animation croix */
.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 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;
}

/* CTA MOBILE — TOUJOURS VISIBLE */
.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;
    }
}
