/* Adições para Menu Hamburguer Responsivo */

/* Botão Hamburguer - oculto por padrão */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #707070;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animação do hamburguer quando ativo */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #267BC7;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: #267BC7;
}

/* Esconde o botão mobile CTA no desktop */
.mobile-cta {
    display: none;
}

/* Responsivo - Tablets e Mobile */
@media (max-width: 968px) {
    /* Ajusta padding do container */
    .container {
        padding: 0 20px;
    }

    /* Mostra o botão hamburguer */
    .hamburger {
        display: flex;
    }

    /* Ajusta o logo */
    .logo img {
        height: 40px;
    }

    /* Esconde o botão "Fale Conosco" desktop */
    .fale-conosco-btn {
        display: none;
    }

    /* Menu mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #F2F2F2;
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

    /* Menu aberto */
    .nav-menu.active {
        right: 0;
    }

    /* Items do menu */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(112, 112, 112, 0.1);
    }

    .nav-menu li a {
        display: block;
        padding: 20px 0;
        font-size: 16px;
        color: #4C566F;
        font-weight: 600;
    }

    /* Remove o efeito de underline do desktop */
    .nav-menu li a::after {
        display: none;
    }

    /* Hover no mobile */
    .nav-menu li a:hover {
        color: #267BC7;
        background: rgba(38, 123, 199, 0.05);
        padding-left: 10px;
    }

    /* Mostra e estiliza o botão mobile CTA */
    .mobile-cta {
        display: block;
        border-bottom: none;
        margin-top: 20px;
    }

    .fale-conosco-mobile {
        display: block;
        padding: 15px 0 !important;
        text-align: center;
        background: #267BC7 !important;
        color: #fff !important;
        border-radius: 25px;
        font-weight: 600;
    }

    .fale-conosco-mobile:hover {
        background: #1E5F9D !important;
        padding-left: 0 !important;
    }

    /* Overlay quando menu está aberto */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        transition: opacity 0.3s ease;
    }

    .menu-overlay.active {
        display: block;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .nav-menu {
        width: 85%;
    }

    .container {
        padding: 0 15px;
    }

    .logo img:first-child {
        height: 35px;
    }

    .logo img:last-child {
        height: 35px;
    }
}