@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: calc(100vh - 120px);
    font-family: var(--font-family);
    padding: 20px; /* Adiciona padding para evitar colagem nas bordas em telas pequenas */
}

.scroll-down-btn {
    font-size: 18px;
    border-radius: 20px;
    border: 1px solid var(--blue-color);
    padding: 8px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    transform: scale3d(1, 1, 1);
    transition: all 0.4s;
    background-color: #103a46b2;
    color: #6bacbe;
    text-decoration: none;
    margin-bottom: 60px;
}

.scroll-down-btn:hover {
    transform: scale3d(0.95, 0.95, 0.95);
}

.scroll-down-btn svg {
    margin-left: 8px;
    animation: arrow 1s infinite;
}

@keyframes arrow {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}

main h1 {
    font-size: 104px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 92%;
    text-align: center;
    color: #8ab2bd;
    opacity: 0;
    animation: fadeIn-h1 0.5s ease-in forwards;
    user-select: none;
}

main .t1 {
    color: #3ed5ff;
}

main p {
    font-size: 20px;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    text-align: center;
    color: var(--font-color);
    opacity: 0;
    animation: fadeIn-p 0.5s ease-in forwards;
}

main p span {
    display: inline-block;
    margin-right: 4px;
    opacity: 0;
    animation: fadeIn-p 0.5s ease-in forwards;
}

