* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Topo */
.top-bar {
    background-color: #E50000;
    padding: 10px 0;
    text-align: center;
}

.top-bar .contact a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

.top-bar .contact img {
    width: 20px;
    margin-right: 5px;
}

.banner-topo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}


.banner-item {
    position: relative;
    overflow: hidden;
}

.banner-item img,
.banner-item video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.banner-item video {
    object-fit: cover;
}

/* Banner */
.swiper-container {
    width: 100%;
    height: 400px;
}

.swiper-slide img, .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajustes de navegação */
.swiper-button-next, .swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet {
    background-color: white;
}

/* Tópicos e Rodapé continuam iguais */


.banner img {
    width: 33.33%;
    object-fit: cover;
}

/* Frase de impacto */
.impact {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    color: #333;
}

.impact h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Tópicos */
.topics {
    display: flex;
    justify-content: space-around;
    padding: 50px;
    background-color: white;
}

.topic {
    background-color: #E50000;
    color: white;
    text-align: center;
    width: 18%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.topic img {
    width: 50px;
    margin-bottom: 15px;
}

.topic h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.topic p {
    font-size: 1em;
    line-height: 1.5;
}

/* Rodapé */
.footer {
    background-color: #E50000;
    padding: 20px;
    text-align: center;
    color: white;
}

.footer .contact a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}

.footer .contact img {
    width: 20px;
    margin-right: 5px;
}

.footer p {
    margin-top: 20px;
}

/* Barra cinza com logo */
.logo-bar {
    background-color: #f5f5f5; /* Cor da barra */
    padding: 15px 0;
    text-align: center;
}

.logo-container {
    display: inline-block; /* Centraliza o logo */
}

.logo-responsive {
    max-width: 150px; /* Ajusta o tamanho do logo */
    height: auto;
}

.image-gallery {
    text-align: center;
    margin-bottom: 50px;
}

.main-image img {
    width: 80%;
    max-width: 600px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.contact-form h2 {
    text-align: center;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #d32f2f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #b71c1c;
}

@media (max-width: 768px) {
    .topics {
        flex-direction: column;
        align-items: center;
    }

    .topic {
        width: 80%; /* Ocupar mais espaço na tela menor */
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .banner-topo {
        grid-template-columns: 1fr; /* Apenas uma coluna */
    }

    .banner-item {
        margin-bottom: 20px; /* Espaçamento entre os vídeos */
    }
}
