/* Modelo KRIA — pet shop · "A frase é o layout" (estilo autoral, direção sentence-as-layout)
   Escrito para 360 px e ampliado em 560, 900 e 1100 px. Cada seção é uma frase com a sua prova: a frase do
   início tem a foto no lugar do espaço entre as palavras; a frase do banho tem o nome do pet e o preço.
   Fundo de areia, tinta carvão, musgo nas ações e um campo de folha no rodapé. Uma família só (Instrument
   Sans), seis tamanhos: texto, destaque, título, frase, letreiro e o verbo gigante do leva e traz. Sem
   etiquetas acima de títulos, numeração, linhas finas, sombras em repouso, gradientes ou vidro. As cores
   mudam pelo "cores" do site.json. */

/* Fonte servida pelo próprio site (subconjunto latino do Google Fonts, licença SIL OFL), variável:
   peso 400 a 700 e largura 75% a 100%. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url('../fonts/instrument-sans.woff2') format('woff2'); }

:root {
  --c-fundo: #DDD6C6;
  --c-superficie: #D2CAB8;
  --c-tinta: #2A2A26;
  --c-suave: #54524A;
  --c-destaque: #4F6238;
  --c-destaque-tinta: #FFFFFF;
  --c-campo: #3F5A2A;
  --c-campo-tinta: #FFFFFF;

  --f: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  /* os seis tamanhos da página */
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-frase: clamp(2.75rem, 8vw, 8rem);
  --step-display: clamp(4.25rem, 19vw, 10.5rem);
  --step-giant: clamp(5.5rem, 24vw, 18rem);

  --topo: 64px;
  --margem: clamp(16px, 3vw, 32px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topo) + 8px);
  /* o WhatsApp flutuante não cobre o item que recebe o foco perto da borda de baixo */
  scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom));
  accent-color: var(--c-destaque);
  scrollbar-color: var(--c-tinta) var(--c-superficie);
}
body {
  margin: 0;
  background: var(--c-fundo);
  color: var(--c-tinta);
  font: 400 var(--step-body)/1.5 var(--f);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
a, button, summary, label { touch-action: manipulation; }
h1, h2, h3 { margin: 0; font-weight: 600; color: inherit; }
p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: var(--c-destaque); color: var(--c-destaque-tinta); }
input { caret-color: var(--c-destaque); }

/* Foco em anel duplo, visível em todos os campos de cor */
:focus-visible { outline: 3px solid var(--c-tinta); outline-offset: 3px; box-shadow: 0 0 0 3px var(--c-fundo); border-radius: 2px; } /* taste-skill-ignore: anel duplo de foco (acessibilidade da casa) */
.leva :focus-visible, .menu :focus-visible { outline-color: var(--c-campo-tinta); box-shadow: 0 0 0 3px var(--c-tinta); } /* taste-skill-ignore: anel duplo de foco (acessibilidade da casa) */
[tabindex="-1"]:focus { outline: none; box-shadow: none; } /* taste-skill-ignore: tira o anel do ponto de partida do Tab */

.container { padding-inline: var(--margem); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; /* taste-skill-ignore: texto só para leitor de tela, não é linha */
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--c-tinta); color: var(--c-fundo);
  text-decoration: none;
}
.pular:focus { top: 12px; }

/* botões: cheios, de ponta redonda; os chips da ficha têm a mesma forma */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 var(--step-body)/1.2 var(--f); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--destaque { background: var(--c-destaque); color: var(--c-destaque-tinta); }
.btn--tinta { background: var(--c-tinta); color: var(--c-fundo); }
.btn--contorno { border-color: var(--c-tinta); color: var(--c-tinta); }
.btn--grande { min-height: 60px; padding: 0 32px; }
.btn--pequeno { min-height: 44px; padding: 0 18px; }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em;
}
.nota { max-width: 56ch; margin-top: 24px; color: var(--c-suave); }

/* ---------- faixa do modelo de demonstração ---------- */
body:has(> .faixa-demo) { --faixa: 52px; }
.faixa-demo {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px;
  padding: 4px var(--margem);
  background: var(--c-tinta); color: var(--c-fundo);
  font-size: 1rem; line-height: 1.4;
}
.faixa-demo span { padding-block: 8px; }
.faixa-demo a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-underline-offset: 4px; }

