/* Luxo de Pet — sistema visual. Resumo e regras em DESIGN.md.
   Daqui para baixo o código só usa os tokens deste bloco. */

:root {
  /* Cor: tirada do logo (coração magenta, osso turquesa) */
  --magenta: #b5146b;        /* campo da capa, ação principal, rodapé */
  --magenta-fundo: #8c0d52;  /* botão pressionado e hover */
  --pink: #e76a99;           /* fundo da foto da capa enquanto ela carrega */
  --turquesa: #2fa7a4;       /* osso do logo: número dos passos */
  --agua: #e4f4f2;           /* turquesa bem claro: faixa de seção */
  --papel: #fffafc;          /* fundo da página e cartões */
  --papel-2: #fbe6ee;        /* rosa claro: faixa de seção e superfícies pequenas */
  --tinta: #2a0f1e;          /* texto */
  --tinta-suave: #5e4552;    /* notas secundárias */
  --linha: rgb(42 15 30 / 0.18); /* contorno de cartão, opção e campo */

  /* Tipo: Bodoni Moda nos títulos, Jost no texto */
  --fonte-titulo: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --fonte-texto: "Jost", "Century Gothic", system-ui, sans-serif;
  --t-pequeno: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --t-corpo: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-chamada: clamp(1.5rem, 1.35rem + 0.5vw, 1.75rem);
  --t-titulo: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --t-capa: clamp(3.5rem, 9vw, 8rem);

  /* Espaço */
  --margem: clamp(16px, 4vw, 40px);
  --largura: 1200px;
  --lado: max(var(--margem), calc((100vw - var(--largura)) / 2)); /* margem lateral que centra o miolo */
  --entre-secoes: clamp(64px, 8vw, 120px);
  --faixa: clamp(48px, 6vw, 88px); /* respiro interno das faixas de cor */

  --canto: 10px;

  /* Movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --d-toque: 140ms;
  --d-hover: 180ms;
  --d-ui: 240ms;
  --d-entrada: 500ms;

  --foco: var(--tinta);
  --z-menu: 40;
  --z-flutuante: 30;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--papel);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--fonte-texto);
  font-size: var(--t-corpo);
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* O runtime do Claude Design trava a raiz em 100% de altura; a página precisa rolar inteira. */
#dc-root, #dc-root > .sc-host { height: auto !important; }

h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }

h1, h2, h3, .titulo {
  font-family: var(--fonte-titulo);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h2, .titulo { font-size: var(--t-titulo); }
h3 { font-size: var(--t-chamada); line-height: 1.15; }
p, li, blockquote, figcaption { text-wrap: pretty; }

:focus { outline: none; }
main:focus-visible { outline: none; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
::selection { background: var(--magenta); color: var(--papel); }

.pular {
  position: absolute; left: var(--margem); top: 12px; z-index: 5;
  padding: 12px 18px; border-radius: var(--canto); background: var(--tinta); color: var(--papel);
  transform: translateY(-96px);
  transition: transform var(--d-ui) var(--ease-out);
}
.pular:focus-visible { transform: none; --foco: var(--papel); }

.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1); }

/* ---------- peças ---------- */

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px;
  border: 0; border-radius: var(--canto);
  background: var(--magenta); color: var(--papel);
  font-family: var(--fonte-texto); font-size: var(--t-corpo); font-weight: 500; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform var(--d-toque) var(--ease-out), background-color var(--d-hover) ease;
}
.botao:active { transform: scale(0.97); }
.botao svg { flex: none; }

.link {
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em;
  text-decoration-color: currentColor;
  transition: text-decoration-color var(--d-hover) ease;
}

/* título de seção com a frase de apoio ao lado (embaixo, no celular) */
.topo-secao {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
}
.topo-secao p { max-width: 36ch; }

@media (hover: hover) and (pointer: fine) {
  .botao:hover { background: var(--magenta-fundo); }
  .link:hover { text-decoration-color: transparent; }
}

/* ---------- capa ---------- */

.capa {
  position: relative;
  display: grid; grid-template-rows: 1fr auto;
  min-height: min(100svh, 860px);
  background: var(--papel);
}

.capa__campo {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  background: var(--magenta); color: var(--papel);
  padding: 0 var(--lado);
  --foco: var(--papel);
}

.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
}
.topo__marca {
  font-family: var(--fonte-titulo); font-weight: 500; font-size: var(--t-chamada);
  letter-spacing: -0.02em; line-height: 1; text-decoration: none; white-space: nowrap;
  padding: 12px 0;
}
.topo__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.topo__links a {
  padding: 12px 0; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 0.08em; text-underline-offset: 0.3em;
  transition: text-decoration-color var(--d-hover) ease;
}
.topo__menu {
  display: none; min-height: 48px; padding: 8px 0 8px 16px;
  background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.3em;
}
@media (hover: hover) and (pointer: fine) {
  .topo__links a:hover { text-decoration-color: currentColor; }
}

