/* Mais Brasil Market · site v2 · "mercadinho em festa"
   Azul do logo + ouro da esfera em blocos grandes, cores fortes por corredor, bandeirinhas de festa junina,
   produtos reais recortados como figurinhas. Shrikhand (letreiro pintado) nos títulos, Figtree no resto.
   Clareza: busca em todos os produtos no topo, barra de corredores sempre visível. */
:root {
  --azul: #1F5BD6;
  --azul-2: #1749B3;
  --azul-escuro: #0B2B6E;
  --ouro: #FFC21A;
  --ouro-2: #FFD65C;
  --verde: #0B7A42;
  --verde-2: #096737;
  --rosa: #F0567F;
  --tinta: #0E1A33;
  --tinta-2: #3D4A63;
  --tinta-3: #5E6A80;
  --cinza: #F3F5F9;
  --cinza-2: #E9EDF4;
  --linha: #E1E6EF;
  --branco: #FFFFFF;

  --display: "Shrikhand", "Georgia", serif;
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  /* papéis tipográficos (fluido 390 → 1440) */
  --t-mega: clamp(2.5rem, 1.35rem + 4.6vw, 5.2rem);
  --t-h1: clamp(2.2rem, 1.45rem + 3vw, 3.9rem);
  --t-h2: clamp(1.9rem, 1.35rem + 2.1vw, 3.1rem);
  --t-h3: clamp(1.3rem, 1.1rem + .75vw, 1.8rem);
  --t-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-sm: .9375rem;
  --t-xs: .8125rem;

  --wrap: 1280px;
  --gutter: max(18px, 4vw);
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 12px;
  --pill: 999px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sh-1: 0 1px 2px rgba(14, 26, 51, .06), 0 2px 8px rgba(14, 26, 51, .05);
  --sh-2: 0 18px 36px -18px rgba(14, 26, 51, .38);
  --sh-pp: drop-shadow(0 14px 14px rgba(14, 26, 51, .26));
  --hdr: 76px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 20px); scrollbar-color: #b7c2d6 var(--cinza); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; color: var(--tinta); background: var(--branco); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 .35em; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--display); line-height: 1.04; letter-spacing: -.005em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); color: var(--azul-escuro); }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--tinta-2); max-width: 36em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-head .lead { margin: 0; }
