@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Playfair+Display:ital@0;1&display=swap');

:root {
  --primary: #3265a0;
  --primary-dark: #234872;
  --foreground: #1e2226;
  --muted-fg: #69737d;
  --secondary: #f6f8fb;
  --border: #e2e8f0;
  --accent-bg: #d7e6f9;
  --white: #ffffff;
  --radius: 1rem;
  --font-sans: "Outfit", sans-serif;
  --font-serif: "Playfair Display", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  line-height: 1.6;
  background: var(--white);
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== ESPAÇAMENTO PADRÃO ENTRE BLOCOS =====
   Igual ao site original: cada <section> ocupa 100% da largura da tela,
   tem seu próprio padding vertical de 96px (top e bottom), e as seções se
   tocam sem gap entre si (gap real = 0). A separação visual vem da
   alternância de cor de fundo (branco / cinza claríssimo) e de uma borda
   fina entre elas — nunca de blocos "flutuantes" com cantos arredondados
   soltos dentro da seção. */
section {
  width: 100%;
  padding: 96px 0;
  border-top: 1px solid var(--border);
}
section:first-of-type { border-top: none; }
section.bg-alt { background: var(--secondary); }

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .container { padding: 0 20px; }

  /* Escala tipográfica reduzida: no desktop os títulos grandes ajudam a
     escanear a página rápido, mas em telas pequenas eles consomem espaço
     demais e empurram o conteúdo (como a foto do Hero) para muito longe. */
  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }
  p.lead { font-size: 16px !important; }
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
}

h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
h2 em, h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary);
}

p.lead {
  color: var(--muted-fg);
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: scale(1.02); opacity: .88; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 30px -10px rgba(50,101,160,.4); }
.btn-outline { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--secondary); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* HERO — proporção real medida no site original: ~58% texto / ~42% imagem */
.hero {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
  min-height: 56vh;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: auto; }
  .hero-image { order: -1; }
}
.hero h1 { font-size: 52px; margin-bottom: 24px; }
@media (max-width: 768px) { .hero h1 { margin-bottom: 16px; } }
.hero-badges { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 768px) { .hero-badges { margin-top: 24px; gap: 24px; } }
.hero-badge { font-size: 13px; color: var(--muted-fg); }
.hero-badge strong { display: block; color: var(--foreground); font-size: 15px; }
.hero-image { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; max-width: 540px; margin-left: auto; }
.hero-image img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-image { max-width: 100%; aspect-ratio: 16/10; } }

/* CARDS GRID (sintomas / especialidades) — fiel ao estilo original:
   ícone customizado, título serifado, linha divisória, seta no rodapé,
   leve elevação e opacidade no hover para indicar interatividade. */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 768px) { .grid-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; } }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
@media (max-width: 768px) { .card { padding: 20px; } }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -16px rgba(30, 34, 38, .18);
  opacity: .85;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) { .card-icon { width: 36px; height: 36px; margin-bottom: 12px; } }
.card-icon svg { width: 22px; height: 22px; }
@media (max-width: 768px) { .card-icon svg { width: 18px; height: 18px; } }
.card h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  margin-bottom: 10px;
}
@media (max-width: 768px) { .card h3 { font-size: 17px; margin-bottom: 6px; } }
.card p { color: var(--muted-fg); font-size: 14.5px; flex: 1; margin-bottom: 0; }
@media (max-width: 768px) { .card p { font-size: 14px; } }

/* SPECIALTIES grid: 3 columns on wide screens */
.grid-cards.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) { .grid-cards.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-cards.cols-3 { grid-template-columns: 1fr; } }

.card.highlight {
  background: var(--accent-bg);
  border-color: transparent;
}
.card.highlight h3 { color: var(--primary-dark); }

/* SPLIT SECTION (carro-chefe, convenios, sobre, equipe) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 900px) { .split-media img { aspect-ratio: 4/3; } }

/* Bloco de destaque (carro-chefe) — mesma estrutura de section, sem
   "flutuar": ocupa a section inteira com fundo próprio */
section.split-dark-section {
  background: var(--primary);
  color: white;
}
section.split-dark-section .eyebrow { color: #cfe1f7; }
section.split-dark-section p.lead { color: #e4edf8; }

/* DIFFERENTIALS — 4 colunas, centralizado, ícone grande acima do texto,
   igual ao layout do site original (não é grid de cards fechados) */
/* Cabeçalho de seção centralizado — usado em blocos de largura total
   (grades de cards, carrossel), seguindo o padrão do site original:
   texto+imagem lado a lado fica à esquerda, blocos "showcase" centralizam. */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-header-center .eyebrow { display: block; }
.section-header-center h2 { margin-bottom: 12px; }
.section-header-center p.lead { margin: 0 auto; }

.diff-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.diff-header .eyebrow { display: block; }
.diff-header h2 { margin-bottom: 0; }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
  row-gap: 48px;
}
@media (max-width: 1000px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.diff-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: transform .4s ease;
}
@media (max-width: 640px) { .diff-icon { width: 44px; height: 44px; margin-bottom: 12px; } }
.diff-icon svg { width: 100%; height: 100%; }
.diff-item:hover .diff-icon { transform: scale(1.1); }
.diff-item h3 { font-size: 17px; margin-bottom: 8px; }
.diff-item p { color: var(--muted-fg); font-size: 14px; }

/* TESTIMONIALS placeholder */
.testimonial-note {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted-fg);
  font-size: 14px;
  text-align: center;
}

/* TESTIMONIALS carousel */
.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 18px;
  color: var(--primary);
  cursor: pointer;
  transition: background .15s ease;
}
.carousel-arrow:hover { background: var(--secondary); }
.review-card {
  flex: 1;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.review-stars { color: #f5b301; font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.review-text { font-size: 15px; color: var(--foreground); max-width: 560px; margin-bottom: 16px; }
.review-name { font-size: 13px; color: var(--muted-fg); font-weight: 500; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; }
.dot.active { background: var(--primary); }
@media (max-width: 640px) {
  .reviews-carousel { gap: 12px; }
  .review-card { padding: 24px; }
  .carousel-arrow { width: 36px; height: 36px; }
}

/* CONTACT FORM */
.contact-info-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted-fg);
  transition: color .15s ease, border-color .15s ease;
}
.contact-icon svg { width: 19px; height: 19px; }
.contact-info-item:hover .contact-icon {
  color: var(--primary);
  border-color: var(--primary);
}
.contact-info-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-info-item p { font-size: 13.5px; color: var(--muted-fg); margin-bottom: 4px; }
.contact-hours { font-size: 12px; color: var(--muted-fg); }
.contact-info-item a { font-size: 13px; font-weight: 500; color: var(--primary); text-decoration: none; transition: opacity .15s ease; }
.contact-info-item a:hover { opacity: .7; }
.contact-info-item a.link-whatsapp { color: #1fae57; }
.social-handle { font-size: 13px; font-weight: 500; color: var(--muted-fg); display: inline-flex; align-items: center; gap: 6px; }
.social-handle svg { width: 15px; height: 15px; flex-shrink: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-card h3 { font-size: 20px; margin-bottom: 6px; }
.form-card p.note { color: var(--muted-fg); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: #a3adb8; }
.field textarea { min-height: 100px; resize: vertical; }
.form-status { font-size: 13px; margin-top: 12px; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #c0392b; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--muted-fg);
  font-size: 13px;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  z-index: 50;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }
