/* Fale Conosco Specific Styles */
.main-content {
    position: relative;
    min-height: 100vh;
}

.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

.page-header {
    padding: 0 10px;
}

.contact-section {
    padding: 20px 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Contact Info */
.contact-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mass Schedule Card */
.mass-schedule-card {
    background: #fff;
    border-radius: 14px;
    padding: 27px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 32px;
    color: var(--primary-color);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
}

.schedule-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-icon svg {
    color: var(--primary-color);
    width: 27px;
    height: 27px;
}

.schedule-header h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #233b63;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.schedule-item {
    background: #f0f4ff;
    border-radius: 9px;
    padding: 16px;
}

.schedule-item h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #233b63;
    margin-bottom: 8px;
}

.schedule-item p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #364153;
    line-height: 1.4;
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.0rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    color: #4a5565;
    margin-bottom: 8px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(35, 59, 99, 0.1);
}

.form-textarea {
    resize: none;
    min-height: 150px;
}

.form-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #1a5084);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(35, 59, 99, 0.3) !important;
}

/* Garantir que o hover funcione após as animações */
.form-button.in-view.animation-complete {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.form-button.in-view.animation-complete:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(35, 59, 99, 0.3) !important;
}

.form-success, .form-error {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.map-section {
    padding: 60px 0;
    background: white;
}

.map-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #f3f4f6;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #6b7280;
    border: 2px dashed #d1d5db;
}

.map-placeholder svg {
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-form {
        padding: 40px 25px;
        width: 100%;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    
    .mass-schedule-card {
        padding: 20px;
    }
    
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
}