/* Supermercado Chapadão: azul e vermelho da marca, amarelo só como etiqueta de preço */
:root {
  --bg: #f4f6fb; --ink: #0e1b45; --muted: #4a5575; --blue: #1a3c94; --red: #d9231e; --yellow: #ffc82c; --soft: #e6ebf5;
  --line: #d3daea; --white: #fff; --r: 6px;
  --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); z-index: 200; }
.skip:focus { left: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.disp { font-family: var(--disp); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; text-wrap: balance; }
.center { text-align: center; margin-top: 36px; }
.muted-t { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.eyebrow--y { color: var(--yellow); }
.ico { flex: none; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent; font: 700 16px/1.1 'Public Sans', system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: filter 150ms ease-out, transform 120ms ease-out; }
.btn svg:not(.ico) { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--fill { background: var(--red); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline-w { background: transparent; color: #fff; border-color: #fff; }
@media (hover: hover) { .btn:hover:not(:disabled) { filter: brightness(0.93); } }
.btn.done { background: var(--blue); }

/* topo */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 2px; }
.nav a[aria-current="page"] { color: var(--red); }
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--red); } }
.top__r { display: flex; align-items: center; gap: 8px; }
.cartbtn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; }
.cartbtn b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font: 700 12px/22px 'Public Sans', sans-serif; text-align: center; }
.cartbtn:not(.has) b { display: none; }
.cartbtn.bump { animation: bump 400ms ease-out; }
@keyframes bump { 40% { transform: scale(1.14); } }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 3px; background: var(--ink); border-radius: 2px; transition: transform 180ms ease-out, top 180ms ease-out; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 28px; }
body.menu .burger span:first-child { top: 23px; transform: rotate(45deg); }
body.menu .burger span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .top__in { flex-wrap: wrap; row-gap: 0; }
  .top__r { margin-left: auto; }
  .burger { display: block; }
  .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 4px 0 18px; border-top: 1px solid var(--line); }
  body.menu .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
}

/* seções */
.sec { padding: 76px 0; }
.sec--white { background: #fff; border-bottom: 1px solid var(--line); }
.sec--soft { background: var(--soft); }
.sec__head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 700px; }
.sec__head h2, .sec__head h1 { font-size: clamp(36px, 5.5vw, 58px); }
.sec__head p { color: var(--muted); font-size: 18px; }
.sec__head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: flex-end; justify-content: space-between; }
.sec__head--row > div { display: grid; gap: 12px; }
.sec__head--row .sec__note { flex: 1 1 280px; max-width: 440px; font-size: 16px; }
.datechip { justify-self: start; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }

