@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

/* Caixa de conteúdo do modal */
.modal-content {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px;
  max-height: 60vh;
  padding: 1.5rem;
  position: relative;
  overflow-y: auto;
}

/* Título do modal */
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* Botão de fechar o modal */
.close-modal {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 1.5rem;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
}

.close-modal:hover {
  color: #1f2937;
}

/* Alinhamento central de texto */
.text-center {
  text-align: center;
}

/* Paleta de cores personalizada */
.bg-primary {
  background-color: #d94442;
}

.text-primary {
  color: #d94442;
}

.border-primary {
  border-color: #d94442;
}

.hover-bg-primary:hover {
  background-color: #d94442;
}

.hover-text-primary:hover {
  color: #d94442;
}

/* Ajuste para cartões com efeito de hover */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.205);
}

.transition-all {
  transition: all 0.3s ease;
}

/* Imagem da médica */
.medica-img {
  margin-left: flex;
  display: inline-block;
}

/* Ícone circular nos serviços */
.service-icon {
  width: 60px;
  height: 60px;
  background-color: #d94442;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* Foco nos campos de formulário */
input:focus,
textarea:focus {
  outline: none;
  border-color: #d94442;
  box-shadow: 0 0 0 1px #d94442;
}

/* Animações de entrada e saída dos modais */
.modal-enter {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-enter-active {
  opacity: 1;
  transform: scale(1);
}

.modal-leave {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-leave-active {
  opacity: 0;
  transform: scale(0.95);
}

/* Estilos específicos para a seção de locais */
.locais-card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.locais-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-buttons {
  margin-top: auto;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}

.btn-icon {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .card-buttons {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .buttons-area {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

/*
 * Classes semânticas para títulos, subtítulos, descrições e botões.
 * Essas classes substituem utilitários Tailwind como text-xl, font-bold
 * e margens para tornar o HTML mais limpo. As medidas aqui definidas
 * são baseadas na escala padrão do Tailwind (rem).
 */

/* Título no cabeçalho (logotipo) */
.header-title {
  font-size: 1.25rem; /* equivalente a text-xl */
  font-weight: 700;   /* font-bold */
  color: #1f2937;     /* text-gray-800 */
}

/* Título principal da seção hero */
.hero-title {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem; /* mb-4 */
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem; /* md:text-5xl */
  }
}

/* Subtítulo da seção hero */
.hero-subtitle {
  font-size: 1.5rem; /* text-2xl */
  color: #d94442;    /* text-primary */
  margin-bottom: 1.5rem; /* mb-6 */
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.875rem; /* md:text-3xl */
  }
}

/* Descrição da seção hero */
.hero-description {
  font-size: 1.125rem; /* text-lg */
  color: #4b5563;     /* text-gray-600 */
  margin-bottom: 2rem; /* mb-8 */
}

/* Botão de call-to-action */
.cta-button {
  background-color: #d94442; /* bg-primary */
  color: #ffffff;
  font-weight: 600; /* font-semibold */
  padding: 0.75rem 2rem; /* py-3 px-8 */
  border-radius: 9999px; /* rounded-full */
  transition: all 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.cta-button:hover {
  background-color: #d94442cc; /* hover:bg-opacity-90 */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Título de seção (h2) */
.section-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem; /* mb-12 */
  color: #1f2937;
}

/* Parágrafo padrão */
.paragraph {
  font-size: 1.125rem; /* text-lg */
  color: #4b5563;     /* text-gray-600 */
  margin-bottom: 1.5rem; /* mb-6 por padrão */
}

/* Título interno de cartões (h3) */
.card-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  margin-bottom: 0.5rem; /* mb-2 */
  color: #1f2937;
  text-align: center;
}

/* Títulos de serviços */
.service-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem; /* mb-4 */
  color: #1f2937;
}

/* Títulos das cartas de educação */
.education-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  margin-bottom: 0.75rem; /* mb-3 */
  color: #1f2937;
}

/* Utilitários de margem inferior customizados */
.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: 1rem; /* 16px */
}

.mb-6 {
  margin-bottom: 1.5rem; /* 24px */
}

.mb-8 {
  margin-bottom: 2rem; /* 32px */
}

.mb-12 {
  margin-bottom: 3rem; /* 48px */
}

/*
 * Utilitário para esconder elementos (por exemplo, menu móvel).
 */
.hidden {
  display: none !important;
}

/* Global styles */
body {
  color: #1f2937; /* substitui text-gray-800 */
  background-color: #f9fafb; /* substitui bg-gray-50 */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 55px;
  vertical-align: middle;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

/* Navigation */
.nav {
  display: none;
}

.nav-link {
  margin-left: 2rem;
  color: #4b5563;
  transition: color 0.3s ease;
}

.nav-link:first-child {
  margin-left: 0;
}

.nav-link:hover {
  color: #d94442;
}

.burger-button {
  font-size: 1.5rem;
  color: #4b5563;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  background-color: #ffffff;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  color: #4b5563;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #d94442;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }
  .burger-button {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* Hero section */
.hero-section {
  background: linear-gradient(to right, #ffffff, #f3f4f6);
  padding: 2rem 0;
}

.hero-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.hero-text {
  flex: 1;
  margin-bottom: 2.5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.doctor-img {
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
  }
  .hero-text {
    margin-bottom: 0;
    margin-right: 2rem;
  }
}

/* About section */
.about-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

.about-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.about-grid {
  display: grid;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-stats {
  flex: 1;
  background-color: #f3f4f6;
  padding: 2rem;
  border-radius: 0.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stat-icon {
  color: #d94442;
  font-size: 2rem; /* text-4xl approximated to 2rem? Actually 4xl ~ 2.25rem. We'll set 2rem for icon. */
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Services section */
.services-section {
  background-color: #f3f4f6;
  padding: 4rem 0;
}

.services-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.service-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.205);
}

.service-icon {
  width: 3.75rem; /* 60px */
  height: 3.75rem;
  border-radius: 50%;
  background-color: #d94442;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.938rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.icon-check {
  color: #d94442;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Education section */
.education-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

.education-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.education-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.education-card {
  background-color: #f9fafb;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.icon-area {
  height: 12rem;
  background-color: #d94442;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 3rem; /* text-5xl approximate 3rem */
}

.content-area {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.content-area button {
  margin-top: auto;
  color: #d94442;
  font-size: 0.875rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.content-area button:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .education-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Locations section */
.locations-section {
  background-color: #f3f4f6;
  padding: 4rem 0;
}

.locations-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.locations-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.location-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.location-card .paragraph:last-of-type {
  margin-bottom: 1rem;
}

.location-card .icon-area {
  height: 10rem;
  background-color: #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 3rem;
}

.buttons-area {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.btn-small {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.btn-whatsapp {
  background-color: #22c55e;
}

.btn-whatsapp:hover {
  background-color: #16a34a;
}

.btn-map {
  background-color: #3b82f6;
}

.btn-map:hover {
  background-color: #2563eb;
}

.btn-icon {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.site-footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 3rem 0;
}

.footer-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col ul,
.footer-col li {
  margin-bottom: 0.5rem;
}

.social-links a {
  margin-right: 1rem;
  color: inherit;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.social-links a:last-child {
  margin-right: 0;
}

.social-links a:hover {
  color: #d94442;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #d94442;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Float WhatsApp button */
.float-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #22c55e;
  color: #ffffff;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 50;
}

.float-whatsapp:hover {
  background-color: #16a34a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.float-whatsapp i {
  font-size: 2rem;
}

.about-list {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
  line-height: 1.6;
}

.about-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d94442;
  font-weight: 700;
}