/*
Theme Name: BoraDicas
Theme URI: https://boradicas.com.br
Author: BoraDicas
Description: Tema profissional para BoraDicas.com.br — guias how-to referência no Brasil. Design editorial moderno com identidade brasileira vibrante. Adaptado de LaMaisonFacile.fr.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietário
Text Domain: boradicas
Tags: blog, custom-colors, custom-menu, featured-images, responsive-layout
*/

/* ============================================
   VARIÁVEIS — IDENTIDADE BORADICAS
   ============================================ */
:root {
  --primary:        #1D9E75;
  --primary-dark:   #0F6E56;
  --primary-light:  #E1F5EE;
  --accent:         #EF9F27;
  --accent-dark:    #BA7517;
  --accent-light:   #FAEEDA;
  --danger:         #D85A30;
  --danger-light:   #FAECE7;
  --bg:             #F8F7F4;
  --white:          #FFFFFF;
  --text:           #1A1A1A;
  --text-muted:     #5F5E5A;
  --text-light:     #9B9A96;
  --border:         #E8E5DF;
  --shadow:         0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover:   0 8px 36px rgba(0,0,0,0.13);
  --radius:         14px;
  --radius-sm:      8px;
  --radius-xs:      6px;
  --font-title:     'Nunito', 'Helvetica Neue', sans-serif;
  --font-body:      'Inter', 'Helvetica Neue', sans-serif;
  --max-width:      1200px;
  --wa-green:       #25D366;
  --wa-dark:        #075E54;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; height:auto; }
a { text-decoration:none; color:inherit; transition:all 0.22s ease; }
ul, ol { list-style:none; }
button { cursor:pointer; font-family:var(--font-body); }

/* ============================================
   TOPBAR
   ============================================ */
.bd-topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.bd-topbar a {
  color: var(--accent-light);
  text-decoration: underline;
  font-weight: 700;
}

/* ============================================
   HEADER
   ============================================ */
.bd-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.bd-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.bd-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.bd-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.bd-logo-text .site-name {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bd-logo-text .site-tagline {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.bd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.bd-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  transition: all 0.2s;
}
.bd-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}
.bd-search-form {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 6px 14px;
  gap: 8px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.bd-search-form:focus-within {
  border-color: var(--primary);
}
.bd-search-form svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  flex-shrink: 0;
}
.bd-search-form input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  outline: none;
  width: 160px;
  font-family: var(--font-body);
}
.bd-search-form input::placeholder { color: var(--text-light); }
.bd-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  padding: 4px;
}
.bd-mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.bd-mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.bd-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.bd-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.bd-section { padding: 40px 0; }
.bd-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.bd-section-header h2 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.bd-section-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 4px;
}
.bd-see-all {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.bd-see-all:hover { color: var(--primary-dark); }

/* ============================================
   HERO
   ============================================ */
.bd-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2BC090 100%);
  color: var(--white);
  padding: 36px 24px;
  position: relative;
  overflow: hidden;
}
.bd-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.bd-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.bd-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.bd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 24px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.bd-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.bd-hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}
.bd-hero-desc {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 32px;
}
.bd-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.bd-btn-white {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.bd-btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.bd-btn-ghost {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.bd-btn-ghost:hover {
  background: rgba(255,255,255,0.25);
}
.bd-hero-stats {
  display: flex;
  gap: 32px;
}
.bd-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-light);
}
.bd-stat span {
  font-size: 13px;
  opacity: 0.8;
}
.bd-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.bd-hero-card {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 36px;
  text-align: center;
  backdrop-filter: blur(8px);
  width: 110px; overflow: hidden; word-break: break-word;
}
.bd-hero-card.wide { width: 110px; font-size: 36px; padding: 20px 12px; }

/* ============================================
   CATEGORIAS GRID
   ============================================ */
.bd-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.bd-cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.22s ease;
  text-decoration: none;
}
.bd-cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.bd-cat-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  grid-column: span 2;
  flex-direction: row;
  text-align: left;
  padding: 24px 20px;
}
.bd-cat-emoji { font-size: 32px; }
.bd-cat-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.bd-cat-card.featured .bd-cat-name { color: var(--white); font-size: 16px; }
.bd-cat-count {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 12px;
}
.bd-cat-card.featured .bd-cat-count {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.bd-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.bd-article-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  text-decoration: none;
}
.bd-article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.bd-article-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--primary-light);
}
.bd-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bd-article-thumb span { font-size: 64px; }
.bd-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bd-urgent-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--danger);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.bd-article-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.bd-article-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bd-time-badge, .bd-diff-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.bd-time-badge { background: var(--accent-light); color: var(--accent-dark); }
.bd-diff-badge { background: var(--primary-light); color: var(--primary-dark); }
.bd-article-body h3 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.bd-article-body p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}
.bd-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.bd-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.bd-article-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bd-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--bg);
  border-radius: 20px;
  color: var(--text-muted);
}

/* ============================================
   ARTICLE VEDETTE
   ============================================ */
