/*
Theme Name: Finvotec
Theme URI: https://finvotec.com
Author: Finvotec
Description: Blog fintech premium de educacao financeira.
Version: 4.0.0
Requires at least: 5.8
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: finvotec
*/

/* ============================================================
   RESET TOTAL - destrói qualquer wrapper do WP/GoDaddy
============================================================ */
html, body, #page, #content, #primary, #secondary,
.site, .site-content, .hfeed, .wp-site-blocks,
body.single, body.archive, body.home, body.blog,
body > div { background: #0A0A0F !important; }

html {
  background: #0A0A0F !important;
  margin: 0 !important;
  padding: 0 !important;
}
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: #0A0A0F !important;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: #3D8EFF; text-decoration: none; transition: color .18s; }
a:hover { color: #6AB4FF; }
h1,h2,h3,h4 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #fff;
  line-height: 1.25;
  font-weight: 700;
}

/* ============================================================
   TOKENS
============================================================ */
:root {
  /* === CORES DA LOGO FINVOTEC === */
  --navy:   #0A0A0F;    /* fundo preto da logo */
  --dark2:  #0F0F18;    /* superfície primária */
  --dark3:  #141424;    /* superfície secundária */
  --dark4:  #1A1A30;    /* superfície terciária */
  --blue:   #1A3EBF;    /* azul royal "Tec" */
  --blue2:  #1E6FD9;    /* azul escudo médio */
  --blue3:  #3D8EFF;    /* azul elétrico brilhante */
  --cyan:   #6AB4FF;    /* azul claro highlights */
  --white:  #FFFFFF;
  --w90:    rgba(255,255,255,.9);
  --w70:    rgba(255,255,255,.7);
  --w40:    rgba(255,255,255,.4);
  --w12:    rgba(255,255,255,.12);
  --w06:    rgba(255,255,255,.06);
  --border: rgba(255,255,255,.08);
  --borderb: rgba(30,111,217,.3);
  /* Gradientes da logo */
  --grad:   linear-gradient(135deg,#0A0A0F 0%,#0D1235 50%,#1A3EBF 100%);
  --gradbl: linear-gradient(135deg,#1A3EBF,#1E6FD9,#3D8EFF);
  --gradac: linear-gradient(90deg,#1E6FD9,#3D8EFF);
  --sh:     0 4px 24px rgba(0,0,0,.5);
  --sh2:    0 8px 40px rgba(0,0,0,.6),0 0 28px rgba(30,111,217,.18);
  --r:      12px;
  --r2:     18px;
  --w:      1180px;
}

/* ============================================================
   LAYOUT
============================================================ */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   AD BAR
============================================================ */
.ad-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6px 16px;
  width: 100%;
}
.ad-lbl { font-size: .6rem; color: var(--w40); text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: 3px; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: rgba(6,13,26,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(30,111,217,.35));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: nowrap;
  overflow: hidden;
}
.nav-links a {
  color: var(--w70);
  font-size: .84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background .18s, color .18s;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--w06);
  color: #fff;
}
.nav-btn {
  display: none;
  background: var(--w06);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 7px;
  padding: 7px 11px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}
@media(max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: rgba(6,13,26,.98);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-btn { display: block; }
}

/* ============================================================
   HERO
============================================================ */
.site-hero {
  background: var(--grad);
  padding: 64px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,62,191,.3), transparent 70%);
  pointer-events: none;
}
.site-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -40px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(106,180,255,.1), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,111,217,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,111,217,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.site-hero .wrap { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30,111,217,.1);
  border: 1px solid rgba(30,111,217,.22);
  color: var(--blue3);
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: blink 2s ease-in-out infinite;
  display: inline-block;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }

.site-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hero-highlight {
  background: linear-gradient(90deg, var(--blue2), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: var(--w70);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 40px;
}
.hero-pill {
  background: var(--w06);
  border: 1px solid var(--border);
  color: var(--w70);
  font-size: .82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all .2s;
}
.hero-pill:hover {
  background: rgba(30,111,217,.12);
  border-color: var(--borderb);
  color: #fff;
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--blue2), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl { font-size: .72rem; color: var(--w40); text-transform: uppercase; letter-spacing: .07em; }

/* ============================================================
   CATEGORY BAR
============================================================ */
.cat-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.cat-bar-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  color: var(--w40);
  font-size: .83rem;
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: all .18s;
  flex-shrink: 0;
}
.cat-tab:hover, .cat-tab.active {
  color: #fff;
  border-bottom-color: var(--blue2);
  background: var(--w06);
}

/* ============================================================
   PAGE LAYOUT
============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  max-width: var(--w);
  margin: 36px auto;
  padding: 0 24px;
  width: 100%;
}
@media(max-width: 920px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}

/* ============================================================
   SECTION HEADER
============================================================ */
.sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.sec-title {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-title::before {
  content: '';
  display: block;
  width: 3px; height: 18px;
  background: linear-gradient(180deg, var(--blue2), var(--cyan));
  border-radius: 2px;
}

/* ============================================================
   CARDS
============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.card {
  background: linear-gradient(145deg, #141424, #0F0F18);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh2);
  border-color: rgba(30,111,217,.28);
}
.card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #060D1A, #0D1B3E);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.card:hover .card-thumb img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  background: rgba(26,48,150,.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,111,217,.35);
  color: var(--blue3);
  font-size: .66rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-family: Georgia, serif;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 9px;
}
.card-title a { color: inherit; text-decoration: none; transition: color .18s; }
.card-title a:hover { color: var(--blue3); }
.card-exc { color: var(--w40); font-size: .845rem; flex: 1; margin-bottom: 14px; line-height: 1.6; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.card-meta { font-size: .75rem; color: rgba(255,255,255,.28); display: flex; gap: 10px; }
.card-cta {
  font-size: .77rem;
  font-weight: 700;
  color: var(--blue3);
  text-decoration: none;
  transition: color .18s, letter-spacing .18s;
}
.card:hover .card-cta { color: var(--cyan); letter-spacing: .04em; }

/* Featured */
.card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-bottom: 6px;
  border-radius: var(--r2);
}
.card-featured .card-thumb {
  aspect-ratio: unset;
  min-height: 260px;
  border-radius: var(--r2) 0 0 var(--r2);
}
.card-featured .card-body { padding: 28px 26px; justify-content: center; }
.card-featured .card-title { font-size: 1.25rem; margin-bottom: 12px; }
.card-featured .card-exc { font-size: .9rem; }
@media(max-width: 640px) {
  .card-featured { grid-template-columns: 1fr; }
  .card-featured .card-thumb { min-height: 180px; border-radius: var(--r2) var(--r2) 0 0; }
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 82px; align-self: start; }
.widget {
  background: var(--dark2);
  border-radius: var(--r2);
  padding: 20px;
  border: 1px solid var(--border);
}
.widget-ttl {
  font-family: Georgia, serif;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.widget-ttl::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--blue2), var(--cyan));
  border-radius: 1px;
}
.rp-item {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  align-items: flex-start;
}
.rp-item:last-child { border-bottom: none; padding-bottom: 0; }
.rp-item:hover .rp-txt { color: var(--blue3); }
.rp-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--dark4);
  border: 1px solid var(--borderb);
  color: var(--blue3);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  margin-top: 1px;
}
.rp-txt { font-size: .835rem; font-weight: 500; color: var(--w70); line-height: 1.4; }
.cat-pill-list { display: flex; flex-direction: column; gap: 5px; }
.cat-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  text-decoration: none;
  font-size: .835rem;
  font-weight: 500;
  color: var(--w70);
  transition: all .18s;
}
.cat-pill:hover { background: rgba(30,111,217,.08); border-color: var(--borderb); color: #fff; }
.cat-count {
  background: var(--dark4);
  color: var(--blue3);
  font-size: .68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  border: 1px solid var(--borderb);
}
.nl-widget {
  background: linear-gradient(135deg, #1A1A30, #141424);
  border: 1px solid rgba(30,111,217,.18);
  border-radius: var(--r2);
  padding: 22px;
}
.nl-widget h3 { font-size: .95rem; color: #fff; margin-bottom: 6px; }
.nl-widget p { font-size: .8rem; color: var(--w40); margin-bottom: 14px; line-height: 1.6; }
.nl-input {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  color: #fff;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: .855rem;
  font-family: inherit;
  margin-bottom: 7px;
  outline: none;
}
.nl-input:focus { border-color: rgba(30,111,217,.4); }
.nl-input::placeholder { color: var(--w40); }
.nl-btn {
  width: 100%;
  background: var(--gradbl);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 7px;
  font-weight: 700;
  font-size: .87rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .18s;
}
.nl-btn:hover { opacity: .88; }

/* ============================================================
   SINGLE POST
============================================================ */
.post-hero-wrap {
  background: linear-gradient(180deg, var(--dark2) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.post-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 40px 24px 28px;
}
.breadcrumb { font-size: .78rem; color: var(--w40); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--blue3); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--border); }
.post-cat-badge {
  display: inline-block;
  background: rgba(30,111,217,.1);
  border: 1px solid rgba(30,111,217,.22);
  color: var(--blue3);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 14px;
  text-decoration: none;
}
.post-title {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
  letter-spacing: -.015em;
}
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .8rem;
  color: var(--w40);
  align-items: center;
}
.post-meta-bar .author { font-weight: 600; color: var(--w70); }
.post-meta-bar .sep { color: var(--border); }
.post-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r2);
  margin: 28px 0;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  border: 1px solid var(--border);
  display: block;
}

