/*============== Utilities Section ==============*/

@media only screen and (min-width: 770px){
    
.p-max-w-8{
    max-width: 8em;
}
.p-max-w-10{
    max-width: 10em;
}
.p-max-w-14{
    max-width: 14em;
}
.p-max-w-15{
    max-width: 15em;
}
.p-max-w-30{
    max-width: 30em;
}
}

@media only screen and (max-width: 769px){
    h1 { font-size: 32px!important; line-height: 1.2; }
    h2 { font-size: 28px!important;; line-height: 1.3; }
    h3 { font-size: 24px!important;; line-height: 1.4; }
    h4 { font-size: 20px!important;; line-height: 1.5; }
    h5 { font-size: 18px!important;; line-height: 1.5; }
    h6 { font-size: 16px!important;; line-height: 1.6; }

}

.theme-subtitle, .theme-p{
    opacity: .7;
    letter-spacing: -.4px;
    max-width: 575px;
    font-size: 20px;
    font-weight: 400;
    line-height: 160%;
}
.theme-p-sm{
    opacity: .7;
    letter-spacing: -.4px;
    max-width: 575px;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}



/*============== Effects Section ==============*/

.scrollup-hidden-item{
    opacity: 0;
    transform: translateY(150px);
    transition: all 1s;
}

.scrollup-show-item{
    opacity: 1;
    transform: translateY(0px);

}



/*============== Buttons Section ==============*/



/*============== Menu Section ==============*/
@media (min-width: 1116px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
      display: none;
    }
    
    .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open) {
      display: block;
    }
  
  }
  
  @media (max-width: 1115px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
      display: flex;
    }
    
    .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open):not(.hidden-by-default) {
      display: none;
    }

    .wp-block-navigation__responsive-container{
        background: var(--wp--preset--color--text-secondary)!important;
        background: var(--wp--preset--color--background-primary)!important;
        }  
  }

  @media only screen and (max-width: 1335px){
      
    .top-navbar-cta {
        display: none!important;
    }
  }
ul.wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--background-primary)!important;
  
  }



/*============== Hero Section ==============*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}


/* Hero Background Video */
.hero-bg-video-wrapper {
    display: grid;
    place-content: center;
    width: 100%;

}

.hero-bg-video-wrapper figure {
    max-width: none;
}
.hero-bg-video-wrapper video {
    width: 80vw;
    max-height: 700px;

}
/* Overlay com gradiente */
.hero-bg-video-wrapper::after {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 2; */
}

/* Hero Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;

    p{
        max-width: 575px;
    }
}

.hero-features-columns{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/*============== Products Section ==============*/

.products-card{
    /* display: flex    ;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start; */
    width: 100%;
    height: 100%;
    padding: 32px 24px;
    /* position: absolute; */
    /* bottom: 0; */
    
}

.product-brand-img{
    opacity: 0.5;
}


/*============== About Section ==============*/


.about-section-feature-card:hover{
    background-image: linear-gradient(180deg, #0e0f11 35%,  var(--wp--preset--color--background-secondary));

}


@keyframes slide-up {
    from {
        transform: translateY(150px); /* Começa 150px abaixo */
        opacity: 0; /* Opcional: adiciona um fade-in */
    }
    to {
        transform: translateY(0px); /* Termina na posição original */
        opacity: 1; /* Opcional: fade-in completo */
    }
}

.slide-up {
    animation: slide-up 1.5s ease-in forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    transition: 0.5s all ease-in;
}

/*============== Brands Section ==============*/
.brands-heading-stack h2{
    letter-spacing: -3px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 56px;
    font-weight: 400;
    line-height: 120%;
    max-width: 300px;
}

.brand-card {
    background-image: linear-gradient(180deg,  var(--wp--preset--color--background-primary)  21%,  var(--wp--preset--color--background-secondary));
    border: 1px solid var(--wp--preset--color--background-secondary);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: 1s all ease-in;

}


.brand-card img{
    filter: grayscale(100%);
    
}
.brand-card:hover img{
    filter: grayscale(0%);
}

/*============== Services Section ==============*/

.services-card{
    /* background-image: linear-gradient(160deg, var(--wp--preset--color--background-primary),  var(--wp--preset--color--background-secondary));
    border: 1px solid var(--wp--preset--color--background-secondary);
    border-radius: 12px;
    padding: 48px 40px; */
}

.services-card-icon{
    /* background-color: #ffffff08;
    border: 1px solid var(--wp--preset--color--background-secondary);
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    display: flex; */

}

/*============== Testimonials Section ==============*/

@media only screen and (max-width: 769px){
    .testimonials-p{
        font-size: 32px!important;
    }
    
}

/*============== Team Section ==============*/
.team-member-profile-img {
    overflow: hidden;
    transition: 1.5s all ease-in;
    border-radius: 16px;
    
}

.team-member-profile-img:hover img{
    transition: 0.8s all ease;
    border-radius: 16px;
    scale: 1.2;

}

/*============== Blog Section ==============*/


.blog-posts-wrapper{
    padding: 0 10%;
}

.blog-posts-template {
    position: relative;
    
}

.blog-post-details-wrapper{
    position: relative;
    overflow: hidden;
    transition: 1s all ease-in;
}

.blog-post-details-wrapper::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%);
}
.blog-post-details-wrapper:hover .blog-post-feature-image{
    transition: 0.8s all ease-in;
    scale: 1.2;
}
.blog-post-feature-image{
    position: absolute;
    top: 0;
    left: 0;   
}
.blog-post-feature-image img{
    border-radius: 16px;
}