@keyframes fadeIn-h1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn-p {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Atrasos para cada h1 */
main h1:nth-child(2) { animation-delay: 0.2s; } /* INTELIGÊNCIA */
main h1:nth-child(3) { animation-delay: 0.4s; } /* ARTIFICIAL */
main h1:nth-child(4) { animation-delay: 0.6s; } /* SUPERANDO */
main h1:nth-child(5) { animation-delay: 0.8s; } /* INVESTIDORES */
main h1:nth-child(6) { animation-delay: 1.0s; margin-bottom: 32px; } /* HUMANOS! */

main p span:nth-child(1)  { animation-delay: 1.2s; } /* E */
main p span:nth-child(2)  { animation-delay: 1.3s; } /* a */
main p span:nth-child(3)  { animation-delay: 1.4s; } /* cada */
main p span:nth-child(4)  { animation-delay: 1.5s; } /* instante, */
main p span:nth-child(5)  { animation-delay: 1.6s; } /* a */
main p span:nth-child(6)  { animation-delay: 1.7s; } /* Rede */
main p span:nth-child(7)  { animation-delay: 1.8s; } /* Neural */
main p span:nth-child(8)  { animation-delay: 1.9s; } /* se */
main p span:nth-child(9)  { animation-delay: 2.0s; } /* torna */
main p span:nth-child(10) { animation-delay: 2.1s; } /* ainda */
main p span:nth-child(11) { animation-delay: 2.2s; } /* mais */
main p span:nth-child(12) { animation-delay: 2.3s; } /* PRECISA! */

main .btn {
    text-decoration: none;
    margin-top: 20px;
    border-radius: 12px;
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 700;
    border: solid 1px transparent;
    color: var(--background-color-2);
    font-family: Raleway, sans-serif;
    background-color: #3ed5ff;
    opacity: 0;
    animation: fadeIn-p 0.5s ease-in forwards;
    animation-delay: 2.4s;
    transition: all 0.25s;
}

main .btn:hover {
    background-color: transparent;
    border: solid 1px #3ed5ff;
    color: #3ed5ff;
}

/* Media Queries para Responsividade */

@media (max-width: 1768px) {
    main h1 {
        font-size: 90px; /* Reduz tamanho dos títulos */
        letter-spacing: -1px;
        line-height: 95%;
    }

    main p {
        font-size: 18px; /* Reduz tamanho do parágrafo */
    }

    .scroll-down-btn {
        font-size: 18px;
        padding: 8px 20px;
        margin-bottom: 50px;
    }

    main .btn {
        font-size: 16px;
        padding: 20px 28px;
    }
}

/* Laptops e telas menores (até 1024px) */

@media (max-width: 1524px) {
    main {
        min-height: calc(100vh - 100px); /* Ajusta altura */
        padding: 15px;
    }

    main h1 {
        font-size: 80px; /* Reduz tamanho dos títulos */
        letter-spacing: -1px;
        line-height: 95%;
    }

    main p {
        font-size: 18px; /* Reduz tamanho do parágrafo */
    }

    .scroll-down-btn {
        font-size: 18px;
        padding: 8px 20px;
        margin-bottom: 50px;
    }

    main .btn {
        font-size: 16px;
        padding: 20px 28px;
    }
}


/* Tablets e telas menores (até 768px) */
@media (max-width: 768px) {
    main {
        min-height: calc(100vh - 100px); /* Ajusta altura */
        padding: 15px;
    }

    main h1 {
        font-size: 60px; /* Reduz tamanho dos títulos */
        letter-spacing: -1px;
        line-height: 95%;
    }

    main p {
        font-size: 16px; /* Reduz tamanho do parágrafo */
    }

}

/* Smartphones (até 480px) */
@media (max-width: 480px) {
    main {
        padding: 10px;
    }

    main h1 {
        font-size: 40px; /* Títulos ainda menores */
        letter-spacing: -0.5px;
        line-height: 100%;
    }

    main p {
        font-size: 14px; /* Parágrafo menor */
    }

    .scroll-down-btn svg {
        width: 20px; /* Reduz o tamanho do ícone SVG */
        height: 20px;
    }

}
/* sobre nós */

.sobre-nos {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding-inline: 80px;
    margin-top: 80px;
    opacity: 0; /* Começa invisível até a animação */
    transition: opacity 0.3s ease; /* Transição suave para visibilidade */
}

.sobre-nos.visible {
    opacity: 1; /* Torna visível quando no viewport */
}

.sobre-nos h2 {
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    font-size: 72px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    color: #8ab2bd;
    line-height: 92%;
    opacity: 0;
    transform: translateY(30px); /* Começa deslocado para baixo */
    animation: none; /* Remove animação estática anterior */
}

.sobre-nos.visible h2 {
    animation: fadeInUp 0.6s ease-out forwards; /* Ativa animação quando visível */
}

.sobre-nos h2 span {
    color: #3ed5ff;
}

.sobre-nos p {
    font-size: 20px;
    line-height: 140%;
    font-family: Raleway, sans-serif;
    font-weight: 400;
    max-width: 580px;
    opacity: 0;
    transform: translateY(30px);
    animation: none;
    margin-bottom: 56px;
}

.sobre-nos.visible p {
    animation: fadeInUp 0.6s ease-out 0.2s forwards; /* Atraso de 0.2s */
}

.sobre-nos .info-box {
    width: 100%;
    background-color: #2d4850;
    border-radius: 30px;
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.sobre-nos.visible .info-box {
    animation: fadeInUp 0.6s ease-out 0.4s forwards; /* Atraso de 0.4s */
}

.sobre-nos .info-box .info {
    padding: 60px;
}

.sobre-nos .info-box .info .img {
    width: 88px;
    height: 88px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b5e68;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.sobre-nos.visible .info-box .info .img {
    animation: fadeInUp 0.6s ease-out 0.6s forwards; /* Atraso de 0.6s */
}

.sobre-nos .info-box .info .img svg {
    height: 40px;
    width: 40px;
}

.sobre-nos .info-box .info h3 {
    max-width: 456px;
    margin-bottom: 20px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    line-height: 92%;
    letter-spacing: -1px;
    font-size: 48px;
    text-transform: uppercase;
    color: #8ab2bd;
    opacity: 0;
    transform: translateY(20px);
}

.sobre-nos.visible .info-box .info h3 {
    animation: fadeInUp 0.6s ease-out 0.8s forwards; /* Atraso de 0.8s */
}

.sobre-nos .info-box .info p {
    opacity: 0; /* Ajustado para animação */
    margin-bottom: 0px;
    max-width: 500px;
    transform: translateY(20px);
}

.sobre-nos.visible .info-box .info p {
    animation: fadeInUp 0.6s ease-out 1s forwards; /* Atraso de 1s */
}

.sobre-nos .info-box video {
    width: 50%;
    object-fit: cover;
    border-radius: 28px;
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade (mantida, mas ajustada para animações) */
@media (max-width: 768px) {
    .sobre-nos {
        padding-inline: 40px;
        margin-top: 60px;
    }

    .sobre-nos h2 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .sobre-nos p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .sobre-nos .info-box {
        flex-direction: column;
        min-height: auto;
    }

    .sobre-nos .info-box .info {
        padding: 40px;
    }

    .sobre-nos .info-box .info .img {
        width: 70px;
        height: 70px;
        margin-bottom: 32px;
    }

    .sobre-nos .info-box .info .img svg {
        height: 32px;
        width: 32px;
    }

    .sobre-nos .info-box .info h3 {
        font-size: 36px;
        max-width: 100%;
    }

    .sobre-nos .info-box .info p {
        font-size: 16px;
        max-width: 100%;
    }

    .sobre-nos .info-box video {
        width: 100%;
        height: auto;
        border-radius: 0 0 28px 28px;
    }
}

@media (max-width: 480px) {
    .sobre-nos {
        padding-inline: 20px;
        margin-top: 40px;
    }

    .sobre-nos h2 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .sobre-nos p {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .sobre-nos .info-box {
        border-radius: 20px;
    }

    .sobre-nos .info-box .info {
        padding: 20px;
    }

    .sobre-nos .info-box .info .img {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }

    .sobre-nos .info-box .info .img svg {
        height: 28px;
        width: 28px;
    }

    .sobre-nos .info-box .info h3 {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .sobre-nos .info-box .info p {
        font-size: 14px;
    }

    .sobre-nos .info-box video {
        border-radius: 0 0 20px 20px;
    }
}

/* missão */

.missao {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding-inline: 80px;
    margin-top: 160px;
    min-height: 90vh;
    opacity: 0; /* Começa invisível */
    transition: opacity 0.3s ease; /* Transição suave */
}

.missao.visible {
    opacity: 1; /* Torna visível quando no viewport */
}

.missao h2 {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -1.5px;
    font-size: 72px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    color: #8ab2bd;
    line-height: 92%;
    transform: translateY(30px); /* Começa deslocado para baixo */
    opacity: 0;
    margin-bottom: 20px;
}

.missao.visible h2 {
    animation: fadeInUp 0.6s ease-out forwards; /* Animação ao entrar */
}

.missao h2 span {
    color: #3ed5ff;
}

.missao p {
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    opacity: 0; /* Ajustado para animação */
    max-width: 584px;
    margin-bottom: 56px;
    margin: 0 auto;
    width: 100%;
    transform: translateY(30px);
}

.missao.visible p {
    animation: fadeInUp 0.6s ease-out 0.2s forwards; /* Atraso de 0.2s */
}

.missao .cards {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    margin-top: 80px;
    display: flex;
    flex-direction: row;
    gap: 12px; /* Substitui margin-inline para melhor controle */
}

.missao .cards .card {
    background-color: #2d4850;
    width: 533px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px 32px 48px;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.missao.visible .cards .card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.4s forwards; /* Atraso de 0.4s */
}

.missao.visible .cards .card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.6s forwards; /* Atraso de 0.6s */
}

.missao.visible .cards .card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.8s forwards; /* Atraso de 0.8s */
}

.missao .cards .card .img {
    width: 200px;
    height: 200px;
    border-radius: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b5e68;
    margin: 32px;
    margin-bottom: 64px;
}

.missao .cards .card .img img {
    width: 264px;
    height: 264px;
}

.missao .cards .card h4 {
    letter-spacing: -0.8px;
    font-size: 40px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    line-height: 92%;
    text-align: center;
    margin-bottom: 20px;
    color: #8ab2bd; /* Adicionado para consistência */
}

.missao .cards .card p {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    opacity: 0.8; /* Ajustado para consistência */
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */

@media (max-width: 1200px) {
    .missao {
        padding-inline: 40px;
        margin-top: 120px;
        min-height: auto; /* Remove altura fixa */
    }

    .missao h2 {
        font-size: 48px;
        letter-spacing: -1px;
        margin-bottom: 40px;
    }

    .missao p {
        font-size: 16px;
        margin-bottom: 40px;
        max-width: 100%; /* Libera largura */
    }

    .missao .cards {
        flex-direction: column; /* Empilha os cards */
        margin-top: 40px;
        gap: 20px;
    }

    .missao .cards .card {
        width: 100%; /* Cards ocupam toda a largura */
        padding: 20px 24px 40px;
        margin-inline: 0;
    }

    .missao .cards .card .img {
        width: 150px;
        height: 150px;
        margin: 24px;
        margin-bottom: 48px;
    }

    .missao .cards .card .img img {
        width: 198px; /* Proporcional ao novo tamanho */
        height: 198px;
    }

    .missao .cards .card h4 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .missao .cards .card p {
        font-size: 16px;
    }
}

/* Smartphones (até 480px) */
@media (max-width: 480px) {
    .missao {
        padding-inline: 20px;
        margin-top: 80px;
    }

    .missao h2 {
        font-size: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 32px;
    }

    .missao p {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .missao .cards {
        margin-top: 32px;
        gap: 16px;
    }

    .missao .cards .card {
        padding: 16px 20px 32px;
        border-radius: 20px; /* Reduz borda */
    }

    .missao .cards .card .img {
        width: 120px;
        height: 120px;
        margin: 20px;
        margin-bottom: 40px;
    }

    .missao .cards .card .img img {
        width: 158px; /* Proporcional */
        height: 158px;
    }

    .missao .cards .card h4 {
        font-size: 24px;
    }

    .missao .cards .card p {
        font-size: 14px;
    }
}

/* feedbacks */

.feedbacks {
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding-inline: 80px;
    margin-top: 80px;
    position: relative;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedbacks.visible {
    opacity: 1;
}

.feedbacks h2 {
    margin-bottom: 112px;
    letter-spacing: -1.5px;
    font-size: 72px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    color: #8ab2bd;
    line-height: 92%;
    transform: translateY(30px);
    opacity: 0;
}

.feedbacks.visible h2 {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feedbacks h2 span {
    color: #3ed5ff;
}

.feedbacks .containers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feedbacks .containers .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 360px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.feedbacks.visible .containers .container:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.feedbacks.visible .containers .container:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.feedbacks.visible .containers .container:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.feedbacks.visible .containers .container:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}


.feedbacks .containers .container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.feedbacks .dark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        var(--background-color-2) 100% 
    );
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}

.feedbacks.visible .dark {
    animation: fadeIn 0.6s ease-out 0.8s forwards;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsividade */

/* Tablets e telas menores (até 768px) */
@media (max-width: 768px) {
    .feedbacks {
        padding-inline: 40px;
        margin-top: 60px;
    }

    .feedbacks h2 {
        font-size: 48px;
        letter-spacing: -1px;
        margin-bottom: 80px;
    }

    .feedbacks .containers {
        gap: 16px;
    }

    .feedbacks .containers .container {
        width: 45%;
        padding: 16px;
    }

    .feedbacks .dark {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.6) 100%
        );
    }
}

/* Smartphones (até 480px) */
@media (max-width: 480px) {
    .feedbacks {
        padding-inline: 20px;
        margin-top: 40px;
    }

    .feedbacks h2 {
        font-size: 36px;
        letter-spacing: -0.5px;
        margin-bottom: 60px;
    }

    .feedbacks .containers {
        flex-direction: column;
        gap: 12px;
    }

    .feedbacks .containers .container {
        width: 100%;
        padding: 12px;
        border-radius: 16px;
    }

    .feedbacks .containers .container img {
        border-radius: 8px;
    }

    .feedbacks .dark {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }
}

/* faq */

.faq {
    display: flex;
    flex-direction: column;
    max-width: 1680px;
    margin: 0 auto;
    width: 100%;
    padding-inline: 80px;
    margin-top: 80px;
    opacity: 0; /* Começa invisível */
    transition: opacity 0.3s ease; /* Transição suave */
}

.faq.visible {
    opacity: 1; /* Torna visível ao entrar no viewport */
}

.faq h2 {
    text-transform: uppercase;
    text-align: center;
    letter-spacing: -1.5px;
    font-size: 72px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    color: #8ab2bd;
    line-height: 92%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.faq.visible h2 {
    animation: fadeInUp 0.6s ease-out forwards; /* Animação ao entrar */
}

.faq h2 span {
    color: #3ed5ff;
}

.faq > p {
    font-size: 20px;
    line-height: 140%;
    text-align: center;
    font-family: Raleway, sans-serif;
    font-weight: 500;
    max-width: 584px;
    margin: 0 auto;
    margin-bottom: 56px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.faq.visible > p {
    animation: fadeInUp 0.6s ease-out 0.2s forwards; /* Atraso de 0.2s */
}

.faq .containers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 848px;
    margin: 0 auto;
    width: 100%;
}

.faq .container-pergunta {
    opacity: 0;
    transform: translateY(30px);
    background-color: #09222aa8;
    border-radius: 20px;
}

.faq.visible .container-pergunta:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.4s forwards; /* Atraso de 0.4s */
}

.faq.visible .container-pergunta:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.6s forwards; /* Atraso de 0.6s */
}

.faq.visible .container-pergunta:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.8s forwards; /* Atraso de 0.8s */
}

.faq.visible .container-pergunta:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 1s forwards; /* Atraso de 1s */
}

.faq .container-pergunta .pergunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #11404d;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq .container-pergunta .pergunta p {
    margin: 0;
    font-size: 20px;
    line-height: 140%;
    padding: 24px 32px;
    font-family: Raleway, sans-serif;
    font-weight: 600;
    color: #3ed5ff; /* Cor clara para contraste */
}

