/* CONTACT PAGE MOBILE FIX */

@media (max-width: 991px) {
    /* Contact Section Container */
    .contact-section {
        padding: 40px 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* Contact Grid - Empilhar verticalmente */
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    
    /* Contact Form - Full Width */
    .contact-form {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    /* Form Title */
    .contact-form h3 {
        font-size: 20px !important;
        margin-bottom: 25px !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    /* Form */
    .contact-form form {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Form Groups */
    .form-group {
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Form Inputs - FORÇA BRUTAL */
    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form input[type="tel"],
    .contact-form textarea,
    .form-group input,
    .form-group textarea,
    input#name,
    input#email,
    input#phone,
    input#subject,
    textarea#message {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
        height: auto !important;
        min-height: 50px !important;
        box-sizing: border-box !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        margin: 0 !important;
    }
    
    /* Textarea */
    .contact-form textarea,
    .form-group textarea,
    textarea#message {
        min-height: 150px !important;
        height: 150px !important;
    }
    
    /* Submit Button */
    .submit-btn,
    button[type="submit"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        margin-top: 10px !important;
        box-sizing: border-box !important;
    }
    
    /* Contact Info - Full Width */
    .contact-info {
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 20px !important;
        box-sizing: border-box !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        margin-top: 20px !important;
    }
    
    /* Contact Info Title */
    .contact-info h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        padding: 0 !important;
    }
    
    /* Contact Items */
    .contact-item {
        margin-bottom: 20px !important;
    }
    
    .contact-item-row {
        display: flex !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .contact-item i {
        font-size: 20px !important;
        min-width: 20px !important;
    }
    
    .contact-item p,
    .contact-item a {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    /* Map Section */
    .map-section {
        margin-top: 40px !important;
        padding: 0 !important;
    }
    
    .map-section h3 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
        padding: 0 20px !important;
    }
    
    .map-section iframe {
        width: 100% !important;
        height: 300px !important;
        border: none !important;
    }
    
    /* Hero Section */
    .hero-section {
        height: 50vh !important;
        min-height: 300px !important;
    }
    
    .hero-section h1 {
        font-size: 32px !important;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    .contact-form,
    .contact-info {
        padding: 20px 15px !important;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px !important;
        font-size: 15px !important;
    }
    
    .hero-section h1 {
        font-size: 28px !important;
    }
}
