/* Responsividade para o projeto NEO */

/* Telas grandes (acima de 1440px) */
@media screen and (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
}

/* Tablets e dispositivos médios (até 1024px) */
@media screen and (max-width: 1024px) {

    /* Ajustes gerais */
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    /* Banner Section */
    .banner-card {
        width: 85%;
    }

    /* Second Section */
    .second-container {
        flex-direction: column;
        gap: 40px;
        height: auto;
    }

    .second-left,
    .second-right {
        width: 100%;
    }

    .second-right {
        height: 400px;
    }

    /* Third Section */
    .section-third {
        height: auto;
        padding: 30px 0;
    }

    .third-container {
        flex-direction: column;
        gap: 40px;
    }

    .third-left,
    .third-right {
        width: 100%;
    }

    .third-right {
        display: flex;
        justify-content: center;
    }


    /* Fourth Section */
    .section-fourth {
        height: auto;
        padding: 30px 0;
    }

    .fourth-container {
        gap: 40px;
    }

    .fourth-children-one {
        width: 90%;
    }

    .fourth-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .fourth-cards {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Fifth Section */
    .section-five {
        height: auto;
        padding: 30px 0;
    }

    .five-container {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }

    .five-left,
    .five-right {
        width: 100%;
    }

    .five-right {
        height: 400px;
    }

    /* Sixth Section */
    .section-six {
        height: auto;
        padding: 30px 0;
    }

    .six-children-one {
        width: 90%;
    }

    .six-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .six-card-business,
    .six-card-enterprise,
    .six-card-active {
        height: auto;
        padding: 40px 0;
    }
}

/* Dispositivos móveis (até 768px) */
@media screen and (max-width: 768px) {

    /* Ajustes gerais */
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    /* Banner Section */
    .section-banner {
        height: auto;
        padding: 100px 0 60px;
        overflow: hidden;
    }

    .banner-logo {
        margin-bottom: 20px;
    }

    .banner-logo img {
        max-width: 150px;
    }

    .banner-card {
        width: 100%;
        height: auto;
        padding: 30px 0;
    }

    .banner-button,
    .second-button,
    .third-button,
    .fourth-button {
        width: 100%;
        max-width: 100%;
    }

    .banner-button {
        font-size: 14px;
    }

    /* Second Section */
    .section-second {
        height: auto;
        padding: 30px 0;
        overflow: hidden;
    }

    .second-right {
        height: 300px;
    }

    /* Third Section */
    .section-third {
        overflow: hidden;
    }

    /* Fourth Section */
    .section-fourth {
        overflow: hidden;
    }

    /* Fifth Section */
    .section-five {
        overflow: hidden;
    }

    .five-cards {
        flex-direction: column;
        gap: 20px;
    }

    .five-right {
        height: 300px;
    }

    /* Sixth Section */
    .section-six {
        overflow: hidden;
        height: auto;
        padding: 30px 0;
    }

    .six-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .six-card-business,
    .six-card-enterprise,
    .six-card-active {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .six-children-one h2 {
        font-size: 32px;
    }

    /* Ajustes para os cards com listas */
    .min-card-content-business,
    .min-card-content-advanced,
    .min-card-content-enterprise {
        height: auto !important;
        min-height: 280px !important;
        padding: 20px;
    }

    .min-card-content-business li,
    .min-card-content-advanced li,
    .min-card-content-enterprise li {
        margin-bottom: 16px;
        padding: 5px 0;
    }

    .content-business-six-card,
    .content-advanced-six-card,
    .content-enterprise-six-card {
        gap: 20px;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    /* Footer */
    .section-footer {
        height: auto;
        max-height: none;
        padding: 40px 0;
        overflow: hidden;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info>div {
        width: 100%;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 15px;
    }

    .footer-copyright-right {
        flex-direction: column;
        gap: 10px;
    }

    /* Esconder nav-scroll em mobile */
    .fixed-nav {
        display: none !important;
    }
}

/* Dispositivos móveis pequenos (até 480px) */
@media screen and (max-width: 480px) {

    /* Ajustes gerais */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    /* Banner Section */
    .banner-logo img {
        max-width: 120px;
        margin-bottom: -40px;
    }

    /* Second Section */
    .second-right {
        height: 250px;
    }

    /* Third Section */
    .third-feature-list li {
        font-size: 14px;
    }

    /* Fourth Section */
    .fourth-bottom>div>h4 {
        font-size: 24px;
    }

    /* Fifth Section */
    .five-right {
        height: 350px;
    }

    /* Sixth Section */
    .pricing-toggle {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .toggle-container {
        width: 220px;
        max-width: 90%;
    }

    .toggle-option {
        padding: 10px 15px;
        font-size: 14px;
    }

    .section-six {
        height: auto;
        padding-bottom: 60px;
    }

    .six-card-business,
    .six-card-enterprise,
    .six-card-active {
        height: auto;
        padding: 40px 0;
    }

    /* Ajustes adicionais para os cards com listas em telas pequenas */
    .min-card-content-business,
    .min-card-content-advanced,
    .min-card-content-enterprise {
        min-height: 320px !important;
        padding: 15px;
    }

    .min-card-content-business li,
    .min-card-content-advanced li,
    .min-card-content-enterprise li {
        margin-bottom: 18px;
        line-height: 1.4;
    }

    .content-business-six-card,
    .content-advanced-six-card,
    .content-enterprise-six-card {
        padding: 15px 0;
    }
}

/* Ajustes para orientação paisagem em dispositivos móveis */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .section-banner {
        height: auto;
        padding: 30px 0;
    }

    .banner-card {
        height: auto;
        padding: 30px 0;
    }

    .second-container,
    .third-container,
    .five-container {
        height: auto;
        padding: 40px 0;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media screen and (max-width: 380px) {

    .min-card-content-business,
    .min-card-content-advanced,
    .min-card-content-enterprise {
        min-height: 350px !important;
    }
}

/* Correções para evitar overflow horizontal */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Garantir que elementos com posição absoluta não causem overflow */
section {
    position: relative;
    overflow: hidden;
}

/* Ajustes para o toggle button */
.toggle-container {
    overflow: hidden;
}