/* hero */
.hero { padding: 56px 0 52px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero__txt { flex: 999 1 440px; min-width: 0; display: grid; gap: 22px; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); line-height: 0.98; overflow-wrap: anywhere; }
.hero__lead { font-size: 19px; line-height: 1.55; max-width: 560px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__side { flex: 1 1 300px; min-width: 0; max-width: 440px; display: grid; gap: 16px; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 13 / 9; object-fit: cover; border-radius: var(--r); }
.tagcard { background: var(--yellow); color: var(--ink); padding: 30px; border-radius: var(--r); display: grid; gap: 12px; }
.tagcard__k { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tagcard__v { font-size: clamp(72px, 12vw, 108px); line-height: 0.9; }
.tagcard__t { font-size: 16px; line-height: 1.5; }
.tagcard__f { border-top: 2px solid var(--ink); padding-top: 14px; font-size: 15px; font-weight: 600; }

.trust { background: var(--blue); color: #fff; }
.trust__in { display: flex; flex-wrap: wrap; gap: 10px 40px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; font-weight: 600; font-size: 16px; }

/* produtos */
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.prod[hidden] { display: none; }
.prod.is-off { opacity: 0.7; }
.prod__img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; }
.prod__ph { color: #9aa8cf; }
.prod__badge, .prod__tag { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font: 800 15px/1 var(--disp); letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 10px; border-radius: 4px; }
.prod__tag { background: var(--ink); }
.prod__body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prod h3 { font-size: 19px; line-height: 1.25; }
.prod__unit, .prod__txt { font-size: 14px; color: var(--muted); }
.prod__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 10px; }
.prod__price { font: 800 44px/1 var(--disp); color: var(--red); }
.prod__old { font-size: 14px; color: var(--muted); }
.prod .btn { margin-top: auto; width: 100%; }

.tools { display: grid; gap: 16px; margin-bottom: 28px; }
.search input { width: 100%; max-width: 440px; min-height: 52px; padding: 12px 16px; border-radius: 8px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.search input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(26, 60, 148, 0.2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 600 15px/1 'Public Sans', sans-serif; cursor: pointer; }
.filters button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* encarte */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gallery a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery img { width: 100%; height: auto; }
.gallery p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* motivos */
.reasons { display: flex; flex-wrap: wrap; }
.reasons li { flex: 1 1 260px; min-width: 0; padding: 6px 32px; border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.reasons li:first-child { border-left: 0; padding-left: 0; }
.reasons h3 { font-size: 22px; line-height: 1.25; }
.reasons p { color: var(--muted); }
@media (max-width: 860px) { .reasons li { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); } .reasons li:first-child { border-top: 0; } }

/* faixas */
.band { padding: 68px 0; }
.band--dark { background: var(--ink); color: #f4f6fb; }
.band--red { background: var(--red); color: #fff; }
.band__in { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.band__in > div:first-child, .band__in > h2 { flex: 999 1 420px; min-width: 0; }
.band h2 { font-size: clamp(36px, 5.5vw, 62px); text-wrap: balance; }
.band--dark p:not(.eyebrow) { margin-top: 14px; font-size: 18px; max-width: 560px; color: #d6ddf0; }
.band--dark h2 { margin-top: 12px; }

/* avaliações */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.quotes figure { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; height: 100%; align-content: start; }
.stars { color: #b7791f; font-size: 22px; letter-spacing: 0.12em; }
.quotes blockquote { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 600; }
.quotes figcaption { font-size: 14px; color: var(--muted); }

/* visita */
.visit { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.visit__info { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.visit h2 { font-size: clamp(36px, 5.5vw, 58px); }
.facts { display: grid; gap: 18px; font-size: 18px; line-height: 1.5; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.chartcard { flex: 1 1 360px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.chartcard h3 { font-size: 22px; }
.chartcard p { color: var(--muted); font-size: 16px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; }
.bar { flex: 1 1 0; min-width: 0; background: #b7c3e0; border-radius: 3px 3px 0 0; }
.bar--peak { background: var(--blue); }
.hours { display: flex; gap: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; margin-top: -8px; }
.hours span { flex: 1 1 0; min-width: 0; }
.hours .is-peak { font-weight: 700; color: var(--blue); }
.chartcard .chartcard__n { font-size: 13px; }

/* rodapé */
.foot { background: var(--ink); color: #d6ddf0; padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.credit a { display: inline-flex; align-items: center; gap: 4px; color: #d6ddf0; text-decoration: none; }
.credit img { height: 40px; width: auto; }

/* WhatsApp flutuante e barra de atalhos (celular) */
.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; border-radius: 50%; background: #1faa59; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(14, 27, 69, 0.3); z-index: 40; }
.fab svg { width: 32px; height: 32px; fill: currentColor; }
.mbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  .mbar__b { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 8px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: 700 14px/1 'Public Sans', sans-serif; text-decoration: none; cursor: pointer; }
  .mbar__b b { background: var(--red); color: #fff; border-radius: 999px; min-width: 20px; padding: 3px 6px; font-size: 12px; }
  .mbar__b--wa { background: #1faa59; border-color: #1faa59; color: #fff; }
  .mbar__b svg:not(.ico) { width: 20px; height: 20px; fill: currentColor; }
  .sec { padding: 56px 0; }
  .hero { padding: 36px 0 40px; }
}

/* pedido (gaveta) */
.drawer[hidden] { display: none; }
.drawer { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.drawer__bg { position: absolute; inset: 0; background: rgba(14, 27, 69, 0.55); }
.drawer__box { position: relative; width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 800 30px/1 var(--disp); text-transform: uppercase; }
.drawer__x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink); }
.drawer__list { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__empty { padding: 28px 20px; color: var(--muted); }
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__i { display: grid; gap: 2px; min-width: 0; }
.line__i span { font-size: 13px; color: var(--muted); }
.line__i em { font-style: normal; font-weight: 700; color: var(--red); }
.line__q { display: flex; align-items: center; gap: 6px; }
.line__q button, .line__x { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); }
.line__q span { min-width: 22px; text-align: center; font-weight: 700; }
.line__x { border: 0; font-size: 22px; color: var(--muted); }
.drawer__foot { padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.drawer__total strong { font: 800 34px/1 var(--disp); color: var(--red); }
.drawer__note { font-size: 14px; color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .burger span, .cartbtn.bump { transition: none; animation: none; }
}
