/* =========================================================
   PRODUZINDO MÚSICA — produzindomusica.com.br
   Tema escuro para site de conteúdo (AdSense + afiliados)
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0b0b12;
  --surface: #14141e;
  --surface-2: #1a1a28;
  --border: #272738;
  --text: #edeaf7;
  --muted: #a09eb5;
  --faint: #6e6d88;
  --accent: #8b5cf6;
  --accent-2: #d946ef;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --gradient: linear-gradient(120deg, #8b5cf6, #d946ef);
  --radius: 14px;
  --max-w: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(139, 92, 246, .4); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 18, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 800; font-size: 1.12rem;
  letter-spacing: -.02em; white-space: nowrap;
}
.logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.logo .brand-b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 600;
  font-size: .92rem; padding: 8px 12px; border-radius: 8px; transition: .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-cta { margin-left: 10px; }
.nav-cta a { color: #fff !important; background: var(--gradient); padding: 9px 18px !important; }
.nav-cta a:hover { filter: brightness(1.12); background: var(--gradient) !important; color: #fff !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: .95rem;
  text-decoration: none; border: none; cursor: pointer; transition: .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 54px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 320px at 18% 0%, rgba(139, 92, 246, .17), transparent),
    radial-gradient(640px 320px at 82% 8%, rgba(217, 70, 239, .11), transparent);
}
.hero-inner { position: relative; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 99px; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.14;
  font-weight: 800; letter-spacing: -.03em;
}
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: var(--muted); font-size: 1.12rem; margin: 18px auto 30px; max-width: 620px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 10px 30px; justify-content: center; flex-wrap: wrap;
  margin-top: 36px; color: var(--faint); font-size: .85rem; font-weight: 600;
}

/* ---------- Seções ---------- */
.section { padding: 52px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 26px; gap: 16px; flex-wrap: wrap;
}
.section-head .kicker {
  color: var(--accent-2); text-transform: uppercase;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  display: block; margin-bottom: 6px;
}
.section-head h2 { font-size: 1.72rem; font-weight: 800; letter-spacing: -.02em; }
.link-todos { color: var(--muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.link-todos:hover { color: var(--accent-2); }

/* ---------- Espaços de anúncio ---------- */
.ad-slot {
  border: 2px dashed #34344a; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #5b5a75; font-size: .85rem; font-weight: 600; gap: 3px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 12px, transparent 12px 24px);
}
.ad-slot small { color: #45445e; font-weight: 500; font-size: .74rem; }
.ad-leaderboard { max-width: 1000px; margin: 0 auto; height: 112px; padding: 12px; }
.ad-infeed { height: 132px; margin: 26px 0; }
.ad-square { width: 300px; height: 250px; }
.ad-vertical { width: 300px; height: 600px; }
.ad-wrap { padding: 8px 0; }

/* ---------- Cards de categoria ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-decoration: none; transition: .18s;
}
.cat-card:hover { transform: translateY(-4px); border-color: #3b3b55; box-shadow: 0 14px 32px rgba(0,0,0,.4); }
.cat-icon {
  font-size: 1.8rem; width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 16px;
}
.cat-card h3 { font-size: 1.06rem; margin-bottom: 6px; letter-spacing: -.01em; }
.cat-card p { color: var(--muted); font-size: .9rem; }
.cat-count { display: inline-block; margin-top: 14px; color: var(--accent-2); font-size: .8rem; font-weight: 700; }

/* ---------- Cards de artigo ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: .18s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.4); border-color: #3b3b55; }
.post-cover {
  height: 168px; display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; position: relative;
}
.cover-1 { background: linear-gradient(135deg, #2d1b5e, #7c3aed); }
.cover-2 { background: linear-gradient(135deg, #4a1942, #d946ef); }
.cover-3 { background: linear-gradient(135deg, #0f2d4a, #0ea5e9); }
.cover-4 { background: linear-gradient(135deg, #4a2a0f, #f59e0b); }
.cover-5 { background: linear-gradient(135deg, #14532d, #22c55e); }
.cover-6 { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.post-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px);
  padding: 4px 11px; border-radius: 99px;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: #fff;
}
.post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { font-size: 1rem; line-height: 1.45; letter-spacing: -.01em; }
.post-body p { color: var(--muted); font-size: .87rem; }
.post-meta {
  margin-top: auto; padding-top: 12px; color: var(--faint);
  font-size: .77rem; font-weight: 600; display: flex; gap: 14px; flex-wrap: wrap;
}

/* ---------- Faixa de captação de e-mail ---------- */
.lead-band {
  background: var(--gradient); border-radius: 20px; padding: 46px 36px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.lead-band::before, .lead-band::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, .1); pointer-events: none;
}
.lead-band::before { width: 220px; height: 220px; top: -110px; right: -60px; }
.lead-band::after { width: 160px; height: 160px; bottom: -80px; left: -40px; }
.lead-band h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; position: relative; }
.lead-band p { opacity: .92; margin: 10px auto 0; max-width: 520px; position: relative; font-size: .98rem; }
.lead-form { display: flex; gap: 10px; max-width: 470px; margin: 24px auto 0; position: relative; }
.lead-form input {
  flex: 1; padding: 13px 16px; border-radius: 10px; border: none;
  font-size: .95rem; font-family: inherit; min-width: 0;
}
.lead-form .btn-dark { background: #0b0b12; color: #fff; }
.lead-form .btn-dark:hover { filter: brightness(1.35); }
.lead-note { font-size: .78rem; opacity: .8; margin-top: 12px; position: relative; }

/* ---------- Layout de página de artigo ---------- */
.page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 38px; padding: 40px 0 20px;
}
.page-layout > article { min-width: 0; }
.article-content { overflow-wrap: break-word; }
.breadcrumb { color: var(--faint); font-size: .84rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-2); }

