/* Root Variables */
:root {
    --primary: #ecb52f;
    --secondary: #95989a;
    --text-color: #fff;
    --text-secondary: #000;
    --text-tertiary: #5d5d5d;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Neue Haas Grotesk', sans-serif; /* Definindo a fonte */
    color: var(--text-secondary);
}

/* Estilos para o cabeçalho */
header {
    position: relative;
    padding: 60px;
    font-family: 'Neue Haas Grotesk', sans-serif;
    background-image: url('/img/textura02.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    color: white;
    text-align: left; /* Alinhando o conteúdo à esquerda */
    height: 650px;
    overflow: hidden; /* Esconder o conteúdo que ultrapassa a altura do header */
}

/* Sombra de sobreposição */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.900), rgba(0, 0, 0, 0));
    pointer-events: none;
}

/* Estilos para o logotipo */
header img {
    width: 200px;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Estilos para o título */
header h1 {
    margin: 0;
    font-size: 52px;
    text-align: left;
    position: relative;
    top: 200px;
    display: flex;
    align-items: center;
    overflow: hidden; /* Adicionado para conter a animação de digitação */
}


/* Estilos para o parágrafo */
header p {
    margin-top: 20px;
    margin-left: 0;
    opacity: 0;
    animation: appear 2s forwards;
    font-size: 20px;
    text-align: left;
    position: relative;
    top: 220px;
    color: var(--text-color);
}

/* Animação de pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilos para o botão de próxima seção */
.btn-next-section {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 40px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    position: relative;
    top: 240px;
    animation: slide-up 2s ease-out 2s forwards, pulse 1.5s infinite;
    opacity: 0;
    transition: background-color 0.3s, transform 0.3s;
}

/* Animação para o botão subir */
@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação para o parágrafo aparecer */
@keyframes appear {
    to {
        opacity: 1;
    }
}

/* Animação de digitação */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Animação do cursor piscando */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/* Estilos para dispositivos móveis */
@media only screen and (max-width: 768px) {
    /* Estilos para o cabeçalho */
    header {
        padding: 20px;
        text-align: center;
        height: 550px;
    }

    /* Estilos para a logo */
    header img {
        width: 150px;
        display: block;
        margin: 30px auto;
        margin-bottom: 20px;
    }

    /* Estilos para o título */
    header h1 {
        font-size: 32px;
        margin-top: 0;
        white-space: normal; /* Permitir que o texto quebre em várias linhas */
        animation: none; /* Remover a animação de digitação em dispositivos móveis */
        width: 100%;
        display: block;
        top: 150px; /* Ajuste a posição conforme necessário */
    }

    header h1 span {
        white-space: normal;
        border: none;
    }

    /* Estilos para o parágrafo */
    header p {
        font-size: 14px;
        margin-top: 10px;
        top: 180px; /* Ajuste a posição conforme necessário */
    }

    /* Estilos para o botão de próxima seção */
    .btn-next-section {
        display: inline-block;
        margin-top: 20px;
        top: 200px; /* Ajuste a posição conforme necessário */
    }
}




/* Estilos para a seção de perguntas */
#questions {
    padding: 60px 0;
    background-color: black;
    color: white;
}

/* Estilo padrão para o texto */
.section-title {
    color: white;
    margin-bottom: 20px;
    font-size: 30px;
    text-align: center;
}

#questions.active .section-title,
#questions:hover .section-title {
    color: var(--primary);
}

.container {
    width: 80%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    font-size: 16px; /* Ajuste para tamanho de fonte consistente */
    box-sizing: border-box;
}

.select-gray-background {
    background-color: var(--text-secondary);
    color: white;
}

button[type="submit"] {
    padding: 10px 40px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 22px;
}

button[type="submit"]:hover {
    background-color: var(--secondary);
}

.success,
.error {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.success {
    color: greenyellow;
    font-size: 16px;
}

.error {
    color: tomato;
    font-size: 16px;
}

/* Estilos para a seção de perguntas em dispositivos móveis */
@media only screen and (max-width: 600px) {
    #questions {
        padding: 30px 0;
    }

    .section-title {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .container {
        width: 90%;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .intl-tel-input {
        width: 100%;
    }

    label {
        display: block;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: transparent;
        color: white;
        font-size: 16px; /* Reduzido para 16px */
        box-sizing: border-box;
    }

    button[type="submit"] {
        padding: 8px 16px;
        background-color: var(--primary);
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    button[type="submit"]:hover {
        background-color: var(--secondary);
    }

    #questions h2 {
        text-align: center;
        font-size: 20px;
    }

    .success {
        color: greenyellow;
        font-size: 12px;
    }

    .error {
        color: tomato;
        font-size: 12px;
    }
}


/* Estilos para a nova seção de imagem */
#image-section {
    padding: 60px 0;
    background-color: var(--text-secondary); /* Cor de fundo clara */
    text-align: center;
}

#image-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Bordas arredondadas para a imagem */
}

