/* ================================================================
   CREDITOS THEME — Design System v1.2
   Tipografia: Plus Jakarta Sans · Outfit · DM Mono
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Outfit:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --blue:         #1B6FE8;
  --blue-dark:    #1459C4;
  --blue-xdark:   #0F45A0;
  --blue-light:   #EEF4FF;
  --blue-mid:     #DAEAFF;
  --teal:         #0EA5A0;
  --teal-light:   #E6F8F7;
  --green:        #16A34A;
  --green-light:  #EDFAF3;
  --orange:       #F97316;
  --orange-light: #FEF3E8;
  --red:          #DC2626;
  --red-light:    #FEF2F2;
  --ink:          #111827;
  --ink-2:        #374151;
  --ink-3:        #6B7280;
  --ink-4:        #9CA3AF;
  --surface:      #F9FAFB;
  --surface-2:    #F3F4F6;
  --white:        #FFFFFF;
  --line:         #E5E7EB;
  --line-2:       #F3F4F6;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,.09);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.11);
  --shadow-blue:  0 4px 20px rgba(27,111,232,.28);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --t:            .18s ease;           /* micro-interações */
  --t-slow:       .28s ease;           /* hover de cards, transforms */
  --header-h:     58px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-dark); }
ul    { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── ACESSIBILIDADE ──────────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* Garante que overflow:hidden nos containers não corta o outline */
.btn:focus-visible,
.tipo-card:focus-visible,
a.card:focus-visible {
  outline-offset: 2px;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container          { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow  { max-width: 860px;  margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 4rem 0; }
.section--sm { padding: 2.5rem 0; }
.section--lg { padding: 6rem 0; }

/* ── TIPOGRAFIA ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { line-height: 1.75; color: var(--ink-2); }
.lead   { font-size: 1.05rem; color: var(--ink-3); line-height: 1.75; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.mono { font-family: var(--font-mono); }

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header         { margin-bottom: 2.5rem; }
.section-header--center { text-align: center; }
.section-header .eyebrow { display: block; margin-bottom: .6rem; }
.section-header p        { margin-top: .5rem; }

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; border: none;
  transition: background var(--t), color var(--t),
              transform var(--t-slow), box-shadow var(--t-slow);
  white-space: nowrap; cursor: pointer;
  font-family: var(--font-body); line-height: 1;
}
.btn--primary              { background: var(--blue); color: #fff; }
.btn--primary:hover        { background: var(--blue-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-blue); }
.btn--primary:active       { transform: translateY(0); box-shadow: none; }
.btn--outline              { background: transparent; color: var(--ink-2); border: 1.5px solid var(--line); }
.btn--outline:hover        { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.btn--ghost                { background: transparent; color: var(--blue); border: none; padding-left: 0; padding-right: 0; }
.btn--ghost:hover          { color: var(--blue-dark); }
.btn--sm   { padding: 7px 14px;  font-size: 13px; }
.btn--lg   { padding: 14px 28px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1.5;
}
.badge--blue    { background: var(--blue-light);   color: var(--blue);   }
.badge--green   { background: var(--green-light);  color: var(--green);  }
.badge--orange  { background: var(--orange-light); color: var(--orange); }
.badge--teal    { background: var(--teal-light);   color: var(--teal);   }
.badge--gray    { background: var(--surface-2);    color: var(--ink-3);  }
.badge--red     { background: var(--red-light);    color: var(--red);    }
.badge--featured { background: var(--blue); color: #fff; font-size: 9px; letter-spacing: .1em; padding: 2px 8px; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--t), box-shadow var(--t-slow), transform var(--t-slow);
}
/* Hover apenas em elementos interactivos */
a.card:hover,
.card--hover:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card--featured { border-color: var(--blue) !important; border-width: 2px; }
/* card--surface: fundo cinza, sem bordo. Se conviver com --featured, --featured ganha */
.card--surface  { background: var(--surface); border-color: var(--line-2); }
.card--flat     { box-shadow: none; }
.card--no-pad   { padding: 0; }

/* ── FORMULÁRIOS ─────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.form-select,
.form-input {
  appearance: none; -webkit-appearance: none;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 14px; color: var(--ink); font-family: var(--font-body);
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%; line-height: 1.4;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,111,232,.12);
}

/* Range slider — cross-browser */
.form-range {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: pointer;
  /* Margem vertical para evitar clip em Firefox */
  margin: 8px 0;
}
.form-range::-webkit-slider-container { padding: 0; }
.form-range::-webkit-slider-runnable-track {
  height: 4px; background: var(--line); border-radius: 2px;
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(27,111,232,.4);
  margin-top: -7px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.form-range::-webkit-slider-thumb:hover,
.form-range:active::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 1px 8px rgba(27,111,232,.5);
}
.form-range::-moz-range-track  { height: 4px; background: var(--line); border-radius: 2px; border: none; }
.form-range::-moz-range-thumb  {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(27,111,232,.4);
}
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(27,111,232,.2); }
.form-range-val {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--blue);
}

/* ── RATES / STARS / PROGRESS ────────────────────────────── */
.rate       { font-family: var(--font-mono); font-weight: 600; }
.rate--low  { color: var(--green);  }
.rate--mid  { color: var(--orange); }
.rate--high { color: var(--red);    }

.stars      { display: inline-flex; gap: 3px; align-items: center; }
.star       { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.star--full { background: var(--orange); }
.star--half { background: linear-gradient(90deg, var(--orange) 50%, var(--line) 50%); }
.star--empty{ background: var(--line); }

.progress       { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress__fill { height: 100%; background: var(--blue); border-radius: 2px; transition: width .5s ease; }

/* ── SKELETON ────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg,
    var(--surface-2) 0%,
    var(--line)      40%,
    var(--surface-2) 80%);
  background-size: 600px 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 var(--line), 0 2px 10px rgba(0,0,0,.04);
  height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 100%;
  max-width: 1200px; margin: 0 auto; gap: 1rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 800;
  color: var(--ink); text-decoration: none;
  flex-shrink: 0; letter-spacing: -.02em;
}
.site-logo span { color: var(--blue); }
.site-logo img  { height: 36px; width: auto; }

.site-nav { display: flex; align-items: center; gap: .15rem; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 6px 11px; border-radius: var(--radius-sm);
  transition: background var(--t), color var(--t);
}
.site-nav a:hover,
.site-nav a.active,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a { color: var(--blue); background: var(--blue-light); }

.site-header__cta { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }

/* Hamburguer — animação X */
.nav-toggle {
  display: none; background: none; border: none;
  padding: 6px; flex-direction: column; gap: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--t);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 3.5rem 0 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  color: #fff; margin-bottom: .75rem; letter-spacing: -.01em;
}
.footer-brand span { color: var(--blue); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.75; max-width: 280px; }
.footer-col h4 {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.28); margin-bottom: 1rem; font-family: var(--font-body);
}
.footer-col ul  { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a   { font-size: 13px; color: rgba(255,255,255,.48); transition: color var(--t); }
.footer-col a:hover { color: #fff; }
/* Bottom bar — alinhado com .container */
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 1.5rem;
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,.22); line-height: 1.7; max-width: 620px; }
.footer-copy  { font-size: 12px; color: rgba(255,255,255,.18); flex-shrink: 0; }

/* ── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-4); margin-bottom: 1.5rem;
}
.breadcrumb a            { color: var(--ink-3); transition: color var(--t); }
.breadcrumb a:hover      { color: var(--blue); }
.breadcrumb__sep         { color: var(--line); font-size: 11px; }
.breadcrumb__current     { color: var(--ink-2); font-weight: 500; }

/* ── NOTICES ─────────────────────────────────────────────── */
.notice {
  border-radius: var(--radius-md);
  padding: .9rem 1.1rem;
  font-size: 13px; line-height: 1.65;
  display: flex; gap: .65rem; align-items: flex-start;
}
.notice--info    { background: var(--blue-light);   color: var(--blue-dark);  border: 1px solid var(--blue-mid); }
.notice--warn    { background: var(--orange-light);  color: #92400e;           border: 1px solid #fed7aa; }
.notice--legal   { background: var(--surface);       color: var(--ink-4);      border: 1px solid var(--line); font-size: 12px; }
.notice--success { background: var(--green-light);   color: #14532d;           border: 1px solid #bbf7d0; }

/* ── PAGINAÇÃO WP ────────────────────────────────────────── */
/* WP emite: .nav-links > .page-numbers (links e spans) */
.nav-links {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--line);
  color: var(--ink-2); background: var(--white);
  transition: all var(--t);
  text-decoration: none;
}
.nav-links a.page-numbers:hover  { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.nav-links .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.nav-links .page-numbers.dots    { border: none; background: transparent; color: var(--ink-4); min-width: 20px; padding: 0; }

/* ── HERO ────────────────────────────────────────────────── */
.hero { background: var(--white); padding: 3.5rem 0 0; overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 3rem; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1;  transform: scale(1); }
  50%      { opacity: .35; transform: scale(.75); }
}
.hero__eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  animation: pulse-dot 2s ease-in-out infinite; flex-shrink: 0;
}
.hero__title { margin-bottom: .9rem; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(130deg, var(--blue) 0%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__sub     { margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__trust {
  display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center;
  padding: 1rem 0; border-top: 1px solid var(--line-2);
  font-size: 12px; color: var(--ink-3);
}
.hero__trust-item { display: flex; align-items: center; gap: 5px; }

/* Stats strip */
.hero__stats-strip {
  background: var(--blue); padding: 1rem 1.5rem;
  display: flex; flex-wrap: wrap; margin-top: 2.5rem;
}
.hero__stat {
  flex: 1; min-width: 110px;
  padding: .5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.hero__stat:first-child { padding-left: 0; text-align: left; }
.hero__stat:last-child  { border-right: none; }
.hero__stat-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero__stat-l { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 3px; }

/* Hero card lateral */
.hero__card {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.hero__card-title {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: .9rem;
  font-family: var(--font-body);
}
.hero__mini-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--line-2); gap: .5rem;
}
.hero__mini-row:last-of-type { border-bottom: none; }
.hero__mini-bank { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.hero__mini-type { font-size: 10px; color: var(--ink-4); margin-top: 1px; }
.hero__mini-rate { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--green); flex-shrink: 0; }
.hero__card-footer {
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-4);
}

/* Live dot pulsante */
@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 0 0   rgba(22,163,74,.45); }
  60%      { box-shadow: 0 0 0 5px rgba(22,163,74,0); }
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: pulse-live 2.2s ease-in-out infinite;
}

/* Skeleton rows */
.hero__skeleton-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--line-2);
}
.hero__skeleton-row:last-child { border-bottom: none; }
.hero__skel-label { width: 100px; height: 12px; }
.hero__skel-rate  { width:  50px; height: 16px; }

