/* public/css/style.css — BaixouAgora v3 Clean */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: hidden; }
:root {
  --laranja: #F97316;
  --laranja-hover: #EA6A00;
  --laranja-light: #FFF4ED;
  --laranja-border: #FFD4B3;
  --preto: #1A1A1A;
  --cinza-100: #F5F5F7;
  --cinza-200: #E8E8ED;
  --cinza-300: #D4D4D4;
  --cinza-500: #6E6E73;
  --cinza-700: #3A3A3C;
  --branco: #FFFFFF;
}
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #F5F5F7; color: var(--preto); min-height: 100vh; -webkit-font-smoothing: antialiased; }

/* TOPBAR */
.topbar { background: var(--laranja); padding: 7px 2rem; text-align: center; font-size: 12px; font-weight: 500; color: #fff; letter-spacing: 0.2px; }

/* HEADER */
header { background: rgba(255,255,255,0.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--cinza-200); padding: 0 2rem; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-icon { width: 32px; height: 32px; background: var(--laranja); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; }
.logo-text { font-weight: 600; font-size: 18px; color: var(--preto); letter-spacing: -0.3px; }
.logo-text span { color: var(--laranja); }
.header-search { flex: 1; max-width: 380px; position: relative; }
.header-search input { width: 100%; background: var(--cinza-100); border: 1px solid var(--cinza-200); border-radius: 10px; padding: 8px 16px 8px 38px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--preto); transition: all 0.2s; }
.header-search input:focus { outline: none; border-color: var(--laranja); background: #fff; box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.header-search::before { content: '🔍'; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 13px; pointer-events: none; }
nav { display: flex; gap: 4px; }
.nav-btn { background: transparent; border: none; color: var(--cinza-500); padding: 6px 12px; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-block; white-space: nowrap; }
.nav-btn:hover { background: var(--cinza-100); color: var(--preto); }
.nav-btn.active { background: var(--laranja); color: #fff; font-weight: 600; }
.nav-short { display: none; }

/* WHATSAPP BANNER (topo) */
.wa-banner { display: block; background: #25D366; padding: 14px 2rem; text-decoration: none; color: #fff; transition: filter 0.15s; }
.wa-banner:hover { filter: brightness(1.05); }
.wa-banner-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; }
.wa-banner-text { font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.wa-banner-cta { background: #fff; color: #128C7E; padding: 7px 16px; border-radius: 8px; font-weight: 800; font-size: 13.5px; flex-shrink: 0; white-space: nowrap; }

/* WHATSAPP CALLOUT (antes do footer) */
.wa-callout { background: #25D366; padding: 2.5rem 2rem; margin-top: 2rem; }
.wa-callout-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; color: #fff; }
.wa-callout-icon { font-size: 56px; flex-shrink: 0; }
.wa-callout-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.wa-callout-text strong { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.25; }
.wa-callout-text span { font-size: 14px; opacity: 0.95; line-height: 1.5; font-weight: 400; }
.wa-callout-cta { background: #fff; color: #128C7E; padding: 12px 22px; border-radius: 10px; font-weight: 800; font-size: 15px; text-decoration: none; flex-shrink: 0; white-space: nowrap; transition: transform 0.15s; }
.wa-callout-cta:hover { transform: translateY(-1px); }

/* HERO */
.hero { background: var(--branco); border-bottom: 1px solid var(--cinza-200); padding: 2rem 2rem 1.75rem; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--laranja-light); border: 1px solid var(--laranja-border); color: var(--laranja); font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.hero-eyebrow::before { content: ''; width: 5px; height: 5px; background: var(--laranja); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-size: 38px; font-weight: 700; line-height: 1.1; color: var(--preto); margin-bottom: 8px; letter-spacing: -1px; }
.hero h1 em { color: var(--laranja); font-style: normal; }
.hero p { color: var(--cinza-500); font-size: 15px; max-width: 400px; line-height: 1.6; font-weight: 400; }
.hero-stats { display: flex; border: 1px solid var(--cinza-200); border-radius: 14px; overflow: hidden; background: var(--cinza-100); }
.stat { text-align: center; padding: 1rem 1.8rem; border-right: 1px solid var(--cinza-200); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--laranja); display: block; line-height: 1; letter-spacing: -0.5px; }
.stat-label { font-size: 11px; color: var(--cinza-500); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; font-weight: 500; }

/* FILTROS */
.filters { background: var(--branco); border-bottom: 1px solid var(--cinza-200); padding: 10px 2rem; position: sticky; top: 52px; z-index: 90; overflow-x: auto; }
.filters-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: max-content; }
.filter-label { font-size: 12px; color: var(--cinza-500); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; white-space: nowrap; margin-right: 6px; }
.chip { background: var(--cinza-100); border: 1px solid var(--cinza-200); color: var(--cinza-700); padding: 5px 13px; border-radius: 20px; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.15s; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-family: 'Inter', sans-serif; }
.chip:hover { border-color: var(--laranja); color: var(--laranja); }
.chip.active { background: var(--laranja); border-color: var(--laranja); color: #fff; font-weight: 600; }

/* TIMER */
.timer-bar { background: var(--laranja-light); border: 1px solid var(--laranja-border); border-radius: 10px; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.timer-text { font-size: 13px; color: var(--laranja-hover); font-weight: 500; }
.timer-countdown { font-size: 18px; font-weight: 700; color: var(--laranja); letter-spacing: 1px; }

/* MAIN */
.main { max-width: 1280px; margin: 0 auto; padding: 1.75rem 2rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.section-title { font-weight: 700; font-size: 20px; color: var(--preto); display: flex; align-items: center; gap: 8px; letter-spacing: -0.3px; }
.section-title::before { content: ''; width: 3px; height: 20px; background: var(--laranja); border-radius: 2px; }
.update-info { font-size: 13px; color: var(--cinza-500); }

/* GRID */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* CARD */
.product-card { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: 14px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; text-decoration: none; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--cinza-300); }
.card-img { width: 100%; aspect-ratio: 1; background: var(--cinza-100); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.platform-badge { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.badge-ml { background: #FFE600; color: #333; }
.badge-amz { background: #FF9900; color: #111; }
.badge-shp { background: #EE4D2D; color: #fff; }
.desconto-badge { position: absolute; top: 8px; left: 8px; background: var(--laranja); color: #fff; font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.destaque-badge { position: absolute; bottom: 8px; left: 8px; background: #1A1A1A; color: #FFD700; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }
.img-placeholder { font-size: 48px; }
.card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.card-cupom { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px dashed #d97706; color: #92400e; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; margin: 6px 0 8px; letter-spacing: 0.2px; }
.card-cupom strong { color: #78350f; font-weight: 800; letter-spacing: 0.4px; }
.card-title { font-size: 13px; font-weight: 500; color: var(--cinza-700); line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.card-preco { margin-top: auto; }
.preco-de { font-size: 11px; color: var(--cinza-500); text-decoration: line-through; }
.preco-por { font-size: 20px; font-weight: 700; color: var(--laranja); line-height: 1.2; letter-spacing: -0.3px; }
.preco-status { font-size: 10px; color: var(--cinza-500); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.preco-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #34C759; flex-shrink: 0; }
.card-cta { margin-top: 10px; background: var(--laranja); color: #fff; border: none; border-radius: 8px; padding: 9px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; cursor: pointer; width: 100%; transition: background 0.15s; letter-spacing: 0.2px; }
.card-cta:hover { background: var(--laranja-hover); }

/* LEGAL PAGES */
.legal-page { max-width: 760px; margin: 0 auto; padding: 2.5rem 2rem 3rem; background: var(--branco); }
.legal-page h1 { font-size: 32px; font-weight: 700; color: var(--preto); margin-bottom: 1.25rem; letter-spacing: -0.5px; }
.legal-page h2 { font-size: 19px; font-weight: 700; color: var(--preto); margin: 1.75rem 0 0.5rem; letter-spacing: -0.2px; }
.legal-page p { font-size: 15px; line-height: 1.7; color: var(--cinza-700); margin-bottom: 0.85rem; }
.legal-page ul { margin: 0.5rem 0 1rem 1.25rem; }
.legal-page li { font-size: 15px; line-height: 1.7; color: var(--cinza-700); margin-bottom: 0.4rem; }
.legal-page a { color: var(--laranja); text-decoration: underline; }
.legal-page strong { color: var(--preto); font-weight: 600; }
.legal-page .legal-lead { font-size: 13px; color: var(--cinza-500); margin-bottom: 1.5rem; }
.legal-page .legal-back { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--cinza-200); }
@media (max-width: 600px) {
  .legal-page { padding: 1.5rem 1rem 2rem; }
  .legal-page h1 { font-size: 26px; }
  .legal-page h2 { font-size: 17px; }
}

/* EMPTY STATE */
.empty-state { text-align: center; padding: 4rem; color: var(--cinza-500); }
.empty-state a { color: var(--laranja); text-decoration: none; font-weight: 500; }

/* MOBILE */
@media (max-width: 600px) {
  .topbar { padding: 7px 1rem; }
  header { padding: 0 1rem; }
  .main { padding: 1rem; }
  .hero { padding: 1.25rem 1rem; }
  footer { padding: 2rem 1rem; }
  .hero h1 { font-size: 26px; }
  .hero-stats { display: none; }
  .header-search { display: none; }
  nav { gap: 2px; }
  .nav-btn { padding: 5px 8px; font-size: 12px; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .wa-banner { padding: 12px 1rem; }
  .wa-banner-inner { gap: 10px; flex-direction: column; }
  .wa-banner-text { font-size: 14px; }
  .wa-banner-cta { padding: 6px 14px; font-size: 12.5px; }
  .wa-callout { padding: 1.75rem 1rem; }
  .wa-callout-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .wa-callout-icon { font-size: 44px; }
  .wa-callout-text strong { font-size: 18px; }
  .wa-callout-text span { font-size: 13px; }
  .wa-callout-cta { padding: 11px 20px; font-size: 14px; }
  .filters { padding: 8px 1rem; }
  .timer-bar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card-body { padding: 9px; }
  .card-title { font-size: 12px; }
  .preco-por { font-size: 18px; }
  .card-cta { padding: 8px; font-size: 11px; }
}

/* FOOTER */
footer { background: var(--preto); padding: 2.5rem 2rem 1.25rem; margin-top: 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-col { flex: 1; min-width: 280px; }
.footer-logo { font-weight: 600; font-size: 18px; color: #fff; margin-bottom: 6px; letter-spacing: -0.3px; }
.footer-logo span { color: var(--laranja); }
footer p { font-size: 12px; color: #6E6E73; line-height: 1.6; max-width: 520px; font-weight: 400; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #aaa; text-decoration: none; font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: var(--laranja); }
.footer-copy { max-width: 1280px; margin: 1.5rem auto 0; padding-top: 1.25rem; border-top: 1px solid #2a2a2a; font-size: 11px; color: #555; text-align: center; }

/* ===================== ADMIN ===================== */
.admin-body { background: #111; color: #eee; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
.admin-header { background: #1a1a1a; border-bottom: 1px solid #333; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 52px; }
.admin-container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.admin-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-title { font-weight: 600; font-size: 16px; color: var(--laranja); margin-bottom: 1rem; letter-spacing: -0.2px; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select { width: 100%; background: #262626; border: 1px solid #3a3a3a; border-radius: 8px; padding: 10px 14px; color: #eee; font-size: 14px; font-family: 'Inter', sans-serif; transition: border-color 0.15s; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--laranja); }
.btn-primary { background: var(--laranja); color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.15s; }
.btn-primary:hover { background: var(--laranja-hover); }
.btn-secondary { background: transparent; color: #aaa; border: 1px solid #3a3a3a; border-radius: 8px; padding: 8px 16px; font-size: 13px; cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none; display: inline-block; transition: all 0.15s; }
.btn-secondary:hover { border-color: #666; color: #eee; }
.btn-danger { background: #2d0f0f; color: #fca5a5; border: 1px solid #7f1d1d; border-radius: 6px; padding: 4px 10px; font-size: 11px; cursor: pointer; font-family: 'Inter', sans-serif; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 1.5rem; }
.stat-card { background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 10px; padding: 1rem; text-align: center; }
.stat-card .num { font-size: 28px; font-weight: 700; color: var(--laranja); letter-spacing: -0.5px; }
.stat-card .lbl { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; font-weight: 500; }
.table-produtos { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-produtos th { padding: 8px 12px; text-align: left; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #2a2a2a; font-weight: 500; }
.table-produtos td { padding: 10px 12px; border-bottom: 1px solid #1f1f1f; vertical-align: middle; }
.table-produtos tr:hover td { background: rgba(255,255,255,0.02); }
.msg-box { background: rgba(52,199,89,0.1); border: 1px solid rgba(52,199,89,0.3); color: #86efac; padding: 10px 16px; border-radius: 8px; margin-bottom: 1.5rem; font-size: 13px; font-weight: 500; }
