/* Menu de Navegação Unificado */
.main-navigation {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-brand .logo {
    max-height: 50px;
    width: auto;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-brand-text strong {
    font-size: 1.5rem;
    color: #075E54;
    font-weight: 800;
}

.nav-brand-text span {
    font-size: 0.85rem;
    color: #25D366;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    background: #F3F4F6;
    color: #075E54;
}

.nav-menu a.active {
    background: #D1FAE5;
    color: #075E54;
    font-weight: 600;
}

.nav-menu a i {
    font-size: 1rem;
}

.nav-cta {
    background: #25D366 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
}

.nav-cta:hover {
    background: #075E54 !important;
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #075E54;
    cursor: pointer;
    padding: 10px;
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    z-index: 1001;
}

.nav-menu li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid #F3F4F6;
}

.nav-dropdown a:last-child {
    border-bottom: none;
}

.nav-dropdown a:hover {
    background: #F9FAFB;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        border-radius: 0;
        padding: 15px 20px;
        justify-content: flex-start;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding-left: 20px;
        background: #F9FAFB;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu li.dropdown-open .nav-dropdown {
        max-height: 500px;
    }

    .nav-menu a.has-dropdown::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .nav-menu li.dropdown-open > a.has-dropdown::after {
        transform: rotate(180deg);
    }

    .nav-cta {
        margin: 10px 20px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-brand-text strong {
        font-size: 1.3rem;
    }

    .nav-brand-text span {
        font-size: 0.75rem;
    }
}

/* Overlay para mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

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

@media (min-width: 969px) {
    .nav-overlay {
        display: none !important;
    }
}