/* ---------- topo: barra simples, nome à esquerda ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: var(--c-fundo); }
.topo__barra { display: flex; align-items: center; gap: 8px; height: var(--topo); padding-inline: var(--margem); }
.marca { display: flex; align-items: center; min-height: 44px; min-width: 0; margin-right: auto; text-decoration: none; }
.marca img { height: 36px; width: auto; max-width: 46vw; object-fit: contain; object-position: left center; }
.marca__nome { font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; }
.topo__cta { flex: none; }
.menu-btn {
  flex: none; min-width: 64px; min-height: 44px; padding: 0 10px; margin-right: -10px;
  border: 0; background: none; color: inherit; cursor: pointer;
  font: 600 var(--step-body)/1 var(--f); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em;
}
.menu-btn__fechar, .menu-btn[aria-expanded="true"] .menu-btn__abrir { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__fechar { display: inline; }

/* Sem JavaScript: os links viram uma linha logo abaixo do nome */
html:not(.js) .topo { position: relative; }
html:not(.js) .topo__barra { flex-wrap: wrap; height: auto; padding-block: 8px; }
html:not(.js) .menu { order: 3; width: 100%; }
html:not(.js) .menu ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
html:not(.js) .menu a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
html:not(.js) .menu-btn, html:not(.js) .menu__acoes { display: none; }

