/* =====================================================================
   EscolhaAgora — brand.css  (v2026.11)
   Camada de identidade visual aplicada a TODO o site.
   Carrega por último: sobrescreve tokens e componentes dos demais CSS.
   Estrutura:
     1. Tokens        2. Base          3. Topbar + Header + Menu mobile
     4. Botões/Tags   5. Home          6. Categorias    7. Posts
     8. Rodapé        9. Páginas institucionais        10. Utilitários
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --azul:         #1246e8;
  --azul-escuro:  #0b2fb0;
  --azul-claro:   #eaf0ff;
  --verde:        #0f9d58;
  --laranja:      #ff6a13;
  --preto:        #0f172a;
  --cinza-escuro: #1e293b;
  --cinza-medio:  #334155;
  --cinza-100:    #f1f5f9;
  --cinza-200:    #e2e8f0;
  --texto:        #1e293b;
  --texto-suave:  #64748b;
  --fonte-titulo: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fonte-corpo:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius:       14px;
  --shadow:       0 1px 2px rgba(15,23,42,.05), 0 4px 16px rgba(15,23,42,.06);
  --shadow-hover: 0 2px 4px rgba(15,23,42,.06), 0 14px 36px rgba(15,23,42,.12);
  --max-width:    1240px;

  /* tokens novos */
  --ea-brand:     #1246e8;
  --ea-brand-700: #0b2fb0;
  --ea-ink:       #0f172a;
  --ea-bg:        #f6f8fc;
  --ea-line:      #e5eaf3;
  --ea-cta:       #ff6a13;
  --ea-cta-700:   #e2560a;
  --ea-ok:        #0f9d58;
  --ea-star:      #f5a623;
  --ea-ring:      0 0 0 3px rgba(18,70,232,.28);
}

/* ---------- 2. BASE ---------- */
html { scroll-padding-top: 96px; }
body {
  font-family: var(--fonte-corpo);
  background: var(--ea-bg);
  color: var(--texto);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--ea-ink); letter-spacing: -0.02em; }
