/* Estilos do Cabeçalho (Header) */
.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.2s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Efeito de Scroll do Cabeçalho */
.header-wrapper.header-hidden {
    transform: translateY(-100%);
}

.header-wrapper.header-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.header__logo-link {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header__logo {
    width: 250px;
    aspect-ratio: 5/1;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header__logo-link:hover .header__logo {
    transform: scale(1.05);
}

.container-header {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Estilos da Navegação (Menu) */
.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    position: relative;
}

.nav__link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.nav__text {
    position: relative;
    z-index: 1;
}

.nav__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav__link:hover .nav__line {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link:hover {
    color: var(--primary-color);
}

/* Estilos do Botão de Orçamento */
.btn-orcamento {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.btn-orcamento:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-orcamento:hover .btn-shine {
    left: 100%;
}

/* Estilos do Botão do Menu Mobile */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2;
}

.mobile-menu__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Estado Ativo do Menu Mobile */
.mobile-menu.active .mobile-menu__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active .mobile-menu__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .mobile-menu__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Estilos da Navegação Mobile */
.nav--active .nav__list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Botão de Orçamento Desktop */
.btn-orcamento--desktop {
    display: block;
}

/* Botão de Orçamento Mobile */
.btn-orcamento--mobile {
    display: none;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease-in-out;
        text-align: center;
        margin-left: 0;
    }

    .nav.active {
        clip-path: circle(150% at top right);
    }

    .nav__list {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .btn-orcamento--desktop {
        display: none;
    }

    .btn-orcamento--mobile {
        display: inline-block;
        width: 100%;
        text-align: center;
        margin: 1rem 0;
    }

    .mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .section__title {
        font-size: 2rem;
    }
}