/* Estilos para dispositivos móveis */
@media only screen and (max-width: 768px) {
    /* Ajustes para a nova seção de imagem em dispositivos móveis */
    #image-section img {
        width: 100%; /* Ajuste a largura da imagem para 80% do container no mobile */
    }
}







/* Estilos para a seção "Sobre a Empresa" */
#about {
    padding: 60px 0;
    background-image: url('/img/textura02.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Efeito de sobreposição */
#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.9));
    pointer-events: none;
}

/* Estilo para o título da seção */
.about-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
}

/* Estilo para o texto quando a seção está ativa */
#about.active .about-title,
#about:hover .about-title {
    color: var(--text-color); /* Alterando para amarelo */
}

/* Estilo para o texto da seção */
.about-text {
    text-align: justify;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 40px;
}

.text-container {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.fixed-text {
    position: relative;
    left:-150px;
    font-size: 30px;

}

.changing-text {
    position: absolute;
    color: var(--primary);
    top: 0;
    left: 90px; /* Ajuste conforme necessário para posicionar o texto dinâmico ao lado do texto fixo */
    white-space: nowrap; /* Evita que o texto faça quebra de linha */
    font-size: 30px;
}

/* Estilos para o carrossel */
.carousel-container {
    width: 60%;
    overflow: hidden;
    position: relative;
    margin: 0;
    height: 700px; /* Altura do carrossel */
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha completamente o espaço do slide */
    box-shadow: 0 1px 2px #0003;
    user-select: none; /* Desabilita a seleção de texto quando clicar e arrastar */
}

.swiper-button-next,
.swiper-button-prev {
    width: 18px; /* Força o tamanho dos botões */
    height: 18px; /* Força o tamanho dos botões */
    color: var(--primary) !important; /* Força a cor branca para os botões */
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex; /* Adiciona flex para centralizar o ícone */
    justify-content: center; /* Centraliza o ícone horizontalmente */
    align-items: center; /* Centraliza o ícone verticalmente */
    border-radius: 100%; /* Torna os botões circulares */
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px !important; /* Ajusta o tamanho do ícone */
}

.swiper-button-next {
    right: 10px; /* Ajusta a posição do botão "next" */
}

.swiper-button-prev {
    left: 10px; /* Ajusta a posição do botão "prev" */
}

.swiper-pagination {
    position: absolute;
    bottom: 10px; /* Ajuste conforme necessário */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Estilos para dispositivos móveis */
@media only screen and (max-width: 768px) {
    #about {
        padding: 40px 0;
    }

    .about-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 16px;
    }

    .text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .fixed-text {
        position: relative;
        font-size: 20px;
        left:-100px;
        
    }

    .changing-text {
        position: absolute;
        color: var(--primary);
        top: 0;
        left: 55px; /* Ajuste conforme necessário para posicionar o texto dinâmico ao lado do texto fixo */
        white-space: nowrap; /* Evita que o texto faça quebra de linha */
        font-size: 20px;
        
    }

    .carousel-container {
        width: 100%; /* Define a largura total para o carrossel */
        height: 300px; /* Altura do carrossel no celular */
    }

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Mantém a proporção da imagem e evita cortes */
        box-shadow: 0 1px 2px #0003;
        user-select: none; /* Desabilita a seleção de texto quando clicar e arrastar */
        pointer-events: none; /* Desabilita eventos de ponteiro, como clicar e arrastar */
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Oculta as setas de navegação no celular */
    }
}


/* Estilos para a seção "Video" */
.video {
    background-color: var(--text-secondary);
    /* background-image: url('/img/textura01.png'); Substitua pelo caminho da sua imagem */
    background-size: cover; /* Redimensiona a imagem para cobrir todo o elemento */
    background-position: center; /* Centraliza a imagem */
    padding: 4rem 0;
    text-align: center;
    position: relative; /* Posição relativa para permitir a sobreposição */
    color: var(--text-color); /* Cor do texto */
}


