@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --first-color:#fff0b8;
    --second-color:#DCEFDC;
    --third-color:#3a7c5b;
    --forth-color:#ffca9c;
    --font-first-color:#3D2B1F;
    --font-second-color:#6E5745;
    --font-third-color:#FDE047;

    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

}

html,body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*FONT SIZE BASE*/

h1{
    font-size: 35px;
    font-family:var(--font-title);
    
    
}

h2{
    font-size: 30px;
    font-family:var(--font-title);
    
}

h3{
    font-size: 24px;
    font-weight: bold;
    color: var(--font-second-color);
    font-family:var(--font-title);
    

}


p{
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
}


/*HEADER*/


header{
    position: relative;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;
    min-height: 100vh;
    height: auto;
    width: 100%;
    color: var(--font-first-color);
    
}

header img{
    border-radius: 10rem;
    width: 25%;
    box-shadow: 2px 2px 4px 0 var(--font-first-color);
}

.hero-contents{
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 20px;
    position: relative;
    z-index: 1;
}

button, .btn-container a{
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 20px;
    border: none;
    background-color: var(--third-color);
    color: var(--second-color);
    box-shadow: 2px 2px 4px 0 var(--font-first-color);
    transition: 0.5s ease-in-out;
}

.btn-container a{
    display: inline-block;
    text-decoration: none;
}

button:hover, .btn-container a:hover{
    background-color:var(--forth-color) ;
    transform: translateY(-3px);
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.back-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cobre a tela sem achatar nem esticar */
    z-index: -100;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cor de fundo pastel com opacidade (rgba) para o texto continuar legível */
    background-color: rgba(254, 243, 199, 0.65); 
    z-index: -50;
}

/*ABOUT*/

.about-section{
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--font-first-color);
    background-color: var(--first-color);
    text-align: center;
}

/* .about-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%
} */

.about-text{
    text-align: center;
    width: 60%;
}

/*TECH PILLS*/

.tech-article{
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    background-color: var(--second-color);
    
}



.tech-pills{
    display: flex;
    gap: 10px;
    width: 60%;
    padding: 15px;
    border-radius: 15px;
    color: var(--second-color);
    background-color: var(--third-color);
    box-shadow: 2px 2px 4px 0 var(--font-first-color);
}

.tech-pills:nth-of-type(odd){
    align-self: flex-start;
}

.tech-pills:nth-of-type(even){
    align-self: flex-end;
}

.tech-pills img{
    align-self: center;
    height: 60px;
    width: auto;
}

.tech-pills h3{
    color: var(--font-third-color);
}

/*FAQs*/

.faq-section{
    
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-section h2{
    margin-bottom: 30px;
}

.faq-item {
  width: 70%;
  background-color: var(--forth-color);
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 2px 2px 4px 0 var(--font-first-color);
}

.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(--font-first-color);
  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;
  margin: 0;
}

/* Estado Quando Aberto */
.faq-item.active .faq-answer {
  max-height: 200px; /* Altura máxima para permitir deslizar */
  padding: 0 24px 20px 24px;
}


footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: var(--first-color);
}

footer h3{
    font-size: 28px;
}

footer p{
    font-size: 14px;
}

@media screen and (max-width: 900px){

    .hero-contents{
        width: 70%;
    }

    .tech-pills{
        width: 80%;
    }



}

@media screen and (max-width: 765px) {

    header{
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    header img{
        width: 50%;
    }

    .hero-contents{
        width: 100%;
    }

    .about-text{
        width: 80%;
    }

    .tech-pills{
        width: 100%;
    }

    .tech-pills h3{
        font-size: 21px;
    }

    .tech-pills p{
        font-size: 16px;
    }

    .faq-item{
        width: 100%;
    }

}
