/* Site header shared by all public pages - templates/front/_site_header.html.twig */
.site-header { --sh-navy: #0f2035; --sh-red: #e5202e; --sh-red-dark: #c8141f; --sh-text: #16202e; position: relative; z-index: 50; background: var(--sh-navy); color: #fff; font-family: "Poppins", Arial, sans-serif; line-height: 1.4; }
.site-header, .site-header * { box-sizing: border-box; transition: none; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.site-header a { text-decoration: none; }
.site-header__inner { display: flex; align-items: center; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 18px 24px; }
.site-header__logo { flex: none; }
.site-header .site-header__logo img { display: block; width: auto; height: 48px; }
.site-header__panel { display: flex; flex: 1; align-items: center; gap: 20px; }

/* Menu */
.site-header__nav { margin-left: auto; }
.site-header__nav ul { margin: 0; padding: 0; list-style: none; }
.site-header__nav > ul { display: flex; align-items: center; gap: 2px; }
.site-header__nav > ul > li > a,
.site-header__nav > ul > li > button { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.site-header__nav > ul > li > a:hover,
.site-header__nav > ul > li > button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-header__nav > ul > li > .is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sh-red); }
.site-header__nav .fa-chevron-down { font-size: 10px; transition: transform .15s; }
.site-header__dropdown.is-open .fa-chevron-down { transform: rotate(180deg); }

/* "Nos services" sub-menu */
.site-header__dropdown { position: relative; }
.site-header__submenu { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(11, 24, 41, .28); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.site-header__dropdown:hover .site-header__submenu,
.site-header__dropdown:focus-within .site-header__submenu,
.site-header__dropdown.is-open .site-header__submenu { opacity: 1; visibility: visible; transform: none; }
.site-header .site-header__submenu a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--sh-text); font-size: 14px; font-weight: 500; transition: background-color .15s, color .15s; }
.site-header .site-header__submenu a:hover,
.site-header .site-header__submenu a.is-active { background: var(--sh-red-soft, #fdebed); color: var(--sh-red); }

/* Buttons */
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 2px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.site-header__btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff !important; }
.site-header__btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.site-header__btn--primary { background: var(--sh-red); color: #fff !important; }
.site-header__btn--primary:hover { background: var(--sh-red-dark); }
.site-header__btn .fa-arrow-right { font-size: 12px; }
.site-header__cta { display: none; }
.site-header__contact { display: none; }

/* Burger */
.site-header__toggle { display: none; }

@media (min-width: 1400px) {
    .site-header__cta { display: inline-flex; }
}

@media (max-width: 1199px) {
    .site-header__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; padding: 11px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .1); cursor: pointer; }
    .site-header__toggle span { display: block; height: 2px; border-radius: 2px; background: #fff; }
    .site-header.is-open { background: var(--sh-navy); }
    .site-header__panel { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 16px; max-height: calc(100vh - 84px); overflow-y: auto; padding: 4px 24px 24px; background: var(--sh-navy); box-shadow: 0 18px 30px rgba(0, 0, 0, .3); }
    .site-header.is-open .site-header__panel { display: flex; }
    .site-header__nav { margin-left: 0; }
    .site-header__nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .site-header__nav > ul > li > a,
    .site-header__nav > ul > li > button { justify-content: space-between; width: 100%; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; font-size: 15px; }
    .site-header__nav > ul > li > a:hover,
    .site-header__nav > ul > li > button:hover { background: none; }
    .site-header__nav > ul > li > .is-active { color: var(--sh-red); }
    .site-header__nav > ul > li > .is-active::after { display: none; }
    .site-header__submenu { position: static; display: none; min-width: 0; padding: 4px 0 8px 12px; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .site-header__dropdown.is-open .site-header__submenu { display: block; }
    .site-header .site-header__submenu a { color: #dde3eb; }
    .site-header .site-header__submenu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .site-header .site-header__submenu a.is-active { background: none; color: var(--sh-red); }
    .site-header__actions { flex-direction: column; align-items: stretch; }
    .site-header__cta { display: inline-flex; }
    .site-header__contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; }
    .site-header .site-header__contact a { color: #fff; }
    .site-header__contact .fa-whatsapp { color: #25d366; }
}

@media (max-width: 767px) {
    .site-header__inner { padding: 14px 16px; }
    .site-header .site-header__logo img { height: 40px; }
    .site-header__panel { padding: 4px 16px 20px; }
}
