

@media screen and (max-width: 1840px) {
    .desafio-titulo {
        max-width: unset;
    }

}

@media screen and (max-width: 1595px) {
    .banner-desafio{
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 30px;
    }

    .banner-text,
    .desafio-titulo,
    .desafio-item p,
    .desafio-item small,
    .config-titles {
        max-width: 100%;
    }

    .desafio-itens{
        width: 100%;
        grid-template-columns: 1fr;
    }
    .desafio-item{
        width: 100%;
    }

    .new-container{
        flex-direction: column;
        padding-top: 30px;
    }
    .integrations-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .funcionalidades-container{
        flex-direction: column;
        padding-top: 30px;
    }

    .funcionalidades-title {
        position: static;
        top: auto;
    }

    .config-banner{

        flex-direction: column;
        align-items: flex-start;
    }

    .faq-container {
        padding-bottom: 50px;
    }

    .testes-banner{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 0 ;
    }
    .testes-item{
        width: unset;
        flex: 1;
    }

    .links-page{
        display: none;
    }

}

@media screen and (max-width: 1279px) {

    .desafio-itens{
        grid-template-columns: 1fr;
    }

    .features{
        width: 100%;
        gap: 40px;
    }
    .features-item-reverse{
        width: 100%;
        max-width: 100%;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .features-item{
        width: 100%;
        flex-direction: column;
        max-width: 100%;
        gap: 30px;
    }
    .features-item-texts{
        max-width: 100%;
    }
    .features-item-img{
        text-align: center;
    }
    .features-item-img img {
        width: 100%;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .config-cards{
        width: 100%;
        flex-direction: column;
        justify-content: stretch;
    }

    .card-item{
        width: 100%;
        max-width: none;
    }
    .card-start {
        max-width: none;
        width: 100%;
    }

    .faq-banner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .faq-icon {
        position: static;
        justify-content: center;
    }

    .bf-banner {
        width: 100%;
        flex-direction: column;
        gap: clamp(1rem, 3vw, 1.5rem);
        padding: clamp(1.5rem, 4vw, 2rem);
        transform: rotate(0deg);
    }
    .bf-titles{
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items:flex-start ;
    }
    .bf-messages{
        width: 100%;
    }
    .bf-timer{
        flex-direction: column;
        align-items: flex-start;
    }
    .bf-img-bottom {
        bottom: -24px;
        right: 12px;
        width: min(96px, 20vw);
    }

    .bf-img-top {
        width: min(56px, 14vw);
        left: 12px;
        top: -28px;
    }
}

@media screen and (max-width: 1220px) {
    .nav-links {
        gap: 20px;
    }
}

/* Menu mobile + links: mesmo breakpoint (evita faixa 801–920px sem navegação) */
@media screen and (max-width: 960px) {
    .menu-toggle {
        display: block;
    }

    .nav-wrapper .logo .logo-mark {
        height: 38px;
        max-width: 48px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--dark-red);
        text-align: center;
        padding: 8px 0 20px;
        gap: 4px;
        margin-top: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        list-style: none;
        z-index: 999;
    }

    .nav-links li a,
    .nav-links li .btn-entrar-mobile,
    .nav-links li .btn-cadastrar-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 800px) {
    .testes-tags,
    .testes-tags-wp {
        flex-direction: column;
        align-items: stretch;
    }

    .tag-teste {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
    }

    .testes-item {
        gap: 32px;
        height: unset;
        max-width: 100%;
    }

    footer .credits {
        flex-direction: column;
    }

    .border-dashed-left,
    .border-dashed-right {
        height: clamp(48px, 10vw, 90px);
    }
}

@media screen and (max-width: 472px) {

    .testes-cards{
        flex-direction: column;
        gap: 12px;
    }

    .testes-item {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .integrations-panel {
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }

    .features-item,
    .features-item-reverse {
        padding: clamp(1.25rem, 4vw, 1.75rem);
    }

    .testes-titles h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    }
}
