.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 104px;
}

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

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

.header-nav {
    display: none;
    margin-left: auto;
}

.header-cta {
    display: none;
    flex-shrink: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.65);
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.header-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav .nav-list a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-nav .nav-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Social icons */
.header-social {
    display: none;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s ease, background 0.2s ease;
}

.header-social a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    color: #ffffff;
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 35, 71, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mobile-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Mobile Menu — sidebar da direita */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    z-index: 101;
    background: var(--color-primary);
    transform: translateX(110%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35);
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-bottom: 2rem;
}

/* Cabeçalho do drawer */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mobile-menu-logo {
    height: 50px;
    width: auto;
    opacity: 0.95;
}

.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Nav links */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 1.5rem;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
}

.mobile-nav-list li a:hover {
    color: #fff;
    padding-left: 1.875rem;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-socials {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    padding: 0 1.5rem;
    margin-top: 2rem;
}

.mobile-menu-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-socials a:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Hamburger → X quando aberto */
.ham-line {
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .ham-line-1 {
    transform: translateY(5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .ham-line-2 {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger[aria-expanded="true"] .ham-line-3 {
    transform: translateY(-5px) rotate(-45deg);
}

@media (min-width: 900px) {
    .hamburger {
        display: none;
    }

    .header-nav {
        display: flex;
    }

    .header-social {
        display: flex;
    }

    .header-cta {
        display: inline-flex;
        flex-shrink: 0;
    }

    /* Orçamento não aparece no nav desktop — coberto pelo CTA button */
    .header-nav .nav-list li:has(> a[href*="orcamento"]) {
        display: none;
    }
}

/* Header sólido nas páginas internas */
.page-interna .site-header {
    position: sticky;
    top: 0;
    background: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
