/* Ofertas Tech Brasil — layout responsivo */
:root {
  --navy-950: #051428;
  --navy-900: #071a33;
  --navy-800: #0b2547;
  --navy-700: #12325e;
  --blue: #1565c0;
  --blue-light: #4f9cf9;
  --green: #1f9d45;
  --green-dark: #167a35;
  --green-light: #3ddc6a;
  --bg: #f3f6fa;
  --card: #ffffff;
  --text: #17212f;
  --muted: #5b6878;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 30, 60, .06), 0 6px 18px rgba(15, 30, 60, .06);
  --shadow-hover: 0 4px 10px rgba(15, 30, 60, .08), 0 14px 32px rgba(15, 30, 60, .12);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Topo ---------- */
.site-top { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.topbar { background: var(--navy-950); color: #b9c8dc; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar nav { display: flex; gap: 20px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }

.header { background: var(--navy-800); color: #fff; }
.header .container { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand strong { display: block; font-size: 22px; line-height: 1.1; }
.brand small { color: #b7c6da; font-size: 12px; }

.search { flex: 1; display: flex; max-width: 580px; }
.search input {
  flex: 1; min-width: 0; border: 2px solid transparent; border-radius: 10px 0 0 10px;
  padding: 11px 14px; font: inherit; font-size: 15px; color: var(--text);
}
.search input:focus { outline: none; border-color: var(--blue-light); }
.search button {
  border: 0; border-radius: 0 10px 10px 0; background: var(--blue); color: #fff;
  padding: 0 16px; cursor: pointer; display: grid; place-items: center;
}
.search button:hover { background: #0f56a8; }
.search button .icon { width: 20px; height: 20px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-link { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 10px; border-radius: 8px; position: relative; }
.header-link:hover { background: rgba(255, 255, 255, .08); }
.header-link .icon { width: 22px; height: 22px; }
.badge-count { background: var(--green-light); color: var(--navy-900); font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.badge-count[hidden] { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; border-radius: 8px; }
.menu-toggle .icon { width: 26px; height: 26px; }

.catnav { background: var(--navy-700); }
.catnav ul { list-style: none; margin: 0 auto; display: flex; gap: 2px; padding: 0 16px; max-width: var(--max); overflow-x: auto; scrollbar-width: none; }
.catnav a { display: block; padding: 11px 14px; color: #e6eef8; text-decoration: none; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.catnav a.active { border-bottom-color: var(--green-light); color: #fff; font-weight: 600; }

/* ---------- Botões e selos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font: inherit; font-weight: 600;
  border: 0; border-radius: 10px; padding: 12px 22px; font-size: 15px; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn.big { padding: 14px 26px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.btn.ghost:hover { background: #eef4fc; }
.btn.disabled { background: #a3adb9; cursor: not-allowed; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }

.tag { display: inline-block; background: var(--green-light); color: var(--navy-900); font-weight: 700; border-radius: 6px; padding: 4px 10px; font-size: 13px; }

.store { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 5px 10px; }
.store::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.store-amazon { background: #fff4e0; color: #a35a00; }
.store-mercado-livre { background: #fff9c4; color: #5d4a00; }
.store-shopee { background: #ffe9e3; color: #c2401c; }

/* ---------- Banner ---------- */
.hero { background: radial-gradient(circle at 78% 45%, #1a4e8c 0%, var(--navy-800) 50%, var(--navy-950) 100%); color: #fff; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 44px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 16px 0 14px; }
.hero h1 span { color: var(--green-light); }
.hero p { font-size: 18px; color: #d3deec; max-width: 540px; margin: 0 0 26px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.benefits { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 32px; font-size: 14px; color: #c9d6e8; }
.benefits span { display: inline-flex; align-items: center; gap: 8px; }
.benefits .icon { color: var(--green-light); width: 20px; height: 20px; }

/* ---------- Faixa de parceiros ---------- */
.partners { background: #fff; border-bottom: 1px solid var(--border); }
.partners .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 16px; padding-bottom: 16px; font-size: 14px; color: var(--muted); }
.partners .store { font-size: 15px; padding: 7px 14px; }
.partners .note { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.partners .note .icon { color: var(--green); }

/* ---------- Seções ---------- */
.section { padding: 40px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.section-head h1, .section-head h2 { margin: 0; font-size: 26px; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head > a { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.section-head > a:hover { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }

/* Card de produto */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px; display: flex; flex-direction: column; gap: 10px; position: relative;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-media { display: block; border-radius: 10px; background: linear-gradient(135deg, #eef4fc, #dfe9f6); aspect-ratio: 4 / 3; padding: 18px; }
.card-media svg { width: 100%; height: 100%; }
.card .cat-label { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.card h3 { font-size: 16px; margin: 0; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--blue); }
.card .desc { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-note { font-size: 13px; font-weight: 600; color: var(--navy-700); }
.ad-label { font-size: 11px; color: var(--muted); text-align: center; }

.fav {
  position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: #6b7685; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transition: color .15s, transform .15s;
}
.fav:hover { color: #e0245e; transform: scale(1.06); }
.fav[aria-pressed="true"] { color: #e0245e; }
.fav[aria-pressed="true"] .icon path { fill: currentColor; }
.fav .icon { width: 20px; height: 20px; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 12px; text-align: center; text-decoration: none; color: var(--text); font-weight: 600;
  box-shadow: var(--shadow); transition: border-color .15s, transform .15s;
}
.cat svg { width: 64px; height: 64px; margin: 0 auto 10px; }
.cat small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.cat:hover { border-color: var(--green); transform: translateY(-2px); }

/* Faixa "como escolhemos" */
.trust { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.trust h2 { grid-column: 1 / -1; margin: 0; font-size: 24px; }
.trust h2 + p { grid-column: 1 / -1; margin: -12px 0 0; color: #c9d6e8; }
.trust div { display: flex; gap: 12px; }
.trust .icon { color: var(--green-light); width: 28px; height: 28px; }
.trust strong { display: block; margin-bottom: 4px; }
.trust span { color: #c9d6e8; font-size: 14px; }
.trust a { color: var(--green-light); }

/* Guias */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.guide { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.guide:hover { border-color: var(--blue-light); }
.guide strong { font-size: 18px; }
.guide span { color: var(--muted); font-size: 14px; }
.guide em { color: var(--blue); font-style: normal; font-weight: 600; font-size: 14px; margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ---------- Listagem ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip { border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--blue-light); }
.chip[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filters label { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.filters select { font: inherit; font-size: 14px; padding: 7px 10px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; color: var(--text); }
.result-count { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

.empty { text-align: center; color: var(--muted); padding: 40px 16px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); grid-column: 1 / -1; }
.empty strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }
.empty .btn { margin-top: 14px; }

/* ---------- Página de produto ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); margin: 22px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.product-media { position: relative; border-radius: 12px; background: linear-gradient(135deg, #eef4fc, #dfe9f6); padding: 40px; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.product-media .fav { top: 14px; right: 14px; }
.product h1 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 12px; }
.product .lead { font-size: 17px; color: #334155; margin: 0 0 16px; }
.ideal { background: #eef7f0; border-left: 4px solid var(--green); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: 15px; margin: 0 0 18px; }
.buy-box { border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: grid; gap: 12px; margin-top: 18px; background: #fafcff; }
.buy-box .price-note { font-size: 15px; }
.buy-box small { color: var(--muted); font-size: 12.5px; }
.reviewed { color: var(--muted); font-size: 13px; margin-top: 14px; }
.pc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 22px; }
.pc section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pc h2 { font-size: 17px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.pc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pc li { display: flex; gap: 8px; font-size: 15px; }
.pc li::before { flex-shrink: 0; font-weight: 700; }
.pros li::before { content: "✓"; color: var(--green); }
.cons li::before { content: "✕"; color: #c2401c; }
.check li::before { content: "•"; color: var(--blue); }

/* ---------- Páginas de texto ---------- */
.page { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; margin: 32px auto; max-width: 820px; box-shadow: var(--shadow); }
.page h1 { margin-top: 0; font-size: clamp(26px, 3.4vw, 34px); }
.page h2 { font-size: 20px; margin-top: 30px; }
.page p, .page li { color: #334155; }
.page .meta { color: var(--muted); font-size: 14px; margin-top: -8px; }
.page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.page th, .page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.page th { background: #f6f9fc; }
.callout { background: #eef4fc; border-radius: 12px; padding: 16px 18px; margin: 20px 0; }

.notice { background: #fff8e1; border: 1px solid #f3dd9b; border-radius: var(--radius); padding: 14px 16px; font-size: 14px; margin-top: 40px; }

.not-found { text-align: center; padding: 70px 16px; }
.not-found h1 { font-size: 64px; margin: 0; color: var(--navy-700); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: #b7c6da; font-size: 14px; margin-top: 56px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.footer h3 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #dbe5f2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { margin-bottom: 12px; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; font-size: 13px; }

/* Barra inferior (celular) */
.bottom-nav { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .pc { grid-template-columns: 1fr; }
  .partners .note { margin-left: 0; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .site-top { position: static; }
  .topbar { display: none; }
  .header .container { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 11px; }
  .menu-toggle { display: block; }
  .header-link span { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav ul { flex-direction: column; }
  .catnav a { border-bottom: 0; border-left: 3px solid transparent; }
  .catnav a.active { border-left-color: var(--green-light); }
  .hero .container { padding-top: 30px; padding-bottom: 30px; }
  .hero-art { display: none; }
  .hero p { font-size: 16px; }
  .benefits { gap: 10px 18px; font-size: 13px; }
  .section { padding-top: 30px; }
  .section-head h1, .section-head h2 { font-size: 21px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 10px; gap: 8px; }
  .card .desc { display: none; }
  .card h3 { font-size: 14px; }
  .card .btn { padding: 10px 8px; font-size: 13px; }
  .fav { top: 16px; right: 16px; width: 32px; height: 32px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; padding: 24px; }
  .product { grid-template-columns: 1fr; padding: 16px; }
  .product-media { padding: 28px; aspect-ratio: 4 / 3; }
  .filters { padding: 12px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; flex-basis: 100%; padding-bottom: 2px; }
  .chip { white-space: nowrap; }
  .page { padding: 22px; margin: 16px 0; }
  .footer .cols { grid-template-columns: 1fr; }

  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: 11px; color: var(--muted); text-decoration: none; position: relative; }
  .bottom-nav a.active { color: var(--blue); font-weight: 600; }
  .bottom-nav .icon { width: 22px; height: 22px; }
  .bottom-nav .badge-count { position: absolute; top: 4px; left: calc(50% + 6px); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ======================================================================
   Conversão e confiança: vitrine animada, selos, notas, segurança
   ====================================================================== */

/* Animação de entrada (só quando o JavaScript está ativo) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Banner com brilho animado */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: flutuar 14s ease-in-out infinite alternate;
}
.hero::before { width: 420px; height: 420px; background: #1f6feb; top: -120px; right: 8%; }
.hero::after { width: 320px; height: 320px; background: #16a34a; bottom: -160px; left: 30%; animation-delay: -7s; opacity: .35; }
@keyframes flutuar { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.15); } }
.hero h1 span {
  background: linear-gradient(90deg, #3ddc6a, #4fd1c5, #3ddc6a); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilho 6s linear infinite;
}
@keyframes brilho { to { background-position: 200% center; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn.light { background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; }
.btn.light:hover { background: rgba(255, 255, 255, .18); }
.btn.big:not(.disabled):not(.light) { box-shadow: 0 8px 24px rgba(31, 157, 69, .35); }

/* Vitrine (carrossel do banner) */
.vitrine { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 16px; backdrop-filter: blur(8px); }
.spot-track { display: grid; }
.spot {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center;
  background: #fff; color: var(--text); border-radius: 14px; padding: 16px;
  opacity: 0; visibility: hidden; transform: translateX(24px) scale(.98); transition: opacity .5s, transform .5s, visibility .5s;
}
.spot.active { opacity: 1; visibility: visible; transform: none; }
.spot-media { position: relative; background: linear-gradient(135deg, #eef4fc, #dfe9f6); border-radius: 12px; aspect-ratio: 1 / 1; padding: 22px; display: grid; place-items: center; }
.spot-media .ribbon { top: 10px; left: 10px; }
.spot h3 { margin: 4px 0 6px; font-size: 19px; }
.hero .spot-ideal { margin: 0 0 12px; color: var(--muted); font-size: 14px; max-width: none; }
.spot .cat-label { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; }
.spot-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.spot-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.spot-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.spot-arrow:hover { background: rgba(255, 255, 255, .12); }
.spot-dots { display: flex; gap: 8px; }
.spot-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.spot-dots button[aria-current="true"] { width: 26px; background: var(--green-light); }

/* Selos e notas */
.card-media { position: relative; }
.ribbon {
  position: absolute; top: 10px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
  background: var(--navy-800); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 7px;
  max-width: calc(100% - 64px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ribbon .icon { width: 14px; height: 14px; color: var(--green-light); }
.ribbon.inline { position: static; max-width: none; }
.score {
  display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px;
  background: #fff; color: var(--navy-800); border-radius: 8px; padding: 4px 8px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.score .icon { width: 14px; height: 14px; color: #f5a524; fill: #f5a524; }
.card-media .score { position: absolute; bottom: 10px; right: 10px; }
.score.big { font-size: 18px; padding: 6px 12px; background: #fff8e6; box-shadow: none; }
.score.big .icon { width: 18px; height: 18px; }

.card .more { font-size: 13px; font-weight: 600; text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.safe-dest { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; color: var(--green-dark); text-align: center; }
.safe-dest .icon { width: 13px; height: 13px; }

/* Seletor por uso */
.chooser { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.chooser .chips { margin-bottom: 20px; }
.chip.big { padding: 10px 18px; font-size: 15px; font-weight: 600; }

/* Faixa de segurança da home */
.safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.safety div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.safety .icon { width: 30px; height: 30px; color: var(--green); margin-bottom: 8px; }
.safety strong { display: block; margin-bottom: 4px; }
.safety span { color: var(--muted); font-size: 14px; }
.safety-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.safety .safety-head { background: none; border: 0; padding: 0; box-shadow: none; }
.safety-head h2 { margin: 0; font-size: 26px; }
.safety-head a { font-weight: 600; text-decoration: none; }

/* Página de produto: nota e proteção */
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.product-actions .reviewed { margin: 0; }
.buy-box .safe-dest { justify-content: flex-start; font-size: 13px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.rating, .protect { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rating-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.rating-top h2 { margin: 0; font-size: 18px; }
.rating-top p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.rating-num { background: var(--navy-800); color: #fff; font-size: 30px; font-weight: 800; border-radius: 14px; padding: 10px 14px; line-height: 1; white-space: nowrap; }
.rating-num small { font-size: 14px; font-weight: 500; opacity: .7; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-top: 10px; font-size: 14px; }
.bar b { font-weight: 700; }
.bar i { grid-column: 1 / -1; height: 8px; background: #e8eef5; border-radius: 999px; overflow: hidden; }
.bar em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--green-light)); border-radius: inherit; transition: width 1s ease; }
.protect h2 { margin: 0 0 8px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.protect h2 .icon { color: var(--green); width: 22px; height: 22px; }
.protect p, .protect li { font-size: 14.5px; color: #334155; }
.protect ul { padding-left: 18px; margin: 10px 0 12px; display: grid; gap: 6px; }
.protect a { font-weight: 600; font-size: 14px; }

/* Fotos dos produtos (quando houver) */
.has-foto { background: #fff; }
.card-media.has-foto, .spot-media.has-foto, .product-media.has-foto { border: 1px solid var(--border); }
.foto { width: 100%; height: 100%; object-fit: contain; display: block; }
.product-media .foto { max-height: 420px; }

/* Barra de compra fixa (celular) */
.buy-bar { display: none; }

/* Página Compre com segurança */
.steps { counter-reset: passo; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 36px 1fr; gap: 12px; background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.steps li::before { content: counter(passo); width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; display: grid; place-items: center; }
.danger { background: #fff1f0; border: 1px solid #ffd2cc; border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.danger strong { color: #b42318; }
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.domains div { border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; }
.domains code { display: block; margin-top: 6px; font-size: 14px; color: var(--green-dark); font-weight: 700; }

@media (max-width: 980px) {
  .safety { grid-template-columns: 1fr 1fr; }
  .detail-row { grid-template-columns: 1fr; }
  .vitrine { max-width: 560px; }
}

@media (max-width: 760px) {
  .hero::before { width: 260px; height: 260px; }
  .hero-art { display: block; }
  .vitrine { padding: 10px; border-radius: 16px; }
  .spot { grid-template-columns: 110px 1fr; gap: 12px; padding: 12px; }
  .spot-media { padding: 12px; }
  .spot-media .ribbon { display: none; }
  .spot h3 { font-size: 15px; }
  .spot-ideal { display: none; }
  .spot-row { margin-bottom: 10px; }
  .spot .btn { padding: 9px 10px; font-size: 13px; }
  .score.big { font-size: 15px; padding: 4px 9px; }
  .chooser { padding: 16px; border-radius: 16px; }
  .chooser .chips { flex-wrap: nowrap; overflow-x: auto; }
  .safety { grid-template-columns: 1fr; }
  .safety-head h2 { font-size: 21px; }
  .ribbon { font-size: 10px; padding: 4px 7px; max-width: calc(100% - 48px); }
  .ribbon .icon { display: none; }
  .card-media .score { font-size: 12px; padding: 3px 6px; }
  .safe-dest { font-size: 10.5px; }
  .domains { grid-template-columns: 1fr; }

  .buy-bar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 64px; z-index: 55;
    background: #fff; border-top: 1px solid var(--border); padding: 10px 16px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
    transform: translateY(150%); transition: transform .3s;
  }
  .buy-bar.show { transform: none; }
  .buy-bar div { flex: 1; min-width: 0; }
  .buy-bar strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar span { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
  .buy-bar span .icon { width: 12px; height: 12px; color: #f5a524; fill: #f5a524; }
  .buy-bar .btn { padding: 10px 14px; font-size: 13px; flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero h1 span { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
