/* ============================================================
   PÁGINAS INTERNAS — Multi Market
   ============================================================ */

/* ---- Faixa de título ---- */
.pg-hero {
  background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 68%, var(--red-ink) 100%);
  color: #fff; padding-block: clamp(28px, 4vw, 52px) clamp(32px, 4.5vw, 60px);
  position: relative; overflow: hidden;
}
.pg-hero::after {
  content: ""; position: absolute; right: -6%; top: -60%; width: 46%; height: 220%;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 62%); pointer-events: none;
}
.pg-hero--escuro { background: linear-gradient(150deg, var(--ink) 0%, #2A2421 100%); }
.pg-hero > .container { position: relative; z-index: 2; }
.pg-hero__title { font-size: clamp(30px, 4.4vw, 52px); font-weight: 900; margin-top: 12px; color: #fff; }
.pg-hero__sub { margin-top: 14px; font-size: clamp(15px, 1.7vw, 18px); color: rgba(255,255,255,.85); max-width: 60ch; line-height: 1.55; }
.pg-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.pg-crumb a:hover { color: var(--yellow); text-decoration: underline; }
.pg-crumb [aria-current] { color: #fff; font-weight: 700; }

.pg-secao { padding-block: clamp(40px, 6vw, 76px); }
.pg-nota {
  display: flex; gap: 10px; align-items: flex-start; background: var(--cloud);
  border-left: 4px solid var(--yellow); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 14px 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2);
}

/* ============================================================
   SOBRE
   ============================================================ */
.sobre-intro { display: grid; grid-template-columns: .9fr 1.15fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.sobre-intro p + p { margin-top: 16px; }
.sobre-intro .section-sub { font-size: 17px; }
.sobre-media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); width: 100%; height: auto; }

.sobre-numeros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 60px); }
.sobre-num {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; text-align: center; box-shadow: var(--sh-sm);
}
.sobre-num strong { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 900; color: var(--red); line-height: 1; }
.sobre-num span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }

.sobre-valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sobre-valor { background: var(--cloud); border-radius: var(--r-lg); padding: 30px 26px; }
.sobre-valor h3 { font-size: 20px; margin-bottom: 10px; }
.sobre-valor p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.sobre-valor__ic { width: 52px; height: 52px; border-radius: 15px; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }

.linha-tempo { position: relative; margin-top: 40px; padding-left: 30px; border-left: 3px solid var(--line); display: flex; flex-direction: column; gap: 30px; }
.linha-tempo li { position: relative; list-style: none; }
.linha-tempo li::before {
  content: ""; position: absolute; left: -39px; top: 4px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--yellow); border: 3px solid var(--red);
}
.linha-tempo strong { font-family: var(--font-display); font-size: 21px; color: var(--red); display: block; }
.linha-tempo p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 62ch; }

/* ============================================================
   ENCARTES — visualizador de PDF
   ============================================================ */
