/*
Theme Name: Guia de Compras
Theme URI: https://guiadecompras.org
Author: Rodney Moore
Description: Reviews e comparativos de produtos para casa — custo-benefício real.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: guiadecompras
*/


  :root {
    --ink: #0f172a;
    --muted: #64748b;
    --brand: #e11d48;
    --brand-dark: #be123c;
    --accent: #f59e0b;
    --bg: #f8fafc;
    --card: #ffffff;
    --radius: 20px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

  /* NAV */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: Outfit, sans-serif; font-weight: 800; font-size: 1.15rem; }
  .logo svg { width: 36px; height: 36px; }
  .nav-links { display: flex; gap: 22px; font-size: .9rem; font-weight: 500; color: var(--muted); }
  .nav-cta {
    background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 999px;
    font-weight: 600; font-size: .875rem; box-shadow: 0 8px 20px rgba(225,29,72,.28);
  }

  /* HERO — full-bleed product photo + floating badges */
  .hero {
    position: relative; height: 520px; overflow: hidden;
    border-radius: 0 0 32px 32px;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
  }
  .hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(15,23,42,.82) 0%, rgba(15,23,42,.45) 55%, rgba(15,23,42,.15) 100%);
  }
  .hero-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    max-width: 1180px; margin: 0 auto; padding: 0 28px;
    color: #fff;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
    width: fit-content; margin-bottom: 18px;
  }
  .hero h1 {
    font-family: Outfit, sans-serif; font-size: 3.2rem; font-weight: 800;
    line-height: 1.08; max-width: 560px; letter-spacing: -.02em;
  }
  .hero h1 span { color: #fda4af; }
  .hero p { margin-top: 16px; font-size: 1.1rem; max-width: 460px; color: rgba(255,255,255,.88); }
  .hero-actions { display: flex; gap: 12px; margin-top: 28px; }
  .btn-primary {
    background: var(--brand); color: #fff; padding: 14px 24px; border-radius: 14px;
    font-weight: 700; font-size: .95rem; box-shadow: 0 12px 28px rgba(225,29,72,.35);
  }
  .btn-ghost {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
    color: #fff; padding: 14px 24px; border-radius: 14px; font-weight: 600; backdrop-filter: blur(6px);
  }

  /* Floating score badges */
  .badge-float {
    position: absolute; z-index: 3;
    background: #fff; border-radius: 16px; padding: 14px 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.22); display: flex; align-items: center; gap: 12px;
    min-width: 180px;
  }
  .badge-float .score {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, #e11d48, #f59e0b);
    color: #fff; font-family: Outfit, sans-serif; font-weight: 800; font-size: 1.1rem;
    display: grid; place-items: center;
  }
  .badge-float strong { display: block; font-size: .9rem; }
  .badge-float span { font-size: .75rem; color: var(--muted); }
  .bf1 { top: 120px; right: 80px; }
  .bf2 { bottom: 90px; right: 200px; }
  .bf3 { bottom: 140px; right: 40px; }

  /* TOP PICKS — horizontal large product photos */
  .section { padding: 72px 0; }
  .section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; }
  .section-head h2 { font-family: Outfit, sans-serif; font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; }
  .section-head p { color: var(--muted); font-size: .95rem; max-width: 360px; text-align: right; }
  .picks {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .pick {
    background: var(--card); border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 4px 6px rgba(15,23,42,.04), 0 16px 32px rgba(15,23,42,.08);
    transition: transform .2s;
  }
  .pick:hover { transform: translateY(-4px); }
  .pick-img { height: 200px; position: relative; overflow: hidden; }
  .pick-img img { width: 100%; height: 100%; object-fit: cover; }
  .pick-tag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255,255,255,.95); padding: 5px 10px; border-radius: 8px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--brand);
  }
  .pick-score {
    position: absolute; bottom: 12px; right: 12px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ink); color: #fff; font-weight: 800; font-size: .85rem;
    display: grid; place-items: center; border: 3px solid #fff;
  }
  .pick-body { padding: 18px; }
  .pick-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
  .pick-body p { font-size: .85rem; color: var(--muted); }
  .pick-meta { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; font-weight: 600; }
  .pick-meta .price { color: var(--brand); }

  /* COMPARISON STRIP with icons */
  .compare-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 28px; padding: 40px 36px; color: #fff;
  }
  .compare-strip h2 { font-family: Outfit, sans-serif; font-size: 1.5rem; margin-bottom: 8px; }
  .compare-strip > p { color: #94a3b8; margin-bottom: 28px; font-size: .95rem; }
  .compare-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .compare-item {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px; padding: 22px 16px; text-align: center;
  }
  .compare-item .icon-wrap {
    width: 52px; height: 52px; margin: 0 auto 14px;
    background: rgba(225,29,72,.2); border-radius: 14px;
    display: grid; place-items: center;
  }
  .compare-item .icon-wrap svg { width: 26px; height: 26px; stroke: #fda4af; fill: none; stroke-width: 1.8; }
  .compare-item strong { display: block; font-size: .9rem; margin-bottom: 4px; }
  .compare-item span { font-size: .75rem; color: #94a3b8; }

  /* Features row */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feature {
    background: #fff; border-radius: 20px; padding: 28px;
    border: 1px solid #e2e8f0;
  }
  .feature .fi {
    width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
    display: grid; place-items: center;
  }
  .feature .fi svg { width: 24px; height: 24px; }
  .fi-r { background: #ffe4e6; }
  .fi-r svg { stroke: #e11d48; fill: none; stroke-width: 1.8; }
  .fi-a { background: #fef3c7; }
  .fi-a svg { stroke: #d97706; fill: none; stroke-width: 1.8; }
  .fi-b { background: #e0e7ff; }
  .fi-b svg { stroke: #4f46e5; fill: none; stroke-width: 1.8; }
  .feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
  .feature p { font-size: .9rem; color: var(--muted); }

  /* Affiliate note */
  .aff-note {
    margin-top: 48px; padding: 20px 24px; background: #fff7ed; border: 1px solid #fed7aa;
    border-radius: 14px; font-size: .85rem; color: #9a3412; display: flex; gap: 12px; align-items: start;
  }

  /* FOOTER */
  footer {
    margin-top: 40px; padding: 40px 0 28px;
    border-top: 1px solid #e2e8f0; background: #fff;
  }
  .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
  .footer-inner p { font-size: .85rem; color: var(--muted); }
  .photon { font-weight: 600; color: var(--ink); }

a.pick, a.card, .picks a { color: inherit; text-decoration: none; }
.content-area { padding: 48px 0 64px; }
.entry-content img { border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.entry-content th, .entry-content td { border: 1px solid rgba(127,127,127,.25); padding: 8px 10px; text-align: left; }
.affiliate-placeholder { display:inline-block; background:#fff7ed; color:#9a3412; border:1px dashed #fdba74; padding:2px 8px; border-radius:6px; font-size:.85em; }
