/* Avoar Top Header - Menu horizontal no topo para index-10 e index-11 */

/* ========================================
   Header Superior (Desktop Only)
   ======================================== */

.avoar-top-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    background: #000000;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Desktop (991px+) - Mostrar top header e esconder lateral */
@media only screen and (min-width: 992px) {
    .avoar-top-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
    }

    /* Conteúdo abaixo do header fixo (80px) */
    .avoar-top-header ~ .scroll-container {
        margin-top: 0;
        padding-top: 80px;
    }

    /* Páginas com full-section: primeiro bloco já desce pelo padding do scroll-container */
    .avoar-top-header ~ .scroll-container .full-section {
        margin-top: 0;
    }

    /* Logo à esquerda */
    .avoar-top-header .header-logo {
        display: flex;
        align-items: center;
        height: 100%;
        flex-shrink: 0;
    }

    .avoar-top-header .header-logo img {
        height: 65px;
        width: auto;
        max-width: none;
    }

    /* Menu items no centro */
    .avoar-top-header .header-nav {
        display: flex;
        align-items: center;
        gap: 35px;
        flex: 1;
        justify-content: center;
        margin: 0 40px;
    }

    .avoar-top-header .header-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        padding: 8px 12px;
        border-bottom: 2px solid transparent;
    }

    .avoar-top-header .header-nav a:hover,
    .avoar-top-header .header-nav a.active {
        color: #ff5c00;
        border-bottom-color: #ff5c00;
    }

    /* Redes sociais e Login à direita */
    .avoar-top-header .header-login {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-shrink: 0;
    }

    /* Ícones das redes sociais */
    .avoar-top-header .header-social {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .avoar-top-header .header-social a {
        color: #ffffff;
        font-size: 18px;
        text-decoration: none;
        transition: all 0.3s ease;
        opacity: 0.9;
    }

    .avoar-top-header .header-social a:hover {
        color: #ff5c00;
        opacity: 1;
        transform: translateY(-2px);
    }

    /* Botão Login - preenchimento laranja */
    .avoar-top-header .header-login .btn-login {
        display: inline-block;
        background: linear-gradient(135deg, #ff5c00 0%, #fb923c 100%);
        color: white;
        text-decoration: none;
        padding: 12px 28px;
        border-radius: 4px;
        border: none;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 92, 0, 0.3);
    }

    /* Esconder menu lateral no desktop */
    .main-header-bar {
        display: none !important;
    }

    /* Remover padding-left do conteúdo no desktop */
    .main-content-container {
        padding-left: 0 !important;
    }

    /* Primeira full-section: espaço já vem do padding-top do scroll-container */
    .avoar-top-header ~ .scroll-container .full-section + .full-section {
        margin-top: 0;
    }
}

/* ========================================
   Mobile (até 991px) - Manter menu lateral
   ======================================== */

@media only screen and (max-width: 991px) {
    .avoar-top-header {
        display: none !important;
    }

    /* Manter o menu lateral visível */
    .main-header-bar {
        display: block !important;
    }

    .full-section {
        margin-top: 0;
    }
}

/* ========================================
   Responsividade - Tablet (768px - 991px)
   ======================================== */

@media only screen and (max-width: 991px) and (min-width: 768px) {
    /* Mantém menu lateral */
    .avoar-top-header {
        display: none !important;
    }
}

/* ========================================
   Responsividade - Small Mobile (até 599px)
   ======================================== */

@media only screen and (max-width: 599px) {
    .avoar-top-header {
        display: none !important;
    }

    .main-header-bar {
        display: block !important;
    }
}

/* ========================================
   Animações
   ======================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avoar-top-header {
    animation: slideDown 0.5s ease-out;
}
