/* ===== CORREÇÕES DE RESPONSIVIDADE MOBILE - BR2STUDIOS ===== */

/* ===== HERO SECTION - CORREÇÕES ===== */

/* Remover espaçamento entre header e hero no mobile */
@media (max-width: 768px) {
    .hero {
        margin-top: 70px !important;
        padding-top: 0 !important;
        height: 60vh !important; /* Reduzir altura da hero */
        min-height: 400px !important; /* Altura mínima menor */
        max-height: 500px !important; /* Altura máxima para evitar muito scroll */
    }
    
    .hero-slider {
        position: absolute;
        top: 0 !important;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-slider .slide {
        position: absolute;
        top: 0 !important;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-overlay {
        position: absolute;
        top: 0 !important;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-content {
        position: absolute;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        width: 90% !important;
        max-width: 400px !important;
        padding: 0 20px !important;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        margin-bottom: 15px !important;
        line-height: 1.1 !important;
        text-shadow: none !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
        text-shadow: none !important;
    }
    
    .hero-slides {
        margin-bottom: 20px !important;
    }
    
    .hero-slide h2 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        text-shadow: none !important;
    }
    
    .hero-slide p {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
        text-shadow: none !important;
    }
    
    .hero-stats {
        gap: 15px !important;
        margin-top: 15px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .stat-item {
        min-width: 70px !important;
    }
    
    .stat-number {
        font-size: 1.4rem !important;
        text-shadow: none !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
        text-shadow: none !important;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .hero {
        height: 55vh !important;
        min-height: 350px !important;
        max-height: 450px !important;
    }
    
    .hero-content {
        width: 95% !important;
        padding: 0 15px !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    .hero-slide h2 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }
    
    .hero-slide p {
        font-size: 0.8rem !important;
    }
    
    .hero-stats {
        gap: 12px !important;
        margin-top: 12px !important;
    }
    
    .stat-number {
        font-size: 1.2rem !important;
    }
    
    .stat-label {
        font-size: 0.65rem !important;
    }
}

/* ===== SEÇÃO "POR QUE ESCOLHER" - CORREÇÕES ===== */

@media (max-width: 768px) {
    .features-mobile {
        padding: 40px 0 !important;
    }
    
    .features-mobile .section-container {
        padding: 0 20px !important;
    }
    
    .features-mobile .section-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .features-mobile .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .features-mobile .section-header p {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }
    
    .features-grid-mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        align-items: center !important;
    }
    
    .feature-card-mobile {
        width: 100% !important;
        max-width: 350px !important;
        text-align: center !important;
        padding: 25px 20px !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #f0f0f0 !important;
    }
    
    .feature-icon-mobile {
        width: 60px !important;
        height: 60px !important;
        margin: 0 auto 20px auto !important;
        background: linear-gradient(135deg, #333333 0%, #666666 100%) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-size: 1.5rem !important;
    }
    
    .feature-card-mobile h3 {
        font-size: 1.2rem !important;
        margin-bottom: 15px !important;
        color: #333333 !important;
        font-weight: 600 !important;
    }
    
    .feature-card-mobile p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: #666666 !important;
        margin-bottom: 0 !important;
    }
}

/* ===== SEÇÃO DE IMÓVEIS MOBILE - CORREÇÕES ===== */

@media (max-width: 768px) {
    .properties-mobile {
        padding: 40px 0 !important;
    }
    
    .properties-mobile .section-container {
        padding: 0 20px !important;
    }
    
    .properties-mobile .section-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .properties-mobile .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .properties-mobile .section-header p {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }
    
    .properties-carousel-mobile {
        margin-bottom: 30px !important;
    }
    
    .property-card-mobile {
        margin: 0 10px !important;
        width: calc(100% - 20px) !important;
        max-width: 320px !important;
    }
}

/* ===== SEÇÃO DE TESTIMONIALS MOBILE - CORREÇÕES ===== */

@media (max-width: 768px) {
    .testimonials-mobile {
        padding: 40px 0 !important;
    }
    
    .testimonials-mobile .section-container {
        padding: 0 20px !important;
    }
    
    .testimonials-mobile .section-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .testimonials-mobile .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .testimonials-mobile .section-header p {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }
    
    .testimonial-content-mobile {
        padding: 25px 20px !important;
        text-align: center !important;
    }
    
    .testimonial-text-mobile {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    
    .testimonial-author-mobile {
        font-size: 1rem !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
    }
    
    .testimonial-role-mobile {
        font-size: 0.85rem !important;
        color: #666666 !important;
    }
}

/* ===== CORREÇÕES GERAIS DE ESPAÇAMENTO ===== */

@media (max-width: 768px) {
    /* Reduzir espaçamento geral das seções */
    .section-container {
        padding: 40px 0 !important;
    }
    
    /* Centralizar todos os headers de seção */
    .section-header {
        text-align: center !important;
        margin-bottom: 30px !important;
    }
    
    .section-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }
    
    /* Ajustar botões para mobile */
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
        text-align: center !important;
    }
    
    /* Ajustar espaçamento entre seções */
    section {
        margin-bottom: 0 !important;
    }
    
    section + section {
        margin-top: 0 !important;
    }
}

/* ===== CORREÇÕES PARA DESKTOP - HERO ===== */

@media (min-width: 769px) {
    .hero {
        height: 100vh !important;
        min-height: 600px !important;
    }
    
    .hero-content {
        max-width: 600px !important;
    }
    
    .hero-title {
        font-size: 3.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subtitle {
        font-size: 1.3rem !important;
        margin-bottom: 30px !important;
    }
    
    .hero-slide h2 {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-slide p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    .hero-stats {
        gap: 30px !important;
        margin-top: 30px !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
}

/* ===== REMOVER SOMBRAS NO MOBILE ===== */

@media (max-width: 768px) {
    .hero * {
        text-shadow: none !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-slide h2,
    .hero-slide p,
    .stat-number,
    .stat-label {
        text-shadow: none !important;
    }
}
