/* Amapets: cores do logo (roxo #563d7b, turquesa #00bbbb), fundo claro e frio como a clínica. */
:root {
  --fundo: #f6f5f9;
  --papel: #ffffff;
  --tinta: #1d1630;
  --texto: #3b3449;
  --suave: #5d5570;
  --roxo: #563d7b;
  --roxo-esc: #2f2146;
  --lilas: #ebe6f3;
  --turq: #00bbbb;
  --turq-claro: #7fe3df;
  --turq-esc: #00797b;
  --linha: #e1dcea;
  --verde-whats: #128c4a;
  --raio: 18px;
  --larg: 1220px;
  --f-tit: 'Rethink Sans', system-ui, sans-serif;
  --f-txt: 'Onest', system-ui, sans-serif;
  --peso-tit: 800;
  --esp-tit: -0.03em;
}
[data-fonte='b'] { --f-tit: 'Lexend', system-ui, sans-serif; --f-txt: 'Lexend', system-ui, sans-serif; --peso-tit: 600; --esp-tit: -0.035em; }
[data-fonte='c'] { --f-tit: 'DM Serif Display', Georgia, serif; --f-txt: 'Albert Sans', system-ui, sans-serif; --peso-tit: 400; --esp-tit: -0.01em; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 18px/1.6 var(--f-txt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-tit); font-weight: var(--peso-tit); letter-spacing: var(--esp-tit); color: var(--tinta); margin: 0; line-height: 1.06; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 3px; }

