/* Sorriso Leve — clínica odontológica · Dra. Helena Prado · Centro de Campinas
   Paleta: verde principal #1F5F4A (botões e destaques), petróleo #0E3B37, tinta #14302C,
   menta #DCEEE6, coral #FF7454, coral suave #FFE6DE, fundo #F6FAF8.
   Tipo: Fraunces (títulos) + Work Sans (texto). */

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

:root {
  --verde: #1F5F4A;          /* cor principal: botões e destaques */
  --petroleo: #0E3B37;
  --tinta: #14302C;
  --turquesa: var(--verde);
  --turquesa-escuro: var(--verde);
  --menta: #DCEEE6;
  --menta-clara: #E6F2EC;
  --fundo: #F6FAF8;
  --branco: #FFFFFF;
  --coral: #FF7454;
  --coral-suave: #FFE6DE;
  --linha: #D6E8E1;
  --texto-suave: #46615B;

  --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.4rem, 1.4rem + 5.6vw, 5rem);

  --fraunces: "Fraunces", Georgia, "Times New Roman", serif;
  --work: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

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

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

p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }

a { color: var(--turquesa-escuro); text-decoration-thickness: 1px; text-underline-offset: 3px; }

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

.limite {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}
.limite--estreito { max-width: 760px; }

.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--petroleo);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.pular:focus { top: 0; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--turquesa-escuro);
  color: #fff;
  font-family: var(--work);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  min-height: 48px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.botao:hover { background: var(--petroleo); }
.botao:active { transform: translateY(1px); }
.botao--grande { font-size: var(--t-texto); padding: 1.05rem 1.6rem; min-height: 56px; }
.botao--claro { background: #fff; color: var(--petroleo); }
.botao--claro:hover { background: var(--coral-suave); color: var(--petroleo); }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.link-seta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--turquesa-escuro);
  text-decoration: underline;
  text-decoration-color: var(--menta);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}
.link-seta:hover { text-decoration-color: var(--turquesa); }

