/* Padrão de landing page médica Doc Growth · base.css
   IGUAL em todas as páginas e em todos os temas. Não editar por cliente:
   tudo que muda por cliente (cores, fontes, arredondamento, respiro) está no tema.css.
   Escrito do celular pro computador (mobile-first). */

:root {
  /* Fixos em todos os temas: botão de WhatsApp */
  --wa: #25d366;
  --wa-hover: #1fbe5b;
  --wa-text: #ffffff;
  --radius-pill: 999px;

  /* Medidas */
  --maxw: 1248px;
  --gutter: 20px;
  --gap: 12px;
  --secao: var(--section-m);
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --gap: 24px; --secao: var(--section); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: var(--h-weight); letter-spacing: var(--h-tracking);
  margin: 0; overflow-wrap: break-word; text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.3vw, var(--h1-max)); line-height: 1.06; }
h2 { font-size: clamp(27px, 3vw, var(--h2-max)); line-height: 1.12; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.tom-escuro :focus-visible, .contact-bar :focus-visible, .risco :focus-visible { outline-color: var(--accent-on-dark); }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--secao); }
/* Blocos são independentes do vizinho (podem mudar de ordem). Só dois pares "colam" quando estão juntos e no mesmo tom: */
#numeros.tom-claro + #tratamentos.tom-claro, #duvidas.tom-claro + #contato.tom-claro { padding-top: 0; }

/* Rótulo de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); flex-shrink: 0; }
/* Rótulo do topo com nome, especialidade, CRM e RQE. Celular: centralizado, sem o tracinho, em 3 linhas
   (nome / especialidade / CRM · RQE). Computador: 2 linhas, à esquerda, com o tracinho (ver o bloco do computador). */
.eyebrow--cred { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; margin: 0; line-height: 1.45; }
.eyebrow--cred::before { display: none; }
.eyebrow--cred .cred-nome, .eyebrow--cred .cred-esp, .eyebrow--cred .cred-reg span { white-space: nowrap; }
.lead { font-size: 1.06em; color: var(--ink-2); max-width: 540px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center;
  border: 0; cursor: pointer;
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
/* Botão de agendar (leva pro WhatsApp): sempre com o logo oficial. A cor padrão é o verde oficial com texto branco;
   o tema PODE trocar pelas variáveis --cta-* (ex.: Boutique usa a cor da marca). A barra fixa do celular segue as variáveis --barra-* (ver fim do arquivo); a bolinha do computador é sempre verde.
   Sombra: nível 2, tingida de verde (ou da cor da marca, via --cta-shadow). Estados: mouse em cima sobe 1 px; clicado desce 1 px e escurece. */
.btn--wa {
  background: var(--cta-bg, var(--wa)); color: var(--cta-text, var(--wa-text));
  box-shadow: var(--cta-shadow, 0 8px 24px rgba(37, 211, 102, 0.28)); text-shadow: var(--cta-text-shadow, 0 1px 0 rgba(0, 0, 0, 0.14));
  transition: background 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}
.btn--wa:hover { background: var(--cta-hover, var(--wa-hover)); color: var(--cta-text, var(--wa-text)); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); filter: brightness(0.94); }
/* Dentro de bloco escuro o tema pode pedir outra cor, pra o botão não sumir no fundo */
.contact-bar .btn--wa, .tom-escuro .btn--wa, .risco .btn--wa {
  background: var(--cta-dark-bg, var(--cta-bg, var(--wa))); color: var(--cta-dark-text, var(--cta-text, var(--wa-text)));
  box-shadow: none;
}
.contact-bar .btn--wa:hover, .tom-escuro .btn--wa:hover, .risco .btn--wa:hover {
  background: var(--cta-dark-bg, var(--cta-hover, var(--wa-hover))); color: var(--cta-dark-text, var(--cta-text, var(--wa-text))); filter: brightness(1.06);
}
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--sm svg { width: 18px; height: 18px; }
/* Botão só contorno: os dois botões do rodapé (Instagram e agendar). Fora do rodapé, botão de agendar é sempre preenchido. */
.btn--contorno { background: transparent; color: var(--accent); border: 1.5px solid currentColor; transition: background 0.15s ease, color 0.15s ease; }
.btn--contorno:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--contorno svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--contorno svg.ico-cheio { fill: currentColor; stroke: none; } /* logo do WhatsApp é desenho preenchido */
.btn--bloco { width: 100%; }
.link { font-weight: 700; color: var(--accent); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: " \2192"; }

