/* Reset e Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #334155;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Header - AGORA COM COR #1A1A1A */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1a1a1a;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  width: auto;
  max-width: 200px;
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #d97706;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  background: #1a1a1a;
  border-top: 1px solid #333333;
  padding: 1rem 0;
}

.nav-link-mobile {
  display: block;
  padding: 0.75rem 20px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-link-mobile:hover {
  background-color: #333333;
  color: #d97706;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: url("images/herohosana.png") center / cover; /* Nova imagem de fundo */
  background-attachment: fixed; /* Mantém a imagem fixa ao rolar */
  overflow: hidden;
  padding-top: calc(60px + 30px); /* Altura do header (aprox. 60px) + 30px de espaçamento */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* Overlay */
  z-index: 1; /* Garante que o overlay esteja abaixo do conteúdo */
}

.hero-content {
  position: relative;
  z-index: 2; /* Garante que o conteúdo esteja acima do overlay */
  text-align: center;
  color: white;
  max-width: 850px;
  padding: 0 5%; /* Padding em porcentagem para melhor responsividade */
  animation: fadeInUp 1s ease-out;
  overflow-wrap: break-word; /* Garante que palavras longas quebrem */
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem; /* Versão web */
  font-weight: 700; /* Bold */
  margin-bottom: 15px; /* Margem inferior ajustada */
  line-height: 1.2;
}

.hero-highlight {
  color: #fbbf24;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 0 auto 2rem auto; /* Centraliza e mantém margem inferior */
  opacity: 0.9;
  max-width: 80%; /* Largura máxima para evitar texto muito longo */
}

.btn-primary {
  display: inline-block;
  background: #d4af8f; /* Cor de fundo dourada contrastante */
  color: white;
  padding: 12px 30px; /* Padding ajustado */
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem; /* Mantido para desktop */
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 143, 0.3); /* Sombra ajustada para a nova cor */
  margin-top: 5px; /* Margem superior ajustada */
}

.btn-primary:hover {
  background: #b45309; /* Dourado mais escuro no hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 143, 0.4); /* Sombra ajustada no hover */
}

/* Diferenciais Section */
.diferenciais {
  padding: 5rem 0;
  background: #f3eae1;
}

.section-header {
  margin-bottom: 4rem;
}

/* DIFERENCIAIS GRID - 2 CARDS POR LINHA */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.diferencial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  gap: 1rem;
  height: 100%;
}

.diferencial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
  background: #fef3c7;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  transition: background-color 0.3s ease;
}

.diferencial-card:hover .card-icon {
  background: #fde68a;
}

.card-icon i {
  color: #d97706;
  font-size: 1.5rem;
}

.card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.card-content p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Serviços Section */
.servicos {
  padding: 5rem 0;
  background: #ffffff;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.servico-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 2rem;
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.servico-icon {
  background: #fef3c7;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.servico-icon i {
  color: #d97706;
  font-size: 2rem;
}

.servico-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-size: 1.25rem;
}

.servico-card ul {
  list-style: none;
  color: #64748b;
}

.servico-card li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Resultados Section */
.resultados {
  padding: 5rem 0;
  background: #ffffff;
}

.resultados-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 60px; /* Espaço para as setas */
}

.resultados-carousel {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1.5rem;
}

.resultado-slide {
  flex: 0 0 calc(33.333% - 1rem); /* 3 colunas com gap */
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
}

.resultado-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.resultado-slide img {
  width: 100%;
  height: 350px; /* Altura fixa de 350px */
  object-fit: cover;
  display: block;
}

.resultado-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.resultados-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.resultados-btn:hover {
  background: #f8fafc;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.resultados-btn.prev {
  left: 10px; /* Posição mais interna */
}

.resultados-btn.next {
  right: 10px; /* Posição mais interna */
}

.resultados-btn i {
  color: #1e293b;
  font-size: 1.2rem;
}

/* Ícone de lupa para zoom */
.zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.zoom-icon i {
  font-size: 1.5rem;
}

.resultado-slide:hover .zoom-icon {
  opacity: 1;
}

