/* Páginas por demanda (public/<slug>/index.html). Mesmas cores e fontes de src/index.css. */
:root {
  --fundo: hsl(40 33% 98%);          /* --background */
  --texto: hsl(30 7% 15%);           /* --foreground */
  --texto-suave: hsl(30 5% 34%);     /* --ink-soft */
  --verde: hsl(116 9% 27%);          /* --primary */
  --borda: hsl(32 14% 82%);          /* --border */
  --superficie: hsl(36 18% 94%);     /* --muted */
  --cartao: hsl(40 33% 99%);         /* --card */
  --acao: #B4491F;                   /* --action */
  --acao-hover: #9E3F18;             /* --action-hover */
  --acao-texto: #FFFFFF;             /* --action-foreground */
  --acao-sombra: 0 8px 24px rgba(120, 55, 30, 0.16);
  --whatsapp: #16A34A;               /* ~3,3:1 com o ícone branco */
  --whatsapp-hover: hsl(142 70% 35%);
  --rodape-fundo: hsl(30 7% 15%);
  --rodape-texto: hsl(40 33% 98%);
  --rodape-suave: hsl(40 20% 82%);
  --serifa: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 600; }
a { color: var(--verde); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--texto); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; color: var(--texto); }
h1, h2 { font-family: var(--serifa); font-weight: 500; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.4rem); line-height: 1.08; margin-top: 0.75rem; }
h2 { font-size: clamp(1.75rem, 1.45rem + 1.4vw, 2.25rem); line-height: 1.15; margin: 3rem 0 0.9rem; }
h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.4; margin: 1.5rem 0 0.35rem; }
p, ul, ol, address { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; }
li { margin-bottom: 0.45rem; }
address { font-style: normal; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.65rem 1rem; background: var(--texto); color: var(--fundo); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.largura { width: 100%; max-width: 64rem; margin-inline: auto; padding-inline: 1.25rem; }
.coluna { width: 100%; max-width: 44rem; margin-inline: auto; padding: 1.25rem 1.25rem 0; }

/* Cabeçalho: sem menu hambúrguer, os links apenas quebram de linha. */
.site-header { border-bottom: 1px solid var(--borda); background: var(--fundo); }
.header-interno { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 0.75rem; }
.marca { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; color: var(--texto); text-decoration: none; }
.marca img { width: 44px; height: auto; }
.marca-texto { display: grid; line-height: 1.15; }
.marca-texto strong { font-family: var(--serifa); font-size: 1.15rem; font-weight: 600; }
.marca-texto small { color: var(--texto-suave); font-size: 0.75rem; letter-spacing: 0.04em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav li { margin: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--texto-suave); font-size: 0.9375rem; text-decoration: none; }
.site-nav a:hover { color: var(--texto); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--verde); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--texto-suave); }
.breadcrumb li { margin: 0; }
.breadcrumb a { color: var(--texto-suave); }
.breadcrumb .sep { margin-inline: 0.45rem; }

.autoria { margin-top: 0.85rem; color: var(--texto-suave); font-size: 0.875rem; }
.resposta { margin: 1.25rem 0 1.5rem; padding-left: 1rem; border-left: 3px solid var(--verde); font-size: 1.1875rem; line-height: 1.6; }

.acao { margin: 1.5rem 0; }
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.6rem; border-radius: 9999px;
  background: var(--acao); color: var(--acao-texto); box-shadow: var(--acao-sombra);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none;
}
.botao:hover { background: var(--acao-hover); color: var(--acao-texto); text-decoration: none; }
.botao svg { flex: none; }

.passos { padding-left: 1.6rem; }
.passos li { margin-bottom: 0.85rem; }
.passo-titulo, .passo-texto { display: block; }

.aviso { margin: 2.5rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--acao); background: var(--superficie); }
.aviso h2 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.aviso p { margin: 0; }

.faq-item p { margin-bottom: 0.5rem; }

.profissional-corpo { display: grid; gap: 1.25rem; }
.profissional-corpo img { width: 100%; max-width: 280px; border-radius: 4px; }

.cta-final { margin-top: 3rem; padding: 1.75rem 1.25rem; background: var(--cartao); border: 1px solid var(--borda); border-radius: 6px; text-align: center; }
.cta-final h2 { margin-top: 0; }
.cta-final .acao { margin-bottom: 0; }

.nota { margin: 2rem 0 3rem; color: var(--texto-suave); font-size: 0.875rem; }

/* padding-bottom: espaço para o botão flutuante não cobrir texto, no fundo escuro do rodapé. */
.site-footer {
  background: var(--rodape-fundo); color: var(--rodape-suave); font-size: 0.9375rem;
  padding-top: 2rem;
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
}
.site-footer p, .site-footer address { margin: 0 0 0.4rem; }
.rodape-nome { color: var(--rodape-texto); font-family: var(--serifa); font-size: 1.4rem; font-weight: 500; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.rodape-links li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rodape-texto); }
.site-footer :focus-visible { outline-color: var(--rodape-texto); }

.wa-flutuante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #FFFFFF; box-shadow: var(--acao-sombra);
}
.wa-flutuante:hover { background: var(--whatsapp-hover); }

@media (min-width: 40rem) {
  .coluna { padding-top: 2rem; }
  .profissional-corpo { grid-template-columns: 220px 1fr; align-items: start; }
  .profissional-corpo img { max-width: 220px; }
  .cta-final { padding: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.tabela-rolagem { margin: 1.25rem 0 1.5rem; overflow-x: auto; border: 1px solid var(--borda); border-radius: 0.5rem; background: var(--cartao); }
.tabela-rolagem:focus-visible { outline: 3px solid var(--acao); outline-offset: 2px; }
.tabela-rolagem table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.tabela-rolagem caption { padding: 0.75rem 1rem 0; caption-side: top; text-align: left; font-weight: 600; color: var(--texto); }
.tabela-rolagem th, .tabela-rolagem td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--borda); text-align: left; vertical-align: top; }
.tabela-rolagem tbody tr:last-child th, .tabela-rolagem tbody tr:last-child td { border-bottom: 0; }
.tabela-rolagem thead th { background: var(--superficie); font-weight: 600; color: var(--texto); }
.tabela-rolagem tbody th { font-weight: 600; color: var(--texto); }
.tabela-rolagem td { color: var(--texto-suave); }
.tabela-rolagem tbody th { width: 26%; }
@media (max-width: 34rem) {
  .tabela-rolagem table, .tabela-rolagem caption, .tabela-rolagem tbody, .tabela-rolagem tr, .tabela-rolagem th, .tabela-rolagem td { display: block; min-width: 0; }
  .tabela-rolagem tbody th { width: auto; }
  .tabela-rolagem caption { padding-bottom: 0.25rem; }
  .tabela-rolagem thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tabela-rolagem tbody tr { padding: 0.75rem 1rem; border-bottom: 1px solid var(--borda); }
  .tabela-rolagem tbody tr:last-child { border-bottom: 0; }
  .tabela-rolagem tbody th, .tabela-rolagem td { padding: 0.15rem 0; border: 0; }
  .tabela-rolagem td::before { content: attr(data-rotulo) ": "; font-weight: 600; color: var(--texto); }
}