img { height: auto; }
:focus-visible { outline: none; box-shadow: var(--ea-ring); border-radius: 6px; }
::selection { background: #cfdcff; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10000;
  background: var(--ea-ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 3. TOPBAR + HEADER + MENU MOBILE ---------- */
.topbar { background: var(--ea-ink); border-bottom: 0; }
.topbar-inner { max-width: var(--max-width); min-height: 38px; padding: 6px 24px; gap: 12px; }
.topbar-badge {
  background: rgba(255,255,255,.12); color: #fff; font-size: 10.5px; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 999px; font-weight: 700;
}
.topbar-texto { color: #cbd5e1; font-size: 12.5px; }
.topbar-btn {
  background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff;
  font-size: 12px; padding: 4px 12px; border-radius: 999px; font-weight: 600;
}
.topbar-btn:hover { background: #fff; color: var(--ea-ink); }

.site-header {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ea-line); box-shadow: none; position: sticky; top: 0; z-index: 900;
}
.header-inner { max-width: var(--max-width); height: 68px; padding: 0 24px; gap: 22px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #2a5cff 0%, #0b2fb0 100%); box-shadow: 0 4px 12px rgba(18,70,232,.35);
}
.logo-text { font-family: var(--fonte-titulo); font-weight: 600; color: var(--ea-ink); letter-spacing: -0.03em; font-size: 20px; }
.logo-text strong { color: var(--ea-brand); font-weight: 800; }
.logo-tagline { letter-spacing: .12em; color: var(--texto-suave); font-weight: 600; }
.header-search input {
  background: var(--cinza-100); border: 1px solid transparent; border-radius: 999px; height: 42px;
  font-family: var(--fonte-corpo); font-size: 14px;
}
.header-search input:focus { background: #fff; border-color: var(--ea-brand); box-shadow: var(--ea-ring); }
.nav-link { font-family: var(--fonte-corpo); font-weight: 600; font-size: 14px; color: var(--ea-ink); border-radius: 8px; }
.nav-link:hover { color: var(--ea-brand); background: var(--azul-claro); }
.dropdown {
  border: 1px solid var(--ea-line); border-radius: 14px; box-shadow: var(--shadow-hover); padding: 8px;
}
.dropdown a { border-radius: 9px; font-weight: 500; }
.dropdown a:hover { background: var(--azul-claro); color: var(--ea-brand); }
.btn-ofertas {
  background: var(--ea-cta); color: #fff; border-radius: 999px; font-weight: 700; padding: 10px 18px;
  box-shadow: 0 6px 16px rgba(255,106,19,.32); transition: transform .15s, background .15s;
}
.btn-ofertas:hover { background: var(--ea-cta-700); transform: translateY(-1px); }
.mobile-cta { background: var(--ea-cta); border-radius: 12px; }
.mobile-menu-inner { font-family: var(--fonte-corpo); }

/* ---------- 4. BOTÕES / TAGS / ESTRELAS ---------- */
.ea-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px/1 var(--fonte-corpo); padding: 14px 22px; border-radius: 999px;
  background: var(--ea-brand); color: #fff; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 18px rgba(18,70,232,.3); text-decoration: none;
}
.ea-btn:hover { background: var(--ea-brand-700); transform: translateY(-1px); color: #fff; }
.ea-btn--ghost { background: #fff; color: var(--ea-ink); box-shadow: inset 0 0 0 1.5px var(--ea-line); }
.ea-btn--ghost:hover { background: var(--cinza-100); color: var(--ea-ink); }
.ea-btn--cta { background: var(--ea-cta); box-shadow: 0 6px 18px rgba(255,106,19,.32); }
.ea-btn--cta:hover { background: var(--ea-cta-700); }

.ed-tag, .ea-chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.2;
}
.ed-tag--review { background: #e6f6ee; color: #0b7a43; }
.ed-tag--comp   { background: var(--azul-claro); color: var(--azul-escuro); }
.ed-tag--top    { background: #fff1e0; color: #b45309; }
.ed-tag--guia   { background: #f1e9ff; color: #6d28d9; }
.ed-stars { color: var(--ea-star); letter-spacing: 1px; }

/* ---------- 5. HOME (classes ea-*) ---------- */
.ea-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.ea-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(18,70,232,.35), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(255,106,19,.18), transparent 60%),
    linear-gradient(180deg, #0b1330 0%, #0f1b4d 100%);
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.ea-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 48px; align-items: center; }
.ea-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #bcd0ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px;
}
.ea-hero h1 {
  color: #fff; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; font-weight: 800; margin: 18px 0 16px; letter-spacing: -0.035em;
}
.ea-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fa2ff, #ffb27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ea-hero p.lead { font-size: 1.1rem; color: #cbd6f3; max-width: 560px; margin-bottom: 26px; }
.ea-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ea-hero .ea-btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.ea-hero .ea-btn--ghost:hover { background: rgba(255,255,255,.16); }
.ea-hero-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.ea-hero-stats div strong { display: block; font: 800 1.7rem/1 var(--fonte-titulo); color: #fff; }
.ea-hero-stats div span { font-size: 12.5px; color: #a9b8e0; }

.ea-feature {
  display: block; background: #fff; color: var(--texto); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transition: transform .25s;
}
.ea-feature:hover { transform: translateY(-4px); }
.ea-feature-img { position: relative; aspect-ratio: 16/10; background: var(--cinza-100); overflow: hidden; }
.ea-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.ea-feature-badge {
  position: absolute; top: 14px; left: 14px; background: var(--ea-cta); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; text-transform: uppercase;
}
.ea-feature-body { padding: 22px 24px 24px; }
.ea-feature-body h2 { font-size: 1.3rem; line-height: 1.25; margin: 10px 0 8px; font-weight: 800; }
.ea-feature-body p { color: var(--texto-suave); font-size: .95rem; margin-bottom: 14px; }
.ea-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; color: var(--texto-suave); }
.ea-meta strong { color: var(--ea-ink); }

.ea-trust { background: #fff; border-bottom: 1px solid var(--ea-line); }
.ea-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ea-trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; border-right: 1px solid var(--ea-line); }
.ea-trust-item:last-child { border-right: 0; }
.ea-trust-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--azul-claro); display: grid; place-items: center; font-size: 19px; }
.ea-trust-item strong { display: block; font: 700 14.5px/1.3 var(--fonte-titulo); color: var(--ea-ink); }
.ea-trust-item span { font-size: 13px; color: var(--texto-suave); line-height: 1.45; display: block; margin-top: 2px; }

.ea-section { padding: 56px 0 8px; }
.ea-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ea-kicker { font: 800 12px/1 var(--fonte-titulo); letter-spacing: .12em; text-transform: uppercase; color: var(--ea-brand); margin-bottom: 8px; display: block; }
.ea-section-head h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; margin: 0; }
.ea-section-head p { color: var(--texto-suave); font-size: .95rem; margin-top: 4px; }
.ea-link { font-weight: 700; font-size: 14px; color: var(--ea-brand); white-space: nowrap; }
.ea-link:hover { text-decoration: underline; }

.ea-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ea-cat {
  display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--ea-line); border-radius: 16px;
  padding: 18px 18px 16px; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ea-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #c9d6f8; }
.ea-cat-ico { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.ea-cat strong { font: 700 15px/1.25 var(--fonte-titulo); color: var(--ea-ink); }
.ea-cat span { font-size: 12.5px; color: var(--texto-suave); }

.ea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ea-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ea-line); border-radius: 18px; overflow: hidden;
  transition: transform .2s, box-shadow .2s; height: 100%;
}
.ea-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ea-card-img { position: relative; aspect-ratio: 4/3; background: #f3f5fa; display: grid; place-items: center; overflow: hidden; }
.ea-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s; }
.ea-card:hover .ea-card-img img { transform: scale(1.05); }
.ea-card-img .ea-flag {
  position: absolute; top: 10px; left: 10px; background: #fff; color: var(--ea-ok); font-size: 10.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(15,23,42,.12);
}
.ea-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ea-card-body h3 { font-size: 1.02rem; line-height: 1.35; font-weight: 700; margin: 0; }
.ea-card-body h3 a { color: var(--ea-ink); }
.ea-card-body h3 a::after { content: ''; position: absolute; inset: 0; }
.ea-card { position: relative; }
.ea-card-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-suave); }
.ea-card-foot strong { color: var(--ea-ink); }
.ea-card--wide { grid-column: span 2; flex-direction: row; }
.ea-card--wide .ea-card-img { aspect-ratio: auto; flex: 0 0 48%; }
.ea-card--wide .ea-card-body h3 { font-size: 1.25rem; }

