/* Consultório Dr. William Rohling — cores tiradas das fotos do Google (parede de madeira, letreiro grafite, paredes creme)
   e das artes do Instagram (verde-sálvia). Celular primeiro. */
:root {
  --creme: #f8f5f0;
  --areia: #ece5e2;
  --branco: #fffdfa;
  --grafite: #23211f;
  --texto: #3b3734;
  --suave: #6d665f;
  --salvia: #88a299;
  --salvia-esc: #587469;   /* botões: texto branco passa no contraste */
  --salvia-funda: #2f403a;
  --salvia-clara: #e4ece8;
  --madeira: #a96f35;
  --estrela: #c58a3f;
  --linha: rgba(35, 33, 31, .12);
  --sombra: 0 1px 2px rgba(35, 33, 31, .05), 0 12px 32px -12px rgba(35, 33, 31, .18);
  --raio: 22px;
  --serifa: "Fraunces", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topo-alt: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-alt) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texto);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--grafite); margin: 0; }
h1, h2 { font-family: var(--serifa); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--salvia-esc); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.some { position: absolute; width: 0; height: 0; overflow: hidden; }
.junto { white-space: nowrap; }
.centro { text-align: center; margin-top: 36px; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--grafite); color: #fff; padding: 10px 16px; border-radius: 10px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--salvia); outline-offset: 3px; }

.caixa { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--salvia-esc);
  margin-bottom: 16px;
}
.tag::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--salvia-esc);
  background: var(--salvia-esc); color: #fff; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--salvia-funda); border-color: var(--salvia-funda); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(47, 64, 58, .6); }
.btn-linha { background: transparent; color: var(--grafite); border-color: rgba(35, 33, 31, .28); }
.btn-linha:hover { background: var(--grafite); color: #fff; border-color: var(--grafite); }
.btn-pequeno { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-cheio { width: 100%; }
.btn-claro { background: var(--creme); color: var(--salvia-funda); border-color: var(--creme); }
.btn-claro:hover { background: #fff; border-color: #fff; color: var(--salvia-funda); }
.btn-linha-clara { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-linha-clara:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ---------- Faixa do topo ---------- */
.faixa { background: var(--grafite); color: #e9e4dd; font-size: 12.5px; }
.faixa-dentro { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 38px; }
.faixa-item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; white-space: nowrap; }
.faixa-item svg { opacity: .7; flex: none; }
.faixa-item:first-child, .faixa-cro { display: none; }
.faixa-status[data-aberto="sim"] { color: #b9d7c9; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 40; background: rgba(248, 245, 240, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.topo.rolou { border-color: var(--linha); box-shadow: 0 8px 24px -18px rgba(35, 33, 31, .5); }
.topo-dentro { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--topo-alt); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--grafite); }
.logo-dente { flex: none; }
.logo-texto { display: flex; flex-direction: column; line-height: 1; }
.logo-nome { font: 600 12px/1 var(--sans); letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; }
.logo-sub { font: 500 9.5px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--suave); margin-top: 7px; }
.menu { display: none; }

/* ---------- Capa ---------- */
.capa { position: relative; padding: 40px 0 64px; overflow: hidden; }
.capa::before { /* um eco do dente geométrico, bem clarinho, atrás do texto */
  content: ""; position: absolute; right: -10%; top: -6%; width: 520px; height: 560px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(136, 162, 153, .18), transparent 70%);
}
.capa-dentro { position: relative; display: grid; gap: 44px; }
.capa h1 { font-size: clamp(40px, 10.5vw, 72px); margin-bottom: 22px; }
.capa h1 em { display: block; }
.capa-frase { font-size: 17px; max-width: 34em; color: var(--suave); }
.capa-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.capa-botoes .btn { flex: 1 1 220px; }
.capa-provas { display: grid; grid-template-columns: repeat(3, auto); gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--linha); }
.capa-provas li { display: flex; flex-direction: column; gap: 4px; }
.capa-provas strong { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font: 600 14px/1.2 var(--sans); color: var(--grafite); }
.capa-provas span { font-size: 12.5px; line-height: 1.35; color: var(--suave); }
.estrela, .estrelas { color: var(--estrela); }
.estrelas { display: inline-flex; gap: 2px; }

