@font-face {
  font-family: "Fraunces";
  src: url("fontes/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fontes/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fontes/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --papel: #F8FBF9;
  --menta: #DFF2EC;
  --menta-2: #CDE9E1;
  --menta-forte: #8FD3C4;
  --verde: #0E6F60;
  --verde-escuro: #0A302B;
  --sol: #F4B23F;
  --mel: #8A5A05;
  --texto: #3B4A47;
  --texto-suave: #5E6F6B;
  --linha: #DCEDE8;
  --branco: #FFFFFF;

  --t-detalhe: 0.875rem;
  --t-texto: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-sub: clamp(1.3rem, 1.15rem + 0.6vw, 1.5rem);
  --t-secao: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --t-topo: clamp(2.6rem, 1.6rem + 3.6vw, 4.2rem);

  --titulo: "Fraunces", Georgia, serif;
  --texto-fonte: "Manrope", system-ui, sans-serif;
  --curva: cubic-bezier(0.16, 1, 0.3, 1);
  --envelope: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--texto-fonte);
  font-size: var(--t-texto);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--titulo);
  color: var(--verde-escuro);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0 0 1rem; text-wrap: pretty; max-width: 68ch; }

a { color: var(--verde); }

strong { color: var(--verde-escuro); font-weight: 700; }

img, svg, iframe { max-width: 100%; }

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--verde-escuro);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.pular:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
  border-radius: 4px;
}

.envelope {
  width: 100%;
  max-width: var(--envelope);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.envelope-estreito { max-width: 780px; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--verde);
  color: #fff;
  font-family: var(--texto-fonte);
  font-weight: 700;
  font-size: var(--t-texto);
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--verde);
  transition: background .2s var(--curva), transform .12s var(--curva), box-shadow .2s var(--curva);
  box-shadow: 0 10px 24px -12px rgba(14, 111, 96, .7);
}
.botao:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); }
.botao:active { transform: translateY(1px); }

.botao-secundario {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--verde-escuro);
  text-decoration: none;
  padding: 0.95rem 0.4rem;
  border-bottom: 2px solid var(--menta-forte);
  transition: border-color .2s var(--curva), color .2s var(--curva);
}
.botao-secundario:hover { border-color: var(--verde); color: var(--verde); }

.botao-largo { width: 100%; }
.botao-grande { padding: 1.15rem 2.2rem; }

