/* ═══════════════════════════════════════════
   FORT LIGHT — TEMA CLARO (Blog / Conteúdo)
   Herda variáveis base de fort-dark.css e sobrescreve
   ═══════════════════════════════════════════ */

.theme-light {
  --bg: #FAFAFA;
  --bg2: #F3F4F6;
  --surface: #FFFFFF;
  --surface2: #F9FAFB;
  --border: #E5E7EB;
  --text: #111827;
  --text2: #6B7280;
  --accent: #059669;
  --accent2: #10B981;
  --accent-glow: #34D399;
  --red: #DC2626;
}

/* ─── NAV override light ─── */
.theme-light .nav {
  background: rgba(250,250,250,.9);
  border-bottom-color: var(--border);
}

.theme-light .logo { color: var(--text); }
.theme-light .nav-links a { color: var(--text2); }
.theme-light .nav-links a:hover { color: var(--text); }
.theme-light .nav-cta { background: var(--accent); color: #fff !important; }
.theme-light .nav-cta:hover { background: var(--accent2); }

.theme-light .nav-dropdown-menu {
  background: var(--surface); border-color: var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.theme-light .nav-dropdown-menu a { color: var(--text2); }
.theme-light .nav-dropdown-menu a:hover { background: var(--bg2); color: var(--text); }

/* ─── BODY / TYPOGRAPHY light ─── */
.theme-light body,
.theme-light { background: var(--bg); color: var(--text); }

.theme-light a { color: var(--accent); }
.theme-light a:hover { color: var(--accent2); }

/* ─── CONTENT light (blog posts, pilares) ─── */
.theme-light .content p { color: var(--text2); }
.theme-light .content strong { color: var(--text); }
.theme-light .content p a { color: var(--accent); }
.theme-light .content p a:hover { color: var(--accent2); }

.theme-light .content h1 { color: var(--text); }
.theme-light .content h2 { color: var(--text); border-top-color: var(--border); }
.theme-light .content h3 { color: var(--accent); }

.theme-light .content blockquote {
  background: rgba(5,150,105,.06); border-left-color: var(--accent);
  color: var(--text2);
}

.theme-light .content li { color: var(--text2); }

/* ─── CARDS light ─── */
.theme-light .card {
  background: var(--surface); border-color: var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.theme-light .card:hover { border-color: rgba(5,150,105,.3); }
.theme-light .card h3 { color: var(--text); }
.theme-light .card-desc { color: var(--text2); }

.theme-light .card-icon {
  background: rgba(5,150,105,.08); color: var(--accent);
}

/* ─── BLOG LIST ─── */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 24px; }

.blog-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(5,150,105,.3);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  color: inherit;
}

.blog-card-img { overflow: hidden; flex-shrink: 0; }
.blog-card-img img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  transition: transform .3s;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.3px;
  margin-bottom: 8px; color: var(--text); line-height: 1.35;
}

.blog-card-excerpt { color: var(--text2); font-size: .85rem; line-height: 1.6; flex: 1; }

.blog-card-meta {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .75rem; color: var(--text2);
}

.blog-card-tag {
  background: rgba(5,150,105,.1); color: var(--accent);
  padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: .7rem;
}

/* ─── BLOG POST layout ─── */
.post-page { padding-top: 80px; }
.post-category {
  display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--accent); background: rgba(5,150,105,.1);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 12px;
}
.post-header { padding: 20px 0 40px; }
.post-header h1 {
  font-size: 2.4rem; font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.2; margin-bottom: 16px; color: var(--text);
}

.post-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--text2); margin-bottom: 24px;
}

.post-body { max-width: 720px; padding-bottom: 80px; }

.post-body p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 20px; color: var(--text2); }
.post-body p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.post-body h2 {
  font-size: 1.6rem; font-weight: 800; letter-spacing: -.5px;
  margin: 48px 0 16px; color: var(--text);
}

.post-body h3 {
  font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px;
  color: var(--accent);
}

