/* projetor.css — CSS compartilhado das paginas /projetor/ (extraido 10/06/2026,
   auditoria T2). Base = variante inline de 29 paginas, preservada na integra e
   na ordem original (duplicatas sao patches de cascata — NAO deduplicar).
   Extras de outras variantes anexados no fim. Paginas linkam ../projetor.css. */


.proj-hero { padding: 120px 0 60px; background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(79,163,199,0.10) 0%, transparent 60%), linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%); }
    .proj-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
    .proj-breadcrumb a { color: var(--primary); }
    .proj-breadcrumb a:hover { color: var(--accent); }
    .proj-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 20px; margin-bottom: 18px; }
    .proj-brand { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
    .proj-model { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; }
    .proj-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
    .proj-badge { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.82rem; color: var(--text); background: rgba(79,163,199,0.06); }
    .proj-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
    @media (max-width: 880px) { .proj-hero-grid { grid-template-columns: 1fr; } }
    .proj-video-wrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--glow-sm); }
    .proj-video-wrap iframe { width: 100%; height: 100%; border: 0; }
    .proj-price-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
    .proj-price-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
    .proj-price-value { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
    .proj-price-cents { font-size: 1.1rem; color: var(--text-muted); margin-left: 4px; }
    .proj-price-meta { font-size: 0.85rem; color: var(--text-dim); margin-top: 8px; margin-bottom: 18px; }
    .proj-store-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
    .proj-store-btn { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-radius: var(--radius); background: #fff; color: #222; border: 1.5px solid rgba(0,0,0,0.08); box-shadow: var(--elev-store); transition: all var(--transition); font-size: 0.92rem; text-decoration: none; min-height: 52px; }
    .proj-store-btn:hover { transform: translateY(-1px); box-shadow: var(--elev-store-hover); }
    .proj-store-btn .store-name { display: flex; align-items: center; gap: 10px; font-weight: 700; }
    .proj-store-btn .store-logo { width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .proj-store-btn .store-price { font-weight: 800; font-size: 1rem; }
    .proj-store-btn.store-ali { color: #e43225; }
    .proj-store-btn.store-ali:hover { border-color: rgba(228,50,37,0.45); }
    .proj-store-btn.store-ali .store-logo { height: 26px; }
    .proj-store-btn.store-shopee { color: #EE4D2D; }
    .proj-store-btn.store-shopee:hover { border-color: rgba(238,77,45,0.45); }
    .proj-store-btn.store-shopee .store-logo { height: 32px; }
    .proj-store-btn.store-ml { color: #1a3fbf; }
    .proj-store-btn.store-ml:hover { border-color: rgba(26,63,191,0.4); }
    .proj-store-btn.store-ml .store-logo { height: 28px; margin-left: -14px; }
    .proj-store-btn.store-winner { position: relative; border-width: 2px; }
    .proj-store-btn.store-winner.store-ali    { border-color: rgba(228,50,37,0.55); box-shadow: 0 4px 18px rgba(228,50,37,0.22); }
    .proj-store-btn.store-winner.store-shopee { border-color: rgba(238,77,45,0.55); box-shadow: 0 4px 18px rgba(238,77,45,0.22); }
    .proj-store-btn.store-winner.store-ml     { border-color: rgba(26,63,191,0.5);  box-shadow: 0 4px 18px rgba(26,63,191,0.22); }
    .proj-store-btn.store-winner .winner-badge { position: absolute; top: -9px; right: 14px; padding: 2px 9px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; color: #fff; line-height: 1.4; }
    .proj-store-btn.store-winner.store-ali    .winner-badge { background: #e43225; }
    .proj-store-btn.store-winner.store-shopee .winner-badge { background: #EE4D2D; }
    .proj-store-btn.store-winner.store-ml     .winner-badge { background: #1a3fbf; }
    .proj-coupon { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; background: rgba(143,211,255,0.06); border: 1px dashed rgba(143,211,255,0.32); border-radius: var(--radius); font-size: 0.85rem; }
    .proj-coupon code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 700; color: var(--accent); letter-spacing: 0.05em; }
    .copy-btn { padding: 6px 12px; border: 1px solid var(--border-hover); background: transparent; color: var(--accent); border-radius: var(--radius); font-size: 0.78rem; cursor: pointer; transition: all var(--transition); font-weight: 600; }
    .copy-btn:hover { background: rgba(143,211,255,0.12); }

    section.proj-section { padding: 56px 0; border-top: 1px solid var(--border); }
    .section-title { font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
    .section-sub { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }
    .proj-verdict { background: linear-gradient(135deg, rgba(79,163,199,0.08), rgba(123,140,255,0.04)); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 22px 26px; font-size: 1.05rem; line-height: 1.7; color: var(--text); }
    .proj-verdict strong { color: var(--accent); }

    .proj-pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    @media (max-width: 720px) { .proj-pc-grid { grid-template-columns: 1fr; } }
    .proj-pc-col { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; }
    .proj-pc-col h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
    .proj-pc-col.pros h3 { color: var(--success); }
    .proj-pc-col.cons h3 { color: var(--warning); }
    .proj-pc-col ul { list-style: none; padding: 0; }
    .proj-pc-col li { position: relative; padding: 8px 0 8px 22px; font-size: 0.93rem; color: var(--text); border-bottom: 1px solid rgba(234,234,234,0.05); }
    .proj-pc-col li:last-child { border-bottom: 0; }
    .proj-pc-col.pros li::before { content: '+'; position: absolute; left: 0; top: 8px; color: var(--success); font-weight: 700; }
    .proj-pc-col.cons li::before { content: '−'; position: absolute; left: 0; top: 8px; color: var(--warning); font-weight: 700; }

    .specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
    .spec-card { padding: 14px 18px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); }
    .spec-card .label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
    .spec-card .val { font-size: 1rem; font-weight: 600; color: var(--text); }

    .price-chart-wrap { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 18px; position: relative; }
    .price-status { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.95rem; line-height: 1.45; border: 1px solid; }
    .price-status.good { background: rgba(91,217,160,0.08); border-color: rgba(91,217,160,0.30); color: #C5F2DB; }
    .price-status.neutral { background: rgba(143,211,255,0.06); border-color: rgba(143,211,255,0.22); color: var(--text); }
    .price-status.bad { background: rgba(255,155,122,0.08); border-color: rgba(255,155,122,0.30); color: #FFD5C2; }
    .price-status .ps-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
    .price-status strong { font-weight: 700; }
    .price-status .ps-sub { display: block; font-size: 0.8rem; opacity: 0.78; margin-top: 2px; font-weight: 400; }
    .price-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
    .filter-chip { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 6px; }
    .filter-chip::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
    .filter-chip[data-filter="todos"]::before { display: none; }
    .filter-chip[data-filter="aliexpress"] { color: #8FD3FF; }
    .filter-chip:hover { border-color: var(--border-hover); }
    .filter-chip.active { background: rgba(79,163,199,0.12); border-color: var(--border-hover); color: var(--text); }
    .filter-chip.active[data-filter="aliexpress"] { background: rgba(143,211,255,0.14); color: #8FD3FF; }
    .chart-canvas-wrap { position: relative; width: 100%; height: 280px; }
    @media (max-width: 640px) { .chart-canvas-wrap { height: 240px; } }
    .price-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
    @media (max-width: 480px) { .price-stats-grid { grid-template-columns: 1fr; gap: 6px; } }
    .price-stat { padding: 12px 14px; background: rgba(79,163,199,0.04); border: 1px solid var(--border); border-radius: var(--radius); }
    .price-stat .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
    .price-stat .val { font-size: 1rem; font-weight: 700; color: var(--text); }
    .price-stat.min .val { color: var(--success); }
    .price-stat.max .val { color: var(--warning); }

    .videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
    .video-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
    .video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
    .video-card-body { padding: 16px 18px; }
    .video-card .video-type { font-size: 0.72rem; color: var(--primary); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
    .video-card h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 6px; line-height: 1.35; }
    .video-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

    .qa-list { display: flex; flex-direction: column; gap: 14px; }
    .qa-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
    .qa-q { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text); margin-bottom: 10px; font-weight: 500; }
    .qa-q::before { content: 'P:'; color: var(--primary); font-weight: 700; min-width: 22px; }
    .qa-a { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text-dim); line-height: 1.6; }
    .qa-a::before { content: 'R:'; color: var(--accent); font-weight: 700; min-width: 22px; }
    .qa-author { font-size: 0.74rem; color: var(--text-muted); margin-left: 32px; margin-top: 6px; letter-spacing: 0.04em; }

    .proj-cta-final { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
    @media (max-width: 720px) { .proj-cta-final { grid-template-columns: 1fr; } }
    .proj-cta-card { background: rgba(79,163,199,0.06); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; transition: all var(--transition); }
    .proj-cta-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--glow-sm); }
    .proj-cta-card h4 { font-size: 1rem; margin-bottom: 6px; }
    .proj-cta-card p { font-size: 0.85rem; color: var(--text-muted); }

    .acc-cat { margin-top: 22px; }
    .acc-cat:first-of-type { margin-top: 4px; }
    .acc-cat-label { font-size: 0.74rem; color: var(--primary); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
    .acc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .acc-card { position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); color: var(--text); text-decoration: none; }
    .acc-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--glow-sm); }
    .acc-card.destaque { border-color: rgba(143,211,255,0.42); box-shadow: 0 0 14px rgba(143,211,255,0.18); }
    .acc-card.destaque::before { content: '★ Indicado'; display: inline-block; position: absolute; top: 8px; left: 8px; padding: 3px 8px; background: rgba(143,211,255,0.22); color: var(--accent); border-radius: 999px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.05em; z-index: 2; backdrop-filter: blur(8px); }
    .acc-card-img { aspect-ratio: 1 / 1; overflow: hidden; background: rgba(0,0,0,0.3); }
    .acc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
    .acc-card:hover .acc-card-img img { transform: scale(1.05); }
    .acc-card-body { padding: 10px 12px 12px; }
    .acc-card h4 { font-size: 0.86rem; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
    .acc-card p { font-size: 0.74rem; color: var(--text-muted); line-height: 1.45; margin: 0; }

    /* mobile-patched-2026-05-14 */
    /* mobile-v2-patched-2026-05-14 */
    .proj-breadcrumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    @media (max-width: 480px) {
      .proj-coupon { flex-direction: column; align-items: stretch; gap: 10px; }
      .proj-coupon .copy-btn { width: 100%; }
      .copy-btn { min-height: 44px; padding: 10px 14px; font-size: 0.86rem; }
      .proj-store-btn { min-height: 48px; padding: 14px 16px; }
      .proj-breadcrumb { word-break: break-word; white-space: normal; }
      .specs-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 400px) {
      .chart-canvas-wrap { height: 180px; }
      .mobile-menu-btn { width: 32px; height: 32px; }
    }
    @media (max-width: 360px) {
      .videos-grid { grid-template-columns: 1fr; }
      .specs-grid { grid-template-columns: 1fr; }
    }
    @supports not (aspect-ratio: 16 / 9) {
      .video-card iframe { height: 0; padding-bottom: 56.25%; }
      .proj-video-wrap { padding-top: 56.25%; height: 0; }
      .proj-video-wrap iframe { position: absolute; top: 0; left: 0; }
    }


/* ===== extras de outras variantes (seletores ausentes na base) ===== */

.proj-tagline { font-size: 1.05rem; color: var(--text-dim); max-width: 720px; margin-bottom: 28px; }

.proj-badge.highlight { background: linear-gradient(135deg, rgba(79,163,199,0.18), rgba(143,211,255,0.12)); border-color: var(--border-hover); color: var(--accent); font-weight: 600; }

.filter-chip[data-filter="shopee"] { color: var(--warning); }

.filter-chip.active[data-filter="shopee"] { background: rgba(255,155,122,0.14); color: var(--warning); }

.filter-chip[data-filter="ml"] { color: #FFD15A; }

.filter-chip.active[data-filter="ml"] { background: rgba(255,209,90,0.14); color: #FFD15A; }

.proj-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }

.proj-quote {
      padding: 18px 20px;
      background: rgba(79,163,199,0.04);
      border-left: 2px solid var(--primary);
      border-radius: 0 var(--radius) var(--radius) 0;
      font-style: italic;
      color: var(--text);
      font-size: 0.95rem;
      line-height: 1.6;
    }

.proj-quote cite {
      display: block; font-style: normal; font-size: 0.78rem;
      color: var(--text-muted); margin-top: 10px; letter-spacing: 0.04em;
    }

@media (max-width: 720px) {
  .proj-quotes { grid-template-columns: 1fr; }
}


/* ===== redesign 10/06/2026 ===== */

/* Byline E-E-A-T: quem testou + quando (data real de publicação do vídeo) */
.proj-byline { font-size: 0.82rem; color: var(--text-muted); margin: -8px 0 18px; }

/* Anti-CLS: o overlay troca os botões/cupons depois do load; reserva a altura
   de 1 botão pra grade não pular quando o slot é re-preenchido. */
.proj-store-btns { min-height: 52px; }

/* Facade do YouTube — thumb + play; o iframe (1MB+ de JS do player) só carrega
   no clique (handler no projetor-page.js). Mesmo box do iframe que substitui. */
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.video-card .yt-facade { aspect-ratio: 16 / 9; height: auto; }
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.yt-facade:hover img { transform: scale(1.03); }
.yt-facade .yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: rgba(20, 24, 43, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.yt-facade:hover .yt-facade-play {
  background: #f00;
  transform: translate(-50%, -50%) scale(1.06);
}
.yt-facade .yt-facade-play svg { display: block; margin-left: 2px; }
@supports not (aspect-ratio: 16 / 9) {
  .proj-video-wrap .yt-facade { position: absolute; top: 0; left: 0; }
}

/* ===== etapa 2.1 (10/06/2026): monetizacao mobile + selo + validade de cupom ===== */
/* No mobile o hero empilha (880px, grid de 1 coluna) e o card de preco ficava
   abaixo do video: o comprador rolava sem ver preco/CTA. order:-1 sobe o card. */
@media (max-width: 880px) { .proj-hero-grid > .proj-price-card { order: -1; } }

/* Selo "menor preco do nosso historico" no card (injetado por prices-overlay.js
   so quando preco_atual <= preco_min_historico e a serie tem 14+ dias) */
.proj-lowest-flag { margin: 10px 0 2px; font-size: 0.84rem; font-weight: 700; color: rgba(91, 217, 160, 0.95); }
.proj-lowest-flag span { font-weight: 400; color: var(--text-dim); font-size: 0.74rem; }

/* Validade/minimo do cupom ("expira hoje" / "valido ate dd/mm"), renderizado
   pelo projetor-page.js a partir dos campos novos do prices.json */
.proj-coupon-val { display: block; font-size: 0.72rem; color: var(--text-dim); font-weight: 400; margin-top: 2px; }
.proj-coupon-val.hoje { color: rgba(255, 155, 122, 0.95); font-weight: 600; }
