/* ===== RESPONSIVO - TABLET ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .busca-form {
        grid-template-columns: 1fr 1fr;
    }

    .busca-form button {
        grid-column: span 2;
    }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ===== RESPONSIVO - MOBILE ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3rem 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-plus {
        font-size: 1.5rem;
    }

    .busca-form {
        grid-template-columns: 1fr;
    }

    .busca-form button {
        grid-column: span 1;
    }

    .busca-box {
        padding: 1.5rem;
    }

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

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

    .sobre-badge {
        right: 1rem;
        bottom: 1rem;
        padding: 1rem 1.5rem;
    }

    .sobre-badge-number {
        font-size: 2.5rem;
    }

    .cta-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .back-to-top {
        right: 5rem;
        bottom: 1.5rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-text {
        display: none;
    }

    .nav-menu {
        width: 100%;
        max-width: 100%;
    }

    .hero-card-content {
        padding: 1rem;
    }

    .hero-card-content h3 {
        font-size: 1.2rem;
    }

    .hero-card-price {
        font-size: 1.4rem;
    }

    .imovel-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .imovel-footer .btn {
        width: 100%;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .cta-form-wrapper {
        padding: 1.5rem;
    }
}

/* Animações suaves para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
