/* Estilos Globais - Centro da Fala */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #91bf7d;
    --primary-dark: #7da96a;
    --primary-light: #a3cb91;
    --secondary: #f1ebdf;
    --secondary-dark: #e5dfd3;
    --tertiary: #516947;
    --tertiary-light: #6a8259;
    --dark: #333333;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #dddddd;
    --text: #444444;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--tertiary);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

.btn-secondary {
    background-color: var(--tertiary);
}

.btn-secondary:hover {
    background-color: var(--tertiary-light);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.section-title p {
    color: var(--tertiary);
    font-size: 1.1rem;
}

/* Animações */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  will-change: opacity, transform; /* Sinaliza ao navegador para otimizar */
}

.animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--light);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 60px;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--tertiary);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--tertiary);
    cursor: pointer;
}

/* Modificação para aplicar opacidade apenas à imagem de fundo, mantendo o conteúdo original */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    margin-top: 90px;
    overflow: hidden; /* Impede que elementos extravasem */
}

/* Camada de fundo com opacidade */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.25; /* Ajuste a opacidade conforme necessário (0.6 a 0.8 geralmente funciona bem) */
    z-index: -1;
}

/* Estilo original do texto, sem o card */
.hero-content {
    max-width: 600px;
    /* Remova qualquer background-color ou box-shadow que tenha sido adicionado */
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

/* Melhorias opcionais para aumentar a legibilidade do texto sobre fundo com opacidade */
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--tertiary);
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9); /* Aumentar contraste */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--tertiary);
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* Sombra sutil para maior contraste */
}

/* Mantém o estilo dos botões */
.hero-buttons {
    display: flex;
    gap: 15px;
}

/* CSS para telas menores - adapte conforme necessário */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--tertiary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--tertiary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* About Section */
.about-section {
    background-color: var(--light);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    flex: 1;
    min-width: 200px;
    background-color: var(--secondary);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.about-feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.about-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    background-color: var(--gray);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-content p {
    margin-bottom: 15px;
}

.services-more {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--secondary);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    text-align: center;
    padding: 20px;
    flex: 0 0 100%;
    box-sizing: border-box;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.testimonial-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.testimonial-button:hover {
    background-color: var(--primary-dark);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    position: absolute;
}

.testimonial-text::before {
    top: -10px;
    left: -15px;
}

.testimonial-text::after {
    bottom: -30px;
    right: -15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--tertiary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--tertiary-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--tertiary);
    color: var(--light);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--light);
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Solução simples - Ajusta a opacidade da camada existente e melhora o texto */

.page-banner {
    height: 300px;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 90px;
    position: relative;
}

/* Ajuste da camada escura existente - aumentando a opacidade */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Aumento da opacidade de 0.3 para 0.5 */
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Garantir que o conteúdo fique sobre a camada de opacidade */
.page-banner .container {
    position: relative;
    z-index: 2;
}

/* Melhorar o destaque do texto */
.page-banner h1 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 700;
    /* Sombra mais pronunciada para melhor legibilidade */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner p {
    color: var(--light);
    font-size: 1.3rem;
    /* Sombra para melhor legibilidade */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Adaptações para telas menores */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.2rem;
    }
    
    .page-banner p {
        font-size: 1.1rem;
    }
}

/* About Clinic Section */
.about-clinic-section {
    background-color: var(--light);
}