/* Com JavaScript, até 1099 px: menu de tela cheia no campo de folha */
@media (max-width: 1099px) {
  .js .menu {
    position: fixed; inset: 0; z-index: 45;
    display: flex; flex-direction: column;
    padding: calc(var(--topo-fim, var(--topo)) + 24px) var(--margem) calc(24px + env(safe-area-inset-bottom));
    background: var(--c-campo); color: var(--c-campo-tinta);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0;
    transition: opacity 240ms var(--ease-out), visibility 0s 240ms;
  }
  .js.menu-aberto .menu { visibility: visible; opacity: 1; transition: opacity 240ms var(--ease-out); }
  .js .menu li a { display: flex; align-items: center; min-height: 56px; font-size: var(--step-head); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
  .js .menu li, .js .menu__acoes { opacity: 0; transform: translateY(16px); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out); }
  .js.menu-aberto .menu li, .js.menu-aberto .menu__acoes { opacity: 1; transform: none; }
  .js.menu-aberto .menu li:nth-child(2) { transition-delay: 40ms; }
  .js.menu-aberto .menu li:nth-child(3) { transition-delay: 80ms; }
  .js.menu-aberto .menu li:nth-child(4) { transition-delay: 120ms; }
  .js.menu-aberto .menu li:nth-child(5) { transition-delay: 160ms; }
  .js.menu-aberto .menu__acoes { transition-delay: 200ms; }
  .menu__acoes { margin-top: auto; padding-top: 40px; }
  .menu__acoes .btn { width: 100%; background: var(--c-campo-tinta); color: var(--c-campo); }
  .js .marca, .js .topo__cta, .js .menu-btn { position: relative; z-index: 46; }
  .menu-aberto .topo { background: var(--c-campo); color: var(--c-campo-tinta); }
  .menu-aberto .topo__cta { background: var(--c-campo-tinta); color: var(--c-campo); }
  .menu-aberto, .menu-aberto body { overflow: hidden; }
  .menu-aberto .flutuante { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* ---------- início: a frase com a foto entre as palavras ---------- */
.hero { padding-block: clamp(28px, 6vh, 80px) clamp(32px, 6vh, 72px); }
.hero__grade { display: grid; gap: clamp(28px, 5vh, 56px); }
/* no celular, as duas palavras ficam em duas linhas e a foto vai entre elas, na largura inteira */
.hero__frase { display: grid; gap: 0.08em; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.045em; }
.hero__palavra { display: block; white-space: nowrap; }
.hero__foto { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 1; margin-block: 0.1em; background: var(--c-superficie); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__base { display: grid; gap: 22px; }
.hero__sub { max-width: 40ch; }
.hero__acoes { display: grid; gap: 14px; justify-items: start; }
.hero__acoes .btn { width: 100%; }
.selo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-suave); }
.selo__ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--c-destaque); flex: none; }
.selo--fechado .selo__ponto { background: #B4553F; }

/* ---------- banho e tosa: a frase com o nome e o preço, a ficha e a tabela ---------- */
.ficha { padding-block: clamp(88px, 12vw, 180px); background: var(--c-superficie); }
.ficha__frase { max-width: 15ch; font-size: var(--step-frase); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
/* o preço é um bloco de musgo na própria linha, do tamanho da letra */
.ficha__preco {
  display: inline-block; padding: 0.04em 0.16em 0.08em; margin-left: 0.04em;
  background: var(--c-destaque); color: var(--c-destaque-tinta);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.ficha__preco > span { display: inline-block; }
.ficha__grade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; margin-top: clamp(40px, 6vw, 72px); }
.ficha__tabela { min-width: 0; overflow-x: auto; }
.ficha__apoio { max-width: 44ch; font-size: var(--step-lead); line-height: 1.3; }
.ficha__form { display: grid; gap: 22px; margin-top: 32px; }
html:not(.js) .ficha__form { display: none; }
.campo { display: grid; gap: 8px; }
.campo__rotulo { font-weight: 600; }
.campo__texto {
  width: 100%; min-height: 52px; padding: 0 18px;
  border: 2px solid var(--c-tinta); border-radius: 999px;
  background: var(--c-fundo); color: var(--c-tinta);
  font: 400 max(16px, var(--step-body))/1.2 var(--f);
}
.campo__texto::placeholder { color: var(--c-suave); opacity: 1; }
.escolha { display: grid; gap: 8px; }
.escolha__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 11px 18px 0;
  border: 2px solid var(--c-tinta); border-radius: 999px;
  font-weight: 600; line-height: 1.1;
  transition: background-color 160ms ease, color 160ms ease;
}
.chip small { font-size: 1rem; font-weight: 400; }
.chip input:checked + span { background: var(--c-tinta); color: var(--c-fundo); }
.chip input:focus-visible + span { outline: 3px solid var(--c-tinta); outline-offset: 3px; box-shadow: 0 0 0 3px var(--c-superficie); } /* taste-skill-ignore: anel duplo de foco (acessibilidade da casa) */
.ficha__resumo { min-height: 1.5em; color: var(--c-suave); }
.ficha__resumo:empty { display: none; }
.ficha__enviar { justify-self: start; width: 100%; }
.precos { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.precos__titulo { text-align: left; padding-bottom: 12px; font-weight: 600; caption-side: top; }
.precos th, .precos td { padding: 12px 8px; text-align: right; vertical-align: baseline; }
.precos th:first-child { padding-left: 12px; text-align: left; }
.precos td:last-child { padding-right: 12px; }
.precos thead th { font-weight: 400; color: var(--c-suave); }
.precos tbody th { font-weight: 600; }
.precos__peso { display: block; font-weight: 400; color: var(--c-suave); }
.precos tbody tr { transition: background-color 200ms ease; }
.precos tbody tr.e-escolhido { background: var(--c-fundo); }

/* ---------- cuidados: linhas presas a um eixo, a foto na margem direita ---------- */
.cuidados { padding-block: clamp(96px, 14vw, 200px); }
.cuidados__titulo { font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.035em; }
.cuidados__lista { list-style: none; padding: 0; display: grid; gap: 64px; margin-top: 48px; }
.cuidado { display: grid; gap: 20px; }
.cuidado__nome { font-size: var(--step-lead); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.cuidado__desc { max-width: 34ch; margin-top: 8px; }
.cuidado__acao { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 6px; }
.cuidado__preco { font-weight: 600; font-variant-numeric: tabular-nums; }
.cuidado__foto { position: relative; overflow: hidden; background: var(--c-superficie); }
.cuidado__foto img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
/* no celular, as fotos alternam de largura e de lado */
.cuidado:nth-child(4n+1) .cuidado__foto { width: 100%; aspect-ratio: 3 / 2; }
.cuidado:nth-child(4n+2) .cuidado__foto { width: 70%; justify-self: end; aspect-ratio: 4 / 5; }
.cuidado:nth-child(4n+3) .cuidado__foto { width: 55%; aspect-ratio: 1; }
.cuidado:nth-child(4n+4) .cuidado__foto { width: 70%; justify-self: end; aspect-ratio: 4 / 5; }
.cuidados__nota { margin-top: 56px; }

/* ---------- leva e traz: um verbo por tela, preso no meio enquanto a foto passa ---------- */
.leva { background: var(--c-tinta); }
/* overflow: clip (e não hidden) recorta a foto sem tirar o verbo do "position: sticky" */
.painel { position: relative; height: 100svh; min-height: 520px; overflow: clip; color: var(--c-campo-tinta); }
.painel__foto { position: absolute; inset: -6% 0; width: 100%; height: 112%; max-width: none; object-fit: cover; }
/* véu neutro e uniforme sob o texto (a única exceção da casa para cobrir uma foto) */
.painel::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 16, 0.42); }
/* o trilho do verbo fica afastado das bordas da tela: o verbo nunca encosta no corte da foto */
.painel__trilho { position: absolute; inset: 14svh 0; z-index: 1; }
.painel__verbo {
  position: sticky; top: 50%; transform: translateY(-50%);
  padding-inline: var(--margem); text-align: center;
  font-size: var(--step-giant); font-weight: 700; line-height: 0.9; letter-spacing: -0.05em;
}
.painel__frase {
  position: absolute; z-index: 1; left: var(--margem); right: var(--margem); bottom: calc(28px + env(safe-area-inset-bottom));
  max-width: 34ch; font-size: var(--step-body);
}
.leva__info { display: grid; gap: 32px; padding-block: clamp(64px, 9vw, 120px); background: var(--c-fundo); }
.leva__resumo { max-width: 32ch; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.leva__bairros-titulo { margin-bottom: 8px; font-weight: 600; }
.leva__bairros ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.leva__acao .btn { width: 100%; }

/* ---------- hotel e creche: um quadro, três distâncias ---------- */
.hotel { padding-block: clamp(88px, 12vw, 180px); }
.hotel__palco { display: grid; justify-items: center; gap: 16px; padding-inline: var(--margem); text-align: center; }
.hotel__metade { font-size: var(--step-frase); font-weight: 600; line-height: 0.95; letter-spacing: -0.045em; }
.hotel__quadro { position: relative; z-index: 0; width: min(70vw, 420px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-superficie); }
.hotel__quadro img { width: 100%; height: 100%; object-fit: cover; transform-origin: 56% 16%; transition: transform 900ms var(--ease-out); }
.hotel__metade--2 { position: relative; z-index: 1; margin-top: -0.32em; }
.hotel__legenda { display: grid; gap: 14px; justify-items: start; max-width: 36ch; margin-top: 24px; text-align: left; }
.hotel__itens { list-style: none; padding: 0; display: grid; gap: 6px; width: 100%; }
.hotel__itens li { display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.hotel__preco { font-variant-numeric: tabular-nums; }
.hotel__exigencia { color: var(--c-suave); }
/* as três distâncias (o main.js troca a etapa conforme a rolagem) */
/* primeiro as patas e os cachos, depois o focinho dormindo */
[data-etapa="1"] .hotel__quadro img { transform: scale(1.5); }
[data-etapa="2"] .hotel__quadro img { transform: scale(2.2); transform-origin: 30% 84%; }

/* ---------- loja: a frase à esquerda, a tabela empurrada para a direita ---------- */
.loja { padding-block: clamp(96px, 14vw, 200px); background: var(--c-superficie); }
.loja__titulo { max-width: 16ch; font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.loja__grade { display: grid; gap: 40px; margin-top: 56px; }
.loja__foto { position: relative; overflow: hidden; width: 60%; justify-self: end; aspect-ratio: 4 / 5; order: 1; background: var(--c-fundo); }
.loja__foto img { width: 100%; height: 112%; object-fit: cover; margin-top: -6%; }
.produtos { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.produtos th, .produtos td { padding: 8px 0; vertical-align: baseline; }
.produtos tbody + tbody tr:first-child > * { padding-top: 32px; }
/* o grupo aparece só na primeira linha (as outras continuam com o nome para o leitor de tela) */
.produtos__grupo { width: 1%; padding-right: 16px !important; font-weight: 400; color: var(--c-suave); text-align: left; white-space: nowrap; }
.produtos tr:not(:first-child) .produtos__grupo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.produtos__nome { padding-right: 16px !important; }
.produtos__preco { text-align: right; font-weight: 600; white-space: nowrap; }
.loja__entrega { max-width: 44ch; margin-top: 24px; font-weight: 600; }
.loja__acao { margin-top: 28px; }
.loja__acao .btn { width: 100%; }
/* no celular, a tabela empilha o grupo acima do nome */
@media (max-width: 559px) {
  .produtos tr { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding-block: 7px; }
  .produtos th, .produtos td { padding: 0 !important; }
  /* o espaço entre os grupos fica acima do nome do grupo, não abaixo dele */
  .produtos tbody + tbody tr:first-child { padding-top: 32px; }
  .produtos__grupo { grid-column: 1 / -1; width: auto; margin-bottom: 4px; }
  .produtos tr:not(:first-child) .produtos__grupo { display: none; }
}

/* ---------- sobre: o parágrafo largo com a foto como letra capitular ---------- */
.sobre { padding-block: clamp(96px, 12vw, 160px); }
.sobre__grade { display: grid; gap: 32px; }
.sobre__texto { display: grid; gap: 1.2em; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.sobre__foto { float: left; width: 4.2em; height: 4.2em; margin: 0.18em 0.5em 0 0; object-fit: cover; }
.sobre__segundo { color: var(--c-suave); }
.sobre__fatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; order: 1; }
.sobre__fatos dt { color: var(--c-suave); }
.sobre__fatos dd { margin: 0; font-weight: 600; }

/* ---------- dúvidas: o título largo e as perguntas recuadas ---------- */
.duvidas { padding-block: clamp(96px, 12vw, 160px); background: var(--c-superficie); }
.duvidas__titulo { max-width: 14ch; font-size: var(--step-head); line-height: 0.98; letter-spacing: -0.035em; }
.duvidas__lista { display: grid; gap: 8px; margin-top: 48px; }
.duvida { margin-inline: calc(var(--margem) * -1); transition: background-color 200ms ease; }
.duvida summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px var(--margem);
  font-size: var(--step-lead); line-height: 1.2; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 240ms var(--ease-out); }
.duvida[open] { background: var(--c-fundo); }
.duvida[open] summary svg { transform: rotate(180deg); }
.duvida p { max-width: 48ch; padding: 0 var(--margem) 24px; }

/* ---------- onde fica: a frase do endereço, a foto pequena e os contatos ---------- */
.onde { padding-block: clamp(96px, 12vw, 160px); }
.onde__linha { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px 20px; align-items: start; }
.onde__frase { grid-column: 1 / -1; max-width: 26ch; font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.01em; }
.onde__frase a { text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; }
.onde__foto { width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--c-superficie); }
.onde__foto img { width: 100%; height: 100%; object-fit: cover; }
.onde__pergunta { font-weight: 600; }
.onde__links { list-style: none; padding: 0; }
.onde__hoje { grid-column: 1 / -1; color: var(--c-suave); }
.onde__mais { display: grid; gap: 28px; margin-top: 56px; }
.horarios { list-style: none; padding: 0; display: grid; gap: 4px; }
.horarios li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.horarios li span:last-child { font-variant-numeric: tabular-nums; }
.horarios li.e-hoje { font-weight: 600; }
.onde__rotas { display: grid; gap: 10px; }
.onde__mapa { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-superficie); }
.onde__mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.6) contrast(1.05); }
/* o foco do Tab entra no mapa (outro site): o contorno fica na moldura dele */
.onde__mapa:focus-within, .onde__mapa--foco { outline: 3px solid var(--c-tinta); outline-offset: 3px; }
.onde__mapa--reservado { display: grid; place-items: center; padding: 24px; text-align: center; }
.onde__mapa--reservado p { color: var(--c-suave); font-size: var(--step-lead); }