/* Cartão */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--sombra-1); padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.card .stat { font-family: var(--font-display); font-size: 30px; font-weight: var(--stat-weight); color: var(--accent); line-height: 1; letter-spacing: var(--h-tracking); }
.card .icon { width: 44px; height: 44px; border-radius: var(--radius-icon); background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.card .icon svg, .contact-bar .item svg, .hero-local svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card p { font-size: 0.94em; color: var(--muted); }
.card .link { margin-top: auto; padding-top: 6px; font-size: 0.9em; }

.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
/* Números: 2 por linha no celular; se sobrar 1 sozinho, ele ocupa a linha inteira */
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats > :last-child:nth-child(odd) { grid-column: span 2; }

/* Fotos */
.foto { width: 100%; border-radius: var(--radius-photo); object-fit: cover; background: var(--line); }

/* 0. Menu */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .container { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; min-width: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; flex-shrink: 0; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .x { display: none; }
.nav.is-open .nav-toggle .x { display: block; }
.nav.is-open .nav-toggle .risquinhos { display: none; }
.nav-links {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--sombra-2); padding: 8px var(--gutter) 20px;
  flex-direction: column; font-size: 17px; font-weight: 600;
}
.nav.is-open .nav-links { display: flex; }
.nav-links a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav-links .btn { margin-top: 16px; }

/* 1. Topo */
.hero { background: var(--hero-bg); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 16px 32px; }
/* Celular: o texto do topo é todo centralizado (rótulo, título, frase, local, atributos). No computador volta pra esquerda. */
.hero-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; text-align: center; }
.hero-local { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.94em; font-weight: 600; color: var(--ink-2); }
.hero-local svg { color: var(--accent); flex-shrink: 0; width: 20px; height: 20px; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; }
.hero-actions .btn { width: 100%; min-height: 56px; }
.hero-actions .link { align-self: center; }
/* Celular: os atributos ficam lado a lado, em 2 colunas iguais */
.hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.hero-proof li { min-width: 0; }
.hero-proof .v { display: block; font-family: var(--font-display); font-size: 24px; font-weight: var(--stat-weight); line-height: 1.15; letter-spacing: var(--h-tracking); }
.hero-proof .l { font-size: 13px; color: var(--muted); }
.hero-proof:not(:has(li:not([hidden]))) { display: none; } /* sem atributo nenhum, a faixa some */
.hero-photo { position: relative; }
.hero-photo .foto { aspect-ratio: 4 / 5; max-height: 440px; object-position: center top; }
.badge {
  position: absolute; left: 12px; bottom: 12px; background: var(--surface); border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--sombra-2); line-height: 1.3;
}
.badge b { display: block; font-size: 15px; }
.badge small { font-size: 12px; color: var(--muted); }
/* Variação: foto de estúdio recortada (fundo transparente). O médico "pisa" na base do topo. */
.hero--recorte .container { padding-bottom: 0; }
.hero--recorte .hero-photo { display: flex; justify-content: center; align-items: flex-end; }
.hero--recorte .hero-photo .foto { aspect-ratio: auto; width: auto; max-height: 420px; border-radius: 0; background: none; object-fit: contain; }
.hero--recorte .badge { bottom: 24px; }
/* Variação: foto de fundo com véu escuro; texto por cima, coluna da foto some */
.hero-fundo { display: none; }
.hero--fundo { position: relative; isolation: isolate; color: var(--on-dark); }
.hero--fundo .hero-fundo { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--fundo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.72)); }
.hero--fundo .container { padding-block: 48px 56px; }
.hero--fundo .hero-photo { display: none; }
.hero--fundo h1, .hero--fundo .lead, .hero--fundo .hero-local { color: var(--on-dark); }
.hero--fundo .eyebrow, .hero--fundo .hero-local svg, .hero--fundo .link { color: var(--accent-on-dark); }
.hero--fundo .hero-proof { border-top-color: rgba(255, 255, 255, 0.25); }
.hero--fundo .hero-proof .l { color: var(--on-dark-muted); }