.ea-rank { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ea-rank-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--ea-line); border-radius: 16px; padding: 14px 18px;
  transition: box-shadow .18s, border-color .18s;
}
.ea-rank-item:hover { box-shadow: var(--shadow-hover); border-color: #c9d6f8; }
.ea-rank-n { font: 800 1.5rem/1 var(--fonte-titulo); color: var(--ea-brand); width: 34px; text-align: center; }
.ea-rank-item:nth-child(-n+3) .ea-rank-n { color: var(--ea-cta); }
.ea-rank-t { flex: 1; min-width: 0; }
.ea-rank-t strong { display: block; font: 700 15px/1.3 var(--fonte-titulo); color: var(--ea-ink); }
.ea-rank-t span { font-size: 12.5px; color: var(--texto-suave); }
.ea-rank-note { text-align: right; }
.ea-rank-note b { display: block; font: 800 1.25rem/1 var(--fonte-titulo); color: var(--ea-ink); }
.ea-rank-note small { color: var(--ea-star); font-size: 11px; letter-spacing: 1px; }

.ea-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ea-tab {
  font: 600 13.5px/1 var(--fonte-corpo); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ea-line); background: #fff; color: var(--ea-ink);
  cursor: pointer; transition: all .15s;
}
.ea-tab:hover { border-color: var(--ea-brand); color: var(--ea-brand); }
.ea-tab[aria-selected="true"] { background: var(--ea-ink); border-color: var(--ea-ink); color: #fff; }
.ea-panel[hidden] { display: none; }

.ea-method {
  margin-top: 64px; background: linear-gradient(135deg, #0f172a, #1b2a6b); color: #fff; border-radius: 28px; padding: 44px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.ea-method h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.ea-method p { color: #c3cff0; margin-bottom: 22px; }
.ea-method ul { list-style: none; display: grid; gap: 14px; }
.ea-method li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: #e3e9fb; }
.ea-method li i { font-style: normal; flex: 0 0 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 13px; }

.ea-partners { padding: 56px 0 72px; }
.ea-partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ea-partner {
  display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--ea-line); border-radius: 18px; padding: 22px;
  transition: box-shadow .18s, transform .18s;
}
.ea-partner:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ea-partner small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); }
.ea-partner strong { font: 700 1.05rem/1.3 var(--fonte-titulo); color: var(--ea-ink); }
.ea-partner span { font-size: 13.5px; color: var(--texto-suave); }
.ea-partner em { font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--ea-brand); margin-top: 6px; }