/* ── FEATURES STRIP ──────────────────────────────────────── */
.features-strip {
  background: var(--surface); padding: 2.5rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 2rem; }
.feature-item  { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon  {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.feature-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature-item p  { font-size: 12.5px; color: var(--ink-3); line-height: 1.65; }

/* ── CARDS TIPO CRÉDITO ──────────────────────────────────── */
.tipos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1.25rem; }
.tipo-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color var(--t), box-shadow var(--t-slow), transform var(--t-slow);
}
.tipo-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Filhos não herdam cor azul no hover */
.tipo-card:hover .tipo-card__title { color: var(--blue); }
.tipo-card__icon  { font-size: 2.2rem; margin-bottom: .85rem; line-height: 1; }
.tipo-card__title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-family: var(--font-display); transition: color var(--t); }
.tipo-card__desc  { font-size: 13px; color: var(--ink-3); line-height: 1.55; margin-bottom: .9rem; }

/* ── CTA BLOCK ───────────────────────────────────────────── */
.cta-block {
  background: var(--blue); border-radius: var(--radius-xl);
  padding: 3.5rem 3rem; text-align: center;
  position: relative;
  /* overflow: hidden removido — círculos decorativos ficam mais suaves */
}
/* Círculos decorativos: clip por border-radius */
.cta-block::before,
.cta-block::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-block::before {
  top: -80px; right: -80px; width: 280px; height: 280px;
  background: rgba(255,255,255,.07);
}
.cta-block::after {
  bottom: -60px; left: -60px; width: 220px; height: 220px;
  background: rgba(255,255,255,.045);
}
.cta-block h2      { color: #fff; margin-bottom: .75rem; position: relative; z-index: 1; }
.cta-block p       { color: rgba(255,255,255,.68); margin-bottom: 1.75rem; position: relative; z-index: 1; }
.cta-block .btn-wrap { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-block .btn--outline          { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.cta-block .btn--outline:hover    { border-color: #fff; background: rgba(255,255,255,.12); transform: translateY(-1px); }

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar         { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.25rem 1.5rem; }
.filter-bar__inner  { display: flex; gap: 1rem; align-items: flex-end; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.filter-bar__group  { flex: 1; min-width: 140px; }
.filter-bar__actions{ display: flex; gap: .5rem; align-items: flex-end; margin-left: auto; }
.results-header     { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1rem 0; }
.results-header__count           { font-size: 14px; color: var(--ink-3); }
.results-header__count strong    { color: var(--ink); font-weight: 700; }
.results-header__sort            { display: flex; align-items: center; gap: .5rem; font-size: 13px; color: var(--ink-3); }
.results-header__sort .form-select { width: auto; font-size: 13px; }

/* ── TABELA SIMULADOR ────────────────────────────────────── */
.sim-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1.5px solid var(--line); }
.simulator-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.simulator-table thead th {
  font-size: 10px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-4); text-align: left;
  padding: 10px 14px; border-bottom: 2px solid var(--blue);
  background: var(--surface); font-family: var(--font-body);
  position: sticky; top: 0; z-index: 2; white-space: nowrap;
}
.simulator-table tbody tr              { border-bottom: 1px solid var(--line); transition: background var(--t); }
.simulator-table tbody tr:last-child   { border-bottom: none; }
.simulator-table tbody tr:hover        { background: var(--blue-light); }
.simulator-table tbody tr.row--featured{ background: rgba(27,111,232,.035); }
.simulator-table tbody tr.row--featured:hover { background: var(--blue-light); }
.simulator-table td { padding: 14px; font-size: 13px; vertical-align: middle; white-space: nowrap; }
.simulator-table td.bank-name { font-weight: 700; color: var(--ink); font-size: 14px; white-space: normal; min-width: 160px; }
.simulator-table td.taeg-val  { font-family: var(--font-mono); font-size: 15px; font-weight: 700; }

/* ── SIMULADOR PANEL ─────────────────────────────────────── */
.simulator-wrap {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 2rem; align-items: start;
}
.simulator-panel {
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: sticky; top: calc(var(--header-h) + 1.5rem);
  box-shadow: var(--shadow-sm);
}
.simulator-panel__title {
  font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--line-2);
}
.simulator-panel__fields { display: flex; flex-direction: column; gap: 1.25rem; }

/* Result box */
.simulator-result {
  background: var(--blue); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-top: 1.5rem; color: #fff;
}
.simulator-result__label {
  font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: rgba(255,255,255,.52); font-family: var(--font-body);
}
.simulator-result__value {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  line-height: 1; margin: .4rem 0; letter-spacing: -.02em;
}
.simulator-result__sub { font-size: 12px; color: rgba(255,255,255,.52); margin-top: 2px; }
.simulator-result__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .85rem; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.simulator-result__item-label {
  font-size: 10px; color: rgba(255,255,255,.42);
  text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-body);
}
.simulator-result__item-val {
  font-family: var(--font-mono); font-size: 14px;
  font-weight: 600; color: rgba(255,255,255,.9); margin-top: 3px;
}

/* ── ENTIDADE PAGE ───────────────────────────────────────── */
.entidade-hero { background: var(--surface); padding: 3rem 0; border-bottom: 1px solid var(--line); }
.entidade-hero__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.entidade-logo-wrap {
  width: 80px; height: 80px; border-radius: var(--radius-lg);
  background: var(--white); border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--blue); flex-shrink: 0; overflow: hidden;
}
/* Imagem dentro do logo: padding para não colar nas bordas */
.entidade-logo-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.entidade-hero__meta    { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: .75rem; }
.entidade-hero__meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }

/* Tabs — sticky abaixo do header */
.entidade-tabs {
  border-bottom: 1px solid var(--line); background: var(--white);
  position: sticky; top: var(--header-h); z-index: 100;
}
.entidade-tabs__inner {
  display: flex; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  overflow-x: auto; scrollbar-width: none;
  /* scroll-padding para anchor links compensar header+tabs */
  scroll-padding-top: calc(var(--header-h) + 50px);
}
.entidade-tabs__inner::-webkit-scrollbar { display: none; }
.entidade-tab {
  padding: .9rem 1.15rem; font-size: 14px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2.5px solid transparent; white-space: nowrap;
  background: none; border-top: none; border-left: none; border-right: none;
  transition: color var(--t), border-color var(--t); flex-shrink: 0;
}
.entidade-tab.active           { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.entidade-tab:hover:not(.active) { color: var(--ink); }

/* Rating */
.entidade-rating-card { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; }
.rating-big      { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.rating-stars-lg { display: flex; gap: 5px; margin: .5rem 0 .25rem; }
.rating-stars-lg .star { width: 18px; height: 18px; border-radius: 3px; }

.entidade-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pros-cons-col h4   { font-size: 13px; font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: 6px; }
.pros-cons-col ul li {
  font-size: 13px; color: var(--ink-2); padding: 5px 0;
  display: flex; gap: 8px; align-items: flex-start;
  border-bottom: 1px solid var(--line-2);
}
.pros-cons-col ul li:last-child        { border-bottom: none; }
.pros-cons-col--pros li::before        { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pros-cons-col--cons li::before        { content: '✕'; color: var(--red);   font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.entidade-sidebar-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }

/* ── ARTIGO ──────────────────────────────────────────────── */
.article-hero { padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.article-meta {
  display: flex; align-items: center; gap: .85rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.article-meta__date,
.article-meta__read   { font-size: 13px; color: var(--ink-4); font-family: var(--font-mono); }
.article-meta__author { font-size: 13px; color: var(--ink-3); }
.article-meta__sep    { color: var(--line); }

.article-layout {
  display: grid; grid-template-columns: 1fr 260px;
  gap: 3.5rem;
}

/* Conteúdo editorial — margem via flow em vez de * + * */
.article-content { padding: 2.5rem 0; }
.article-content p               { line-height: 1.8; margin-bottom: 1.25rem; }
.article-content h2              { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.article-content h3              { font-size: 1.2rem; margin: 2rem 0 .75rem; }
.article-content h4              { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.article-content ul,
.article-content ol              { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li              { margin-bottom: .4rem; line-height: 1.75; color: var(--ink-2); }
.article-content ul li           { list-style: disc; }
.article-content ol li           { list-style: decimal; }
.article-content a               { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote {
  border-left: 3px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  background: var(--blue-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink-2); font-size: 1.02rem;
}
.article-content blockquote p    { margin-bottom: 0; }
/* Wrapper para tabelas com border-radius */
.article-content .table-wrap {
  overflow-x: auto; border-radius: var(--radius-md);
  border: 1px solid var(--line); margin-bottom: 1.25rem;
}
.article-content table           { width: 100%; border-collapse: collapse; font-size: 14px; }
.article-content th {
  background: var(--surface); padding: 10px 14px; text-align: left;
  font-weight: 700; border-bottom: 2px solid var(--line);
  font-family: var(--font-body); font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3);
}
.article-content td              { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.article-content img             { border-radius: var(--radius-md); margin: 1.5rem 0; }
.article-content .notice         { margin: 1.5rem 0; }

/* TOC */
.article-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.article-toc     { background: var(--surface); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.5rem; }
.article-toc h4  {
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: .9rem; font-family: var(--font-body);
}
.article-toc ul   { display: flex; flex-direction: column; gap: 2px; }
.article-toc a    {
  font-size: 13px; color: var(--ink-3); padding: 4px 8px;
  border-radius: var(--radius-sm); display: block;
  transition: background var(--t), color var(--t);
}
.article-toc a:hover       { color: var(--blue); background: var(--blue-light); }
.article-toc a.toc--active { color: var(--blue); background: var(--blue-light); font-weight: 600; }

/* ── POST CARDS ──────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
/* post-card NÃO usa .card — evita conflito de padding */
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--line); background: var(--white);
  transition: box-shadow var(--t-slow), transform var(--t-slow), border-color var(--t);
  text-decoration: none;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue); }
.post-card__thumb { overflow: hidden; aspect-ratio: 16/9; background: var(--surface); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body  {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.25rem;
}
.post-card__meta    { display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem; flex-wrap: wrap; }
.post-card__date    { font-size: 11px; color: var(--ink-4); font-family: var(--font-mono); }
.post-card__title   { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: .5rem; transition: color var(--t); }
.post-card:hover .post-card__title { color: var(--blue); }
.post-card__excerpt { font-size: 13px; color: var(--ink-3); line-height: 1.6; flex: 1; margin-bottom: .85rem; }
.post-card__read    { font-size: 12px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }

/* ── ARQUIVO ENTIDADE ────────────────────────────────────── */
.entidade-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.25rem;
  transition: border-color var(--t), box-shadow var(--t-slow), transform var(--t-slow);
}
.entidade-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.entidade-card__logo {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: #fff; flex-shrink: 0; overflow: hidden;
}
.entidade-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.entidade-card__name    { font-weight: 700; font-size: 15px; color: var(--ink); transition: color var(--t); }
.entidade-card:hover .entidade-card__name { color: var(--blue); }
.entidade-card__excerpt { font-size: 12px; color: var(--ink-3); line-height: 1.55; margin-top: .6rem; }

/* ── UTILITÁRIOS ─────────────────────────────────────────── */
.text-blue   { color: var(--blue);   }
.text-green  { color: var(--green);  }
.text-orange { color: var(--orange); }
.text-red    { color: var(--red);    }
.text-muted  { color: var(--ink-3);  }
.text-center { text-align: center;   }
.text-right  { text-align: right;    }
.fw-700      { font-weight: 700;     }
.fw-800      { font-weight: 800;     }
.mt-1{margin-top:.5rem}   .mt-2{margin-top:1rem}  .mt-3{margin-top:1.5rem}  .mt-4{margin-top:2rem}  .mt-6{margin-top:3rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.gap-1{gap:.5rem} .gap-2{gap:1rem}
.flex       { display: flex; }
.flex-wrap  { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden     { display: none !important; }
.sr-only    { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-footer__grid       { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .simulator-wrap          { grid-template-columns: 1fr; }
  .simulator-panel         { position: static; }
  .article-layout          { grid-template-columns: 1fr; }
  .article-sidebar         { position: static; }
  .entidade-sidebar-wrap   { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 54px; }
  .hero__inner   { grid-template-columns: 1fr; }
  .hero__card    { display: none; }
  .site-nav {
    display: none; position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: .75rem; gap: 0; border-top: 1px solid var(--line);
    overflow-y: auto; z-index: 199;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .site-nav.open   { display: flex; }
  .site-nav a      { padding: .85rem 1rem; border-radius: var(--radius-md); font-size: 15px; }
  .nav-toggle      { display: flex; }
  .entidade-pros-cons { grid-template-columns: 1fr; }
  .site-footer__grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-block       { padding: 2.5rem 1.5rem; }
  .hero__stats-strip { padding: .85rem 1rem; }
  .hero__stat      { min-width: 80px; padding: .4rem .75rem; }
  .posts-grid      { grid-template-columns: 1fr; }
  .article-layout  { gap: 2rem; }
  .simulator-result__value { font-size: 1.75rem; }
}
@media (max-width: 480px) {
  .container, .container--narrow { padding: 0 1rem; }
  h1           { font-size: 1.75rem; }
  .btn--lg     { padding: 12px 20px; font-size: 15px; }
  .tipos-grid  { grid-template-columns: 1fr 1fr; }
  .hero__stats-strip { flex-direction: column; }
  .hero__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-align: left; padding-left: 0; min-width: 100%;
  }
  .hero__stat:last-child { border-bottom: none; }
  .entidade-hero__inner  { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .simulator-panel__title { font-size: .9rem; }
  .cta-block    { padding: 2rem 1.25rem; }
  .cta-block::before, .cta-block::after { display: none; }
}

/* ── GUTENBERG / WP BLOCKS (básico) ─────────────────────── */
.article-content .wp-block-image img  { border-radius: var(--radius-md); }
.article-content .wp-block-quote      { border-left: 3px solid var(--blue); padding: .75rem 1.25rem; background: var(--blue-light); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.article-content .wp-block-table      { overflow-x: auto; }
.article-content .wp-block-table td,
.article-content .wp-block-table th   { padding: 10px 14px; border: 1px solid var(--line); }
.article-content .wp-block-separator  { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.article-content .wp-block-code,
.article-content pre                  { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.25rem; font-family: var(--font-mono); font-size: 13px; overflow-x: auto; }
.article-content code                 { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .nav-toggle,
  .hero__card, .entidade-tabs, .simulator-panel,
  .btn, .cta-block, .notice--legal,
  .article-sidebar, .features-strip { display: none !important; }
  body   { font-size: 12pt; color: #000; }
  a      { color: #000; text-decoration: underline; }
  .article-layout, .entidade-sidebar-wrap { display: block; }
  .simulator-table { font-size: 10pt; }
  .simulator-table td, .simulator-table th { padding: 6px; }
}