/* 2. Barra de contato */
.barra { padding-top: var(--gap); }
.hero--recorte + .barra { padding-top: 0; } /* a barra só "cola" no topo quando vem logo depois dele */
.contact-bar {
  border-radius: var(--radius-card); background: var(--dark); color: var(--on-dark);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 20px;
}
.contact-bar .item { display: flex; align-items: center; gap: 12px; }
.contact-bar .item svg { color: var(--accent-on-dark); flex-shrink: 0; }
.contact-bar small { display: block; font-size: 12px; color: var(--on-dark-muted); }
.contact-bar b { font-size: 15px; font-weight: 600; }

/* Cabeçalho de seção */
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.section-head > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head p { color: var(--ink-2); }

/* Opcional C. Convênios e selos: logos em cinza, numa linha */
.convenios { padding-block: 24px; }
.convenios-titulo { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.logos img { height: 40px; width: auto; filter: grayscale(1); opacity: 0.7; transition: opacity 0.15s ease, filter 0.15s ease; }
.logos li:hover img { filter: none; opacity: 1; }

/* Opcional D. Equipe: um cartão por profissional */
.membro { gap: 8px; }
.membro .foto { aspect-ratio: 4 / 5; border-radius: var(--radius-card); margin-bottom: 8px; }
.membro-esp { color: var(--ink-2); }
.membro-reg { font-size: 13px; color: var(--muted); }

/* Variação do "O que trato": lista em 2 colunas, ícone à esquerda, sem cartão */
.tratamentos--lista .grid-auto { gap: 0; }
.tratamentos--lista .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 18px 0; }
.tratamentos--lista .card .icon { grid-row: 1 / span 2; }
.tratamentos--lista .card h3 { font-size: 19px; }

.section-head--centro { align-items: center; text-align: center; }
.section-head--centro > div { align-items: center; }
.section-head--centro .eyebrow::before { display: none; }

/* 6. Como funciona: ícone num círculo claro + "Passo N" + título + 1 frase. Sem cartão.
   Celular: ícone à esquerda e texto à direita (economiza altura). Computador: 3 colunas centralizadas. */
.passos { gap: 24px var(--gap); }
.passo { display: flex; gap: 16px; align-items: flex-start; }
.passo-icone { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.passo-icone svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.700; stroke-linecap: round; stroke-linejoin: round; }
.passo-texto { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.passo-num { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.passo p { color: var(--muted); font-size: 0.97em; }
.passos-acao { display: flex; justify-content: center; margin-top: 28px; }
/* Variação do "Como funciona": linha do tempo vertical (uma coluna, ícone à esquerda, linha ligando os passos) */
.passos--linha { gap: 0; max-width: 640px; margin-inline: auto; }
.passos--linha .passo { position: relative; padding-bottom: 32px; }
.passos--linha .passo::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line-strong); }
.passos--linha .passo:last-child { padding-bottom: 0; }
.passos--linha .passo:last-child::before { display: none; }
.passos--linha + .passos-acao { margin-top: 36px; }

/* Opcional A. Dor */
.dor .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.dor-copy { display: flex; flex-direction: column; gap: 16px; }
.dor-copy p { color: var(--ink-2); }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 5. Sobre */
.about .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.about .foto { aspect-ratio: 4 / 3; max-height: 560px; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.about-texto { display: flex; flex-direction: column; gap: 12px; font-size: 1.06em; color: var(--ink-2); }
.creds { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 24px; font-size: 0.94em; }
.creds li { display: flex; gap: 10px; align-items: flex-start; }
.creds li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 0.55em; flex-shrink: 0; }

/* 7. Depoimentos: notas das fontes (Google, Doctoralia) no cabeçalho + cartões com a origem e o link.
   Escrito pro tom claro; no tom escuro (padrão da posição dele) as cores vêm da seção "Tons de fundo". */
.notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; } /* celular: as duas fontes lado a lado */
.notas a { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.notas a:hover { color: var(--accent); }
.notas b { font-family: var(--font-display); font-size: 22px; font-weight: var(--stat-weight); line-height: 1.15; letter-spacing: var(--h-tracking); }
.notas b i { font-style: normal; color: var(--star); }
.notas span { font-size: 13px; color: var(--muted); }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--sombra-1); padding: 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 12px; row-gap: 14px; align-items: center;
}
/* Estrelas e o link "Ver no Google/Doctoralia" dividem a primeira linha do cartão; o link fica no canto superior direito (decisão do Guilherme, 22/09/2026: economiza altura) */
.review .stars { color: var(--star); letter-spacing: 2px; grid-column: 1; grid-row: 1; }
.review .ver { grid-column: 2; grid-row: 1; justify-self: end; white-space: nowrap; }
.review p { color: var(--ink-2); line-height: 1.6; grid-column: 1 / -1; align-self: start; }
.review .who { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; align-self: end; padding-top: 6px; }
.review .who i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 700; flex-shrink: 0; }
.review .who b { display: block; font-size: 14px; }
.review .who small { font-size: 12px; color: var(--muted); }
.review .ver { font-size: 13px; font-weight: 700; color: var(--accent); }
.review .ver::after { content: " \2192"; }
/* Variação: carrossel (3 visíveis no computador, 1 no celular; setas e pontinhos montados pelo script da página) */
.reviews--carrossel .grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.reviews--carrossel .grid::-webkit-scrollbar { display: none; }
.reviews--carrossel .review { flex: 0 0 100%; scroll-snap-align: start; }
.carrossel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.carrossel-seta { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.carrossel-seta:hover { border-color: var(--accent); color: var(--accent); }
.carrossel-seta:active { transform: scale(0.94); }
.carrossel-pontos { display: flex; gap: 8px; }
.carrossel-pontos button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; }
.carrossel-pontos button.is-on { background: var(--accent); }
.tom-escuro .carrossel-seta { background: var(--dark-card); border-color: transparent; color: var(--on-dark); }
.tom-escuro .carrossel-pontos button { background: rgba(255, 255, 255, 0.25); }
.tom-escuro .carrossel-pontos button.is-on { background: var(--accent-on-dark); }

/* Opcional B. Sucesso x risco */
.duplo .grid > div { border-radius: var(--radius-card); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.duplo h2 { font-size: clamp(22px, 2.2vw, 30px); }
.sucesso { background: var(--accent-soft); }
.sucesso p { color: var(--ink-2); }
.risco { background: var(--dark); color: var(--on-dark); }
.risco h2 { color: var(--on-dark); }
.risco p { color: var(--on-dark); opacity: 0.9; }

/* 8. Dúvidas */
.faq .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.faq-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.faq-intro p { color: var(--muted); }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 1.08em; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--muted); flex-shrink: 0; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--accent); }
.faq-list details[open] summary::after { content: "\2212"; color: var(--accent); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 640px; line-height: 1.6; }