.capa__chamada {
  font-size: var(--t-capa); line-height: 0.94; letter-spacing: -0.03em;
  padding-top: clamp(32px, 8vh, 88px);
  max-width: 62%;
}
.capa__chamada .linha { display: block; }

.capa__nota {
  margin-top: auto; padding: 40px 0 clamp(24px, 4vh, 40px);
  display: flex; align-items: baseline; gap: 12px;
  max-width: 50%;
}
.capa__nota strong {
  font-family: var(--fonte-titulo); font-weight: 500; font-size: var(--t-titulo);
  line-height: 1; letter-spacing: -0.02em;
}

.capa__foto {
  position: absolute; right: var(--lado); bottom: calc(-1 * clamp(44px, 8vh, 72px));
  width: min(32vw, 56vh, 420px);
  transform: rotate(2deg);
  border-radius: var(--canto); overflow: hidden;
  background: var(--pink);
}
.capa__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.capa__faixa {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 44px);
  padding: clamp(28px, 4.2vh, 44px) 0 clamp(28px, 4.2vh, 44px) var(--lado);
  max-width: calc(var(--lado) + min(680px, 52vw));
}
.capa__frase { max-width: 40ch; }
.capa__faixa .botao { flex: none; }

@media (max-width: 1040px) {
  .capa__chamada { font-size: 12vw; max-width: none; }
  .capa__foto { width: min(44vw, 50vh); }
  .capa__nota { max-width: 42%; flex-direction: column; gap: 4px; }
  .capa__faixa { flex-direction: column; align-items: flex-start; max-width: 50%; }
}

@media (max-width: 720px) {
  .topo { min-height: 60px; }
  .topo__links { display: none; }
  .topo__menu { display: inline-flex; align-items: center; }
  .capa { min-height: 0; display: block; }
  .capa__campo { display: grid; grid-template-columns: minmax(0, 1fr) 60vw; column-gap: 12px; padding-right: 0; }
  .topo { grid-column: 1 / -1; padding-right: var(--margem); }
  .capa__chamada {
    grid-column: 1 / -1; max-width: none;
    font-size: 15vw; padding-top: 10px; padding-bottom: 18px;
  }
  .capa__nota {
    display: block; align-self: end; margin: 0; padding: 0 0 68px; max-width: none;
    font-size: var(--t-pequeno); line-height: 1.4;
  }
  .capa__nota strong { display: block; }
  .capa__foto {
    position: relative; right: auto; bottom: auto; width: auto;
    margin-bottom: -48px; margin-right: -12px;
  }
  .capa__faixa { display: block; max-width: none; padding: 72px var(--margem) 8px; }
  .capa__frase { margin-bottom: 18px; }
  .capa__faixa .botao { width: 100%; }
}

/* ---------- menu do celular ---------- */

html.menu-aberto { overflow: hidden; }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column;
  padding: 0 var(--margem) 28px;
  background: var(--magenta); color: var(--papel);
  --foco: var(--papel);
  overflow-y: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .menu { animation: abre-menu var(--d-ui) var(--ease-out) backwards; }
}
@keyframes abre-menu { from { opacity: 0; transform: translateY(-10px); } }
.menu__topo { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.menu__fechar {
  min-height: 48px; padding: 8px 0 8px 16px; background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.3em;
}
.menu__links { display: grid; gap: 4px; margin: 24px 0 32px; }
.menu__links a {
  display: block; padding: 8px 0; text-decoration: none;
  font-family: var(--fonte-titulo); font-size: var(--t-titulo); letter-spacing: -0.02em; line-height: 1.15;
}
.menu .botao { margin-top: auto; background: var(--papel); color: var(--magenta); }

/* ---------- serviços ---------- */

.servicos { padding: var(--entre-secoes) var(--lado) 0; }
.servicos__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }

.servico { display: grid; gap: 16px; align-content: start; }
.servico__foto { overflow: hidden; border-radius: var(--canto); background: var(--papel-2); }
.servico__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.servico__foto--direita img { object-position: 100% 50%; } /* o assunto está na borda direita da foto */
.servico__texto { display: grid; gap: 8px; justify-items: start; }
.servico__texto .link { padding: 8px 0; color: var(--magenta); font-weight: 500; }

