*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Playfair Display;

}


:root {
    /* --- FUNDOS LEVES (Para alternar entre as seções) --- */
    --bg-first-color: #FAF7F2;      /* Aconchegante, substitui o branco puro */
    --bg-second-color: #E8F0EC; /* Relaxante e renovador */
    --bg-third-color: #EBF3F5;    /* Transmite paz e tranquilidade */
    --bg-forth-color: #FBF0EF;  /* Acolhedor e humano */
    --bg-fifth-color: #F3EFEF;     /* Elegante e sutil */
    --bg-sixth-color: #FFFDF0;  /* Amarelo super suave (ótimo para fundo alternativo ou cards) */
    --bg-seventh-color: #FFF7D6; /* Um pouco mais presente, traz luz e destaque leve */

    /* --- CORES DE DESTAQUE / CTAs (Botões, ícones, bordas, badges) --- */
    --first-color: #F4C2C2; /* Cor quente para o botão principal */
    --second-color: #E8A598;/* Ótimo para hover de botões */
    --third-color: #A2C4C9;/* Para destaques secundários ou cards */
    --forth-color: #A8C3B8;  /* Excelente para ícones ou tags */
    --fifth-color: #D6C7E2;/* Detalhes delicados */
    --sixth-color: #FCE8AC; /* Amarelo pastel aveludado (ótimo para botões ou destaques) */
    --seventh-color: #F7D070;/* Amarelo pastel levemente mais aquecido para hovers ou ícones */

    /* --- TEXTOS (Garante contraste e excelente leitura) --- */
    --text-principal: #3A3F47;  /* Cinza chumbo (muito melhor que preto puro) */
    --text-suave: #626A75;      /* Para subtítulos e textos secundários */
    --text-clarinho: #8C94A0;   /* Para rodapés, datas ou detalhes discretos */
}

html, body{
    overflow-x: hidden;
}


p, button{
    font-family: Plus Jakarta Sans;
}


header{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    height: 100vh;
    

}

.hero-text{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 40%;
}

.hero-text h1{
    font-size: 35px;
}

.hero-text p{
    font-size: 18px;
}

header .reserve{
    height: 50px;
    width: 50%;
    padding: 10px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 20px;
    border: none;
    background-color: var(--seventh-color);
    box-shadow: 2px 2px 4px 0px;
    transition: 0.5s ease-in-out;
}

.reserve:hover{
    background-color: var(--second-color);
    transform: translateY(-5px);
}

header img{
   
    width: 300px;
    border-radius: 20px;
}

.video-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1
}

video{
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; /* Garante que o vídeo fique atrás da máscara */
    object-fit: cover;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Seu gradiente pastel suave */
    background: linear-gradient(0deg, rgba(162, 196, 201, 0.7) 0%, rgba(244, 194, 194, 0.7) 100%);
    z-index: -50; /* Fica entre o vídeo (z-100) e o conteúdo (z-1) */
}

/* header .image-container{
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1000;
    height: 100vh;
    width: 100vw;
    background: 
        linear-gradient(0deg, rgba(154, 239, 252, 0.75) 0%, rgba(241, 216, 142, 0.75) 100%),
        url('./assets/sunset.jpg');
    
    background-size: cover;
    background-position: center;

} */

/*SOBRE MIM*/

.about-section, .tech-section, footer{
    display: flex;
    flex-direction: column;
    background-color: var(--sixth-color);
    align-items: center;
    text-align: center;
    padding: 30px;
    gap: 30px;
}

.about-section h2, .tech-section h2, .social h2{
    font-size: 35px;
}

.about-section p, .tech-section p{
    font: 18px;
    width: 70%;
}

.pills , .card-container{
    display: flex;
    gap: 60px;
    
}

.pill-item, .card-item{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: var(--first-color);
    border-radius: 30px;
    box-shadow: 2px 2px 4px 0px;
    width: 30%;
    
}

.tech-section{
    background-color: var(--forth-color);
}


.card-item{
    flex-direction: column;
    gap: 15px;
    background-color: var(--fifth-color);
    padding: 15px;
    
}

.card-item p{
    font-weight: 400;
}

/*FAQ SECTION*/

.faq-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 15px;
}

.faq-section h2{
    font-size: 35px;
}

.faq-item {
  width: 70%;
  max-width: 800px;
  background-color: #ffffff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin: 0 auto 16px auto;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-principal);
  cursor: pointer;
  text-align: left;
}

/* Transição na setinha */
.arrow {
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(90deg); /* Gira a seta ao abrir */
}

/* A mágica da resposta suave */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-suave);
  line-height: 1.6;
}

/* Estado Quando Aberto */
.faq-item.active .faq-answer {
  max-height: 200px; /* Altura máxima para permitir deslizar */
  padding: 0 24px 20px 24px;
}

footer{
    background-color: var(--bg-first-color);
}

/*Reveal Animation*/

.reveal{
    opacity: 0;
    transition: all 0.8s ease-out;
}

.reveal.active{
    opacity: 1;
    transform: translateY(0);
}

.reveal-left{
    transform:translateX(-80px);
}

.reveal-right{
    transform:translateX(80px);
}


@media (max-width: 768px) {

    header{
        padding: 30px;
        flex-direction: column;
        text-align: center;
        height: auto;
    }

    header button{
        width: 100%;
        align-self: center;
    }

    header img{
        width: 250px;
        margin: 30px;
    }

    .hero-text{
        width: 80%;
    }

    

    .pills, .card-container{
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .pill-item{
        height: 50px;
        width: 70%;
    }

    .card-item{
        width: 70%;
    }

    .faq-item {
        width: 90%; /* No celular ocupa mais espaço para facilitar o toque com o dedo */
    }

    .faq-question {
        font-size: 16px; /* Tamanho confortável para leitura no celular */
        padding: 14px 18px;
    }
}