/* Estilos extraídos do HTML original */

/* Variáveis Globais */
:root {
  --ink: #10302b;
  --teal: #1c6b5e;
  --teal-700: #155246;
  --paper: #f6f4ee;
  --paper-2: #eef0ea;
  --sage: #dbe7e0;
  --honey: #d98a3d;
  --honey-soft: #f0c79a;
  --line: #d6d3c8;
  --muted: #5f6b65;
  --maxw: 1180px;
}

/* Reset e Configurações Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Tipografia */
h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Utilitários de Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.muted { color: var(--muted); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .97rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; transition: .2s; cursor: pointer;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-honey { background: var(--honey); color: #fff; }
.btn-honey:hover { background: #c2792f; transform: translateY(-2px); }

/* Header e Navegação */
header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 238, .88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.12rem; }
.brand .logo-img { width: auto; height: 40px; object-fit: contain; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--honey); flex: none; }
.brand small { display: block; font-family: "Hanken Grotesk", sans-serif; font-weight: 500; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.menu { display: flex; gap: 1.7rem; font-size: .93rem; font-weight: 500; }
.menu a { padding: .3rem 0; position: relative; }
.menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--honey); transition: .25s; }
.menu a:hover::after { width: 100%; }
.nav .cta { display: flex; align-items: center; gap: .6rem; }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Seção: Hero */
.hero { padding: 64px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); margin: .6rem 0 1rem; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.lead { font-size: 1.18rem; max-width: 34ch; color: var(--muted); margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 520px; object-fit: cover; border-radius: 18px; }
.hero-badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: var(--paper);
  padding: 1rem 1.3rem; border-radius: 14px; box-shadow: 0 18px 40px rgba(16, 48, 43, .25);
}
.hero-badge b { font-family: "Fraunces", serif; font-size: 1.7rem; display: block; line-height: 1; }
.hero-badge span { font-size: .78rem; letter-spacing: .06em; color: var(--honey-soft); }