.enc-barra {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding: 16px 20px; background: var(--cloud);
  border-radius: var(--r-md); margin-bottom: 22px;
}
.enc-barra__grupo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 100%; }
.enc-barra__grupo .btn { white-space: normal; text-align: left; }
.enc-pag { font-family: var(--font-display); font-weight: 800; font-size: 15px; min-width: 92px; text-align: center; }
.enc-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink); display: grid; place-items: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.enc-btn:hover:not(:disabled) { background: var(--red); color: #fff; border-color: var(--red); }
.enc-btn:disabled { opacity: .38; cursor: not-allowed; }

.enc-palco {
  background: var(--ink); border-radius: var(--r-lg); padding: clamp(14px, 2.4vw, 28px);
  display: grid; place-items: center; min-height: 420px; position: relative; overflow: hidden;
}
.enc-folhas { display: flex; gap: 14px; align-items: flex-start; justify-content: center; width: 100%; }
.enc-folha {
  background: #fff; border-radius: 6px; box-shadow: var(--sh-lg); overflow: hidden;
  max-width: 100%; animation: enc-vira .45s ease both;
}
.enc-folha canvas { display: block; width: 100%; height: auto; }

/* Modo espelhado: janela deslizante de 2 folhas, cada uma sempre com
   metade do palco. Andar de página troca só uma das folhas. */
.enc-folhas--duplo { justify-content: center; }
.enc-folhas--duplo .enc-folha { flex: 0 0 calc(50% - 7px); min-width: 0; max-width: calc(50% - 7px); }
@keyframes enc-vira { from { opacity: 0; transform: translateX(18px) rotateY(-6deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .enc-folha { animation: none; } }

/* Barra de carregamento do PDF */
.enc-load { width: min(460px, 88%); text-align: center; color: #fff; }
.enc-load__txt { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.enc-load__trilho { height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.enc-load__barra { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--yellow-deep)); transition: width .25s ease; }
.enc-load__pct { margin-top: 10px; font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--yellow); }
.enc-load__peso { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.enc-erro { color: #fff; text-align: center; max-width: 46ch; }
.enc-erro strong { display: block; font-size: 19px; margin-bottom: 8px; }

.enc-miniaturas { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.enc-mini {
  border: 3px solid transparent; border-radius: 8px; overflow: hidden; padding: 0;
  background: var(--cloud); width: 62px; height: 86px; transition: border-color .18s ease, transform .18s ease;
}
.enc-mini canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.enc-mini.is-ativa { border-color: var(--red); transform: translateY(-3px); }

/* ============================================================
   SAC — formulário
   ============================================================ */
.sac-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 4.5vw, 56px); align-items: start; }
.sac-form { display: flex; flex-direction: column; gap: 18px; }
.sac-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo > label { font-size: 14px; font-weight: 700; color: var(--ink); }
.campo > label span { color: var(--red); }
.campo input, .campo select, .campo textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease; width: 100%;
}
.campo textarea { resize: vertical; min-height: 132px; line-height: 1.55; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.12);
}
.campo--erro input, .campo--erro select, .campo--erro textarea { border-color: var(--red); background: #FFF7F7; }
.campo__erro { font-size: 13px; color: var(--red-dark); font-weight: 600; }
.campo__dica { font-size: 12.5px; color: var(--ink-3); }
.campo__contador { font-size: 12px; color: var(--ink-3); text-align: right; }

.sac-assuntos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sac-assunto {
  display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px; cursor: pointer; background: #fff;
  font-size: 14.5px; font-weight: 600; transition: all .18s ease;
}
.sac-assunto:hover { border-color: var(--red); }
.sac-assunto input { accent-color: var(--red); width: 17px; height: 17px; flex: 0 0 auto; }
.sac-assunto.is-ativo { border-color: var(--red); background: #FFF5F5; color: var(--red-dark); }

.sac-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.sac-consent input { accent-color: var(--red); width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.sac-consent a { font-weight: 700; text-decoration: underline; }

.sac-envio { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sac-ok {
  background: #F1FAF3; border: 1.5px solid #BEE5C8; border-radius: var(--r-lg);
  padding: 30px 28px; text-align: center;
}
.sac-ok__ic { width: 58px; height: 58px; border-radius: 50%; background: #138A3E; color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px; font-weight: 900; }
.sac-ok h3 { font-size: 22px; margin-bottom: 8px; }
.sac-ok p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.sac-protocolo { display: inline-block; margin-top: 16px; background: #fff; border: 1px dashed #138A3E; border-radius: var(--r-sm); padding: 10px 18px; font-family: var(--font-display); font-weight: 800; }

.sac-lado { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.sac-card { background: var(--cloud); border-radius: var(--r-lg); padding: 24px 22px; }
.sac-card h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.sac-card p, .sac-card li { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.sac-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.sac-card__ic { width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.sac-card--zap { background: #E9F9EF; }
.sac-card--zap .sac-card__ic { background: #25D366; }

/* ============================================================
   LOJAS — busca e mapa
   ============================================================ */
.lojas-wrap { display: grid; grid-template-columns: minmax(340px, 420px) 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }

.lojas-painel { display: flex; flex-direction: column; background: var(--paper); min-width: 0; max-height: 78vh; }
.lojas-busca { padding: 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.lojas-campo { position: relative; display: flex; align-items: center; }
.lojas-campo svg { position: absolute; left: 15px; color: var(--ink-3); pointer-events: none; }
.lojas-campo input {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 14px 44px 14px 44px; font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.lojas-campo input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,6,19,.12); }
.lojas-campo__limpar { position: absolute; right: 10px; width: 28px; height: 28px; border-radius: 50%; border: none; background: var(--cloud-2); color: var(--ink-2); display: grid; place-items: center; }
.lojas-campo__limpar:hover { background: var(--red); color: #fff; }

.lojas-geo {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  background: var(--ink); color: #fff; border: none; border-radius: var(--r-pill);
  padding: 13px 18px; font-weight: 700; font-size: 14.5px; font-family: var(--font-display);
  transition: filter .18s ease;
}
.lojas-geo:hover:not(:disabled) { filter: brightness(1.18); }
.lojas-geo:disabled { opacity: .6; }
.lojas-geo--ativo { background: #138A3E; }

.lojas-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; }
.lojas-chip {
  flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-pill);
  padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
  transition: all .18s ease;
}
.lojas-chip:hover { border-color: var(--red); color: var(--red); }
.lojas-chip.is-ativo { background: var(--red); border-color: var(--red); color: #fff; }

.lojas-status { padding: 11px 20px; font-size: 13px; color: var(--ink-2); background: var(--cloud); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.lojas-status strong { color: var(--ink); }
.lojas-status--erro { background: #FFF5F5; color: var(--red-dark); }

.lojas-lista { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.loja-item { border-bottom: 1px solid var(--line); }
.loja-item__botao { width: 100%; text-align: left; background: #fff; border: none; padding: 17px 20px; display: block; transition: background .15s ease; border-left: 4px solid transparent; }
.loja-item__botao:hover { background: var(--cloud); }
.loja-item.is-ativa .loja-item__botao { background: #FFF5F5; border-left-color: var(--red); }
.loja-item__topo { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; }
.loja-item__nome { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; line-height: 1.2; }
.loja-item__dist { flex: 0 0 auto; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--red); border-radius: 999px; padding: 3px 10px; }
.loja-item__end { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 5px; line-height: 1.45; }
.loja-item__meta { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 3px; }
.loja-item__horario { display: flex; align-items: flex-start; gap: 6px; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; line-height: 1.4; }
.loja-item__horario svg { flex: 0 0 auto; margin-top: 2px; color: var(--ink-3); }

.loja-delivery { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.loja-delivery__ic {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: #C7CCD1; flex: 0 0 auto; transition: transform .15s ease;
}
.loja-delivery__ic--ativo.loja-delivery__ic--zap { background: #25D366; }
.loja-delivery__ic--ativo.loja-delivery__ic--n99 { background: #FFD400; color: #1A1A1A; }
.loja-delivery__ic--ativo.loja-delivery__ic--ifood { background: #EA1D2C; }
.loja-delivery__ic--ativo.loja-delivery__ic--ecom { background: #DC2115; color: #FEC905; }
a.loja-delivery__ic--ativo:hover { transform: scale(1.08); }
.loja-delivery__ic--n99 { font-size: 9.5px; font-weight: 800; letter-spacing: -.3px; }

.loja-item__acoes { display: flex; gap: 8px; margin-top: 11px; flex-wrap: wrap; }
.loja-acao {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; color: var(--ink-2);
  transition: all .16s ease; background: #fff;
}
.loja-acao:hover { border-color: var(--red); color: var(--red); }
.loja-acao--zap:hover { border-color: #25D366; color: #128C3E; }
.loja-aprox { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11.5px; color: #9A6B00; background: #FFF8E1; border-radius: 999px; padding: 3px 9px; font-weight: 700; }

.lojas-vazio { padding: 40px 24px; text-align: center; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

.lojas-mapa { min-height: 78vh; background: var(--cloud-2); }
.lojas-mapa .leaflet-container { height: 100%; width: 100%; font-family: var(--font-body); }

/* pino vermelho */
.pino { position: relative; width: 30px; height: 40px; }
.pino svg { display: block; filter: drop-shadow(0 3px 5px rgba(0,0,0,.35)); }
.pino--ativo { z-index: 900 !important; animation: pino-pula .45s ease; }
@keyframes pino-pula { 0% { transform: translateY(0); } 40% { transform: translateY(-11px); } 100% { transform: translateY(0); } }
.pino-eu { width: 20px; height: 20px; border-radius: 50%; background: #1A73E8; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(26,115,232,.28); }

.leaflet-popup-content-wrapper { border-radius: var(--r-md); }
.leaflet-popup-content { margin: 14px 16px; font-family: var(--font-body); min-width: 210px; }
.popup-nome { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; margin-bottom: 4px; }
.popup-end { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.popup-horario { margin-top: 6px; }
.popup-aprox { margin-top: 6px; }
.popup-delivery { margin-top: 10px; }
.popup-acoes { display: flex; gap: 8px; margin-top: 10px; }
.popup-acoes a { font-size: 12.5px; font-weight: 700; color: var(--red); text-decoration: underline; }

/* ============================================================
   LEGAL — Termos de Uso e Política de Privacidade (uma página só)
   ============================================================ */
.tp { display: grid; grid-template-columns: minmax(230px, 290px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tp-doc { max-width: 72ch; min-width: 0; }
.tp [id] { scroll-margin-top: 190px; }
.legal { max-width: 72ch; }
.legal__meta { font-size: 13px; color: var(--ink-3); margin-bottom: 26px; }
.legal a, .tp-item a { font-weight: 700; text-decoration: underline; color: var(--red); overflow-wrap: anywhere; }
.legal a:focus-visible, .tp a:focus-visible, .tp-indice__botao:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 3px;
}

/* Índice: coluna fixa no desktop, bloco recolhível no celular */
.tp-indice { position: sticky; top: 150px; align-self: start; max-height: calc(100vh - 170px); overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); padding: 18px 18px 14px; }
.tp-indice__botao { display: none; }
.tp-indice__titulo { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 18px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 8px; }
.tp-indice__parte { display: block; margin-top: 14px; font-weight: 800; font-size: 14.5px; color: var(--red-dark); text-decoration: none; }
.tp-indice__parte:hover { text-decoration: underline; }
.tp-indice__lista { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-indice__lista a { display: block; padding: 5px 6px; border-radius: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.tp-indice__lista a:hover { background: var(--cloud); color: var(--ink); }
.tp-indice__lista a span { font-weight: 800; color: var(--red); margin-right: 2px; }

/* Cabeçalho de cada parte */
.tp-parte { margin: 8px 0 22px; padding: 16px 0 0; border-top: 4px solid var(--red); }
.tp-clausula + .tp-parte { margin-top: 56px; }
.tp-parte h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.15; margin: 0; }
.tp-parte__rotulo { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 4px; }

/* Cláusulas e itens */
.tp-clausula + .tp-clausula { margin-top: 38px; }
.tp-clausula h3 { font-size: 20px; line-height: 1.3; margin: 0 0 14px; color: var(--ink); }
.tp-num { color: var(--red); font-weight: 800; margin-right: 4px; }
.tp-itens { display: flex; flex-direction: column; gap: 14px; }
.tp-item { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 0 10px; }
.tp-item__num { font-weight: 800; color: var(--red-dark); font-size: 15.5px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.tp-item p, .tp-clausula > p, .legal p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.tp-clausula > p + p, .legal p + p { margin-top: 12px; }
.tp-intro { margin-bottom: 30px; }
.tp-alineas { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--line); }
.tp-alineas li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.tp-alinea__num { font-weight: 800; color: var(--red-dark); }
.tp-clausula ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.tp-clausula li { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

/* Voltar ao topo */
.tp-topo { position: fixed; left: 16px; bottom: 18px; z-index: 900; display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
  text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .2s, transform .2s; }
.tp-topo.is-visivel { opacity: 1; transform: none; pointer-events: auto; }
.tp-topo:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tp-topo { transition: none; } }

@media (max-width: 900px) {
  .tp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tp [id] { scroll-margin-top: 156px; }
  .tp-indice { position: static; max-height: none; overflow: visible; padding: 0; }
  .tp-indice__botao { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px;
    background: none; border: 0; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink); cursor: pointer; }
  .tp-indice__seta { font-size: 22px; color: var(--red); }
  .tp-indice__corpo { display: none; padding: 0 16px 14px; border-top: 1px solid var(--line); }
  .tp-indice__corpo.is-aberto { display: block; }
  .tp-indice__titulo { display: none; }
  .tp-indice__lista a { padding: 9px 6px; }
}
@media (max-width: 480px) {
  .tp-item { grid-template-columns: 2.7em minmax(0, 1fr); gap: 0 6px; }
}

@media print {
  .mm-header, .mm-footer, .tp-indice, .tp-topo, .pg-crumb { display: none !important; }
  .tp { display: block; padding-block: 0; }
  .pg-hero { background: none !important; color: #000 !important; padding-block: 0 12px; }
  .pg-hero * { color: #000 !important; }
  .pg-hero::after { display: none; }
  .tp-doc, .legal { max-width: none; }
  .tp-clausula, .tp-item { break-inside: avoid; }
  .tp-parte { break-after: avoid; }
  .tp-item p, .legal p, .tp-clausula li { color: #000; font-size: 11pt; }
  .legal a, .tp-item a { color: #000; text-decoration: none; }
}

/* ============================================================
   BLOG — Dicas e Receitas
   ============================================================ */
.blog-filtros { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-filtro {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 9px 20px; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--ink-2); cursor: pointer; transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.blog-filtro:hover { border-color: var(--red); color: var(--red); }
.blog-filtro.is-ativo { background: var(--red); border-color: var(--red); color: #fff; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 30px;
}
.blog-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.blog-card:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.blog-card .blog-card__title { transition: color .18s ease; }
.blog-card:hover .blog-card__title { color: var(--red); }
.blog-card__media {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center;
  overflow: hidden;
}
.blog-card__emoji { font-size: 48px; line-height: 1; }
.blog-card__foto {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
  display: block;
}
.blog-card__tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  padding: 5px 11px; border-radius: 999px;
}
.blog-card__tag--receita { background: var(--red); color: #fff; }
.blog-card__tag--dica { background: var(--yellow); color: var(--ink); }
.blog-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__title { font-size: 18px; line-height: 1.3; }
.blog-card__resumo { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.blog-card__meta { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }

.blog-carregar { display: flex; justify-content: center; margin-top: 30px; }

/* ---- Página interna de post (receita / dica) ---- */
.blog-post { max-width: 760px; margin-inline: auto; }
.blog-post__capa {
  height: 220px; border-radius: var(--r-lg); display: grid; place-items: center;
  font-size: 92px; line-height: 1; border: 1px solid var(--line);
  overflow: hidden;
}
.blog-post__capa--foto { height: auto; aspect-ratio: 16 / 9; }
.blog-post__capa--foto img {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
  display: block;
}
.blog-post__ficha {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.blog-post__ficha li {
  flex: 1 1 140px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 16px;
  display: flex; flex-direction: column; gap: 3px;
  font-size: 15px; color: var(--ink-2);
}
.blog-post__ficha strong {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-3);
}
.blog-post__corpo { margin-top: 36px; }
.blog-post__corpo h2 {
  font-family: var(--font-display); font-size: 24px; line-height: 1.2;
  margin: 34px 0 14px;
}
.blog-post__corpo h2:first-child { margin-top: 0; }
.blog-post__corpo p {
  font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px;
}
.blog-post__ingredientes, .blog-post__lista {
  margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 9px;
}
.blog-post__ingredientes li, .blog-post__lista li {
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
}
.blog-post__passos {
  margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 14px;
  counter-reset: passo;
}
.blog-post__passos li {
  font-size: 16px; line-height: 1.7; color: var(--ink-2); padding-left: 6px;
}
.blog-post__passos li::marker { font-family: var(--font-display); font-weight: 800; color: var(--red); }
.blog-post__dica {
  margin-top: 26px; background: #FFF7E6; border: 1px solid #F2E2BC;
  border-radius: var(--r-md); padding: 16px 18px;
  font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
}
.blog-post__voltar { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.blog-post__voltar .btn svg { margin-right: 4px; }

@media (max-width: 640px) {
  .blog-post__capa:not(.blog-post__capa--foto) { height: 160px; font-size: 64px; }
  .blog-post__ficha li { flex-basis: 100%; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-intro { grid-template-columns: 1fr; }
  .sobre-numeros { grid-template-columns: repeat(2, 1fr); }
  .sobre-valores { grid-template-columns: 1fr; }
  .sac-grid { grid-template-columns: 1fr; }
  .sac-lado { position: static; }
  .lojas-wrap { grid-template-columns: 1fr; }
  .lojas-painel { max-height: none; }
  .lojas-lista { max-height: 460px; }
  .lojas-mapa { min-height: 420px; order: -1; }
}

@media (max-width: 640px) {
  .sobre-numeros { grid-template-columns: 1fr; }
  .sac-linha { grid-template-columns: 1fr; }
  .sac-assuntos { grid-template-columns: 1fr; }
  .enc-folhas { flex-direction: column; align-items: center; }
  .sac-envio .btn { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* Ampliação de página do encarte */
.enc-zoom {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,9,8,.93);
  display: grid; place-items: center; padding: 3vh 3vw; cursor: zoom-out;
  overflow: auto; animation: enc-zoom-in .2s ease both;
}
@keyframes enc-zoom-in { from { opacity: 0; } to { opacity: 1; } }
.enc-zoom img { max-width: 100%; height: auto; border-radius: 6px; box-shadow: var(--sh-lg); }
.enc-zoom__fechar {
  position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 19px; z-index: 2;
}
.enc-zoom__fechar:hover { background: var(--red); }

/* ============================================================
   BUSCA — página /busca
   ============================================================ */
.busca-campo {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 18px; max-width: 560px; color: var(--ink-3);
}
.busca-campo input {
  border: 0; outline: 0; background: transparent; flex: 1;
  font-size: 16px; color: var(--ink);
}
.busca-atalhos { margin-top: 28px; }
.busca-atalhos__dica { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.busca-atalhos__grade { display: flex; flex-wrap: wrap; gap: 10px; }
.busca-atalho {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--ink-2); text-decoration: none; transition: border-color .18s ease, color .18s ease;
}
.busca-atalho:hover { border-color: var(--red); color: var(--red); }
.busca-vazio-pg { margin-top: 28px; }
.busca-vazio-pg strong { display: block; font-size: 18px; margin-bottom: 6px; }
.busca-vazio-pg p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.busca-resultados { margin-top: 26px; }
.busca-resumo { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.busca-grupo + .busca-grupo { margin-top: 30px; }
.busca-grupo__tit {
  font-family: var(--font-display); font-size: 20px; margin-bottom: 12px;
}
.busca-grupo__tit span { color: var(--ink-3); font-size: 15px; }
.busca-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.busca-item-pg {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  text-decoration: none; color: inherit; transition: border-color .18s ease, transform .18s ease;
}
.busca-item-pg:hover { border-color: var(--red); transform: translateX(2px); }
.busca-item-pg__tit { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.busca-item-pg__extra { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
