@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr 0.55fr;
    }

    .hero-features {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card,
    .service-card:nth-child(n + 5) {
        grid-column: span 1;
    }

    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .btn-header {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 82px;
        right: -100%;
        width: min(85%, 350px);
        height: calc(100vh - 82px);
        padding: 30px;
        flex-direction: column;
        background: var(--branco);
        box-shadow: -15px 20px 40px rgba(8, 42, 87, 0.14);
        transition: 0.3s ease;
    }

    .nav.active {
        right: 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-benefits,
    .hero-buttons {
        justify-content: center;
    }

    .hero-video {
        width: 100%;
        max-width: 340px;
        justify-self: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .section {
        padding: 65px 0;
    }

    .logo img {
        width: 155px;
        height: 54px;
    }

    .header-content {
        min-height: 72px;
    }

    .nav {
        top: 72px;
        height: calc(100vh - 72px);
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero-buttons,
    .hero-buttons .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        width: 145px;
        height: 82px;
    }

    .whatsapp-floating {
        right: 13px;
        bottom: 13px;
        padding: 11px 14px;
        font-size: 0.87rem;
    }
}