/* 9. Contato */
.contact { border-radius: var(--radius-photo); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sombra-1); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.contact-copy { padding: 28px 20px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.contact-copy p { color: var(--muted); }
.contact-copy address { font-style: normal; font-size: 0.94em; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.mapa { min-height: 220px; background: var(--line); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.mapa iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }
.mapa:has(iframe) { padding: 0; }

/* Rodapé: 3 colunas (marca + Instagram | contato | endereço) e, embaixo, a linha legal */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 28px 0 0; color: var(--ink-2); font-size: 0.94em; }
.footer .container { display: flex; flex-direction: column; gap: 24px; }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.footer h3 { font-size: 20px; }
.footer .brand-name { font-size: 20px; white-space: normal; }
.footer-lista { display: flex; flex-direction: column; gap: 12px; }
.footer-lista li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-lista svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-lista a { color: inherit; }
.footer-lista a:hover { color: var(--accent); }
.footer-legal { border-top: 1px solid var(--line-strong); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.footer-legal a { color: inherit; text-decoration: underline; }
/* Faixa final, de outra cor, com a assinatura da Doc Growth */
.footer-faixa { margin-top: 16px; background: var(--dark); color: var(--on-dark-muted); padding: 10px 0; text-align: center; }
.assinatura-docgrowth { margin: 0; font-size: 12.5px; }
.assinatura-docgrowth a { color: var(--on-dark); text-decoration: underline; }

/* WhatsApp fixo: barra no celular, bolinha no computador */
.wa-barra {
  display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; min-height: 56px;
  box-shadow: var(--sombra-2), 0 6px 20px rgba(37, 211, 102, 0.3); transition: transform 0.25s ease, opacity 0.25s ease;
}
/* Barra fixa do celular: verde oficial do WhatsApp por padrão; o tema PODE trocar pelas variáveis --barra-*
   (o Boutique usa a cor da marca, igual aos outros botões). A bolinha do computador é sempre verde. */
.btn--wa.wa-barra, .btn--wa.wa-barra:hover { background: var(--barra-bg, var(--wa)); color: var(--barra-text, var(--wa-text)); text-shadow: var(--barra-text-shadow, 0 1px 0 rgba(0, 0, 0, 0.14)); }
.btn--wa.wa-barra:hover { background: var(--barra-hover, var(--wa-hover)); }
.wa-barra.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-bolinha { display: none; }

/* ===== Tons de fundo (classe na <section>): tom-claro, tom-alt, tom-marca, tom-escuro =====
   O tom pertence à POSIÇÃO, não ao bloco: quando um bloco muda de lugar, ele assume o tom da posição que passou a ocupar
   (e o outro bloco leva o tom antigo), pra manter o contraste entre vizinhos como estava. É isso que mantém a harmonia da página.
   Ordem padrão: barra claro · números claro · o que trato claro · quem sou eu alt · como funciona claro · depoimentos escuro · dúvidas claro · contato claro. */
.tom-claro { background: var(--bg); }
.tom-alt { background: var(--bg-alt); }
.tom-marca { background: var(--accent-soft); }
.tom-marca .card, .tom-marca .review, .tom-marca .notas a, .tom-marca .contact { border-color: transparent; }
.tom-escuro { background: var(--dark); color: var(--on-dark); }
.tom-escuro h2, .tom-escuro h3 { color: var(--on-dark); }
.tom-escuro .eyebrow, .tom-escuro .link, .tom-escuro .passo-num, .tom-escuro .card .stat, .tom-escuro .review .ver, .tom-escuro .notas a:hover { color: var(--accent-on-dark); }
.tom-escuro .eyebrow::before { background: var(--accent-on-dark); }
.tom-escuro .section-head p, .tom-escuro .dor-copy p, .tom-escuro .about-texto, .tom-escuro .faq-list details p, .tom-escuro .review p, .tom-escuro .faq-list summary { color: var(--on-dark); }
.tom-escuro .card p, .tom-escuro .passo p, .tom-escuro .faq-intro p, .tom-escuro .notas span, .tom-escuro .review .who small { color: var(--on-dark-muted); }
.tom-escuro .card, .tom-escuro .review, .tom-escuro .notas a { background: var(--dark-card); border-color: transparent; box-shadow: none; color: var(--on-dark); }
.tom-escuro .card .icon, .tom-escuro .passo-icone, .tom-escuro .review .who i { background: rgba(255, 255, 255, 0.1); color: var(--accent-on-dark); }
.tom-escuro .creds li::before { background: var(--accent-on-dark); }
.tom-escuro .faq-list, .tom-escuro .faq-list details { border-color: rgba(255, 255, 255, 0.18); }
.tom-escuro .faq-list summary::after { color: var(--on-dark-muted); }
.tom-escuro .faq-list details[open] summary, .tom-escuro .faq-list details[open] summary::after { color: var(--accent-on-dark); }
.tom-escuro .contact-bar { background: var(--dark-card); }
.tom-escuro .contact { border-color: transparent; color: var(--ink); }
.tom-escuro .contact h2 { color: var(--ink); }
.tom-escuro .checklist svg { stroke: var(--accent-on-dark); }
.tom-escuro .sucesso { background: var(--dark-card); }
.tom-escuro .sucesso h2, .tom-escuro .sucesso p { color: var(--on-dark); }
.tom-escuro .risco { background: var(--surface); }
.tom-escuro .risco h2, .tom-escuro .risco p { color: var(--ink); }

/* ===== Computador ===== */
@media (min-width: 900px) {
  .btn { min-height: 56px; padding: 17px 28px; font-size: var(--btn-size); }
  .btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
  .btn--bloco { width: auto; }
  .card { padding: 28px; gap: 14px; }
  .card .stat { font-size: 44px; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Números e cartões do que trata: a grade se ajusta sozinha à quantidade de itens */
  .stats, .grid-auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  .stats > :last-child:nth-child(odd) { grid-column: auto; }

  .nav .container { height: 80px; }
  .brand img { height: 48px; }
  .brand-name { font-size: 22px; }

  .hero .container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; padding-block: 72px; }
  /* Computador: tracinho + "nome · especialidade" na 1ª linha e CRM · RQE na 2ª, alinhados com o texto */
  .eyebrow--cred { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; justify-items: start; text-align: left; }
  .eyebrow--cred::before { display: block; grid-column: 1; grid-row: 1; }
  .eyebrow--cred .cred-nome { grid-column: 2; grid-row: 1; }
  .eyebrow--cred .cred-esp { grid-column: 3; grid-row: 1; }
  .eyebrow--cred .cred-esp::before { content: "\00b7\00a0\00a0"; }
  .eyebrow--cred .cred-reg { grid-column: 2 / -1; grid-row: 2; }
  .hero-copy { gap: 24px; text-align: left; }
  .hero-local { justify-content: flex-start; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
  .hero-actions .link { align-self: auto; }
  .hero-proof { display: flex; flex-wrap: wrap; gap: 20px 36px; padding-top: 24px; }
  .hero-proof .v { font-size: 30px; }
  .hero-photo .foto { max-height: 560px; margin-left: auto; }
  .badge { left: -24px; bottom: 40px; padding: 16px 20px; border-radius: 16px; }
  .hero--recorte .container { align-items: stretch; padding-bottom: 0; }
  .hero--recorte .hero-copy { padding-bottom: 72px; justify-content: center; }
  .hero--recorte .hero-photo .foto { max-height: 600px; margin: 0; }
  .hero--recorte .badge { left: 0; bottom: 56px; }
  .hero--fundo .container { grid-template-columns: minmax(0, 640px); min-height: 560px; align-content: center; padding-block: 72px; }
  .hero--fundo::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.25) 100%); }
  .convenios { padding-block: 36px; }
  .logos { gap: 20px 48px; }
  .logos img { height: 48px; }
  .tratamentos--lista .grid-auto { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .passos--linha.grid-3 { grid-template-columns: minmax(0, 1fr); }
  .passos--linha .passo { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .passos--linha .passo-texto { align-items: flex-start; max-width: none; }
  .passos--linha .passo-icone { width: 64px; height: 64px; }
  .passos--linha .passo-icone svg { width: 30px; height: 30px; }
  .reviews--carrossel .review { flex-basis: calc((100% - 2 * var(--gap)) / 3); }

  .barra { padding-top: 0; }
  .hero + .barra { margin-top: calc(var(--secao) / -3); position: relative; z-index: 2; }
  .hero--recorte + .barra { margin-top: -36px; }
  .contact-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; padding: 24px 32px; }

  .passo { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .passo-icone { width: 96px; height: 96px; }
  .passo-icone svg { width: 42px; height: 42px; }
  .passo-texto { align-items: center; gap: 8px; max-width: 320px; }
  .passos-acao { margin-top: 44px; }
  .section-head.section-head--centro { justify-content: center; align-items: center; }
  .section-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
  .dor .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; }
  .about .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .about .foto { aspect-ratio: 13 / 14; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notas { display: flex; flex-wrap: wrap; width: auto; }
  .review { padding: 32px; }
  .duplo .grid > div { padding: 40px; }
  .faq .container { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
  .faq-intro { position: sticky; top: 112px; align-self: start; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); }
  .contact-copy { padding: 64px; gap: 24px; }
  .contact-copy .btn { align-self: flex-start; }
  .mapa, .mapa iframe { min-height: 440px; }
  .footer { padding: 36px 0 0; }
  .footer-faixa { margin-top: 18px; }
  .footer .container { gap: 32px; }
  .footer-cols { grid-template-columns: 1.2fr 1fr 1fr; gap: 56px; }

  .wa-barra { display: none; }
  .wa-bolinha {
    display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 30;
    width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
    box-shadow: var(--sombra-2), 0 6px 20px rgba(37, 211, 102, 0.3); transition: transform 0.15s ease;
  }
  .wa-bolinha:hover { transform: scale(1.07); color: #fff; }
  .wa-bolinha:active { transform: scale(0.96); }
  .wa-bolinha svg { width: 34px; height: 34px; fill: currentColor; }
}

/* Menu aberto em linha só a partir de 1100 px: abaixo disso os 5 links + botão não cabem sem quebrar, então fica o menu de três risquinhos */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; background: none; box-shadow: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
  .nav-links a:not(.btn) { padding: 0; border: 0; color: var(--ink-2); }
  .nav-links a:not(.btn):hover { color: var(--accent); }
  .nav-links .btn { margin-top: 0; }
}

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