.article h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem); line-height: 1.22;
  letter-spacing: -.02em; font-weight: 800;
}
.article-meta {
  display: flex; gap: 8px 18px; color: var(--muted); font-size: .85rem;
  margin: 14px 0 22px; flex-wrap: wrap; align-items: center;
}
.article-meta .cat-tag {
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 11px; border-radius: 99px; font-weight: 700; font-size: .75rem;
  color: var(--accent-2); text-decoration: none;
}
.article-cover {
  height: 280px; border-radius: 16px; font-size: 4.6rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}

/* Caixa de divulgação de afiliados */
.disclosure {
  background: var(--surface-2); border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 13px 18px; border-radius: 10px; font-size: .82rem;
  color: var(--muted); margin-bottom: 26px;
}
.disclosure a { color: var(--amber); }

/* Conteúdo do artigo */
.article-content h2 { font-size: 1.42rem; margin: 36px 0 14px; letter-spacing: -.015em; }
.article-content h3 { font-size: 1.13rem; margin: 26px 0 10px; }
.article-content p { color: #cfccdf; margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 0 0 16px 22px; color: #cfccdf; }
.article-content li { margin-bottom: 7px; }
.article-content strong { color: var(--text); }
.article-content a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote {
  border-left: 3px solid var(--accent); background: var(--surface);
  padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 18px 0;
  color: var(--muted); font-style: italic;
}

/* Sumário */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 24px; margin: 26px 0; }
.toc h3 { font-size: .98rem; margin: 0 0 10px; }
.toc ol { margin: 0 0 0 20px; font-size: .92rem; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent-2); }

