/* Estilos para a Seção de Contato e Localização */

/* Seção de Contato */
.contact-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #6D6E71;
    font-family: 'Century Gothic', sans-serif;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #6D6E71;
    margin-bottom: 40px;
    text-align: center;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 800px;
    align-items: stretch;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 350px;
    background-color: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 200px;
}

.contact-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    width: 100%;
    flex-grow: 1;
    justify-content: center;
}

.contact-card-bottom {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}



.contact-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.contact-card:first-child .contact-icon {
    margin-top: -45px;
}



.contact-icon svg {
    width: 100%;
    height: 100%;
    fill: #1c2e40;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-phone, .contact-address {
    color: #6D6E71;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    margin: 10px 0;
    display: block;
    width: 100%;
}

.address-link {
    color: #6D6E71;
    text-decoration: none;
}

.contact-btn {
    background-color: #6D6E71;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
}

.contact-btn:hover {
    background-color: #5A5B5E;
    transform: translateY(-2px);
}

/* Seção do Consultório */
.consultorio-section {
    padding: 60px 20px;
    background-color: white;
}

.consultorio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.consultorio-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.consultorio-image {
    width: 100%;
    max-width: 350px;
    height: 450px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.consultorio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.consultorio-image:hover img {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 1024px) {
    .consultorio-images {
        flex-wrap: wrap;
    }
    
    .consultorio-image {
        max-width: 300px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .contact-card {
        max-width: 100%;
        width: 100%;
        height: auto; /* garante altura conforme conteúdo no mobile */
        overflow: visible; /* evita cortar o botão na base do card */
    }
    
    .contact-card:first-child .contact-icon {
        margin-top: 0;
    }
    
    .contact-info-minimal {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .contact-item {
        max-width: 100%;
    }
    
    .contact-text {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-link {
        margin-bottom: 5px;
    }
    
    .contact-buttons {
        height: auto;
        margin-top: 10px;
    }
    
    .consultorio-images {
        flex-direction: column;
        align-items: center;
    }
    
    .consultorio-image {
        max-width: 100%;
        height: 350px;
        margin-bottom: 20px;
    }
    
    .consultorio-image:nth-child(3) img {
        object-position: center bottom;
    }
}

/* Seção do Mapa */
.map-section {
    padding: 0;
    background-color: white;
    width: 100%;
}

.map-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.map-container iframe {
    width: 100%;
    height: 600px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 400px;
    }
}

/* Seção FAQ */
.faq-section {
    background-color: #EBE9E0;
    padding: 80px 20px;
    color: #6D6E71;
}

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

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #6D6E71;
}

.faq-subtitle {
    font-size: 1.2rem;
    color: #6D6E71;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-list {
    margin-bottom: 60px;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c2e40;
    transition: background-color 0.3s ease;
}

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

.faq-question span:first-child {
    flex: 1;
    margin-right: 20px;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6D6E71;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f8f9fa;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #1c2e40;
    line-height: 1.7;
    margin: 0;
    padding-top: 10px;
    font-size: 1rem;
}

.faq-cta {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.faq-cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #6D6E71;
}

.faq-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    justify-content: center;
}

.whatsapp-btn {
    background-color: #EEDDDE;
    color: #6D6E71;
}

.whatsapp-btn:hover {
    background-color: #DBC8C9;
    transform: translateY(-2px);
}

.schedule-btn {
    background-color: #887F75;
    color: white;
    border: 2px solid #887F75;
}

.schedule-btn:hover {
    background-color: #6f685f;
    color: white;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.phone-icon {
    width: 20px;
    height: 20px;
}

/* Responsividade FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-answer.active {
        padding: 0 25px 20px 25px;
    }
    
    .faq-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
}

/* Footer Styles */
.footer {
    background-color: #887F75;
    color: white;
    padding: 60px 0 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-social-title {
    margin-top: 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-content p {
    margin: 0;
    line-height: 1.6;
    color: white;
}

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #EBE9E0;
}

.footer-address {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(115, 145, 155, 0.3);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #6D6E71;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #ffffff;
    color: #6D6E71;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: #73919B;
    border-bottom-color: #73919B;
    padding-left: 10px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-img {
    max-width: 360px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-copyright {
    background-color: #6D6E71;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    margin: 0;
    color: white;
    font-size: 0.9rem;
}

.footer-copyright a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* Mobile adjustments for Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-nav a {
        padding: 8px 0;
    }
    
    .footer-nav a:hover {
        padding-left: 0;
    }
    
    .footer-logo {
        padding: 30px 0;
    }
    
    .footer-logo-img {
        max-width: 240px;
    }
    
    .footer-copyright {
        padding: 15px 20px;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-social {
        justify-content: center;
    }
}