/* =========================================================
   Pata & Vida Pet Shop — homepage
   ========================================================= */

:root {
  --linen: #f7f2ea;
  --paper: #fffdf9;
  --sand: #ede3d4;
  --oat: #dccdb7;
  --line: #e6dccd;
  --ink: #1f2721;
  --forest: #2f4636;
  --forest-2: #3d5845;
  --sage: #dfe5d6;
  --cinnamon: #b4582b;
  --cinnamon-2: #9a4720;
  --muted: #6c645a;
  --soft: #8b8277;

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 12px 32px -12px rgba(60, 40, 20, .16);
  --shadow-lift: 0 2px 4px rgba(60, 40, 20, .05), 0 22px 44px -18px rgba(60, 40, 20, .26);

  --container: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* texto comum nunca mostra cursor de digitação (ex.: navegação por cursor/F7 ativa no navegador) */
  caret-color: transparent;
}
input, textarea, select, [contenteditable="true"] { caret-color: auto; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }
svg:not([viewBox]) { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg.logo__mark, svg.news__paw { fill: currentColor; stroke: none; }

:focus-visible { outline: 2px solid var(--cinnamon); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .005em;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--cinnamon); color: #fff; box-shadow: 0 10px 24px -12px rgba(154, 71, 32, .7); }
.btn--primary:hover { background: var(--cinnamon-2); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--linen); }
.btn--light { background: var(--paper); color: var(--ink); min-height: 48px; padding: 0 24px; font-size: .95rem; }
.btn:active { transform: translateY(1px); }

.round-arrow {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 4px 12px -4px rgba(60, 40, 20, .25);
  transition: background-color .2s, color .2s;
}
.round-arrow svg { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
a:hover .link-arrow svg { transform: translateX(3px); }

/* ---------- Cursor de osso (só no hero) ---------- */
.bone-cursor {
  position: fixed; left: 0; top: 0; z-index: 9999; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  pointer-events: none; opacity: 0; transition: opacity .2s ease;
  will-change: transform;
}
.bone-cursor img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(80, 56, 30, .25)); transition: transform .2s ease; }
.bone-cursor.is-visible { opacity: 1; }
.bone-cursor.is-hovering img { transform: scale(1.18); }
.bone-cursor.is-pressed img { transform: scale(.9); }
html.bone-on .hero, html.bone-on .hero * { cursor: none; }

/* ---------- WhatsApp flutuante (aparece só durante o scroll) ---------- */
.wa-float {
  position: fixed; left: 0; top: 50%; z-index: 90; width: 118px;
  opacity: 0; pointer-events: none;
  transform: translate(-40%, -50%);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.wa-float img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(40, 30, 20, .22)); }
.wa-float.is-visible, .wa-float:focus-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.wa-float:focus-visible { outline-offset: -4px; }
@media (max-width: 760px) { .wa-float { width: 78px; } }

/* ---------- Topbar ---------- */
.topbar { background: var(--forest); color: #e9ece4; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__side { display: flex; gap: 24px; }
.topbar__side a { opacity: .85; }
.topbar__side a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* o fundo com blur fica num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 242, 234, .92);
  backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(60, 40, 20, .4); }
.header__inner { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); min-height: 84px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ink); }
.logo__mark { width: 42px; height: 42px; color: var(--forest); }
.logo__text { display: grid; line-height: 1; }
.logo__name { font-family: var(--serif); font-size: 1.72rem; letter-spacing: -.01em; }
.logo__name i { font-style: normal; color: var(--cinnamon); margin: 0 1px; }
.logo__sub { font-size: .72rem; letter-spacing: .38em; color: var(--muted); margin-top: 6px; padding-left: 2px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; }
.nav__item { position: relative; }
.nav__item > button {
  display: inline-flex; align-items: center; gap: 3px; padding: 10px 9px; border-radius: 10px;
  font-weight: 500; font-size: .95rem; white-space: nowrap;
}
.nav__item > button svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__item > button:hover { background: rgba(31, 39, 33, .05); }
.nav__item.open > button svg { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-lift);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__panel a { padding: 9px 12px; border-radius: 8px; font-size: .94rem; }
.nav__panel a:hover { background: var(--linen); }
.nav__item.open .nav__panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1181px) {
  .nav__item:hover .nav__panel { opacity: 1; visibility: visible; transform: none; }
}
.nav__offers {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 10px 18px; border-radius: 999px;
  background: var(--cinnamon); color: #fff; font-weight: 600; font-size: .93rem; white-space: nowrap;
}
.nav__offers svg { width: 17px; height: 17px; }
.nav__offers:hover { background: var(--cinnamon-2); }

