/* Variáveis */
:root {
    --cor-de-fundo: #FFFFFF;
    --azul-claro: #336699;
    --azul-escuro: #14285b;
    --verde-musgo: #71AB01;
}

/* Reset de estilo */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:Arial, Verdana, serif;
}

body {
    height: 500px;
    background-image: url('images/fundo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: whitesmoke;
    padding-top: 80px; /* Ajuste o valor conforme a altura do cabeçalho */
    width: 100%;
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.container {
    margin: 0px;
}
@media (max-width: 768px) {
    body {
        margin: 00px; /* Margem menor para dispositivos móveis */
        font-size: 0.8rem;
    }
    .container {
        margin: 1%; /* Reduz margem em telas menores */
    }
    .header-relatos {
        display: none;
    }
    header {
        font-size: 0.8rem;  
    }
    header.logo img{
        height: 30px;
        margin-right: 5px;
    }

}


/* Cabeçalho no estado normal */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--cor-de-fundo);
    color: var(--azul-escuro);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s ease; /* Transição suave */
}

/* Cabeçalho reduzido ao rolar */
header.scrolled {
    padding: 0.25rem 2rem; /* Altura menor */
    background-color: var(--azul-escuro);
    color: #FFFFFF;
    transition: padding 0.3s ease; /* Transição suave */
}


header .logo img {
    height: 60px;
    margin-right: 5px;
}
header.scrolled .logo img {
    height: 40px;
    margin-right: 5px;
    transition: padding 0.3s ease; /* Transição suave */
}


header nav a {
    color: var(--azul-escuro);
    margin-left: 1rem;
    text-decoration: none;
    font-weight: bold;
}
header.scrolled nav a {
    color: #FFFFFF;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: bold;
}
header nav a:hover {
    color: var(--verde-musgo);
}

/* Banner Principal */
.banner {
    position: relative;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 0px;
}

.banner img {
    width: 30%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-top: 30px;
}

@media (max-width: 768px){
    

    /* Se estiver usando uma tag <img> para o banner */
    .banner img {
        width: 70%;
              
    }
}
/* Seção de Serviços */
.servicos {
    padding: 1rem 2rem;
    text-align: justify;
    line-height: 1.5;
}
.servicos h1 {
 
    margin-bottom: 2rem;
    margin-top: 0rem;
    text-align: center;
    font-size: 1.75rem;

}
.servicos h2 {

    margin-bottom: 1rem;
    margin-top: 1.2rem;
    text-align: left;
}
.servicos p {
    text-align: justify;
   
}

.servicos h3 {

    margin-top: 30px;
    text-align: center;
    font-size: 1.75rem;

}
.servicos-desc {
    max-width: auto;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
@media (max-width: 768px){
    .servicos{
        padding: 0.5rem 1rem;
    }
    .servicos h1{
        font-size: 1.2rem;
    }
    .servicos h2 {
        margin-top: 1.1rem;
        text-align: left;
    }      
    .servicos h3{
        margin-top: 1.1rem;
        text-align: left;
    }   


}

/* Estilos para o Botão do WhatsApp */
.whatsapp-button {
    background-color: #25D366; /* Cor do WhatsApp */
    color: #ffffff; /* Cor do texto */
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.whatsapp-button i {
    font-size: 20px; /* Tamanho do ícone */
}

.whatsapp-button:hover {
    background-color: #1ebe5d; /* Cor ao passar o mouse */
}
@media (max-width:768px) {
    .whatsapp-button {
        font-size: 16px;
        margin-top: 20px;
    }
    
}

/*seção do carrossel*/
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-out;
    touch-action: pan-y; /* Permite apenas movimento horizontal */
    gap: 16px; /* Espaçamento entre as imagens */
}

.carousel-container {
    overflow: hidden; /* Oculta as imagens que estão fora da área visível */
    width: 100%; /* Garante que ocupe todo o espaço disponível */
    display: flex;
}


.carousel-image {
    flex: 0 0 calc(120% / 6); /* Garante 3 imagens no desktop */
    aspect-ratio: 3/4; /* Define a proporção */
    object-fit: cover; /* Mantém a imagem ajustada ao container */
    transition: transform 0.3s ease; /* Para o efeito de hover */
 

}

.carousel-image:hover {
    transform: scale(1.1); /* Amplia levemente a imagem */
    z-index: 2; /* Eleva a imagem para evitar sobreposição visual */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media (min-width: 768px) {
    .carousel-image {
        width: calc(100% / 5); /* Mostra 3 inteiras e duas cortadas */
        margin: 25px 5px; 
    }
    .carousel-slide {
        gap: 20px;
    }

}

@media (max-width: 767px) {
    .carousel-image {
        width: calc(100% / 3); /* Mostra uma inteira e duas cortadas */
        margin: 16px 5px; 
    }
    .carousel-slide {
        gap: 10px;
    
    }
    .carousel-button {
        display: none;
    }

}


/* Seção Relato de Clientes */
.relatos {
    padding: 3rem 2rem;
    background-color: var(--verde-musgo);
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    margin-top: 50px;
}

.relatos h2 {
    margin-bottom: 2rem;
}

.relato-item {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30%;
    min-height: 200px; /* Altura mínima para todos os quadros */
    margin: 1rem;
    padding: 1rem;
    background-color: #FFFFFF;
    color: var(--azul-escuro);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    vertical-align: top;
    text-align: left;
}

.relato-item p {
    text-align: justify; /* Justifica o texto */
}

.relato-item h4 {
    color: var(--azul-claro);
    margin-top: 1rem;
    align-self: flex-start; /* Alinha o título no canto inferior esquerdo */
}

/* Mobile: Empilha os itens */
@media (max-width: 767px) {
    .relatos {
        flex-direction: column;
        align-items: center;
    }

    .relato-item {
        width: 90%; /* Ocupa 90% da largura da tela no mobile */
        min-height: 150px
    }
}


/*seção de conatos e informações*/
#contato {
    padding: 1rem 2rem;
    text-align: justify;
    line-height: 1.5;
    margin: 1%;
}

#contato h2{
    margin-bottom: 20px;
    text-align: center;
}



