/* ===================================
   Life — Lançamento RSR
   Estilos responsivos
   =================================== */

/* Tablets */
@media screen and (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .section-title { font-size: 2rem; }
    .cta-title { font-size: 2rem; }

    .destaques-grid { grid-template-columns: repeat(2, 1fr); }
    .destaque-card:nth-child(2) { border-right: none; }

    .agende-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .local-wrapper { grid-template-columns: 1fr; }
    .local-mapa { min-height: 350px; }

    .section-padding { padding: 60px 0; }

    .footer-content { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media screen and (max-width: 768px) {
    /* Navegação */
    .nav-menu {
        position: fixed; top: 76px; left: -100%; width: 100%; height: calc(100vh - 76px);
        background-color: var(--cor-branco); flex-direction: column; justify-content: flex-start;
        padding: 30px 20px; gap: 0; box-shadow: 0 10px 30px var(--cor-sombra);
        transition: left 0.3s ease; overflow-y: auto;
    }
    .nav-menu.active { left: 0; }
    .nav-menu li { width: 100%; }
    .nav-link { display: block; padding: 15px 0; border-bottom: 1px solid #F0F0F0; font-size: 1.1rem; }
    .nav-link.active::after { display: none; }
    .btn-whatsapp-nav { width: 100%; justify-content: center; margin-top: 20px; }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    /* Hero */
    .hero { min-height: 90vh; }
    .hero-bg { background-position: center top; }
    .hero-overlay { background: linear-gradient(180deg, rgba(0, 31, 84, 0.15) 0%, rgba(0, 31, 84, 0.55) 55%, rgba(0, 31, 84, 0.85) 100%); }
    .hero-inner { max-width: 100%; margin-left: 0; align-items: center; text-align: center; justify-content: flex-end; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.15rem; }
    .hero-chamada { font-size: 1rem; }
    .hero-buttons { flex-direction: column; justify-content: center; width: 100%; }
    .hero-buttons .btn { width: 100%; }

    /* Seções */
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 1.7rem; }
    .section-header { margin-bottom: 35px; }

    /* Lazer */
    .lazer-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .lazer-img { height: 170px; }
    .lazer-content span { font-size: 0.9rem; }

    /* Apartamentos */
    .ap-bloco { padding: 24px; }
    .ap-nome { font-size: 1.6rem; }
    .ap-header { flex-direction: column; align-items: flex-start; }
    .ap-acoes { flex-direction: column; }
    .ap-acoes .btn { width: 100%; justify-content: center; }
    .galeria-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .galeria-item img { height: 140px; }

    /* Diferenciais */
    .diferenciais-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Agende */
    .agende-form-wrapper { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Localização */
    .local-info { padding: 30px 24px; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-title { font-size: 1.7rem; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn { width: 100%; }

    /* Parceiros */
    .parceiros-grid { gap: 30px; }

    /* Footer */
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-logo { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
    .footer-contact li { justify-content: center; text-align: left; }

    /* WhatsApp float */
    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; font-size: 1.6rem; }

    /* Localização */
    .conveniencias { grid-template-columns: 1fr; }

    /* Vagas */
    .vagas-inner { flex-direction: column; text-align: center; gap: 16px; }
    .vagas-text { max-width: 100%; }

    /* Lightbox */
    .lightbox-nav { width: 44px; height: 44px; font-size: 1.4rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-toolbar button, .lightbox-close { width: 42px; height: 42px; font-size: 1.05rem; }
    .lightbox-caption { bottom: 12px; padding: 10px 14px; }
    .lightbox-caption strong { font-size: 0.98rem; }
    .lightbox-caption span { font-size: 0.85rem; }
}

/* Lightbox: quando ampliado, permitir arrasto sem hover-transform em touch */
@media (hover: none) {
    .lazer-card:hover .lazer-expand { opacity: 1; transform: scale(1); }
}

/* Mobile pequeno */
@media screen and (max-width: 480px) {
    html { font-size: 14px; }
    .container { padding: 0 15px; }
    .logo-img { height: 40px; }
    .nav-menu { top: 66px; height: calc(100vh - 66px); }
    .hero-title { font-size: 2.3rem; }
    .destaques-grid { grid-template-columns: 1fr; }
    .destaque-card { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 18px; }
    .destaque-card:last-child { border-bottom: none; }
    .lazer-grid { grid-template-columns: 1fr; }
    .galeria-grid { grid-template-columns: 1fr; }
    .galeria-item img { height: 200px; }
    .btn { padding: 13px 26px; font-size: 0.95rem; }
}

/* Touch: remover hovers de transform */
@media (hover: none) {
    .lazer-card:hover .lazer-img,
    .galeria-item:hover img,
    .btn:hover, .diferencial-card:hover, .whatsapp-float:hover { transform: none; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-scroll, .whatsapp-float { animation: none; }
}
