
/* ============================================================
   MENU-ORIGINAL.CSS
   Consolidação de todos os estilos de header/navbar/menu
   Fontes: menu.css + header-navigation.css + style.css (nav)
   NÃO mexe em landing-page-full nem about.css
   ============================================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    background: #00133D;
    color: #ffffff;
}


/* ============================================================
   PARTE 1: menu.css
   ============================================================ */
/* ===== HEADER STYLES ===== */
.header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2000;
    width: 100%;
    box-sizing: border-box;
}

.header .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 16px 40px;
    backdrop-filter: blur(10px);
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 60px;
}

/* ===== LOGO ===== */
.logo {
    flex-shrink: 0;
    min-width: 0;
    max-width: 100px;
}

.logo-image {
    height: clamp(11px, 1.1vw, 13px);
    width: auto;
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-highlight {
    color: #ff3366;
}

/* ===== NAVIGATION MENU ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-grow: 1;
    justify-content: center;
    min-width: 0;
    flex-shrink: 1;
    overflow: visible;
    position: relative;
}

.nav-link {
    font-family: 'Montserrat', 'Arial', sans-serif;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.2;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    height: auto;
}

.nav-link:hover {
    color: #ff3366;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.nav-dropdown.active .nav-link i {
    transform: rotate(180deg);
}

/* ===== NAVIGATION DROPDOWN ===== */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 160px;
    width: max-content;
    background: rgba(0, 17, 52, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin-top: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.nav-dropdown-menu.active {
    display: block;
    animation: fadeInDown 0.2s ease-out;
}

.nav-dropdown-item {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: 22px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== LANGUAGE SELECTOR ===== */
.language-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
    flex-shrink: 0;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: rgba(10, 20, 40, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 8px;
    padding: 8px;
    min-width: 180px;
    max-width: 220px;
    z-index: 4000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateX(0);
}

.language-dropdown.active {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-option span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.language-option .flag-icon {
    flex-shrink: 0;
}

.flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* ===== HEADER ACTIONS (Desktop Buttons) ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 12px);
    flex-shrink: 0;
    min-width: 0;
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(9px, 0.9vw, 11px);
    font-weight: 600;
    padding: clamp(7px, 0.7vw, 9px) clamp(10px, 1.2vw, 15px);
    transition: opacity 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login:hover {
    opacity: 0.8;
}

.btn-get-started {
    background: rgba(65, 105, 225, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(11px, 1.1vw, 13px);
    font-weight: 600;
    padding: clamp(8px, 0.8vw, 10px) clamp(16px, 1.8vw, 22px);
    border-radius: clamp(18px, 2.2vw, 24px);
    transition: all 0.3s;
    border: 2px solid rgba(65, 105, 225, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    max-width: none;
    overflow: visible;
    display: inline-block;
}

.btn-get-started:hover {
    background: rgba(65, 105, 225, 0.2);
    border-color: rgba(65, 105, 225, 0.9);
    box-shadow: 0 0 30px rgba(65, 105, 225, 0.4);
    transform: translateY(-2px);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: #5a7dff;
}

/* Ocultar botÃµes mobile no desktop */
.mobile-actions {
    display: none;
}

/* Ocultar seletor de idioma mobile no desktop */
.mobile-language-section {
    display: none;
}

/* ===== RESPONSIVE - TABLET/DESKTOP ===== */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 13px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .header-content {
        padding: 12px 25px;
    }
}

/* ===== AJUSTES 992px ===== */
@media (max-width: 992px) {
    /* Ocultar seletor de idioma dentro do menu mobile */
    .nav-menu .language-selector {
        display: none !important;
    }
    
    /* Mostrar seletor de idioma mobile fora do menu */
    .language-selector-mobile {
        display: flex !important;
        margin-right: 0;
        margin-left: 15px;
        order: 3;
    }
    
    .mobile-menu-toggle {
        order: 2;
    }
    
    .logo {
        order: 1;
        flex: 1;
    }
    
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    body {
        padding-top: 80px;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 34px;
        height: 34px;
        align-items: center;
        justify-content: center;
        border: 2px solid rgba(255, 255, 255, 0.3);
        flex-shrink: 0;
    }
    
    .mobile-menu-toggle i {
        font-size: 13px;
    }
    
    .logo {
        order: 1;
        flex: 0 1 auto;
        text-align: left;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    .header-actions {
        display: none !important;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 20px 30px;
        flex-direction: column;
        gap: 0;
        z-index: 3000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        transform: none;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-link {
        padding: 8px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        text-align: left;
        color: #000000;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        justify-content: flex-start;
        display: flex;
    }
    
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-dropdown .nav-link {
        border-bottom: none;
        justify-content: space-between;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .language-selector {
        display: none !important;
    }
    
    .language-selector-mobile {
        display: none !important;
    }
    
    .mobile-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 12px;
        padding: 20px 0;
        margin-top: 10px;
    }

    .mobile-language-section {
        display: block !important;
        padding: 16px 0 8px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-top: 8px;
        width: 100%;
    }
    
    .mobile-btn-login {
        flex: 0 0 auto;
        min-width: 120px;
        padding: 12px 24px;
        background: transparent;
        border: 2px solid #000000;
        border-radius: 25px;
        color: #000000;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s;
        white-space: nowrap;
    }
    
    .mobile-btn-login:hover {
        background: #000000;
        color: #ffffff;
    }
    
    .mobile-btn-get-started {
        flex: 0 0 auto;
        min-width: 130px;
        padding: 12px 24px;
        background: linear-gradient(135deg, #ff3366 0%, #ff1a4d 100%);
        border: none;
        border-radius: 25px;
        color: #ffffff;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
        white-space: nowrap;
    }
    
    .mobile-btn-get-started:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 51, 102, 0.4);
    }
    
    .header {
        background: transparent;
        backdrop-filter: none;
        border-bottom: none;
        padding: 10px 8px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        width: 100%;
    }
    
    .header-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 25px;
        justify-content: space-between;
        gap: 20px;
        background: #00133D;
        backdrop-filter: blur(10px);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        position: relative;
        min-height: 44px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .logo img {
        max-height: 16px;
        width: auto;
    }
}

/* ===== MOBILE DROPDOWN ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        display: block;
    }
    
    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-dropdown-menu {
        position: static;
        width: calc(100% - 20px);
        margin: 8px 10px;
        margin-left: 10px;
        border-radius: 8px;
        background: rgba(0, 17, 52, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }
    
    .nav-dropdown-menu.active {
        display: block;
    }
    
    .nav-dropdown-item {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 13px;
    }
    
    .nav-dropdown-item:last-child {
        border-bottom: none;
    }
    
    .nav-dropdown-item:hover,
    .nav-dropdown-item:active {
        padding-left: 25px;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .language-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .header-content {
        padding: 15px 20px;
        gap: 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-image {
        height: 20px;
    }
}

/* ===== Desktop - ocultar elementos mobile (acima de 992px) ===== */
@media (min-width: 993px) {
    .language-selector-mobile {
        display: none !important;
    }
    
    .mobile-user-nav-dropdown {
        display: none !important;
    }
    
    .mobile-actions {
        display: none !important;
    }
}


/* MENU COM ICONE DE AVATAR */

/* ===== HEADER USER AVATAR STYLES (quando logado) ===== */
.header-actions .ticket-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-actions .ticket-counter:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header-actions .ticket-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header-actions .ticket-count {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.user-avatar-dropdown {
    position: relative;
}

.header-actions .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: visible;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.header-actions .user-avatar > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.header-actions .user-avatar .card-icon {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #7B3FF2;
    border: 2px solid #0A1628;
    border-radius: 50%;
    padding: 5px;
    z-index: 3;
    transition: all 0.3s ease;
}

.header-actions .user-avatar .card-icon:hover {
    background: #8E52FF;
    transform: scale(1.1);
}

.header-actions .user-avatar .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-actions .user-avatar:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* User Avatar Dropdown Menu */
.user-avatar-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 280px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(10, 22, 40, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.user-avatar-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-avatar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(123, 63, 242, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-header .menu-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(123, 63, 242, 0.5);
}

.menu-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.menu-user-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.user-avatar-menu-items {
    padding: 10px 0;
}

.user-avatar-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-avatar-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.user-avatar-menu-item i {
    width: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.user-avatar-menu-item:hover i {
    color: #7B3FF2;
}

.user-avatar-menu-items .menu-divider {
    margin: 8px 20px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-menu-item.logout-item {
    color: #ff6b6b;
}

.user-avatar-menu-item.logout-item:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8585;
}

.user-avatar-menu-item.logout-item i {
    color: #ff6b6b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-actions .ticket-counter {
        padding: 6px 12px;
    }
    
    .header-actions .ticket-icon-img {
        width: 20px;
        height: 20px;
    }
    
    .header-actions .ticket-count {
        font-size: 14px;
    }
    
    .header-actions .user-avatar {
        width: 42px;
        height: 42px;
    }
    
    .header-actions .user-avatar .card-icon {
        width: 24px;
        height: 24px;
        bottom: -6px;
        right: -6px;
    }
    
    .user-avatar-menu {
        width: 260px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .header-actions .ticket-counter {
        display: none;
    }
    
    .header-actions .user-avatar {
        width: 38px;
        height: 38px;
    }
    
    .header-actions .user-avatar .card-icon {
        width: 20px;
        height: 20px;
        bottom: -4px;
        right: -4px;
    }
}




/* ============================================================
   PARTE 2: header-navigation.css
   ============================================================ */
/* @author GustavoChaconDeveloper - github.com/GustavoChaconDeveloper */
/* ===== HEADER & NAVIGATION STYLES ===== */
/* Arquivo centralizado para estilos do header em todas as pÃ¡ginas */

/* ===== HEADER BASE STYLES ===== */

.header {
    background: transparent;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ===== NAVIGATION MENU ===== */

/* ===== GT-LINK dentro do language-dropdown ===== */

/* Posicionamento e estilo do dropdown desktop */
.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: rgba(10, 20, 40, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    margin-top: 8px;
    padding: 8px;
    min-width: 180px;
    max-width: 220px;
    z-index: 4000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.language-dropdown.active {
    display: block;
}

/* Posicionar o pai como Ã¢ncora do dropdown */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ForÃ§ar o dropdown a empilhar os links verticalmente */
#languageDropdown,
#languageDropdownMobile {
    display: none;
    flex-direction: column;
}

#languageDropdown.active,
#languageDropdownMobile.active {
    display: flex;
}

/* Cada link gerado pelo [gt-link] */
/* a.glink = classe adicionada pelo JS do GTranslate (carrega com defer) */
/* a[data-gt-lang] = atributo presente desde o HTML inicial (sem FOUC) */
#languageDropdown a.glink,
#languageDropdown a[data-gt-lang],
#languageDropdownMobile a.glink,
#languageDropdownMobile a[data-gt-lang] {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

#languageDropdown a.glink:hover,
#languageDropdown a[data-gt-lang]:hover,
#languageDropdownMobile a.glink:hover,
#languageDropdownMobile a[data-gt-lang]:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Idioma ativo */
#languageDropdown a.glink.gt-current-lang,
#languageDropdown a[data-gt-lang].gt-current-lang,
#languageDropdownMobile a.glink.gt-current-lang,
#languageDropdownMobile a[data-gt-lang].gt-current-lang {
    background: rgba(65, 105, 225, 0.25) !important;
    font-weight: 700;
}

/* Bandeira dentro do link */
#languageDropdown a.glink img,
#languageDropdown a[data-gt-lang] img,
#languageDropdownMobile a.glink img,
#languageDropdownMobile a[data-gt-lang] img {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Esconder elementos extras injetados pelo GTranslate */
#languageDropdown .gt_selector,
#languageDropdown #google_translate_element2,
#languageDropdownMobile .gt_selector,
#languageDropdownMobile #google_translate_element2,
#languageDropdownNav .gt_selector,
#languageDropdownNav #google_translate_element2,
li.menu-item-gtranslate {
    display: none !important;
}

/* ===== MOBILE LANGUAGE SECTION (abaixo dos botÃµes no menu mobile) ===== */
.mobile-language-section {
    display: none;
    padding: 16px 0 8px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    position: relative;
    width: 100%;
}

.mobile-language-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 0;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: 100%;
    transition: color 0.2s;
}

.mobile-language-trigger:hover {
    color: rgba(65, 105, 225, 0.9);
}

.mobile-language-trigger .flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-language-trigger #navLangChevron {
    font-size: 11px;
    margin-left: auto;
    transition: transform 0.3s;
}

.mobile-language-trigger.open #navLangChevron {
    transform: rotate(180deg);
}

.mobile-language-dropdown {
    display: none;
    flex-direction: column;
    background: rgba(0, 17, 52, 0.92);
    border-radius: 10px;
    padding: 6px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.mobile-language-dropdown.active {
    display: flex;
}

.mobile-language-dropdown a.glink,
.mobile-language-dropdown a[data-gt-lang] {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.mobile-language-dropdown a.glink:hover,
.mobile-language-dropdown a[data-gt-lang]:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mobile-language-dropdown a.glink.gt-current-lang,
.mobile-language-dropdown a[data-gt-lang].gt-current-lang {
    background: rgba(65, 105, 225, 0.25) !important;
    font-weight: 700;
}

.mobile-language-dropdown a.glink img,
.mobile-language-dropdown a[data-gt-lang] img {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .mobile-language-section {
        display: block !important;
    }
}

@media (min-width: 993px) {
    .mobile-language-section {
        display: none !important;
    }
}


/* Mobile User Dropdown - Integrated with nav dropdowns */
.mobile-user-nav-dropdown {
    display: none !important;
}

@media (max-width: 992px) {
    .user-profile-dropdown {
        display: none !important;
    }
    
    .mobile-user-nav-dropdown {
        display: block !important;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        padding: 0;
        margin: 15px 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }
    
    .mobile-user-nav-dropdown .nav-link {
        color: #1a1a1a;
        font-weight: 600;
        display: flex;
        align-items: center;
        border-bottom: none;
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .mobile-user-nav-dropdown .nav-link:hover {
        color: #4169E1;
        padding-left: 16px;
        background: transparent;
    }
    
    .mobile-user-nav-dropdown .nav-link i.fa-user-circle {
        font-size: 20px;
        color: #4169E1;
    }
    
    .mobile-user-nav-dropdown .nav-link i.fa-chevron-down {
        color: #666;
        font-size: 10px;
        margin-left: auto;
    }
    
    .mobile-user-nav-dropdown .nav-dropdown-menu {
        background: #fafafa;
        border-radius: 0 0 8px 8px;
        margin-top: 0;
        padding: 8px 0;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .mobile-user-nav-dropdown .nav-dropdown-item {
        color: #333;
        font-weight: 500;
        padding: 12px 16px;
        border-bottom: none;
        font-size: 14px;
    }
    
    .mobile-user-nav-dropdown .nav-dropdown-item:hover {
        background: rgba(65, 105, 225, 0.05);
        color: #4169E1;
        padding-left: 22px;
    }
}



/* ============================================================
   MOBILE OVERRIDES FINAIS
   Ficam no fim do arquivo para sobrescrever qualquer conflito
   entre as PARTES 1, 2 e 3 acima.
   - PARTE 2 tem .header { position: relative } → precisa fixed
   - PARTE 3 tem .nav-link { color: #ffffff } → precisa #000000
   ============================================================ */

@media (max-width: 992px) {

    /* Header fixo no mobile */
    .header {
        background: transparent !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        padding: 10px 8px !important;
        position: fixed !important;
        top: var(--banner-h, 0px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 2000 !important;
        width: 100% !important;
    }

    .header-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 25px !important;
        justify-content: space-between !important;
        gap: 20px !important;
        background: #00133D !important;
        backdrop-filter: blur(10px) !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
        position: relative !important;
        min-height: 44px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Ocultar botões de ação desktop */
    .header-actions {
        display: none !important;
    }

    /* Hamburguer visível */
    .mobile-menu-toggle {
        display: flex !important;
        order: 3 !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        width: 34px !important;
        height: 34px !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        flex-shrink: 0 !important;
        color: #ffffff !important;
        font-size: 13px !important;
        cursor: pointer !important;
    }

    /* Logo ordem */
    .logo {
        order: 1 !important;
        flex: 0 1 auto !important;
    }

    .logo img,
    .logo-image {
        max-height: 16px !important;
        width: auto !important;
    }

    /* Painel do menu aberto */
    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: calc(var(--banner-h, 140px) + -60px) !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        padding: 20px 30px !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important;
        z-index: 3000 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        max-height: calc(100svh - var(--banner-h, 0px) - 80px) !important;
        height: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        transform: none !important;
        /* Espaço extra no fim para safe-area (iOS home indicator) */
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .nav-menu.active {
        display: flex !important;
    }

    /* Links do menu — texto escuro sobre fundo branco */
    .nav-menu .nav-link,
    .nav-menu a.nav-link {
        color: #000000 !important;
        padding: 13px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        width: 100% !important;
        text-align: left !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        letter-spacing: 1px !important;
        min-height: 48px !important;
    }

    .nav-dropdown {
        width: 100% !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }

    .nav-dropdown .nav-link {
        border-bottom: none !important;
    }

    /* Botões mobile centralizados */
    .mobile-actions {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 20px 0 !important;
        margin-top: 10px !important;
    }

    /* Language dropdown mobile — expande livremente, scroll feito pelo nav-menu pai */
    .mobile-language-dropdown {
        background: rgba(0, 17, 52, 0.06) !important;
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .mobile-language-dropdown a.glink,
    .mobile-language-dropdown a[data-gt-lang] {
        color: #000000 !important;
        min-height: 48px !important;
        padding: 13px 14px !important;
    }

    .mobile-language-dropdown a.glink:hover,
    .mobile-language-dropdown a[data-gt-lang]:hover {
        background: rgba(0, 0, 0, 0.06) !important;
    }

    .mobile-language-dropdown a.glink.gt-current-lang,
    .mobile-language-dropdown a[data-gt-lang].gt-current-lang {
        background: rgba(65, 105, 225, 0.12) !important;
        color: #2b4cbf !important;
    }

    body {
        padding-top: calc(var(--banner-h, 0px) + 80px) !important;
    }
}

/* Desktop — garantir que elementos exclusivos do mobile ficam ocultos */
@media (min-width: 993px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-actions {
        display: none !important;
    }

    .mobile-language-section {
        display: none !important;
    }

    .language-selector-mobile {
        display: none !important;
    }

    /* Grid de 3 colunas simétricas: logo | nav (centro real) | actions */
    .header-content {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .logo {
        justify-self: start !important;
        flex: unset !important;
    }

    .nav-menu {
        display: flex !important;
        justify-self: center !important;
        flex-grow: unset !important;
        transform: none !important;
        gap: 17px !important;
    }

    .header-actions {
        display: flex !important;
        justify-self: end !important;
    }

    /* Header fixo no topo ao rolar */
    .header {
        position: sticky !important;
        top: 0 !important;
        z-index: 2000 !important;
        transition: background 0.3s ease, box-shadow 0.3s ease !important;
        width: 100% !important;
    }

    /* Efeito visual ao rolar a pagina */
    .header.scrolled .header-content {
        background: rgba(0, 19, 61, 0.97) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
}

/* ===== TOP BANNER ===== */
.top-banner {
    background: linear-gradient(90deg, #001845 0%, #003399 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}

.top-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 0 20px;
}

.banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    font-style: italic;
}

.banner-countdown {
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 4px;
    min-width: 55px;
    height: 33px;
    background: rgba(23, 23, 23, 0.2);
    border-radius: 8px;
}

.countdown-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    line-height: 100%;
    text-align: center;
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    color: #F2F2F2;
    line-height: 17px;
    text-align: center;
}

.countdown-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
}

.countdown-separator .dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

.banner-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
    .top-banner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2001;
    }
}

@media (max-width: 768px) {
    .top-banner-content {
        flex-direction: column;
        gap: 12px;
    }

    .banner-title {
        font-size: 14px;
    }

    .countdown-value {
        font-size: 16px;
    }

    .countdown-label {
        font-size: 9px;
    }
}

/* Email no modal de verificação: fonte menor + quebra de linha */
.verification-phone.email-mode {
    font-size: 15px;
    letter-spacing: 0;
    word-break: break-all;
    overflow-wrap: break-word;
}