.blog-post-date, .blog-post-title{ 
    position: relative;
    z-index: 2;
}
.blog-post-date a {
    text-decoration: none;
}


/*============== CTA Section ==============*/


.cta-section-wrapper .wp-block-button a{
    background-image: linear-gradient(90deg, var(--wp--preset--color--accent-first), var(--wp--preset--color--accent-second));
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    padding: 11px 16px;
    text-decoration: none;
    transition: all .3s ease-in-out;
    display: flex    ;
}

.cta-section-wrapper .wp-block-button:hover{
    background-image: linear-gradient(90deg, var(--wp--preset--color--accent-second), var(--wp--preset--color--accent-first));
    border-radius: 10px;

}


/*============== Page Section ==============*/


.post-card{


}

.post-card-image-wrapper{
    position: relative;
    overflow: hidden;
    transition: 1s all ease-in;
}

.post-card-image-wrapper:hover .post-card-image{
    transition: 0.8s all ease-in;
    scale: 1.2;
}

.post-card-author img{
    border-radius: 100px;
}

.post-card-author .wp-block-post-author__bio{
 opacity: 0.5;
}



/*============== Form Section ==============*/
.contact-form-wrapper {
    margin: 0 auto;
    border-radius: 12px;
    max-width: 100%;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group input,
.form-group textarea {
    background-image: linear-gradient(90deg, var(--wp--preset--color--background-terciary), var(--wp--preset--color--background-primary));
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--wp--preset--color--text-primary);
    border: 1px var(--wp--preset--color--background-terciary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;

}

.submit-button {
    background-color:var(--wp--preset--color--text-primary);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    max-width: 200px;
}

/* .submit-button:hover {
    background-color: var(--wp--preset--color--background-primary);
    color: var(--wp--preset--color--text-primary);
    border: 1px solid var(--wp--preset--color--text-primary);

} */

.submit-button:active {
    transform: translateY(0);
}

/*============== Form Section ==============*/
/* Container principal do FAQ */
.faq-container {
    width: 100%;
    max-width: 800px; /* Ajuste conforme necessário */
    margin: 0 auto;
    padding: 20px;
}

/* Estilo do elemento <details> (pergunta) */
.faq-question {
    border: 1px solid  var(--wp--preset--color--background-terciary); /* Bordas semitransparentes */
    border-radius: 10px;
    background-color: transparent;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

/* Estilo do <summary> (título da pergunta) */
.faq-question summary {
    color: #fff; /* Cor do texto */
    font-size: 16px;
    font-weight: 500;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Remove o ícone padrão do <details> */
}

/* Ícone de seta para o <summary> */
.faq-question summary::after {
    content: "+"; /* Ícone de seta para baixo */
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Rotaciona a seta quando o <details> está aberto */
.faq-question[open] summary::after {
    /* transform: rotate(180deg); */
    content: "-"; /* Ícone de seta para baixo */
}

/* Estilo do parágrafo (resposta) */
.faq-answer {
    color: #ccc; /* Cor do texto da resposta */
    font-size: 14px;
    line-height: 1.6;
    padding: 20px 24px;
    background-color: var(--wp--preset--color--background-terciary); /* Fundo semitransparente */
    border-top: 1px solid  var(--wp--preset--color--background-terciary);/* Borda superior */
    margin-top: 0;
    border-radius: 0 0 10px 10px; /* Bordas arredondadas na parte inferior */
}

/* Efeito de hover no <details> */
.faq-question:hover {
    background-color:  var(--wp--preset--color--background-terciary); /* Fundo semitransparente ao passar o mouse */
}

/* Estilo quando o <details> está aberto */
.faq-question[open] {
    background-color: var(--wp--preset--color--background-terciary); /* Fundo semitransparente */
}