/* Formulário - Estilos básicos */
.form_titulo{
    margin-bottom: 1.5rem;
}
.form-section {
    width: 60%;
    margin: auto;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    gap:8px;
}

.form-group {
    margin-bottom: 15px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}

button {
    background-color:var(--azul-claro);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

        /* Estilos para as duas colunas */
.form-column {
    width: 45%;
    float: left;
    margin: 0 2.5%;
}

        /* Limpar flutuadores após as colunas */
#contactForm::after {
    content: "";
    display: table;
    clear: both;
}

        /* Estilos responsivos para dispositivos móveis */
@media (max-width: 768px) {
    .form-section {
        width: 90%;
    }
    
    /* Empilha os campos e o botão em dispositivos móveis */
    .form-column {
        width: 100%;
        float: none;
        margin: 0;
    }
    
    button {
        width: 100%;
    }
}
/*Pagina de resposta do Formulario*/
.form-success-error{
    text-align: center;
    font-size: 2rem;
    padding: 5px;
}
.form_resposta_botoes{
    display:flex;
    justify-content: center ;
    margin: 20%;
    margin-top: 1%;
    align-items: center;
    padding: 5px;
    gap:25px;
}
.form_resposta_botoes_whats{
    background-color: #25D366; /* Cor do WhatsApp */
    color: #ffffff; /* Cor do texto */
    padding: 20px 70px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    font-size: 20px;
    transition: background-color 0.3s ease;
    
    text-align: center;
}

.form_resposta_botoes_voltar{
    background-color: var(--azul-claro);
    color: #ffffff; /* Cor do texto */
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Espaço entre o ícone e o texto */
    font-size: 20px;
    transition: background-color 0.3s ease;
}
@media (max-width: 768px){
    .form_resposta_botoes{
        margin: 10%;
        padding: 5px;
        gap:15px;
    }
    .form_resposta_botoes_whats{
        padding: 10px 20px;
        font-size: 0.75rem;
    }
    
    .form_resposta_botoes_voltar{
        padding: 10px 10px;
        font-size: 0.75rem;
    }  
}

/* Estilos para o Rodapé */
.footer {
    background-color: #14285b; /* Cor de fundo */
    padding: 15px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-link {
    color: #ffffff; /* Cor do texto */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    text-decoration: underline; /* Sublinhar ao passar o mouse */
}

.footer-link i {
    font-size: 20px; /* Tamanho do ícone */
}
/* Estilos responsivos para dispositivos móveis */
@media (max-width: 768px) {
    .footer{
        box-sizing: border-box;
    }
    .footer-container {
        display: flex;
        justify-content: center;
        gap: 0px;
    }
    .footer-link {
        font-size: 0.8rem;
        margin-left: 4px;
    }
    .footer-link i{
        margin: 10px;
        margin-right: 4px;
    }
}


