body {
    background-color: white;
    margin: 0;
    padding-top: 0;
}

header {
    background-color: #D71920;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    min-height: 5rem;
    padding: 0 20px;
    max-height: 5rem;
    position: relative;
    z-index: 1;
    /* Garante que a navegação fique acima da imagem */
}

.container-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.container-nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.container-nav-right {

    justify-content: flex-end;
}

.logo-sesi img,
.logo-senai img {
    max-height: 50px;
    margin-left: 0;
    margin-top: 0;
}

header img {
    max-height: 50px;
}

.vertical-line {
    width: 2px;
    height: 50px;
    background-color: rgb(255, 255, 255);

}

nav {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    z-index: 2;
    margin-top: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
}

.image-home img {
    width: 100%;
    margin: 0;
    padding: 0;
}

.divider {
    border: 0;
    height: 4px;
    width: 450px;
    background: #9A1915;
    margin: 40px 0;
    border-radius: 10px;
    display: flex;
}

.divider_section{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.barra-opcoes {
    background-color: #ffffff;
    padding: 10px;
    display: flex;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    align-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.barra-opcoes a {
    padding: 15px 25px;
    background-color: #d9d9d9;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 150px;
    max-width: 150px;
    text-align: center;
}

.barra-opcoes a:hover {
    background-color: #a11214;
    color: white;
}

footer {
    background-color: #a12720;
    padding: 0;
    margin: 0;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;

    .social-media-container {
        background-color: #D71920;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: -5px;
    }

    
    .social-media {
        display: flex;
        justify-content: center;
        gap: 20px;
        background-color: #D71920;
        padding: 10px;
        border-radius: 5px;
        width: calc(100% + 20px);
        margin: 0 -10px;
        box-sizing: border-box;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .addresses {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px 0;
    }

    .address {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        max-width: 300px;
        text-align: justify;
        text-align-last: center;
        padding: 10px;
    }

    .divider {
        width: 2px;
        height: 60px;
        background-color: white;
        margin-left: 10px;
        margin-right: 10px;
        border: none;
        align-items: center;
    }

    h3 {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    p {
        font-size: 14px;
    }

    .red-bar {
        height: 5px;
        background-color: #D71920;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

.container-nav-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 85%;
    gap: 3rem;

    
}

.container-nav-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 15%;
}

.container-header-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 30%;
}

.container-header-right {
    display: flex;
    width: 70%;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.banner-site{
    position: relative;
    height: 40rem;
    width: 100%;
    background-image: linear-gradient(to Left, rgba(0, 0, 0, 0.848), rgba(0, 0, 0, 0.634)), url('../img/img\ header.png');
    background-size:cover;
    background-position: bottom center;
    display: flex; 
    align-items: center;
    justify-content: flex-start; 
    filter: brightness(200%);
}

.banner-site p{
    flex-direction: column;
    font-size: 3rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 15px;  
    margin-left: 80px; 
}
.menu-icon {
    font-size: 28px;
    cursor: pointer;
    color: white;
    max-width: 250px;
    display: block; 
    margin-left: 10px;
}

.menu-items {
    background-color: #D71920;
    color: white;
    width: 250px;
    position: absolute; 
    top: 100%; 
    right: 0; 
    display: none; 
    flex-direction: column;
    margin-top: 0; 
    z-index: 10; /* Para garantir que o menu fique acima de outros elementos */
}

.menu-items.active {
    display: flex; 
}

.menu-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items ul li {
    padding: 10px;
    border-bottom: 1px solid #fff;
}

.menu-items ul li a {
    color: white;
    text-decoration: none;
}

.menu-items ul li a:hover {
    background-color: #cc0000;
}


.dropdown {
    position: relative;
}

.submenu {
    display: none; 
    background-color: #D71920;
    padding-left: 20px;
    margin-top: 5px;
    position: absolute;
}

.dropdown.active .submenu {
    display: block;
}

.dropdown:hover .submenu {
    display: block; 
}

.submenu li {
    border-bottom: 1px solid white;
}

.submenu li a {
    padding: 10px;
    text-decoration: none;
    display: block;
    color: white;
}

.submenu li a:hover {
    background-color: #cc0000;
}

.botao-vermelho {
    display: flex;
    align-items: center;
    background-color: #D71920;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 3rem;
    height: 3rem;
    border-radius: 30%;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin: 2rem;
}

  /* Ajuste da imagem de seta */
.botao-vermelho img {
    width: 20px;
    height: 20px;
}

.botao-vermelho:hover {
    background-color: #a11214;
}

.div-button-scroll{
    display : flex;
    justify-content: flex-end
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 490px) {
    nav a {
        display: none; 
    }

    .menu-icon {
        display: block; 
        margin-left: auto; 
        margin-right: 10px; 
        position: relative; 
        z-index: 10; 
    }

    nav {
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
    }

    header {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        height: auto; 
        padding: 30px; 
    }

    .container-logos {
        display: flex; 
        flex-direction: column; 
        gap: 0.5rem; 
        align-items: center; 
    }

    .logo-sesi img,
    .logo-senai img {
        max-height: 30px; 
    }

    .menu-items {
        display: none; 
        position: absolute; 
        top: 90%; 
        right: 0; 
        width: 100%; 
        background-color: #D71920; 
        margin-top: 5px; 
        padding: 10px 0; 
        z-index: 5; 
    }

    .menu-items.active {
        display: flex; 
        flex-direction: column; 
    }

    .menu-items ul {
        list-style: none; 
        padding-left: 0; 
        margin: 0; 
    }

    .menu-items ul li {
        text-align: left; 
        padding: 10px; 
        border-bottom: 1px solid white; 
    }

    .menu-items ul li a {
        color: white; 
        text-decoration: none; 
        display: block; 
        padding: 10px; 
        font-weight: bold; 
    }

    .menu-items ul li a:hover {
        background-color: #cc0000; 
    }

    .submenu {
        display: none; 
        position: relative; 
        padding-left: 0; 
        margin: 0; 
    }

    .dropdown:hover .submenu {
        display: block; 
    }

    .submenu li {
        text-align: left; 
        padding: 5px; 
    }

    .banner-text {
        display: none;
    }

    .vertical-line{
        display: none;
    }
}

@media (min-width: 491px) and (max-width: 881px) {
    nav a {
        display: none; 
    }

    .menu-icon {
        display: block; 
        margin-left: 10px; 
        position: relative; 
        z-index: 10; 
    }

    nav {
        display: flex; 
        flex-direction: row; 
    }

    header {
        display: flex; 
        align-items: center; 
        height: 7rem; 
        padding: 30px; 
    }

    .container-logos {
        display: flex; 
        flex-direction: row; /* Mantenha a direção como linha */
        gap: 0.5rem; 
        align-items: center; 
    }

    .menu-items {
        display: none; 
        position: absolute; /* Posição absoluta para aparecer abaixo do ícone */
        top: 90%; 
        right: 0; /* Alinha à esquerda do ícone */
        width: 50%; 
        background-color: #D71920; 
        margin-top: 5px; 
        padding: 10px 0; 
        z-index: 5; 
    }

    .menu-items.active {
        display: flex; 
        flex-direction: column; 
    }

    .menu-items ul {
        list-style: none; 
        padding-left: 0; 
        margin: 0; 
    }

    .menu-items ul li {
        text-align: left; 
        padding: 10px; 
        border-bottom: 1px solid white; 
    }

    .menu-items ul li a {
        color: white; 
        text-decoration: none; 
        display: block; 
        padding: 10px; 
        font-weight: bold; 
    }

    .menu-items ul li a:hover {
        background-color: #cc0000; 
    }

    .submenu {
        display: none; /* Esconde o submenu por padrão */
        position: relative; 
        padding-left: 0; 
        margin: 0; 
    }

    .dropdown:hover .submenu {
        display: block; /* Mostra o submenu ao passar o mouse sobre o pai */
    }

    .submenu li {
        text-align: left; 
        padding: 5px; 
    }

    .banner-text {
        display: none;
    }
}

    @media (min-width: 882px) and (max-width: 1155px) {
        .container-logos {
            gap: 0.25rem;
            flex-direction: row;
            align-items: center;
        }
    
        .menu-icon {
            display: block;
            margin-left: auto; 
            cursor: pointer;
        }
    
        nav {
            display: flex; 
            align-items: center;
            gap: 1rem;
            justify-content: flex-start;
            width: 100%;
        }
    
        .menu-items {
            display: none; 
            position: absolute;
            top: 70px; 
            right: 0; 
            width: 17rem;
            background-color: #D71920;
            margin-top: 0;
            padding: 10px 0;
            z-index: 1000;
        }
        .menu-items.active {
            display: flex;
            flex-direction: column;
        }
    
        .menu-items ul {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }
    
        .menu-items ul li {
            text-align: left;
            padding: 10px;
            border-bottom: 1px solid white;
        }
    
        .menu-items ul li a {
            color: white;
            text-decoration: none;
            display: block;
            padding: 10px;
            font-weight: bold;
        }
    
        .menu-items ul li a:hover {
            background-color: #cc0000;
        }
    
        .submenu {
            position: relative;
            padding-left: 0;
            margin: 0;
            display: none;
        }
    
        .dropdown:hover .submenu {
            display: block;
        }
    
        .submenu li {
            text-align: left;
            padding: 5px;
        }
    }