/* Tabelas */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; background: var(--surface); }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface-2); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
tr:last-child td { border-bottom: none; }
td:first-child { font-weight: 600; color: var(--text); }
td { color: #cfccdf; }
.table-wrap .destaque td { background: rgba(139, 92, 246, .08); }

/* Caixa de veredito (nota + prós/contras) */
.verdict-box { border: 1px solid #3b3b55; background: var(--surface-2); border-radius: 16px; padding: 26px; margin: 28px 0; }
.verdict-top { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rating-num {
  font-size: 3.2rem; font-weight: 800; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating-num small { font-size: 1.2rem; }
.verdict-top .stars { color: var(--amber); letter-spacing: 3px; font-size: 1.05rem; }
.verdict-top .rating-label { color: var(--muted); font-size: .85rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pros, .cons { border-radius: 12px; padding: 18px 20px; font-size: .92rem; }
.pros { background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .25); }
.cons { background: rgba(248, 113, 113, .06); border: 1px solid rgba(248, 113, 113, .22); }
.pros h4 { color: var(--green); margin-bottom: 8px; font-size: .95rem; }
.cons h4 { color: var(--red); margin-bottom: 8px; font-size: .95rem; }
.pros ul, .cons ul { margin: 0 0 0 18px; color: #cfccdf; }

/* Caixa de CTA de afiliado */
.cta-affiliate {
  border: 1px solid rgba(34, 197, 94, .45);
  background: linear-gradient(160deg, rgba(34, 197, 94, .11), rgba(34, 197, 94, .03));
  border-radius: 16px; padding: 26px; margin: 30px 0; text-align: center;
}
.cta-affiliate .cta-tag {
  display: inline-block; background: rgba(34, 197, 94, .18); color: var(--green);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 99px; margin-bottom: 12px;
}
.cta-affiliate h3 { font-size: 1.15rem; margin-bottom: 4px; }
.cta-affiliate .price-note { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.btn-affiliate {
  background: linear-gradient(120deg, #16a34a, #22c55e); color: #fff;
  padding: 14px 32px; border-radius: 10px; font-weight: 800;
  text-decoration: none; display: inline-flex; gap: 8px; align-items: center;
  font-size: 1rem; transition: .15s;
}
.btn-affiliate:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cta-affiliate .micro { color: var(--faint); font-size: .74rem; margin-top: 12px; }
.cta-affiliate .micro a { color: var(--faint); }

/* FAQ */
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: .97rem; }
.faq summary:hover { color: var(--accent-2); }
.faq details p { margin-top: 10px; margin-bottom: 0; }

/* Caixa do autor */
.author-box {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border);
  padding: 22px; border-radius: 14px; margin-top: 38px;
}
.author-avatar {
  width: 58px; height: 58px; border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.author-box h4 { font-size: 1rem; }
.author-box p { color: var(--muted); font-size: .87rem; margin-top: 4px; }

/* ---------- Barra lateral ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sticky-wrap { position: sticky; top: 90px; display: grid; gap: 24px; }
.side-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.side-box h4 { margin-bottom: 12px; font-size: 1rem; letter-spacing: -.01em; }
.side-post { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); text-decoration: none; align-items: center; }
.side-post:last-child { border-bottom: none; padding-bottom: 0; }
.side-thumb {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.side-post h5 { font-size: .85rem; line-height: 1.45; font-weight: 600; color: var(--text); }
.side-post:hover h5 { color: var(--accent-2); }
.side-form { display: grid; gap: 10px; }
.side-form input {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 11px 14px; border-radius: 9px; font-size: .9rem; font-family: inherit;
}
.side-form input:focus { outline: 1px solid var(--accent); }
.side-form p { color: var(--muted); font-size: .84rem; }
.side-form .btn { width: 100%; }

/* ---------- Artigos relacionados ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }

/* ---------- Páginas simples / legais ---------- */
.page-narrow { max-width: 780px; margin: 0 auto; padding: 48px 20px 30px; }
.page-narrow h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 8px; }
.page-narrow .updated { color: var(--faint); font-size: .85rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 12px; letter-spacing: -.01em; }
.legal p, .legal li { color: #cfccdf; font-size: .96rem; margin-bottom: 12px; }
.legal ul { margin: 0 0 16px 22px; }
.legal a { color: #c4b5fd; }
.legal .destaque-box {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: 10px;
  padding: 16px 20px; margin: 16px 0;
}
.page-hero { padding: 56px 0 10px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); letter-spacing: -.02em; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 12px auto 0; }

/* Formulário de contato */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.contact-card h3 { margin-bottom: 14px; font-size: 1.1rem; }
.contact-card p { color: var(--muted); font-size: .92rem; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { font-size: .82rem; font-weight: 700; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 12px 14px; border-radius: 9px; font-size: .93rem; font-family: inherit; width: 100%;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-info-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row .ico { font-size: 1.2rem; }
.contact-info-row a { color: #c4b5fd; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--border); background: #0a0a10; padding: 48px 0 30px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.footer-grid a:hover { color: var(--text); }
.footer-desc { color: var(--muted); font-size: .88rem; max-width: 320px; margin-top: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  text-decoration: none; background: var(--surface);
}
.footer-social a:hover { border-color: var(--accent); }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
  color: var(--faint); font-size: .8rem;
}

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .page-layout { grid-template-columns: 1fr; }
  .sticky-wrap { position: static; }
  .cat-grid, .post-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 52px 0 44px; }
  .post-grid, .cat-grid, .related-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .lead-form { flex-direction: column; }
  .lead-band { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 40px 0; }

  /* Menu mobile */
  .nav-burger { display: flex; }
  .main-nav {
    position: absolute; top: 70px; left: 0; right: 0;
    background: #101019; border-bottom: 1px solid var(--border);
    display: none; padding: 12px 22px 18px;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { display: block; padding: 12px 10px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta a { text-align: center; }
}
