/* Navbar moderna e elegante */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 60, 53, 0.08);
}

/* Garantir visibilidade dos nav-items */
.navbar-nav {
    display: flex !important;
}

.nav-item {
    display: block !important;
    list-style: none;
}

/* Links da navegação - Exo 2, caixa alta, cor #003c35 */
.nav-link {
    position: relative;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #003c35 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}

/* Sublinhado animado nos links (Underline) */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00c7b1, #8031a7);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link:focus::before,
.nav-link.show::before {
    width: 70%;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.show {
    color: #00c7b1 !important;
}

/* Desktop: adicionar transform apenas em telas grandes */
@media (min-width: 992px) {
    .nav-link:hover,
    .nav-link:focus {
        transform: translateY(-2px);
    }
}

/* Remover seta padrão do Bootstrap para evitar duplicação */
.dropdown-toggle::after {
    display: none !important;
}

/* Indicador visual do dropdown customizado (Seta) */
.indicador-dropdown {
    width: 0.6em;
    height: 0.6em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003c35'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
}

/* Rotação da seta quando aberto */
.nav-link[aria-expanded="true"] .indicador-dropdown,
.show > .nav-link .indicador-dropdown {
    transform: rotate(180deg);
}

/* Mudança de cor da seta no hover */
.nav-link:hover .indicador-dropdown,
.nav-link.show .indicador-dropdown {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300c7b1'%3e%3cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Dropdown menu moderno */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 8px 24px rgba(0, 60, 53, 0.12) !important;
    padding: 0.75rem 0 !important;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #003c35;
    padding: 0.65rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(0, 199, 177, 0.1), rgba(128, 49, 167, 0.1));
    color: #00c7b1;
    padding-left: 2rem;
}

/* Botão CTA moderno com gradiente sutil */
.btn-primary {
    background: linear-gradient(135deg, #00c7b1, #008173) !important;
    border: none !important;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 199, 177, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003c35, #002a26) !important;
    box-shadow: 0 6px 16px rgba(0, 60, 53, 0.35);
    transform: translateY(-2px);
}

/* Hamburguer moderno */
.navbar-toggler {
    border: 2px solid #00c7b1 !important;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 199, 177, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300c7b1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Skip to content - acessibilidade */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
    top: 0;
    padding: 1rem 1.5rem;
    background: #00c7b1;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 199, 177, 0.3);
}

/* Responsivo - ajustes mobile e tablet */
@media (max-width: 991.98px) {
    /* Navbar collapse */
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid rgba(0, 199, 177, 0.2);
    }
    
    /* Links de navegação */
    .nav-link::before {
        display: none;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        transform: translateX(5px);
        background: rgba(0, 199, 177, 0.05);
        border-radius: 8px;
    }
    
    /* Dropdown menu em mobile/tablet */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 199, 177, 0.03) !important;
        margin: 0.25rem 0 0.5rem 1rem !important;
        padding: 0.25rem 0 !important;
    }
    
    .dropdown-item {
        padding: 0.65rem 1rem !important;
        font-size: 0.95rem;
    }
    
    /* Botão CTA em mobile */
    .nav-item:last-child {
        margin-top: 1rem !important;
        padding: 0 1rem;
    }
    
    .nav-item:last-child .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Logo menor */
    .navbar-brand img {
        height: 90px !important;
    }
}

/* Desktop - garantir que nav-items apareçam */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-nav {
        flex-direction: row !important;
    }
    
    /* Hover para mostrar dropdowns em desktop */
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
