/* Smartpromos — vitrine pública. Tema "Vidro noturno" (out/2026): fundo
   escuro com brilhos ciano e azul, superfícies de vidro, títulos em
   Bricolage Grotesque e texto em DM Sans (fontes servidas pelo próprio site). */

@font-face {
  font-family: "DM Sans";
  src: url("/static/fontes/dmsans-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/static/fontes/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --sp-primary: #22d3ee;          /* acento: ciano */
  --sp-primary-dark: #67e8f9;     /* acento no hover (mais claro no escuro) */
  --sp-link: #67e8f9;
  --sp-violet-bright: #a78bfa;
  --sp-cyan: #22d3ee;
  --sp-blue-action: #3b82f6;
  --sp-navy: #ffffff;             /* títulos */
  --sp-text: #e8ecf8;
  --sp-text-2: #c3cbe0;           /* texto corrido */
  --sp-muted: #94a0bf;
  --sp-faint: #6f7a99;
  --sp-background: #070b1a;
  --sp-solid: #0f1630;            /* superfície sólida (menus) */
  --sp-surface: rgba(255, 255, 255, 0.055);
  --sp-surface-strong: rgba(255, 255, 255, 0.1);
  --sp-field: rgba(255, 255, 255, 0.07);
  --sp-highlight: rgba(34, 211, 238, 0.09);
  --sp-border: rgba(255, 255, 255, 0.11);
  --sp-border-strong: rgba(255, 255, 255, 0.2);
  --sp-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  --sp-on-accent: #04111f;        /* texto sobre o ciano */
  --sp-gradient-brand: linear-gradient(120deg, #22d3ee 0%, #3b82f6 55%, #8b5cf6 100%);
  --sp-gradient-action: linear-gradient(120deg, #22d3ee 0%, #3b82f6 100%);
  --sp-gradient-title: linear-gradient(90deg, #67e8f9, #60a5fa 50%, #a78bfa);
  --sp-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sp-font-title: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --sp-glass-blur: blur(20px) saturate(160%);
  --sp-card-radius: 22px;
  --sp-large-radius: 26px;
  --sp-touch-target: 44px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sp-background);
  color: var(--sp-text);
  font: 500 16px/1.5 var(--sp-font);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--sp-link); }
a:hover { color: #a5f3fc; }

:focus-visible {
  outline: 3px solid var(--sp-cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--sp-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 700;
}
.pular:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Cabeçalho ---------- */
.topo { background: var(--sp-surface); }
.topo::after { content: ""; display: block; height: 4px; background: var(--sp-gradient-brand); }
.topo-linha {
  display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}
.marca { display: inline-flex; align-items: center; min-height: var(--sp-touch-target); margin-right: auto; }
.marca img { height: 32px; width: auto; }
.canais { display: flex; gap: 8px; order: 2; }
.canal {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--sp-border); border-radius: 999px; background: var(--sp-surface);
  color: var(--sp-navy); font-size: 14px; font-weight: 700; text-decoration: none;
}
.canal:hover { border-color: var(--sp-primary); color: var(--sp-primary); }
.canal { gap: 7px; }
.canal .icone { flex: none; }
.canal--telegram .icone { color: #229ED9; }
.canal--whatsapp .icone { color: #1FAF54; }

.busca { display: flex; width: 100%; order: 3; }
.busca input {
  flex: 1; min-width: 0; height: var(--sp-touch-target); padding: 0 14px;
  border: 1px solid var(--sp-border); border-right: 0; border-radius: 10px 0 0 10px;
  font: 500 16px var(--sp-font); color: var(--sp-text); background: var(--sp-surface);
}
.busca input::placeholder { color: var(--sp-muted); }
.busca input:focus-visible { outline-offset: 0; border-radius: 10px 0 0 10px; }
.busca button {
  height: var(--sp-touch-target); padding: 0 18px; border: 0; cursor: pointer;
  border-radius: 0 10px 10px 0; background: var(--sp-primary); color: #fff;
  font: 700 15px var(--sp-font);
}
.busca button:hover { background: var(--sp-primary-dark); }

@media (max-width: 479px) {
  .topo-linha { gap: 10px 12px; }
  .marca img { height: 28px; }
  .canais { gap: 6px; }
  .canal { min-height: 36px; padding: 0 10px; font-size: 13px; }
}
/* Celular estreito: no topo, só os ícones (o nome continua no aria-label). */
@media (max-width: 419px) {
  .topo .canal { width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .topo .canal .icone { width: 20px; height: 20px; }
  .topo .canal-nome { display: none; }
}

@media (min-width: 860px) {
  .marca img { height: 40px; }
  .busca { order: 1; flex: 1; max-width: 520px; width: auto; }
  .canais { order: 2; }
}

/* ---------- Intro e filtros ---------- */
.intro { padding: 24px 0 8px; }
.intro h1 {
  margin: 0; color: var(--sp-navy);
  font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2;
}
.intro p { margin: 6px 0 0; color: var(--sp-muted); font-size: 15px; }

.filtros { padding: 12px 0 4px; }
.filtro-grupo { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.filtro-rotulo { flex: none; font-size: 13px; font-weight: 700; color: var(--sp-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 6px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--sp-border); border-radius: 999px; background: var(--sp-surface);
  color: var(--sp-text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--sp-primary); color: var(--sp-primary); }
.chip[aria-current="true"] { background: var(--sp-primary); border-color: var(--sp-primary); color: #fff; }
.chip small { font-size: 12px; opacity: 0.75; font-weight: 600; }

.resumo-busca { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 8px 0 0; font-size: 15px; color: var(--sp-muted); }
.resumo-busca a { font-weight: 700; }

/* ---------- Grade de ofertas ---------- */
.grade {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}

.card {
  position: relative;
  display: grid; grid-template-columns: 112px 1fr; grid-template-areas: "foto info" "acao acao";
  gap: 12px; padding: 12px; height: 100%;
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-card-radius);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.card-foto {
  grid-area: foto; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 8px; background: var(--sp-background); text-decoration: none;
}
.card-foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sem-foto {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 8px; color: var(--sp-muted); font-size: 12px; font-weight: 600; background: var(--sp-highlight);
}
.card-info { grid-area: info; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card-titulo {
  margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--sp-navy);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-titulo a { color: inherit; text-decoration: none; }
.card-titulo a:hover { color: var(--sp-primary); text-decoration: underline; }
.card-loja { margin: 0; font-size: 13px; color: var(--sp-muted); font-weight: 600; }

.precos { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
.preco { color: var(--sp-navy); font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.preco-de { color: var(--sp-muted); font-size: 14px; font-weight: 500; }
.selo {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px;
  background: var(--sp-highlight); color: var(--sp-primary-dark); font-size: 12px; font-weight: 700; line-height: 1.5;
}
.selo-alerta { background: #fff; color: #070b1a; }

.cupom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 14px;
}
.cupom-codigo {
  padding: 2px 8px; border: 1.5px dashed var(--sp-primary); border-radius: 6px;
  color: var(--sp-primary-dark); font-weight: 700; word-break: break-word;
}
.card-meta { margin: auto 0 0; padding-top: 4px; font-size: 13px; color: var(--sp-muted); }

.card-acao { grid-area: acao; display: flex; flex-direction: column; gap: 4px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--sp-touch-target); padding: 0 18px; border-radius: 10px;
  background: var(--sp-gradient-action); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none;
}
.cta:hover { color: #fff; filter: brightness(1.08); }
.cta-nota { margin: 0; text-align: center; font-size: 12px; color: var(--sp-muted); }

@media (min-width: 600px) {
  .grade { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
  .card {
    grid-template-columns: 1fr; grid-template-areas: "foto" "info" "acao";
    padding: 0; overflow: hidden; gap: 0;
  }
  .card-foto { border-radius: 0; border-bottom: 1px solid var(--sp-border); }
  .card-info { padding: 14px 16px 8px; flex: 1; }
  .card-acao { padding: 0 16px 16px; }
}

/* ---------- Paginação ---------- */
.paginacao { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 28px 0 8px; flex-wrap: wrap; }
.paginacao a, .paginacao span.desativado {
  display: inline-flex; align-items: center; min-height: var(--sp-touch-target); padding: 0 18px;
  border-radius: 10px; border: 1.5px solid var(--sp-border); background: var(--sp-surface);
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--sp-navy);
}
.paginacao a:hover { border-color: var(--sp-primary); color: var(--sp-primary); }
.paginacao span.desativado { color: var(--sp-faint); }
.paginacao .pagina-atual { font-size: 15px; color: var(--sp-muted); font-weight: 600; }

/* ---------- Estados vazios / avisos ---------- */
.estado {
  margin: 24px 0; padding: 32px 20px; text-align: center;
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-large-radius);
}
.estado h2 { margin: 0 0 8px; font-size: 20px; color: var(--sp-navy); font-weight: 800; }
.estado p { margin: 0 auto 16px; max-width: 520px; color: var(--sp-muted); }
.estado .acoes { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.botao-sec {
  display: inline-flex; align-items: center; min-height: var(--sp-touch-target); padding: 0 18px;
  border: 1.5px solid var(--sp-primary); border-radius: 10px; color: var(--sp-primary);
  font-weight: 700; text-decoration: none; background: var(--sp-surface);
}
.botao-sec:hover { background: var(--sp-highlight); }

.aviso-precos { margin: 20px 0 0; font-size: 13px; color: var(--sp-muted); text-align: center; }

/* ---------- Página da oferta ---------- */
.voltar { display: inline-flex; align-items: center; min-height: var(--sp-touch-target); font-weight: 700; text-decoration: none; margin-top: 12px; }
.detalhe {
  display: grid; gap: 20px; margin: 8px 0 24px; padding: 16px;
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-large-radius);
}
.detalhe-foto { aspect-ratio: 1 / 1; border-radius: var(--sp-card-radius); overflow: hidden; background: #fff; border: 1px solid var(--sp-border); }
.detalhe-foto img { width: 100%; height: 100%; object-fit: contain; }
.detalhe-info { display: flex; flex-direction: column; gap: 10px; }
.detalhe-info h1 { margin: 0; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; color: var(--sp-navy); font-weight: 800; letter-spacing: -0.01em; }
.detalhe-info .preco { font-size: clamp(30px, 4vw, 40px); }
.detalhe-info .card-meta { margin-top: 0; padding-top: 0; }
.detalhe-info .cta { max-width: 360px; font-size: 17px; }
.detalhe-info .cta-nota { text-align: left; max-width: 360px; }
.expirada { padding: 14px 16px; border-radius: 10px; background: var(--sp-highlight); color: var(--sp-primary-dark); font-weight: 700; }
@media (min-width: 800px) {
  .detalhe { grid-template-columns: minmax(280px, 440px) 1fr; padding: 24px; gap: 32px; }
}

/* ---------- Páginas de texto ---------- */
.texto { max-width: 760px; margin: 24px auto; padding: 24px 20px; background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-large-radius); }
.texto h1 { margin: 0 0 8px; font-size: clamp(24px, 4vw, 32px); color: var(--sp-navy); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.texto h2 { margin: 28px 0 8px; font-size: 19px; color: var(--sp-navy); font-weight: 800; }
.texto p, .texto li { color: var(--sp-text-2); font-size: 16px; line-height: 1.65; }
.texto ul { padding-left: 20px; }
.texto .atualizado { color: var(--sp-muted); font-size: 14px; margin-top: 0; }
@media (min-width: 700px) { .texto { padding: 36px 40px; } }

/* ---------- Rodapé ---------- */
.rodape { margin-top: 40px; background: rgba(3, 6, 16, 0.75); border-top: 1px solid var(--sp-border); color: #b6c0d8; font-size: 14px; }
.rodape::before { content: ""; display: block; height: 4px; background: var(--sp-gradient-brand); }
.rodape .container { padding-top: 28px; padding-bottom: 32px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.rodape p { margin: 0; line-height: 1.6; max-width: 760px; }
.rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.rodape .redes-bloco { width: 100%; display: grid; justify-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rodape .redes-rotulo { color: #94a3b8; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.rodape .redes { gap: 12px; }
.rodape .rede {
  width: 44px; height: 44px; min-height: 44px; justify-content: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.15s, transform 0.15s;
}
.rodape .rede:hover { background: var(--sp-gradient-brand); text-decoration: none; transform: translateY(-2px); }
.rodape .rede--texto { width: auto; padding: 0 14px; border-radius: 999px; }
.rodape .rodape-contato { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 8px; }
.rodape .rodape-contato-rotulo { display: inline-flex; align-items: center; gap: 8px; }
.rodape .rodape-contato .icone { color: #94a3b8; }
.rodape .rodape-contato a { min-height: 0; text-decoration: underline; text-underline-offset: 3px; }
.rodape .selo-discover { justify-self: center; }
@media (prefers-reduced-motion: reduce) { .rodape .rede { transition: none; } .rodape .rede:hover { transform: none; } }
.rodape a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; min-height: var(--sp-touch-target); align-items: center; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape .direitos { color: #94a3b8; font-size: 13px; }

/* ---------- Banners de campanha ---------- */
.campanhas { margin: 16px 0 4px; }
.campanhas-trilho {
  list-style: none; margin: 0; padding: 0 0 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.campanhas--2 .campanhas-trilho, .campanhas--3 .campanhas-trilho { grid-auto-columns: 88%; }
.campanha { scroll-snap-align: start; min-width: 0; }
.campanha > a {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  height: 100%; border-radius: var(--sp-large-radius); text-decoration: none; overflow: hidden;
}

.campanha--texto > a {
  min-height: 168px; padding: 20px 22px;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f1a3d 55%, #070b1a 100%); border: 1px solid var(--sp-border);
  color: #fff;
}
/* Formas decorativas no lado direito, longe do texto. */
.campanha--texto > a::before, .campanha--texto > a::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.campanha--texto > a::before { width: 220px; height: 220px; right: -70px; top: -80px; background: rgba(6, 182, 212, 0.35); }
.campanha--texto > a::after { width: 120px; height: 120px; right: 40px; bottom: -60px; background: rgba(59, 130, 246, 0.5); }
.campanha--texto > a > * { position: relative; z-index: 1; max-width: 80%; }
.campanha-loja {
  width: fit-content; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.16); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.campanha-titulo { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.campanha-sub { font-size: 15px; color: #c7d2fe; line-height: 1.4; }
.campanha-rodape { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.campanha-botao {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px;
  background: #fff; color: #070b1a; font-size: 15px; font-weight: 700;
}
.campanha--texto > a:hover .campanha-botao { background: #cffafe; }
.campanha-prazo {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 23, 42, 0.45); color: #fff; font-size: 13px; font-weight: 700;
}

.campanha--imagem { align-self: start; }
.campanha--imagem > a { background: var(--sp-highlight); justify-content: flex-start; }
.campanha--imagem img { width: 100%; height: auto; border-radius: var(--sp-large-radius); }
.campanha--imagem .campanha-prazo { position: absolute; left: 12px; top: 12px; background: rgba(15, 23, 42, 0.85); }

.campanhas-dica { margin: 2px 0 0; font-size: 12px; color: var(--sp-muted); }

@media (min-width: 900px) {
  .campanhas--2 .campanhas-trilho, .campanhas--3 .campanhas-trilho { grid-auto-columns: calc(50% - 6px); }
  .campanhas--2 .campanhas-dica { display: none; }
  .campanha--texto > a { min-height: 184px; padding: 24px 28px; }
}

/* Newsletter (caixa acima do rodapé e página /newsletter) */
.newsletter { margin-top: 48px; background: linear-gradient(120deg, rgba(34, 211, 238, 0.08), rgba(59, 130, 246, 0.08) 60%, rgba(139, 92, 246, 0.08)); border-top: 1px solid var(--sp-border); }
.newsletter + .rodape { margin-top: 0; }
.newsletter-grade { display: grid; gap: 16px; padding-top: 28px; padding-bottom: 28px; align-items: center; }
@media (min-width: 860px) { .newsletter-grade { grid-template-columns: 1fr 1.2fr; gap: 32px; } }
.newsletter h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--sp-navy); letter-spacing: -0.01em; }
.newsletter p { margin: 0; color: var(--sp-muted); }
.newsletter-form { display: grid; gap: 10px; margin-top: 8px; }
.newsletter-linha { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-linha input {
  flex: 1 1 220px; min-height: var(--sp-touch-target); padding: 10px 14px; font: inherit; font-size: 16px;
  border: 1px solid var(--sp-border); border-radius: 14px; background: var(--sp-field); color: var(--sp-text);
}
.newsletter-linha button, .botao-principal {
  min-height: var(--sp-touch-target); padding: 10px 20px; font: inherit; font-weight: 700; color: var(--sp-on-accent);
  background: var(--sp-gradient-action); border: 0; border-radius: 999px; cursor: pointer;
}
.newsletter-linha button:hover, .botao-principal:hover { filter: brightness(1.08); }
.newsletter-aceite { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--sp-muted); line-height: 1.5; }
.newsletter-aceite input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--sp-primary); }
.newsletter-aceite a { color: var(--sp-primary); font-weight: 600; }
.campo-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.texto .newsletter-form { margin-top: 20px; }
.aviso-newsletter { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; }
.aviso-newsletter.ok { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.aviso-newsletter.erro { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }

/* ---------- Menu de seções (Ofertas · Cupons · datas) ---------- */
.atalhos { background: var(--sp-surface); border-bottom: 1px solid var(--sp-border); }
.atalhos .container { display: flex; gap: 4px 20px; overflow-x: auto; scrollbar-width: none; }
.atalhos .container::-webkit-scrollbar { display: none; }
.atalhos a {
  display: inline-flex; align-items: center; min-height: var(--sp-touch-target); white-space: nowrap;
  color: var(--sp-navy); font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent;
}
.atalhos a:hover { color: var(--sp-primary); }
.atalhos a[aria-current="page"] { color: var(--sp-primary); border-bottom-color: var(--sp-primary); }

/* ---------- Trilha (breadcrumb) e títulos de seção ---------- */
.trilha ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--sp-muted); }
.trilha li + li::before { content: "›"; margin-right: 4px; color: var(--sp-faint); }
.trilha a { color: var(--sp-muted); font-weight: 600; }
@media (max-width: 599px) { .trilha li:nth-child(3) { display: none; } }
.secao-titulo { margin: 32px 0 12px; font-size: 21px; font-weight: 800; color: var(--sp-navy); letter-spacing: -0.01em; }
.sub { color: var(--sp-muted); font-size: 14px; margin: -4px 0 12px; }
.mais { margin: 16px 0 0; text-align: center; }
.loja-intro { max-width: 760px; margin: 4px 0 16px; color: var(--sp-text-2); }

/* ---------- Cards de cupom ---------- */
.cupons { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cupom-card {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px 16px; padding: 16px;
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-card-radius);
}
.cupom-valor {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 88px; padding: 8px;
  border-radius: 12px; background: var(--sp-highlight); border: 2px dashed var(--sp-primary);
  color: var(--sp-primary-dark); font-weight: 800; font-size: 17px; line-height: 1.15; word-break: break-word;
}
.cupom-card > .cupom-valor { align-self: start; }
.cupom-corpo { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cupom-etiquetas { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; }
.cupom-titulo { margin: 0; font-size: 17px; line-height: 1.3; color: var(--sp-navy); font-weight: 800; }
.cupom-texto { margin: 0; color: var(--sp-text-2); font-size: 15px; }
.cupom-condicoes { margin: 0; font-size: 14px; color: var(--sp-muted); }
.cupom-card .card-meta { margin: 0; padding: 0; }
.cupom-acao { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.cupom-codigo--grande {
  display: block; text-align: center; padding: 10px 12px; font-size: 18px; letter-spacing: 0.06em;
  background: var(--sp-highlight); user-select: all;
}
.cupom-nolink { display: block; text-align: center; padding: 10px 12px; border-radius: 12px; background: var(--sp-highlight); color: var(--sp-link); font-weight: 700; }
.cupom-card--expirado { opacity: 0.6; }
.cupom-card--expirado .cupom-valor { border-color: var(--sp-faint); color: var(--sp-muted); background: transparent; }
@media (min-width: 760px) {
  .cupom-card { grid-template-columns: 110px 1fr 240px; align-items: center; }
  .cupom-acao { grid-column: auto; }
  .cupom-valor { min-height: 110px; font-size: 19px; }
}

/* ---------- Lista de lojas (/cupons) ---------- */
.lojas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.loja-card {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; min-height: 76px; justify-content: center;
  background: var(--sp-surface); border: 1.5px solid var(--sp-border); border-radius: var(--sp-card-radius);
  text-decoration: none; color: var(--sp-navy);
}
.loja-card strong { font-size: 17px; font-weight: 800; }
.loja-card span { font-size: 13px; color: var(--sp-muted); font-weight: 600; }
.loja-card:hover { border-color: var(--sp-primary); color: var(--sp-primary); }
.loja-card--data { background: var(--sp-gradient-action); border: 0; color: var(--sp-on-accent); }
.loja-card--data span { color: rgba(4, 17, 31, 0.75); }
.loja-card--data:hover { color: var(--sp-on-accent); filter: brightness(1.06); }

/* ---------- Como usar, perguntas, nota ---------- */
.passos, .perguntas, .nota-curadoria, .texto-data, .outras-lojas {
  margin-top: 28px; padding: 20px; background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-large-radius);
}
.passos h2, .perguntas h2, .nota-curadoria h2, .texto-data h2, .outras-lojas h2 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: var(--sp-navy); }
.texto-data h3 { margin: 20px 0 6px; font-size: 16px; font-weight: 800; color: var(--sp-navy); }
.passos ol, .texto-data ul { margin: 0; padding-left: 22px; }
.passos li, .texto-data li, .texto-data p, .nota-curadoria p { color: var(--sp-text-2); line-height: 1.6; }
.passos li + li { margin-top: 6px; }
.perguntas details { border-top: 1px solid var(--sp-border); }
.perguntas summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--sp-navy); min-height: var(--sp-touch-target); }
.perguntas details p { margin: 0 0 14px; color: var(--sp-text-2); line-height: 1.6; }
.nota-curadoria { background: var(--sp-highlight); border-color: var(--sp-border); }
.nota-curadoria p { font-size: 14px; margin: 0 0 8px; }

/* ---------- Página de data (11.11, Black Friday) ---------- */
.data-hero {
  margin-top: 16px; padding: 30px 22px; border-radius: var(--sp-large-radius); color: #fff; border: 1px solid var(--sp-border-strong);
  background: radial-gradient(120% 140% at 0% 0%, rgba(34, 211, 238, 0.35), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(139, 92, 246, 0.35), transparent 55%), linear-gradient(135deg, #102a5c, #0b1430);
}
.data-hero h1 { margin: 0 0 8px; font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.data-hero p { margin: 0; font-size: 17px; color: #dbeafe; }
.data-rotulo { display: inline-block; margin-bottom: 10px !important; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); font-size: 13px !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.contagem { margin-top: 14px !important; font-size: 18px !important; }
.contagem strong { font-size: 30px; font-weight: 900; margin-right: 4px; }
.calendario li { margin: 4px 0; }
.guias-data { margin-top: 28px; padding: 20px; background: var(--sp-highlight); border: 1px solid var(--sp-border); border-radius: var(--sp-large-radius); }
.guias-data h2 { margin: 0 0 10px; font-size: 19px; font-weight: 800; color: var(--sp-navy); }
.guias-data ul { margin: 0; padding: 0; list-style: none; }
.guias-data li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--sp-border); }
.guias-data a { color: var(--sp-primary); text-decoration: none; }
.guias-data a:hover strong { text-decoration: underline; }
.guias-data span { display: block; margin-top: 4px; color: var(--sp-text-2); font-size: 14px; line-height: 1.5; }

/* ---------- Espaços de anúncio (sempre com o rótulo "Publicidade") ---------- */
.anuncio {
  margin: 28px auto; max-width: 1200px; padding: 8px 0 0; text-align: center;
  border-top: 1px solid var(--sp-border);
}
.anuncio-rotulo { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-faint); }
.anuncio-banner { display: block; }
.anuncio-banner img { width: 100%; height: auto; border-radius: 10px; }
/* AdSense: reserva altura para a página não "pular" quando o anúncio carrega. */
.anuncio--adsense { min-height: 300px; }
.adsbygoogle { display: block; }
@media (min-width: 760px) { .anuncio--adsense { min-height: 120px; } }
.grade > .anuncio-li { grid-column: 1 / -1; list-style: none; }
.grade > .anuncio-li .anuncio { margin: 8px auto; }

/* ---------- Aviso de cookies ---------- */
.aviso-cookies { position: sticky; bottom: 0; z-index: 20; background: rgba(15, 22, 48, 0.92); -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur); border-top: 1px solid var(--sp-border); color: #e2e8f0; font-size: 14px; }
.aviso-cookies .container { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.aviso-cookies p { margin: 0; }
.aviso-cookies a { color: #fff; font-weight: 700; }
.cookies-botoes { display: flex; flex-wrap: nowrap; flex: none; gap: 8px; }
.cookies-botoes form { margin: 0; }
.texto .cookies-botoes { margin: 8px 0 16px; }
/* Aceitar em destaque (gradiente da marca); Recusar discreto, só com borda. */
.aviso-cookies button, .cookies-botoes button {
  min-height: 40px; padding: 0 20px; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap;
  background: var(--sp-gradient-action); color: var(--sp-on-accent); font: 700 14px var(--sp-font);
}
.aviso-cookies button:hover, .cookies-botoes button:hover { filter: brightness(1.08); }
.cookies-botoes button.recusar { background: transparent; color: var(--sp-text-2); border: 1px solid var(--sp-border-strong); font-weight: 600; }
.cookies-botoes button.recusar:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); filter: none; }

/* ---------- Blog ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.posts > .anuncio-li { grid-column: 1 / -1; }
.post-card {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-card-radius);
}
.post-card-foto { display: block; aspect-ratio: 16 / 9; background: var(--sp-highlight); border-bottom: 1px solid var(--sp-border); }
.post-card-foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.post-card-foto--capa img { object-fit: cover; background: #0b1430; }
.post-card-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-tipo { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-primary); }
.post-tipo a { color: inherit; }
.post-card-titulo { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; color: var(--sp-navy); }
.post-card-titulo a { color: inherit; text-decoration: none; }
.post-card-titulo a:hover { color: var(--sp-primary); text-decoration: underline; }
.post-card-resumo { margin: 0; color: var(--sp-text-2); font-size: 15px; }
.post-card .card-meta { margin-top: auto; padding-top: 4px; }

.post { max-width: 780px; margin: 16px auto 0; }
.post-cabecalho h1 { margin: 6px 0 10px; font-size: clamp(26px, 4.4vw, 38px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: var(--sp-navy); }
.post-linha-fina { margin: 0 0 8px; font-size: 18px; color: var(--sp-text-2); line-height: 1.5; }
.post-capa { width: 100%; height: auto; margin: 16px 0 0; border-radius: var(--sp-large-radius); }
.post-texto { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--sp-text-2); }
.post-texto h2 { margin: 36px 0 10px; font-size: 24px; line-height: 1.25; font-weight: 800; color: var(--sp-navy); letter-spacing: -0.01em; }
.post-texto h3 { margin: 26px 0 6px; font-size: 19px; font-weight: 800; color: var(--sp-navy); }
.post-texto p { margin: 0 0 16px; }
.post-texto ul, .post-texto ol { margin: 0 0 16px; padding-left: 24px; }
.post-texto li + li { margin-top: 6px; }
.post-texto .grade { margin: 12px 0 24px; font-size: 16px; line-height: 1.5; }
.post-texto .grade--uma { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
.post-texto .anuncio { margin: 32px 0; }
.oferta-encerrada { padding: 12px 14px; border-radius: 14px; background: var(--sp-surface); border: 1px solid var(--sp-border); color: var(--sp-muted); font-size: 15px; }
.oferta-trocada { margin: 0 0 8px; color: var(--sp-muted); font-size: 14px; text-align: center; }
.post-nota { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--sp-border); font-size: 14px; color: var(--sp-muted); }
.aviso-previa { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: rgba(251, 191, 36, 0.15); color: #fcd34d; font-weight: 700; }
@media (min-width: 600px) {
  .post-texto .grade--uma .card { grid-template-columns: 180px 1fr; grid-template-areas: "foto info" "foto acao"; }
  .post-texto .grade--uma .card-foto { border-bottom: 0; border-right: 1px solid var(--sp-border); }
}

/* Selo "Favorite-nos no Discover" (Google) */
.selo-discover { display: inline-block; line-height: 0; border-radius: 12px; justify-self: start; }
.selo-discover img { width: 233px; height: auto; border-radius: 12px; display: block; }
.selo-discover:focus-visible { outline: 3px solid var(--sp-cyan, #22d3ee); outline-offset: 3px; }
.selo-discover--intro { margin-top: 12px; }
.post-discover { margin: 28px 0 8px; padding: 16px; border-radius: 18px; background: var(--sp-surface); border: 1px solid var(--sp-border); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.post-discover p { margin: 0; flex: 1 1 240px; font-weight: 600; }

/* Página de links da bio (/links) */
body.bio { min-height: 100vh; color: #fff; }
.bio-caixa { max-width: 480px; margin: 0 auto; padding: 32px 16px 40px; text-align: center; }
.bio-logo { display: block; margin: 0 auto; width: 88px; height: 88px; border-radius: 24px; background: #fff; padding: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.bio h1 { margin: 14px 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.bio-lema { margin: 0 auto 22px; max-width: 34ch; color: var(--sp-text-2); font-size: 15px; line-height: 1.45; }
.bio-botoes { display: grid; gap: 12px; }
.bio-botao { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 12px 18px; border-radius: 16px; text-decoration: none; text-align: left; font-family: var(--sp-font); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .12s ease; }
.bio-botao:hover, .bio-botao:focus-visible { transform: translateY(-1px); }
.bio-botao:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.bio-botao span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.bio-botao strong { font-size: 17px; font-weight: 800; }
.bio-botao small { font-size: 13px; font-weight: 600; opacity: .85; }
.bio-botao svg { flex: none; }
.bio-botao--telegram { background: #229ed9; color: #fff; }
.bio-botao--whatsapp { background: #25d366; color: #073b1c; }
.bio-botao--claro { background: var(--sp-surface-strong); color: #fff; border: 1px solid var(--sp-border-strong); -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur); }
.bio-botao--claro small { color: var(--sp-text-2); opacity: 1; }
.bio-achados { margin-top: 28px; }
.bio-achados h2 { margin: 0 0 12px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sp-link); }
.bio-achados ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bio-achado { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px; border-radius: 18px; background: #fff; color: #0b1736; text-decoration: none; text-align: left; }
.bio-achado img, .bio-achado-sem-foto { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.bio-achado-sem-foto { display: block; background: var(--sp-highlight); }
.bio-achado-nome { font-size: 13px; font-weight: 700; line-height: 1.3; }
.bio-achado-preco { margin-top: auto; font-size: 16px; font-weight: 800; color: #0b1736; }
.bio-redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.bio-redes .rede { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); }
@media (prefers-reduced-motion: reduce) { .bio-botao { transition: none; } .bio-botao:hover { transform: none; } }
.bio-nota { margin: 22px auto 0; max-width: 40ch; font-size: 12px; line-height: 1.5; color: var(--sp-muted); }

/* Compartilhar oferta: ícone nos cards, botões na página da oferta */
.card-compartilhar {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--sp-primary);
  border: 1px solid var(--sp-border); box-shadow: 0 1px 4px rgba(16, 24, 40, .12);
}
.card-compartilhar:hover, .card-compartilhar:focus-visible { background: var(--sp-primary); color: #fff; }
.card-titulo { padding-right: 34px; }
@media (min-width: 600px) { .card-titulo { padding-right: 0; } }

.compartilhar { margin-top: 6px; padding: 16px; border: 1px solid var(--sp-border); border-radius: var(--sp-card-radius); background: var(--sp-surface); max-width: 460px; }
.compartilhar h2 { margin: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--sp-navy); }
.compartilhar-botoes { display: flex; flex-wrap: wrap; gap: 8px; }
.compartilhar-botao {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--sp-touch-target); padding: 0 14px;
  border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff;
}
.compartilhar-botao:hover { color: #fff; filter: brightness(1.06); text-decoration: none; }
.compartilhar-botao--wa { background: #25d366; color: #073b1c; }
.compartilhar-botao--wa:hover { color: #073b1c; }
.compartilhar-botao--tg { background: #229ed9; }
.compartilhar-botao--fb { background: #1877f2; }
.compartilhar-copiar { display: block; margin: 12px 0 4px; font-size: 13px; color: var(--sp-muted); font-weight: 600; }
.compartilhar-link {
  width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--sp-border); border-radius: 8px;
  font: inherit; font-size: 14px; color: var(--sp-navy); background: var(--sp-background);
}

.convite-canais { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; border-radius: var(--sp-card-radius); background: var(--sp-highlight); max-width: 460px; }
.convite-canais p { margin: 0; font-size: 14px; color: var(--sp-navy); line-height: 1.45; }
.convite-canais-botoes { display: flex; gap: 8px; flex-wrap: wrap; }
.convite-canal { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; }
.convite-canal--telegram { background: #229ed9; color: #fff; }
.convite-canal--whatsapp { background: #25d366; color: #073b1c; }
.convite-canal:hover { filter: brightness(1.06); text-decoration: none; }

.parecidas { margin-top: 28px; }
.ver-mais { margin: 16px 0 0; text-align: center; }
.texto-data ul.links-explorar { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.links-explorar li { margin: 0; }
.links-explorar .chip { text-decoration: none; }
.links-explorar .chip small { margin-left: 4px; opacity: .7; font-weight: 600; }

/* =====================================================================
   Tema "Vidro noturno" (out/2026) — camada final sobre os componentes.
   ===================================================================== */
body {
  background-color: var(--sp-background);
  background-image:
    radial-gradient(42vw 42vw at 6% 8%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(40vw 40vw at 96% 4%, rgba(59, 130, 246, 0.2), transparent 62%),
    radial-gradient(46vw 46vw at 78% 78%, rgba(139, 92, 246, 0.13), transparent 62%),
    radial-gradient(40vw 40vw at 10% 92%, rgba(14, 165, 233, 0.1), transparent 62%);
  background-attachment: fixed; background-repeat: no-repeat;
}
h1, h2, h3, .preco, .cupom-valor, .campanha-titulo, .loja-card strong, .contagem strong { font-family: var(--sp-font-title); }
h1 { letter-spacing: -0.03em; }
::selection { background: rgba(34, 211, 238, 0.35); color: #fff; }

/* Cabeçalho de vidro */
.topo {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 11, 26, 0.6); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border-bottom: 1px solid var(--sp-border);
}
.topo::after { display: none; }
.busca input {
  border: 1px solid var(--sp-border); border-radius: 999px; background-color: var(--sp-field); color: var(--sp-text);
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' fill='none' stroke='%239aa6c4' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 17px 50%;
}
.busca input::placeholder { color: var(--sp-muted); }
.busca input:focus-visible { border-radius: 999px; }
.busca { position: relative; }
.busca button {
  position: absolute; right: 4px; top: 4px; height: calc(100% - 8px); padding: 0 16px; border-radius: 999px;
  background: var(--sp-surface-strong); color: var(--sp-text); font: 600 14px var(--sp-font);
}
.busca button:hover { background: var(--sp-gradient-action); color: var(--sp-on-accent); }
.busca input { padding-right: 96px; }
.canal { background: var(--sp-surface); border: 1px solid var(--sp-border); color: var(--sp-text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.canal:hover { background: var(--sp-surface-strong); border-color: var(--sp-border-strong); color: #fff; }

/* Menu de seções em pílula de vidro */
.atalhos { background: transparent; border: 0; padding-top: 14px; }
.atalhos .container { display: block; overflow: visible; }
.atalhos-trilho {
  display: inline-flex; max-width: 100%; gap: 2px; padding: 5px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: var(--sp-surface); border: 1px solid var(--sp-border); -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur);
}
.atalhos-trilho::-webkit-scrollbar { display: none; }
.atalhos a { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; color: var(--sp-muted); font-weight: 600; }
.atalhos a:hover { color: #fff; background: var(--sp-surface); }
.atalhos a[aria-current="page"] { background: #fff; color: #070b1a; border: 0; }

/* Títulos */
.intro { padding-top: 26px; }
.intro h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; font-weight: 800; color: #fff; }
.intro h1 em, .destaque-grad { font-style: normal; background: var(--sp-gradient-title); -webkit-background-clip: text; background-clip: text; color: transparent; }
.secao-titulo { font-weight: 800; letter-spacing: -0.02em; }

/* Filtros: abas + menus (sem JavaScript: <details>) */
.filtros {
  position: relative; z-index: 20; display: flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px;
  border-radius: 20px; background: var(--sp-surface); border: 1px solid var(--sp-border);
  -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur);
}
.abas { display: none; flex: 1; min-width: 0; gap: 2px; }
.aba {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 14px; white-space: nowrap;
  color: var(--sp-muted); font-size: 14px; font-weight: 600; text-decoration: none;
}
.aba:hover { color: #fff; background: var(--sp-surface); }
.aba[aria-current="true"] { background: #fff; color: #070b1a; }
.aba small { font-size: 12px; opacity: 0.6; font-weight: 600; }
.menu-filtro { position: relative; flex: 1; }
.menu-filtro > summary {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; list-style: none; cursor: pointer;
  border: 1px solid var(--sp-border); border-radius: 14px; background: var(--sp-surface-strong); color: var(--sp-text); font-size: 14px; white-space: nowrap;
}
.menu-filtro > summary::-webkit-details-marker { display: none; }
.menu-filtro > summary b { font-weight: 700; color: #fff; }
.menu-filtro > summary::after {
  content: ""; width: 7px; height: 7px; margin-left: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-3px); opacity: 0.7;
}
.menu-filtro[open] > summary { border-color: var(--sp-border-strong); }
/* Fundo escurecido: tocar fora fecha o menu (o fundo faz parte do <summary>). */
.menu-filtro[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(2, 5, 14, 0.55); cursor: default; }
.menu-lista {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 78vh; overflow-y: auto;
  padding: 10px 16px 22px; border-radius: 26px 26px 0 0; background: rgba(15, 22, 48, 0.97); border-top: 1px solid var(--sp-border-strong);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
}
.menu-lista::before { content: ""; display: block; width: 40px; height: 5px; margin: 0 auto 12px; border-radius: 5px; background: rgba(255, 255, 255, 0.25); }
.menu-titulo { margin: 0 0 6px; padding: 0 6px; font: 700 19px var(--sp-font-title); color: #fff; }
.menu-lista a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 8px;
  border-bottom: 1px solid var(--sp-border); color: var(--sp-text); text-decoration: none; font-size: 15px; font-weight: 500;
}
.menu-lista a:last-child { border-bottom: 0; }
.menu-lista a small { color: var(--sp-muted); }
.menu-lista a[aria-current="true"] { font-weight: 700; color: #fff; }
.menu-lista a[aria-current="true"]::after { content: "✓"; color: var(--sp-cyan); font-weight: 800; }
.menu-lista a[aria-current="true"] small { display: none; }
@media (min-width: 600px) {
  .menu-filtro { flex: none; }
  .menu-filtro[open] > summary::before { background: transparent; }
  .menu-lista {
    position: absolute; left: auto; right: 0; bottom: auto; top: calc(100% + 10px); width: 280px; max-height: 420px;
    padding: 6px; border-radius: 18px; border: 1px solid var(--sp-border-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  }
  .menu-lista::before, .menu-titulo { display: none; }
  .menu-lista a { min-height: 42px; padding: 0 12px; border: 0; border-radius: 12px; font-size: 14px; }
  .menu-lista a:hover { background: var(--sp-surface-strong); }
}
@media (min-width: 1024px) {
  .abas { display: flex; }
  .menu-filtro--categorias .menu-lista a.na-aba { display: none; }
  .menu-filtro--categorias.sem-mais { display: none; }
  .so-cel { display: none; }
}
@media (max-width: 1023px) { .so-pc { display: none; } }

/* Cards de oferta em vidro */
.grade { gap: 18px; margin-top: 22px; }
.card {
  background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: var(--sp-card-radius);
  box-shadow: var(--sp-shadow); -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur);
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--sp-border-strong); transform: translateY(-2px); }
.card-foto { border-radius: 16px; background: #fff; }
.card-titulo { font-weight: 600; color: #fff; }
.card-titulo a:hover { color: var(--sp-link); }
.card-loja { color: var(--sp-muted); font-weight: 500; }
.preco { color: #fff; letter-spacing: -0.02em; }
.preco-de { color: var(--sp-faint); }
.selo { background: rgba(34, 211, 238, 0.14); color: #67e8f9; }
.card-meta { color: var(--sp-faint); }
.cta {
  border-radius: 999px; background: var(--sp-gradient-action); color: var(--sp-on-accent); font-weight: 700;
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.cta:hover { color: var(--sp-on-accent); filter: brightness(1.08); }
.cta-nota { color: var(--sp-faint); }
.card-compartilhar { background: rgba(7, 11, 26, 0.62); color: #fff; border: 1px solid var(--sp-border-strong); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card-compartilhar:hover, .card-compartilhar:focus-visible { background: var(--sp-cyan); color: var(--sp-on-accent); }
.cupom-codigo { border-color: var(--sp-cyan); color: #a5f3fc; }
@media (min-width: 600px) {
  .card { padding: 10px; }
  .card-foto { border-radius: 16px; border-bottom: 0; }
  .card-info { padding: 14px 8px 6px; }
  .card-acao { padding: 6px 6px 8px; }
}

/* Superfícies de vidro (painéis, estados, caixas de texto) */
.estado, .detalhe, .texto, .passos, .perguntas, .nota-curadoria, .texto-data, .outras-lojas, .guias-data,
.cupom-card, .loja-card, .post-card, .compartilhar, .paginacao a, .paginacao span.desativado {
  background: var(--sp-surface); border-color: var(--sp-border);
  -webkit-backdrop-filter: var(--sp-glass-blur); backdrop-filter: var(--sp-glass-blur);
}
.estado h2, .texto h1, .texto h2, .detalhe-info h1, .cupom-titulo, .post-card-titulo, .post-cabecalho h1, .post-texto h2, .post-texto h3 { color: #fff; }
.texto p, .texto li, .post-texto { color: var(--sp-text-2); }
.post-texto strong, .texto strong { color: #fff; }
.post-texto a, .texto a { color: var(--sp-link); }
.botao-sec { background: transparent; border: 1px solid var(--sp-border-strong); color: #fff; border-radius: 999px; }
.botao-sec:hover { background: var(--sp-surface-strong); color: #fff; }
.paginacao a, .paginacao span.desativado { border-radius: 999px; color: #fff; }
.paginacao a:hover { border-color: var(--sp-cyan); color: var(--sp-link); }
.detalhe-foto { border-radius: 20px; border: 0; }
.expirada { background: rgba(251, 191, 36, 0.12); color: #fcd34d; }
.cupom-valor { background: var(--sp-highlight); border-color: var(--sp-cyan); color: #a5f3fc; border-radius: 16px; }
.cupom-codigo--grande { background: var(--sp-highlight); color: #fff; }
.loja-card { color: #fff; }
.loja-card:hover { border-color: var(--sp-cyan); color: var(--sp-link); }
.post-tipo { color: var(--sp-link); }
.post-card-titulo a:hover { color: var(--sp-link); }
.post-card-foto { border-bottom-color: var(--sp-border); }
.post-linha-fina { color: var(--sp-text-2); }
.post-texto .grade--uma .card-foto { border-right: 0; }
.guias-data a { color: var(--sp-link); }
.trilha a { color: var(--sp-muted); }
.trilha a:hover { color: #fff; }
.compartilhar-link { background: var(--sp-field); border-color: var(--sp-border); color: var(--sp-text); }
.convite-canais { background: var(--sp-surface); border: 1px solid var(--sp-border); }
.convite-canais p { color: var(--sp-text); }
.anuncio { border-top-color: var(--sp-border); }
.newsletter h2 { color: #fff; }
.rodape::before { display: none; }
.rodape .rede:hover { background: var(--sp-gradient-action); color: var(--sp-on-accent); }
.data-rotulo { background: rgba(255, 255, 255, 0.14); }
:focus-visible { outline-color: var(--sp-cyan); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* Página de links da bio */
body.bio { background-color: var(--sp-background); }
.bio-logo { background: #fff; }
/* Chips (cupons de outras lojas): quebram linha, sem barra de rolagem */
.chips { flex-wrap: wrap; overflow: visible; padding: 2px 0; }
.chip { border: 1px solid var(--sp-border); background: var(--sp-surface); color: var(--sp-text); }
.chip:hover { border-color: var(--sp-cyan); color: #fff; }
.chip[aria-current="true"] { background: #fff; border-color: #fff; color: #070b1a; }
/* Sem backdrop-filter nos filtros: ele prenderia a lista "de baixo para cima" (position: fixed) dentro da caixa. */
.filtros { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, 0.05); }
.loja-card--data { background: var(--sp-gradient-action); border-color: transparent; color: var(--sp-on-accent); }
.loja-card--data:hover { color: var(--sp-on-accent); }

/* Histórico de preço (out/2026): selo "menor preço em 30 dias" e gráfico na página da oferta. */
.menor-preco { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34, 211, 238, 0.35); color: #67e8f9; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.menor-preco .icone { flex: none; }
.detalhe .menor-preco { font-size: 14px; padding: 6px 12px; margin-top: 10px; }
.envio-brasil { width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 7px; margin: 6px 0 0; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, 0.13); border: 1px solid rgba(34, 197, 94, 0.38); color: #86efac; font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.envio-brasil .ponto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.detalhe .envio-brasil { font-size: 14px; padding: 6px 12px; margin-top: 10px; }
.historico-preco { margin-top: 28px; padding: 20px; border-radius: var(--sp-large-radius); background: var(--sp-surface); border: 1px solid var(--sp-border); }
.historico-preco .secao-titulo { margin-top: 0; }
.grafico-precos { display: block; width: 100%; height: auto; max-height: 260px; }
.grafico-estreito { display: none; }
.grafico-estreito .grafico-rotulo { font-size: 12px; }
.grafico-grade { stroke: var(--sp-border-strong); stroke-width: 1; stroke-dasharray: 4 6; }
.grafico-menor { stroke: rgba(34, 211, 238, 0.55); }
.grafico-area { fill: rgba(34, 211, 238, 0.1); stroke: none; }
.grafico-linha { fill: none; stroke: var(--sp-cyan); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.grafico-ponto { fill: var(--sp-background); stroke: var(--sp-cyan); stroke-width: 2; }
.grafico-rotulo { fill: var(--sp-muted); font-family: var(--sp-font); font-size: 13px; font-weight: 600; }
.grafico-rotulo--menor { fill: #67e8f9; }
.historico-numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 14px 0 0; }
.historico-numeros li { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; background: var(--sp-surface); border: 1px solid var(--sp-border); }
.historico-numeros span { color: var(--sp-muted); font-size: 12.5px; }
.historico-numeros strong { font-family: var(--sp-font-title); font-size: 19px; color: var(--sp-navy); }
.historico-numeros small { color: var(--sp-faint); font-size: 12px; }
.historico-nota { margin: 12px 0 0; color: var(--sp-muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 599px) {
  .historico-preco { padding: 16px; }
  .grafico-largo { display: none; }
  .grafico-estreito { display: block; max-height: none; }
  .historico-numeros { grid-template-columns: 1fr; }
  .historico-numeros li { flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
}

/* Logomarcas das lojas (public/marca/lojas): selo branco no lugar do nome. */
.logo-loja { display: inline-flex; align-items: center; vertical-align: middle; background: #fff; border-radius: 999px; padding: 4px 10px; line-height: 0; }
.logo-loja img { display: block; height: 18px; width: auto; max-width: 110px; }
.logo-loja--empilhado { border-radius: 10px; padding: 3px 8px; }
.logo-loja--empilhado img { height: 30px; }
.detalhe .logo-loja { padding: 5px 12px; }
.detalhe .logo-loja img { height: 22px; max-width: 130px; }
.detalhe .logo-loja--empilhado img { height: 38px; }

/* Página do guia do afiliado: o botão mantém a cor do CTA dentro de .texto */
.texto a.cta, .texto a.cta:hover { color: var(--sp-on-accent); text-decoration: none; }