section, .topo, .rodape { width: min(var(--larg), 100% - 48px); margin-inline: auto; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 26px; border-radius: 14px;
  background: var(--roxo); color: #fff; font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
}
.botao:hover { background: var(--roxo-esc); }
.botao:active { transform: scale(.98); }
.botao.contorno { background: transparent; color: var(--roxo); box-shadow: inset 0 0 0 2px var(--roxo); }
.botao.contorno:hover { background: var(--roxo); color: #fff; }
.botao.claro { background: var(--turq); color: var(--tinta); }
.botao.claro:hover { background: var(--turq-claro); }

/* Topo */
.topo { display: flex; align-items: center; gap: 32px; padding: 18px 0; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--roxo); font-size: 17px; line-height: 1.15; }
.marca img { width: 44px; height: 44px; border-radius: 50%; }
.marca b { display: block; font-family: var(--f-tit); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--texto); font-weight: 500; }
.menu a:hover { color: var(--roxo); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.tel { font-weight: 700; color: var(--roxo); text-decoration: none; padding: 10px 16px; border-radius: 12px; background: var(--lilas); }
.tel:hover { background: #ddd4ec; }

/* Abertura: o básico à esquerda, a ficha à direita */
.abertura {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center;
  padding: 28px 0 96px; min-height: calc(100svh - 80px);
}
.intro h1 { font-size: clamp(46px, 5.6vw, 84px); line-height: 1.0; padding-top: .06em; }
.lead { margin-top: 26px; font-size: 22px; line-height: 1.5; color: var(--texto); max-width: 30ch; }
.agora { margin-top: 34px; display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--tinta); }
.agora i { width: 12px; height: 12px; border-radius: 50%; background: #b6aec4; flex: none; }
.agora.aberta i { background: var(--turq); box-shadow: 0 0 0 0 rgba(0, 187, 187, .6); animation: bate 1.6s ease-out infinite; }
@keyframes bate { 0% { box-shadow: 0 0 0 0 rgba(0, 187, 187, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(0, 187, 187, 0); } }
.nota { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); }
.nota:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.nota b { color: var(--tinta); }
.estrelas { color: #f2a900; letter-spacing: 2px; font-size: 20px; }
.onde { margin-top: 6px; color: var(--suave); }

/* Ficha */
.ficha {
  background: var(--roxo); color: #fff; border-radius: 26px; padding: 30px 32px 24px;
  box-shadow: 0 30px 60px -30px rgba(47, 33, 70, .55);
  position: relative;
}
.ficha-cabeca { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ficha h2 { color: #fff; font-size: 26px; letter-spacing: -.02em; }
.conta { color: rgba(255, 255, 255, .8); font-size: 16px; white-space: nowrap; }
.pulso { width: 100%; height: 40px; margin: 10px 0 18px; overflow: visible; }
.pulso path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulso-fundo { stroke: rgba(255, 255, 255, .2); }
.pulso-anda { stroke: var(--turq); stroke-width: 3.5; transition: stroke-dashoffset .7s cubic-bezier(.6, 0, .2, 1); }
.ficha.chama { animation: chama .9s ease-out; }
@keyframes chama { 0% { box-shadow: 0 0 0 0 rgba(0, 187, 187, .7), 0 30px 60px -30px rgba(47, 33, 70, .55); } 100% { box-shadow: 0 0 0 22px rgba(0, 187, 187, 0), 0 30px 60px -30px rgba(47, 33, 70, .55); } }

.passo { min-height: 420px; }
.passo.entra { animation: entra .35s ease-out; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pergunta { display: block; font-family: var(--f-tit); font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; color: #fff; margin-bottom: 18px; outline: none; }
.pergunta.menor { font-size: 22px; margin: 22px 0 12px; }
.explica, .aviso { font-size: 16px; color: rgba(255, 255, 255, .85); margin: -8px 0 16px; }
.aviso { margin: 16px 0 0; }
.aviso a, .ficha-pe a { color: #fff; font-weight: 700; }

.bichos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bicho { background: #fff; border: 0; padding: 0; border-radius: 18px; overflow: hidden; color: var(--tinta); text-align: left; transition: transform .2s, box-shadow .2s; }
.bicho img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.bicho span { display: block; padding: 14px 18px 16px; font-family: var(--f-tit); font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.bicho:hover img { transform: scale(1.05); }
.bicho:hover { box-shadow: 0 0 0 4px var(--turq-claro); }
.bicho.marcada { box-shadow: 0 0 0 5px var(--turq); }

.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcao {
  display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 10px 16px;
  background: #fff; color: var(--tinta); border: 0; border-radius: 14px; text-align: left;
  font-weight: 700; font-size: 18px; line-height: 1.25; transition: background .15s, transform .15s;
}
.opcao i { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid #b9b0c9; flex: none; position: relative; transition: all .15s; }
.opcao:hover { background: #f0fbfb; }
.opcao:hover i { border-color: var(--turq-esc); }
.opcao.marcada { background: var(--turq); }
.opcao.marcada i { background: var(--tinta); border-color: var(--tinta); }
.opcao.marcada i::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.dias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dia { min-height: 68px; background: #fff; color: var(--tinta); border: 0; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.dia b { font-size: 19px; }
.dia span { font-size: 16px; color: var(--suave); }
.turnos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.turno { min-height: 60px; background: #fff; color: var(--tinta); border: 0; border-radius: 14px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.turno small { font-weight: 400; font-size: 14px; }
.turno:disabled { background: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .85); cursor: not-allowed; }
.dia:hover, .turno:not(:disabled):hover { background: #f0fbfb; }
.dia.marcada, .turno.marcada { background: var(--turq); }
.dia.marcada span { color: var(--tinta); }
.ficha .explica:last-of-type { margin: 16px 0 0; }

.campo {
  width: 100%; min-height: 62px; padding: 14px 18px; border: 0; border-radius: 14px;
  background: #fff; color: var(--tinta); font: 500 20px/1.4 var(--f-txt);
}
textarea.campo { min-height: 110px; resize: vertical; font-size: 18px; }
.campo::placeholder { color: #8d84a0; }
.rotulo { display: block; margin: 22px 0 10px; font-weight: 700; }
.rotulo span { font-weight: 400; color: rgba(255, 255, 255, .8); }

.acoes { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.voltar { background: none; border: 0; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; padding: 12px 4px; }
.seguir { margin-left: auto; min-height: 58px; padding: 0 30px; border: 0; border-radius: 14px; background: var(--turq); color: var(--tinta); font-weight: 800; font-size: 19px; }
.seguir:hover { background: var(--turq-claro); }
.seguir:disabled { opacity: .45; cursor: not-allowed; }

.msg { margin: 0; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; font: 400 17px/1.55 var(--f-txt); white-space: pre-wrap; word-break: break-word; }
.whats {
  display: flex; align-items: center; justify-content: center; margin-top: 14px; min-height: 64px; border-radius: 14px;
  background: var(--verde-whats); color: #fff; font-weight: 800; font-size: 20px; text-decoration: none;
}
.whats:hover { background: #0e7a40; }
.levar { margin-top: 18px; font-size: 17px; }
.levar ul { list-style: none; padding: 0; margin: 8px 0 10px; }
.levar li { position: relative; padding-left: 28px; margin: 4px 0; }
.levar li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 7px; height: 13px; border: solid var(--turq); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.levar p:last-child { color: rgba(255, 255, 255, .88); }
.ficha-pe { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 16px; color: rgba(255, 255, 255, .85); }

/* Quem atende */
.mari { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; padding: 40px 0 120px; }
.mari-foto { margin: 0; }
.mari-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.mari h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 28px; }
.mari .fala { font-family: var(--f-tit); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.38; letter-spacing: -.01em; color: var(--tinta); margin-bottom: 22px; }
[data-fonte='c'] .mari .fala { font-family: var(--f-txt); }
.mari-texto > p:not(.fala):not(.assina) { max-width: 52ch; }
.assina { margin-top: 26px; color: var(--roxo); }

/* O que atende */
.atende { padding: 0 0 120px; }
.atende h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 48px; }
.servicos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 56px; }
.servico h3 { font-size: 26px; color: var(--roxo); margin-bottom: 12px; letter-spacing: -.02em; }
.servico p { color: var(--texto); }
.servico a { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--turq-esc); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.servico a:hover { color: var(--roxo); }

/* Pet medroso: faixa cheia */
.medo {
  width: 100%; max-width: none; background: var(--roxo-esc); color: #e9e4f2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center;
  padding: 110px max(24px, (100% - var(--larg)) / 2);
}
.medo h2 { color: #fff; font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 26px; }
.medo h3 { color: var(--turq-claro); font-size: 26px; margin: 40px 0 12px; letter-spacing: -.02em; }
.medo p { max-width: 54ch; font-size: 19px; }
.medo .botao { margin-top: 34px; }
.medo-foto { margin: 0; }
.medo-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }

/* A clínica */
.clinica { padding: 120px 0; }
.clinica-topo { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.clinica-topo h2 { font-size: clamp(34px, 3.6vw, 52px); }
.clinica-topo p { max-width: 36ch; color: var(--suave); }
.fotos { display: grid; grid-template-columns: 1.25fr 1fr .9fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(78vw, 720px); }
.fotos figure { margin: 0; position: relative; overflow: hidden; border-radius: 20px; }
.fotos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.fotos figure:hover img { transform: scale(1.04); }
.fotos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-weight: 700; font-size: 17px; line-height: 1.3;
  background: linear-gradient(transparent, rgba(20, 14, 32, .72));
}
.f1 { grid-row: 1 / 3; }
.f2 { grid-row: 1 / 3; }

/* Avaliações estilo Google */
.avaliacoes { padding: 0 0 120px; }
.aval-topo { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.aval-topo h2 { font-size: clamp(32px, 3.4vw, 48px); max-width: 16ch; }
.aval-resumo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--suave); }
.aval-nota { font-family: var(--f-tit); font-weight: 800; font-size: 46px; color: var(--tinta); line-height: 1; }
.aval-est { color: #fbbc04; font-size: 24px; letter-spacing: 2px; }
.aval-resumo .botao { margin-left: 8px; }
.cartoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.cartao { background: var(--papel); border-radius: 16px; padding: 20px 22px 18px; box-shadow: 0 1px 2px rgba(29, 22, 48, .08), 0 8px 24px -12px rgba(29, 22, 48, .18); font-family: Roboto, Arial, var(--f-txt); }
.cartao header { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 19px; flex: none; }
.quem { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.quem b { color: #202124; font-size: 16px; font-weight: 600; }
.quem small { color: #70757a; font-size: 14px; }
.g { margin-left: auto; width: 22px; height: 22px; flex: none; }
.est { color: #fbbc04; letter-spacing: 1px; margin: 12px 0 6px; font-size: 18px; }
.txt { color: #3c4043; font-size: 16px; line-height: 1.55; }
.cartao.fechado .txt { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.mais { background: none; border: 0; padding: 6px 0 0; color: #1a73e8; font-weight: 600; font-size: 15px; }
.cartao:nth-child(4), .cartao:nth-child(5) { grid-column: span 1; }

/* Endereço */
.endereco { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; padding: 0 0 120px; align-items: stretch; }
.endereco h2 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 24px; }
.rua { font-size: 21px; color: var(--tinta); line-height: 1.5; }
.horas { list-style: none; padding: 0; margin: 28px 0; }
.horas li { display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 10px; }
.horas li.hoje { background: var(--lilas); color: var(--roxo); font-weight: 700; }
.end-botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.mapa { border-radius: 24px; overflow: hidden; min-height: 460px; background: var(--lilas); }
.mapa iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* Rodapé */
.rodape { display: flex; align-items: center; gap: 28px; padding: 40px 0 56px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 16px; }
.rodape img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; flex: none; }
.rodape-frase { font-family: var(--f-tit); font-weight: var(--peso-tit); font-size: 28px; color: var(--tinta); letter-spacing: -.02em; margin-bottom: 6px; }
.rodape a { color: var(--roxo); font-weight: 700; }

/* Botão flutuante (celular) */
.flutua { display: none; }

/* Entradas */
.anima .intro > * { opacity: 0; transform: translateY(18px); animation: sobe .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.anima .intro > :nth-child(2) { animation-delay: .08s; }
.anima .intro > :nth-child(3) { animation-delay: .16s; }
.anima .intro > :nth-child(4) { animation-delay: .22s; }
.anima .intro > :nth-child(5) { animation-delay: .28s; }
.anima .ficha { opacity: 0; transform: translateY(26px); animation: sobe .8s .12s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes sobe { to { opacity: 1; transform: none; } }
.anima .surge { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.anima .surge.visto { opacity: 1; transform: none; }

/* Tablet e celular */
@media (max-width: 1020px) {
  .abertura { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-bottom: 72px; }
  .lead { max-width: 40ch; }
  .mari, .medo, .endereco { grid-template-columns: 1fr; gap: 40px; }
  .mari-foto img { aspect-ratio: 4 / 3; }
  .servicos { grid-template-columns: 1fr 1fr; }
  .cartoes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  section, .topo, .rodape { width: calc(100% - 32px); }
  .topo { padding: 12px 0; gap: 12px; }
  .menu { display: none; }
  .marca { font-size: 14px; }
  .marca b { font-size: 20px; }
  .tel { margin-left: auto; font-size: 15px; padding: 9px 12px; }
  .abertura { padding-top: 14px; gap: 28px; }
  .intro h1 { font-size: 42px; }
  .lead { font-size: 19px; margin-top: 16px; }
  .agora { margin-top: 20px; }
  .ficha { padding: 22px 18px 18px; border-radius: 22px; margin-inline: -4px; }
  .ficha h2 { font-size: 22px; }
  .pergunta { font-size: 25px; }
  .passo { min-height: 0; }
  .bichos { gap: 10px; }
  .bicho span { font-size: 21px; padding: 10px 14px 12px; }
  .opcoes { grid-template-columns: 1fr; }
  .opcao { min-height: 58px; }
  .mari { padding: 8px 0 80px; }
  .atende, .avaliacoes, .endereco { padding-bottom: 80px; }
  .atende h2 { margin-bottom: 32px; }
  .servicos { grid-template-columns: 1fr; gap: 36px; }
  .medo { padding: 72px 16px; gap: 36px; }
  .clinica { padding: 80px 0; }
  .clinica-topo { flex-direction: column; align-items: start; gap: 12px; }
  .fotos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; gap: 10px; }
  .fotos figure { aspect-ratio: 3 / 4; }
  .f1, .f2 { grid-row: auto; }
  .fotos figcaption { font-size: 15px; padding: 32px 12px 10px; }
  .cartoes { grid-template-columns: 1fr; }
  .aval-resumo .botao { margin-left: 0; width: 100%; }
  .mapa, .mapa iframe { min-height: 340px; }
  .rodape { flex-direction: column; align-items: start; gap: 18px; padding-bottom: 110px; }
  .rodape img { width: 96px; height: 96px; }
  .flutua {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 20;
    min-height: 58px; align-items: center; justify-content: center; border-radius: 16px;
    background: var(--roxo); color: #fff; font-weight: 800; font-size: 19px; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(29, 22, 48, .6);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .flutua.mostra { transform: none; }
  .flutua.some { transform: translateY(140%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
