/*
 Theme Name:   Botvance
 Theme URI:    https://botvance.com.br
 Description:  Child theme para Botvance - Ecossistema de IA
 Author:       Botvance
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  botvance
*/

/* ============================================================
   DESIGN SYSTEM - BOTVANCE
   ============================================================ */

:root {
  --bv-bg-primary:     #0B0F19;
  --bv-bg-secondary:   #0f1420;
  --bv-bg-card:        #141928;
  --bv-bg-glass:       rgba(11, 15, 25, 0.75);
  --bv-accent:         #06b6d4;
  --bv-accent-hover:   #0891b2;
  --bv-accent-glow:    rgba(6, 182, 212, 0.25);
  --bv-accent-glow-sm: rgba(6, 182, 212, 0.12);
  --bv-text-primary:   #f1f5f9;
  --bv-text-secondary: #94a3b8;
  --bv-text-muted:     #64748b;
  --bv-border:         rgba(255, 255, 255, 0.08);
  --bv-border-accent:  rgba(6, 182, 212, 0.3);
  --bv-radius-sm:      6px;
  --bv-radius-md:      12px;
  --bv-radius-lg:      20px;
  --bv-transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bv-font:           'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

html, body {
  background-color: var(--bv-bg-primary) !important;
  color: var(--bv-text-primary) !important;
  font-family: var(--bv-font) !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-height: 100vh !important;
  -webkit-font-smoothing: antialiased;
}

/* Esconder header/footer padrão do TT5 na home */
.bv-front-page .wp-block-template-part,
.bv-front-page header.wp-block-template-part,
.bv-front-page footer.wp-block-template-part {
  display: none !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

#bv-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bv-bg-primary);
  padding: 0 24px;
}

#bv-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.bv-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(6, 182, 212, 0.07) 0%, transparent 70%),
              linear-gradient(to bottom, rgba(11,15,25,0.3) 0%, rgba(11,15,25,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.bv-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  text-align: center;
}

.bv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--bv-border-accent);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--bv-accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.bv-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--bv-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--bv-accent);
  animation: bv-pulse 2s infinite;
}

@keyframes bv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.bv-hero-headline {
  font-family: var(--bv-font) !important;
  font-size: clamp(36px, 5.5vw, 68px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px !important;
  color: var(--bv-text-primary) !important;
  margin: 0 0 24px !important;
}

.bv-hero-headline .bv-accent-text {
  color: var(--bv-accent);
}

.bv-hero-sub {
  font-size: clamp(15px, 2vw, 18px) !important;
  line-height: 1.7 !important;
  color: var(--bv-text-secondary) !important;
  max-width: 680px !important;
  margin: 0 auto 44px !important;
  font-weight: 400 !important;
}

.bv-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.bv-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bv-accent);
  color: #fff !important;
  font-family: var(--bv-font) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--bv-radius-sm);
  text-decoration: none !important;
  transition: var(--bv-transition);
  border: none;
  cursor: pointer;
}

.bv-btn-primary:hover {
  background: var(--bv-accent-hover);
  box-shadow: 0 0 30px var(--bv-accent-glow), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #fff !important;
}

.bv-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bv-text-primary) !important;
  font-family: var(--bv-font) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--bv-radius-sm);
  text-decoration: none !important;
  transition: var(--bv-transition);
  border: 1px solid var(--bv-border);
  cursor: pointer;
}

.bv-btn-secondary:hover {
  border-color: var(--bv-accent);
  color: var(--bv-accent) !important;
  background: var(--bv-accent-glow-sm);
  transform: translateY(-2px);
}

.bv-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--bv-text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bv-bounce 2.5s infinite;
}

.bv-hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: var(--bv-text-muted);
}

@keyframes bv-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   SUPER CTA FINAL
   ============================================================ */

.bv-cta-section {
  background: #111827;
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
}

