/* ==========================================================
V6 PLAY - RESPONSIVIDADE
========================================================== */

/*
|--------------------------------------------------------------------------
| Proteções gerais para dispositivos móveis
|--------------------------------------------------------------------------
*/

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: block;
    visibility: visible;
    opacity: 1;
    overflow-x: hidden;
}

main {
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    min-height: 1px;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

/* ==========================================================
TABLETS E CELULARES
========================================================== */

@media (max-width: 900px) {

    html,
    body {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    main {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-container {
        position: relative;
    }

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
        cursor: pointer;
    }

    .main-menu {
        position: absolute;
        top: 75px;
        right: 0;
        left: 0;

        display: none;

        padding: 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;

        border: 1px solid var(--border);
        border-top: none;
        background: #050b05;
        box-shadow: var(--shadow);

        z-index: 1001;
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu > a {
        display: block;
        padding: 12px 10px;
        border-radius: 10px;
    }

    .main-menu > a:hover {
        background: rgba(24, 200, 122, 0.08);
    }

    .navbar-actions {
        display: grid;
        margin-top: 10px;
        margin-left: 0;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .navbar-actions .btn {
        width: 100%;
    }

    .hero-grid,
    .cards-grid,
    .steps-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .hero-card {
        width: 100%;
        min-width: 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================
CELULARES
========================================================== */

@media (max-width: 600px) {

    .container {
        width: 94%;
        max-width: 1200px;
        margin-right: auto;
        margin-left: auto;
    }

    .navbar-container {
        height: 68px;
    }

    .main-menu {
        top: 68px;
        width: 100%;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .site-logo {
        font-size: 19px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    .navbar-actions {
        grid-template-columns: 1fr;
    }

    .hero {
        width: 100%;
        overflow: hidden;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        line-height: 1.1;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-card {
        width: 100%;
        min-width: 0;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cards-grid,
    .steps-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .step-card,
    .plan-card {
        width: 100%;
        min-width: 0;
    }

    .cta-box {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }

    .cta-box .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 0;
    }

    .footer-bottom {
        font-size: 14px;
        text-align: center;
    }
}

/* ==========================================================
CELULARES PEQUENOS
========================================================== */

@media (max-width: 380px) {

    .container {
        width: 92%;
    }

    .site-logo {
        font-size: 17px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .hero-title {
        font-size: 30px;
    }

    .main-menu {
        padding: 16px;
    }
}