/* ---------- chamada final: as cores se invertem ---------- */
.chamada { padding-block: clamp(96px, 14vw, 200px); background: var(--c-tinta); color: var(--c-fundo); }
.chamada__grade { display: grid; gap: 28px; }
.chamada__titulo { font-size: var(--step-frase); line-height: 0.95; letter-spacing: -0.045em; }
.chamada__texto { max-width: 36ch; font-size: var(--step-lead); line-height: 1.3; }
.chamada__acao .btn { width: 100%; }
.chamada :focus-visible { outline-color: var(--c-fundo); box-shadow: 0 0 0 3px var(--c-tinta); } /* taste-skill-ignore: anel duplo de foco (acessibilidade da casa) */

/* ---------- rodapé: o número é a linha grande ---------- */
.rodape { padding: clamp(56px, 7vw, 96px) 0 calc(104px + env(safe-area-inset-bottom)); background: var(--c-campo); color: var(--c-campo-tinta); }
.rodape :focus-visible { outline-color: var(--c-campo-tinta); box-shadow: 0 0 0 3px var(--c-campo); } /* taste-skill-ignore: anel duplo de foco (acessibilidade da casa) */
.rodape__topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 32px; }
.rodape__notas { display: grid; gap: 4px; max-width: 46ch; }
.rodape__empresa { font-weight: 600; }
.rodape__horario { display: block; }
.rodape__numero {
  display: inline-block; margin-top: clamp(40px, 6vw, 72px); padding-block: 4px;
  font-size: var(--step-frase); font-weight: 600; line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap; text-decoration: none;
}
.rodape__fim { display: grid; gap: 8px; margin-top: 32px; }
.rodape__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.rodape__links a, .rodape__assinatura a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.22em; }
.rodape__creditos summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; }
.rodape__creditos ul { list-style: none; padding: 0; max-width: 80ch; }
.rodape__creditos li { padding-block: 3px; }
.rodape__assinatura { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }

/* página 404 */
.pagina-404 { display: flex; flex-direction: column; min-height: 100svh; }
.pagina-404 main { flex: 1; display: flex; align-items: center; }
.rodape--curto { padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); }

/* ---------- WhatsApp flutuante ---------- */
.flutuante {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--c-destaque); color: var(--c-destaque-tinta);
  border: 2px solid var(--c-fundo);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: o botão flutuante flutua de verdade */
  transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s;
}
.flutuante svg { width: 28px; height: 28px; fill: currentColor; }
.flutuante:focus-visible { outline: 3px solid var(--c-tinta); outline-offset: 3px; box-shadow: 0 0 0 6px var(--c-fundo); border-radius: 50%; } /* taste-skill-ignore: anel duplo de foco do botão flutuante */
.js .flutuante:not(.flutuante--visivel) { opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s 240ms; }

/* ---------- 560 px ---------- */
@media (min-width: 560px) {
  .hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .hero__acoes .btn, .ficha__enviar, .leva__acao .btn, .loja__acao .btn, .chamada__acao .btn { width: auto; }
  .leva__bairros ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* tablet: a frase do início não passa de 8 rem e a foto fica mais baixa, para o botão caber na primeira tela */
  :root { --step-display: clamp(4.25rem, 15vw, 8rem); }
  .hero__foto { aspect-ratio: 5 / 2; }
  .onde__rotas { display: flex; flex-wrap: wrap; }
}

