/* HEADER STYLES */
header {
    width: 100%;
    padding: 12px 8%;
    background-color: #0D1320;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    height: 70px;
    display: flex;
    align-items: center;
}

/* BARRA DE LETREIRO */
.frase-animada-container {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: #0D1320;
    padding: 10px 0;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
}

/* AJUSTE DO CORPO */
body {
    padding-top: 110px;
    background-color: #0D1320;
}

/* CONTE���DO PRINCIPAL */
#content {
    position: relative;
    z-index: 1;
}

/* NAVBAR */
#navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navlogo img {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

#navlogo img:hover {
    transform: scale(1.03);
}

#nav-list {
    display: flex;
    list-style: none;
    gap: 48px;
    margin: 0;
    padding: 0;
}

.nav-item a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item a:hover {
    color: #ffbdbd;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #dc2626;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

/* BOT���O CONTATE-NOS PRETO */
.contate-nos-btn.desktop-only {
    margin-left: 32px;
    min-width: 140px;
    font-size: 1rem;
    padding: 10px 18px;
    background-color: #000000; /* Alterado para preto */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contate-nos-btn.desktop-only:hover {
    background-color: #333333; /* Tom mais claro no hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

#mobile_btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#mobile_btn:hover {
    transform: scale(1.1);
}

#mobile_menu {
    display: none;
}

/* MOBILE STYLES */
@media screen and (max-width: 1170px) {
    header {
        padding: 12px 20px;
        height: 60px;
    }
    
    .frase-animada-container {
        top: 60px;
        padding: 8px 0;
    }
    
    body {
        padding-top: 100px;
    }
    
    #navbar {
        justify-content: space-between;
    }
    
    #navlogo img {
        width: 140px;
    }
    
    #nav-list, 
    .contate-nos-btn.desktop-only {
        display: none;
    }
    
    #mobile_btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    
    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: #0D1320;
        z-index: 1000;
        overflow-y: auto;
    }
    
    #mobile_nav_list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        list-style: none;
        padding: 20px 0;
        margin: 0;
    }
    
    #mobile_nav_list .nav-item a {
        color: #ffffff;
        font-size: 1.4rem;
        font-weight: 600;
        text-decoration: none;
        padding: 10px 20px;
        transition: all 0.3s ease;
    }
    
    #mobile_nav_list .nav-item a:hover {
        color: #dc2626;
    }
    
    /* BOT���O MOBILE PRETO */
    #mobile_menu .contate-nos-btn {
        display: block;
        background: #000000; /* Alterado para preto */
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        border: none;
        border-radius: 8px;
        padding: 12px 32px;
        margin: 40px auto 0;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    #mobile_menu .contate-nos-btn:hover {
        background: #333333; /* Tom mais claro no hover */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
}

@media screen and (max-width: 600px) {
    header {
        height: 50px;
    }
    
    .frase-animada-container {
        top: 50px;
        padding: 6px 0;
        font-size: 0.9em;
    }
    
    body {
        padding-top: 80px;
    }
    
    #navlogo img {
        width: 120px;
    }
    
    #mobile_menu.active {
        top: 80px;
        height: calc(100vh - 80px);
    }
    
    #mobile_nav_list .nav-item a {
        font-size: 1.2rem;
    }
    
    #mobile_menu .contate-nos-btn {
        font-size: 1rem;
        padding: 10px 24px;
        margin-top: 30px;
    }
}

/* PREVEN������O DE SCROLL HORIZONTAL */
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}