.search { position: relative; flex: 1 1 220px; min-width: 190px; max-width: 320px; margin-left: auto; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 48px; padding: 0 18px 0 46px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--soft); }
.search input:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(47, 70, 54, .1); }

.header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.action { display: inline-flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-weight: 500; font-size: .94rem; white-space: nowrap; }
.action svg { width: 26px; height: 26px; }
.action:hover { background: rgba(31, 39, 33, .05); }
.action--cart { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--cinnamon); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.35); } }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow-x: clip;
  background:
    radial-gradient(55% 65% at 80% 28%, #fffbf4 0%, rgba(255, 251, 244, 0) 72%),
    linear-gradient(180deg, #f8f3ec 0%, #f2ebe1 100%);
  padding-bottom: 48px;
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: clamp(28px, 3.2vw, 64px);
  padding-block: clamp(36px, 5vw, 72px) 0;
}
.hero__copy { position: relative; z-index: 6; max-width: 640px; padding-bottom: 40px; container-type: inline-size; }
.eyebrow {
  display: flex; align-items: center; gap: 16px; min-height: 1.6em;
  font-size: .86rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #5c554c;
}
.eyebrow::after { content: ""; flex: 0 0 44px; height: 1px; background: currentColor; opacity: .6; }
.typing { white-space: nowrap; user-select: none; }
.typing.is-typing::after {
  content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; border-radius: 1px;
  background: var(--cinnamon); animation: caret 1.05s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero h1 {
  margin-top: 26px;
  font-family: var(--serif); font-size: clamp(2.3rem, 10.8cqi, 5.4rem); line-height: .98; letter-spacing: -.035em;
}
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .h1-accent { color: var(--cinnamon); margin-top: .04em; }
.hero__typing {
  display: flex; align-items: center; gap: 12px; margin-top: 24px; min-height: 1.6em;
  font-size: clamp(1.02rem, 4.2cqi, 1.28rem); font-weight: 500; color: var(--forest);
}
.hero__typing::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--cinnamon); opacity: .85; }
.hero__lead { margin-top: 16px; max-width: 27em; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.55; color: #4d463e; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__ctas .btn { min-width: 240px; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.perks li { display: grid; align-content: start; gap: 12px; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.perks strong { display: block; color: var(--ink); font-weight: 600; font-size: .95rem; }
.perks__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #ebe3d6; color: var(--ink); }
.perks__ico svg { width: 28px; height: 28px; stroke-width: 1.5; }

/* Palco do cachorro — proporções tiradas da referência */
.stage {
  position: relative; isolation: isolate;
  aspect-ratio: 1.36; max-height: 740px;
  container-type: inline-size; /* textos dos cards escalam com o palco, não com a janela */
}
.stage__room {
  position: absolute; inset: -14% -30vw -6% -18%; z-index: -3; pointer-events: none;
  background: url("../img/web/hero-fundo.webp") 62% 70% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(180deg, transparent 0, #000 16%, #000 76%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(180deg, transparent 0, #000 16%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  opacity: .62;
}
.stage__rug {
  position: absolute; z-index: -1; left: 2%; right: -2%; bottom: -2%; height: 20%;
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, rgba(120, 92, 60, .08) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(0deg, rgba(120, 92, 60, .06) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #ddcdb5, #cfbda1);
  background-color: #d6c5ab;
  transform: perspective(700px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent);
  opacity: .85;
}
.stage__dog {
  position: absolute; inset: -14% 0 -12% 0; z-index: 5; pointer-events: none;
  opacity: 0; transition: opacity 1.1s ease;
}
.stage.is-ready .stage__dog { opacity: 1; transition-duration: .3s; }
/* pôster com o mesmo enquadramento do canvas: o cachorro aparece antes do 3D terminar de carregar */
.stage__poster { position: absolute; inset: -14% 0 -12% 0; z-index: 4; width: 100%; height: 126%; object-fit: fill; pointer-events: none; transition: opacity .25s ease; }
.stage__poster:not([src]) { display: none; }
.stage.is-live .stage__poster { opacity: 0; }
.stage__fallback { display: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 260px; text-align: center; color: var(--muted); font-size: .92rem; }
.stage.is-failed .stage__fallback { display: none; }

.float-card {
  position: absolute; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(14px, 2.8cqi, 28px);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(251, 248, 243, .96), rgba(244, 238, 229, .9));
  border: 1.5px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 2px rgba(60, 40, 20, .04), 0 24px 48px -28px rgba(60, 40, 20, .35);
  transition: box-shadow .25s;
}
.float-card:hover { box-shadow: 0 1px 2px rgba(60, 40, 20, .04), 0 28px 56px -26px rgba(60, 40, 20, .45); }
.float-card:hover .round-arrow { background: var(--ink); color: #fff; }
.float-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 3.5cqi, 2.05rem); line-height: 1.04; letter-spacing: -.02em; max-width: 7em; }
.float-card > span:not(.round-arrow) { margin-top: 8px; font-size: clamp(.76rem, 1.75cqi, 1rem); line-height: 1.4; color: #4d463e; max-width: 15em; }
.float-card .round-arrow { margin-top: clamp(12px, 1.6vw, 22px); width: clamp(36px, 3.4vw, 50px); height: clamp(36px, 3.4vw, 50px); }
.float-card--food { left: 6%; top: 2%; width: 31%; height: 52%; }
.float-card--acc  { left: 72%; top: 24%; width: 28%; padding-bottom: clamp(70px, 7vw, 120px); }
/* produto de cada card fica dentro dele, preso ao canto inferior, como na referência */
.float-card__img { position: absolute; z-index: 1; height: auto; pointer-events: none; }
.float-card > :not(.float-card__img) { position: relative; z-index: 2; }
.float-card__img--pouch { right: 26%; top: 50%; width: 40%; filter: drop-shadow(0 14px 16px rgba(80, 56, 30, .2)); }
.float-card__img--bed { right: -14%; bottom: -20%; width: 112%; filter: drop-shadow(0 16px 18px rgba(80, 56, 30, .2)); }

.stage__plinth { position: absolute; z-index: 1; left: -1%; top: 62%; width: 30%; height: auto; filter: drop-shadow(0 22px 22px rgba(80, 56, 30, .22)); }
.stage__bowl { position: absolute; z-index: 2; left: 2.5%; top: 52%; width: 23%; height: auto; filter: drop-shadow(0 10px 10px rgba(80, 56, 30, .2)); }


/* Categorias */
.cats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 10px;
}
.cats a {
  display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-radius: 16px;
  transition: background-color .2s;
}
.cats a + a { position: relative; }
.cats a + a::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.cats a:hover { background: var(--linen); }
.cats a:hover::before, .cats a:hover + a::before { opacity: 0; }
.cats__ico { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #f6e9df; color: var(--cinnamon); }
.cats__ico svg { width: 26px; height: 26px; }
.cats strong { display: block; font-weight: 600; font-size: .9rem; line-height: 1.25; }
.cats small { display: block; margin-top: 3px; font-size: .78rem; color: var(--soft); }
.cats small { white-space: nowrap; }
.cats small::after { content: " \2192"; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.section h2 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.section__lead { margin-top: 12px; color: var(--muted); max-width: 44ch; }
.section__foot { display: flex; justify-content: center; margin-top: 48px; }

.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--sand); }
.tabs button { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px -3px rgba(60, 40, 20, .25); }

/* Produtos */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.product:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.product__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f2e9da; }
.product__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product__media > img { transform: scale(1.04); }
.product__media svg { position: absolute; inset: 7% 12% 3%; width: 76%; height: 90%; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.product:hover .product__media svg { transform: translateY(-4px); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--forest); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.tag--off { background: var(--cinnamon); }
.product__fav {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 253, 249, .9); color: var(--muted);
  transition: color .2s;
}
.product__fav svg { width: 19px; height: 19px; }
.product__fav:hover { color: var(--cinnamon); }
.product__fav[aria-pressed="true"] { color: var(--cinnamon); }
.product__fav[aria-pressed="true"] svg { fill: currentColor; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product__rating { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--soft); }
.stars { color: #d49a3a; letter-spacing: 1px; font-size: .86rem; }
.stars span { color: #e4d8c6; }
.product__name { margin-top: 8px; font-family: var(--sans); font-size: .98rem; font-weight: 500; line-height: 1.4; min-height: 2.8em; }
.product__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product__price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.product__price strong { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.product__price s { font-size: .86rem; color: var(--soft); }
.product__pix { font-size: .84rem; color: var(--forest); font-weight: 600; margin-top: 2px; }
.btn-add {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; min-height: 46px; border-radius: 999px;
  border: 1.5px solid var(--ink); font-weight: 600; font-size: .92rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-add svg { width: 18px; height: 18px; }
.btn-add:hover { background: var(--ink); color: #fff; }
.btn-add.is-added { background: var(--forest); border-color: var(--forest); color: #fff; }

/* Banners */
.banners {
  display: grid; gap: 24px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-areas: "food rest" "food care" "deal deal";
}
.banner { position: relative; overflow: hidden; border-radius: var(--r-lg); display: flex; }
.banner h3 { font-family: var(--serif); letter-spacing: -.015em; line-height: 1.1; }
.banner__kicker { font-size: .9rem; font-weight: 600; opacity: .8; margin-bottom: 10px; }
.banner--food { grid-area: food; background: var(--forest); color: #f3efe6; min-height: 520px; padding: clamp(28px, 4vw, 52px); }
.banner--food .banner__copy { position: relative; z-index: 1; max-width: 360px; }
.banner--food h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.banner--food p:not(.banner__kicker) { margin-top: 16px; opacity: .82; max-width: 32ch; }
.banner--food .btn { margin-top: 28px; }
.banner__art { position: absolute; right: 0; bottom: 0; width: 60%; display: flex; align-items: flex-end; justify-content: flex-end; }
.banner__art img { width: 100%; height: auto; }
.banner--food::before {
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
}
.banner--rest, .banner--care { align-items: center; justify-content: space-between; gap: 12px; min-height: 248px; padding: 32px 28px 32px 36px; }
.banner--rest { grid-area: rest; background: var(--sand); }
.banner--care { grid-area: care; background: var(--sage); }
.banner--rest h3, .banner--care h3 { font-size: clamp(1.5rem, 2.1vw, 1.95rem); margin-bottom: 22px; max-width: 12ch; }
.banner__side-art { flex: 0 1 56%; min-width: 0; max-width: 320px; height: auto; }
.banner--deal-img { padding: 0 !important; background: #efe4d4 !important; }
.banner--deal-img img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; object-position: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.banner--deal-img:hover img { transform: scale(1.015); }
.banner--deal {
  grid-area: deal; align-items: center; gap: 16px 32px; flex-wrap: wrap;
  padding: 30px clamp(28px, 4vw, 52px); background: var(--cinnamon); color: #fff;
}
.banner__deal-title { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; flex: 1 1 380px; }
.banner__deal-title strong { font-weight: 400; }
.banner__deal-note { font-size: .9rem; opacity: .85; flex: 0 1 240px; }
.banner:hover .btn--light { background: #fff; }
.banner--food, .banner--rest, .banner--care { transition: transform .3s; }

/* Institucional */
.about { background: var(--paper); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about__intro p { margin-top: 22px; font-size: 1.08rem; color: #4d463e; max-width: 46ch; }
.about__photo { display: block; width: 100%; max-width: 460px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; margin-top: 32px; border-radius: var(--r-lg); }
.store-card { margin-top: 24px; padding: 24px 26px; border-radius: var(--r-md); background: var(--linen); display: grid; gap: 10px; }
.store-card p { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.store-card p svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--forest); margin-top: 2px; }
.store-card .store-card__title { font-weight: 600; color: var(--ink); font-size: 1rem; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillars li { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.pillars li:nth-child(odd) { border-right: 1px solid var(--line); }
.pillars li:nth-child(even) { padding-left: 32px; padding-right: 0; }
.pillars svg { width: 34px; height: 34px; color: var(--cinnamon); stroke-width: 1.4; }
.pillars h3 { margin-top: 18px; font-family: var(--serif); font-size: 1.4rem; }
.pillars p { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* Marcas */
.trust__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.trust h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.trust__rating { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.trust__rating .stars { font-size: 1rem; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.reviews li { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.reviews p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; }
.reviews span { font-size: .88rem; color: var(--muted); }
.store-card a, .footer__contact a, .topbar a { text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .2); text-underline-offset: 3px; }
.footer__contact a, .topbar a { text-decoration-color: rgba(255, 255, 255, .3); }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }
/* celular: sem desfoque de fundo (pesado na rolagem) */
@media (max-width: 960px) {
  .site-header::before { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(247, 242, 234, .97); }
  .float-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.brands li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 116px; padding: 16px;
  color: #574f45; text-align: center; line-height: 1; transition: color .2s;
}
.brands li + li { border-left: 1px solid var(--line); }
.brands li:hover { color: var(--ink); }
.b1 { font-family: var(--serif); font-size: 1.5rem; }
.b1 span { font-family: var(--sans); font-size: .7rem; letter-spacing: .4em; margin-top: 6px; }
.b2 { font-weight: 700; letter-spacing: .22em; font-size: 1rem; }
.b3 { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -.03em; }
.b4 { font-weight: 600; font-size: 1.6rem; letter-spacing: -.03em; flex-direction: row !important; }
.b4 sup { align-self: flex-start; margin-top: -4px; }
.b4 sup { font-size: .7rem; font-weight: 700; letter-spacing: .1em; margin-left: 3px; color: var(--cinnamon); }
.b5 { font-family: var(--serif); font-style: italic; font-size: 1.45rem; }
.b6 { font-weight: 700; font-size: 1.3rem; letter-spacing: .12em; }
.b6 span { font-weight: 500; font-size: .66rem; letter-spacing: .24em; margin-top: 6px; }

/* Newsletter */
.news {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px 48px;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--r-lg); background: var(--forest); color: #f1ede4;
}
.news__paw { position: absolute; right: -40px; top: -50px; width: 260px; height: 260px; color: rgba(255, 255, 255, .05); transform: rotate(18deg); }
.news h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); max-width: 18ch; }
.news__copy p { margin-top: 12px; opacity: .8; }
.news__form { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.news__form input {
  flex: 1 1 240px; height: 56px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08); color: #fff;
}
.news__form input::placeholder { color: rgba(255, 255, 255, .6); }
.news__form input:focus { outline: none; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .12); }
.form-msg { flex-basis: 100%; min-height: 1.4em; font-size: .9rem; }
.form-msg[data-state="error"] { color: #ffc9b1; }
.form-msg[data-state="ok"] { color: #cfe3c4; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9c4bb; padding-top: clamp(56px, 6vw, 88px); font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px; }
.logo--light { color: #f3efe6; }
.logo--light .logo__mark { color: #b9c7ad; }
.logo--light .logo__sub { color: #a39c92; }
.footer__brand p { margin-top: 18px; max-width: 30ch; color: #a39c92; }
.footer h3 { font-family: var(--sans); font-weight: 600; color: #f3efe6; font-size: 1rem; margin-bottom: 18px; }
.footer nav ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__contact p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; color: #b9c7ad; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, border-color .2s; }
.socials a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.socials svg { width: 19px; height: 19px; }
.footer__news {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px;
  margin-top: 56px; padding-block: 28px; border-block: 1px solid rgba(255, 255, 255, .1);
}
.footer__news > p { font-weight: 600; color: #f3efe6; }
.footer__form { display: flex; flex-wrap: wrap; flex: 1 1 360px; max-width: 480px; }
.footer__form input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px 0 0 999px; border: 1px solid rgba(255, 255, 255, .16); border-right: 0; background: transparent; color: #fff; }
.footer__form input::placeholder { color: #8f887e; }
.footer__form input:focus { outline: none; border-color: rgba(255, 255, 255, .45); }
.footer__form button { height: 48px; padding: 0 24px; border-radius: 0 999px 999px 0; background: var(--cinnamon); color: #fff; font-weight: 600; }
.footer__form button:hover { background: var(--cinnamon-2); }
.footer__form .form-msg { margin-top: 8px; }
.pay-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-left: auto; }
.pay-label { font-size: .82rem; color: #a39c92; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { width: 60px; height: 38px; border-radius: 7px; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .2); overflow: hidden; }
.pay svg { width: 100%; height: 100%; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .82rem; color: #8f887e; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1600px) {
  .action span { display: none; }
}
@media (max-width: 1400px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 4px; }
  .cats a:nth-child(5)::before { display: none; }
}

@media (max-width: 1180px) {
  .menu-toggle { display: grid; margin-left: -8px; }
  .search { max-width: none; }
  .nav {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: calc(108px + env(safe-area-inset-top, 0px)) 20px 24px; overflow-y: auto;
    background: var(--paper); box-shadow: 24px 0 60px -30px rgba(0, 0, 0, .4);
    transform: translateX(-102%); transition: transform .32s cubic-bezier(.2, .7, .2, 1); visibility: hidden;
  }
  .site-header::after {
    content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(31, 39, 33, .35);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open::after { opacity: 1; pointer-events: auto; }
  .nav-open .menu-toggle { position: relative; z-index: 61; }
  .menu-toggle .i-close, .nav-open .menu-toggle .i-open { display: none; }
  .nav-open .menu-toggle .i-close { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item > button { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 8px; background: none; }
  .nav__panel a { font-size: 1.02rem; padding: 11px 12px; }
  .nav__item.open .nav__panel { display: grid; }
  .nav__offers { justify-content: center; margin: 8px 0 0; padding: 14px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
  .perks li { grid-template-columns: 48px 1fr; align-items: center; }
  .perks__ico { width: 48px; height: 48px; }
  .perks__ico svg { width: 24px; height: 24px; }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: span 3; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 8px; }
  .hero__copy { display: contents; }
  .hero h1 { font-size: clamp(2.3rem, 9.2vw, 4.6rem); }
  .hero__copy > * { max-width: 680px; }
  .stage { order: 2; margin-top: 8px; }
  .hero__copy { padding-bottom: 0; }
  .hero__copy > .perks { padding-bottom: 8px; }
  .stage__dog, .stage__poster { inset: 0; height: 100%; }
  .perks { order: 3; margin-top: 24px; margin-bottom: 32px; }
  .banners { grid-template-columns: 1fr 1fr; grid-template-areas: "food food" "rest care" "deal deal"; }
  .banner--food { min-height: 460px; }
  .banner--rest, .banner--care { flex-direction: column; align-items: flex-start; padding: 28px; }
  .banner__side-art { align-self: flex-end; width: 70%; flex-basis: auto; margin-top: -8px; }
  .about__grid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands li:nth-child(4) { border-left: 0; }
  .brands li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .news { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__side { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
  .header__inner { flex-wrap: wrap; min-height: 0; padding-block: 12px; row-gap: 10px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__name { font-size: 1.4rem; }
  .logo__sub { font-size: .62rem; margin-top: 4px; }
  .header__actions { margin-left: auto; }
  .search { order: 5; flex: 1 1 100%; margin: 0; }
  .search input { height: 44px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 14px 14px 16px; }
  .product__name { font-size: .9rem; }
  .product__price { flex-wrap: wrap; gap: 0 8px; }
  .product__price strong { font-size: 1.12rem; }
  .btn-add { min-height: 42px; font-size: .86rem; }
  .tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 1 0 auto; padding: 10px 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__brand, .footer__contact { grid-column: span 2; }
  .pay-wrap { margin-left: 0; }
}

@media (max-width: 640px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cats a::before { display: none; }
  .cats a { padding: 12px 8px; gap: 10px; }
  .cats__ico { width: 42px; height: 42px; }
  .cats__ico svg { width: 22px; height: 22px; }
  .round-arrow { width: 34px; height: 34px; }
  .float-card { padding: 12px 12px 10px; border-radius: 14px; }
  .float-card strong { font-size: 1.02rem; }
  .float-card > span:not(.round-arrow) { display: none; }
  .float-card .round-arrow { width: 30px; height: 30px; margin-top: 8px; }
  .float-card .round-arrow svg { width: 14px; height: 14px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .eyebrow { font-size: .72rem; letter-spacing: .14em; }
  .banners { grid-template-columns: 1fr; grid-template-areas: "food" "rest" "care" "deal"; gap: 16px; }
  .banner--food { min-height: 560px; }
  .banner__art { width: 92%; height: 52%; }
  .banner__side-art { width: 62%; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li:nth-child(even) { padding: 26px 0; border-right: 0; }
  .pillars li:nth-child(odd) { border-right: 0; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands li { min-height: 92px; }
  .brands li:nth-child(odd) { border-left: 0; }
  .brands li:nth-child(4) { border-left: 1px solid var(--line); }
  .brands li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__ctas .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .perks { grid-template-columns: 1fr; }
  .header__actions .action { padding: 6px; }
}

/* ---------- Refino mobile (celulares) — não afeta o desktop ---------- */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .topbar { font-size: .8rem; }
  .logo__name { font-size: 1.5rem; }
  .search input { height: 48px; font-size: 1rem; }

  /* hero */
  .hero__grid { padding-top: 28px; }
  .eyebrow { font-size: .74rem; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.1rem); margin-top: 18px; }
  .hero__typing { font-size: 1.08rem; margin-top: 18px; }
  .hero__lead { font-size: 1.05rem; line-height: 1.6; }
  .hero__ctas { margin-top: 28px; gap: 12px; }
  .hero__ctas .btn { min-height: 54px; font-size: 1.05rem; }
  .stage { margin-top: 20px; }
  .float-card { padding: 12px 12px 10px; }
  .float-card strong { font-size: 1.12rem; }
  .perks { gap: 18px; margin-top: 20px; }
  .perks strong { font-size: 1.02rem; }
  .perks li { font-size: .92rem; }

  /* categorias */
  .cats { padding: 8px; border-radius: 22px; }
  .cats a { padding: 14px 8px; }
  .cats strong { font-size: .96rem; }
  .cats small { font-size: .82rem; }

  /* seções */
  .section { padding-block: 56px; }
  .section--tight { padding-block: 28px; }
  .section h2 { font-size: clamp(2rem, 8.6vw, 2.4rem); }
  .section__head { margin-bottom: 24px; }
  .section__lead { font-size: 1rem; }

  /* produtos: 2 por linha, confortáveis para toque */
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product { border-radius: 18px; }
  .product__body { padding: 14px 12px 14px; }
  .product__rating { font-size: .78rem; }
  .product__name { font-size: .98rem; line-height: 1.35; min-height: 4.05em; }
  .product__price strong { font-size: 1.22rem; }
  .product__price s { font-size: .84rem; }
  .product__pix { font-size: .86rem; }
  .btn-add { min-height: 46px; font-size: .95rem; margin-top: 14px; }
  .tabs button { font-size: .95rem; padding: 11px 16px; }
  .tag { font-size: .78rem; }
  .product__fav { width: 40px; height: 40px; }

  /* banners */
  .banner--food { flex-direction: column; min-height: 0; padding: 28px 24px 0; }
  .banner--food .banner__copy { max-width: none; }
  .banner__art { position: relative; right: auto; bottom: auto; width: 100%; margin: 20px -24px 0; width: calc(100% + 48px); }
  .banner--food h3 { font-size: 1.9rem; }
  .banner--food p:not(.banner__kicker) { font-size: 1rem; }
  .banner--rest, .banner--care { padding: 26px 24px; }
  .banner--rest h3, .banner--care h3 { font-size: 1.7rem; }
  .banner__side-art { width: 78%; max-width: 360px; }
  .banner--deal-img img { min-height: 170px; }

  /* institucional, marcas, newsletter, rodapé */
  .about__intro p { font-size: 1.05rem; }
  .pillars h3 { font-size: 1.35rem; }
  .pillars p { font-size: 1rem; }
  .brands li { min-height: 100px; }
  .news { padding: 32px 22px; }
  .news__form input, .news__form .btn { flex: 1 1 100%; min-height: 54px; }
  .footer { font-size: 1rem; }
  .footer nav ul { gap: 12px; }
  .footer h3 { font-size: 1.08rem; }
  .footer__form { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.typing), *::before, *:not(.typing)::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