/* Depoimentos Section */
.depoimentos {
  padding: 5rem 0;
  background: #ffffff;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 3rem 2rem;
  text-align: center;
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card.active {
  display: block;
}

.quote-mark {
  font-size: 4rem;
  color: #fde68a;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.5rem;
}

.testimonial-name {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.testimonial-procedure {
  color: #d97706;
  font-style: italic;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #f8fafc;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -25px;
}

.carousel-btn.next {
  right: -25px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.dot.active {
  background: #d97706;
}

/* Nova Seção CTA */
.cta-section {
  padding: 60px 0;
  background: #f3eae1;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  background: #1e293b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Contato Section */
.contato {
  padding: 5rem 0;
  background: #ffffff;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  /* REMOVER: align-items: start; */ /* Permite que o mapa se estique */
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* INFO CARDS PADRONIZADOS */
.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.info-icon {
  background: #fef3c7;
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
}

.info-icon i {
  color: #d97706;
  font-size: 1.5rem;
}

.info-content h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-content p {
  color: #64748b;
  line-height: 1.6;
}

.info-content a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #b45309;
}

.mapa-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex; /* Adicionado para que o iframe ocupe 100% da altura */
}

.mapa-container iframe {
  width: 100%;
  height: 100%; /* ALTERADO: de 400px para 100% */
  border: none;
}

/* Footer - AGORA COM COR #1A1A1A */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

/* FOOTER GRID - 3 COLUNAS SEM LINKS RÁPIDOS */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 1rem;
  color: white;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section p {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-section address {
  color: #cbd5e1;
  line-height: 1.6;
  font-style: normal;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #fbbf24;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #475569;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #fbbf24;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #475569;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
}

/* WhatsApp Float Button com animação tada contínua */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: background-color 0.3s ease;
  z-index: 1000;
  animation: tada 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
}

/* Disclaimer */
.disclaimer {
  margin-top: 2rem;
  text-align: center;
}

.disclaimer p {
  color: #64748b;
  font-size: 0.9rem;
  font-style: italic;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tada {
  0%,
  100% {
    transform: scale(1);
  }
  10%,
  20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale(1.1) rotate(-3deg);
  }
}

/* Modal/Pop-up para Resultados */
.resultados-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.resultados-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: scaleIn 0.3s ease-out;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1e293b;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: white;
  transform: scale(1.1);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #1e293b;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
  left: 20px;
}

.modal-nav.next {
  right: 20px;
}

.modal-nav i {
  color: #1e293b;
}

/* Animações do modal */
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Nossa Clínica Section */
.nossa-clinica {
  padding: 5rem 0;
  background: #f8fafc;
}

.clinica-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.clinica-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: white;
  cursor: pointer;
}

.clinica-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.clinica-card img {
  width: 100%;
  height: 350px; /* Altura fixa de 350px */
  object-fit: cover;
  display: block;
}

.clinica-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.clinica-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.clinica-zoom-icon i {
  font-size: 1.5rem;
}

.clinica-card:hover .clinica-zoom-icon {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-mobile.active {
    display: block;
  }

  .hero {
    padding-top: calc(40px + 30px); /* Altura do header mobile (aprox. 40px) + 30px de espaçamento */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .diferencial-card {
    flex-direction: column;
    text-align: center;
  }

  /* NOVO: Centralizar e redimensionar ícones dos diferenciais no mobile */
  .diferencial-card .card-icon {
    width: 60px; /* GARANTIR: largura de 60px */
    margin: 0 auto 1rem; /* NOVO: centralizar horizontalmente e adicionar margem inferior */
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .resultado-slide {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .contato-grid {
    grid-template-columns: 1fr;
  }

  /* NOVO: Mostrar setas do carrossel de resultados no mobile */
  .resultados-btn {
    display: flex; /* ALTERADO: de none para flex */
    width: 40px; /* Ajuste de tamanho para mobile */
    height: 40px; /* Ajuste de tamanho para mobile */
  }

  .resultados-btn.prev {
    left: 5px; /* Ajuste de posição */
  }

  .resultados-btn.next {
    right: 5px; /* Ajuste de posição */
  }

  .resultados-btn i {
    font-size: 1rem; /* Ajuste de tamanho do ícone */
  }

  .carousel-btn {
    display: none; /* Manter oculto para depoimentos, se não for solicitado */
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    animation: tada 2s ease-in-out infinite;
  }

  .logo {
    height: 40px;
  }

  .nav-link-mobile {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero-content {
    padding: 10px 5%; /* Ajustado para 10px superior/inferior e 5% lateral */
  }
  .hero-title {
    font-size: 40px; /* Tamanho para mobile geral */
    margin-bottom: 15px;
  }
  .hero-subtitle {
    font-size: 16px; /* Tamanho para mobile geral */
    margin-bottom: 1.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .diferencial-card,
  .servico-card,
  .info-card {
    padding: 1.5rem;
  }
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .resultado-slide {
    flex: 0 0 100%;
  }
  .resultado-slide img {
    height: 280px; /* Altura reduzida para mobile */
  }
  .resultado-caption {
    font-size: 0.9rem;
    padding: 1.5rem 1rem 0.75rem;
  }
  .logo {
    height: 35px;
  }
  .footer-logo {
    max-width: 100px;
  }
  .resultados-btn {
    width: 35px;
    height: 35px;
  }
  .resultados-btn.prev {
    left: 5px;
  }
  .resultados-btn.next {
    right: 5px;
  }
  .resultados-btn i {
    font-size: 0.9rem;
  }
}

/* Ajustes específicos para iPhone 14 Pro Max (max-width: 430px) */
@media (max-width: 430px) {
  .hero-title {
    font-size: 42px; /* Máx. 32px */
  }
  .hero-subtitle {
    font-size: calc(32px * 0.6); /* 60% do título (~22.4px) */
  }
}

/* Ajustes específicos para iPhone XR/12 Pro (max-width: 390px) */
@media (max-width: 390px) {
  .hero-title {
    font-size: 28px; /* Máx. 28px */
  }
  .hero-subtitle {
    font-size: calc(28px * 0.6); /* 60% do título (~19.6px) */
  }
}

/* Ajustes específicos para Galaxy S20 (max-width: 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 36px; /* Máx. 24px */
  }
  .hero-subtitle {
    font-size: calc(24px * 0.6); /* 60% do título (~16.8px) */
  }
  .btn-primary {
    font-size: 0.9rem; /* Mantido entre 14px e 16px (~14.4px) */
    padding: 0.8rem 1.5rem; /* Ajuste de padding para o botão */
  }
}

/* Otimizações de performance */
img {
  max-width: 100%;
  height: auto;
}

.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy.loaded {
  opacity: 1;
}

/* Responsividade - Seção Resultados */
@media (max-width: 768px) {
  .resultados-carousel-container {
    padding: 0 50px; /* Menos padding em tablets */
  }

  .resultado-slide {
    flex: 0 0 calc(50% - 0.75rem); /* 2 colunas em tablets */
  }

  .resultado-slide img {
    height: 300px; /* Altura reduzida para tablet */
  }

  .resultado-caption {
    font-size: 0.8rem;
    padding: 1.5rem 0.75rem 0.75rem;
  }

  .zoom-icon {
    width: 40px;
    height: 40px;
  }

  .zoom-icon i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .resultados-carousel-container {
    padding: 0 40px; /* Ainda menos padding em mobile */
  }

  .resultado-slide {
    flex: 0 0 100%; /* 1 coluna em mobile */
    margin: 0 auto;
    max-width: 300px;
  }

  .resultado-slide img {
    height: 250px; /* Altura reduzida para mobile */
  }

  .resultado-caption {
    font-size: 0.8rem;
    padding: 1.25rem 0.5rem 0.5rem;
  }

  .zoom-icon {
    width: 35px;
    height: 35px;
  }

  .zoom-icon i {
    font-size: 1rem;
  }
}

/* Responsividade do modal */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }

  .modal-nav {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .modal-nav.prev {
    left: 15px;
  }

  .modal-nav.next {
    right: 15px;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    top: 10px;
    right: 10px;
    font-size: 1rem;
  }

  .modal-caption {
    font-size: 1rem;
    padding: 1.5rem 1rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-width: 98%;
    max-height: 80%;
  }

  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .modal-nav.prev {
    left: 10px;
  }

  .modal-nav.next {
    right: 10px;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
    font-size: 0.9rem;
  }
}

/* Responsividade - Nossa Clínica */
@media (max-width: 768px) {
  .clinica-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .clinica-card img {
    height: 300px; /* Altura reduzida para tablet */
  }

  .clinica-zoom-icon {
    width: 40px;
    height: 40px;
  }

  .clinica-zoom-icon i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .clinica-grid {
    grid-template-columns: 1fr;
  }

  .clinica-card {
    width: 80%;
    margin: 0 auto;
  }

  .clinica-card img {
    height: 250px; /* Altura reduzida para mobile */
  }

  .clinica-zoom-icon {
    width: 35px;
    height: 35px;
  }

  .clinica-zoom-icon i {
    font-size: 1rem;
  }
}

/* Media Query para iPhone XR/11 (max-width: 414px) em modo retrato */
@media only screen and (max-width: 414px) and (orientation: landscape) {
  .hero-title {
    font-size: 2.5rem; /* Tamanho de fonte específico para iPhone XR em retrato */
  }
  .nav-link-mobile {
    font-size: 0.7rem; /* Redução de 30% para o menu mobile em retrato */
  }
}

/* Smartphones pequenos - Modo Paisagem */
@media only screen and (max-height: 896px) and (orientation: landscape) {
  .hero-title {
    font-size: 2.8rem; /* Tamanho de fonte para modo paisagem */
  }
}

/* Menu de Navegação para celulares em modo horizontal (20% menor) */
@media only screen and (max-height: 414px) and (orientation: landscape) {
  .nav-link-mobile {
    font-size: 0.7rem; /* Redução de 30% para o menu mobile em paisagem */
  }
}


/* Desktop Básico (a partir de 1025px) */
@media only screen and (min-width: 1025px) {
  .hero-title {
    font-size: 3.5rem; /* Tamanho ideal para telas grandes */
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
}

/* Desktop Wide Screen (full HD e superior) */
@media only screen and (min-width: 1441px) {
  .hero-title {
    font-size: 3.5rem; /* Aumenta proporcionalmente */
    max-width: 1200px; /* Limita largura para melhor leitura */
    margin: 0 auto 2rem; /* Centraliza */
  }
}

/* Notebooks Pequenos (1025px-1280px) */
@media only screen and (min-width: 1025px) and (max-width: 1280px) {
  .hero-title {
    font-size: 3rem; /* Redução sutil para telas médias */
    padding: 0 2rem; /* Protege contra textos muito largos */
  }
}

@media only screen 
  and (max-width: 412px) 
  and (orientation: portrait) {
    .hero-title {
    font-size: 2.5rem;}
}