.bv-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(6,182,212,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.bv-cta-section .bv-container {
  position: relative;
  z-index: 1;
}

.bv-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.bv-cta-headline {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--bv-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.bv-cta-sub {
  font-size: 1rem;
  color: var(--bv-text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Formulário */
.bv-cta-form-card {
  background: #0d1117;
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-lg);
  padding: 40px 36px;
}

.bv-form-field {
  margin-bottom: 16px;
}

.bv-form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bv-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.bv-form-field input,
.bv-form-field select {
  width: 100%;
  background: #111827;
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-sm);
  color: var(--bv-text-primary);
  font-family: var(--bv-font);
  font-size: 0.92rem;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.bv-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.bv-form-field input::placeholder {
  color: var(--bv-text-muted);
}

.bv-form-field input:focus,
.bv-form-field select:focus {
  border-color: var(--bv-accent);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
}

.bv-form-submit {
  width: 100%;
  background: var(--bv-accent);
  color: #0B0F19;
  font-family: var(--bv-font);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border: none;
  border-radius: var(--bv-radius-sm);
  cursor: pointer;
  margin-top: 8px;
  transition: var(--bv-transition);
  box-shadow: 0 4px 24px rgba(6,182,212,0.25);
}

.bv-form-submit:hover {
  background: var(--bv-accent-hover);
  box-shadow: 0 6px 36px rgba(6,182,212,0.45);
  transform: translateY(-1px);
  color: #fff;
}

/* ============================================================
   FOOTER CORPORATIVO
   ============================================================ */

.bv-front-page #bv-footer,
#bv-footer {
  background: #070a12;
  border-top: 1px solid var(--bv-border);
  padding: 0;
}

.bv-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}

.bv-footer-brand-desc {
  font-size: 0.88rem;
  color: var(--bv-text-muted);
  line-height: 1.7;
  margin: 16px 0 24px;
}

.bv-footer-social {
  display: flex;
  gap: 12px;
}

.bv-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--bv-border);
  color: var(--bv-text-muted);
  text-decoration: none;
  transition: var(--bv-transition);
}

.bv-footer-social a:hover {
  border-color: var(--bv-accent);
  color: var(--bv-accent);
  background: var(--bv-accent-glow-sm);
}

.bv-footer-social a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bv-footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bv-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.bv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bv-footer-links a {
  font-size: 0.88rem;
  color: var(--bv-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.bv-footer-links a:hover {
  color: var(--bv-accent);
}

.bv-footer-bottom {
  border-top: 1px solid var(--bv-border);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--bv-text-muted);
}

.bv-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.bv-footer-bottom-links a {
  color: var(--bv-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.bv-footer-bottom-links a:hover {
  color: var(--bv-accent);
}

.bv-footer-logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bv-text-primary);
  letter-spacing: -0.02em;
}

.bv-footer-logo-text span {
  color: var(--bv-accent);
}

@media (max-width: 900px) {
  .bv-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 24px 40px;
  }
  .bv-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 24px;
  }
  .bv-cta-section {
    padding: 72px 0 80px;
  }
  .bv-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bv-cta-form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .bv-footer-main {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LAYOUT GERAL (blog, single, páginas)
   ============================================================ */

.bv-page-wrap {
  padding-top: 68px; /* altura da navbar */
  min-height: 100vh;
  background: var(--bv-bg-primary);
}

.bv-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px;
}

.bv-container--narrow {
  max-width: 780px;
}

/* ============================================================
   PAGE HEADER (blog archive)
   ============================================================ */

.bv-page-header {
  background: linear-gradient(to bottom, #0d1220, var(--bv-bg-primary));
  border-bottom: 1px solid var(--bv-border);
  padding: 64px 32px 48px;
  text-align: center;
}

.bv-page-header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.bv-page-title {
  font-family: var(--bv-font) !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: var(--bv-text-primary) !important;
  margin: 12px 0 16px !important;
  letter-spacing: -1px !important;
  line-height: 1.15 !important;
}

.bv-page-desc {
  font-size: 17px;
  color: var(--bv-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   POSTS GRID
   ============================================================ */

.bv-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.bv-post-card {
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-lg);
  overflow: hidden;
  transition: var(--bv-transition);
  display: flex;
  flex-direction: column;
  list-style: none;
}

.bv-post-card:hover {
  border-color: var(--bv-border-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--bv-border-accent);
}

.bv-post-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.bv-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bv-post-card:hover .bv-post-thumb img {
  transform: scale(1.04);
}

.bv-post-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bv-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
}

.bv-post-cat a {
  color: var(--bv-accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px;
}

.bv-post-date {
  color: var(--bv-text-muted);
}

.bv-post-title {
  font-family: var(--bv-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 12px !important;
}

.bv-post-title a {
  color: var(--bv-text-primary) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}

.bv-post-title a:hover {
  color: var(--bv-accent) !important;
}

.bv-post-excerpt {
  color: var(--bv-text-secondary);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.bv-post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bv-accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
  margin-top: auto;
}

.bv-post-read-more:hover {
  gap: 10px;
  color: var(--bv-accent);
}

/* ============================================================
   PAGINAÇÃO
   ============================================================ */

.bv-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-bottom: 32px;
}

.bv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--bv-radius-sm);
  border: 1px solid var(--bv-border);
  color: var(--bv-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--bv-transition);
}