.capa-foto { position: relative; isolation: isolate; }
.capa-moldura {
  position: relative; border-radius: 200px 200px var(--raio) var(--raio); overflow: hidden; aspect-ratio: 1 / 1.08;
  box-shadow: var(--sombra);
}
.capa-moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.capa-foto::before { /* bloco sálvia atrás da foto */
  content: ""; position: absolute; inset: 22px -12px -14px 26px; border-radius: 200px 200px var(--raio) var(--raio);
  background: var(--salvia-clara); z-index: -1;
}
.capa-selo {
  position: absolute; left: -6px; bottom: 22px; max-width: 270px; padding: 16px 18px; border-radius: 18px;
  background: var(--branco); box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 6px;
}
.capa-selo-texto { font: 400 italic 15px/1.4 var(--serifa); color: var(--grafite); }
.capa-selo-quem { font-size: 12px; font-weight: 600; color: var(--suave); }

/* ---------- Seções ---------- */
.secao { padding: 80px 0; }
.secao-topo { max-width: 640px; margin-bottom: 40px; }
.secao-topo h2, .secao h2 { font-size: clamp(32px, 7.4vw, 50px); }
.secao-topo p:not(.tag) { margin-top: 16px; color: var(--suave); font-size: 16.5px; }

/* ---------- Tratamentos ---------- */
.tratamentos { background: var(--branco); }
.trat-grade { display: grid; grid-template-columns: 1fr; gap: 14px; }
.trat {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--raio);
  background: var(--creme); border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.trat:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: rgba(88, 116, 105, .35); }
.trat-icone { width: 48px; height: 48px; color: var(--salvia-esc); margin-bottom: 16px; overflow: visible; }
.trat h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 8px; }
.trat p { font-size: 14.5px; color: var(--suave); flex: 1; }
.trat-agendar {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 0;
  background: none; border: 0; color: var(--salvia-esc); font-weight: 600; font-size: 14px; cursor: pointer;
}
.trat-agendar svg { transition: transform .2s; }
.trat-agendar:hover svg { transform: translateX(4px); }
.trat-agendar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* card inteiro clicável */

/* ---------- Resultados ---------- */
.casos { display: grid; gap: 20px; }
.caso { background: var(--branco); border-radius: var(--raio); padding: 12px 12px 22px; box-shadow: var(--sombra); }
.caso-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; }
.caso-fotos figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.caso-fotos figure:first-child { border-radius: 14px 4px 4px 14px; }
.caso-fotos figure:last-child { border-radius: 4px 14px 14px 4px; }
.caso-fotos img { width: 100%; height: 100%; object-fit: cover; }
.caso-fotos figcaption {
  position: absolute; left: 8px; top: 8px; padding: 5px 10px; border-radius: 99px; font: 600 11px/1 var(--sans);
  letter-spacing: .08em; text-transform: uppercase; background: rgba(35, 33, 31, .72); color: #fff;
}
.caso-fotos figure:last-child figcaption { background: var(--salvia-esc); }
.caso h3 { font: 600 17px/1.3 var(--sans); padding: 0 10px; margin-bottom: 6px; }
.caso p { padding: 0 10px; font-size: 14.5px; color: var(--suave); }
.nota { margin-top: 22px; font-size: 13px; color: var(--suave); }

/* ---------- Sobre + consultório ---------- */
.sobre { background: var(--areia); }
.sobre-grade { display: grid; gap: 36px; align-items: center; }
.sobre-foto { position: relative; isolation: isolate; max-width: 460px; }
.sobre-foto img { border-radius: var(--raio) var(--raio) 160px var(--raio); aspect-ratio: 670 / 838; object-fit: cover; box-shadow: var(--sombra); }
.sobre-foto::after { /* linha fina como a do logo */
  content: ""; position: absolute; inset: 16px -14px -14px 16px; border: 1.5px solid var(--madeira);
  border-radius: var(--raio) var(--raio) 160px var(--raio); z-index: -1; opacity: .55;
}
.sobre-cro { margin-top: 10px; font: 600 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--madeira); }
.sobre-texto > p:not(.tag):not(.sobre-cro) { margin-top: 22px; font-size: 16.5px; }
.sobre-lista { display: grid; gap: 10px; margin-top: 24px; }
.sobre-lista li { position: relative; padding-left: 28px; font-size: 15px; }
.sobre-lista li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--salvia-esc);
  border-bottom: 2px solid var(--salvia-esc); transform: rotate(-45deg) translateY(-3px);
}
.sobre-lista strong { color: var(--grafite); font-weight: 600; }
.sobre-voz { margin: 28px 0 0; padding: 18px 0 0 22px; border-left: 2px solid var(--salvia); }
.sobre-voz p { font: 400 italic 19px/1.45 var(--serifa); color: var(--grafite); }
.sobre-voz cite { display: block; margin-top: 8px; font: 600 12.5px/1 var(--sans); font-style: normal; color: var(--suave); }