.sec-head .h-frase { max-width: 17em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* superfícies do navegador */
::selection { background: var(--ouro); color: var(--tinta); }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
.sec-escuro :focus-visible, .sec-verde :focus-visible, .topbar :focus-visible, .depts :focus-visible, .ftr :focus-visible { outline-color: var(--ouro); }
input, select { caret-color: var(--azul); }
.price, .n, .num, [data-count] { font-variant-numeric: tabular-nums lining-nums; }
a, button, input, select, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(31, 91, 214, .14); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--azul); color: #fff; padding: 12px 18px; border-radius: var(--pill); font-weight: 700; }
.skip:focus { left: 8px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--pill); font: 700 1rem/1 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-azul { background: var(--azul); color: #fff; }
.btn-branco { background: #fff; color: var(--azul-escuro); border-color: var(--azul-escuro); }
.btn-verde { background: var(--verde); color: #fff; }
.btn-linha { background: transparent; color: var(--azul); border-color: currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(14, 26, 51, .5); }
  .btn-azul:hover { background: var(--azul-2); }
  .btn-verde:hover { background: var(--verde-2); }
  .btn-branco:hover { background: var(--azul-escuro); color: #fff; }
  .btn-linha:hover { background: var(--azul); color: #fff; border-color: var(--azul); }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- topo: aviso, cabeçalho com busca, barra de corredores ---------- */
.topbar { background: var(--azul-escuro); color: #fff; font-size: .875rem; }
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.tb-ship svg { width: 18px; height: 18px; color: var(--ouro); }
.tb-status { margin-left: auto !important; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa7bf; flex: 0 0 auto; }
.is-open .dot, .dot.is-open { background: #3EE07F; box-shadow: 0 0 0 3px rgba(62, 224, 127, .25); }
.is-closed .dot, .dot.is-closed { background: #FF8A8A; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--pill); overflow: hidden; }
.lang button { font: 700 .8rem/1 var(--sans); min-width: 44px; min-height: 32px; padding: 0 10px; background: transparent; border: 0; color: #fff; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ouro); color: var(--tinta); }
@media (max-width: 700px) { .tb-ship { display: none !important; } .tb-status { margin-left: 0 !important; font-size: .8125rem; } .lang { margin-left: auto; } }

.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linha); }
@supports (backdrop-filter: blur(8px)) { .hdr { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); } }
.hdr .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 2.4vw, 32px); min-height: var(--hdr); }
.logo img { height: 44px; width: auto; }
.hdr-act { display: flex; align-items: center; gap: 10px; }
.btn-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; transition: transform .16s var(--ease-out), background-color .2s; }
.btn-ico svg { width: 24px; height: 24px; }
.btn-ico.wa { background: var(--verde); }
.btn-ico:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .btn-ico.wa:hover { background: var(--verde-2); transform: translateY(-2px); } }

/* contato no topo */
.contato { position: relative; }
.btn-contato { background: #fff; color: var(--azul-escuro); border-color: var(--cinza-2); }
.btn-contato[aria-expanded="true"] { border-color: var(--azul); }
@media (hover: hover) and (pointer: fine) { .btn-contato:hover { border-color: var(--azul); background: #fff; } }
.contato-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 75; width: 300px; padding: 8px; background: #fff; border: 1px solid var(--linha); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(14, 26, 51, .45); transform-origin: 90% 0; }
.contato-panel:not([hidden]) { animation: pop-in .18s var(--ease-out); }
.ci { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: var(--tinta); }
.ci:hover, .ci:focus-visible { background: var(--cinza); outline-offset: -2px; }
.ci-ico { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ci-ico svg { width: 21px; height: 21px; }
.ci-wa .ci-ico { background: var(--verde); }
.ci-vip .ci-ico { background: #22B060; color: var(--tinta); }
.ci-ig .ci-ico { background: var(--rosa); color: var(--tinta); }
.ci-fb .ci-ico { background: var(--azul); }
.ci-map .ci-ico { background: var(--ouro); color: var(--tinta); }
.ci b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.25; }
.ci small { display: block; color: var(--tinta-3); font-size: .8125rem; }
@media (max-width: 560px) {
  .hdr .btn.btn-contato { width: 46px; padding: 0; }
  .hdr .btn.btn-contato svg { width: 24px; height: 24px; }
  .btn-contato span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* busca em todos os produtos */
.gs { position: relative; width: 100%; max-width: 660px; justify-self: center; }
.gs input { width: 100%; height: 52px; border-radius: var(--pill); border: 2px solid var(--cinza-2); background: var(--cinza); padding: 0 58px 0 50px; font: 500 1rem var(--sans); color: var(--tinta); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.gs input::placeholder { color: var(--tinta-3); }
.gs input:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 5px rgba(31, 91, 214, .16); }
.gs input::-webkit-search-cancel-button { -webkit-appearance: none; }
.gs-ico { position: absolute; left: 18px; top: 50%; translate: 0 -50%; color: var(--tinta-3); pointer-events: none; }
.gs-ico svg { width: 20px; height: 20px; }
.gs-go { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--azul); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .16s var(--ease-out); }
.gs-go svg { width: 19px; height: 19px; }
.gs-go:active { transform: scale(.92); }
.gs-panel { position: absolute; z-index: 70; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border: 1px solid var(--linha); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(14, 26, 51, .45); padding: 8px; max-height: min(72vh, 600px); overflow: auto; overscroll-behavior: contain; transform-origin: 50% 0; }
.gs-panel:not([hidden]) { animation: pop-in .18s var(--ease-out); }
@keyframes pop-in { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.gs-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; border-radius: 14px; text-decoration: none; color: var(--tinta); }
.gs-item:hover, .gs-item:focus-visible { background: var(--cinza); outline-offset: -2px; }
.gs-item .th { width: 56px; height: 56px; border-radius: 12px; background: var(--tint, var(--cinza)); display: grid; place-items: center; overflow: hidden; }
.gs-item .th img { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.gs-item .tx { min-width: 0; }
.gs-item .tx b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-item .tx small { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--tinta-3); }
.gs-item .tx small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.gs-item strong { font-weight: 800; }
.gs-item mark { background: rgba(255, 194, 26, .45); color: inherit; border-radius: 3px; }
.gs-all { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; padding: 14px; border-radius: 14px; background: var(--azul); color: #fff; font-weight: 700; text-decoration: none; }
.gs-all svg { width: 18px; height: 18px; }
.gs-none { padding: 18px 14px; color: var(--tinta-2); }
.gs-none b { display: block; color: var(--tinta); margin-bottom: 4px; }
@media (max-width: 860px) {
  .hdr .wrap { grid-template-columns: auto 1fr; row-gap: 10px; padding-top: 10px; padding-bottom: 12px; min-height: 0; }
  .hdr-act { justify-self: end; }
  .gs { grid-column: 1 / -1; max-width: none; order: 3; }
  .gs input { height: 50px; }
  .logo img { height: 38px; }
  .hdr .btn { min-height: 44px; padding: 0 16px; font-size: .95rem; }
  .btn-ico { width: 44px; height: 44px; }
}
@media (max-width: 400px) { .hdr .btn-azul svg { display: none; } }

/* barra de corredores: sempre visível, rola para o lado no celular */
.depts { background: var(--azul); color: #fff; position: relative; z-index: 50; }
.depts ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; scroll-padding-inline: 12px; }
.depts ul::-webkit-scrollbar { display: none; }
.depts a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: var(--pill); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
/* o ladrilho de cada corredor (desenho da v1) no lugar de uma bolinha */
.depts .tile-ico { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .92); }
.depts .tile-ico svg { width: 100%; height: 100%; }
.depts a[aria-current="page"] .tile-ico { box-shadow: 0 0 0 2px var(--azul-escuro); }
.depts a[aria-current="page"] { background: #fff; color: var(--azul-escuro); }
.depts .kits-link { background: var(--ouro); color: var(--tinta); margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .depts a:not([aria-current]):not(.kits-link):hover { background: rgba(255, 255, 255, .16); } }
@media (max-width: 1240px) { .depts ul { mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 36px; } }

/* ---------- home: topo em festa ---------- */
.hero { background: var(--ouro); position: relative; z-index: 3; }
.bunting { display: flex; overflow: hidden; height: 64px; pointer-events: none; }
.bunting svg { flex: 0 0 auto; width: 360px; height: 70px; }
.bunting .flag { transform-box: fill-box; transform-origin: 50% 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(20px, 4vw, 56px); padding-top: clamp(10px, 2vw, 26px); padding-bottom: clamp(44px, 5vw, 72px); }
.hero h1 { font-size: var(--t-mega); line-height: 1.02; color: var(--azul); margin-bottom: 22px; max-width: 11.5em; }
.hero .lead { color: var(--tinta); max-width: 31em; }
/* o mapa do Brasil (verde dos corredores) com os produtos dentro; o topo do mapa alinha com o título */
.pile { position: relative; aspect-ratio: var(--map-ar, 1); width: 100%; max-width: 600px; justify-self: end; margin-top: .6rem; }
.mapa { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 22px rgba(14, 26, 51, .2)); }
.mapa path { fill: #22B060; stroke: #fff; stroke-width: 14; stroke-linejoin: round; paint-order: stroke; }
@media (prefers-reduced-motion: no-preference) { .js .mapa { animation: map-in .9s var(--ease-spring) both; } }
@keyframes map-in { from { opacity: 0; transform: scale(.9) rotate(-3deg); } }
.pp { position: absolute; left: var(--x); top: var(--y); width: var(--w); rotate: var(--r); filter: var(--sh-pp); transition: rotate .4s var(--ease-spring), translate .4s var(--ease-spring), scale .4s var(--ease-spring); z-index: 1; }
.pp img { width: 100%; height: auto; }
@media (hover: hover) and (pointer: fine) { .pp:hover { rotate: 0deg; translate: 0 -10px; scale: 1.06; z-index: 5; } }
.sticker { position: absolute; left: -4%; top: 66%; z-index: 6; width: clamp(104px, 10vw, 138px); aspect-ratio: 1; border-radius: 50%; background: var(--rosa); color: var(--azul-escuro); display: grid; place-items: center; text-align: center; padding: 14px; font: clamp(.95rem, .8rem + .4vw, 1.2rem)/1.08 var(--display); rotate: -12deg; box-shadow: 0 12px 24px -10px rgba(14, 26, 51, .45); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .pile { width: min(100%, 500px); justify-self: center; margin-top: 4px; }
  .sticker { left: 0; top: 70%; }
}
@media (max-width: 520px) { .bunting { height: 48px; } .bunting svg { width: 270px; height: 52px; } }

/* entrada do topo (uma vez) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-tx > * { animation: rise .8s var(--ease-out) both; }
  .js .hero-tx > :nth-child(2) { animation-delay: .08s; }
  .js .hero-tx > :nth-child(3) { animation-delay: .16s; }
  .js .pp img { animation: drop .9s var(--ease-spring) both; animation-delay: calc(var(--i) * 70ms + 180ms); }
  .js .sticker { animation: stamp .6s var(--ease-spring) both .9s; }
  .js .bunting .flag { animation: sway 2.6s ease-in-out 3 both; animation-delay: var(--d); }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-70px) rotate(14deg); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.5); } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(6deg); } 75% { transform: rotate(-6deg); } }

/* faixa correndo */
.marquee { position: relative; z-index: 2; background: var(--azul); color: #fff; overflow: hidden; padding: 20px 0; }
.mq-track { display: flex; width: max-content; }
.mq-set { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.mq-set span { font: clamp(1.4rem, 1.1rem + 1vw, 2rem)/1 var(--display); white-space: nowrap; }
.mq-set svg { width: 22px; height: 22px; color: var(--ouro); flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .mq-track { animation: mq 46s linear infinite; }
  .marquee:hover .mq-track, .marquee.paused .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
}
@keyframes mq { to { transform: translateX(-50%); } }
.mq-btn { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--azul-escuro); color: #fff; display: grid; place-items: center; cursor: pointer; }
.mq-btn svg { width: 16px; height: 16px; }
.mq-btn[aria-pressed="true"] svg { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .mq-btn { display: none; } .mq-track { flex-wrap: wrap; width: auto; justify-content: center; } .mq-set[aria-hidden] { display: none; } }

/* corredores */
.ctiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 236px; gap: 18px; padding-top: 30px; }
.ct { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 22px 20px; border-radius: var(--r-lg); background: var(--c); color: var(--on); text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s; }
.ct.big { grid-column: span 2; grid-row: span 2; padding: 30px; }
.ct-tx { position: relative; z-index: 2; max-width: 70%; }
.ct-tx b { display: block; font: clamp(1.25rem, 1rem + .6vw, 1.6rem)/1.06 var(--display); font-weight: 400; }
.ct.big .ct-tx b { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.ct-tx .n { display: block; margin-top: 8px; font-weight: 700; font-size: .9rem; }
.ct-go { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--on); color: var(--c); display: grid; place-items: center; transition: transform .25s var(--ease-out); }
.ct-go svg { width: 20px; height: 20px; }
.ct-pp { position: absolute; z-index: 1; right: 14px; top: -34px; height: 60%; width: 70%; display: flex; justify-content: flex-end; align-items: flex-end; pointer-events: none; }
.ct-pp img { height: 100%; width: auto; max-width: 44%; object-fit: contain; object-position: 50% 100%; margin-left: -16px; filter: var(--sh-pp); transition: transform .45s var(--ease-spring); }
.ct-pp img:nth-child(1) { rotate: -7deg; height: 86%; }
.ct-pp img:nth-child(2) { rotate: 6deg; z-index: 1; }
.ct-pp img:nth-child(3) { rotate: -3deg; height: 78%; }
.ct-pp img:nth-child(4) { rotate: 9deg; height: 70%; }
.ct.big .ct-pp { height: 56%; width: 88%; top: -40px; right: 26px; }
.ct.big .ct-pp img { max-width: 27%; margin-left: -22px; }
@media (hover: hover) and (pointer: fine) {
  .ct:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
  .ct:hover .ct-pp img:nth-child(odd) { transform: translateY(-10px) rotate(-4deg); }
  .ct:hover .ct-pp img:nth-child(even) { transform: translateY(-14px) rotate(5deg); }
  .ct:hover .ct-go { transform: translateX(4px); }
}
.ct:active { transform: scale(.985); }
.kits-tile .ct-kits { position: absolute; right: 18px; top: 18px; display: flex; }
.kits-tile .ct-kits img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid var(--azul-escuro); margin-left: -18px; }
@media (max-width: 1000px) { .ctiles { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; } .ct.big { grid-row: span 1; } .ct-tx { max-width: 62%; } }
@media (max-width: 520px) {
  .ctiles { grid-auto-rows: 188px; gap: 12px; padding-top: 26px; }
  .ct { padding: 16px; border-radius: 22px; }
  .ct.big { padding: 18px; }
  .ct-tx { max-width: 100%; }
  .ct-tx b { font-size: 1.15rem; }
  .ct.big .ct-tx b { font-size: 1.7rem; }
  .ct-tx .n { font-size: .8125rem; margin-top: 4px; }
  .ct-go { display: none; }
  .ct-pp { height: 56%; width: 92%; right: 8px; top: -22px; }
  .ct.big .ct-pp { height: 64%; width: 70%; top: -24px; right: 10px; }
  .kits-tile .ct-kits img { width: 54px; height: 54px; }
}

/* aparece ao rolar (só com JS; sem JS tudo já está visível) */
@media (prefers-reduced-motion: no-preference) {
  .js .ct[data-reveal] { opacity: 0; translate: 0 26px; scale: .96; transition: opacity .55s var(--ease-out) calc(var(--i) * 60ms), translate .7s var(--ease-spring) calc(var(--i) * 60ms), scale .7s var(--ease-spring) calc(var(--i) * 60ms), transform .25s var(--ease-out), box-shadow .25s; }
  .js .ct[data-reveal].in { opacity: 1; translate: 0 0; scale: 1; }
  .js .rail[data-reveal] { opacity: 0; translate: 48px 0; transition: opacity .6s var(--ease-out), translate .8s var(--ease-out); }
  .js .rail[data-reveal].in { opacity: 1; translate: 0 0; }
}

/* trilho "sabor de casa" */
.sec-cinza { background: var(--cinza); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.rnav { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--azul-escuro); background: #fff; color: var(--azul-escuro); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, transform .16s var(--ease-out); }
.rnav svg { width: 22px; height: 22px; }
.rnav:active { transform: scale(.94); }
.rnav:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .rnav:not(:disabled):hover { background: var(--azul-escuro); color: #fff; } }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 16px) / 3.4); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 46%; gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } .rail-nav { display: none; } }

/* cartão de produto */
.card { display: flex; flex-direction: column; height: 100%; padding: 8px; background: #fff; border: 1px solid var(--linha); border-radius: var(--r); text-decoration: none; color: var(--tinta); transition: transform .22s var(--ease-out), box-shadow .22s, border-color .22s; }
.card .ph { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--tint, var(--cinza)); overflow: hidden; }
.card .ph img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease-out); }
.card .noimg { color: var(--tinta-3); opacity: .5; }
.card .noimg svg { width: 56px; height: 56px; }
.card .bd { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 12px 8px 6px; }
.card .nm { font-weight: 600; font-size: .95rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .ft { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .price { font-weight: 800; font-size: 1.15rem; }
.card .buy { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: var(--pill); background: var(--azul); color: #fff; font-weight: 700; font-size: .85rem; transition: background-color .2s; }
.card .buy svg { width: 14px; height: 14px; }
.card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: transparent; }
  .card:hover .ph img { transform: scale(1.05) rotate(-2deg); }
  .card:hover .buy { background: var(--azul-2); }
}
@media (max-width: 640px) { .card { border-radius: 18px; padding: 6px; } .card .bd { padding: 10px 6px 4px; } .card .price { font-size: 1.05rem; } .card .buy { padding: 0 10px; } .card .buy span { display: none; } .card .buy { width: 36px; justify-content: center; padding: 0; } }

/* kits */
.sec-escuro { background: var(--azul-escuro); color: #fff; }
.sec-escuro h2 { color: #fff; }
.sec-escuro .lead { color: rgba(255, 255, 255, .82); }
.kits { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.kit { display: block; text-align: center; text-decoration: none; color: #fff; }
.kit-ph { display: block; border-radius: 50%; padding: 6px; background: conic-gradient(from 180deg, var(--ouro), var(--rosa), var(--azul), #22B060, var(--ouro)); transition: transform .4s var(--ease-spring); }
.kit-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--azul-escuro); }
.kit b { display: block; margin-top: 14px; font: 1.05rem/1.15 var(--display); font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .kit:hover .kit-ph { transform: rotate(-6deg) scale(1.05); } }
.kit:active .kit-ph { transform: scale(.97); }
@media (max-width: 1000px) { .kits { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 30%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } .kits::-webkit-scrollbar { display: none; } .kits li { scroll-snap-align: start; } }
@media (max-width: 520px) { .kits { grid-auto-columns: 40%; } }

/* visite */
.visita { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.v-photo { position: relative; }
.v-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg); filter: brightness(1.16) saturate(1.08); }
.v-badge { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill); background: #fff; font-weight: 700; font-size: .95rem; box-shadow: var(--sh-1); }
.v-badge.is-open .dot { background: #16A34A; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.v-badge.is-closed .dot { background: #DC2626; }
.place { font: clamp(2.6rem, 1.5rem + 4.4vw, 5.2rem)/.98 var(--display); color: var(--azul); margin: 0 0 22px; }
.v-info h2 { font: 700 1.25rem/1.2 var(--sans); color: var(--tinta-2); margin-bottom: 10px; }
.hours { margin-top: 22px; display: grid; gap: 4px; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; border-radius: var(--r-sm); font-variant-numeric: tabular-nums; }
.hours li:nth-child(odd) { background: var(--cinza); }
.hours li.today { background: var(--ouro); font-weight: 800; }
.v-info .note { font-size: var(--t-sm); color: var(--tinta-3); margin-top: 16px; }
@media (max-width: 900px) { .visita { grid-template-columns: 1fr; } }

/* história */
.sec-verde { background: var(--verde); color: #fff; }
.historia { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sec-verde h2 { color: #fff; }
.historia p { color: rgba(255, 255, 255, .9); max-width: 34em; font-size: var(--t-lead); }
.quote { margin: 0; position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .25); }
.quote blockquote { margin: 0; }
.quote blockquote p { font: clamp(1.6rem, 1.15rem + 1.8vw, 2.6rem)/1.18 var(--display); color: #fff; max-width: none; margin-bottom: 18px; }
.quote figcaption { font-size: var(--t-sm); color: rgba(255, 255, 255, .88); }
.quote figcaption a { color: var(--ouro); font-weight: 700; }
@media (max-width: 900px) { .historia { grid-template-columns: 1fr; } }

/* entrega: sequência real, por isso numerada */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 28px 26px 26px; border-radius: var(--r-lg); background: var(--cinza); display: flex; flex-direction: column; gap: 6px; }
.steps .num { width: 58px; height: 58px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font: 1.7rem/1 var(--display); margin-bottom: 12px; rotate: -6deg; }
.steps b { font-size: 1.15rem; font-weight: 800; }
.steps span:not(.num) { color: var(--tinta-2); }
.notes { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.notes li { display: flex; align-items: center; gap: 10px; color: var(--tinta-2); font-weight: 500; }
.notes svg { width: 24px; height: 24px; color: var(--azul); flex: 0 0 auto; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* grupo VIP */
.vip { background: var(--rosa); padding: clamp(40px, 5vw, 64px) 0; }
.vip .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.vip-ico { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--verde); display: grid; place-items: center; rotate: -8deg; }
.vip-ico svg { width: 48px; height: 48px; }
.vip h2 { color: var(--azul-escuro); margin: 0 0 4px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
.vip p { margin: 0; color: var(--tinta); font-weight: 500; font-size: var(--t-lead); }
@media (max-width: 760px) { .vip .wrap { grid-template-columns: 1fr; justify-items: start; gap: 18px; } .vip-ico { width: 64px; height: 64px; } .vip-ico svg { width: 36px; height: 36px; } }

/* ---------- página de corredor ---------- */
.dhead { background: var(--c); color: var(--on); position: relative; z-index: 2; }
.dhead .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 28px; padding-top: clamp(30px, 4vw, 56px); }
.dh-tx { padding-bottom: clamp(32px, 4vw, 52px); }
.crumbs { display: flex; gap: 8px; font-size: var(--t-sm); font-weight: 600; margin-bottom: 14px; }
.crumbs a { color: inherit; }
.dhead h1 { color: var(--on); margin-bottom: 10px; }
.dhead p { color: var(--on); font-size: var(--t-lead); max-width: 32em; margin: 0 0 18px; opacity: .92; }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--pill); background: #fff; color: var(--tinta); font-weight: 700; font-size: .9rem; }
.dh-pp { display: flex; justify-content: center; align-items: flex-end; height: clamp(180px, 22vw, 280px); margin-bottom: -34px; }
.dh-pp img { height: 100%; width: auto; max-width: 36%; object-fit: contain; object-position: 50% 100%; margin: 0 -10px; filter: var(--sh-pp); }
.dh-pp img:nth-child(1) { rotate: -8deg; height: 84%; }
.dh-pp img:nth-child(2) { rotate: 4deg; z-index: 1; }
.dh-pp img:nth-child(3) { rotate: 10deg; height: 76%; }
@media (prefers-reduced-motion: no-preference) {
  .js .dh-pp img { animation: drop .85s var(--ease-spring) both; }
  .js .dh-pp img:nth-child(2) { animation-delay: .08s; }
  .js .dh-pp img:nth-child(3) { animation-delay: .16s; }
}
@media (max-width: 760px) { .dhead .wrap { grid-template-columns: 1fr 42%; gap: 10px; } .dh-tx { padding-bottom: 26px; } .dhead p { font-size: 1rem; } .dh-pp { height: 150px; margin-bottom: -18px; align-self: end; } .dh-pp img:nth-child(3) { display: none; } .dh-pp img { max-width: 56%; } }
@media (max-width: 420px) { .dhead .wrap { grid-template-columns: 1fr; } .dh-pp { position: absolute; right: 12px; top: 10px; width: 34%; height: 100px; margin: 0; } .dh-pp img { max-width: 70%; } .dh-pp img:nth-child(1) { height: 92%; } .crumbs { margin-bottom: 10px; } .dhead h1 { max-width: 64%; } .dhead p { max-width: 100%; } }

.dlayout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); padding-top: clamp(48px, 5vw, 64px); padding-bottom: 24px; }
.dlayout.few { grid-template-columns: minmax(0, 1fr); }
.side { position: sticky; top: calc(var(--hdr) + 16px); align-self: start; max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; scrollbar-width: thin; padding-right: 4px; }
.side h2 { font: 800 1rem/1.2 var(--sans); color: var(--tinta); margin: 0 0 12px; }
.types { display: grid; gap: 2px; }
.chip { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--tinta); font: 500 .95rem/1.2 var(--sans); text-align: left; cursor: pointer; transition: background-color .18s, color .18s, transform .16s var(--ease-out); }
.chip .n { color: var(--tinta-3); font-size: .85rem; font-weight: 600; }
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"] { background: var(--azul); color: #fff; font-weight: 700; }
.chip[aria-pressed="true"] .n { color: rgba(255, 255, 255, .85); }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { background: var(--cinza); } }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.dsearch { position: relative; flex: 1 1 260px; max-width: 440px; }
.dsearch svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; color: var(--tinta-3); }
.dsearch input { width: 100%; height: 48px; padding: 0 16px 0 44px; border: 2px solid var(--cinza-2); border-radius: var(--pill); background: var(--cinza); font: 500 1rem var(--sans); color: var(--tinta); }
.dsearch input:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 5px rgba(31, 91, 214, .16); }
.dsearch input::placeholder { color: var(--tinta-3); }
.sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: var(--t-sm); font-weight: 600; color: var(--tinta-2); }
.sort select { height: 48px; padding: 0 40px 0 16px; border: 2px solid var(--cinza-2); border-radius: var(--pill); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230E1A33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; color: var(--tinta); font: 600 .95rem var(--sans); appearance: none; cursor: pointer; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dlayout.few .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dlayout.few .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .dlayout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 40px; }
  .side { position: static; max-height: none; overflow: visible; padding: 0; margin-bottom: 14px; }
  .side h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .types { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; }
  .types::-webkit-scrollbar { display: none; }
  .chip { width: auto; flex: 0 0 auto; white-space: nowrap; border: 2px solid var(--cinza-2); border-radius: var(--pill); padding: 0 14px; }
  .chip[aria-pressed="true"] { border-color: var(--azul); }
  .dlayout.few .grid, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .grid, .dlayout.few .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sort { margin-left: 0; } .sort > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .dsearch { flex: 1 1 100%; max-width: none; } .sort select { height: 44px; } }
.is-hidden { display: none !important; }
.empty { display: none; padding: 44px 24px; text-align: center; border-radius: var(--r-lg); background: var(--cinza); }
.empty.show { display: block; }
.empty b { display: block; font: var(--t-h3)/1.1 var(--display); font-weight: 400; color: var(--azul-escuro); margin-bottom: 8px; }
.empty .btn { margin-top: 16px; }
.empty-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.empty-links a { padding: 10px 14px; border-radius: var(--pill); background: #fff; border: 2px solid var(--c); text-decoration: none; font-weight: 700; font-size: .9rem; }
.fine { margin-top: 32px; font-size: var(--t-xs); color: var(--tinta-3); }

.others-sec { padding-top: 56px; }
.others-sec h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.others { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.oc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 14px; border-radius: 22px; background: var(--c); color: var(--on); text-decoration: none; transition: transform .22s var(--ease-out), box-shadow .22s; }
.oc img { position: absolute; right: 10px; top: -22px; height: 92px; width: auto; max-width: 70%; object-fit: contain; filter: var(--sh-pp); rotate: 6deg; transition: transform .4s var(--ease-spring); }
.oc b { position: relative; font: 1.02rem/1.1 var(--display); font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .oc:hover { transform: translateY(-3px); box-shadow: var(--sh-2); } .oc:hover img { transform: translateY(-6px) rotate(-6deg); } }
.oc:active { transform: scale(.98); }
@media (max-width: 1100px) { .others { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 34px; } }
@media (max-width: 560px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } .oc:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- rodapé ---------- */
.ftr { background: var(--azul-escuro); color: rgba(255, 255, 255, .86); font-size: var(--t-sm); padding-bottom: 32px; }
.bunting-sm { height: 52px; margin-bottom: 40px; }
.bunting-sm svg { width: 300px; height: 58px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ftr-logo { display: inline-block; padding: 12px 18px; border-radius: 18px; background: #fff; }
.ftr-logo img { height: 46px; width: auto; }
.ftr-brand p { margin-top: 16px; max-width: 22em; }
.ftr h2 { font: 800 1rem/1.2 var(--sans); color: #fff; margin: 0 0 14px; }
.ftr ul { display: grid; gap: 4px; }
.ftr li { min-height: 30px; display: flex; align-items: center; }
.ftr a { text-decoration: none; }
.ftr a:hover { text-decoration: underline; color: #fff; }
.ftr-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: var(--t-xs); }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

/* movimento reduzido: nada se desloca */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .pp:hover, .card:hover, .ct:hover, .oc:hover, .btn:hover { transform: none !important; translate: none !important; scale: none !important; }
}