/* ---------- Topo do site ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.barra-topo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--petroleo);
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.marca-simbolo { width: 34px; height: 34px; }
.marca-nome {
  font-family: var(--fraunces);
  font-weight: 600;
  font-size: var(--t-sub);
  letter-spacing: -0.01em;
}
.menu { display: flex; gap: 1.5rem; }
.menu a {
  color: var(--tinta);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.menu a:hover { color: var(--turquesa-escuro); }
.botao--topo { font-size: 1rem; padding: 0.75rem 1.1rem; min-height: 44px; }

/* ---------- Abertura ---------- */
.abertura {
  background: linear-gradient(180deg, #E9F4EF 0%, var(--fundo) 100%);
  padding-block: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6rem);
}
.abertura-grade {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 5vw, 4.5rem);
  align-items: center;
}
.abertura-texto > * { animation: surgeTexto 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.abertura-texto > *:nth-child(1) { animation-delay: 0.05s; }
.abertura-texto > *:nth-child(2) { animation-delay: 0.12s; }
.abertura-texto > *:nth-child(3) { animation-delay: 0.19s; }
.abertura-texto > *:nth-child(4) { animation-delay: 0.26s; }
.abertura-texto > *:nth-child(5) { animation-delay: 0.33s; }

.selo {
  display: inline-block;
  background: var(--coral-suave);
  color: #7A2A18;
  font-size: var(--t-detalhe);
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
h1 { font-size: var(--t-topo); line-height: 1.02; letter-spacing: -0.02em; }
.abertura-sub {
  margin-top: 1.25rem;
  max-width: 34ch;
  color: var(--texto-suave);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
}
.abertura-acao { margin-top: 1.8rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.abertura-nota { font-size: var(--t-detalhe); color: var(--texto-suave); }
.fatos {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: var(--t-detalhe);
  font-weight: 500;
  color: var(--petroleo);
}
.fatos li { position: relative; padding-left: 1.1rem; }
.fatos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--turquesa);
}

.abertura-figura { margin: 0; }
.ilustracao { width: 100%; height: auto; max-width: 520px; margin-inline: auto; }
.ilust-fundo { fill: var(--menta); }
.ilust-arco { stroke-dasharray: var(--len); stroke-dashoffset: 0; }
.ilust-arco--1 { --len: 900; stroke: var(--turquesa); stroke-width: 9; animation: desenhaArco 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.ilust-arco--2 { --len: 900; stroke: var(--coral); stroke-width: 6; opacity: 0.9; animation: desenhaArco 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.ilust-dente { transform-box: fill-box; transform-origin: center; animation: pipoca 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
.ilust-dente path { fill: #fff; stroke: var(--turquesa-escuro); stroke-width: 5; stroke-linejoin: round; }
.ilust-olhos, .ilust-boca { animation: pipoca 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both; }
.ilust-olhos circle { fill: var(--petroleo); }
.ilust-boca { stroke: var(--petroleo); stroke-width: 6; }
.ilust-brilhos .ilu-estrela { transform-box: fill-box; transform-origin: center; animation: pipoca 0.55s cubic-bezier(0.16, 1, 0.3, 1) both; }
.ilu-estrela--a { fill: var(--turquesa); animation-delay: 0.7s; }
.ilu-estrela--b { fill: var(--coral); animation-delay: 0.85s; }
.ilu-estrela--c { fill: var(--coral); animation-delay: 1s; }
.ilu-estrela--d { fill: var(--turquesa); animation-delay: 1.1s; }
.abertura-figura figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: var(--t-detalhe);
  color: var(--texto-suave);
}

@keyframes surgeTexto {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes desenhaArco {
  from { stroke-dashoffset: var(--len); }
}
@keyframes pipoca {
  from { opacity: 0; transform: scale(0.5); }
}

/* ---------- Seções ---------- */
.secao { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.secao--menta { background: var(--menta-clara); }
.cabecalho-secao { max-width: 62ch; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: var(--t-secao); }
.cabecalho-secao p { margin-top: 0.9rem; color: var(--texto-suave); }

/* Serviços */
.grade-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cartao {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
}
.cartao h3 { font-size: var(--t-sub); margin-bottom: 0.6rem; }
.cartao p { color: var(--texto-suave); }
.cartao-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--menta);
  color: var(--turquesa-escuro);
  margin-bottom: 1.1rem;
}
.cartao-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cartao--acao { background: var(--petroleo); border-color: var(--petroleo); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.cartao--acao h3 { color: #fff; }
.cartao--acao p { color: #CBE0DA; margin-bottom: 1.2rem; }
.cartao--acao .link-seta { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); margin-top: auto; }
.cartao--acao .link-seta:hover { text-decoration-color: #fff; }

/* Como funciona */
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.passos li { border-top: 2px solid var(--menta); padding-top: 1.4rem; }
.passo-num {
  font-family: var(--fraunces);
  font-size: var(--t-sub);
  font-weight: 700;
  color: var(--turquesa);
  display: block;
  margin-bottom: 0.5rem;
}
.passos h3 { font-size: var(--t-sub); margin-bottom: 0.5rem; }
.passos p { color: var(--texto-suave); }
.acao-centro { display: flex; justify-content: center; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* A clínica */
.clinica-grade {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.retrato { margin: 0; }
.retrato-ilust { width: 100%; max-width: 360px; margin-inline: auto; }
.retrato-fundo { fill: var(--branco); stroke: var(--linha); stroke-width: 1.5; }
.retrato-aro { stroke: var(--menta); stroke-width: 6; }
.retrato-cabeca { fill: #F6DFC9; }
.retrato-cabelo { fill: var(--petroleo); }
.retrato-olho { fill: var(--petroleo); }
.retrato-boca { stroke: var(--petroleo); stroke-width: 6; }
.retrato-bata { fill: var(--branco); stroke: var(--turquesa); stroke-width: 4; }
.retrato-gola { stroke: var(--turquesa); stroke-width: 4; }
.retrato figcaption { margin-top: 0.9rem; text-align: center; font-size: var(--t-detalhe); color: var(--texto-suave); }
.clinica-texto h2 { margin-bottom: 1rem; }
.clinica-texto p { color: var(--texto-suave); margin-bottom: 1rem; }
.clinica-texto strong { color: var(--tinta); }
.lista-checada { margin: 1.5rem 0; display: grid; gap: 0.6rem; }
.lista-checada li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.lista-checada li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 0.62rem;
  border-left: 2.5px solid var(--turquesa);
  border-bottom: 2.5px solid var(--turquesa);
  transform: rotate(-45deg);
}

/* Depoimentos */
.aviso-exemplo { color: var(--texto-suave); }
.grade-depoimentos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.depoimento {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.marca-exemplo {
  align-self: flex-start;
  background: var(--coral-suave);
  color: #7A2A18;
  font-size: var(--t-detalhe);
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.depoimento blockquote { margin: 0; font-family: var(--fraunces); font-style: italic; font-size: var(--t-sub); line-height: 1.4; }
.depoimento cite { font-style: normal; font-size: var(--t-detalhe); color: var(--texto-suave); }

/* Dúvidas */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 14px;
  padding: 0.35rem 1.3rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: var(--t-texto);
  padding: 1rem 2rem 1rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--fraunces);
  font-size: 1.5rem;
  color: var(--turquesa);
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 1.2rem; color: var(--texto-suave); }

/* Onde fica */
.onde-grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.onde-texto > p { margin-top: 1rem; color: var(--texto-suave); max-width: 45ch; }
.dados { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
.dados dt { font-family: var(--fraunces); font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.dados dd { color: var(--texto-suave); line-height: 1.5; }
.dados dd a { color: var(--texto-suave); display: inline-block; padding-block: 0.6rem; }
.dados dd a:hover { color: var(--turquesa-escuro); }
.mapa { display: block; position: relative; border-radius: 18px; overflow: hidden; text-decoration: none; border: 1px solid var(--linha); }
.mapa svg { width: 100%; height: auto; }
.mapa-rotulo {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--petroleo);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

/* Chamada final */
.chamada {
  background: var(--petroleo);
  color: #fff;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
}
.chamada-caixa { max-width: 720px; text-align: center; }
.chamada h2 { color: #fff; }
.chamada p { margin: 1.1rem auto 1.9rem; max-width: 48ch; color: #CBE0DA; }

/* Rodapé */
.rodape { background: #0A2E2B; color: #B9D2CC; padding-block: 2.5rem; font-size: var(--t-detalhe); }
.rodape-grade { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: start; }
.marca-nome--rodape { color: #fff; font-size: var(--t-sub); }
.rodape-marca p { margin-top: 0.4rem; max-width: 30ch; }
.rodape-dados { display: grid; gap: 0.4rem; }
.rodape-dados a { color: #B9D2CC; display: inline-block; padding-block: 0.6rem; }
.rodape-dados a:hover { color: #fff; }

/* Barra fixa de WhatsApp no celular */
.barra-whats {
  position: fixed;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 45;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--turquesa-escuro);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--t-texto);
  padding: 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(14, 59, 55, 0.22);
  opacity: 0;
  transform: translateY(140%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.barra-whats--visivel, .no-js .barra-whats { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grade-servicos { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .menu { display: none; }
  .abertura-grade { grid-template-columns: 1fr; }
  .abertura-figura { order: -1; }
  .abertura-figura .ilustracao { max-width: 380px; }
  .clinica-grade { grid-template-columns: 1fr; }
  .onde-grade { grid-template-columns: 1fr; }
  .passos { grid-template-columns: 1fr; gap: 1.5rem; }
  .grade-depoimentos { grid-template-columns: 1fr; }
  .rodape-grade { grid-template-columns: 1fr; }
  .barra-whats { display: flex; }
  .botao--topo { font-size: 1rem; padding: 0.7rem 0.95rem; }
  body { padding-bottom: 4.5rem; }
}

@media (max-width: 560px) {
  .fatos { flex-direction: column; gap: 0.4rem; }
  .dados { grid-template-columns: 1fr; }
  .botao--topo .ico { display: none; }
  .marca-nome { font-size: 1.15rem; }
}

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