.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 56px; }
.galeria figure { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--creme); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.galeria figure:hover img { transform: scale(1.04); }
.galeria figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; font-size: 12px; font-weight: 600; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(20, 18, 16, .72));
}

/* ---------- Avaliações ---------- */
.aval-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 36px; }
.aval-nota { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 18px; background: var(--branco); box-shadow: var(--sombra); }
.aval-numero { font: 400 48px/1 var(--serifa); color: var(--grafite); }
.aval-nota > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.aval-conta { font-size: 13px; color: var(--suave); max-width: 180px; line-height: 1.35; }
.aval-lista { display: grid; gap: 14px; }
.aval { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--raio); background: var(--branco); border: 1px solid var(--linha); }
.aval blockquote { margin: 0; }
.aval blockquote p { font: 400 18px/1.5 var(--serifa); color: var(--grafite); }
.aval blockquote p::before { content: "“"; display: block; font: 400 52px/.6 var(--serifa); color: var(--salvia); margin-bottom: 10px; }
.aval-quem { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--grafite); }
.aval-letra { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--salvia-clara); color: var(--salvia-esc); font-weight: 700; }
.aval-fonte { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--suave); }

/* ---------- Agendamento ---------- */
.agendar { background: var(--salvia-funda); color: #dfe7e3; position: relative; overflow: hidden; }
.agendar::before { /* dente do logo grandão, quase sumido */
  content: ""; position: absolute; width: 560px; height: 600px; right: -180px; top: -120px; opacity: .06; pointer-events: none;
  background: url("img/dente-linha.svg") center / contain no-repeat;
}
.agendar-grade { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.agendar-grade > * { min-width: 0; }
.agendar h2 { color: #fff; }
.agendar h2 em { color: #b9d7c9; }
.tag-clara { color: #b9d7c9; }
.passos { display: grid; gap: 16px; margin-top: 30px; }
.passos li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.passos span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(185, 215, 201, .6); font-weight: 600; font-size: 13px; color: #fff; }
.agendar-alt { margin-top: 30px; font-size: 14.5px; }
.agendar-alt a { color: #fff; font-weight: 600; cursor: pointer; }

.agenda { background: var(--branco); color: var(--texto); border-radius: 26px; padding: 26px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.campo { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.campo > label, .campo > legend { display: block; padding: 0; margin-bottom: 9px; font-weight: 600; font-size: 14px; color: var(--grafite); }
.opcional { font-weight: 400; color: var(--suave); }
.campo input[type="text"], .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--linha); background: var(--creme);
  font-size: 16px; transition: border-color .2s, background .2s;
}
.campo textarea { resize: vertical; min-height: 74px; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--creme) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23587469' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center no-repeat;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--salvia-esc); background-color: #fff; }
.campo input[aria-invalid="true"] { border-color: #b4483b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-dias { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding-bottom: 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: thin; }
.chip { position: relative; cursor: pointer; scroll-snap-align: start; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; padding: 8px 16px; border-radius: 14px;
  border: 1.5px solid var(--linha); background: var(--creme); font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.chip small { font-size: 11.5px; font-weight: 500; color: var(--suave); margin-top: 3px; }
.chip-dia span { min-width: 66px; padding: 9px 10px; }
.chip-dia b { font-weight: 600; font-size: 13px; text-transform: capitalize; }
.chip input:checked + span { background: var(--salvia-esc); border-color: var(--salvia-esc); color: #fff; }
.chip input:checked + span small { color: #dfe7e3; }
.chip input:focus-visible + span { outline: 3px solid var(--salvia); outline-offset: 2px; }
.chip:hover span { border-color: var(--salvia-esc); }
.agenda-erro { margin: -6px 0 14px; color: #b4483b; font-size: 14px; font-weight: 600; }
.agenda-aviso { margin-top: 12px; font-size: 12.5px; text-align: center; color: var(--suave); }

/* ---------- Horário ---------- */
.hora-grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.hora-card { background: var(--branco); border-radius: 26px; padding: 30px 22px; box-shadow: var(--sombra); }
.hora-card h2 { font-size: clamp(30px, 6.8vw, 42px); }
.hora-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 14px; border-radius: 99px; background: var(--areia); font-size: 14px; font-weight: 600; color: var(--grafite); }
.ponto { width: 9px; height: 9px; border-radius: 50%; background: #a39b93; }
.hora-status[data-aberto="sim"] { background: var(--salvia-clara); color: var(--salvia-funda); }
.hora-status[data-aberto="sim"] .ponto { background: #3f9b6e; box-shadow: 0 0 0 4px rgba(63, 155, 110, .2); }
.hora-tabela { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; }
.hora-tabela th, .hora-tabela td { padding: 11px 4px; border-bottom: 1px solid var(--linha); text-align: left; font-weight: 500; }
.hora-tabela th { color: var(--grafite); text-transform: capitalize; }
.hora-tabela td { text-align: right; color: var(--suave); }
.hora-tabela td span { display: block; }
@media (min-width: 560px) { .hora-tabela td span { display: inline; } .hora-tabela td span + span::before { content: " · "; } }
.hora-tabela tr.hoje th, .hora-tabela tr.hoje td { color: var(--salvia-esc); font-weight: 700; }
.hora-tabela tr.hoje th::after { content: "hoje"; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--salvia-clara); font-size: 11px; font-weight: 600; text-transform: none; vertical-align: 2px; }
.hora-end { display: flex; gap: 12px; margin-top: 22px; font-style: normal; font-size: 15px; color: var(--grafite); }
.hora-end svg { flex: none; color: var(--salvia-esc); margin-top: 2px; }
.hora-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hora-botoes .btn { flex: 1 1 140px; }
.mapa { border-radius: 26px; overflow: hidden; min-height: 340px; background: var(--areia); box-shadow: var(--sombra); }
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Instagram ---------- */
.insta { background: var(--branco); }
.insta-topo { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.insta-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.insta-grade a { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.insta-grade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.insta-grade a::after {
  content: ""; position: absolute; inset: 0; background: rgba(35, 33, 31, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3C/svg%3E") center no-repeat;
  opacity: 0; transition: opacity .3s;
}
.insta-grade a:hover::after { opacity: 1; }
.insta-grade a:hover img { transform: scale(1.05); }

/* ---------- Chamada final ---------- */
.cta-final { background: var(--grafite); color: #fff; padding: 84px 0; text-align: center; }
.cta-dentro { display: flex; flex-direction: column; align-items: center; }
.cta-dente { color: var(--salvia); margin-bottom: 26px; }
.cta-final h2 { color: #fff; font-size: clamp(32px, 7.4vw, 52px); max-width: 15em; }
.cta-final h2 em { color: #b9d7c9; display: block; }
.cta-botoes { justify-content: center; width: 100%; max-width: 560px; }

/* ---------- Rodapé ---------- */
.rodape { background: #1a1917; color: #bdb6ad; padding: 56px 0 28px; font-size: 14px; }
.rodape-grade { display: grid; gap: 30px; }
.rodape .logo { color: #f1ece5; }
.rodape .logo-sub { color: #8f877e; }
.rodape-marca p { margin-top: 18px; max-width: 30em; line-height: 1.55; }
.rodape h3 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #f1ece5; margin-bottom: 12px; }
.rodape a { text-decoration: none; cursor: pointer; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape-fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: #8f877e; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); cursor: pointer;
  transition: transform .3s, opacity .3s;
}
.whats-flutuante:hover { transform: scale(1.06); }
.whats-flutuante.escondido { opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }

/* ---------- Aparecer ao descer (só com JS; sem JS tudo aparece normal) ---------- */
.js .surge { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .surge.visivel { opacity: 1; transform: none; }
.js .trat-grade .surge:nth-child(4n+2), .js .insta-grade .surge:nth-child(3n+2) { transition-delay: .08s; }
.js .trat-grade .surge:nth-child(4n+3), .js .insta-grade .surge:nth-child(3n) { transition-delay: .16s; }
.js .trat-grade .surge:nth-child(4n) { transition-delay: .24s; }

/* ---------- Telas maiores ---------- */
@media (min-width: 560px) {
  .faixa-item:first-child { display: inline-flex; }
  .trat-grade { grid-template-columns: repeat(2, 1fr); }
  .agenda { padding: 32px 30px; }
  .chips-dias { margin: 0 -30px; padding-left: 30px; padding-right: 30px; scroll-padding-inline: 30px; }
  .aval-lista { grid-template-columns: repeat(2, 1fr); }
  .insta-grade { grid-template-columns: repeat(3, 1fr); }
  .galeria { gap: 16px; }
  .galeria figcaption { font-size: 13.5px; padding: 50px 16px 16px; }
  .logo-nome { font-size: 13.5px; letter-spacing: .16em; }
  .capa-provas { gap: 24px; }
}

@media (min-width: 900px) {
  :root { --topo-alt: 78px; }
  .faixa-cro { display: inline-flex; opacity: .7; }
  .faixa-dentro { justify-content: space-between; }
  .menu { display: flex; gap: 30px; }
  .menu a { position: relative; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--texto); padding: 6px 0; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--salvia-esc); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .menu a:hover::after { transform: scaleX(1); }
  .logo-nome { font-size: 15px; }

  .capa { padding: 64px 0 96px; }
  .capa-dentro { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
  .capa-botoes .btn { flex: 0 0 auto; }
  .capa-provas { gap: 34px; justify-content: start; }
  .capa-provas strong { font-size: 17px; }
  .capa-selo { left: -48px; bottom: 44px; }

  .secao { padding: 112px 0; }
  .secao-topo { margin-bottom: 52px; }
  .trat-grade { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .casos { grid-template-columns: repeat(3, 1fr); }
  .sobre-grade { grid-template-columns: .85fr 1fr; gap: 80px; }
  .galeria { gap: 20px; margin-top: 80px; }
  .galeria figure { aspect-ratio: 4 / 5; }
  .aval-lista { grid-template-columns: repeat(6, 1fr); }
  .aval-grande { grid-column: span 3; }
  .aval:not(.aval-grande) { grid-column: span 3; flex-direction: row; align-items: center; }
  .aval:not(.aval-grande) blockquote p::before { display: inline; font-size: 18px; margin: 0 2px 0 0; line-height: 1; }
  .agendar-grade { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .agendar-grade { align-items: center; }
  .agenda { padding: 38px 38px; }
  .chips-dias { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .hora-grade { grid-template-columns: .95fr 1.05fr; gap: 28px; }
  .hora-card { padding: 42px 40px; }
  .mapa, .mapa iframe { min-height: 100%; }
  .insta-grade { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .rodape-grade { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .surge { opacity: 1; transform: none; }
}

/* Select pisca quando um card de tratamento escolhe por você */
@keyframes piscou { 0%, 100% { box-shadow: 0 0 0 0 rgba(136, 162, 153, 0); } 30% { box-shadow: 0 0 0 6px rgba(136, 162, 153, .45); } }
.campo select.piscou { animation: piscou 1.4s ease 0.5s; }

.galeria .foco-topo img { object-position: 50% 0; }

/* ---------- Celular: cards mais baixos (ícone do lado do texto) ---------- */
@media (max-width: 559px) {
  .trat { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 20px 18px 14px; }
  .trat-icone { grid-row: 1 / span 3; width: 40px; height: 40px; margin: 2px 0 0; }
  .trat h3 { margin-bottom: 4px; }
  .trat-agendar { margin-top: 4px; }
  .aval { padding: 22px; }
  .aval blockquote p { font-size: 16.5px; }
}
