/* Estilos para a página de contato */

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0, 48, 100, 0.8), rgba(0, 48, 100, 0.8)), url('../assets/images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.contact-hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-icon i {
    font-size: 32px;
    color: #fff;
}

.contact-info-title {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 20px;
}

.contact-info-content {
    color: #555;
    line-height: 1.6;
}

.contact-info-content p {
    margin-bottom: 10px;
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-tabs {
    background-color: #0056b3;
    padding: 15px 0;
    margin-bottom: 30px;
}

.map-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.map-tab-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.map-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.map-tab-btn:hover {
    color: #fff;
}

.map-tab-btn.active {
    color: #fff;
}

.map-tab-btn.active::after {
    width: 100%;
}

.map-content-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.map-content.active {
    opacity: 1;
    visibility: visible;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-overlay-title {
    font-size: 1.3rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.map-overlay-content {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.map-overlay-actions {
    display: flex;
    justify-content: flex-start;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    outline: none;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.05 3.125 6 7.075 9.95 3.125 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.privacy-policy {
    margin-top: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 5px;
    margin-right: 10px;
}

.privacy-link {
    color: #0056b3;
    text-decoration: underline;
}

.form-submit {
    margin-top: 20px;
    text-align: center;
}

.btn-submit {
    background-color: #0056b3;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #003d7a;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
    font-weight: 600;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-toggle i {
    color: #0056b3;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-toggle .fa-minus {
    display: none;
}

.faq-item.active .faq-toggle .fa-plus {
    display: none;
}

.faq-item.active .faq-toggle .fa-minus {
    display: block;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 48, 100, 0.9), rgba(0, 48, 100, 0.9)), url('../assets/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-whatsapp i {
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-content-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-content-container {
        height: 350px;
    }
    
    .map-overlay {
        top: 20px;
        left: 20px;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .map-content-container {
        height: 300px;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        max-width: none;
        margin: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Animation */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