/* ---------- 900 px: a grade de 12 colunas ---------- */
@media (min-width: 900px) {
  :root { --topo: 72px; --step-display: clamp(6rem, 10.5vw, 10.5rem); --step-giant: clamp(7rem, 17vw, 18rem); }
  .doze { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); }

  /* início: a frase numa linha só, no meio da tela; a frase de apoio e o botão embaixo, à direita */
  .hero { display: flex; min-height: min(calc(100svh - var(--topo) - var(--faixa, 0px)), 720px); padding-block: 40px 48px; }
  .hero__grade { grid-template-rows: 1fr auto; width: 100%; gap: 40px; }
  .hero__frase { display: flex; flex-wrap: wrap; align-items: baseline; align-self: center; gap: 0 0.2em; }
  /* a foto ocupa o lugar de uma palavra: da altura das maiúsculas, apoiada na linha de base */
  .hero__foto { display: inline-block; flex: none; width: 1.75em; height: 0.72em; aspect-ratio: auto; margin: 0; }
  .hero__base { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); align-items: end; }
  .hero__sub { grid-column: 5 / span 4; }
  .hero__acoes { grid-column: 9 / -1; justify-content: flex-end; }
  .hero__acoes .btn { white-space: nowrap; }

  .ficha__frase { max-width: none; }
  .ficha__grade { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); }
  .ficha__lado { grid-column: 1 / span 6; }
  .ficha__tabela { grid-column: 8 / -1; align-self: end; }

  .cuidados__titulo { margin-left: calc((100% + var(--margem)) / 12 * 4); }
  .cuidados__lista { gap: 104px; margin-top: 88px; }
  .cuidado { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); align-items: start; }
  .cuidado__texto { grid-column: 5 / span 4; }
  .cuidado__foto { grid-column: 10 / -1; justify-self: end; }
  .cuidado:nth-child(4n+1) .cuidado__foto { width: min(100%, 320px); }
  .cuidado:nth-child(4n+2) .cuidado__foto { width: min(100%, 240px); }
  .cuidado:nth-child(4n+3) .cuidado__foto { width: min(100%, 180px); }
  .cuidado:nth-child(4n+4) .cuidado__foto { width: min(100%, 260px); }
  .cuidados__nota { margin-left: calc((100% + var(--margem)) / 12 * 4); }

  .painel__frase { bottom: 40px; font-size: var(--step-lead); line-height: 1.3; }
  .leva__info { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); align-items: start; }
  .leva__resumo { grid-column: 1 / span 5; }
  .leva__bairros { grid-column: 7 / -1; }
  .leva__acao { grid-column: 1 / span 5; grid-row: 2; }

  .hotel__palco { grid-template-columns: 1fr auto 1fr; column-gap: var(--margem); align-items: center; }
  .hotel__metade { grid-column: 1 / -1; }
  .hotel__quadro { grid-column: 2; width: 30vw; max-width: 460px; }
  .hotel__legenda { grid-column: 3; grid-row: 2; align-self: start; justify-self: start; margin-top: 0; }

  .loja__titulo { max-width: 26ch; text-indent: 3vw; }
  .loja__grade { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); margin-top: 96px; }
  .loja__foto { order: 0; grid-column: 1 / span 4; align-self: end; justify-self: stretch; width: auto; }
  .loja__lista { grid-column: 7 / -1; }
  .loja__acao .btn { width: auto; }

  .sobre__grade { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); }
  .sobre__fatos { order: 0; grid-column: 1 / span 2; grid-template-columns: 1fr; align-self: start; }
  .sobre__texto { grid-column: 3 / -1; }

  .duvidas__lista { margin-left: calc((100% + var(--margem)) / 12 * 4); margin-top: 72px; }
  .duvida { margin-inline: -24px; }
  .duvida summary { padding-inline: 24px; }
  .duvida p { padding-inline: 24px; }

  .onde__linha { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); }
  .onde__frase { grid-column: 1 / span 5; }
  .onde__foto { grid-column: 7 / span 2; width: 100%; max-width: 170px; }
  .onde__contato { grid-column: 9 / -1; }
  .onde__hoje { grid-column: 9 / -1; margin-top: -8px; }
  .onde__mais { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); margin-top: 96px; align-items: start; }
  .horarios { grid-column: 1 / span 4; }
  .onde__rotas { grid-column: 1 / span 4; grid-row: 2; }
  .onde__mapa { grid-column: 6 / -1; grid-row: 1 / span 2; aspect-ratio: 16 / 9; }

  .chamada__grade { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--margem); row-gap: 48px; align-items: end; }
  .chamada__titulo { grid-column: 1 / -1; }
  .chamada__texto { grid-column: 1 / span 5; }
  .chamada__acao { grid-column: 9 / -1; justify-self: end; }

  .rodape__fim { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .rodape__creditos { justify-self: center; }
  .rodape__assinatura { justify-self: end; }
}