.about-clinic-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.about-clinic-image {
    flex: 1;
    min-width: 275px;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.about-clinic-text {
    flex: 1;
    min-width: 300px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
}

/* Professional Section */
.professional-section {
    background-color: var(--gray);
}

.professional-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.professional-education,
.professional-experience {
  flex: 1;
  min-width: 280px;
}

@media (max-width: 768px) {
  .professional-qualifications {
    flex-direction: column;
  }
}

.professional-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.professional-image {
  flex: 0 0 250px;  /* largura fixa recomendada */
  max-width: 250px; /* impede que passe disso */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.professional-content {
    flex: 2;
    min-width: 300px;
}

.professional-bio {
    margin-bottom: 30px;
}

.professional-education,
.professional-experience {
    margin-bottom: 20px;
}

.professional-education h3,
.professional-experience h3 {
    margin-bottom: 15px;
    color: var(--tertiary);
}

.professional-education ul,
.professional-experience ul {
    list-style-type: disc;
}

.professional-education li,
.professional-experience li {
    margin-bottom: 8px;
}

/* Services Detail Section */
.service-detail-section {
    background-color: var(--light);
}

.service-detail {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-dark);
}

.service-detail:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-detail-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.service-detail-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.service-detail-content {
    flex: 2;
    min-width: 300px;
}

.service-detail-content h3 {
    color: var(--tertiary);
    margin-bottom: 20px;
}

.service-detail-content p {
    margin-bottom: 20px;
}

.service-detail-content h4 {
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Appointment Section */
.appointment-section {
    background-color: var(--secondary);
}

.appointment-iframe-container {
    max-width: 800px;
    margin: 0 auto;
    height: 450px;
}

.appointment-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Appointment Process Section */
.appointment-process-section {
    background-color: var(--light);
}

.appointment-process {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.appointment-step {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background-color: var(--secondary);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.appointment-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.appointment-step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.appointment-step h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    background-color: var(--gray);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow);
    background-color: var(--light);
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--tertiary);
    transition: all 0.3s ease;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.faq-question.active {
    background-color: var(--primary-light);
}

.faq-question.active i {
    transform: rotate(180deg);
}

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

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* Contact Section */
.contact-section {
    background-color: var(--light);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-map {
  flex: 1;
  min-width: 300px;
  height: 400px; /* ou ajuste conforme o visual desejado */
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

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

.contact-social-link {
    width: 40px;
    height: 40px;
    background-color: var(--tertiary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-dark);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(145, 191, 125, 0.2);
}

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

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

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

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

/* Footer */
.footer {
    background-color: var(--tertiary);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-links,
.footer-services,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer h4 {
    color: var(--light);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
    margin: 0;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 15px;
    color: var(--primary);
}

.footer-contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: var(--light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--light);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-feature {
        min-width: 45%;
    }
    
    .service-detail-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light);
    flex-direction: column;
    padding: 0;
    max-height: 0; /* Usar max-height para animação mais suave */
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    box-shadow: none;
    opacity: 0;
  }
    
  .nav-menu.active {
    max-height: 400px; /* Altura máxima para animação */
    padding: 20px;
    opacity: 1;
    box-shadow: 0 5px 10px var(--shadow);
  }
    
    .nav-menu li {
        margin: 0 0 15px;
    }
    
    .nav-menu li:last-child {
        margin-bottom: 0;
    }
    
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-feature {
        min-width: 100%;
    }
    
    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .appointment-step {
        min-width: 100%;
    }

    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-clinic-image,
    .professional-image {
        margin-bottom: 20px;
    }
    
    .value-item {
        min-width: 100%;
    }
    
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

    
    .contact-info-content {
        text-align: center;
    }
    
    .contact-social {
        justify-content: center;
    }
}

/* Ajustes específicos solicitados pelo cliente */

/* Ajuste para a página Sobre */
.page-banner {
    margin-top: 90px;
    padding-top: 60px;
    height: 350px;
}

.about-clinic-section {
    padding-top: 60px;
}

.about-clinic-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Reduzir espaço entre Integração e Dra. Erika */
.about-values {
    margin-bottom: 30px;
}

/* Ajustar tamanho da imagem da Dra. Erika */
.professional-image {
    max-width: 300px;
}

.professional-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Melhorar formatação do texto da Dra. */
.professional-bio p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Ajustes para a página Serviços */
.service-detail-image {
    max-width: 350px;
    height: auto;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Ajuste para o botão Ver todos os Serviços */
.services-more {
    margin-top: 50px;
    padding-top: 20px;
}

/* Cards expansíveis para Agendamentos */
.faq-question {
    cursor: pointer;
    padding: 15px 20px;
    background-color: var(--secondary);
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: all 0.3s ease;
}

.faq-question.active {
    background-color: var(--primary-light);
}

.faq-question.active i {
    transform: rotate(180deg);
}

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

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

.appointment-step {
    padding-top: 50px;
}

/* Ajuste para a página Contato */
.contact-section {
    padding-top: 60px;
}

/* Adicionar ao final do CSS */
@media print {
  .header, .footer, .whatsapp-button, .back-to-top, .appointment-section {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .section {
    padding: 10pt 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }