/* ==========================================================================
   Forest — base compartilhada por todas as páginas
   Tokens · tipografia · botões · selos · card de produto · bolinhas · tamanhos ·
   campos · cabeçalho · menus · busca · rodapé · gaveta da sacola · folhas · toasts
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paleta (DA 2.1) */
  --fundo: #F2F2F2;
  --papel: #EAE1DC;
  --superficie: #FAFAF7;
  --foto: #E8E6E1;
  --texto: #25261D;
  --texto-2: rgba(37, 38, 29, .66);
  --texto-3: rgba(37, 38, 29, .45);
  --linha: rgba(37, 38, 29, .12);
  --linha-forte: rgba(37, 38, 29, .24);
  --marca: #20362E;
  --marca-texto: #EAE1DC;
  --mata: #20362E;
  --mata-fundo: #1F3A30;
  --mata-sup: #264336;
  --profundo: #15281F;
  --creme: #DCD7CA;
  --capim: #C2A266;
  --musgo: #5F6F4E;
  --urucum: #A13D2D;
  --courino: #7A4B30;

  /* Tipos */
  --f-display: 'Unbounded', 'Arial Black', sans-serif;
  --f-texto: 'Instrument Sans', 'Segoe UI', Arial, sans-serif;
  --f-serifa: 'IM Fell English', Georgia, serif;

  --t-display-xl: clamp(4.5rem, min(11vw, 20svh), 13rem);
  --t-display-l: clamp(3rem, 7vw, 7.5rem);
  --t-h1: clamp(2.25rem, 4.2vw, 4rem);
  --t-h2: clamp(1.75rem, 3vw, 2.75rem);
  --t-h3: 1.25rem;
  --t-kicker: clamp(1.25rem, 1.8vw, 1.75rem);
  --t-texto-l: 1.125rem;
  --t-texto: 1rem;
  --t-ui: .875rem;
  --t-micro: .6875rem;

  /* Grade e espaçamento (DA 2.3) */
  --m: 16px;          /* margem lateral */
  --gutter: 12px;
  --inset: 8px;
  --r-painel: 20px;
  --r-card: 18px;
  --r-campo: 14px;
  --cab-h: 60px;
  --cab-topo: 8px;    /* distância da cápsula até o topo */
  --sec-y: 80px;
  --emenda: 16px;

  --sombra: 0 1px 2px rgba(21, 40, 31, .06), 0 12px 32px rgba(21, 40, 31, .08);
  --sombra-curta: 0 1px 2px rgba(21, 40, 31, .08), 0 4px 12px rgba(21, 40, 31, .06);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Folha-seta e grão como data URI (funcionam em file://) */
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 768px) {
  :root { --m: 24px; --gutter: 16px; }
}
@media (min-width: 1024px) {
  :root { --inset: 16px; --r-painel: 28px; --cab-h: 72px; --cab-topo: 12px; --sec-y: 128px; --emenda: 48px; }
}
@media (min-width: 1280px) {
  :root { --m: 40px; --gutter: 24px; }
}

