/* ===== Blog Líder Energia Solar ===== */
:root {
  --navy: #0a1428;
  --navy-deep: #050a17;
  --navy-2: #142545;
  --gold: #f59e0b;
  --gold-soft: #fbbf24;
  --gold-deep: #b45309;
  --sand: #f7f1e0;
  --bg: #f7f8fb;
  --ink: #0a1428;
  --muted: #5a6b85;
  --line: #e3e8f1;
  --serif: 'DM Serif Display', Georgia, serif;
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* Top nav */
.blog-nav {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
  border-bottom: 1px solid rgba(245, 158, 11, .2);
}
.blog-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.blog-logo img { width: 36px; height: 36px; }
.blog-logo b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
}
.blog-logo i {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  display: block;
  margin-top: 1px;
}
.blog-nav a.back {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-decoration: none;
}
.blog-nav a.back:hover { color: var(--gold-soft); }

/* Container */
.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}
.blog-wrap--wide { max-width: 1180px; }

/* Listing (blog index) */
.blog-hero {
  text-align: center;
  padding: 64px 28px 32px;
  max-width: 760px;
  margin: 0 auto;
}
.blog-hero .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.blog-hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 800;
}
.blog-hero p {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.list-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .list-grid { grid-template-columns: 1fr; }
}
.list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
}
.list-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
}
.list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(10, 20, 40, .11);
  border-color: rgba(245, 158, 11, .4);
}
.list-card .pc-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.list-card .pc-tag {
  font-family: var(--mono);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .26);
}
.list-card .pc-num {
  font-family: var(--display);
  font-size: 44px; font-weight: 800;
  color: var(--line); line-height: 1; letter-spacing: -.04em;
}
.list-card h3 {
  font-family: var(--display);
  font-size: 22px; font-weight: 700;
  line-height: 1.22; letter-spacing: -.015em;
  color: var(--navy); margin: 0 0 14px;
}
.list-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--muted); margin: 0 0 24px;
}
.list-card .pc-foot {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted); font-weight: 600;
}
.list-card .pc-foot .read { color: var(--gold-deep); letter-spacing: .04em; }

/* Article */
.article-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.article-meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--line);
}
.article h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--navy);
  font-weight: 800;
  margin: 0 0 22px;
}
.article-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0 0 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 0;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-deep));
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800; font-size: 16px;
  letter-spacing: .04em;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-info b {
  font-family: var(--sans);
  font-size: 15px; font-weight: 700;
  color: var(--navy);
}
.author-info span {
  font-size: 13px; color: var(--muted);
}

.article-body p {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.72;
  color: #1c2a3e;
}
.article-body h2 {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--navy);
  font-weight: 800;
  margin: 48px 0 18px;
}
.article-body h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--navy);
  font-weight: 700;
  margin: 36px 0 14px;
}
.article-body ul, .article-body ol {
  font-size: 18px;
  line-height: 1.7;
  color: #1c2a3e;
  padding-left: 24px;
  margin: 0 0 24px;
}
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--navy); }
.article-body blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(245, 158, 11, .07), rgba(245, 158, 11, 0));
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--navy);
  border-radius: 0 12px 12px 0;
}
.article-body blockquote cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.callout {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin: 36px 0;
  box-shadow: 0 8px 22px rgba(10, 20, 40, .05);
}
.callout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
  display: block;
}
.callout p:last-child { margin-bottom: 0; }

/* Related */
.related {
  max-width: 1180px;
  margin: 80px auto 0;
  padding: 0 28px 80px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
}
.related h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .25s;
}
.related-card:hover { border-color: rgba(245, 158, 11, .4); transform: translateY(-2px); }
.related-card span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.related-card h5 {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.3;
  color: var(--navy);
  margin: 8px 0 0;
  font-weight: 700;
}

/* Footer */
.blog-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 40px 28px;
  text-align: center;
  font-size: 13px;
}
.blog-footer a { color: var(--gold-soft); }
.blog-footer .legal {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* Reading progress */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
  z-index: 999;
  transition: width .1s linear;
  box-shadow: 0 0 12px rgba(245, 158, 11, .6);
}