/* Estilo para o texto quando a seção está ativa */
#video.active .section-title,
#video:hover .section-title {
    color: var(--primary); /* Alterando para amarelo */
}

.video::before {
    content: ""; /* Criando um pseudo-elemento para a sobreposição */
    position: absolute; /* Posicionamento absoluto em relação à seção */
    top: 0; /* Alinhado ao topo */
    left: 0; /* Alinhado à esquerda */
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.300)); /* Gradiente de preto transparente de cima para baixo */
    pointer-events: none; /* Garantindo que o pseudo-elemento não interfira com cliques */
    z-index: 1; /* Posiciona o pseudo-elemento atrás do conteúdo */
}

.video h2 {
    font-size: 30px; /* Tamanho do título */
    margin-bottom: 2rem; /* Espaçamento inferior */
    color: var(--text-color); /* Cor do texto */
    font-weight: bold; /* Texto em negrito */
    position: relative; /* Posição relativa para ficar acima da sobreposição */
    z-index: 2; /* Posiciona o título acima da sobreposição */
}

.video video {
    width: auto; /* Largura automática */
    max-width: 600px; /* Largura máxima do vídeo */
    height: auto; /* Altura automática */
    max-height: 600px; /* Altura máxima do vídeo */
    border-radius: 20px; /* Bordas arredondadas */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Sombra */
    overflow: hidden; /* Garantia de bordas arredondadas */
    margin-top: 2rem; /* Espaço entre texto e vídeo */
    object-fit: cover; /* Ajusta o vídeo para cobrir a área */
    position: relative; /* Posição relativa para ficar acima da sobreposição */
    z-index: 2; /* Posiciona o vídeo acima da sobreposição */
}

/* Estilo para o botão Call to Action */
.video .cta-button {
    display: block; /* Define como block */
    margin: 2rem auto 0 auto; /* Espaçamento e centralização */
    padding: 10px 40px; /* Preenchimento interno */
    font-size: 1.2rem; /* Tamanho da fonte */
    color: #fff;
    background-color: var(--primary); /* Cor de fundo do botão */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content; /* Tamanho apropriado ao texto */
    animation: pulse 1.5s infinite; /* Animação de pulsação */
    position: relative; /* Posição relativa para ficar acima da sobreposição */
    z-index: 2; /* Posiciona o botão acima da sobreposição */
    font-size: 1.2em;
}

/* Animação de pulsação */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Versão para dispositivos móveis */
@media (max-width: 768px) {
    .video h2 {
        font-size: 24px; /* Reduz o tamanho do título */
    }
    
    .video video {
        max-width: 90%; /* Reduz a largura máxima do vídeo */
        max-height: 50vh; /* Reduz a altura máxima do vídeo */
    }

    .video .cta-button {
        font-size: 1rem; /* Reduz o tamanho da fonte do botão */
        padding: 0.8rem 1.6rem; /* Ajusta o preenchimento interno do botão */
    }
}


/* Estilos para a seção de depoimentos */
.testimonial-section {
    /* background-color: var(--text-tertiary); */
    background-image: url('/img/textura02.png'); /* Adicione o caminho da sua imagem de fundo */ 
    background-size: cover; /* Redimensiona a imagem para cobrir todo o elemento */
    background-position: center; /* Centraliza a imagem */
    padding: 4rem 0;
    color: var(--text-color); /* Cor do texto */
    position: relative; /* Adiciona posição relativa para o posicionamento do pseudo-elemento */
}

.testimonial-section::before {
    content: ""; /* Criando um pseudo-elemento para a sobreposição */
    position: absolute; /* Posicionamento absoluto em relação à seção */
    top: 0; /* Alinhado ao topo */
    left: 0; /* Alinhado à esquerda */
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.100), rgba(0, 0, 0, 0.900)); /* Gradiente de preto transparente de cima para baixo */
    pointer-events: none; /* Garantindo que o pseudo-elemento não interfira com cliques */
    z-index: 1; /* Posiciona o pseudo-elemento atrás do conteúdo */
}

.testimonial-carousel {
    margin-top: 2rem; /* Espaço entre o título e o carrossel de depoimentos */
    position: relative; /* Adiciona posição relativa para que o z-index funcione */
    z-index: 2; /* Ajusta o z-index para que o carrossel fique acima do pseudo-elemento */
}