.post-body img {
  border-radius: var(--radius); margin: 24px 0;
  border: 1px solid var(--border);
}

.post-body blockquote {
  border-left: 3px solid var(--accent); padding: 16px 20px; margin: 24px 0;
  background: rgba(5,150,105,.04); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text2); font-style: italic;
}

.post-body ul, .post-body ol { margin: 16px 0; padding-left: 24px; }
.post-body li { margin-bottom: 8px; font-size: 1rem; line-height: 1.75; color: var(--text2); }

.post-body code {
  background: var(--bg2); padding: 2px 6px; border-radius: 4px;
  font-size: .9em; color: var(--accent);
}

.post-body pre {
  background: var(--bg2); padding: 20px; border-radius: var(--radius);
  overflow-x: auto; margin: 24px 0; border: 1px solid var(--border);
}
.post-body pre code { background: none; padding: 0; }

/* author box */
.author-box {
  display: flex; gap: 16px; align-items: center;
  padding: 24px; background: var(--bg2); border-radius: var(--radius);
  margin: 48px 0;
}

.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(5,150,105,.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex-shrink: 0;
}

.author-info strong { font-weight: 700; font-size: .95rem; color: var(--text); display: block; margin-bottom: 4px; }
.author-info p { font-size: .8rem; color: var(--text2); margin: 0; }

/* post CTA */
.post-cta {
  text-align: center; padding: 48px 32px; background: var(--bg2);
  border-radius: var(--radius); margin: 32px 0;
}
.post-cta h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.post-cta p { color: var(--text2); margin-bottom: 24px; font-size: .95rem; }

/* related posts */
.related-posts { margin: 48px 0; }
.related-posts h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 20px; color: var(--text); }

/* pagination */
.pagination-info { font-size: .9rem; color: var(--text2); font-weight: 500; }

/* ─── BREADCRUMB light ─── */
.theme-light .breadcrumb { color: var(--text2); }
.theme-light .breadcrumb a { color: var(--text2); }
.theme-light .breadcrumb a:hover { color: var(--accent); }

/* ─── SECTION light ─── */
.theme-light .section { background: var(--bg); }
.theme-light .section-dark { background: var(--bg2); }
.theme-light .section-header h2 { color: var(--text); }
.theme-light .section-header p { color: var(--text2); }

/* ─── FOOTER light ─── */
.theme-light .footer { border-top-color: var(--border); }
.theme-light .footer-col h5 { color: var(--text); }
.theme-light .footer-col a { color: var(--text2); }
.theme-light .footer-col a:hover { color: var(--accent); }
.theme-light .footer-bottom { border-top-color: var(--border); }
.theme-light .footer-bottom p { color: var(--text2); }

/* ─── FAQ light ─── */
.theme-light .faq-item { border-bottom-color: var(--border); }
.theme-light .faq-q { color: var(--text); }
.theme-light .faq-q::after { color: var(--accent); }
.theme-light .faq-a { color: var(--text2); }

/* ─── FORMS light ─── */
.theme-light .form-card { background: var(--surface); border-color: var(--border); }
.theme-light .form-group label { color: var(--text2); }
.theme-light .form-group input,
.theme-light .form-group select,
.theme-light .form-group textarea {
  background: var(--bg2); border-color: var(--border); color: var(--text);
}

/* ─── CTA light ─── */
.theme-light .cta-section h2 { color: var(--text); }
.theme-light .cta-section p { color: var(--text2); }

.theme-light .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-glow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BTN light overrides ─── */
.theme-light .btn-primary { background: var(--accent); color: #fff; }
.theme-light .btn-primary:hover { background: var(--accent2); color: #fff; }
.theme-light .btn-secondary { color: var(--text); border-color: var(--border); }
.theme-light .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ─── RESPONSIVE light ─── */
@media (max-width: 768px) {
  .blog-list { grid-template-columns: 1fr; }
  .post-header h1 { font-size: 1.8rem; }
  .author-box { flex-direction: column; text-align: center; }
}