/* ---------- 1100 px: menu em linha ---------- */
@media (min-width: 1100px) {
  .menu { display: flex; align-items: center; margin-right: 20px; }
  .menu ul { display: flex; gap: 4px 26px; }
  .menu li a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
    text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 0.08em; text-underline-offset: 0.3em;
    transition: text-decoration-color 180ms ease;
  }
  .menu__acoes, .menu-btn { display: none; }
}

/* ---------- interação no computador ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn--destaque:hover { background: var(--c-tinta); color: var(--c-fundo); }
  .chamada .btn--destaque:hover { background: var(--c-fundo); color: var(--c-tinta); }
  .btn--tinta:hover { background: var(--c-destaque); color: var(--c-destaque-tinta); }
  .btn--contorno:hover { background: var(--c-tinta); color: var(--c-fundo); }
  .menu li a:hover { text-decoration-color: currentColor; }
  .link:hover, .menu-btn:hover { text-decoration-thickness: 0.14em; }
  .chip:hover span { background: var(--c-fundo); }
  .chip input:checked + span:hover { background: var(--c-tinta); }
  .duvida summary:hover svg { transform: translateY(2px); }
  .duvida[open] summary:hover svg { transform: rotate(180deg) translateY(2px); }
  .cuidado__foto img, .loja__foto img { transition: transform 700ms var(--ease-out); }
  .cuidado:hover .cuidado__foto img { transform: scale(1.04); }
  .rodape__numero:hover { text-decoration: underline; text-decoration-thickness: 0.05em; text-underline-offset: 0.12em; }
}

/* ---------- movimento (só com a classe .movimento, que respeita "reduzir movimento") ----------
   A foto do início abre como uma veneziana, da direita para a esquerda, enquanto assenta: ela aparece já no
   primeiro quadro (começa com 60% à vista) e as palavras só deslizam. O resto é feito pelo GSAP no main.js,
   com opacidade e deslocamento (o conteúdo nunca sai da ordem do Tab). */
