html, body {
  overflow-x: hidden;
}

main{
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.background {
    position: relative; /* necessário para o iframe usar como referência */
    background-color: #FEE827;
    width: 84rem;
    height: 45rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 20px;
    overflow: visible; /* permite que o iframe "vaze" para fora */
}

main h1{
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    width: 70rem;
    text-align: center;
    letter-spacing: -3px;
    color: #1a1a1a;
    margin-bottom: 8px;
    margin-top: -1rem;
}

main span{
    color: white;
    background-color: #4C83F3;
    padding: 5px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

main span:hover{
    transform: scale(1.05); /* aumenta em 5% */
}

main h2{
    font-family: "Maven Pro", sans-serif;
    font-size: 1.6rem;
    color: #2b2b2b;
    text-align: center;
    width: 59rem;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

main h3{
    margin-top: 0px;
    color: #5B5B5B;
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-align: center;
}

main img{
    height: 5rem;
    filter: grayscale(100%) brightness(20%) contrast(90%);
    margin-bottom: 80px;
}

iframe {
    position: absolute;
    bottom: -43%;
    left: 50%;
    transform: translateX(-50%);
    width: 55rem;
    height: 27rem;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* opcional: efeito de profundidade */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

iframe:hover {
    transform: translateX(-50%) scale(1.01); /* Aproxima 5% para frente */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Aumenta a sombra pra dar efeito de profundidade */
}

/* AQUI ESTA A SECTION CATEGORIAS */

.categIcones{
    height: 26rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: center;
    gap: 1rem;
}

.categorias{
    width: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    padding: 0;
    margin-bottom: -3rem;
}

.categorias a img {
    height: 4.5rem;
    width: 4.5rem;
    border-radius: 50%; /* Usar 50% garante um círculo perfeito */
    object-fit: cover;  /* << ADICIONE ESTA LINHA */
    margin-bottom: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* Ajustei a transição */
}

.categorias a img:hover{
    transform: scale(1.05); /* aumenta em 5% */
    opacity: 90%;
}

.categorias a{
    text-align: center;
    color: #5b5b5b;
    font-size: 1rem;
    font-weight: 500;
}

.categorias a span {
    color: #1a1a1a; /* Cor padrão do texto */
    transition: color 0.3s ease;
}

.categorias a:hover span {
    color: #4C83F3; /* Azul quando passar o mouse na imagem/link */
}

/* AQUI ESTA A SECTION DEPOIMENTOS */

.depoimentos{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    padding: 4rem 2rem; 
}

.depoimentos h2{
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -2px;
    text-align: center;
}

.depoimentos .sub{
    color: #2a2a2a;
    font-size: 1.5rem;
    font-weight: 400;
    width: 100%; 
    max-width: 53rem; 
    text-align: center;
    margin-bottom: 24px;
}

.boxs{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: 1340px;
    align-items: center;
}

.depbox{
    width: 20.5vw;
    min-height: 30rem;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
    transition: all 0.3s ease-in-out; 
}

.depbox:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.depuser{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 20px;
}

.depuser img{
    height: 60px;
    width: 60px;
    border-radius: 50px;
    object-fit: cover;
}

.depinfouser{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
}

.depinfouser h3{
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0px;
}

.depoimentos p{
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.depinfouser h4{
    margin-top: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #5a5a5a;
}

/* AQUI ESTA A SECTION NUMEROS */

.numeros{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4rem 2rem;
    margin: 0;
}

.numerosbackground{
    display: flex;
    background-color: #4C83F3;
    border-radius: 20px;
    width: 100%;
    max-width: 1340px;
    padding: 6rem 2rem;
    flex-direction: column;
    color: white;
    align-items: center;
    justify-content: center;
}

.numeros h2{
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 0px;
    font-weight: 400;
    letter-spacing: -2px;
    margin-left: 7rem;
}

.numeroscont{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.numerosbox{
    transition: transform 0.3s ease, color 0.3s ease;
    text-align: center;
}

.numerosbox:hover{
    transform: scale(1.05);
}

.numerosbox h3{
    font-size: 60px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0px;
    text-align: start;
}

.numerosbox p{
    font-size: 18px;
    margin-bottom: 0px;
    letter-spacing: 1px;
    text-align: start;
}

/* AQUI ESTA A SECTION SOLUCOES */

.solucoes{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.solucoescont{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1340px;
}

.solucoescontbox{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 2;
    min-width: 63%;
}

.soculoestext{
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.soculoestext h2{
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.soculoestext a{
    font-size: 20px;
    border-bottom: 2px solid #1a1a1a;
    padding: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.soculoestext a:hover {
    opacity: 0.95;
}

.soculoestext a i {
    transition: transform 0.3s ease;
}

.soculoestext a:hover i {
    transform: translateX(5px);
}

.solucoesbox{
    flex: 1;
    min-width: 220px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.solucoesbox h3{
    font-size: 28px;
    margin-top: 12px;
}

.solucoesbox p{
    width: 100%;
    letter-spacing: 1px;
    font-size: 18px;
}

.solucoescontbox img{
    height: 80px;
    width: 80px;
}

#box1{
    border-radius: 10px;
    border: 1px solid #1a1a1a;
}

#box2{
    background-color: #4C83F3;
    border-radius: 10px;
    color: white;
}

#box3{
    background-color: #1a1a1a;
    border-radius: 10px;
    color: white;
}

/* AQUI ESTA A SECTION DESENVOLVER */

.desenvolver{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.desenvolvercont{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1340px;
    padding: 3rem 2rem;
    background-color: #FEE827;
    border-radius: 20px;
}

.desenvolvercont h2{
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 45rem;
    text-align: center;
    font-weight: 400;
    margin-top: 0;
    letter-spacing: -2px;
    color: #1a1a1a;
    margin-bottom: 52px;
}

.devboxcont {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 2rem;
}

.devbox{
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    text-align: center;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.devbox.visible {
    opacity: 1;
    transform: translateX(0);
}

.devbox .devnum{
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    height: 50px;
    width: 50px;
    border-radius: 10px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.devbox h3{
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.devbox p{
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* AQUI ESTA A SECTION PRODUTOS */

.produtos {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
    padding: 4rem 2rem;
}

.produtoscont {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1340px;
}

.produtosgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* AJUSTE: Voltando para o grid de 4 colunas original */
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

.produtos h2{
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -2px;
    font-weight: 400;
    margin-bottom: 0px;
    width: 100%;
}

.produtosgrid a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    height: 200px; /* AJUSTE: Altura original restaurada */
}

.produtosgrid a img {
    width: 100%;
    height: 100%; /* AJUSTE: Imagem preenche o contêiner de 200px */
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.produtosgrid a:hover img {
    opacity: 0.3;
    transform: scale(1.05);
}

.produtosgrid a h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    padding: 5px 10px;
    color: white;
    z-index: 2;
    background: none;
    font-size: 24px;
}

.produtosgrid a p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: left;
    z-index: 3;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 1px;
}

.produtosgrid a:hover p {
    opacity: 1;
}

.produtosgrid a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
    pointer-events: none;
}

.produtodestaque {
    grid-column: span 2;
    background-color: #4C83F3;
    color: white;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 200px; /* AJUSTE: Altura original restaurada */
}

.produtodestaque h3 {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 0px;
    font-family: 'Montserrat', sans-serif;
}

.botaoProdutos i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.botaoProdutos:hover i {
    transform: translateX(5px);
}

.produtodestaque a{
    background-color: #1a1a1a !important;
    padding: 20px 20px; /* AJUSTE: Padding original restaurado */
    border-radius: 8px;
    color: white;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produtodestaque a:hover{
    opacity: 95%;
}

.botaoProdutos::before,
.botaoProdutos::after {
    content: none !important;
    display: none !important;
}

/* AQUI ESTA A SECTION ACAO */

.acao{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 4rem 2rem;
}

.acaocont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1340px;
    min-height: 46vh;
    background-color: #4C83F3;
    border-radius: 20px;
    color: white;
    padding: 2rem;
}

.acaotext{
    flex: 1;
    min-width: 300px;
}

.acaotext h2 {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.acaotext p {
    font-size: 24px;
    font-weight: 400;
    width: 100%;
    max-width: 500px;
    margin-bottom: 24px;
}

.acao img{
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    object-fit: cover;

}

/* AQUI ESTA A SECTION FAQS */

.faqs {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.faqscont {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px; 
}

.faqs h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: -2px;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1rem;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    background-color: #ffffff;
    border: none;
    outline: none;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #4C83F3;
}

.faq-question .icon-container {
    transition: transform 0.4s ease;
}

.faq-item.active .faq-question .icon-container {
    transform: rotate(180deg);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease-out;
    padding: 0 1rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0 0 1rem 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1rem 1rem;
}


@media (max-width: 1024px) {

  /* MAIN */
  main h1 {
    font-size: 40px;
    width: 90%;
    letter-spacing: -1px;
  }

  main h2 {
    font-size: 18px;
    width: 90%;
    letter-spacing: 1px;
  }

  main h3 {
    font-size: 20px;
    width: 90%;
  }

  main img {
    width: 90%;
    height: auto;
    margin-bottom: 0px;
  }

  .background {
    width: 90vw;
    height: auto;
    padding: 2rem 1rem;
  }

iframe {
        position: relative;
        width: 80vw;
        height: 35vh;
        bottom: auto;
        transform: none;
        margin-top: 2rem;
        left: auto; /* << CORREÇÃO APLICADA AQUI */
        /* A linha 'bottom: 0%' não é necessária aqui */
    }

    iframe:hover {
        transform: none; /* Remove qualquer transformação ao passar o mouse */
        box-shadow: none; /* Opcional: remove a sombra também */
    }

  .devbox h3{
    font-size: 1rem;
  }

  /* CATEGORIAS */
  .categIcones {
    flex-wrap: wrap;
    height: auto;
    gap: 2rem;
    padding: 2rem 0;
    align-items: center;
    width: 100vw;
  }

  .categorias {
    width: 80px;
    margin-bottom: 1rem;
  }

  .categorias a img {
    width: 70px;
    height: 70px;
  }

  .categorias a {
    font-size: 16px;
  }

  /* DEPOIMENTOS */
  .depoimentos {
    height: auto;
    padding: 2rem 0;
  }

  .depoimentos h2 {
    font-size: 32px;
    text-align: center;
    width: 90%;
  }

  .depoimentos .sub {
    font-size: 18px;
    width: 90%;
  }

  .boxs {
    flex-direction: column;
  }

  .depbox {
    width: 90%;
  }

  /* NUMEROS */
  .numeros {
    height: auto;
    margin-bottom: 2rem;
  }

  .numerosbackground {
    width: 90vw;
    height: auto;
    padding: 2rem 1rem;
  }

  .numeros h2 {
    font-size: 32px;
    width: 90%;
  }

  .numeroscont {
    flex-direction: column;
    gap: 1rem;
    width: 90%;
    align-items: flex-start;
  }

  .numerosbox h3 {
    font-size: 40px;
  }

  .numerosbox p {
    font-size: 16px;
    text-align: center;
  }

  /* SOLUCOES */
  .solucoes {
    height: auto;
  }

  .solucoescont {
    flex-direction: column;
    width: 90vw;
  }

  .soculoestext {
    height: auto;
    margin: 0 0 2rem 0;
    align-items: center;
  }

  .soculoestext h2 {
    font-size: 32px;
    text-align: center;
    margin-top: 0px;
  }

  .soculoestext a {
    width: auto;
    font-size: 18px;
    justify-content: center;
    width: 50%;
  }

  .solucoescontbox {
    flex-direction: column;
    width: 100%;
  }

  .solucoesbox {
    width: 90%;
    height: auto;
    position: relative;
    text-align: center;
    align-items: center;
    padding: 3rem;
  }

  .solucoesbox p {
    position: relative;
    margin: 1rem 0 0 0;
    width: 100%;
  }

  .solucoescontbox img {
    position: relative;
    margin: 1rem 0 0 0;
  }

  /* DESENVOLVER */
  .desenvolver {
    height: auto;
  }

  .desenvolvercont {
    width: 90vw;
    height: auto;
    padding: 2rem 1rem;
  }

  .desenvolvercont h2 {
    font-size: 32px;
    width: 90%;
    margin-bottom: 2rem;
  }

  .devboxcont {
    flex-direction: column;
    gap: 2rem;
    width: 90%;
    align-items: center;

  }

  .devbox {
    width: 90%;
  }

  /* PRODUTOS */
  .produtoscont {
    width: 90vw;
  }

  .produtos h2 {
    font-size: 32px;
    width: 90%;
  }

  .produtosgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .produtodestaque {
    grid-column: span 2;
  }

  .produtodestaque {
    height: auto;
}

.botaoProdutos i {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.botaoProdutos:hover i {
    transform: translateX(5px);
}

.produtodestaque a{
    height: 15%;
}

.produtodestaque a:hover{
    opacity: 95%;
}

/* ACAO */
  .acao {
    height: auto;
    padding: 2rem 0;
  }

  .acaocont {
    flex-direction: column;
    width: 90vw;
    height: auto;
    padding: 2rem 1rem;
  }

  .acaotext {
    margin: 0 0 2rem 0;
    width: 100%;
    text-align: center;
  }

  .acaotext h2 {
    font-size: 32px;
  }

  .acaotext p {
    font-size: 18px;
    width: 100%;
  }

  .acao img {
    width: 90%;
    height: auto;
    margin: 0;
  }

  /* FAQS */
  .faqscont {
    width: 90vw;
  }

  .faqs h2 {
    font-size: 32px;
  }

  .faq-question {
    font-size: 18px;
  }
}


@media (min-width: 1025px) and (max-width: 1700px) {
  /* Recriando media query para os tamanhos específicos de tablet/telas médias */
  .categorias a img {
    height: 80px;
    width: 80px;
  }
  
  .produtosgrid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .produtodestaque {
    grid-column: span 3;
  }
}