.bv-pagination .page-numbers:hover,
.bv-pagination .page-numbers.current {
  background: var(--bv-accent);
  border-color: var(--bv-accent);
  color: #fff;
}

.bv-pagination .prev,
.bv-pagination .next {
  width: auto;
  padding: 0 16px;
}

/* ============================================================
   NO POSTS
   ============================================================ */

.bv-no-posts {
  text-align: center;
  padding: 80px 0;
  color: var(--bv-text-muted);
}

.bv-no-posts p {
  margin-bottom: 24px;
  font-size: 18px;
}

/* ============================================================
   POST SINGLE - HEADER
   ============================================================ */

.bv-post-header {
  background: linear-gradient(to bottom, #0d1220, var(--bv-bg-primary));
  border-bottom: 1px solid var(--bv-border);
  padding: 72px 32px 48px;
  text-align: center;
}

.bv-post-header-inner {
  max-width: 780px;
  margin: 0 auto;
}

.bv-post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bv-text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.bv-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--bv-accent);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.2s;
}

.bv-back-link:hover { gap: 8px; }

.bv-sep { color: var(--bv-border); }

.bv-single-title {
  font-family: var(--bv-font) !important;
  font-size: clamp(26px, 4vw, 48px) !important;
  font-weight: 800 !important;
  color: var(--bv-text-primary) !important;
  line-height: 1.15 !important;
  letter-spacing: -1px !important;
  margin: 0 0 24px !important;
}

.bv-post-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--bv-text-secondary);
}

.bv-author-avatar {
  border-radius: 50%;
  width: 36px !important;
  height: 36px !important;
}

/* ============================================================
   POST SINGLE - FEATURED IMAGE
   ============================================================ */

.bv-post-featured-img {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
}

.bv-post-featured-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--bv-radius-lg);
  border: 1px solid var(--bv-border);
  margin-top: -24px;
  display: block;
}

/* ============================================================
   POST SINGLE - CONTENT
   ============================================================ */

.bv-post-content {
  color: var(--bv-text-secondary);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.bv-post-content h1,
.bv-post-content h2,
.bv-post-content h3,
.bv-post-content h4 {
  font-family: var(--bv-font) !important;
  color: var(--bv-text-primary) !important;
  font-weight: 700 !important;
  margin-top: 2em !important;
  margin-bottom: 0.6em !important;
}

.bv-post-content h2 { font-size: 26px !important; }
.bv-post-content h3 { font-size: 20px !important; }

.bv-post-content p { margin-bottom: 1.4em; }

.bv-post-content a {
  color: var(--bv-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bv-post-content img {
  max-width: 100%;
  border-radius: var(--bv-radius-md);
  border: 1px solid var(--bv-border);
}

.bv-post-content blockquote {
  border-left: 3px solid var(--bv-accent);
  margin: 2em 0;
  padding: 16px 24px;
  background: var(--bv-bg-card);
  border-radius: 0 var(--bv-radius-md) var(--bv-radius-md) 0;
  color: var(--bv-text-primary);
  font-style: italic;
}

.bv-post-content code {
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 14px;
  color: var(--bv-accent);
}

.bv-post-content pre {
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-md);
  padding: 20px;
  overflow-x: auto;
}

.bv-post-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
}

.bv-post-content ul,
.bv-post-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.bv-post-content li { margin-bottom: 0.4em; }

/* ============================================================
   TAGS
   ============================================================ */

.bv-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.bv-post-tags a {
  display: inline-block;
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  color: var(--bv-text-muted);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--bv-transition);
}