.movimento .hero__foto { animation: veneziana 1100ms cubic-bezier(0.76, 0, 0.24, 1) 120ms both; }
.movimento .hero__foto img { animation: assentar 1500ms var(--ease-out) 120ms both; }
.movimento .hero__palavra { animation: deslizar 1000ms var(--ease-out) both; }
.movimento .hero__palavra:last-child { animation-delay: 90ms; }
.movimento .hero__base { animation: subir 900ms var(--ease-out) 300ms both; }
.movimento .hero__base:focus-within { animation: none; }
@keyframes veneziana { from { clip-path: inset(0 40% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes assentar { from { transform: scale(1.12); } }
@keyframes deslizar { from { transform: translateY(0.18em); } }
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }

/* palavras divididas pelo main.js: cada uma sobe de dentro de uma máscara */
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; text-indent: 0; }
.palavra__in { display: inline-block; }

/* hotel fixo: o quadro fica preso no meio da tela durante pouco mais de uma tela de rolagem (só com o GSAP
   rodando); a foto muda de distância duas vezes nesse caminho */
.hotel--fixo { padding-block: 0; }
.hotel--fixo .hotel__trilho { height: 220vh; }
.hotel--fixo .hotel__palco { position: sticky; top: 0; min-height: 100svh; align-content: center; padding-block: calc(var(--topo) + 16px) 24px; }
.hotel--fixo .hotel__metade--2, .hotel--fixo .hotel__legenda { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.hotel--fixo[data-etapa="0"] .hotel__metade--2 { opacity: 0; transform: translateY(0.3em); }
.hotel--fixo:not([data-etapa="2"]) .hotel__legenda:not(:focus-within) { opacity: 0; transform: translateY(16px); }

/* ---------- celular (até 767 px): ajustes que não mexem no computador ---------- */
@media (max-width: 767.98px) {
  /* o número do rodapé cabe numa linha até em 320 px */
  .rodape__numero { font-size: clamp(1.75rem, 10.5vw, 2.75rem); padding-block: 6px; }
}

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