.faq .container-pergunta .pergunta button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 24px;
    background-color: #00495e;
}

.faq .container-pergunta .pergunta button .icon-plus{
    transition: all 0.3s ease;
}

.faq .container-pergunta.active .pergunta button .icon-plus {
    transform: rotate(45deg);
}

.faq .container-pergunta .resposta {
    max-height: 0; /* Começa com altura 0 */
    overflow: hidden; /* Esconde o conteúdo enquanto colapsado */
    padding: 0 24px; /* Padding inicial zero para altura correta */
    border-radius: 0 0 10px 10px;
    font-size: 16px;
    font-family: Raleway, sans-serif;
    font-weight: 400;
    color: #8ab2bd;
    opacity: 0; /* Começa invisível */
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out; /* Transição suave */
}

.faq .container-pergunta.active .resposta {
    max-height: 200px; /* Altura máxima suficiente para o conteúdo (ajuste conforme necessário) */
    opacity: 0.9; /* Torna visível */
    padding: 20px 24px; /* Padding quando aberto */
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */

/* Tablets e telas menores (até 768px) */
@media (max-width: 768px) {
    .faq {
        padding-inline: 40px;
        margin-top: 60px;
    }

    .faq h2 {
        font-size: 48px;
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .faq > p {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .faq .containers {
        gap: 12px;
    }

    .faq .container-pergunta .pergunta {
        padding: 16px 20px;
    }

    .faq .container-pergunta .pergunta p {
        font-size: 16px;
    }

    .faq .container-pergunta .resposta {
        padding: 16px 20px;
        font-size: 14px;
    }
}

/* Smartphones (até 480px) */
@media (max-width: 480px) {
    .faq {
        padding-inline: 20px;
        margin-top: 40px;
    }

    .faq h2 {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .faq > p {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .faq .containers {
        gap: 8px;
    }

    .faq .container-pergunta .pergunta {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .faq .container-pergunta.active .pergunta {
        border-radius: 8px 8px 0 0;
    }

    .faq .container-pergunta .pergunta p {
        font-size: 14px;
    }

    .faq .container-pergunta .resposta {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 0 0 8px 8px;
    }

    .faq .container-pergunta .pergunta button svg {
        width: 20px;
        height: 20px;
    }
}

/* stats-section */
.stats-section {
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
    margin-top: 0px;
    width: 100%;
    padding-inline: 80px;
    margin-top: 40px;
    overflow: hidden;
    margin-bottom: 80px;
    color: #8ab2bd;
    opacity: 0; /* Inicialmente invisível */
    transform: translateY(50px); /* Posição inicial antes da animação */
}

.stats-section.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Transição suave para a seção */
}

.stats-section h2 {
    margin-bottom: 112px;
    letter-spacing: -1.5px;
    font-size: 72px;
    font-family: Jost, sans-serif;
    font-weight: 800;
    color: #8ab2bd;
    line-height: 92%;
    transform: translateY(30px); /* Deslocamento inicial para o título */
    opacity: 0; /* Inicialmente invisível */
}

.stats-section.visible h2 {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards; /* Animação única para o título */
}

.stats-section h2 span {
    color: #3ed5ff;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: center;
}

.stat-item {
    background: rgba(30, 30, 30, 0.8);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    color: #3ed5ff;
    text-shadow: 0 0 10px #3ed5ff;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #8ab2bd;
    opacity: 0.9;
    line-height: 1.5;
}

#traders-count {
    animation: oscillate 3s infinite ease-in-out;
}

@keyframes oscillate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 900px) {
    .stats-section {
        padding: 40px 20px;
    }

    .stats-section h2, .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .stats-section h2, .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }
}