/* ==========================================================
   Quero Pipoca — tokens
   ========================================================== */
:root {
  --red: #D7262B;
  --red-d: #A8161C;
  --yellow: #FFC93C;
  --butter: #FFE7A3;
  --navy: #1B2A6B;
  --navy-d: #0F1846;
  --caramel: #C8741E;
  --ink: #17142E;
  --muted: #5B5874;
  --paper: #FFFFFF;
  --line: #E7E4F0;
  --bulb: #FFF1B8;

  --f-display: "Bungee", "Arial Black", sans-serif;
  --f-inline: "Bungee Inline", "Bungee", sans-serif;
  --f-body: "Bricolage Grotesque", system-ui, sans-serif;

  --r: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --shadow: 0 1px 0 rgba(23, 20, 46, .06), 0 12px 30px -18px rgba(23, 20, 46, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 1.0625rem/1.55 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0; }
h2 { font: 400 clamp(1.9rem, 4.6vw, 3.2rem)/1 var(--f-display); letter-spacing: -.01em; }
h3 { font-weight: 800; font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .7rem; }
.eyebrow--y { color: var(--yellow); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-d); }
.btn--red:hover { box-shadow: 0 6px 0 var(--red-d); }
.btn--yellow { background: var(--yellow); color: var(--navy-d); box-shadow: 0 4px 0 #C99512; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Topbar / Header ---------- */
.topbar {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .45rem var(--gutter); background: var(--navy-d); color: #fff; font-size: .85rem;
}
.topbar__envio b { color: var(--yellow); }
.topbar__info { opacity: .75; }

.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  display: flex; align-items: center; gap: 1.25rem;
  padding: .7rem var(--gutter);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.logo { display: block; width: 56px; height: 56px; flex: none; }
.logo picture { display: block; width: 100%; height: 100%; }
.logo img, .logo svg { width: 100%; height: 100%; object-fit: contain; }
.logo picture + svg { display: none; }
.brand span { font: 400 .95rem/.95 var(--f-display); color: var(--red); }
.brand span small { display: block; font-size: .62rem; color: var(--navy); letter-spacing: .08em; }
.brand--light span { color: var(--yellow); }
.brand--light span small { color: #fff; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }

.modo { display: inline-flex; padding: 4px; border-radius: 999px; background: #F1EFF7; }
.modo button {
  border: 0; background: transparent; padding: .45em 1em; border-radius: 999px;
  font-weight: 800; font-size: .85rem; cursor: pointer; color: var(--muted);
}
.modo button[aria-checked="true"] { background: var(--navy); color: #fff; }

.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__n {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  border-radius: 999px; background: var(--yellow); color: var(--navy-d);
  font: 800 .75rem/22px var(--f-body); text-align: center; border: 2px solid #fff;
}
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* ---------- Hero: letreiro ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 5rem);
  background:
    radial-gradient(60% 80% at 78% 40%, rgba(255, 201, 60, .22), transparent 70%),
    radial-gradient(80% 60% at 10% 100%, rgba(215, 38, 43, .25), transparent 70%),
    var(--navy-d);
  color: #fff; overflow: hidden;
}
.marquee {
  position: relative; padding: 28px; border-radius: 30px; background: var(--red);
  box-shadow: 0 0 0 6px var(--red-d), 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.bulbs, .bulbs::after {
  position: absolute; inset: 0; border-radius: inherit; padding: 28px;
  background: radial-gradient(circle, var(--bulb) 0 4.5px, rgba(255, 241, 184, .0) 6px) 0 0 / 28px 28px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 4px rgba(255, 220, 120, .9));
}
.bulbs { animation: chase 1.1s steps(1) infinite; }
.bulbs::after { content: ""; background-position: 14px 14px; animation: chase 1.1s steps(1) infinite reverse; }
@keyframes chase { 0% { opacity: 1; } 50% { opacity: .25; } }
.marquee__inner {
  position: relative; border-radius: 14px; background: var(--navy);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08);
}
.marquee .eyebrow { color: var(--yellow); }
.hero h1 {
  font: 400 clamp(2.6rem, 7.4vw, 5.6rem)/.92 var(--f-display); letter-spacing: -.02em;
  text-shadow: 0 4px 0 var(--navy-d);
}
.hero h1 em { font-family: var(--f-inline); font-style: normal; color: var(--yellow); }
.hero__lead { max-width: 34ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); opacity: .9; margin: 1.2rem 0 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__bucket { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero__logo { position: relative; width: min(400px, 90%); align-self: center; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: flutua 6s ease-in-out infinite; }
.hero__logo .logo--hero { width: 100%; height: auto; aspect-ratio: 1; }
@keyframes flutua { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.pops { position: absolute; inset: 0; pointer-events: none; }
.pop {
  position: absolute; bottom: 45%; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, var(--butter) 60%, #F0C35A);
  box-shadow: 8px -3px 0 -3px #FFF7DD, -7px -5px 0 -4px #FFF2C9;
  animation: pop 2.6s cubic-bezier(.2, .7, .3, 1) infinite;
  opacity: 0;
}
@keyframes pop {
  0% { transform: translate(0, 0) scale(.3) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  55% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(160deg); opacity: 1; }
  100% { transform: translate(calc(var(--dx) * 1.3), 40px) scale(.9) rotate(280deg); opacity: 0; }
}

/* ---------- Ticker de sabores ---------- */
.ticker {
  overflow: hidden; padding: .8rem 0;
  background: repeating-linear-gradient(-45deg, var(--red) 0 22px, var(--red-d) 22px 44px);
  color: #fff; border-block: 4px solid var(--yellow);
}
.ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: ticker 38s linear infinite; }
.ticker__track span { font: 400 1.05rem var(--f-display); white-space: nowrap; }
.ticker__track span::after { content: "✦"; margin-left: 2.5rem; color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.frete-nota { margin: 1.6rem 0 0; font-weight: 600; color: var(--navy); }
.frete-nota::before { content: "📦 "; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.section__head { max-width: 60ch; margin-bottom: 1.8rem; }
.section__head h2 { color: var(--navy); }
.section__sub { color: var(--muted); margin: .8rem 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip {
  border: 2px solid var(--line); background: #fff; padding: .45em 1.05em; border-radius: 999px;
  font-weight: 600; cursor: pointer;
}
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
body[data-modo="atacado"] #filtros { display: none; }

/* ---------- Cards de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.card {
  display: flex; flex-direction: column; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  animation: rise .45s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card__art {
  height: 220px; display: grid; place-items: end center; padding-top: 1rem;
  background:
    radial-gradient(70% 60% at 50% 100%, color-mix(in srgb, var(--tom) 30%, transparent), transparent 70%),
    color-mix(in srgb, var(--tom) 10%, #fff);
  position: relative;
}
.card__art--foto { padding: 0; height: 240px; display: block; }
.card__art--foto .foto, .card__art--foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card__art--foto img { transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); transition: transform .5s ease; }
.card:hover .card__art--foto img { transform: scale(calc(var(--z, 1) * 1.05)); }
.card__art--foto { overflow: hidden; }
.card__tag { z-index: 1; }
.card__art .pacotes { width: 180px; margin-bottom: 1rem; filter: drop-shadow(0 10px 10px rgba(23, 20, 46, .2)); }
.card__tag {
  position: absolute; top: .8rem; left: .8rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: .3em .7em; border-radius: 999px; background: #fff;
  color: color-mix(in srgb, var(--tom) 45%, var(--ink));
}
.card__body { padding: 1.1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.card__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.card__body h3 small { font-weight: 600; color: var(--muted); font-size: .8rem; }
.precos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.precos div { padding: .55rem .7rem; border-radius: 12px; border: 2px solid var(--line); display: grid; line-height: 1.15; }
.precos span { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.precos b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.precos small { font-size: .72rem; color: var(--muted); }
.precos div:first-child span { color: var(--navy); }
.precos div:last-child span { color: var(--red); }
.precos .ativo { border-color: var(--ink); background: var(--butter); }
.card__body .dica { font-size: .85rem; font-weight: 600; color: var(--navy); }
.card__body .dica--ok { color: #1F7A45; }
.card__buy { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: auto; }
.preco { flex: 1 0 100%; font-weight: 800; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.preco small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.qtd { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qtd button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.15rem; font-weight: 800; cursor: pointer; }
.qtd input { width: 54px; text-align: center; border: 0; background: none; font-weight: 800; -moz-appearance: textfield; }
.qtd input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add { flex: 1; padding: .7em 1em; }

/* ---------- Combo Experimentação ---------- */
.combo {
  margin-bottom: 1.6rem; border-radius: var(--r); overflow: hidden; background: #fff;
  border: 2px solid var(--red); box-shadow: var(--shadow);
}
.combo__topo { background: var(--red); color: #fff; text-align: center; padding: 1rem var(--gutter) 1.1rem; }
.combo__kicker { margin: 0 0 .35rem; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.combo__kicker span { color: #fff; opacity: .9; letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: .9rem; margin-left: .3em; }
.combo h3 { font: 400 clamp(1.5rem, 4vw, 2.3rem)/1 var(--f-display); }
.combo__sub { margin: .35rem 0 0; font-weight: 600; opacity: .9; }
.combo__sabores { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2.5vw, 1.6rem); padding: 1.2rem clamp(.8rem, 3vw, 2rem) .4rem; position: relative; }
.combo__sabor { margin: 0; text-align: center; position: relative; }
.combo__sabor + .combo__sabor::before {
  content: "+"; position: absolute; left: calc(-1 * clamp(.6rem, 2.5vw, 1.6rem) / 2); top: 34%;
  transform: translate(-50%, -50%); font: 400 clamp(1.3rem, 3vw, 2rem)/1 var(--f-display); color: var(--red); z-index: 1;
}
.combo__foto { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bulb); display: grid; place-items: center; }
.combo__foto .foto, .combo__foto img { width: 100%; height: 100%; object-fit: cover; }
.combo__foto .pacotes { width: 80%; }
.combo__sabor figcaption { margin-top: .5rem; line-height: 1.15; }
.combo__sabor figcaption small { display: block; font-weight: 800; font-size: .85rem; }
.combo__sabor figcaption b { color: var(--red); font-weight: 800; font-size: clamp(.9rem, 2.4vw, 1.15rem); }
.combo__compra { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; padding: .8rem clamp(.8rem, 3vw, 2rem) 0; }
.combo__escolha { display: grid; gap: .25rem; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.combo__escolha select { min-width: 200px; padding: .6em .8em; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 1rem; }
.combo__preco { margin: 0; text-align: center; line-height: 1; }
.combo__preco b { display: block; font: 400 clamp(2rem, 6vw, 2.8rem)/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.combo__preco small { display: block; margin-top: .3rem; color: var(--muted); font-weight: 600; font-size: .85rem; }
.combo .add { flex: 0 1 220px; }
.combo__nota { margin: 0; padding: .7rem 1rem 1rem; text-align: center; font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) {
  .combo__compra > * { flex: 1 1 100%; }
  .combo__escolha select { width: 100%; }
  .combo .qtd { justify-content: space-between; }
  .combo .qtd input { flex: 1; }
}
.item__det { display: block; font-size: .78rem; color: var(--muted); }

/* ---------- Atacado institucional ---------- */
.section--navy {
  max-width: none; background: var(--navy); color: #fff;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.section--navy .section__head h2 { color: #fff; }
.section--navy .section__sub { color: rgba(255, 255, 255, .75); }
.publicos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.publicos article {
  padding: 1.3rem; border-radius: var(--r); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.publicos h3 { color: var(--yellow); margin-bottom: .4rem; }
.publicos p { margin: 0; opacity: .85; font-size: .95rem; }
.passos { margin-top: 3rem; }
.passos ol { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; counter-reset: p; }
.passos li { counter-increment: p; padding-top: 3.2rem; position: relative; opacity: .92; }
.passos li::before {
  content: counter(p); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--navy-d); font: 400 1.1rem var(--f-display);
}
.passos b { display: block; color: #fff; }
.orcamento {
  margin-top: 3rem; padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: 24px;
  background: #fff; color: var(--ink);
}
.orcamento > p { color: var(--muted); margin: .4rem 0 1.2rem; }
.campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem; margin-bottom: 1.2rem; }
.campos .full { grid-column: 1 / -1; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  width: 100%; padding: .7em .85em; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-weight: 400;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); }

/* ---------- Sobre ---------- */
.sobre { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sobre h2 { color: var(--navy); margin-bottom: 1.2rem; }
.sobre p { max-width: 52ch; }
.selos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; }
.selos li { padding: .4em .9em; border-radius: 999px; background: var(--butter); font-weight: 600; font-size: .9rem; }
.sobre__fig {
  margin: 0; display: flex; align-items: flex-end; justify-content: center; gap: .5rem; min-height: 300px;
  padding: 2rem 1rem 0; border-radius: 28px;
  background: repeating-linear-gradient(90deg, #fff 0 34px, #FCE3E3 34px 68px);
  border: 1px solid var(--line);
}
.sobre__fig .pacotes { width: 30%; margin-bottom: 1.5rem; }
.sobre__fig:has(.foto) { display: grid; align-items: stretch; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; padding: .6rem; min-height: 380px; background: var(--navy); }
.sobre__fig .foto { border-radius: 20px; overflow: hidden; }
.sobre__fig .foto:first-child { grid-row: 1 / 3; }
.sobre__fig .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Onde ---------- */
.onde { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.onde h2 { color: var(--navy); }
.pontos { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; max-width: 460px; }
.pontos li { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; }
.pontos b { color: var(--navy); }
.pontos span { grid-column: 1; color: var(--muted); font-size: .92rem; }
.pontos a { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 800; color: var(--red); font-size: .9rem; }
.envio-card {
  display: grid; gap: 1rem; align-content: center; min-height: 360px; padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px; color: #fff;
  background: radial-gradient(70% 70% at 90% 10%, rgba(255, 201, 60, .25), transparent 70%), var(--navy);
}
.envio-card .eyebrow { margin: 0; }
.envio-card__big { margin: 0; font: 400 clamp(1.6rem, 3.4vw, 2.4rem)/1.05 var(--f-display); text-wrap: balance; }
.envio-card ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; opacity: .9; }
.envio-card__tel { margin: 0; font-size: 1.05rem; }
.envio-card__tel b { color: var(--yellow); user-select: all; }
.mapa { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: #EEE; }
.mapa iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.onde .btn--ghost { color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq h2 { color: var(--navy); margin-bottom: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font: 400 1.3rem/1 var(--f-display); color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: .7rem 0 0; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: center;
  padding: 2.5rem var(--gutter); background: var(--navy-d); color: rgba(255, 255, 255, .8); font-size: .92rem;
}
.footer p { margin: 0; }
.footer small { grid-column: 1 / -1; opacity: .6; }

/* ---------- Carrinho ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15, 24, 70, .5); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%);
  display: flex; flex-direction: column; background: #fff;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.3, .8, .3, 1), visibility .3s;
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px -20px rgba(0, 0, 0, .4); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; color: var(--navy); }
.x { border: 0; background: #F1EFF7; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.3rem; }
.itens { list-style: none; padding: 0; margin: 0 0 1rem; }
.item { display: grid; grid-template-columns: 52px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.item .pacotes { width: 52px; }
.item .thumb img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; display: block; }
.item b { display: block; font-size: .95rem; }
.item small { color: var(--muted); font-size: .8rem; display: block; }
.item__lado { text-align: right; display: grid; gap: .3rem; justify-items: end; }
.item__lado .qtd button { width: 28px; height: 28px; }
.item__lado .qtd span { min-width: 26px; text-align: center; font-weight: 800; font-size: .9rem; }
.item__lado strong { font-variant-numeric: tabular-nums; }
.selo-ata { font-style: normal; font-weight: 800; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; background: var(--butter); color: var(--ink); padding: .1em .45em; border-radius: 6px; margin-left: .3em; }
.item .falta { color: var(--navy); font-weight: 600; }
.item-aviso { padding: .7rem .85rem; margin-bottom: .4rem; border-radius: 12px; background: var(--butter); color: var(--ink); font-size: .88rem; font-weight: 600; }
.item-aviso--ok { background: #E3F4E9; color: #1F7A45; }
.totais .eco { color: #1F7A45; font-weight: 800; }
.linha2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: .7rem; }
.frete { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.frete legend { font-weight: 800; margin-bottom: .5rem; font-size: .9rem; }
.frete__btn {
  justify-self: start; padding: .55em 1em; border-radius: 12px; border: 2px solid var(--navy);
  background: #fff; color: var(--navy); font-weight: 800; cursor: pointer;
}
.frete__btn:hover { background: #F3F4FB; }
.frete__btn[disabled] { opacity: .6; cursor: progress; }
.frete__opcoes { display: grid; gap: .45rem; }
.frete__opcoes:empty { display: none; }
.frete__op {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem;
  padding: .65em .85em; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400;
}
.frete__op:has(input:checked) { border-color: var(--navy); background: #F3F4FB; }
.frete__op input { width: auto; }
.frete__op b { display: block; font-size: .95rem; }
.frete__op small { color: var(--muted); font-size: .8rem; }
.frete__op strong { font-variant-numeric: tabular-nums; }
.frete__msg { margin: 0; font-size: .85rem; color: var(--muted); }
.frete__transp { display: grid; gap: .3rem; padding-top: .6rem; margin-top: .2rem; border-top: 1px dashed var(--line); }
.frete__transp-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: .45em; padding: .55em 1em; border-radius: 12px;
  border: 2px solid #1F7A45; color: #1F7A45; background: #fff; font-weight: 800; text-decoration: none;
}
.frete__transp-btn::before { content: "🚚"; }
.frete__transp-btn:hover { background: #E3F4E9; }
.frete__transp small { color: var(--muted); font-size: .8rem; }
.frete__msg:empty { display: none; }
.vazio { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.checkout { display: grid; gap: .9rem; }
.entrega { border: 0; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.entrega legend { font-weight: 800; margin-bottom: .5rem; font-size: .9rem; }
.entrega label { display: flex; align-items: center; gap: .4rem; padding: .55em .9em; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.entrega label:has(input:checked) { border-color: var(--navy); background: #F3F4FB; }
.entrega input { width: auto; }
.drawer__foot { padding: 1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); background: #FBFAFD; }
.totais { display: grid; grid-template-columns: 1fr auto; gap: .25rem; margin: 0 0 .6rem; font-variant-numeric: tabular-nums; }
.totais dd { margin: 0; text-align: right; }
.totais .total { font-weight: 800; font-size: 1.2rem; }
.aviso { margin: 0 0 .7rem; font-size: .85rem; color: var(--navy); min-height: 1em; }

.whats-fab {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .5);
}
.whats-fab svg { width: 30px; height: 30px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: .75rem 1.2rem; border-radius: 999px; font-weight: 600;
  transition: transform .3s ease, opacity .3s ease; pointer-events: none; max-width: calc(100% - 32px); opacity: 0;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.voa {
  position: fixed; z-index: 90; width: 22px; height: 22px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, var(--butter) 60%, #F0C35A);
  transition: transform .7s cubic-bezier(.5, -0.4, .6, 1), opacity .7s;
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .modo { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero__bucket { min-height: 260px; order: -1; }
  .hero__logo { width: 240px; }
  .sobre, .onde { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .topbar__info { display: none; }
  .brand span:not(.logo) { display: none; }
  .logo { width: 48px; height: 48px; }
  .marquee { padding: 18px; border-radius: 22px; }
  .bulbs, .bulbs::after { padding: 18px; background-size: 18px 18px; }
  .bulbs::after { background-position: 9px 9px; }
  .whats-fab { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Aviso de cookies (só aparece com o Google Analytics ligado) ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; padding: 1rem 1.1rem;
  background: var(--navy-d); color: #fff; border-radius: var(--r); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.cookies p { margin: 0; flex: 1 1 260px; font-size: .92rem; }
.cookies div { display: flex; gap: .5rem; }
.cookies .btn { padding: .6em 1.1em; }
.cookies .btn--ghost { color: #fff; }
.link-cookies { display: block; margin: .4rem auto 0; background: none; border: 0; color: inherit; opacity: .75; text-decoration: underline; cursor: pointer; font-size: .85rem; }