/* ---------- 6. CATEGORIAS (páginas /categoria/) ---------- */
.cat-hero { background: linear-gradient(180deg, #0b1330 0%, #14236b 100%) !important; border: 0 !important; }
.cat-hero h1, .cat-hero .cat-hero-text h1 { color: #fff !important; font-family: var(--fonte-titulo); letter-spacing: -0.03em; }
.cat-hero p, .cat-hero .cat-hero-text p { color: #c3cff0 !important; }
.cat-hero-icon-wrap { background: rgba(255,255,255,.1) !important; border-radius: 18px !important; }
.cat-hero-stats-bar, .cat-stat { color: #fff; }
.filtro-btn { border-radius: 999px !important; font-family: var(--fonte-corpo); font-weight: 600; }
.cat-filtros { background: #fff; border-bottom: 1px solid var(--ea-line); }

/* ---------- 7. POSTS (review / comparativo) ---------- */
.post-layout { max-width: var(--max-width); gap: 44px; }
.post-main { background: #fff; border: 1px solid var(--ea-line); border-radius: 24px; padding: 36px 40px 44px; box-shadow: var(--shadow); }
.breadcrumb { font-size: 13px; }
.breadcrumb a:hover { color: var(--ea-brand); }
.post-header h1 { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.15; }
.post-header .post-cat { color: var(--ea-brand); }
.post-datas { padding: 10px 14px; background: var(--ea-bg); border: 1px solid var(--ea-line); border-radius: 12px; display: inline-flex !important; gap: 8px 18px !important; }
.selo-independente { background: #ecfdf3 !important; border-color: #b7ebcd !important; color: #0b6b3a !important; border-radius: 999px !important; }
.urgencia-bar { background: #fff6ec !important; border-color: #ffd9b3 !important; color: #9a4a08 !important; border-radius: 12px !important; }
.post-content { font-size: 1.04rem; line-height: 1.8; color: #263449; }
.post-content h2 { font-weight: 800; font-size: 1.5rem; margin-top: 2.2em; letter-spacing: -0.025em; }
.post-content h3 { font-weight: 700; }
.post-content a { color: var(--ea-brand); text-decoration: underline; text-underline-offset: 3px; }
.post-content .destaque { border-radius: 14px; background: var(--azul-claro); border-left: 4px solid var(--ea-brand); }
.specs-table { border-radius: 14px; overflow: hidden; border: 1px solid var(--ea-line); }
.specs-table th[scope="col"] { background: var(--ea-ink); color: #fff; }
.review-box { border-radius: 20px !important; border: 1px solid var(--ea-line) !important; box-shadow: none !important; }
.btn-afiliado, .btn-magalu {
  background: var(--ea-cta) !important; border-radius: 14px !important; font-family: var(--fonte-titulo);
  box-shadow: 0 10px 24px rgba(255,106,19,.34) !important; transition: transform .15s, background .15s !important;
}
.btn-afiliado:hover, .btn-magalu:hover { background: var(--ea-cta-700) !important; transform: translateY(-2px); }
.afiliado-disclaimer { color: var(--texto-suave); font-size: 12.5px; }
.sidebar-widget { border-radius: 18px !important; border: 1px solid var(--ea-line) !important; box-shadow: none !important; background: #fff; }
.post-sidebar { position: sticky; top: 92px; }
.pros h3 { color: #0b7a43; } .contras h3 { color: #b42318; }
.criterio-fill { background: linear-gradient(90deg, #4f7bff, var(--ea-brand)) !important; border-radius: 999px; }
.faq-item { border-radius: 14px !important; }
.btn-flutuante a { background: var(--ea-cta) !important; border-radius: 999px !important; }
.btn-flutuante { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.ea-reviewed {
  display: flex; gap: 12px; align-items: flex-start; background: #f5f8ff; border: 1px solid #d9e4ff; border-radius: 14px;
  padding: 14px 16px; margin: 0 0 22px; font-size: 13.5px; color: #33415c; line-height: 1.55;
}
.ea-reviewed b { color: var(--ea-ink); }
.ea-reviewed a { color: var(--ea-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ea-reviewed-ico { font-size: 20px; line-height: 1; }

/* ---------- 8. RODAPÉ ---------- */
.ea-footer { background: #0b1226; color: #aab6d3; margin-top: 56px; }
.ea-footer a { color: #c8d3ee; transition: color .15s; }
.ea-footer a:hover { color: #fff; }
.ea-footer-top { padding: 60px 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ea-footer-brand .ea-footer-logo { font: 600 1.5rem/1 var(--fonte-titulo); color: #fff; letter-spacing: -0.03em; display: inline-block; margin-bottom: 14px; }
.ea-footer-brand .ea-footer-logo b { color: #7fa2ff; font-weight: 800; }
.ea-footer-brand p { font-size: 14px; line-height: 1.65; max-width: 380px; }
.ea-footer h3 { color: #fff; font: 700 13px/1 var(--fonte-titulo); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.ea-footer ul { list-style: none; display: grid; gap: 11px; }
.ea-footer li a { font-size: 14px; }
.ea-footer-note {
  margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: #93a1c4; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); padding: 12px 14px; border-radius: 12px; max-width: 420px;
}
.ea-footer-mail { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; font-weight: 600; font-size: 14px; }
.ea-footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0 34px; display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; font-size: 13px; color: #8190b4; }
.ea-footer-bottom a { color: #b4c2e6; text-decoration: underline; text-underline-offset: 3px; }
.ea-footer-visits { display: none; gap: 14px; flex-wrap: wrap; }
.ea-footer-visits.is-ready { display: inline-flex; }
/* imagens com width/height: a proporção vem do HTML, o tamanho continua mandado pelo CSS */
:where(img[width][height]) { height: auto; }
.ea-footer-visits b { color: #fff; font-weight: 700; }

/* ---------- 9. PÁGINAS INSTITUCIONAIS ---------- */
.ea-page-hero { background: linear-gradient(180deg, #0b1330, #14236b); color: #fff; padding: 56px 0 48px; }
.ea-page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin: 12px 0 10px; letter-spacing: -0.03em; }
.ea-page-hero p { color: #c3cff0; max-width: 680px; font-size: 1.05rem; }
.ea-page-hero .breadcrumb, .ea-page-hero .breadcrumb a, .ea-page-hero .breadcrumb .current { color: #aebbe0; }
.ea-page-hero .breadcrumb { margin-bottom: 8px; }
.ea-page-body { max-width: 820px; margin: -28px auto 0; padding: 0 24px 40px; position: relative; }
.ea-prose { background: #fff; border: 1px solid var(--ea-line); border-radius: 22px; padding: 40px 44px; box-shadow: var(--shadow); font-size: 1.02rem; line-height: 1.8; color: #263449; }
.ea-prose h2 { font-size: 1.4rem; font-weight: 800; margin: 1.8em 0 .5em; }
.ea-prose h2:first-child { margin-top: 0; }
.ea-prose p { margin-bottom: 1em; }
.ea-prose ul, .ea-prose ol { margin: 0 0 1.2em 1.3em; list-style: revert; }
.ea-prose li { margin-bottom: .45em; }
.ea-prose a { color: var(--ea-brand); text-decoration: underline; text-underline-offset: 3px; }
.ea-prose .ea-updated { font-size: 13px; color: var(--texto-suave); border-top: 1px solid var(--ea-line); padding-top: 16px; margin-top: 28px; }
.ea-callout { background: var(--azul-claro); border-left: 4px solid var(--ea-brand); border-radius: 12px; padding: 14px 18px; margin: 1.2em 0; }
.ea-404 { text-align: center; padding: 96px 24px 110px; }
.ea-404 .n { font: 800 clamp(5rem, 16vw, 9rem)/1 var(--fonte-titulo); background: linear-gradient(135deg, #2a5cff, #ff6a13); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.05em; }

/* ---------- 10. RESPONSIVO ---------- */
@media (max-width: 1100px) {
  .ea-grid { grid-template-columns: repeat(3, 1fr); }
  .ea-card--wide { grid-column: span 3; }
  .ea-cats { grid-template-columns: repeat(4, 1fr); }
  .ea-footer-top { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 860px) {
  .ea-hero { padding: 40px 0 48px; }
  .ea-hero-grid, .ea-method { grid-template-columns: 1fr; gap: 28px; }
  .ea-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ea-trust-item:nth-child(2) { border-right: 0; }
  .ea-trust-item { border-bottom: 1px solid var(--ea-line); }
  .ea-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ea-card--wide { grid-column: span 2; flex-direction: column; }
  .ea-card--wide .ea-card-img { aspect-ratio: 4/3; flex: none; }
  .ea-cats { grid-template-columns: repeat(3, 1fr); }
  .ea-rank, .ea-partners-grid { grid-template-columns: 1fr; }
  .ea-method { padding: 30px 24px; border-radius: 22px; }
  .post-main { padding: 24px 18px 30px; border-radius: 18px; }
  .ea-prose { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .ea-wrap, .post-layout { padding-left: 16px; padding-right: 16px; }
  .ea-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ea-card-body { padding: 12px 12px 14px; }
  .ea-card-body h3 { font-size: .92rem; }
  .ea-cats { grid-template-columns: repeat(2, 1fr); }
  .ea-hero-stats { gap: 20px; }
  .ea-footer-top { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; }
  .ea-section { padding-top: 40px; }
  .post-layout { padding-top: 20px; }
}

/* ajustes finos */
.header-search { flex: 1 1 200px; min-width: 150px; max-width: 320px; }
.search-hint { display: none; }

/* ---------- ajustes finais ---------- */
.header-search { flex: 1 1 260px; max-width: 340px; min-width: 200px; }
.header-search input { width: 100%; }
.ea-trust-item { min-width: 0; }
.ea-trust-item > div { min-width: 0; }
@media (max-width: 560px) {
  .ea-trust-grid { grid-template-columns: 1fr; }
  .ea-trust-item { border-right: 0; padding: 16px 4px; }
}
.btn-comp { white-space: normal; max-width: 100%; text-align: center; }
.ea-page-hero h1 { line-height: 1.15; }
.ea-page-hero .breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* ── Busca interna (/buscar) ── */
.ea-busca-form { display: flex; gap: 8px; margin-top: 18px; max-width: 560px; }
.ea-busca-form input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--ea-line, #e2e8f0); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; }
.ea-busca-form input:focus { outline: 0; border-color: var(--ea-brand); box-shadow: var(--ea-ring, 0 0 0 3px rgba(18,70,232,.18)); }
.ea-busca-form button { padding: 0 22px; border: 0; border-radius: 12px; background: var(--ea-cta); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ea-busca-form button:hover { filter: brightness(.95); }
.ea-busca-info { color: #64748b; margin: 0 0 16px; }
.ea-busca-h { font-size: 1.05rem; margin: 22px 0 10px; }
.ea-busca-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ea-busca-cats a { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: var(--ea-brand); text-decoration: none; font-weight: 600; font-size: 14px; }
.ea-busca-cats a:hover { border-color: var(--ea-brand); }
.ea-busca-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid #e2e8f0; }
.ea-busca-img { flex: 0 0 96px; height: 96px; display: grid; place-items: center; background: #f3f5fa; border-radius: 12px; overflow: hidden; }
.ea-busca-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.ea-busca-meta { font-size: 13px; color: #64748b; }
.ea-busca-item h3 { margin: 2px 0 4px; font-size: 1.05rem; line-height: 1.3; }
.ea-busca-item h3 a { color: var(--ea-ink); text-decoration: none; }
.ea-busca-item h3 a:hover { color: var(--ea-brand); }
.ea-busca-item p { margin: 0; color: #475569; font-size: 14px; }
@media (max-width: 560px) { .ea-busca-img { flex-basis: 72px; height: 72px; } .ea-busca-form button { padding: 0 16px; } }
.ea-busca-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px 26px; box-shadow: 0 8px 24px rgba(15,23,42,.06); }
.ea-busca-box .ea-busca-item:first-of-type { border-top: 0; padding-top: 6px; }
@media (max-width: 560px) { .ea-busca-box { padding: 16px; border-radius: 12px; } }

/* ── Sugestões da busca (menu suspenso) ── */
.header-search, .mobile-search { position: relative; }
.ea-sug { position: absolute; top: calc(100% + 8px); left: 0; min-width: 100%; width: 400px; max-width: calc(100vw - 32px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 18px 40px rgba(15,23,42,.18); z-index: 1200; max-height: 70vh; overflow-y: auto; }
.ea-sug[hidden] { display: none; }
.ea-sug li { margin: 0; padding: 0; }
.ea-sug-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ea-ink); text-decoration: none; }
.ea-sug li.on .ea-sug-item, .ea-sug-item:hover { background: #eef3ff; }
.ea-sug-item img, .ea-sug-ph { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 8px; background: #f3f5fa; object-fit: contain; display: grid; place-items: center; font-size: 18px; }
.ea-sug-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ea-sug-txt strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ea-sug-txt small { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ea-sug-cat .ea-sug-txt strong, .ea-sug-todos { color: var(--ea-brand); }
.ea-sug-todos { font-weight: 700; font-size: 14px; justify-content: center; border-top: 1px solid #e2e8f0; border-radius: 0 0 10px 10px; margin-top: 4px; padding: 11px 10px; }
@media (max-width: 900px) { .mobile-search .ea-sug { position: static; width: auto; max-width: none; margin-top: 8px; box-shadow: none; max-height: 50vh; } }

/* Menu mobile sempre acima do cabeçalho fixo (corrige campo de busca e botão fechar cobertos) */
.mobile-overlay { z-index: 1090; }
.mobile-menu { z-index: 1100; }
.mobile-search .search-icon { top: 33px; }
