/* Contact Hero */
.contact-hero {
    background: var(--gradient);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease;
}

/* Info Section */
.info-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.info-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 1.8rem;
    color: white;
}

.info-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1rem;
}

.info-card .btn {
    font-size: 0.9rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-form-container p {
    color: var(--gray);
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 117, 188, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.form-check input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check label {
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-check a {
    color: var(--blue);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

/* Form Alerts */
#formAlerts {
    margin: 20px 0;
}

.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Contact Sidebar */
.contact-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.sidebar-box h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-box h3 i {
    color: var(--blue);
    font-size: 1rem;
}

/* Horários */
.horarios-list {
    list-style: none;
}

.horarios-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.horarios-list li:last-child {
    border-bottom: none;
}

.horarios-list .dia {
    font-weight: 500;
    color: var(--dark);
}

.horarios-list .hora {
    color: var(--gray);
}

/* Social Links Vertical */
.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-vertical a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.social-links-vertical a:hover {
    background: var(--gradient);
    color: white;
    transform: translateX(5px);
}

.social-links-vertical a i {
    width: 20px;
    text-align: center;
}

/* FAQ List (Sidebar) */
.faq-list {
    list-style: none;
}

.faq-list li {
    margin-bottom: 12px;
}

.faq-list a {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.faq-list a:hover {
    color: var(--pink);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: white;
    border: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question.active {
    background: var(--gradient);
    color: white;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    display: none;
    overflow: hidden;
    background: white;
    color: var(--gray);
    line-height: 1.8;
}

.faq-answer {
    animation: slideDown 0.3s ease;
    padding: 20px 25px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Map */
.contact-map {
    padding: 80px 0;
    background: white;
}

.map-container {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1);
    transition: filter 0.3s;
}

.map-container:hover iframe {
    filter: grayscale(0);
}

/* Contact CTA */
.contact-cta {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-content .btn {
    background: var(--yellow);
    color: var(--dark);
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-content .btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    right: 20px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .info-section,
    .contact-form-section,
    .faq-section,
    .contact-map,
    .contact-cta {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}