/* Sorriso Leve — folha de estilo */

@font-face {
  font-family: "Lora";
  src: url("fontes/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fontes/work-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tinta: #123B37;
  --verde: #1F5F4A;
  --verde-escuro: #16402F;
  --menta: #E3F0EA;
  --menta-forte: #D2E8DF;
  --papel: #F7FAF8;
  --branco: #FFFFFF;
  --sol: #F4B740;
  --sol-suave: #FCEBC6;

  --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.15rem, 1.35rem + 4.4vw, 3.9rem);

  --largura: 1140px;
  --raio: 18px;
  --raio-g: 28px;
  --sombra: 0 18px 40px -28px rgba(22, 64, 47, .45);
  --sombra-forte: 0 26px 60px -30px rgba(22, 64, 47, .55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: var(--t-texto);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Lora", Georgia, serif;
  color: var(--tinta);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--t-topo); font-weight: 700; }
h2 { font-size: var(--t-secao); font-weight: 600; }
h3 { font-size: var(--t-sub); font-weight: 600; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
a { color: var(--verde); }

.wrap {
  width: min(100% - 2.5rem, var(--largura));
  margin-inline: auto;
}
.wrap--estreito { width: min(100% - 2.5rem, 820px); }

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

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

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: var(--t-texto);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  padding: 1.05rem 1.6rem;
  min-height: 52px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.botao--principal {
  background: var(--verde);
  color: #fff;
  box-shadow: var(--sombra);
}
.botao--principal:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
  box-shadow: var(--sombra-forte);
}
.botao--secundario {
  background: transparent;
  color: var(--verde);
  border-color: rgba(31, 95, 74, .35);
}
.botao--secundario:hover {
  border-color: var(--verde);
  background: rgba(31, 95, 74, .06);
  transform: translateY(-2px);
}
.botao--claro {
  background: var(--branco);
  color: var(--verde-escuro);
}
.botao--claro:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .5);
}
.botao--largo { width: 100%; }