.testimonial {
    /* background-image: url('/img/textura02.png'); */
    background-color: #1B1B19; /* Cor de fundo do depoimento */
    border-radius: 10px; /* Bordas arredondadas */
    padding: 20px 50px; /* Espaçamento interno */
    text-align: center; /* Centraliza o conteúdo */
    margin-bottom: 30px; /* Espaçamento inferior entre os depoimentos */
}

.testimonial-content {
    margin-bottom: 20px; /* Espaçamento inferior entre o conteúdo do depoimento e o autor */
    font-size: 14px;
    text-align: center;
}

.testimonial-author img {
    max-width: 100px; /* Largura máxima da imagem do depoente */
    height: 100px; /* Altura automática para manter a proporção */
    border-radius: 50%; /* Transforma a imagem em um círculo */
    margin-bottom: 10px; /* Espaçamento inferior entre a imagem e o nome do autor */
    display: block; /* Define como um bloco para permitir o uso de margin: 0 auto */
    margin-left: auto; /* Centraliza horizontalmente */
    margin-right: auto; /* Centraliza horizontalmente */
}


.testimonial-author h3 {
    font-size: 20px; /* Tamanho da fonte do nome do autor */
}

.testimonial-content p{
    margin-top: 20px;
}

.testimonial-author .position {
    font-style: italic; /* Texto em itálico */
    font-size: 14px;
    
}

.testimonial-section .section-title {
    text-align: center; /* Centraliza o texto horizontalmente */
    margin-bottom: 30px; /* Espaçamento inferior entre o título e o carrossel de depoimentos */
}

/* Estilo para o texto quando a seção está ativa */

/* #testimonials.active .section-title,
#testimonials:hover .section-title {
    color: var(--primary); /* Alterando para amarelo */


/* Estilos para dispositivos móveis */
@media only screen and (max-width: 768px) {
    #testimonials {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .testimonial {
        padding: 15px 15px; /* Espaçamento interno */
    }

    .testimonial-content p{
        margin-top: 30px;
        text-align: center;
    }

    .text2 {
        height: 100px;
    }

    .text3 {
        height: 100px;
    }
}



/* Estilo da seção FAQ */
.faq {
    padding: 4rem 0;
    background-color: var(--text-secondary); /* Alterado para preto */
}

.faq .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-color);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background-color: var(--text-tertiary);
    color: #fff; /* Alterado para branco */
    font-size: 1.25rem;
    text-align: left;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary);
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: #fff;
    color: #333;
}

.faq-answer p {
    margin: 0;
}

/* Estilo para dispositivo móvel */
@media (max-width: 600px) {
    .faq h2 {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }
}



/* Estilos para o rodapé */
.footer {
    background-color: var(--text-secondary);
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    max-width: 150px; /* Ajuste conforme necessário */
    margin-bottom: 30px;
}

.footer-message {
    margin-bottom: 30px;
    font-size: 14px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Espaço entre o telefone e o endereço */
    margin-bottom: 30px;
}

.footer-contact p {
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--text-color);
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    margin: 0 0.5rem;
    color: #fff;
    transition: color 0.3s ease;
    font-size: 20px;
}

.footer-social a:hover {
    color: var(--primary); /* Cor dos ícones ao passar o mouse (verde) */
}

.footer-copyright {
    font-size: 0.875rem;
}

/* Estilo para dispositivo móvel */
@media (max-width: 600px) {
    .footer {
        padding: 1rem 0;
    }
    .footer-logo img {
        max-width: 120px; /* Ajuste conforme necessário */
    }
    .footer-message {
        font-size: 1rem;
    }
    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-contact p {
        font-size: 12px;
    }
    .footer-social a {
        font-size: 1.5rem; /* Ajuste conforme necessário */
    }
    .footer-copyright {
        font-size: 12px;
    }
}


/* Estilo do botão de WhatsApp flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: pulses 2s infinite, vibrate 0.3s infinite;
}

.whatsapp-button a {
    color: white;
    font-size: 30px;
    text-decoration: none;
}

@keyframes pulses {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }

0% {
    -moz-box-shadow: 0 0 0 0 rgba(92,168,44, 0.5);
    box-shadow: 0 0 0 0 rgba(92,168,44, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(92,168,44, 0);
      box-shadow: 0 0 0 30px rgba(92,168,44, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(92,168,44, 0);
      box-shadow: 0 0 0 0 rgba(92,168,44, 0);
  }
}

.rounded-circle {
    border-radius: 50%!important;
}

/* Ajustes para dispositivos móveis */
@media (max-width: 600px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    .whatsapp-button a {
        font-size: 25px;
    }
}