/* Superfície escura: redefine os tokens dentro dela */
.escuro {
  --fundo: #1F3A30;
  --papel: #20362E;
  --superficie: #264336;
  --texto: #EAE1DC;
  --texto-2: rgba(234, 225, 220, .68);
  --texto-3: rgba(234, 225, 220, .5);
  --linha: rgba(234, 225, 220, .14);
  --linha-forte: rgba(234, 225, 220, .3);
  --marca: #DCD7CA;
  --marca-texto: #20362E;
  --musgo: #8C9F6E;
  --urucum: #E07A62;
  color: var(--texto);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: var(--t-texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:where(h1, h2, h3, .t-titulo, .t-kicker) { text-wrap-style: balance; }
:where(p, li, dd) { text-wrap-style: pretty; }
[hidden] { display: none !important; }
html.travado { overflow: hidden; }
::selection { background: var(--capim); color: var(--texto); }

:focus-visible { outline: 2px solid var(--capim); outline-offset: 2px; }
.escuro :focus-visible { outline-color: var(--capim); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.pular {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--mata); color: var(--creme); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; transition: top .2s;
}
.pular:focus { top: 12px; }

/* ---------- Grade ---------- */
.ct { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--m); }
.grade { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.painel {
  margin-inline: var(--inset);
  border-radius: var(--r-painel);
  position: relative;
  isolation: isolate;
}
.grao::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: var(--grao); opacity: .05; mix-blend-mode: multiply; z-index: 0;
}
.escuro.grao::after { mix-blend-mode: screen; opacity: .04; }

/* ---------- Tipografia ---------- */
.t-display-xl, .t-display-l, .t-h1, .t-h2, .t-h3, .t-nome {
  font-family: var(--f-display); text-transform: uppercase; margin: 0;
}
.t-display-xl { font-size: var(--t-display-xl); font-weight: 700; line-height: .9; letter-spacing: -.02em; }
.t-display-l { font-size: var(--t-display-l); font-weight: 600; line-height: .95; letter-spacing: -.02em; }
.t-h1 { font-size: var(--t-h1); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.t-h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.t-h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.2; letter-spacing: .01em; }
.t-kicker { font-family: var(--f-serifa); font-style: italic; font-weight: 400; font-size: var(--t-kicker); line-height: 1.2; }
.t-serifa { font-family: var(--f-serifa); font-style: italic; font-weight: 400; }
.t-l { font-size: var(--t-texto-l); line-height: 1.6; }
.t-ui { font-size: var(--t-ui); font-weight: 500; }
.t-micro {
  font-size: var(--t-micro); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; line-height: 1.4;
}
.t-2 { color: var(--texto-2); }
@media (max-width: 767px) {
  .t-display-l { font-size: 11.5vw; }
  .t-h1 { font-size: 2rem; }
  .t-h2 { font-size: 1.625rem; }
  .t-h3 { font-size: 1.125rem; }
  .t-kicker { font-size: 1.125rem; }
  .t-l { font-size: 1.0625rem; }
}
.br-m { display: none; }
@media (max-width: 767px) { .br-d { display: none; } .br-m { display: inline; } }

/* Rótulo de seção com marcador (folha) */
.rotulo { display: inline-flex; align-items: center; gap: 10px; color: var(--texto-2); }
.rotulo svg { width: 14px; height: 10px; color: var(--capim); flex: none; }

/* Link de texto com sublinhado que cresce (capim) */
.link {
  background: linear-gradient(var(--capim), var(--capim)) left bottom / 0 1px no-repeat,
              linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  background-size: 0 1px, 100% 1px;
  padding-bottom: 2px;
  transition: background-size .45s var(--ease);
  color: inherit;
  font-weight: 500;
}
.link:hover { background-size: 100% 1px, 100% 1px; }
.link-simples { background: linear-gradient(var(--capim), var(--capim)) left bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.link-simples:hover { background-size: 100% 1px; }

/* Ícones do sprite */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic-cheio { fill: currentColor; stroke: none; }
.folha-seta { width: 18px; height: 14px; fill: currentColor; flex: none; }

/* ---------- Botões (DA 2.5) ---------- */
.btn {
  --btn-h: 48px;
  --btn-fundo: var(--marca);
  --btn-texto: var(--marca-texto);
  --btn-circ: var(--marca-texto);
  --btn-folha: var(--marca);
  --btn-borda: transparent;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--btn-h); min-width: 0;
  padding: 0 24px 0 6px;
  border-radius: 999px;
  background: var(--btn-fundo);
  color: var(--btn-texto);
  border: 1px solid var(--btn-borda);
  font-family: var(--f-texto); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, transform .15s;
  isolation: isolate;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 1024px) { .btn { --btn-h: 52px; } }
.btn__circ {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--btn-circ); color: var(--btn-folha);
  border: 1px solid transparent;
  transition: transform .55s var(--ease);
}
.btn__circ .folha-seta { width: 16px; height: 12px; transition: transform .55s var(--ease); }
.btn__txt { position: relative; z-index: 1; transition: transform .55s var(--ease); }
.btn:hover { background: color-mix(in srgb, var(--btn-fundo) 94%, #000); }
.btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__circ { transform: translateX(var(--desliza, 0px)); }
  .btn:hover .btn__circ .folha-seta { animation: folha-gira .55s var(--ease); }
  .btn:hover .btn__txt { transform: translateX(var(--recua, 0px)); }
}
@keyframes folha-gira { 0% { transform: rotate(0); } 50% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
.btn--sec {
  --btn-fundo: transparent;
  --btn-texto: var(--texto);
  --btn-circ: transparent;
  --btn-folha: var(--texto);
  --btn-borda: color-mix(in srgb, var(--texto) 30%, transparent);
}
.btn--sec .btn__circ { border-color: var(--linha-forte); }
.btn--sec:hover { background: color-mix(in srgb, var(--texto) 6%, transparent); }
.btn--total { width: 100%; height: 56px; justify-content: center; padding: 0 56px; }
.btn--total .btn__circ { position: absolute; left: 9px; top: 50%; margin-top: -18px; }
.btn--total:hover .btn__circ { transform: none; }
.btn--sem-icone { padding: 0 24px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.carregando .btn__circ .folha-seta { animation: folha-360 .8s linear infinite; }
@keyframes folha-360 { to { transform: rotate(360deg); } }
.btn.sucesso { --btn-fundo: var(--musgo); }
/* Setas "binóculo" (ref12): dois círculos unidos por um pescoço côncavo (um path só, viewBox 124×60), um disco escuro
   em cada lado com a folha-seta creme. Genérico para qualquer slider: <div class="setas-binoculo" role="group">
   <svg class="setas-binoculo__forma">…</svg><button class="setas-binoculo__btn setas-binoculo__btn--ant">…</button>
   <button class="setas-binoculo__btn setas-binoculo__btn--prox">…</button></div>. Tamanho = --sb-w. */
.setas-binoculo {
  --sb-w: 116px; --sb-forma: rgba(234, 225, 220, .34); --sb-disco: #20362E; --sb-disco-hover: #15281F; --sb-folha: #EAE1DC;
  position: relative; width: var(--sb-w); aspect-ratio: 124 / 60; flex: none;
}
.setas-binoculo__forma { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--sb-forma); pointer-events: none; }
.setas-binoculo__btn {
  position: absolute; top: 50%; width: 41.13%; aspect-ratio: 1; margin-top: -20.565%; border-radius: 50%;
  display: grid; place-items: center; background: var(--sb-disco); color: var(--sb-folha);
  transition: background-color .3s, transform .2s; -webkit-tap-highlight-color: transparent;
}
/* centros dos círculos em x = 30 e 94 (de 124); disco r = 25.5 */
.setas-binoculo__btn--ant { left: 3.63%; }
.setas-binoculo__btn--prox { left: 55.24%; }
.setas-binoculo__btn .folha-seta { width: 46%; height: auto; aspect-ratio: 23 / 17; transition: transform .45s var(--ease); }
.setas-binoculo__btn--ant .folha-seta { transform: scaleX(-1); }
.setas-binoculo__btn:hover { background: var(--sb-disco-hover); }
.setas-binoculo__btn--prox:hover .folha-seta { transform: translateX(3px); }
.setas-binoculo__btn--ant:hover .folha-seta { transform: scaleX(-1) translateX(3px); }
.setas-binoculo__btn:active { transform: scale(.94); }
.setas-binoculo__btn:focus-visible { outline: 2px solid var(--capim); outline-offset: 3px; }
.par { display: flex; flex-wrap: wrap; gap: 12px; }
.par > .btn { flex: 0 0 auto; }

/* Ícone-botão 44×44 */
.ib {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center; color: inherit;
  transition: background-color .25s;
}
.ib:hover { background: var(--linha); }
.ib .ic { width: 22px; height: 22px; }

/* ---------- Selos (DA 2.6) ---------- */
.selos { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.selos--linha { flex-direction: row; flex-wrap: wrap; }
.selo {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
}
.selo--novo { background: #20362E; color: #EAE1DC; }
.selo--promocao { background: var(--capim); color: #25261D; }
.selo--esgotado { background: rgba(242, 242, 242, .85); border: 1px solid rgba(37, 38, 29, .3); color: rgba(37, 38, 29, .6); }
.chip-desconto { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--capim); color: #25261D; font-size: 13px; font-weight: 600; }

/* ---------- Preço ---------- */
.preco { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; }
.preco del { font-weight: 400; color: var(--texto-3); text-decoration-thickness: 1px; }

/* ---------- Bolinhas de cor (DA 2.8) ---------- */
.bolinhas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bolinha {
  --tam: 14px;
  position: relative; width: var(--tam); height: var(--tam); border-radius: 50%; flex: none;
  background: var(--cor, #ccc);
  box-shadow: inset 0 0 0 1px var(--linha);
  outline-offset: 2px;
}
.bolinha::before { /* área de toque */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
}
.bolinha[aria-pressed="true"], .bolinha.ativa { box-shadow: inset 0 0 0 1px var(--linha), 0 0 0 2px var(--fundo-bolinha, var(--fundo)), 0 0 0 4px var(--marca); }
.bolinha.esgotada::after {
  content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 1px; background: rgba(37, 38, 29, .4);
  transform: rotate(45deg);
}
.bolinha--l { --tam: 32px; }
.bolinha--l::before { inset: -6px; }
.bolinhas--l { gap: 14px; }
.bolinhas__mais { font-size: 12px; font-weight: 600; color: var(--texto-2); margin-left: 2px; }
[data-dica] { position: relative; }
@media (hover: hover) {
  [data-dica]:hover::after, [data-dica]:focus-visible::after {
    content: attr(data-dica);
    position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
    background: #25261D; color: #EAE1DC; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none;
    padding: 5px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; z-index: 5;
  }
  .bolinha.esgotada[data-dica]:hover::after { width: auto; height: auto; top: auto; transform: translateX(-50%); }
}

/* ---------- Seletor de tamanho (DA 2.9) ---------- */
.tamanhos { display: flex; flex-wrap: wrap; gap: 8px; }
.tam {
  position: relative; min-width: 52px; height: 48px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--linha-forte); background: transparent;
  font-size: 15px; font-weight: 600; color: var(--texto);
  transition: background-color .2s, color .2s, border-color .2s;
}
.tam:hover { border-color: var(--texto); }
.tam[aria-pressed="true"] { background: var(--mata); border-color: var(--mata); color: #EAE1DC; }
.tam.esgotado { color: var(--texto-3); overflow: hidden; }
.tam.esgotado::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: var(--texto-3);
  transform: rotate(-24deg);
}
.tam.esgotado[aria-pressed="true"] { background: transparent; color: var(--texto-2); border-color: var(--texto); }
.treme { animation: treme .32s linear; }
@keyframes treme { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ---------- Quantidade ---------- */
.qtd { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--linha-forte); border-radius: 999px; }
.qtd button { width: 44px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.qtd button:hover { background: var(--linha); }
.qtd button[disabled] { opacity: .35; pointer-events: none; }
.qtd .ic { width: 16px; height: 16px; }
.qtd output, .qtd input { width: 28px; text-align: center; font-weight: 600; border: 0; background: none; }
.qtd--p { height: 36px; }
.qtd--p button { width: 34px; height: 34px; }

/* ---------- Campos (DA 2.10) ---------- */
.campo { display: grid; gap: 6px; min-width: 0; }
.campo__rotulo { font-size: var(--t-micro); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.entrada {
  width: 100%; height: 52px; padding: 0 18px; border-radius: var(--r-campo);
  background: var(--superficie); border: 1px solid rgba(37, 38, 29, .18);
  font-size: 16px; color: var(--texto); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.escuro .entrada { border-color: var(--linha-forte); }
.entrada::placeholder { color: var(--texto-3); }
.entrada:focus { border-color: var(--mata); box-shadow: 0 0 0 3px rgba(32, 54, 46, .15); }
.campo.erro .entrada, .entrada[aria-invalid="true"] { border-color: var(--urucum); }
.campo__msg { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--texto-2); }
.campo__msg .ic { width: 16px; height: 16px; margin-top: 1px; }
.campo__msg.erro { color: var(--urucum); }
.campo__msg.ok { color: var(--musgo); }
/* Campo composto: pílula com o botão dentro */
.pilula-campo {
  position: relative; display: flex; align-items: center; height: 52px;
  background: var(--superficie); border: 1px solid rgba(37, 38, 29, .18); border-radius: 999px;
  transition: border-color .2s, box-shadow .2s;
}
.pilula-campo:focus-within { border-color: var(--mata); box-shadow: 0 0 0 3px rgba(32, 54, 46, .15); }
.pilula-campo.erro { border-color: var(--urucum); }
.pilula-campo input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 20px; border: 0; background: none; outline: none; font-size: 16px; }
.pilula-campo .btn { --btn-h: 42px; height: 42px; margin-right: 4px; padding: 0 18px; }
/* Checkbox, rádio, interruptor */
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--linha-forte); background: var(--superficie); display: grid; place-items: center; flex: none; margin: 0; transition: background-color .2s, border-color .2s; }
.check input[type="radio"] { border-radius: 50%; }
.check input:checked { background: var(--mata); border-color: var(--mata); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid #EAE1DC; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.check input[type="radio"]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #EAE1DC; transform: none; }
.check__conta { margin-left: auto; color: var(--texto-3); font-size: 13px; }
.interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; }
.interruptor input { appearance: none; -webkit-appearance: none; position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--linha-forte); margin: 0; flex: none; transition: background-color .25s; }
.interruptor input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FAFAF7; box-shadow: var(--sombra-curta); transition: transform .25s var(--ease); }
.interruptor input:checked { background: var(--mata); }
.interruptor input:checked::after { transform: translateX(16px); }

/* Acordeão (details) */
.acordeao { border-top: 1px solid var(--linha); }
.acordeao:last-child { border-bottom: 1px solid var(--linha); }
.acordeao > summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; cursor: pointer; font-weight: 600;
}
.acordeao > summary::-webkit-details-marker { display: none; }
.acordeao > summary .mais { position: relative; width: 14px; height: 14px; flex: none; }
.acordeao > summary .mais::before, .acordeao > summary .mais::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.acordeao > summary .mais::after { transform: rotate(90deg); }
.acordeao[open] > summary .mais::after { transform: rotate(0); }
.acordeao__corpo { padding-bottom: 20px; }

/* ---------- Imagens e provisórias ---------- */
.moldura { position: relative; overflow: hidden; background: var(--foto); }
.moldura > img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Cabeçalho (DA 2.12)
   ========================================================================== */
.cab {
  position: fixed; z-index: 60; left: 0; right: 0; top: 0;
  pointer-events: none;
  transition: transform .45s var(--ease);
}
.cab.escondido { transform: translateY(calc(-100% - 48px)); }
.cab__barra {
  pointer-events: auto;
  position: relative;
  margin: 0 auto;
  height: var(--cab-h);
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  padding: 0 calc(var(--m) - 4px);
  color: var(--texto);
  transition: max-width .45s var(--ease), margin-top .45s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .35s, border-radius .45s var(--ease);
  border: 1px solid transparent;
}
/* Transparente sobre banner escuro */
.cab[data-modo="transparente"] .cab__barra { color: #EAE1DC; margin-top: var(--inset); max-width: calc(100% - 2 * var(--inset)); }
/* Cápsula flutuante (R-012) */
.cab[data-modo="capsula"] .cab__barra {
  max-width: min(1200px, calc(100% - 2 * var(--inset)));
  margin-top: var(--cab-topo);
  border-radius: 999px;
  background: rgba(242, 242, 242, .96);
  border-color: var(--linha);
  box-shadow: var(--sombra);
  padding: 0 8px 0 10px;
}
@media (min-width: 1024px) {
  .cab[data-modo="capsula"] .cab__barra { background: rgba(242, 242, 242, .92); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); padding: 0 12px 0 16px; }
}
.cab__esq, .cab__dir { display: flex; align-items: center; gap: 4px; min-width: 0; }
.cab__dir { justify-content: flex-end; }
.cab__nav { display: none; gap: 4px; }
.cab__nav a, .cab__nav button {
  height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; transition: background-color .25s;
}
.cab__nav a:hover, .cab__nav button:hover, .cab__nav [aria-expanded="true"] { background: color-mix(in srgb, currentColor 10%, transparent); }
.cab__nav [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--capim); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cab__nav .ic { width: 14px; height: 14px; transition: transform .3s; }
.cab__nav [aria-expanded="true"] .ic { transform: rotate(180deg); }
.cab__logo { display: block; padding: 8px 6px; color: inherit; }
.cab__logo svg { width: 108px; height: auto; }
@media (min-width: 1024px) { .cab__logo svg { width: 124px; } .cab__nav { display: flex; } .so-mobile { display: none !important; } }
@media (max-width: 1023px) { .so-desktop { display: none !important; } }
.contador {
  position: absolute; right: 2px; top: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #20362E; color: #EAE1DC; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.cab[data-modo="transparente"] .contador { background: #EAE1DC; color: #20362E; }
.contador:empty { display: none; }
.contador.pula { animation: pula .5s var(--ease); }
@keyframes pula { 30% { transform: scale(1.35); } 100% { transform: scale(1); } }
.ib-menu { display: inline-flex; gap: 8px; width: auto; padding: 0 10px 0 6px; border-radius: 999px; font-size: 14px; font-weight: 500; }

/* Mega menu "Loja" */
.mega {
  pointer-events: auto;
  position: absolute; left: 50%; top: calc(var(--cab-topo) + var(--cab-h) + 8px);
  width: min(1200px, calc(100% - 2 * var(--inset)));
  transform: translateX(-50%);
  background: #EAE1DC; color: #25261D;
  border-radius: 28px; border: 1px solid var(--linha);
  box-shadow: 0 24px 64px rgba(21, 40, 31, .18);
  padding: 32px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 40px;
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0 round 28px);
  transition: clip-path .5s var(--ease), opacity .3s, visibility 0s .5s;
}
.cab[data-modo="transparente"] .mega { top: calc(var(--inset) + var(--cab-h) + 8px); }
.mega.aberta { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0 round 28px); transition: clip-path .55s var(--ease), opacity .2s, visibility 0s; }
.mega__cats { display: grid; align-content: start; }
.mega__cats a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--linha);
  font-family: var(--f-display); font-weight: 500; font-size: 28px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em;
  color: rgba(37, 38, 29, .55); transition: color .25s, padding .35s var(--ease);
}
.mega__cats a:hover, .mega__cats a:focus-visible, .mega__cats a.foco { color: #25261D; padding-left: 10px; }
.mega__cats a span { font-family: var(--f-texto); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--texto-2); }
.mega__cats .mega__tudo { font-family: var(--f-texto); font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #25261D; border: 0; padding-top: 16px; justify-content: flex-start; }
.mega__foto { position: relative; border-radius: 18px; overflow: hidden; background: var(--foto); aspect-ratio: 5 / 4; }
.mega__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s; }
.mega__foto img.ativa { opacity: 1; }
.mega__foto figcaption { position: absolute; left: 16px; bottom: 14px; color: #25261D; background: rgba(234, 225, 220, .9); padding: 4px 10px; border-radius: 999px; }
.mega__pranchas { grid-column: 1 / -1; border-top: 1px solid var(--linha); padding-top: 18px; }
.mega__pranchas ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.mega__pranchas a { display: grid; gap: 6px; font-size: 12px; line-height: 1.25; }
.mega__pranchas img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--foto); transition: transform .35s var(--ease); }
.mega__pranchas a:hover img { transform: translateY(-3px); }
.mega__pranchas b { font-weight: 600; font-size: 10px; letter-spacing: .14em; color: var(--courino); }