/* ---------- Topo ---------- */
.topo {
  position: relative;
  background:
    radial-gradient(1100px 620px at 88% -6%, var(--menta) 0%, rgba(223, 242, 236, 0) 62%),
    var(--papel);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.faixa-topo {
  width: 100%;
  max-width: var(--envelope);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
  padding: 0.35rem 0;
}
.marca-icone { width: 38px; height: 38px; flex: none; }
.marca-nome {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: var(--t-sub);
  color: var(--verde-escuro);
  letter-spacing: -0.01em;
}
.marca-nome em { font-style: italic; color: var(--verde); }

.menu { display: flex; gap: 1.6rem; }
.menu a {
  color: var(--texto);
  text-decoration: none;
  font-size: var(--t-texto);
  font-weight: 400;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s var(--curva), color .2s var(--curva);
}
.menu a:hover { color: var(--verde); border-color: var(--menta-forte); }

.botao-nav { padding: 0.75rem 1.3rem; }

.topo-conteudo {
  width: 100%;
  max-width: var(--envelope);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.selo {
  display: inline-block;
  font-size: var(--t-detalhe);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
  background: rgba(143, 211, 196, .28);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
  max-width: none;
}

h1 {
  font-size: var(--t-topo);
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.topo-sub {
  font-size: var(--t-sub);
  color: var(--texto-suave);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.topo-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-bottom: 1.8rem;
}

.provas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.provas li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--t-detalhe);
  font-weight: 600;
  color: var(--texto-suave);
}
.provas svg { width: 18px; height: 18px; color: var(--verde); flex: none; }

.topo-arte { position: relative; }
.arte { display: block; width: 100%; height: auto; }

.arte-legenda {
  font-size: var(--t-detalhe);
  color: var(--texto-suave);
  text-align: center;
  margin: 0.4rem auto 0;
  max-width: 32ch;
}

.selo-flutuante {
  position: absolute;
  left: -0.5rem;
  bottom: 3rem;
  background: var(--branco);
  border: 2px solid var(--menta-2);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 18px 40px -22px rgba(10, 48, 43, .55);
  animation: flutuar 5s ease-in-out infinite;
}
.selo-flutuante-num {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: var(--t-sub);
  color: var(--mel);
}
.selo-flutuante-txt {
  font-size: var(--t-detalhe);
  font-weight: 600;
  color: var(--verde-escuro);
  line-height: 1.25;
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* animação de entrada: o sorriso se desenha */
.arte-sorriso {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: desenhar 1.1s var(--curva) 0.15s forwards;
}
.arte-dente { transform-box: fill-box; transform-origin: center; animation: aparecer .7s var(--curva) .55s both; }
.arte-brilho { transform-box: fill-box; transform-origin: center; animation: brilhar .7s var(--curva) .95s both; }
.arte-brilho-2 { animation-delay: 1.1s; }

@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes aparecer {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes brilhar {
  from { opacity: 0; transform: scale(.3) rotate(-25deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* ---------- Seções ---------- */
.secao { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.secao-menta { background: var(--menta); }
.secao-escura { background: var(--verde-escuro); color: #E8F3F0; }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura .onde-dados a { color: var(--menta-forte); }

.cabecalho-secao { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cabecalho-secao h2 { font-size: var(--t-secao); margin-bottom: 0.8rem; }
.cabecalho-secao p { font-size: var(--t-texto); color: var(--texto-suave); margin: 0; }
.cabecalho-centro { margin-left: auto; margin-right: auto; text-align: center; }
.cabecalho-centro p { margin-left: auto; margin-right: auto; }

/* ---------- Serviços ---------- */
.servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.servico {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--curva), box-shadow .25s var(--curva), border-color .25s var(--curva);
}
.servico:hover {
  transform: translateY(-4px);
  border-color: var(--menta-2);
  box-shadow: 0 22px 44px -28px rgba(10, 48, 43, .5);
}
.servico-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--menta);
  color: var(--verde);
  margin-bottom: 1.1rem;
}
.servico-icone svg { width: 32px; height: 32px; }
.servico h3 { font-size: var(--t-sub); margin-bottom: 0.5rem; }
.servico p { font-size: 1rem; color: var(--texto-suave); margin-bottom: 1.2rem; }
.servico-link {
  margin-top: auto;
  font-size: var(--t-texto);
  font-weight: 700;
  color: var(--verde);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid var(--menta-2);
  padding: 0.55rem 0 0.3rem;
  transition: border-color .2s var(--curva);
}
.servico-link:hover { border-color: var(--verde); }
.servico-infantil { background: #FFFBF1; border-color: #F6E4BE; }
.servico-infantil .servico-icone { background: #FCEBC8; color: var(--mel); }
.servico-infantil .servico-link { color: var(--mel); border-color: #F6E4BE; }
.servico-infantil .servico-link:hover { border-color: var(--mel); }

.servico-nota {
  background: var(--verde-escuro);
  color: #E8F3F0;
  border-radius: 22px;
  padding: 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
}
.servico-nota p { margin: 0; color: #CFE6E0; font-size: 1rem; }
.servico-nota .botao { background: var(--sol); border-color: var(--sol); color: var(--verde-escuro); box-shadow: none; }
.servico-nota .botao:hover { background: #fff; border-color: #fff; color: var(--verde-escuro); }

/* ---------- Passos ---------- */
.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: passo;
}
.passo {
  background: var(--branco);
  border-radius: 22px;
  padding: 2rem 1.6rem 1.8rem;
  position: relative;
}
.passo-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--verde);
  color: #fff;
  font-family: var(--titulo);
  font-weight: 600;
  font-size: var(--t-sub);
  margin-bottom: 1.1rem;
}
.passo h3 { font-size: var(--t-sub); margin-bottom: 0.5rem; }
.passo p { font-size: 1rem; color: var(--texto-suave); margin: 0; }

/* ---------- Clínica ---------- */
.envelope-duplo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.clinica-texto h2 { font-size: var(--t-secao); margin-bottom: 1.2rem; }
.clinica-texto p { color: var(--texto-suave); }

.lista-check {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.lista-check li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  color: var(--texto);
}
.lista-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.26em;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  border-radius: 50%;
  background: var(--menta);
  background: var(--verde);
}

.clinica-cartao {
  background: var(--menta);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}
.clinica-cartao-rotulo {
  font-size: var(--t-detalhe);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 0.6rem;
}
.clinica-cartao-nome {
  font-family: var(--titulo);
  font-size: var(--t-secao);
  font-weight: 600;
  color: var(--verde-escuro);
  margin-bottom: 0.8rem;
}
.clinica-cartao-info { font-size: 1rem; color: var(--texto-suave); margin-bottom: 0.6rem; }
.clinica-cartao hr { border: none; border-top: 1px solid var(--menta-2); margin: 1.4rem 0; }
.clinica-cartao .botao { margin-top: 1rem; }

/* ---------- Depoimentos ---------- */
.depoimentos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.depoimento {
  background: var(--branco);
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
  margin: 0;
  position: relative;
}
.depoimento-marca {
  display: inline-block;
  font-size: var(--t-detalhe);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mel);
  background: #FCEBC8;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.depoimento blockquote {
  margin: 0 0 1rem;
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 400;
  font-size: var(--t-sub);
  line-height: 1.5;
  color: var(--verde-escuro);
}
.depoimento figcaption { font-size: var(--t-detalhe); color: var(--texto-suave); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 16px;
  padding: 0.4rem 1.4rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 700;
  font-size: var(--t-texto);
  color: var(--verde-escuro);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--titulo);
  font-size: 1.6rem;
  color: var(--verde);
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 1.2rem; color: var(--texto-suave); font-size: 1rem; }

/* ---------- Onde ---------- */
.onde-texto h2 { font-size: var(--t-secao); margin-bottom: 1rem; }
.onde-texto > p { color: #B9D4CE; }
.onde-dados {
  margin: 1.8rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.onde-dados dt {
  font-size: var(--t-detalhe);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--menta-forte);
  margin-bottom: 0.35rem;
}
.onde-dados dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.onde-dados a { display: inline-block; padding: 0.6rem 0; text-decoration: none; }
.onde-dados a:hover { text-decoration: underline; }

.onde-mapa {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .08);
  min-height: 360px;
  background: var(--menta);
  display: flex;
  align-items: center;
  justify-content: center;
}
.onde-mapa > svg { display: block; width: 100%; height: 100%; min-height: 360px; }
.onde-mapa-link {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--branco);
  color: var(--verde-escuro);
  font-weight: 700;
  font-size: var(--t-texto);
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(10, 48, 43, .7);
  transition: background .2s var(--curva), color .2s var(--curva);
}
.onde-mapa-link svg { width: 20px; height: 20px; flex: none; color: var(--verde); }
.onde-mapa-link:hover { background: var(--sol); }
.onde-mapa-link:hover svg { color: var(--verde-escuro); }

/* ---------- Chamada final ---------- */
.chamada-final {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 120%, var(--menta) 0%, rgba(223, 242, 236, 0) 70%),
    var(--papel);
}
.chamada-final h2 { font-size: var(--t-secao); margin-bottom: 0.9rem; }
.chamada-final p { margin: 0 auto 2rem; color: var(--texto-suave); max-width: 46ch; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--verde-escuro); color: #CFE6E0; padding: 3rem 0 1.5rem; }
.rodape-grade {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.rodape p { font-size: var(--t-texto); margin: 0 0 0.4rem; color: #CFE6E0; }
.rodape a { color: var(--menta-forte); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape-nome { font-family: var(--titulo); font-size: var(--t-sub); font-weight: 600; color: #fff; margin-bottom: 0.6rem !important; }
.rodape-titulo { font-weight: 700; color: #fff; }
.rodape-fim { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.rodape-fim p { font-size: var(--t-detalhe); color: #8FB3AC; }

/* ---------- Botão flutuante (celular) ---------- */
.botao-flutuante {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--verde);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 34px -14px rgba(10, 48, 43, .8);
  transform: translateY(140%);
  transition: transform .35s var(--curva);
}
.botao-flutuante svg { width: 22px; height: 22px; flex: none; }
.botao-flutuante.visivel { transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .topo-conteudo { grid-template-columns: 1fr; }
  .topo-arte { max-width: 460px; margin: 1rem auto 0; }
  .servicos { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; }
  .depoimentos { grid-template-columns: 1fr; }
  .envelope-duplo { grid-template-columns: 1fr; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .menu { display: none; }
  .topo-sub { max-width: none; }
  .selo-flutuante { left: auto; right: 0.25rem; top: 0.25rem; bottom: auto; }
  .servicos { grid-template-columns: 1fr; }
  .onde-dados { grid-template-columns: 1fr; }
  .botao-flutuante { display: flex; }
  body { padding-bottom: 0; }
}

@media (max-width: 460px) {
  .faixa-topo { padding: 0.9rem 1.25rem; }
  .botao-nav { display: none; }
  .onde-mapa, .onde-mapa > svg { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arte-sorriso { stroke-dashoffset: 0; animation: none; }
  .arte-dente, .arte-brilho { animation: none; opacity: 1; transform: none; }
  .selo-flutuante { animation: none; }
  .botao-flutuante { transition: none; }
  .servico, .botao { transition: none; }
}
