/*
 * Mini Store — site do cliente. Mobile primeiro.
 * Conceito: "etiqueta de gôndola". As cores vêm do logotipo (azul e vermelho) e do amarelo das etiquetas de oferta.
 * A ousadia fica num lugar só: o preço, desenhado como etiqueta de prateleira, em letra condensada.
 * O resto é calmo: superfícies brancas, azul-marinho para o texto, pouco contorno.
 */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900; font-display: swap;
}

:root {
  --ink: #0F2340;        /* azul-marinho do texto */
  --muted: #5A6577;
  --brand: #1D4FA8;      /* azul do logo */
  --brand-deep: #0E2A5E;
  --brand-tint: #E6EDF8;
  --red: #D7212A;        /* vermelho do logo / faixa de oferta */
  --red-deep: #A8141C;
  --yellow: #FFD200;     /* amarelo da etiqueta */
  --paper: #EEF1F5;
  --card: #FFFFFF;
  --line: #DCE2EA;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --tabs-h: 64px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --lift: 0 1px 2px rgba(15, 35, 64, .06), 0 8px 24px -14px rgba(15, 35, 64, .28);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1rem/1.5 var(--body);
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-stretch: 82%; letter-spacing: -.02em; }
h2 { font-size: 1.6rem; font-weight: 800; font-stretch: 85%; letter-spacing: -.015em; margin-bottom: .8rem; }
p { margin: 0 0 .75rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 0; }
.ico { flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Cabeçalho ===== */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .75rem;
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: calc(.55rem + env(safe-area-inset-top, 0px)) 1rem .55rem;
}
.top__brand { display: flex; align-items: center; gap: .65rem; min-width: 0; text-decoration: none; color: var(--ink); }
.top__brand img { width: auto; height: 30px; flex: none; }
.top__brand span {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 700 1.05rem/1.1 var(--display); font-stretch: 90%; color: var(--ink);
  padding-left: .65rem; border-left: 1.5px solid var(--line);
}
.top__nav { display: none; gap: .25rem; margin-left: auto; }
.top__nav a { color: var(--muted); text-decoration: none; padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.top__nav a[aria-current] { background: var(--ink); color: #fff; }
.top__out { margin: 0 0 0 auto; }
.top__out button {
  background: none; border: 0; color: var(--muted); font: 600 .9rem var(--body);
  padding: .5rem .25rem; min-height: 40px; cursor: pointer;
}
.demo-bar {
  margin: 0; background: #FFF4BF; color: #5C4A00; font-weight: 600; font-size: .82rem; line-height: 1.35;
  padding: .45rem 1rem; text-align: center;
}

/* ===== Barra de abas (celular) ===== */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column;
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: var(--tabs-h); color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 600;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.tabs__ic { display: grid; place-items: center; width: 58px; height: 32px; border-radius: 999px; transition: background-color 160ms var(--ease); }
.tabs a[aria-current] { color: var(--ink); font-weight: 700; }
.tabs a[aria-current] .tabs__ic { background: var(--yellow); }
.tabs a[aria-current] .ico { stroke-width: 2.2; }
.tabs a:active .tabs__ic { background: var(--line); }

/* ===== Blocos de página ===== */
.head { padding: 1.6rem 1rem .4rem; max-width: 1120px; margin: 0 auto; }
.head h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
.head p { color: var(--muted); max-width: 52ch; margin-top: .45rem; }

.wrap { padding: 1.5rem 1rem 0; max-width: 1120px; margin: 0 auto; }
.wrap__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.wrap__head h2 { margin: 0; }
.wrap__head a { font-weight: 700; white-space: nowrap; text-decoration: none; font-size: .95rem; }
.sub { color: var(--muted); margin-top: -.45rem; }
.lead { font-size: 1.1rem; max-width: 60ch; }
.empty, .note { background: var(--card); border-radius: var(--r-md); padding: 1rem 1.1rem; color: var(--muted); }
.note { background: #FFF4BF; color: #5C4A00; font-size: .9rem; }
.crumb a { font-weight: 600; font-size: .9rem; text-decoration: none; }

/* Hero: usado em campanhas, fim de ano e na tela inicial sem banner */
.hero { position: relative; background: var(--brand-deep); color: #fff; overflow: hidden; }
.hero__in { position: relative; padding: 1.9rem 1rem 1.7rem; max-width: 1120px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 12vw, 4.4rem); max-width: 14ch; }
.hero__valid { margin: 0 0 .55rem; color: #C9D6EE; font-weight: 600; font-size: .95rem; max-width: 46ch; }
.hero--img .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 42, 94, .2), rgba(14, 42, 94, .82)); }
.hero--img .hero__in { z-index: 1; }
.hero--fest { background: #6E0F20; }
.hero--fest .hero__valid { color: #F3C9CF; }
.hero--fest.hero--img::after { background: linear-gradient(180deg, rgba(110, 15, 32, .4), rgba(110, 15, 32, .9)); }
.hero--slim .hero__in { padding-top: 1.25rem; padding-bottom: 1.35rem; }
.hero--slim h1 { font-size: clamp(2rem, 9vw, 3rem); }

/* Banner em arte pronta (campanhas): aparece inteiro, sem corte */
.art { background: var(--brand-deep); }
.art--fest { background: #5E0C1B; }
.art img { display: block; width: 100%; max-width: 1500px; height: auto; margin: 0 auto; }

/* ===== Tela inicial ===== */
/* banner da campanha do mês: cartão arredondado, com respiro */
.month { display: block; max-width: 1120px; margin: 1rem auto 0; padding: 0 1rem; }
.month img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--lift); }
.hero--hub { margin: 1rem 1rem 0; border-radius: var(--r-lg); background: var(--ink); }
.hero--hub .hero__in { padding: 1.6rem 1.35rem 1.5rem; }
.hero--hub h1 { font-size: clamp(2.2rem, 10.5vw, 3.6rem); }

/* faixa do dia especial: pílula vermelha logo abaixo do banner */
.today {
  display: flex; align-items: center; gap: .7rem; max-width: 1088px; margin: .75rem 1rem 0; padding: .7rem .8rem .7rem .7rem;
  background: var(--red); color: #fff; text-decoration: none; border-radius: var(--r-md);
}
.today + .today { margin-top: .5rem; }
.today strong { flex: 1; min-width: 0; font: 800 1.2rem/1.1 var(--display); font-stretch: 85%; }
.today__when { background: #fff; color: var(--red); font-weight: 800; padding: .2rem .55rem; border-radius: 7px; font-size: .8rem; white-space: nowrap; }
.today__go { display: inline-flex; align-items: center; gap: .1rem; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.today .ico { width: 18px; height: 18px; }
.today:active { background: var(--red-deep); }

.go { max-width: 1120px; margin: 0 auto; padding: 1.4rem 1rem 0; display: flex; flex-direction: column; gap: .7rem; }
.go__hi { margin: 0; font: 800 1.75rem/1.05 var(--display); font-stretch: 82%; letter-spacing: -.015em; }
.go__empty { margin: 0; background: var(--card); border-radius: var(--r-md); padding: 1rem; color: var(--muted); }

/* cartão do encarte: o ponto principal da tela */
.encarte {
  position: relative; display: grid; grid-template-columns: 1fr 112px; align-items: center; gap: .5rem;
  min-height: 176px; padding: 1.25rem 1rem 1.25rem 1.25rem; border-radius: var(--r-lg); overflow: hidden;
  background: var(--brand); color: #fff; text-decoration: none; box-shadow: var(--lift);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.encarte::before { /* faixa amarela no rodapé do cartão, como a borda de um folheto */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--yellow);
}
.encarte__text { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; position: relative; z-index: 1; }
.encarte__text strong { font: 800 1.9rem/1 var(--display); font-stretch: 80%; letter-spacing: -.015em; }
.encarte__valid { display: inline-flex; align-items: center; gap: .35rem; color: #D3DFF5; font-weight: 600; font-size: .9rem; }
.encarte__valid .ico { width: 16px; height: 16px; }
.encarte__btn {
  display: inline-flex; align-items: center; gap: .2rem; margin-top: .55rem; min-height: 46px; padding: 0 .9rem 0 1.15rem;
  background: var(--yellow); color: var(--ink); border-radius: 999px; font: 800 1.05rem/1 var(--body);
  transition: transform 120ms var(--ease);
}
.encarte__btn .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.encarte__cover {
  width: 112px; height: auto; aspect-ratio: 300 / 424; object-fit: cover; object-position: top;
  border-radius: 8px; background: #fff; transform: rotate(6deg) translate(6px, 4px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .5), 0 0 0 3px #fff;
}
.encarte__cover--ic { display: grid; place-items: center; color: var(--red); background: var(--yellow); box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .5); }
.encarte__cover--ic .ico { width: 48px; height: 48px; stroke-width: 1.8; }
.encarte:active .encarte__btn { transform: scale(.96); }

/* avisos no celular (encarte novo) */
.notify {
  max-width: calc(1120px - 2rem); margin: .9rem 1rem 0; padding: .9rem 1rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem;
  background: var(--card); border-radius: var(--r-md); box-shadow: var(--lift); color: var(--ink);
}
@media (min-width: 1152px) { .notify { margin-inline: auto; } }
.notify[hidden], .notify [hidden] { display: none !important; }
.notify__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.notify.is-on .notify__ic { background: #DDF3E4; color: #17683A; }
.notify.is-blocked .notify__ic { background: #FDE4E4; color: var(--red-deep); }
.notify__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.notify__text strong { font: 800 1.08rem/1.15 var(--display); font-stretch: 88%; }
.notify__text span { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.notify__text b { color: var(--ink); }
.notify__share { vertical-align: -3px; color: var(--brand); }
.notify__err { color: var(--red-deep) !important; font-weight: 600; }
.notify__btn {
  min-height: 44px; padding: 0 1.1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff; font: 800 .98rem/1 var(--body);
  transition: background-color 120ms var(--ease), transform 120ms var(--ease);
}
.notify__btn:active { background: var(--brand-deep); transform: scale(.97); }
.notify__btn:disabled { opacity: .6; cursor: progress; }
.notify__btn--ghost { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; }
.notify__btn--ghost:active { background: var(--paper); }
.notify.is-ios, .notify.is-blocked { grid-template-columns: auto minmax(0, 1fr); }

/* quadros Dicas / Novidade */
.tiles { max-width: 1120px; margin: 0 auto; padding: .9rem 1rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.tile {
  display: flex; flex-direction: column; gap: .9rem; min-height: 132px; padding: 1rem;
  background: var(--card); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: background-color 120ms var(--ease);
}
.tile__img { width: calc(100% + 2rem); max-width: none; margin: -1rem -1rem 0; aspect-ratio: 16 / 9; object-fit: cover; }
.tile__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
.tile__ic .ico { width: 24px; height: 24px; stroke-width: 1.9; }
.tile--tips .tile__ic { background: #FFF1B8; color: #7A5600; }
.tile--recipes .tile__ic { background: #FDE4E4; color: var(--red-deep); }
.tile__text { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; }
.tile__text strong { font: 800 1.3rem/1.1 var(--display); font-stretch: 85%; }
.tile__text span { color: var(--muted); font-size: .88rem; line-height: 1.3; }
.tile.is-soon { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.tile.is-soon .tile__ic { background: var(--line); color: var(--muted); }
.tile.is-soon strong { color: var(--muted); }
.tile__text .tile__soon { align-self: flex-start; margin-top: .2rem; padding: .1rem .5rem; border-radius: 999px; background: var(--line); color: var(--muted); font-size: .75rem; font-weight: 700; }
a.tile:active { background: var(--brand-tint); }

/* trilhos horizontais (destaques e próximos dias) */
.wrap--rail { padding-top: 1.75rem; }
.rail, .dates {
  display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 1rem;
  padding: 0 1rem .6rem; margin: 0 -1rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar, .dates::-webkit-scrollbar { display: none; }
.rail .offer { flex: 0 0 46%; max-width: 210px; scroll-snap-align: start; }
.wrap--dates { padding-top: 1.25rem; padding-bottom: .5rem; }
.dates a {
  flex: 0 0 9.25rem; scroll-snap-align: start; display: flex; flex-direction: column; gap: .5rem;
  background: var(--card); border-radius: var(--r-md); padding: .85rem .9rem .95rem; text-decoration: none; color: var(--ink);
}
.dates time { display: flex; align-items: center; gap: .45rem; }
.dates__day {
  display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .3rem; border-radius: 10px;
  background: var(--red); color: #fff; font: 800 1.45rem/1 var(--display); font-stretch: 80%;
}
.dates__meta { display: flex; flex-direction: column; line-height: 1.15; }
.dates__mo { font-size: .8rem; font-weight: 700; color: var(--red); }
.dates__wd { font-size: .78rem; font-weight: 600; color: var(--muted); }
.dates strong { font: 700 1.05rem/1.15 var(--display); font-stretch: 90%; }
.dates a:active { background: var(--brand-tint); }

/* ===== Encarte ===== */
.flyer { margin-bottom: 1.25rem; }
.flyer__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 1rem; margin-bottom: .8rem; }
.flyer__head h2 { margin: 0; }
.flyer__valid {
  display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: .3rem .75rem .3rem .6rem;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: .88rem; border-radius: 999px;
}
.flyer__valid .ico { width: 16px; height: 16px; }
.flyer__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.flyer__pages { display: grid; gap: 1rem; }
.flyer__pages a { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--lift); }
.flyer__pages img { width: 100%; height: auto; }
.flyer__zoom {
  position: absolute; right: .6rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .7rem .4rem .55rem; border-radius: 999px; background: rgba(15, 35, 64, .86); color: #fff;
  font-size: .8rem; font-weight: 700; pointer-events: none;
}
.flyer__zoom .ico { width: 16px; height: 16px; }
.flyer__pages--multi {
  display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 1rem;
  margin: 0 -1rem; padding: 0 1rem 1rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.flyer__pages--multi::-webkit-scrollbar { display: none; }
.flyer__pages--multi > .flyer__slide { flex: 0 0 86%; scroll-snap-align: start; }
.flyer__slide { margin: 0; min-width: 0; }
.flyer__slide figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; padding: .7rem .15rem 0; }
.flyer__slide figcaption strong { font: 700 1rem/1.25 var(--display); }
.flyer__count { margin: 0; color: var(--muted); font-weight: 700; font-size: .9rem; }
.flyer__dots { display: flex; align-items: center; gap: .35rem; margin-top: -.2rem; }
.flyer__dots span { width: 8px; height: 8px; border-radius: 999px; background: #B7C1D1; transition: width 200ms var(--ease), background-color 200ms var(--ease); }
.flyer__dots span.is-on { width: 22px; background: var(--ink); }
.flyer__dots em { margin-left: .4rem; font-style: normal; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ofertas limitadas: faixa amarela clara de ponta a ponta */
.wrap--special { margin-top: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; background: #FFF4BF; max-width: none; }
.wrap--special > * { max-width: 1088px; margin-left: auto; margin-right: auto; }
.wrap--special .sub { color: #6B5600; }

/* contador ao lado do título */
.count {
  display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.65rem; padding: 0 .45rem; margin-left: .25rem;
  border-radius: 999px; background: var(--ink); color: #fff; font: 700 .85rem/1 var(--body); vertical-align: .3rem;
}

/* busca + categorias: grudam abaixo do cabeçalho */
.finder {
  position: sticky; top: var(--top-h, 47px); z-index: 15; margin: 0 -1rem .6rem; padding: .6rem 1rem 0;
  background: rgba(238, 241, 245, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.search { position: relative; display: block; margin-bottom: .55rem; }
.search .ico { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 1rem 0 2.75rem; border: 0; border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 16px/1 var(--body); box-shadow: inset 0 0 0 1.5px var(--line);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: #7A8497; }
.search input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px rgba(29, 79, 168, .15); }
.chips { display: flex; gap: .45rem; overflow-x: auto; padding: .1rem 1rem .7rem; margin: 0 -1rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem;
  box-shadow: inset 0 0 0 1.5px var(--line); user-select: none; -webkit-user-select: none;
}
.chips a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.chips a:active { background: var(--line); }

/* ===== Cartão de oferta ===== */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.offer {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 35, 64, .06);
}
.offer--special { border: 2px solid var(--red); }
.offer__media { position: relative; aspect-ratio: 1 / 1; background: #fff; padding: .6rem; }
.offer__media img { width: 100%; height: 100%; object-fit: contain; }
.offer__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; width: 100%; height: 100%; border-radius: 12px; color: rgba(15, 35, 64, .42); }
.offer__ph-ic .ico { width: 32px; height: 32px; stroke-width: 1.5; }
.offer__ph-cat { font-size: .75rem; font-weight: 700; }
.hue-0 { background: #E7F0DC; } .hue-1 { background: #FCE6D8; } .hue-2 { background: #F8EECB; }
.hue-3 { background: #DDEBF1; } .hue-4 { background: #F2E1EA; } .hue-5 { background: #E5E5F4; }
/* selo de desconto: círculo vermelho, como o carimbo dos encartes */
.offer__off {
  position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; width: 3.1rem; height: 3.1rem;
  border-radius: 50%; background: var(--red); color: #fff; font: 800 1rem/1 var(--display); font-stretch: 80%;
  transform: rotate(-10deg); box-shadow: 0 4px 10px -4px rgba(168, 20, 28, .6);
}
.offer__body { padding: .3rem .75rem .8rem; display: flex; flex-direction: column; flex: 1; }
.offer__body h3 { font: 600 .98rem/1.25 var(--body); }
.offer__store { font-size: .78rem; font-weight: 700; color: var(--brand); margin: 0 0 .15rem; }
.offer__unit { color: var(--muted); font-size: .84rem; margin: .1rem 0 0; }
.offer__limit { font-size: .8rem; font-weight: 700; color: var(--red); margin: .3rem 0 0; line-height: 1.3; }
.offer__until { font-size: .78rem; color: var(--muted); margin: .45rem 0 0; }
.offer__until.is-last { color: var(--red); font-weight: 700; }

/* etiqueta de gôndola: faixa vermelha em cima, bloco amarelo com o preço */
.price {
  margin-top: auto; padding-top: .7rem; display: flex; flex-direction: column; align-items: stretch;
}
.price__band {
  align-self: flex-start; padding: .22rem .55rem .2rem; border-radius: 7px 7px 0 0;
  background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; line-height: 1.2;
}
.price__band s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(255, 255, 255, .7); }
.tag {
  display: flex; align-items: flex-start; padding: .35rem .6rem .4rem .55rem;
  background: var(--yellow); color: var(--ink); border-radius: 0 9px 9px 9px;
  font-family: var(--display); font-weight: 800; font-stretch: 75%; line-height: .9;
}
.tag__cur { font-size: .8rem; font-stretch: 90%; margin: .25rem .2rem 0 0; }
.tag__int { font-size: 2.45rem; letter-spacing: -.02em; }
.tag__cents { font-size: 1.15rem; margin: .2rem 0 0 .05rem; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 1.2rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; text-decoration: none;
  font: 700 1rem/1 var(--body); cursor: pointer;
  transition: transform 120ms var(--ease), background-color 120ms var(--ease); user-select: none; -webkit-user-select: none;
}
.btn .ico { width: 20px; height: 20px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #B7C1D1; }
.btn--wide { width: 100%; justify-content: center; }
.btn:active { transform: scale(.97); }

/* ===== Dicas (PDFs) e receitas ===== */
.docs { display: grid; gap: .75rem; }
.doc { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center; background: var(--card); border-radius: var(--r-lg); padding: 1rem; }
.doc img, .doc__cover { width: 92px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; transform: rotate(-3deg); box-shadow: 0 10px 20px -10px rgba(15, 35, 64, .5); }
.doc__cover { display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 1.35rem/1 var(--display); font-stretch: 80%; }
.doc h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 85%; margin-bottom: .3rem; }
.doc p { color: var(--muted); font-size: .92rem; }
.doc .btn { min-height: 44px; padding: 0 1rem; font-size: .95rem; }

.rgrid { display: grid; gap: .9rem; padding-bottom: 1.5rem; }
.rcard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); }
.rcard img, .rcard__ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rcard__ph { display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.rcard__ph .ico { width: 44px; height: 44px; stroke-width: 1.6; }
.rcard__body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.rcard__col { font-size: .8rem; font-weight: 700; color: var(--red); }
.rcard strong { font: 800 1.25rem/1.15 var(--display); font-stretch: 85%; }
.rcard__meta { font-size: .85rem; color: var(--muted); }
.rcard:active { background: var(--brand-tint); }

.recipe { max-width: 880px; margin: 0 auto; padding: 1.25rem 1rem 2rem; }
.recipe h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); margin-top: .4rem; }
.recipe__meta { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin: .9rem 0 1rem; }
.recipe__meta li { display: inline-flex; align-items: center; gap: .35rem; background: var(--card); border-radius: 999px; padding: .35rem .8rem; font-size: .88rem; font-weight: 600; }
.recipe__meta .ico { width: 16px; height: 16px; }
.recipe__img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1rem; }
.recipe__intro { font-size: 1.1rem; max-width: 60ch; }
.recipe__cols { display: grid; gap: 1.5rem; margin: 1.25rem 0 1.5rem; }
.ing li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.steps { counter-reset: s; display: grid; gap: .9rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .7rem; max-width: 60ch; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--yellow); font: 800 1.05rem/1 var(--display); }
.recipe__actions, .doc__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }

/* ===== Calendário e campanhas ===== */
.wrap > h2 { margin-top: .5rem; }
.cal { display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.cal__item { display: grid; grid-template-columns: 4rem 1fr; gap: .9rem; align-items: center; background: var(--card); border-radius: var(--r-md); padding: .65rem; text-decoration: none; color: var(--ink); }
.cal__item time { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 4rem; background: var(--paper); border-radius: 12px; }
.cal__item.is-now time { background: var(--red); color: #fff; }
.cal__day { font: 800 1.8rem/1 var(--display); font-stretch: 80%; }
.cal__wd { font-size: .78rem; font-weight: 600; }
.cal__text { display: flex; flex-direction: column; }
.cal__text strong { font: 800 1.2rem/1.15 var(--display); font-stretch: 88%; }
.cal__text span { color: var(--muted); font-size: .88rem; }
.cal__item:active { background: var(--brand-tint); }
.camp-head { margin-bottom: 1rem; }
.camp-head img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--r-md); margin-bottom: .75rem; }
.camp-head__when { font-weight: 700; color: var(--red-deep); font-size: .9rem; margin-bottom: .25rem; }
.camp-head h2 { font-size: 1.9rem; }

/* ===== Rodapé ===== */
.foot { max-width: 1120px; margin: 2.25rem auto 0; padding: 1.25rem 1rem 1.5rem; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.foot p { margin: 0 0 .4rem; }
.foot strong { color: var(--ink); }

/* ===== Entrada e cadastro ===== */
.no-tabs { padding-bottom: 0; }
/* telas de entrada: o que aparece acima da página (barra do navegador, área do relógio, ao puxar para baixo) fica azul
   como o topo, sem faixa cinza; e dois toques seguidos não dão zoom */
html.is-gate { background: #1D4596; touch-action: manipulation; }
html.is-gate body { min-height: 100svh; }
.no-tabs .top { display: none; }
.gate { min-height: 100svh; }
.gate__top {
  text-align: center; padding: calc(2rem + env(safe-area-inset-top, 0px)) 1.25rem 5.5rem;
  /* foto das prateleiras com uma camada azul por cima, para o logo e o título continuarem legíveis */
  background: linear-gradient(180deg, rgba(23, 78, 166, .35), rgba(14, 52, 115, .8)), url("../img/fundo-prateleiras.webp") center / cover no-repeat, var(--brand);
  color: #fff; border-radius: 0 0 28px 28px;
}
.gate__top > * { max-width: 440px; margin-left: auto; margin-right: auto; }
.gate__logo { display: block; width: min(210px, 58vw); height: auto; margin: 0 auto 1.4rem; padding: .7rem 1rem; background: #fff; border-radius: 18px; box-sizing: content-box; }
.gate__top h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
.gate__top p { color: #D3DFF5; font-size: 1.02rem; margin: .5rem auto 0; }
.gate__body { max-width: 480px; margin: -4rem auto 0; padding: 0 1.1rem 3rem; position: relative; }
.gate__form { display: grid; gap: .35rem; background: var(--card); border-radius: var(--r-lg); padding: 1.4rem 1.25rem 1.3rem; margin-bottom: 1.1rem; box-shadow: var(--lift); }
.gate__form label { font-weight: 700; margin-top: .75rem; }
.gate__form label:first-of-type { margin-top: 0; }
.gate__form input {
  width: 100%; min-height: 52px; padding: .8rem .95rem; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink); font: 500 16px/1.4 var(--body); box-shadow: inset 0 0 0 1.5px transparent;
}
.gate__form input:focus-visible { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 4px rgba(29, 79, 168, .15); }
.gate__form input[aria-invalid] { box-shadow: inset 0 0 0 2px var(--red); background: #FFF5F5; }
.gate__form .btn { margin-top: 1.1rem; min-height: 54px; font-size: 1.08rem; background: var(--yellow); color: var(--ink); font-weight: 800; }
.gate__unit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.gate__unit span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.gate__unit strong { font: 800 1.05rem/1.1 var(--display); font-stretch: 88%; text-align: right; }
.gate__help { color: var(--muted); font-size: .86rem; margin: .1rem 0 0; }
/* manter conectado */
.gate__form label.keep { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem; font-weight: 700; cursor: pointer; }
.gate__form .keep input { width: 22px; height: 22px; min-height: 0; padding: 0; margin: 1px 0 0; flex: none; accent-color: var(--brand); background: none; box-shadow: none; }
.keep span { display: flex; flex-direction: column; gap: .1rem; }
.keep small { color: var(--muted); font-weight: 500; font-size: .84rem; }
/* esqueci a senha */
.gate__forgot { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--brand-tint); color: var(--ink); font-size: .92rem; line-height: 1.4; text-align: center; }
.gate__forgot strong { display: block; }
.gate__err { color: var(--red); font-weight: 600; font-size: .9rem; margin: .1rem 0 .3rem; }
.gate__err--box { background: #FFE3E5; border-radius: 14px; padding: .85rem 1rem; margin-bottom: .75rem; box-shadow: var(--lift); }
.gate__alt { margin: 0 0 .9rem; font-size: 1.02rem; text-align: center; }
.gate__alt a { font-weight: 700; }
.gate__body > .gate__help { text-align: center; max-width: 40ch; margin: 0 auto; }
.gate__body > .gate__alt:first-child { margin-top: 5rem; }

/* senha com botão Mostrar */
.pass { position: relative; }
.pass input { padding-right: 5.6rem; }
.pass__toggle {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); min-height: 44px; padding: 0 .85rem;
  border: 0; border-radius: 10px; background: none; color: var(--brand); font: 700 .92rem/1 var(--body); cursor: pointer;
}
.pass__toggle:active { background: var(--line); }

/* ===== Encarte em tela cheia ===== */
.viewer { background: #0B1830; padding-bottom: 0; min-height: 100svh; }
.viewer__bar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: calc(.5rem + env(safe-area-inset-top, 0px)) .75rem .5rem; background: rgba(11, 24, 48, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
}
.viewer__close {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 1rem 0 .8rem; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none; font: 700 1rem/1 var(--body);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.viewer__close:active { background: var(--line); }
.viewer__count { color: #C9D6EE; font-weight: 600; font-size: .92rem; }
.viewer__page { padding: .5rem 0 1rem; }
.viewer__page img { width: 100%; max-width: 1000px; height: auto; margin: 0 auto; background: #fff; touch-action: pan-y pinch-zoom; }
.viewer__hint { margin: 0 auto .6rem; padding: 0 .75rem; text-align: center; color: #8FA0BF; font-size: .85rem; }
.viewer__nav { display: flex; justify-content: space-between; gap: .75rem; padding: 0 .75rem calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: 1000px; margin: 0 auto; }
.viewer__nav .btn { background: #fff; color: var(--ink); }
.viewer__nav .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }

/* ===== Movimento ===== */
/* um único momento: a capa do encarte "cai" no cartão ao abrir o início */
@media (prefers-reduced-motion: no-preference) {
  .encarte__cover { animation: drop 650ms 120ms var(--ease) both; }
  @keyframes drop { from { opacity: 0; transform: rotate(14deg) translate(30px, -16px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tabs__ic, .tile, .encarte__btn, .flyer__dots span { transition: none; }
}

/* ===== Mouse ===== */
@media (hover: hover) and (pointer: fine) {
  .top__nav a:hover { background: var(--paper); color: var(--ink); }
  .top__nav a[aria-current]:hover { background: var(--ink); color: #fff; }
  .top__out button:hover { color: var(--ink); }
  .chips a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .chips a[aria-current]:hover { box-shadow: none; }
  .btn:hover { background: var(--brand); }
  .btn--ghost:hover { background: var(--card); color: var(--ink); }
  .encarte:hover .encarte__btn { background: #FFE04D; }
  a.tile:hover, .rcard:hover, .cal__item:hover, .dates a:hover { background: var(--brand-tint); }
  .today:hover { background: var(--red-deep); }
}

/* ===== Telas maiores ===== */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rgrid, .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail .offer { flex-basis: 200px; }
  .encarte { grid-template-columns: 1fr 150px; min-height: 210px; }
  .encarte__cover { width: 150px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .tabs { display: none; }
  .top { padding-left: 2rem; padding-right: 2rem; }
  .top__nav { display: flex; }
  .top__out { margin-left: .5rem; }
  .hero__in { padding: 3.25rem 2rem 3rem; }
  .wrap, .head, .go, .tiles, .foot { padding-left: 2rem; padding-right: 2rem; }
  .head { padding-top: 2.5rem; }
  .month { padding: 0 2rem; margin-top: 1.5rem; }
  .hero--hub, .today { margin-left: max(2rem, calc((100vw - 1056px) / 2)); margin-right: max(2rem, calc((100vw - 1056px) / 2)); }
  .go__hi { font-size: 2.2rem; }
  .encarte { max-width: 720px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe__cols { grid-template-columns: 1fr 1.5fr; gap: 3rem; }
  .chips { flex-wrap: wrap; overflow: visible; }
  .rail, .dates { overflow: visible; flex-wrap: wrap; margin: 0; padding: 0 0 .5rem; }
  .rail .offer { flex: 0 0 calc(20% - .56rem); max-width: none; }
  .flyer__pages { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .flyer__pages--multi { display: grid; overflow: visible; margin: 0; padding: 0; }
  .flyer__dots { display: none; }
  .gate__top { padding-top: 4rem; }
  .tag__int { font-size: 2.7rem; }
}

/* Página do encarte: só o atual; o aviso explica que os outros ficam na tela cheia */
.flyer__more { display: flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .7rem .9rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .95rem; }
.flyer__more .ico { width: 20px; height: 20px; color: var(--brand); flex: none; }
/* ações no fim da página de campanha */
.camp-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ===== Revisão de UI/UX e LGPD ===== */
.top__brand { min-height: 44px; }
@media (max-width: 420px) { .top__brand span { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
.notify__text a { color: var(--brand); font-weight: 600; }
.foot__alc { font-weight: 700; color: var(--ink); }

/* rodapé legal */
.legal-foot { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.45; text-align: center; }
.legal-foot p { margin: 0 0 .35rem; }
.legal-foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 1.1rem; }
.legal-foot__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot .legal-foot { text-align: left; }
.foot .legal-foot__links { justify-content: flex-start; }

/* aceite no cadastro */
.gate__form .accept { display: grid; gap: .55rem; margin-top: 1rem; padding: .85rem .9rem; border-radius: 14px; background: var(--brand-tint); }
.accept__row { display: flex; align-items: flex-start; gap: .7rem; }
.gate__form .accept__row input { flex: none; width: 24px; height: 24px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--brand); box-shadow: none; }
.gate__form .accept__row label { margin: 0; font-weight: 500; font-size: .95rem; line-height: 1.4; }
.accept__row a { font-weight: 700; }
.accept .gate__err { margin: 0 0 0 calc(24px + .7rem); }

/* aviso para quem já tinha conta */
.consent { max-width: calc(1120px - 2rem); margin: 1rem 1rem 0; padding: 1rem; border-radius: var(--r-md); background: #FFF4BF; color: #4A3C00; }
@media (min-width: 1152px) { .consent { margin-inline: auto; } }
.consent h2 { margin: 0 0 .3rem; font-size: 1.2rem; }
.consent p { margin: 0 0 .7rem; font-size: .95rem; }
.consent a { color: inherit; font-weight: 700; }
.consent form { display: grid; gap: .7rem; }
.consent__check { display: flex; align-items: flex-start; gap: .65rem; font-weight: 600; }
.consent__check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--brand); }

/* Política e Termos */
.legal { max-width: 760px; margin: 0 auto; padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.1rem 2.5rem; }
.legal__back { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.legal__back .ico { transform: rotate(180deg); }
.legal h1 { font-size: clamp(2.1rem, 9vw, 3rem); margin-top: .35rem; }
.legal__date { margin: .4rem 0 1rem; color: var(--muted); font-size: .9rem; }
.legal__lead { font-size: 1.08rem; }
.legal h2 { margin: 1.8rem 0 .6rem; font-size: 1.4rem; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: .75rem; }
.legal li { margin-bottom: .35rem; }
.legal__box { margin: 1rem 0; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--brand-tint); }
.legal__box h2 { margin-top: 0; }
.legal__box ul { margin: 0; }
.legal__table { overflow-x: auto; margin-bottom: 1rem; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.legal table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.legal th, .legal td { padding: .7rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal tr:last-child td { border-bottom: 0; }
.legal th { font-weight: 700; background: var(--paper); }
.legal code { font-size: .85rem; }

/* Meus dados */
.acct { max-width: 620px; margin: 0 auto; padding: .25rem 1rem 1rem; display: grid; gap: .9rem; }
.acct__ok { margin: 0 0 .75rem; padding: .8rem 1rem; border-radius: 12px; background: #DDF3E4; color: #125C32; font-weight: 600; }
.acct .acct__ok { margin: 0; }
.acct__card { padding: 1.1rem; border-radius: var(--r-md); background: var(--card); box-shadow: var(--lift); }
.acct__card h2 { font-size: 1.35rem; }
.acct__meta { color: var(--muted); font-size: .92rem; }
.acct__form { display: grid; gap: .35rem; }
.acct__form > label:not(.keep) { margin-top: .6rem; font-weight: 700; }
.acct__form input:not([type=checkbox]) { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); font: 500 16px/1.4 var(--body); }
.acct__form input[aria-invalid] { box-shadow: inset 0 0 0 2px var(--red); }
.acct__form .btn { margin-top: .8rem; }
.acct__form label.keep { display: flex; align-items: flex-start; gap: .7rem; font-weight: 700; }
.acct__form .keep input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--brand); }
.acct__links { display: grid; gap: .55rem; margin: .4rem 0 0; }
.acct__out { margin: 0; }
.acct__danger summary { min-height: 44px; display: flex; align-items: center; color: var(--red-deep); font-weight: 700; cursor: pointer; }
.acct__danger p { margin-top: .5rem; color: var(--muted); font-size: .94rem; }
.btn--danger { background: var(--red-deep); color: #fff; }
.btn--danger:active { background: #7F0E15; }
/* ===== Minha conta e Meu perfil ===== */

/* avisos dentro de Meu perfil */
.acct .notify { max-width: none; margin: 0; }

/* menu da conta no topo: abre na mesma página, só com as duas opções */
.acctdd { position: relative; margin-left: auto; flex: none; }
.acctdd summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; list-style: none; }
.acctdd summary::-webkit-details-marker { display: none; }
.acctdd__face { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 .9rem/1 var(--body); transition: box-shadow 140ms var(--ease); }
.acctdd[open] .acctdd__face { box-shadow: 0 0 0 3px var(--brand-tint); }
.acctdd__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; width: 216px; padding: .35rem; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 14px 32px -12px rgba(15, 35, 64, .38); transform-origin: top right; animation: acctdd-in 150ms var(--ease); }
@keyframes acctdd-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .acctdd__menu { animation: none; } }
.acctdd__menu a, .acctdd__menu button { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 48px; padding: 0 .75rem; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 .98rem var(--body); text-align: left; text-decoration: none; cursor: pointer; }
.acctdd__menu a[aria-current] { color: var(--brand); }
.acctdd__menu a:active, .acctdd__menu button:active { background: var(--paper); }
.acctdd__menu form { margin: .25rem 0 0; padding-top: .25rem; border-top: 1px solid var(--line); }
.acctdd__menu button { color: var(--red-deep); }
@media (hover: hover) and (pointer: fine) { .acctdd__menu a:hover, .acctdd__menu button:hover { background: var(--paper); } }
@media (min-width: 900px) { .acctdd { margin-left: .5rem; } }

/* confirmação de e-mail */
.gate__form .code-input { min-height: 64px; text-align: center; font-size: 30px; font-weight: 800; letter-spacing: .35em; padding-left: .35em; }
.gate__resend { margin: 0 0 1rem; text-align: center; color: var(--muted); font-size: .95rem; }
.gate__resend p { margin: 0; }
.gate__resend button { min-height: 44px; padding: 0 .2rem; border: 0; background: none; color: var(--brand); font: 700 .95rem var(--body); text-decoration: underline; cursor: pointer; }
.gate__alt--first { margin-top: 5rem; }

/* ===== Encartes lado a lado: arrastar para o lado na própria página ===== */
.wrap.flyer { padding-top: .75rem; }
.flyer__info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .75rem; margin: 0 0 .85rem; min-height: 2.75rem; }
.flyer__info h2 { margin: 0; font-size: 1.4rem; line-height: 1.15; }
.flyer__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.flyer__meta [hidden] { display: none; }
.flyer__page { display: inline-flex; align-items: center; padding: .3rem .7rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .85rem; }
.flyer__stage { position: relative; }
.flyer__track { display: flex; gap: .65rem; align-items: flex-start; padding-bottom: .6rem; }
.flyer__track--multi {
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  margin: 0 -1rem; padding: 0 1rem .6rem; scroll-padding-inline: 1rem;
}
.flyer__track--multi::-webkit-scrollbar { display: none; }
.flyer__track:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: var(--r-md); }
.flyer__card {
  position: relative; flex: 0 0 100%; display: block; border-radius: var(--r-md); overflow: hidden;
  background: #fff; box-shadow: var(--lift); -webkit-touch-callout: none;
}
.flyer__track--multi .flyer__card { flex-basis: 86%; scroll-snap-align: start; scroll-snap-stop: always; }
.flyer__card img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
/* o encarte ao lado fica mais apagado: mostra que tem mais, sem disputar atenção */
.flyer__track--multi .flyer__card:not(.is-on) { opacity: .5; }
.flyer__card { transition: opacity 220ms var(--ease); }
.flyer__arrow { display: none; }
@media (min-width: 720px) {
  .flyer__track--multi { margin: 0; padding: 0 0 .6rem; scroll-padding-inline: 0; }
  .flyer__track--multi .flyer__card { flex-basis: min(440px, 60%); }
  .flyer__card { flex-basis: min(560px, 100%); }
}
@media (hover: hover) and (pointer: fine) {
  .flyer__arrow {
    position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px;
    border: 0; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 6px 20px -6px rgba(15, 35, 64, .45); cursor: pointer;
  }
  .flyer__arrow--prev { left: .6rem; }
  .flyer__arrow--next { right: .6rem; }
  .flyer__arrow:disabled { display: none; }
  .flyer__arrow:hover { color: var(--brand); }
}
@media (prefers-reduced-motion: reduce) { .flyer__card { transition: none; } }

/* ===== Instalar o app na tela do celular ===== */
.install {
  max-width: calc(1120px - 2rem); margin: 1rem 1rem 0; padding: 1rem;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem .9rem; align-items: center;
  background: var(--card); border-radius: var(--r-md); box-shadow: var(--lift); color: var(--ink);
}
@media (min-width: 1152px) { .install { margin-inline: auto; } }
.install[hidden] { display: none; }
.install__ic { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.install__text h2 { margin: 0 0 .2rem; font-size: 1.08rem; line-height: 1.2; }
.install__text p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.install__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; }
.install__actions .notify__btn { flex: 1; }
.install__later { min-height: 44px; padding: 0 1rem; border: 0; background: none; color: var(--muted); font: 700 .95rem/1 var(--body); cursor: pointer; }

/* passo a passo: folha que sobe de baixo */
.howto {
  width: 100%; max-width: 520px; margin: auto auto 0; padding: .6rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border: 0; border-radius: 22px 22px 0 0; background: var(--card); color: var(--ink);
  box-shadow: 0 -10px 40px -12px rgba(15, 35, 64, .4);
}
.howto[open] { animation: howto-in 260ms var(--ease); }
.howto::backdrop { background: rgba(12, 22, 40, .45); }
@keyframes howto-in { from { transform: translateY(100%); } }
.howto__grab { display: block; width: 40px; height: 5px; margin: 0 auto .9rem; border-radius: 999px; background: var(--line); }
.howto h2 { margin: 0 0 .9rem; font-size: 1.35rem; }
.howto [hidden] { display: none !important; }
.howto__steps { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .85rem; }
.howto__steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .75rem; align-items: start; font-size: 1rem; line-height: 1.4; }
.howto__steps small { display: block; margin-top: .2rem; color: var(--muted); font-size: .85rem; }
.howto__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); font: 800 .95rem/1 var(--body); }
.howto__ico { display: inline-block; vertical-align: -4px; color: var(--brand); }
.howto__note { margin: 0 0 1rem; padding: .75rem .9rem; border-radius: 12px; background: #FFF4BF; color: #4A3C00; font-size: .92rem; line-height: 1.4; }
.howto__ok { width: 100%; }
@media (prefers-reduced-motion: reduce) { .howto[open] { animation: none; } }
@media (min-width: 720px) { .howto { margin: auto; border-radius: 22px; } }