@media (max-width: 1040px) {
  .servicos__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .servicos__grade { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .servico { grid-template-columns: 38% minmax(0, 1fr); align-items: start; }
  .servico__texto { gap: 6px; }
}

/* ---------- Pet Móvel ---------- */

.movel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 32px clamp(32px, 5vw, 72px);
  margin-top: var(--entre-secoes);
  padding: var(--faixa) var(--lado);
  background: var(--agua);
}
.movel__foto { overflow: hidden; border-radius: var(--canto); }
.movel__foto picture { display: block; }
.movel__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.movel__texto { display: grid; gap: 20px; justify-items: start; }
.movel__texto > p { max-width: 46ch; }

.passos { display: grid; gap: 14px; counter-reset: passo; }
.passos li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; align-items: start; counter-increment: passo; }
.passos li::before {
  content: counter(passo);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--turquesa); color: var(--tinta);
  font-weight: 500; font-size: var(--t-pequeno); line-height: 1; font-variant-numeric: lining-nums;
}
.passos strong { font-weight: 500; }
.passos span { display: block; }

@media (max-width: 860px) {
  .movel { grid-template-columns: minmax(0, 1fr); }
  .movel__foto img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .movel .botao { width: 100%; }
}

/* ---------- galeria ---------- */

.looks { padding: var(--entre-secoes) var(--lado) 0; }
.looks__grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }

.look__foto { overflow: hidden; border-radius: var(--canto); background: var(--papel-2); }
.look__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 500ms var(--ease-out); }
.look__etiqueta { display: grid; gap: 0; padding-top: 10px; line-height: 1.4; }
.look__etiqueta strong { font-weight: 500; }
.look__etiqueta span { font-size: var(--t-pequeno); color: var(--tinta-suave); }

.look--insta {
  align-self: start; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  padding: clamp(16px, 2.4vw, 28px);
  border-radius: var(--canto); background: var(--papel-2); color: var(--magenta);
  text-decoration: none; --foco: var(--magenta);
  transition: background-color var(--d-hover) ease, color var(--d-hover) ease;
}
.look--insta .titulo { font-size: clamp(1.375rem, 2.8vw, 2.25rem); line-height: 1.1; }
.look--insta span { font-size: var(--t-pequeno); text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }

@media (hover: hover) and (pointer: fine) {
  .look:hover .look__foto img { transform: scale(1.03); }
  .look--insta:hover { background: var(--magenta); color: var(--papel); }
}
@media (max-width: 720px) {
  .looks__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
}

/* ---------- avaliações ---------- */

.avaliacoes {
  margin-top: var(--entre-secoes);
  padding: var(--faixa) var(--lado);
  background: var(--papel-2);
}
.avaliacoes__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.depoimento {
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--canto); background: var(--papel);
}
.depoimento blockquote { line-height: 1.55; }
.depoimento figcaption { font-weight: 500; line-height: 1.4; }
.depoimento figcaption span { display: block; font-weight: 400; font-size: var(--t-pequeno); color: var(--tinta-suave); }