/* ---------- Topo fixo ---------- */
.topo-barra {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 250, 248, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 59, 55, .08);
}
.topo-barra__linha {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .7rem 0;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--tinta);
  margin-right: auto;
}
.marca__icone { width: 40px; height: 40px; display: block; flex: none; }
.marca__icone svg { width: 100%; height: 100%; display: block; }
.marca__nome {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: var(--t-sub);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.marca__nome small {
  font-family: "Work Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--t-detalhe);
  letter-spacing: .02em;
  color: var(--verde);
  text-transform: none;
}
.menu {
  display: flex;
  gap: 1.6rem;
  font-weight: 500;
}
.menu a {
  color: var(--tinta);
  text-decoration: none;
  font-size: var(--t-detalhe);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.menu a:hover { border-color: var(--sol); color: var(--verde-escuro); }
.topo-barra__botao { padding: .8rem 1.25rem; min-height: 46px; }

/* ---------- Herói ---------- */
.heroi {
  position: relative;
  padding: clamp(2rem, 4vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.heroi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    radial-gradient(120% 70% at 78% 8%, rgba(244, 183, 64, .16), transparent 60%),
    radial-gradient(90% 60% at 6% 30%, rgba(31, 95, 74, .09), transparent 65%);
  z-index: -1;
}
.heroi__grade {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.heroi__texto { max-width: 40rem; }
.pulso {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--sol-suave);
  color: var(--verde-escuro);
  font-weight: 600;
  font-size: var(--t-detalhe);
  padding: .45rem .95rem .45rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.pulso svg { width: 18px; height: 18px; flex: none; }
.heroi h1 { margin-bottom: 1.2rem; }
.heroi__sub {
  font-size: var(--t-texto);
  line-height: 1.6;
  color: #2c5951;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.heroi__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1.8rem;
}
.confianca {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.5rem;
  font-size: var(--t-detalhe);
  color: #37655d;
}
.confianca li {
  position: relative;
  padding-left: 1.3rem;
}
.confianca li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--sol);
}

.heroi__arte { justify-self: center; width: 100%; max-width: 440px; }
.emblema { width: 100%; height: auto; display: block; animation: flutuar 7s ease-in-out infinite; }

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

/* ---------- Seções ---------- */
.secao { padding: clamp(3.2rem, 6vw, 6rem) 0; }
#tratamentos, #como-funciona, #clinica, #duvidas, #onde-fica { scroll-margin-top: 92px; }
.secao__cabeca { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.secao__cabeca--centro { margin-inline: auto; text-align: center; }
.secao__apoio {
  margin-top: 1rem;
  font-size: var(--t-texto);
  color: #2c5951;
}

/* Serviços */
.secao--servicos { background: var(--branco); }
.servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.servico {
  background: var(--papel);
  border: 1px solid rgba(18, 59, 55, .08);
  border-radius: var(--raio);
  padding: 1.75rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.servico:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra);
  border-color: rgba(31, 95, 74, .25);
}
.servico__icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--menta);
  color: var(--verde);
  margin-bottom: 1.1rem;
}
.servico__icone svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.servico h3 { margin-bottom: .55rem; }
.servico p { color: #2c5951; }

.servicos__chamada {
  background: var(--menta);
  border-radius: var(--raio);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
}
.servicos__chamada p {
  font-family: "Lora", Georgia, serif;
  font-size: var(--t-sub);
  line-height: 1.3;
  color: var(--verde-escuro);
  max-width: 22rem;
  margin: 0;
}
.servicos__chamada .botao { width: 100%; }

/* Passos */
.secao--passos { background: linear-gradient(180deg, var(--papel), var(--menta)); }
.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: var(--raio);
  padding: 2rem 1.6rem 1.8rem;
  box-shadow: 0 12px 30px -26px rgba(22, 64, 47, .6);
  position: relative;
}
.passo__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sol);
  color: var(--verde-escuro);
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: var(--t-sub);
  margin-bottom: 1.1rem;
}
.passo h3 { margin-bottom: .5rem; }
.passo p { color: #2c5951; }

/* Clínica */
.secao--clinica { background: var(--branco); }
.clinica {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.clinica__retrato { max-width: 380px; }
.clinica__retrato svg { width: 100%; height: auto; display: block; border-radius: var(--raio-g); }
.clinica__legenda {
  margin-top: .9rem;
  font-size: var(--t-detalhe);
  color: #4d7a72;
  text-align: center;
}
.clinica__texto p { margin-top: 1.1rem; color: #2c5951; max-width: 60ch; }
.clinica__texto strong { font-weight: 600; }
.ficha {
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}
.ficha div { min-width: 8rem; }
.ficha dt {
  font-size: var(--t-detalhe);
  color: var(--verde);
  font-weight: 600;
  margin-bottom: .15rem;
}
.ficha dd { margin: 0; font-weight: 500; }

/* Dúvidas */
.secao--duvidas { background: var(--papel); }
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq__item {
  background: var(--branco);
  border: 1px solid rgba(18, 59, 55, .1);
  border-radius: 14px;
  padding: 0 1.4rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: rgba(31, 95, 74, .3); box-shadow: var(--sombra); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-family: "Lora", Georgia, serif;
  font-size: var(--t-texto);
  font-weight: 600;
  color: var(--tinta);
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-right: 2.5px solid var(--verde);
  border-bottom: 2.5px solid var(--verde);
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__item p {
  padding: 0 1.5rem 1.4rem 0;
  color: #2c5951;
  margin: 0;
}

/* Onde fica */
.secao--onde { background: var(--branco); }
.onde {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.onde__texto > p { margin-top: 1rem; color: #2c5951; max-width: 45ch; }
.onde__lista {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.onde__lista li { padding-top: 1.5rem; border-top: 1px solid rgba(18, 59, 55, .12); }
.onde__rotulo {
  display: block;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: var(--t-detalhe);
  font-weight: 600;
  color: var(--verde);
  margin-bottom: .35rem;
}
.onde__lista address { font-style: normal; line-height: 1.6; }
.onde__lista p { line-height: 1.6; }
.onde__lista a { color: var(--tinta); text-decoration-color: rgba(31, 95, 74, .35); text-underline-offset: 3px; }
.onde__lista a:hover { color: var(--verde); }
.onde__lista > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: .4rem;
  font-weight: 600;
}

.onde__cartao {
  background: var(--verde);
  color: #fff;
  border-radius: var(--raio-g);
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  box-shadow: var(--sombra-forte);
}
.onde__cartao-topo {
  font-size: var(--t-detalhe);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: .3rem;
}
.onde__cartao-destaque {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: var(--t-secao);
  line-height: 1.1;
}
.onde__cartao-texto {
  color: rgba(255, 255, 255, .92);
  margin: 1rem 0 1.6rem;
}
.onde__cartao .botao--principal {
  background: var(--sol);
  color: var(--verde-escuro);
  box-shadow: none;
}
.onde__cartao .botao--principal:hover { background: #f7c65c; }

/* Chamada final */
.chamada-final { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--branco); }
.chamada-final__caixa {
  background:
    radial-gradient(120% 120% at 85% 10%, rgba(244, 183, 64, .35), transparent 55%),
    linear-gradient(135deg, var(--verde-escuro), var(--verde));
  color: #fff;
  border-radius: var(--raio-g);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}
.chamada-final h2 { color: #fff; }
.chamada-final p {
  color: rgba(255, 255, 255, .92);
  max-width: 34rem;
  margin: 1.1rem auto 2rem;
  font-size: var(--t-texto);
}

/* Rodapé */
.rodape {
  background: var(--tinta);
  color: rgba(255, 255, 255, .82);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  font-size: var(--t-detalhe);
}
.rodape__grade {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1.1fr;
  gap: 2rem;
}
.rodape__nome {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: var(--t-sub);
  color: #fff;
  margin-bottom: .6rem;
}
.rodape__rotulo {
  font-weight: 600;
  color: var(--sol);
  margin-bottom: .5rem;
}
.rodape address { font-style: normal; line-height: 1.6; }
.rodape p { line-height: 1.6; }
.rodape a { color: rgba(255, 255, 255, .92); text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.rodape a:hover { color: #fff; }
.rodape__base {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: var(--t-detalhe);
  color: rgba(255, 255, 255, .6);
}

/* Barra fixa do celular */
.barra-fixa {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: .7rem 1.1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(247, 250, 248, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(18, 59, 55, .1);
  transform: translateY(120%);
  transition: transform .3s ease;
}
.barra-fixa.visivel { transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .menu { display: none; }
  .heroi__grade { grid-template-columns: 1fr; }
  .heroi__arte { order: -1; max-width: 360px; }
  .servicos { grid-template-columns: repeat(2, 1fr); }
  .clinica { grid-template-columns: 1fr; }
  .clinica__retrato { margin-inline: auto; }
  .onde { grid-template-columns: 1fr; }
  .onde__cartao { max-width: 30rem; }
}

@media (max-width: 700px) {
  .servicos, .passos { grid-template-columns: 1fr; }
  .topo-barra__botao { display: none; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 5.5rem; }
  .heroi { padding-top: 1.25rem; }
  .heroi__arte { max-width: 175px; }
  .pulso { margin-bottom: 1rem; }
  .heroi__sub { margin-bottom: 1.5rem; }
  .confianca { gap: .4rem 1.2rem; }
  .ficha { flex-direction: column; gap: 1rem; }
  .barra-fixa { display: block; }
}

@media (max-width: 480px) {
  .rodape__grade { grid-template-columns: 1fr; gap: 1.6rem; }
  .servicos__chamada .botao { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .emblema { animation: none; }
}
