/* Estilos Gerais */
body {
    font-family: 'Rubik', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase; /* Transforma todos os títulos em maiúsculas */
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0px 20px 0px;
    text-align: center;
    color: white; /* Para o texto do header ficar visível sobre a imagem */
}

.logo img {
    max-width: 200px;
    height: auto;
}

/* Divider */
.divider {
    background-color: #0c3d61;
    height: 5px;
    width: 100%;
}

main {
    padding-bottom: 30px; /* Adicionando espaço extra para o footer */
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Companies Section */
.companies {
    text-align: center;
    margin-bottom: 40px;
}

.companies h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #004080; /* Cor do título */
}

.company-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.company-logos a {
    display: block;
    width: 20%;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.company-logos a:hover {
    transform: scale(1.1);
}

.company-logos a[data-logo="flechabranca"] {
    background-image: url('../images/flechabranca_logo.png');
}

.company-logos a[data-logo="sudeste"] {
    background-image: url('../images/sudeste_logo.png');
}

.company-logos a[data-logo="alvorada"] {
    background-image: url('../images/alvorada_logo.png');
}

.company-logos a[data-logo="santaluzia"] {
    background-image: url('../images/santaluzia_logo.png');
}

/* Estilos para o painel rotativo */
.carousel {
    width: 100%;
    overflow: hidden;
    background-color: #0c3d61;
    padding: 20px 0;
    box-shadow: 0px 0px 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    text-align: center;
    position: relative;
    z-index: 5;
    min-height: 100px; /* Altura mínima para garantir que seja visível */
}

.carousel-item {
    opacity: 0;
    position: absolute;
    width: 95%;
    padding: 20px;
    font-size: 1.2rem;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

/* Responsividade para o painel rotativo */
@media (max-width: 768px) {
    .carousel-item {
        font-size: 1rem;
        padding: 15px;
        margin: 0 10px; /* Adiciona margem para garantir que o texto não fique fora da tela */
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        font-size: 0.9rem;
        padding: 10px;
        margin: 0 5px; /* Ajuste a margem para telas menores */
        box-sizing: border-box;
    }
}

/* Estilo para os botões flutuantes */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
}

.whatsapp-container h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background-color: #25d366;
    padding: 8px 10px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
    transition: background-color 0.3s;
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
    margin-right: 5px;
    border-radius: 50%;
}

.whatsapp-button span {
    margin-left: 5px;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

/* Ajuste para telas menores Botões flutuantes */



/* Footer */
footer {
    background-color: #0c3d61;
    color: white;
    text-align: center;
    padding: 10px 0px 0px 0px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Footer Section */
.footer-section {
    background-color: #e9eff7;
    padding: 40px 20px;
    color: #333;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    margin: 0 20px;
}

.footer-column h3 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
}

.footer-column hr {
    width: 50px;
    height: 3px;
    background-color: #0047b3;
    border: none;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.footer-column i {
    color: #0c3d61;
    margin-right: 5px;
}

/* Responsividade para Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 20px;
    }

    .footer-column p {
        font-size: 0.9rem;
    }
	
	.footer-section {
    padding: 20px 15px;
	}
}