/* Menu mobile (tela cheia mata) */
.menu-m {
  position: fixed; inset: 0; z-index: 90; background: #20362E; color: #EAE1DC;
  display: flex; flex-direction: column; padding: 12px var(--m) 32px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.menu-m.aberta { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.menu-m__topo { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.menu-m__busca { margin: 16px 0 8px; }
.menu-m__busca .pilula-campo { background: #264336; border-color: rgba(234, 225, 220, .2); }
.menu-m__busca input::placeholder { color: rgba(234, 225, 220, .55); }
.menu-m__cats a {
  display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(234, 225, 220, .14);
  font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.05; text-transform: uppercase;
}
.menu-m__cats img { width: 48px; height: 60px; object-fit: cover; border-radius: 10px; background: #264336; flex: none; }
.menu-m__cats span { margin-left: auto; font-family: var(--f-texto); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: rgba(234, 225, 220, .6); }
.menu-m__sec { display: grid; gap: 4px; margin-top: 24px; }
.menu-m__sec a { min-height: 44px; display: flex; align-items: center; color: rgba(234, 225, 220, .8); }

/* Busca (painel) */
.busca {
  position: fixed; z-index: 95; left: 50%; top: var(--cab-topo); width: min(760px, calc(100% - 2 * var(--inset)));
  transform: translateX(-50%);
  background: #EAE1DC; color: #25261D; border-radius: 28px; box-shadow: 0 24px 64px rgba(21, 40, 31, .22);
  padding: 20px; max-height: calc(100svh - 24px); overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translate(-50%, -12px);
  transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s;
}
.busca.aberta { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity .25s, transform .45s var(--ease), visibility 0s; }
.busca__topo { display: flex; gap: 8px; align-items: center; }
.busca__topo .pilula-campo { flex: 1; }
.busca__res { margin-top: 16px; display: grid; gap: 4px; }
.busca__res a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; transition: background-color .2s; }
.busca__res a:hover, .busca__res a:focus-visible { background: rgba(37, 38, 29, .06); }
.busca__res img { width: 44px; height: 55px; object-fit: cover; border-radius: 8px; background: var(--foto); }
.busca__res small { display: block; color: var(--texto-2); font-size: 13px; }
.busca__sug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.busca__sug button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linha-forte); font-size: 14px; }
.busca__sug button:hover { border-color: var(--texto); }

/* Véu atrás de gavetas e folhas */
.veu {
  position: fixed; inset: 0; z-index: 80; background: rgba(37, 38, 29, .4);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.veu.ativo { opacity: 1; visibility: visible; transition: opacity .35s, visibility 0s; }

/* ==========================================================================
   Gaveta da sacola (DA 2.13) e folhas inferiores
   ========================================================================== */
.gaveta {
  position: fixed; z-index: 85; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  background: #EAE1DC; color: #25261D;
  display: flex; flex-direction: column;
  box-shadow: -24px 0 64px rgba(21, 40, 31, .2);
  transform: translateX(100%); visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s .55s;
}
.gaveta.aberta { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
@media (max-width: 767px) {
  .gaveta { top: auto; width: 100%; height: 92svh; border-radius: 20px 20px 0 0; transform: translateY(100%); box-shadow: 0 -16px 48px rgba(21, 40, 31, .2); }
}
.gaveta__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 24px; border-bottom: 1px solid var(--linha); }
.gaveta__topo h2 { font-family: var(--f-display); font-weight: 500; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; }
.gaveta__topo h2 span { font-family: var(--f-texto); font-weight: 500; color: var(--texto-2); }
.gaveta__corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.gaveta__base { border-top: 1px solid var(--linha); padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; background: #EAE1DC; }
.gaveta__linha { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gaveta__linha strong { font-size: 18px; }
.gaveta__nota { font-size: 13px; color: var(--texto-2); }
.gaveta .par { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.gaveta .par .btn { width: 100%; justify-content: center; padding: 0 48px; }
.gaveta .par .btn .btn__circ { position: absolute; left: 6px; top: 50%; margin-top: -18px; }
.gaveta .par .btn:hover .btn__circ { transform: none; }
.gaveta__vazia { text-align: left; padding: 32px 0; display: grid; gap: 16px; justify-items: start; }

.item-s { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.item-s::before { content: ""; position: absolute; inset: 0 -24px; background: rgba(194, 162, 102, .12); opacity: 0; pointer-events: none; z-index: -1; }
.item-s.novo::before { animation: esmaece 2.4s ease-out forwards; }
@keyframes esmaece { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
.item-s__foto { width: 72px; height: 90px; border-radius: 10px; overflow: hidden; background: var(--foto); }
.item-s__foto img { width: 100%; height: 100%; object-fit: cover; }
.item-s__info { min-width: 0; display: grid; gap: 4px; align-content: start; }
.item-s__nome { font-family: var(--f-display); font-weight: 500; font-size: 13px; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.item-s__var { font-size: 14px; color: var(--texto-2); }
.item-s__acoes { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.item-s__preco { font-weight: 600; }
.item-s__remover { justify-self: start; font-size: 13px; color: var(--texto-2); min-height: 32px; }
.item-s__remover:hover { color: var(--texto); text-decoration: underline; }
.item-s__aviso { font-size: 13px; color: var(--urucum); }
.item-s__novo { color: var(--courino); }
.desfazer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin: 12px 0; border-radius: 14px; background: rgba(37, 38, 29, .06); font-size: 14px; }
.desfazer button { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.complete { margin-top: 24px; }
.complete h3 { margin-bottom: 12px; }
.complete ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini { display: grid; gap: 6px; font-size: 12px; line-height: 1.3; }
.mini__foto { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--foto); }
.mini__foto img { width: 100%; height: 100%; object-fit: cover; }
.mini b { font-family: var(--f-display); font-weight: 500; font-size: 10px; text-transform: uppercase; letter-spacing: .02em; }
.mini button, .mini__add { justify-self: start; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--linha-forte); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.mini button:hover, .mini__add:hover { border-color: var(--texto); }

/* Folha inferior (mobile) / modal centralizado (desktop) */
.folha {
  position: fixed; z-index: 88; left: 0; right: 0; bottom: 0;
  max-height: 88svh; display: flex; flex-direction: column;
  background: #EAE1DC; color: #25261D; border-radius: 20px 20px 0 0;
  box-shadow: 0 -16px 48px rgba(21, 40, 31, .2);
  transform: translateY(100%); visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.folha.aberta { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.folha__alca { width: 40px; height: 4px; border-radius: 4px; background: var(--linha-forte); margin: 10px auto 0; }
.folha__topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 8px 24px; }
.folha__topo h2 { font-family: var(--f-display); font-weight: 500; font-size: 18px; text-transform: uppercase; }
.folha__corpo { overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 24px; }
.folha__base { padding: 12px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); display: flex; gap: 12px; align-items: center; }
@media (min-width: 768px) {
  .folha.folha--modal { left: 50%; right: auto; bottom: auto; top: 50%; width: min(520px, calc(100% - 48px)); border-radius: 28px; transform: translate(-50%, -46%); opacity: 0; transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s; }
  .folha.folha--modal.aberta { transform: translate(-50%, -50%); opacity: 1; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }
  .folha.folha--modal .folha__alca { display: none; }
  .folha.folha--lateral { left: auto; top: 0; width: min(520px, 100%); max-height: none; border-radius: 28px 0 0 28px; transform: translateX(100%); }
  .folha.folha--lateral.aberta { transform: none; }
  .folha.folha--lateral .folha__alca { display: none; }
  .folha.folha--lateral .folha__topo { padding-top: 20px; }
}
.demo { font-size: 12px; color: var(--texto-2); }

/* Toasts */
.toasts { position: fixed; z-index: 120; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; background: #25261D; color: #EAE1DC; font-size: 14px; box-shadow: var(--sombra); animation: toast-in .45s var(--ease); }
.toast a, .toast button { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Transição entre páginas: canvas das folhas caindo (js/folhas.js; estilos em linha no próprio canvas) */
.folhas-tela { contain: strict; }

/* ==========================================================================
   Card de produto (DA 2.7)
   ========================================================================== */
.card { position: relative; display: grid; gap: 12px; min-width: 0; align-content: start; }
.card__midia { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: var(--foto); isolation: isolate; }
.card__trilho { position: absolute; inset: 0; display: flex; }
.card__img { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card__img img.saindo { opacity: 0; }
.card__img--alt { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); }
.card__img--alt img { transform: scale(1.04); transition: transform .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img--alt, .card:focus-within .card__img--alt { clip-path: inset(0 0 0 0); }
  .card:hover .card__img--alt img, .card:focus-within .card__img--alt img { transform: scale(1); }
}
.card__selos { position: absolute; z-index: 3; left: 12px; top: 12px; pointer-events: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-card); }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 2px solid var(--capim); outline-offset: 3px; }
/* Barra de compra rápida */
.card__rapida {
  position: absolute; z-index: 4; left: 8px; right: 8px; bottom: 8px;
  display: flex; align-items: center; gap: 4px; padding: 6px;
  background: rgba(234, 225, 220, .94); border-radius: 14px;
  transform: translateY(calc(100% + 12px)); transition: transform .5s var(--ease) .08s;
}
.card:hover .card__rapida, .card:focus-within .card__rapida { transform: none; }
.card__rapida button {
  position: relative; flex: 1; min-width: 0; height: 36px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #25261D;
  transition: background-color .2s, color .2s;
}
.card__rapida button:hover { background: #20362E; color: #EAE1DC; }
.card__rapida button.esgotado { color: rgba(37, 38, 29, .35); pointer-events: none; overflow: hidden; }
.card__rapida button.esgotado::after { content: ""; position: absolute; left: 25%; right: 25%; top: 50%; height: 1px; background: currentColor; transform: rotate(-24deg); }
.card__rapida .card__rapida-sacola { flex: 0 0 36px; display: grid; place-items: center; color: #25261D; pointer-events: none; }
.card__rapida .card__rapida-sacola .ic { width: 18px; height: 18px; }
.card__rapida .card__avise { flex: 1; }
.card__circ {
  display: none; position: absolute; z-index: 4; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(234, 225, 220, .94); color: #25261D; place-items: center; box-shadow: var(--sombra-curta);
}
.card__circ .ic { width: 20px; height: 20px; }
.card__pontos { display: none; position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%); gap: 6px; pointer-events: none; }
.card__pontos i { width: 6px; height: 6px; border-radius: 50%; background: rgba(37, 38, 29, .25); transition: background-color .2s, width .3s; }
.card__pontos i.ativo { background: #25261D; width: 14px; border-radius: 3px; }
@media (hover: none), (pointer: coarse), (max-width: 767px) {
  .card__trilho { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .card__trilho::-webkit-scrollbar { display: none; }
  .card__img { scroll-snap-align: start; }
  .card__img--alt { position: relative; inset: auto; clip-path: none; }
  .card__img--alt img { transform: none; }
  .card__rapida { display: none; }
  .card__circ { display: grid; }
  .card__pontos { display: flex; }
  /* o trilho fica livre para o arraste (cada foto é um link próprio); o link principal cobre só o texto */
  .card__info { position: relative; }
}
.card__info { display: grid; gap: 4px; min-width: 0; padding: 0 2px; }
/* uma linha só (nomes científicos longos, ex. Pr. 07, quebravam e desalinhavam a grade no celular) */
.card__sobre { font-size: 14px; color: var(--texto-2); line-height: 1.3; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__sobre .t-serifa { font-size: 15px; }
.card__sobre b { font-weight: 600; font-size: 11px; letter-spacing: .14em; color: var(--courino); }
.escuro .card__sobre b { color: var(--capim); }
.card__nome { font-family: var(--f-display); font-weight: 500; font-size: .8125rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; }
.card__preco { font-size: 1rem; }
.card__bolinhas { position: relative; z-index: 3; margin-top: 6px; }
.card__bolinhas .bolinha { --fundo-bolinha: var(--fundo); }
.card.esgotado .card__img img { filter: saturate(.55); opacity: .8; }
@media (max-width: 767px) {
  .card__nome { font-size: .75rem; }
  .card__preco { font-size: .9375rem; }
  .card__sobre { font-size: 13px; }
  .card__bolinhas .bolinha::before { inset: -8px; }
}

/* Trilho horizontal com snap + contador (mobile) */
.trilho { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 78%); gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-inline: var(--m); scroll-padding-inline: var(--m); }
.trilho::-webkit-scrollbar { display: none; }
.trilho > * { scroll-snap-align: start; min-width: 0; }
.trilho-nav { display: flex; align-items: center; gap: 14px; }
.trilho-nav__cont { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.pontos { display: flex; gap: 6px; }
.pontos i { width: 6px; height: 6px; border-radius: 50%; background: var(--linha-forte); transition: width .3s, background-color .3s; }
.pontos i.ativo { width: 16px; border-radius: 3px; background: var(--texto); }

/* Migalha */
.migalha { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--texto-2); }
.migalha a:hover { color: var(--texto); text-decoration: underline; text-underline-offset: 3px; }
.migalha li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* ==========================================================================
   Rodapé (DA 2.15)
   ========================================================================== */
.rodape { position: relative; margin: var(--sec-y) var(--inset) 0; border-radius: var(--r-painel) var(--r-painel) 0 0; background: #15281F; color: #EAE1DC; overflow: hidden; isolation: isolate; }
.rodape__folhas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rodape__folhas img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: .06; }
/* V5 (sombra de folhagem em vídeo) por cima da X-01 quando toca; ligado pelo comum.js (folhagemRodape) */
.rodape__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; opacity: 0; transition: opacity 1.2s; }
.rodape__video.tocando { opacity: .07; }
.rodape__folhas img { transition: opacity 1.2s; }
.rodape__folhas:has(.rodape__video.tocando) img { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rodape__video { display: none; } }
.rodape .ct { position: relative; }
.rodape__topo { padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.rodape__topo > * { min-width: 0; }
.news { --texto: #25261D; --texto-2: rgba(37, 38, 29, .66); --texto-3: rgba(37, 38, 29, .45); --linha: rgba(37, 38, 29, .12); --linha-forte: rgba(37, 38, 29, .24); --marca: #20362E; --marca-texto: #EAE1DC; --superficie: #FAFAF7; --musgo: #5F6F4E; --urucum: #A13D2D; align-self: start; background: #EAE1DC; color: #25261D; border-radius: 20px; padding: 28px 24px; display: grid; gap: 12px; }
.news .t-h2 { font-size: clamp(1.625rem, 2.6vw, 2.5rem); }
.news form { margin-top: 8px; }
.news .pilula-campo { background: #FAFAF7; }
.news > *, .news form { min-width: 0; }
.news .pilula-campo input { width: 0; }
.news .pilula-campo .btn { flex: none; }
.news p { text-wrap-style: balance; }
.news__consent { font-size: 13px; color: var(--texto-2); }
.news__consent a { text-decoration: underline; text-underline-offset: 3px; }
.news__msg { min-height: 20px; }
.contato { display: grid; gap: 20px; align-content: start; }
.redes { display: flex; gap: 8px; }
.redes a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(234, 225, 220, .2); color: #EAE1DC; cursor: default; }
.redes a .ic { width: 20px; height: 20px; }
.contato address { font-style: normal; color: rgba(234, 225, 220, .75); line-height: 1.6; }
.contato__email { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.125rem, 1.6vw, 1.5rem); overflow-wrap: anywhere; color: #EAE1DC; }
.rodape__cols { margin-top: 40px; border-top: 1px solid rgba(234, 225, 220, .14); padding-top: 8px; display: grid; grid-template-columns: minmax(0, 1fr); }
.rodape__col h3 { font-size: var(--t-micro); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(234, 225, 220, .6); }
.rodape__col ul { display: grid; gap: 2px; }
.rodape__col a { display: inline-flex; min-height: 36px; align-items: center; color: rgba(234, 225, 220, .9); }
.rodape__col a:hover { color: #EAE1DC; }
.rodape__col details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; }
.rodape__col details > summary::-webkit-details-marker { display: none; }
.rodape__col details { border-bottom: 1px solid rgba(234, 225, 220, .14); }
.rodape__col details ul { padding-bottom: 16px; }
.bandeiras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; color: rgba(234, 225, 220, .7); }
.bandeiras svg { width: 100%; height: 30px; }
.bandeiras li { border: 1px solid rgba(234, 225, 220, .16); border-radius: 8px; padding: 4px; display: grid; place-items: center; }
.rodape__parc { margin-top: 12px; font-size: 14px; color: rgba(234, 225, 220, .8); }
.rodape__legal { margin-top: 32px; border-top: 1px solid rgba(234, 225, 220, .14); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: rgba(234, 225, 220, .6); }
.rodape__marca { position: relative; margin-top: 8px; height: calc((100vw - 2 * var(--inset)) * .19); max-height: 290px; overflow: hidden; pointer-events: none; }
.rodape__marca svg { position: absolute; left: var(--m); right: var(--m); top: 0; width: calc(100% - 2 * var(--m)); height: auto; color: #22402F; }
.rodape__marca .folha-acesa { color: #DCD7CA; opacity: 0; }
@media (min-width: 768px) {
  .rodape__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 32px; }
  .rodape__col details { border: 0; }
  .rodape__col details > summary { pointer-events: none; min-height: 0; margin-bottom: 14px; }
  .rodape__col details > summary .mais { display: none; }
  .bandeiras { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2px; }
}
@media (min-width: 1024px) {
  .rodape__topo { padding-top: 48px; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .news { grid-column: 1 / 7; padding: 40px; }
  .contato { grid-column: 8 / 13; padding-top: 12px; }
  .rodape__cols { margin-top: 64px; }
}

/* Reduced motion: nada depende de animação */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