@media (max-width: 1040px) {
  .avaliacoes__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .avaliacoes__grade { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

/* ---------- pedido: as escolhas viram a mensagem do WhatsApp ---------- */

.pedido {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: start; gap: 32px clamp(32px, 6vw, 88px);
  padding: var(--entre-secoes) var(--lado) 0;
}
.pedido__lado { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.pedido__lado > p { max-width: 36ch; }
.pedido legend { margin-bottom: 10px; padding: 0; font-weight: 500; }
.pedido__opcoes { display: flex; flex-wrap: wrap; gap: 8px; }

.opcao {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 10px 16px;
  border: 1.5px solid var(--linha); border-radius: var(--canto);
  background: var(--papel); color: var(--tinta);
  cursor: pointer; text-align: left;
  transition: transform var(--d-toque) var(--ease-out), background-color var(--d-hover) ease, border-color var(--d-hover) ease, color var(--d-hover) ease;
}
.opcao:active { transform: scale(0.97); }
.opcao__marca { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 5px; }
.opcao svg { opacity: 0; transition: opacity var(--d-hover) ease; }
.opcao.is-on { background: var(--magenta); border-color: var(--magenta); color: var(--papel); }
.opcao.is-on svg { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .opcao:not(.is-on):hover { border-color: var(--magenta); }
}

.campo { display: grid; gap: 10px; max-width: 22rem; }
.campo label { font-weight: 500; }
.campo input {
  min-height: 52px; padding: 10px 14px; width: 100%;
  border: 1.5px solid var(--tinta-suave); border-radius: var(--canto);
  background: var(--papel); color: var(--tinta);
}
.campo input::placeholder { color: var(--tinta-suave); opacity: 1; }

.comanda {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1.5px solid var(--linha); border-radius: var(--canto);
  background: var(--papel);
  font-variant-numeric: tabular-nums;
}
.comanda__marca { font-family: var(--fonte-titulo); font-weight: 500; font-size: var(--t-chamada); letter-spacing: -0.02em; line-height: 1.15; }
.comanda dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.comanda__linha { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.comanda__linha dt { flex: none; font-weight: 500; }
.comanda__linha dd { flex: none; max-width: 62%; text-align: right; }
.comanda__pontos { flex: 1 1 0; width: 0; min-width: 12px; overflow: hidden; white-space: nowrap; color: var(--tinta-suave); letter-spacing: 0.24em; }
.comanda__mensagem { padding: 16px 18px 18px; border-radius: var(--canto); background: var(--agua); line-height: 1.5; }
.comanda__rotulo { display: block; margin-bottom: 4px; font-size: var(--t-pequeno); line-height: 1.4; color: var(--tinta-suave); }
.comanda .botao { width: 100%; }

@media (max-width: 860px) {
  .pedido { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- endereço e contato ---------- */

.onde {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px);
  margin-top: var(--entre-secoes);
  padding: var(--faixa) var(--lado);
  background: var(--agua);
}
.onde__info { display: grid; gap: 24px; align-content: start; justify-items: start; }
.onde__lista { display: grid; gap: 6px; width: 100%; }
.onde__item { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 4px 0; line-height: 1.4; text-decoration: none; }
.onde__icone {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--papel); color: var(--magenta);
}
.onde__porta { flex: none; width: 44px; overflow: hidden; border-radius: 6px; }
.onde__porta img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.onde__mapa { display: block; width: 100%; height: 100%; min-height: clamp(300px, 34vw, 420px); border: 0; border-radius: var(--canto); background: var(--papel); }

@media (max-width: 860px) {
  .onde { grid-template-columns: minmax(0, 1fr); }
  .onde .botao { width: 100%; }
}

/* ---------- rodapé ---------- */

.rodape {
  display: grid; gap: clamp(28px, 4vw, 44px);
  padding: clamp(40px, 6vw, 72px) var(--lado) 24px;
  background: var(--magenta); color: var(--papel);
  --foco: var(--papel);
}
.rodape__marca { font-family: var(--fonte-titulo); font-weight: 500; font-size: var(--t-titulo); letter-spacing: -0.02em; line-height: 1.05; }
.rodape__colunas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--margem); }
.rodape__titulo { margin-bottom: 8px; font-weight: 500; }
.rodape__colunas a { display: inline-block; padding: 6px 0; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; transition: text-decoration-color var(--d-hover) ease; }
.rodape__legal { font-size: var(--t-pequeno); }

@media (hover: hover) and (pointer: fine) {
  .rodape__colunas a:hover { text-decoration-color: currentColor; }
}
@media (max-width: 720px) {
  .rodape__colunas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rodape__colunas a { padding: 8px 0; }
}

/* ---------- botão flutuante do WhatsApp ---------- */

.flutuante {
  position: fixed; right: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px); z-index: var(--z-flutuante);
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--tinta); color: var(--papel);
  outline: 3px solid var(--papel);
  transition: transform var(--d-ui) var(--ease-out), opacity var(--d-ui) ease, background-color var(--d-hover) ease;
}
.flutuante:focus-visible { outline: 3px solid var(--tinta); outline-offset: 4px; }
.flutuante.is-fora { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: transform var(--d-ui) var(--ease-out), opacity var(--d-ui) ease, visibility 0s linear var(--d-ui); }
.flutuante:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .flutuante:hover { background: var(--magenta-fundo); }
}

/* ---------- movimento ----------
   Uma entrada só, curta: a peça sobe 12 px e aparece, uma vez. Com movimento reduzido, a página já nasce pronta.
   A entrada usa animation com fill backwards para não disputar o transform de toque dos botões. */

@keyframes sobe { from { opacity: 0; transform: translateY(12px); } }

@media (prefers-reduced-motion: no-preference) {
  .js .capa__chamada, .js .capa__nota, .js .capa__frase, .js .capa__faixa .botao {
    animation: sobe var(--d-entrada) var(--ease-out) var(--atraso, 0ms) backwards;
  }
  .js .capa__nota { --atraso: 80ms; }
  .js .capa__frase { --atraso: 140ms; }
  .js .capa__faixa .botao { --atraso: 200ms; }

  .js [data-entra] { opacity: 0; }
  .js [data-entra].is-in { opacity: 1; animation: sobe var(--d-entrada) var(--ease-out) var(--atraso, 0ms) backwards; }
  .js [data-entra]:nth-child(2) { --atraso: 60ms; }
  .js [data-entra]:nth-child(3) { --atraso: 120ms; }
  .js [data-entra]:nth-child(n + 4) { --atraso: 180ms; }
}
