/* ============================================================
   Guia Mania — Ofertas (versão alta conversão)
   Verde = ação/CTA · Laranja-vermelho = urgência/desconto · Amarelo = avaliação
   Tipografia: Poppins (preços/títulos, peso forte) + Inter (texto)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --ink: #1A1D23;
  --ink-soft: #5B6270;
  --line: #E7E9EE;

  --green: #17A34A;
  --green-dark: #128238;
  --green-bg: #E7F8ED;

  --red: #E8391F;
  --red-dark: #C22C15;

  --orange: #FF7A1A;
  --orange-bg: #FFF1E5;

  --yellow: #FFB800;

  --blue: #2563EB;
  --blue-bg: #EAF1FE;

  --sans: 'Inter', -apple-system, sans-serif;
  --display: 'Poppins', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Barra de urgência ---------- */
.urgency-bar {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
}
.urgency-bar #countdown { font-variant-numeric: tabular-nums; margin-left: 6px; }

/* ---------- Header ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--green); }
.trust-mini { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-dark); }

/* ---------- Hero ---------- */
.hero { padding: 32px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.ribbon {
  position: absolute; top: 16px; left: -6px;
  background: var(--green); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 12px;
  padding: 6px 14px 6px 18px; border-radius: 0 4px 4px 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.discount-flag {
  position: absolute; top: 16px; right: 16px;
  background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 18px;
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1; box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.discount-flag small { font-size: 9px; font-weight: 700; margin-top: 2px; }

.category-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue);
  background: var(--blue-bg); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.hero h1 { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1.28; margin: 0 0 10px; }

.stars { color: var(--yellow); font-size: 16px; letter-spacing: 1px; }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; flex-wrap: wrap; }
.rating-row strong { color: var(--ink); }
.sold-badge { background: var(--orange-bg); color: var(--orange); font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 20px; }

.price-card { background: var(--green-bg); border: 1px solid #CBEAD6; border-radius: 14px; padding: 18px 20px; margin: 14px 0; }
.price-original { text-decoration: line-through; color: var(--ink-soft); font-size: 15px; }
.price-offer { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--green-dark); display: block; margin: 2px 0; }
.installments { font-size: 14px; color: var(--ink-soft); }

.stock-wrap { margin: 16px 0; }
.stock-label { font-size: 13.5px; font-weight: 700; color: var(--red); margin-bottom: 6px; display: block; }
.stock-bar { height: 8px; background: var(--line); border-radius: 20px; overflow: hidden; }
.stock-bar-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--orange)); border-radius: 20px; }

.cta-button {
  display: block; width: 100%; text-align: center;
  background: var(--green); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 17px;
  text-decoration: none; padding: 16px 28px; border-radius: 12px;
  box-shadow: 0 8px 18px rgba(23,163,74,0.35);
  transition: transform 0.12s ease, background 0.12s ease;
}
.cta-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.cta-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.cta-sub { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.trust-item { text-align: center; font-size: 11.5px; color: var(--ink-soft); font-weight: 600; }
.trust-item .ic { font-size: 20px; display: block; margin-bottom: 4px; }

/* ---------- Toast de atividade recente ---------- */
#activity-toast {
  position: fixed; bottom: 18px; left: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12); border-radius: 12px;
  padding: 12px 16px; font-size: 13px; max-width: 280px;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(120%); transition: transform 0.4s ease; z-index: 40;
}
#activity-toast.show { transform: translateY(0); }
#activity-toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ---------- Seções ---------- */
section.block { padding: 32px 0; }
section.block h2 { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 0 0 18px; }

.description-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; max-width: 68ch; font-size: 15.5px; }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.benefit-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.benefit-card .ic { font-size: 22px; background: var(--green-bg); width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-card p { margin: 0; font-size: 14.5px; font-weight: 500; }

.cons-box { background: var(--card); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 20px; margin-top: 14px; }
.cons-box h3 { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; }
.cons-box ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); }
.cons-box li { margin-bottom: 4px; }

.specs-table { width: 100%; max-width: 600px; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.specs-table tr:nth-child(even) { background: #FAFBFC; }
.specs-table td { padding: 12px 18px; font-size: 14.5px; }
.specs-table td:first-child { color: var(--ink-soft); font-weight: 500; width: 44%; }
.specs-table td:last-child { font-weight: 700; }

.rating-summary { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 18px; }
.rating-summary .big-num { font-family: var(--display); font-size: 40px; font-weight: 800; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-bg); color: var(--blue); font-family: var(--display); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.review-name { font-weight: 700; font-size: 14.5px; }
.verified-badge { font-size: 11px; color: var(--green-dark); background: var(--green-bg); padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.review-date { font-size: 12.5px; color: var(--ink-soft); margin-left: auto; }
.review-text { font-size: 14.5px; margin: 6px 0 0; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; font-size: 15px; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14.5px; }

.final-cta { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: 20px; padding: 36px 28px; text-align: center; color: #fff; margin: 20px 0 8px; }
.final-cta h2 { color: #fff; font-family: var(--display); font-size: 22px; margin: 0 0 6px; }
.final-cta p { margin: 0 0 18px; opacity: 0.9; font-size: 14.5px; }
.final-cta .cta-button { background: #fff; color: var(--green-dark); max-width: 360px; margin: 0 auto; }
.final-cta .cta-button:hover { background: #F2F2F2; }
.guarantee-seal { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; opacity: 0.9; }

.site-footer { padding: 26px 0 90px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.site-footer .disclosure { max-width: 62ch; margin: 0 auto 8px; }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px; display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.08); z-index: 50;
}
.sticky-bar .price { font-family: var(--display); font-weight: 800; color: var(--green-dark); font-size: 17px; }
.sticky-bar .cta-button { width: auto; padding: 12px 22px; font-size: 14.5px; }
.sticky-bar.show { display: flex; }

.index-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.index-list a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; text-decoration: none; }
.index-list .idx-title { font-family: var(--display); font-weight: 700; font-size: 16px; }
.index-list .idx-price { color: var(--green-dark); font-weight: 700; margin-left: 8px; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 22px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  #activity-toast { left: 10px; bottom: 78px; max-width: 240px; }
}

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