.bd-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  margin-bottom: 32px;
  transition: all 0.22s;
  text-decoration: none;
}
.bd-featured:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.bd-featured-img {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.bd-featured-img img { width:100%; height:100%; object-fit:cover; }
.bd-featured-img span { font-size: 100px; }
.bd-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.bd-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.bd-featured-cat {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bd-featured-body h2 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}
.bd-featured-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}
.bd-featured-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.bd-featured-meta .bd-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}
.bd-featured-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--primary);
  fill: none;
}

/* ============================================
   ARTICLE SINGLE
   ============================================ */
.bd-single-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 48px 0 40px;
}
.bd-single-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bd-single-header h1 {
  font-family: var(--font-title);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 820px;
}
.bd-single-intro {
  font-size: 17px;
  opacity: 0.9;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.bd-single-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.bd-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}
.bd-meta-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* BADGES RAPIDOS */
.bd-quick-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.bd-qi-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 120px;
}
.bd-qi-icon { font-size: 24px; }
.bd-qi-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bd-qi-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

/* BADGE ECONOMIZA */
.bd-economiza-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-weight: 700;
  font-size: 16px;
}
.bd-economiza-badge .icon { font-size: 24px; }

/* LAYOUT SINGLE */
.bd-single-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ARTICLE CONTENT */
.bd-article-content { min-width: 0; }
.bd-article-content h2 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  letter-spacing: -0.01em;
}
.bd-article-content h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 24px 0 10px;
}
.bd-article-content p { margin-bottom: 16px; color: var(--text); font-size: 17px; line-height: 1.8; }
.bd-article-content ul, .bd-article-content ol {
  margin: 16px 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bd-article-content ul { list-style: disc; }
.bd-article-content ol { list-style: decimal; }
.bd-article-content li { font-size: 16px; line-height: 1.7; color: var(--text); }
.bd-article-content strong { font-weight: 700; color: var(--text); }
.bd-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.bd-article-content th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
}
.bd-article-content td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.bd-article-content tr:nth-child(even) td { background: var(--primary-light); }
.bd-article-content tr:last-child td { border-bottom: none; }

/* BADGES no artigo */
.bd-article-content .badges, .badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

/* CALCULADORA */
.bd-article-content .calculadora, .calculadora {
  background: linear-gradient(135deg, var(--accent-light), #FFF8E7);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.bd-article-content .calculadora p { margin: 0; font-size: 16px; color: var(--text); }
.bd-article-content .calculadora strong { color: var(--accent-dark); font-size: 17px; }

/* FAQ */
.bd-article-content .faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

/* ============================================
   SIDEBAR
   ============================================ */
.bd-sidebar { display: flex; flex-direction: column; gap: 24px; }
.bd-widget {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.bd-widget-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
}
.bd-author-box { text-align: center; }
.bd-author-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}
.bd-author-box h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}
.bd-author-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* NEWSLETTER SIDEBAR */
.bd-newsletter-widget {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 24px 20px;
  color: var(--white);
}
.bd-newsletter-widget h4 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.bd-newsletter-widget p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 16px;
}
.bd-newsletter-widget form { display: flex; flex-direction: column; gap: 10px; }
.bd-newsletter-widget input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
}
.bd-newsletter-widget button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-title);
  transition: all 0.2s;
}
.bd-newsletter-widget button:hover { background: var(--accent-dark); }

/* POPULAR LIST */
.bd-popular-list { display: flex; flex-direction: column; gap: 8px; }
.bd-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  text-decoration: none;
}
.bd-popular-item:hover { background: var(--primary-light); }
.bd-popular-num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.bd-popular-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 3px;
}
.bd-popular-item span {
  font-size: 11px;
  color: var(--text-muted);
}

/* CAT PILLS */
.bd-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}
.bd-cat-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* ============================================
   BANNER CTA
   ============================================ */