.bv-post-tags a:hover {
  border-color: var(--bv-accent);
  color: var(--bv-accent);
}

/* ============================================================
   NAVEGAÇÃO ENTRE POSTS
   ============================================================ */

.bv-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--bv-border);
  padding-top: 40px;
  margin-bottom: 40px;
}

.bv-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-md);
  text-decoration: none;
  transition: var(--bv-transition);
}

.bv-post-nav-item:hover {
  border-color: var(--bv-border-accent);
  background: var(--bv-bg-secondary);
}

.bv-post-nav-next { text-align: right; }

.bv-post-nav-label {
  font-size: 12px;
  color: var(--bv-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bv-post-nav-title {
  font-size: 14px;
  color: var(--bv-text-primary);
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   BLOG LAYOUT COM SIDEBAR
   ============================================================ */

.bv-blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* Post list (layout horizontal) */
.bv-post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}

.bv-post-list-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-lg);
  overflow: hidden;
  transition: var(--bv-transition);
  list-style: none;
}

.bv-post-list-item:hover {
  border-color: var(--bv-border-accent);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.bv-post-list-thumb {
  display: block;
  overflow: hidden;
  height: 100%;
  min-height: 180px;
}

.bv-post-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bv-post-list-item:hover .bv-post-list-thumb img {
  transform: scale(1.05);
}

.bv-post-list-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   SIDEBAR
   ============================================================ */

.bv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}

.bv-widget {
  background: var(--bv-bg-card);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-md);
  padding: 20px;
}

.bv-widget-title {
  font-family: var(--bv-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--bv-text-muted) !important;
  margin: 0 0 16px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--bv-border) !important;
}

/* Search form */
.bv-widget .search-form {
  display: flex;
  gap: 8px;
}

.bv-widget .search-field {
  flex: 1;
  background: var(--bv-bg-secondary);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-sm);
  padding: 8px 12px;
  color: var(--bv-text-primary);
  font-size: 14px;
  outline: none;
  font-family: var(--bv-font);
}

.bv-widget .search-field:focus {
  border-color: var(--bv-accent);
}

.bv-widget .search-submit {
  background: var(--bv-accent);
  border: none;
  border-radius: var(--bv-radius-sm);
  color: #fff;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.bv-widget .search-submit:hover {
  background: var(--bv-accent-hover);
}

/* Widget posts recentes */
.bv-widget-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bv-widget-posts li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bv-text-primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}

.bv-widget-posts li a:hover { color: var(--bv-accent); }

.bv-widget-posts li a img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--bv-radius-sm);
  flex-shrink: 0;
}

.bv-widget-posts li small {
  display: block;
  font-size: 11px;
  color: var(--bv-text-muted);
  margin-top: 2px;
}

/* Categorias */
.bv-widget-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bv-widget-cats li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--bv-radius-sm);
  text-decoration: none;
  color: var(--bv-text-secondary);
  font-size: 13px;
  transition: var(--bv-transition);
}

.bv-widget-cats li a:hover {
  background: var(--bv-bg-secondary);
  color: var(--bv-accent);
}

.bv-widget-cats li a span {
  background: var(--bv-bg-secondary);
  border: 1px solid var(--bv-border);
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 11px;
  color: var(--bv-text-muted);
}

/* Comentários recentes */
.bv-widget-comments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bv-widget-comments li a {
  display: block;
  text-decoration: none;
  color: var(--bv-text-secondary);
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s;
}

.bv-widget-comments li a:hover { color: var(--bv-text-primary); }
.bv-widget-comments li a strong { color: var(--bv-accent); }

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */

.admin-bar .bv-page-wrap { padding-top: calc(68px + 32px); }
@media (max-width: 782px) { .admin-bar .bv-page-wrap { padding-top: calc(68px + 46px); } }

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
  .bv-blog-layout { grid-template-columns: 1fr; }
  .bv-post-list-item { grid-template-columns: 1fr; }
  .bv-post-list-thumb { min-height: 200px; }
  .bv-post-list-body { padding: 20px; }
  .bv-sidebar { position: static; }
  .bv-post-nav { grid-template-columns: 1fr; }

  .bv-hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .bv-btn-primary,
  .bv-btn-secondary {
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
}

/* ============================================================
   SEÇÃO: EDUCAÇÃO & MENTORIAS
   ============================================================ */

.bv-edu-section {
  padding: 100px 0 112px;
  background: var(--bv-bg-primary);
  position: relative;
}

.bv-edu-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.25), transparent);
}

.bv-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.bv-section-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-accent);
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.20);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.bv-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--bv-text-primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.bv-section-sub {
  font-size: 17px;
  color: var(--bv-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Grid de cards */
.bv-edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bv-edu-card {
  background: #111827;
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-lg);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--bv-transition);
  position: relative;
  overflow: hidden;
}

.bv-edu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--bv-radius-lg);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(6,182,212,0.18), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bv-edu-card:hover {
  border-color: var(--bv-border-accent);
  box-shadow: 0 0 40px rgba(6,182,212,0.10), 0 20px 60px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.bv-edu-card:hover::before {
  opacity: 1;
}

.bv-edu-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.bv-edu-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--bv-accent);
}

.bv-edu-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--bv-text-primary);
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}

.bv-edu-card-desc {
  font-size: 14.5px;
  color: var(--bv-text-secondary);
  line-height: 1.7;
  margin: 0 0 28px;
  flex: 1;
}

.bv-edu-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bv-accent);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.bv-edu-card-link:hover {
  color: #22d3ee;
  gap: 10px;
}

.bv-edu-card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .bv-edu-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .bv-edu-section {
    padding: 72px 0 80px;
  }
}

/* ============================================================
   SEÇÃO: NOSSAS PLATAFORMAS
   ============================================================ */

.bv-platforms-section {
  padding: 100px 0 112px;
  background: #0d1117;
  position: relative;
}

.bv-platforms-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.25), transparent);
}

.bv-platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .bv-platforms-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .bv-platforms-section {
    padding: 72px 0 80px;
  }
}

/* ============================================================
   SEÇÃO: INFRAESTRUTURA E TECNOLOGIA BASE
   ============================================================ */

.bv-infra-section {
  padding: 100px 0 112px;
  background: #0d1117;
  position: relative;
}

.bv-infra-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.25), transparent);
}

.bv-infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}

.bv-infra-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.bv-infra-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.bv-infra-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bv-accent);
}

.bv-infra-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--bv-text-primary);
  letter-spacing: -0.2px;
  margin: 0 0 8px;
}

.bv-infra-text p {
  font-size: 14px;
  color: var(--bv-text-secondary);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .bv-infra-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bv-infra-section {
    padding: 72px 0 80px;
  }
}

/* ============================================================
   SEÇÃO: CASOS DE SUCESSO
   ============================================================ */

.bv-cases-section {
  background: #0B0F19;
  padding: 100px 0 110px;
  position: relative;
}

.bv-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.bv-case-card {
  background: #111827;
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius-lg);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--bv-transition);
  overflow: hidden;
}

.bv-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--bv-radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(6,182,212,0.25) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: var(--bv-transition);
}

.bv-case-card:hover {
  border-color: var(--bv-border-accent);
  transform: translateY(-4px);
}

.bv-case-card:hover::before {
  opacity: 1;
}

.bv-case-metric {
  font-size: 3.5rem;
  font-weight: 800;
  color: #06b6d4;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.bv-case-metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bv-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.bv-case-divider {
  width: 40px;
  height: 2px;
  background: var(--bv-border-accent);
  margin-bottom: 20px;
  border-radius: 2px;
}

.bv-case-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--bv-text-secondary);
  flex: 1;
}

.bv-case-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--bv-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bv-text-muted);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .bv-cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bv-cases-section {
    padding: 72px 0 80px;
  }
  .bv-case-metric {
    font-size: 2.8rem;
  }
}