/* Stats */
.stats { display: flex; gap: 2.4rem; margin-top: 54px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.stats .s b { font-family: "Fraunces", serif; font-size: 2rem; color: var(--teal); display: block; line-height: 1; }
.stats .s span { font-size: .82rem; color: var(--muted); }

/* Seção: Cards de Diferenciais (Values) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 80px 0; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; transition: .25s; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 48, 43, .08); }
.vcard .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--sage); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 16px; }
.vcard h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.vcard p { font-size: .95rem; color: var(--muted); }

/* Estrutura Base de Blocos */
section.block { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .5rem 0 .8rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Seção: Sobre */
.about { background: var(--ink); color: var(--paper); }
.about .eyebrow { color: var(--honey-soft); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.about-grid img { border-radius: 16px; height: 480px; width: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .6rem 0 1.3rem; }
.about p { color: #cdd8d2; margin-bottom: 1.1rem; font-size: 1.04rem; }
.about .founder { margin-top: 1.6rem; padding-left: 1.1rem; border-left: 3px solid var(--honey); font-style: italic; color: #e7efe9; }

/* Seção: Especialidades */
.spec-list { border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 24px; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: .25s; }
.spec:hover { background: #fff; padding-left: 20px; }
.spec .num { font-family: "Fraunces", serif; font-size: 1.1rem; color: var(--honey); }
.spec h3 { font-size: 1.5rem; font-weight: 400; }
.spec .tag { font-size: .85rem; color: var(--muted); text-align: right; max-width: 38ch; }

/* Seção: Equipe Médica */
.docs { background: var(--paper-2); }
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: .25s; }
.doc:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(16, 48, 43, .1); }
.doc .ph { aspect-ratio: 4/5; overflow: hidden; background: var(--sage); }
.doc .ph img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.doc:hover .ph img { transform: scale(1.05); }
.doc .body { padding: 18px 18px 22px; }
.doc .spec-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.doc h3 { font-size: 1.18rem; margin: .25rem 0 .55rem; font-weight: 500; }
.doc ul { list-style: none; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.doc ul li { padding-left: 14px; position: relative; margin-bottom: 3px; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--honey-soft); }

/* Seção: Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: block; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery a:hover img { transform: scale(1.06); }

/* Seção de Depoimentos Otimizada */
.testimonials-section { background: var(--paper); color: var(--ink); }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: .25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 48, 43, .06);
}
.testimonial-content { position: relative; }
.quote-mark {
  font-family: "Fraunces", serif;
  font-size: 5rem;
  color: var(--sage);
  position: absolute;
  top: -35px;
  left: -10px;
  line-height: 1;
  user-select: none;
  opacity: 0.6;
}
.testimonial-content p {
  position: relative;
  z-index: 2;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--paper-2);
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.author-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.author-info span {
  font-size: .85rem;
  color: var(--muted);
}

/* Bloco de Contato / CTA */
.contact { background: linear-gradient(135deg, var(--teal), var(--teal-700)); color: #fff; border-radius: 24px; padding: 64px 48px; text-align: center; margin: 90px auto; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.contact p { color: #d8ece6; max-width: 46ch; margin: 0 auto 2rem; font-size: 1.08rem; }
.contact .row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact .btn-ghost { border-color: #fff; color: #fff; }
.contact .btn-ghost:hover { background: #fff; color: var(--teal-700); }

/* Rodapé (Footer) */
footer.site { background: var(--ink); color: #bcccc5; padding: 60px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
footer .brand { color: var(--paper); }
footer h4 { font-family: "Hanken Grotesk", sans-serif; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-soft); margin-bottom: 1rem; }
footer a:hover { color: #fff; }
footer ul { list-style: none; line-height: 2; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top:22px; font-size: .85rem; color: #8ba49b; }

/* Seção de Localização */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-top: 40px; }
.location-info { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 40px 32px; }
.location-info h3 { font-size: 1.5rem; margin-bottom: 28px; color: var(--ink); }
.address-block, .contact-block { margin-bottom: 24px; }
.address-block p, .contact-block p { margin-bottom: 6px; font-size: 1rem; line-height: 1.6; }
.address-block p strong, .contact-block p strong { color: var(--teal); font-weight: 600; display: block; margin-bottom: 8px; }
.contact-block a { color: var(--teal); font-weight: 500; transition: .25s; }
.contact-block a:hover { color: var(--honey); }
.location-map { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(16, 48, 43, .12); }

/* Botão Flutuante do WhatsApp */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: .25s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive Media Queries */

/* Ajuste fino para o Header não quebrar entre 901px e 1100px */
@media (max-width: 1100px) {
  .menu { gap: 1.1rem; font-size: .88rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand small { font-size: .6rem; }
}

/* Novo ponto de quebra principal (antigo 900px) */
@media (max-width: 1024px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-media img { height: 400px; }
  .hero-badge { left: 14px; }
  
  /* Ajusta a equipe médica para 2 colunas antes que os cards esmaguem */
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  
  /* Ajusta os valores/diferenciais */
  .values { grid-template-columns: repeat(2, 1fr); margin: 60px 0; }
  
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: auto; }
  
  .location-grid { grid-template-columns: 1fr; }
  
  .foot-grid { grid-template-columns: 1fr 1fr; }
  
  /* Menu Mobile aciona em 1024px para evitar colisão com os botões */
  .menu { 
    display: none; 
    position: absolute; 
    top: 72px; 
    left: 0; 
    right: 0; 
    background: var(--paper); 
    flex-direction: column; 
    padding: 18px 24px; 
    gap: 1rem; 
    border-bottom: 1px solid var(--line); 
    box-shadow: 0 10px 20px rgba(0,0,0,.05);
  }
  .menu.open { display: flex; }
  .burger { display: block; }
  .nav .cta .btn-ghost { display: none; }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-card { padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .values, .doc-grid, .gallery { grid-template-columns: 1fr; }
  .gallery a:nth-child(1) { grid-column: auto; }
  .stats { flex-wrap: wrap; gap: 1.4rem; justify-content: space-between; }
  .spec { grid-template-columns: 40px 1fr; gap: 16px; }
  .spec .tag { display: none; }
  .contact { padding: 48px 24px; }
}

@media (prefers-reduced-motion: reduce) { 
  * { transition: none !important; scroll-behavior: auto !important; } 
}

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 4px; }