.bd-banner {
  background: linear-gradient(135deg, var(--accent-light), #FFF3D8);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.bd-banner h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.bd-banner p { font-size: 14px; color: var(--text-muted); max-width: 500px; }

/* ============================================
   BOTÕES
   ============================================ */
.bd-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s;
}
.bd-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.bd-btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.bd-btn-accent:hover { background: var(--accent-dark); }

/* ============================================
   PAGINAÇÃO
   ============================================ */
.bd-pagination { margin: 40px 0; }
.bd-pagination .page-numbers {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.bd-pagination .page-numbers li a,
.bd-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}
.bd-pagination .page-numbers li a:hover { border-color: var(--primary); color: var(--primary); }
.bd-pagination .page-numbers li .current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.bd-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
  margin-top: 60px;
}
.bd-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.bd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.bd-footer-brand .bd-logo-text .site-name { color: var(--white); }
.bd-footer-brand .bd-logo-text .site-tagline { color: rgba(255,255,255,0.5); }
.bd-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.bd-footer-col h4 {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bd-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.bd-footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.bd-footer-col ul li a:hover { color: var(--primary-light); }
.bd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.bd-footer-links { display: flex; gap: 20px; }
.bd-footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.bd-footer-links a:hover { color: var(--primary-light); }

/* ============================================
   BOTÃO WHATSAPP FLUTUANTE
   ============================================ */
.bd-wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  animation: wa-pulse 3s infinite;
}
.bd-wa-float:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}
.bd-wa-float svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  flex-shrink: 0;
}
.bd-wa-text { white-space: nowrap; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================
   NAVEGAÇÃO ARTIGOS
   ============================================ */
.bd-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--primary-light);
}
.bd-article-nav a {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: block;
  transition: all 0.2s;
  text-decoration: none;
}
.bd-article-nav a:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}
.bd-article-nav .nav-dir {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bd-article-nav .nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-title);
  line-height: 1.35;
}
.bd-article-nav a:last-child { text-align: right; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bd-layout { grid-template-columns: 1fr; }
  .bd-single-layout { grid-template-columns: 1fr; }
  .bd-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bd-hero-inner { grid-template-columns: 1fr; }
  .bd-hero-visual { display: none; }
  .bd-featured { grid-template-columns: 1fr; }
  .bd-featured-img { min-height: 240px; }
}
@media (max-width: 768px) {
  .bd-header-inner { gap: 12px; }
  .bd-nav { display: none; }
  .bd-search-form { display: none; }
  .bd-menu-toggle { display: block; }
  .bd-articles-grid { grid-template-columns: 1fr; }
  .bd-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .bd-cat-card.featured { grid-column: span 1; }
  .bd-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .bd-quick-info { gap: 8px; }
  .bd-qi-item { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 80px; }
  .bd-hero { padding: 40px 20px; }
  .bd-hero-stats { gap: 20px; }
  .bd-article-nav { grid-template-columns: 1fr; }
  .bd-wa-float .bd-wa-text { display: none; }
  .bd-wa-float { padding: 14px; border-radius: 50%; }
  .bd-banner { flex-direction: column; }
}
@media (max-width: 480px) {
  .bd-categories-grid { grid-template-columns: 1fr 1fr; }
  .bd-hero h1 { font-size: 24px; }
  .bd-single-header h1 { font-size: 22px; }
}

/* ============================================
   CORRECTIONS V2
   ============================================ */

/* Cartes hero — disposition pyramide compacte */
.bd-hero-visual {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  flex-shrink: 0;
  width: 200px;
}
.bd-hero-card {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--radius) !important;
  padding: 12px 8px !important;
  font-size: 13px !important;
  text-align: center !important;
  backdrop-filter: blur(8px) !important;
  width: auto !important;
  overflow: hidden !important;
  word-break: break-word !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.bd-hero-card .card-emoji { font-size: 22px; }
.bd-hero-card.wide {
  grid-column: span 2;
  font-size: 13px !important;
  padding: 12px !important;
  width: auto !important;
}

/* Header article — moins imposant */
.bd-single-header {
  padding: 28px 0 24px !important;
}
.bd-single-header h1 {
  font-size: clamp(20px, 3.5vw, 36px) !important;
  margin-bottom: 12px !important;
}
.bd-single-intro {
  font-size: 15px !important;
  margin-bottom: 16px !important;
}

/* Liens dans article — mis en valeur */
.bd-article-content a {
  color: var(--primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  font-weight: 600 !important;
  transition: color 0.2s !important;
}
.bd-article-content a:hover {
  color: var(--primary-dark) !important;
}
.bd-article-content h2 + p a,
.bd-article-content ul li a,
.bd-article-content .leia-tambem a {
  color: var(--primary) !important;
}

/* Leia também — section mise en valeur */
.bd-article-content h2:last-of-type + ul,
.bd-article-content ul:has(a[href*='boradicas']) {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px !important;
  margin: 0 !important;
  list-style: none !important;
}
.bd-article-content ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bd-article-content ul li a::before {
  content: '→';
  color: var(--primary);
  font-weight: 800;
}

/* Logo tagline — correction coupure */
.bd-logo-text .site-tagline {
  font-size: 10px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  display: block !important;
}

/* Calculadora — fond amber distinctif */
.calculadora, .bd-article-content .calculadora {
  background: linear-gradient(135deg, #FAEEDA, #FFF3D8) !important;
  border: 2px solid var(--accent) !important;
  border-radius: var(--radius) !important;
  padding: 20px 24px !important;
  margin: 24px 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.calculadora::before {
  content: '🧮';
  font-size: 28px;
  flex-shrink: 0;
}
.calculadora p {
  margin: 0 !important;
  font-size: 15px !important;
  color: var(--text) !important;
}
.calculadora strong {
  color: var(--accent-dark) !important;
  font-size: 16px !important;
}

/* Quick info badges — économise en vert fort */
.bd-qi-item:last-child {
  background: var(--primary-light) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
}
.bd-qi-item:last-child .bd-qi-value {
  color: var(--primary-dark) !important;
  font-weight: 800 !important;
}

/* Hero — moins de padding global */
.bd-hero {
  padding: 32px 24px !important;
}
.bd-hero h1 {
  font-size: clamp(26px, 4vw, 44px) !important;
  margin-bottom: 14px !important;
}
.bd-hero-desc {
  font-size: 15px !important;
  margin-bottom: 24px !important;
}
.bd-hero-stats {
  gap: 20px !important;
}
.bd-stat strong {
  font-size: 22px !important;
}