/* ============================================================
   ENTRY CONTENT
============================================================ */
.entry {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(255,255,255,.75);
}
.entry h2 {
  font-size: 1.45rem;
  margin: 1.8em 0 .6em;
  padding-bottom: .35em;
  border-bottom: 1px solid var(--border);
  color: #fff;
  position: relative;
}
.entry h2::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 50px; height: 2px;
  background: linear-gradient(90deg, var(--blue2), var(--cyan));
  border-radius: 1px;
}
.entry h3 { font-size: 1.15rem; margin: 1.5em 0 .5em; color: rgba(255,255,255,.9); }
.entry p { margin-bottom: 1.25em; }
.entry ul, .entry ol { margin: 1em 0 1.3em 1.5rem; }
.entry li { margin-bottom: .45em; }
.entry a { color: var(--blue3); font-weight: 500; }
.entry a:hover { color: var(--cyan); }
.entry strong { color: rgba(255,255,255,.9); font-weight: 600; }
.entry blockquote {
  border-left: 3px solid var(--blue2);
  background: rgba(30,111,217,.05);
  padding: 18px 22px;
  margin: 1.5em 0;
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--w70);
}
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9rem; border-radius: var(--r); overflow: hidden; }
.entry th { background: var(--dark4); color: #fff; padding: 11px 14px; text-align: left; font-size: .84rem; letter-spacing: .03em; border-bottom: 1px solid rgba(30,111,217,.25); }
.entry td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--w70); }
.entry tr:nth-child(even) td { background: var(--w06); }
.entry img { border-radius: var(--r2); margin: 1.4em auto; box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.box { border-radius: var(--r); padding: 16px 20px; margin: 1.5em 0; }
.box-info   { background: rgba(30,111,217,.07); border-left: 3px solid var(--blue2); }
.box-warn   { background: rgba(251,191,36,.06); border-left: 3px solid #FBBF24; }
.box-ok     { background: rgba(16,185,129,.06); border-left: 3px solid #10B981; }
.box-danger { background: rgba(239,68,68,.06);  border-left: 3px solid #EF4444; }
.box-t { font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 5px; font-size: .9rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.5em 0; }
.pros { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.18); border-top: 3px solid #10B981; border-radius: var(--r); padding: 16px; }
.cons { background: rgba(239,68,68,.06);  border: 1px solid rgba(239,68,68,.18);  border-top: 3px solid #EF4444; border-radius: var(--r); padding: 16px; }
.pros h4 { color: #10B981; margin-bottom: 8px; font-size: .9rem; }
.cons h4 { color: #EF4444; margin-bottom: 8px; font-size: .9rem; }
.pros ul, .cons ul { margin: 0; padding-left: 1.2rem; }
.pros li, .cons li { color: var(--w70); font-size: .875rem; }
@media(max-width:540px) { .pros-cons { grid-template-columns: 1fr; } }
.btn-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradbl);
  color: #fff;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .92rem;
  margin: 1.2em 0;
  text-decoration: none !important;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 4px 18px rgba(26,62,191,.35);
}
.btn-ext:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.ad-mid {
  background: var(--dark2);
  border: 1px dashed var(--border);
  border-radius: var(--r);
  padding: 12px;
  text-align: center;
  margin: 1.8em 0;
}
.post-tags { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.post-tags .lbl { font-size: .78rem; font-weight: 600; color: var(--w40); }
.tag { background: var(--dark3); border: 1px solid var(--border); color: var(--w40); font-size: .76rem; padding: 4px 11px; border-radius: 5px; text-decoration: none; transition: all .18s; }
.tag:hover { background: rgba(30,111,217,.1); border-color: var(--borderb); color: var(--blue3); }
.related-section { margin: 40px 0 0; }
.related-section h3 { font-size: 1.15rem; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.related-section h3::before { content: ''; display: block; width: 3px; height: 18px; background: linear-gradient(180deg, var(--blue2), var(--cyan)); border-radius: 2px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.nl-box {
  background: linear-gradient(135deg, #1A1A30, #141424);
  border: 1px solid rgba(30,111,217,.18);
  border-radius: var(--r2);
  padding: 36px 28px;
  text-align: center;
  margin: 40px 0;
}
.nl-box h3 { font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.nl-box p { color: var(--w40); margin-bottom: 20px; font-size: .9rem; }
.nl-form { display: flex; gap: 9px; max-width: 420px; margin: 0 auto; }
.nl-form input { flex: 1; background: var(--navy); border: 1px solid var(--border); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: .88rem; font-family: inherit; outline: none; }
.nl-form input:focus { border-color: rgba(30,111,217,.4); }
.nl-form input::placeholder { color: var(--w40); }
.nl-form button { background: var(--gradbl); color: #fff; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; cursor: pointer; font-family: inherit; white-space: nowrap; font-size: .88rem; }
@media(max-width:500px) { .nl-form { flex-direction: column; } }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; justify-content: center; gap: 5px; margin: 36px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  font-weight: 700; font-size: .86rem;
  border: 1px solid var(--border);
  background: var(--dark2);
  color: var(--w70);
  text-decoration: none;
  transition: all .18s;
}
.pagination a:hover { background: rgba(30,111,217,.12); border-color: var(--borderb); color: #fff; }
.pagination .current { background: var(--gradbl); color: #fff; border-color: transparent; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  margin-top: 72px;
  width: 100%;
}
.ftr-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--w);
  margin: 0 auto;
  padding: 52px 24px 40px;
}
@media(max-width:860px) { .ftr-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media(max-width:480px) { .ftr-top { grid-template-columns: 1fr; } }
.ftr-desc { font-size: .855rem; color: var(--w40); line-height: 1.7; max-width: 290px; margin-top: 12px; }
.ftr-disclaimer { font-size: .72rem; color: rgba(255,255,255,.22); margin-top: 14px; line-height: 1.65; }
.ftr-col h4 { font-family: Georgia, serif; font-size: .84rem; color: #fff; margin-bottom: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ftr-col ul { list-style: none; }
.ftr-col li { margin-bottom: 8px; }
.ftr-col a { color: var(--w40); font-size: .855rem; text-decoration: none; transition: color .18s; }
.ftr-col a:hover { color: var(--blue3); }
.ftr-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.28);
}
.ftr-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.ftr-bottom a:hover { color: var(--blue3); }

/* ============================================================
   ADS
============================================================ */
.ads { display: block; background: var(--dark3); border: 1px dashed var(--border); text-align: center; color: var(--w40); font-size: .72rem; border-radius: 7px; overflow: hidden; }
.ads-728 { width: 100%; max-width: 728px; height: 90px; line-height: 90px; margin: 0 auto; }
.ads-300 { width: 300px; height: 250px; line-height: 250px; margin: 0 auto; max-width: 100%; }
.ads-res { width: 100%; min-height: 90px; padding: 20px; }

/* ============================================================
   PAGE INSTITUCIONAL
============================================================ */
.page-wrap { max-width: 800px; margin: 52px auto; padding: 0 24px; }
.page-wrap h1 { font-size: 1.9rem; margin-bottom: 24px; }
.page-wrap h2 { font-size: 1.25rem; margin-top: 2em; margin-bottom: .6em; }
.page-wrap p, .page-wrap li { color: var(--w70); line-height: 1.8; margin-bottom: .75em; }
.page-wrap a { color: var(--blue3); }
.page-wrap table { width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: .9rem; }
.page-wrap th { background: var(--dark4); color: #fff; padding: 10px 13px; text-align: left; }
.page-wrap td { padding: 9px 13px; border-bottom: 1px solid var(--border); color: var(--w70); }

/* ============================================================
   COOKIE BANNER
============================================================ */
#cookie-banner {
  background: rgba(6,13,26,.96);
  border-top: 1px solid rgba(30,111,217,.25);
  backdrop-filter: blur(16px);
}

/* ============================================================
   UTILS
============================================================ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ============================================================
   AUTHOR BIO BOX — E-E-A-T / YMYL
============================================================ */
.author-bio-box {
  background: linear-gradient(135deg, #0F0F18, #141424);
  border: 1px solid rgba(30,111,217,.2);
  border-left: 4px solid var(--blue2);
  border-radius: var(--r2);
  padding: 28px;
  margin: 40px 0;
}
.author-bio-inner {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.author-avatar {
  flex-shrink: 0;
}
.author-avatar img {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--blue2);
  object-fit: cover;
  margin: 0;
  box-shadow: 0 0 20px rgba(30,111,217,.3);
}
.avatar-fallback {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blue2);
  flex-shrink: 0;
}
.avatar-initials {
  width: 80px; height: 80px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 0 24px rgba(30,111,217,.3);
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.author-bio-role {
  font-size: .82rem;
  color: var(--blue3);
  font-weight: 600;
  margin-bottom: 8px;
}
.author-bio-content { flex: 1; }
.author-bio-name {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.author-bio-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.cred-badge {
  background: rgba(30,111,217,.12);
  border: 1px solid rgba(30,111,217,.25);
  color: var(--blue3);
  font-size: .7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.author-bio-text {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 12px;
}
.author-bio-links {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.author-bio-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue3);
  text-decoration: none;
  transition: color .18s;
}
.author-bio-link:hover { color: var(--cyan); }
.author-bio-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.6;
}
.author-bio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.bio-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}
.bio-meta-icon { font-size: .9rem; }
.bio-meta-item strong { color: rgba(255,255,255,.7); }
@media(max-width:540px) {
  .author-bio-inner { flex-direction: column; }
  .author-avatar img, .avatar-fallback { width: 60px; height: 60px; }
}

/* ============================================================
   FACT-CHECK BOX — credibilidade YMYL
============================================================ */
.fact-box {
  background: rgba(30,111,217,.05);
  border: 1px solid rgba(30,111,217,.2);
  border-radius: var(--r);
  padding: 16px 20px;
  margin: 1.5em 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.fact-box-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.fact-box-content { flex: 1; }
.fact-box-title { font-size: .8rem; font-weight: 700; color: var(--blue3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.fact-box-text { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6; }
.fact-box-source { font-size: .75rem; color: rgba(255,255,255,.35); margin-top: 6px; }

/* ============================================================
   LAST UPDATED BANNER
============================================================ */
.updated-banner {
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .8rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5em;
}

/* ============================================================
   METHODOLOGY BADGE
============================================================ */
.methodology-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,111,217,.08);
  border: 1px solid rgba(30,111,217,.18);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: .75rem;
  color: var(--blue3);
  margin-bottom: 1em;
  text-decoration: none;
}

/* ============================================================
   CATEGORIA COM CONTAGEM — menu mais rico
============================================================ */
.cat-count-badge {
  background: rgba(30,111,217,.15);
  color: var(--blue3);
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}
