header {
    background-color: #ffffff;
    background-image: url('/assets/img/header/Head-banner.svg'); 
    background-position: right center; 
    background-repeat: no-repeat;
    background-size: auto 100%;
    
    box-shadow: 0 2px 15px rgba(0,0,0, 0.50);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
 
.logo img {
    height: 55px;  
    width: auto;
    display: block;  
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0px; 
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
    padding: 0 10px;
    left: 100px;
}

.nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4); 
}

.nav-menu li:nth-last-child(2)::after {
    display: none;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
    border-radius: 2px;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #f0f0f0;
}

.btn-destaque {
    background-color: #ffffff;
    color: var(--cor-secundaria) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    will-change: transform, box-shadow;
}

.btn-destaque:hover {
    background-color: #f4f4f4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: var(--cor-primaria) !important;
}

.btn-destaque:hover::before {
    width: 0 !important;
}

/* === CONFIGURAÇÃO DO MENU MOBILE (BASE) === */
.mobile-menu-icon {
    display: none;  
    font-size: 28px;
    cursor: pointer;
    color: var(--cor-secundaria); 
}

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

/* === DROPDOWN  (FERRAMENTAS) === */
.dropdown-item {
    position: relative;
    cursor: pointer;
    align-items: center;
    transform: translateY(2px);
}

.dropdown-item .nav-link {
    display: inline-flex;
    align-items: center;
    
}
.seta-dropdown {
    font-size: 10px;
    margin-left: 6px;
    opacity: 0.7;
    transition: transform 0.3s;
}

.dropdown-item:hover .seta-dropdown {
    transform: rotate(180deg); 
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px); 
    
    background-color: #ffffff;
    min-width: 280px;  
    padding: 10px;
    border-radius: 12px;
    
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-top: 4px solid var(--cor-primaria);  
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    
    list-style: none;
    z-index: 1001; 
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(15px); 
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--cor-primaria);
}

.dropdown-menu li {
    padding: 0 !important;
    left: 0 !important;
    width: 100%;
    margin: 0;
}

.dropdown-menu li::after { display: none; }

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background-color: #f4f9f4; 
}

.menu-icon-box {
    width: 40px;
    height: 40px;
    background-color: #e8f5e9; 
    color: var(--cor-secundaria);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
}

.menu-icon-box img {
    width: 24px;
    height: auto;
}

.dropdown-menu a:hover .menu-icon-box {
    background-color: var(--cor-primaria);
    color: white;
}

.menu-text {
    display: flex;
    flex-direction: column;
}

.menu-text span {
    color: #333;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
}

.menu-text small {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* === BOTÃO DE ENGRENAGEM EXPANSIVA === */
.btn-engrenagem {
    display: flex;
    align-items: center;
    padding: 8px; 
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-engrenagem .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 18px;
    transition: transform 0.6s ease;
}

.texto-expandivel, 
.seta-expandivel {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 15px;
}

.dropdown-item:hover .btn-engrenagem {
    background-color: white;
    color: var(--cor-secundaria);
    border-color: white;
    padding-right: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.dropdown-item:hover .icon-wrapper {
    transform: rotate(180deg);
}

.dropdown-item:hover .texto-expandivel {
    max-width: 100px; 
    opacity: 1;
    margin-left: 10px; 
}

.dropdown-item:hover .seta-expandivel {
    max-width: 20px;
    opacity: 1;
    margin-left: 5px;
}

.dropdown-menu {
    margin-top: 15px; 
}