/* ============================================================
   Eletropostos BR · Área do Acionista (app)
   Um único arquivo de estilo para login, painel e meus dados.
   Mobile first: barra de abas no celular, menu lateral a partir
   de 900px. O app usa só o modo escuro.
   ============================================================ */

:root {
  --bg: #050c07;
  --surface: #0d1b11;
  --surface-2: #112216;
  --surface-3: #17291c;
  --line: rgba(60, 230, 110, 0.08);
  --line-2: rgba(60, 230, 110, 0.16);
  --text: #eef3ea;
  --text-2: #a4b4a6;
  --text-3: #74857a;
  --accent: #3be46a;          /* preenchimentos: botões, barras */
  --accent-ink: #3be46a;      /* texto/ícone em destaque sobre a superfície */
  --accent-soft: rgba(59, 228, 106, 0.12);
  --on-accent: #04130a;
  --down: #ff8a7a;
  --down-soft: rgba(255, 138, 122, 0.12);
  --track: rgba(238, 243, 234, 0.07);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --radius: 20px;
  --radius-sm: 12px;
  --side-w: 256px;
  --font-head: "Exo 2", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 400 15px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 8px; }
.i { width: 20px; height: 20px; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-2); margin: 0; }
.muted b { color: var(--text); font-weight: 600; white-space: nowrap; }
.eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
}
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 600; font-size: 14px; }
.link .i { width: 16px; height: 16px; }
.legal { color: var(--text-3); font-size: 12px; line-height: 1.6; margin: 28px 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- botões e campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 14px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgba(59, 228, 106, 0.55); }
.btn-primary:hover { background: #d6ff5a; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text-2); }
.btn-block { width: 100%; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); cursor: pointer;
}
.icon-btn:hover { color: var(--accent-ink); border-color: var(--line-2); }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 16px; /* 16px evita o zoom automático do iPhone */
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a9a8c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 40px var(--surface-2) inset; }

.alert {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin-bottom: 18px;
  border-radius: var(--radius-sm); font-size: 14px; line-height: 1.45; border: 1px solid;
}
.alert .i { width: 18px; height: 18px; margin-top: 1px; }
.alert.error { background: var(--down-soft); border-color: color-mix(in srgb, var(--down) 35%, transparent); color: var(--down); }
.alert.success { background: var(--accent-soft); border-color: var(--line-2); color: var(--accent-ink); }

/* ============================================================
   LOGIN
   ============================================================ */
.login-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.login-visual { position: relative; min-height: 310px; overflow: hidden; color: #eef3ea; background: #050c07; }
.login-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(59, 228, 106, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(5, 12, 7, 0.35) 0%, rgba(5, 12, 7, 0.55) 55%, rgba(5, 12, 7, 0.95) 100%);
}
.login-visual-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: calc(22px + env(safe-area-inset-top)) 24px 48px;
}
.login-logo { height: 30px; width: auto; align-self: flex-start; object-fit: contain; }
.login-pitch h1 {
  font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(34px, 8vw, 58px); line-height: 1.02; margin: 10px 0 12px;
}
.login-pitch h1 em { font-style: normal; color: #3be46a; }
.login-pitch p { color: #b8c6b9; max-width: 440px; margin: 0; font-size: 15px; }
.login-pitch .eyebrow { color: #3be46a; }
.login-stats { display: none; list-style: none; margin: 0; padding: 0; gap: 12px; }
.login-stats li {
  flex: 1; padding: 14px 16px; border-radius: 16px;
  background: rgba(5, 12, 7, 0.5); border: 1px solid rgba(60, 230, 110, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.login-stats b { display: block; font-family: var(--font-head); font-size: 22px; color: #3be46a; }
.login-stats span { font-size: 12.5px; color: #a4b4a6; }

.login-panel {
  position: relative; z-index: 2; flex: 1;
  margin-top: -26px; border-radius: 26px 26px 0 0;
  background: var(--bg); padding: 30px 22px calc(28px + env(safe-area-inset-bottom));
}
.login-form { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.login-form h2 { font-family: var(--font-head); font-size: 28px; font-weight: 600; margin: 4px 0 -8px; letter-spacing: -0.01em; }
.login-form .muted { margin-bottom: 6px; }
.login-form .alert { margin-bottom: 0; }
.lock { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.password { position: relative; }
.password input { padding-right: 90px; }
.password-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent;
  color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer;
}
.password-toggle:hover { color: var(--accent-ink); }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.check { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: #9ccc1c; margin: 0; }
.login-form .legal { margin-top: 6px; text-align: center; }
.back { color: var(--text-3); font-size: 13px; text-align: center; }
.back:hover { color: var(--accent-ink); }

@media (min-width: 900px) {
  .login-wrap { flex-direction: row; }
  .login-visual { flex: 1.25; min-height: 100vh; }
  .login-visual::after {
    background:
      radial-gradient(90% 60% at 10% 10%, rgba(59, 228, 106, 0.14), transparent 60%),
      linear-gradient(90deg, rgba(5, 12, 7, 0.2) 0%, rgba(5, 12, 7, 0.55) 60%, rgba(5, 12, 7, 0.9) 100%),
      linear-gradient(180deg, transparent 50%, rgba(5, 12, 7, 0.85) 100%);
  }
  .login-visual-inner { padding: 44px 56px 52px; }
  .login-logo { height: 34px; }
  .login-stats { display: flex; max-width: 560px; }
  .login-panel { flex: 1; margin: 0; border-radius: 0; display: flex; align-items: center; padding: 48px; border-left: 1px solid var(--line); }
}

/* ============================================================
   ESTRUTURA DO APP (menu lateral + conteúdo + abas)
   ============================================================ */
.side { display: none; }
.main {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) 16px calc(104px + env(safe-area-inset-bottom));
}
.onboarding .main { max-width: 760px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; border-radius: 14px; color: var(--text-3); font-size: 11px; font-weight: 500;
}
.tab span { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab .i { width: 23px; height: 23px; transition: transform .15s ease; }
@media (max-width: 340px) { .tab { font-size: 10px; } .topbar h1 { font-size: 19px; } }
.tab.active { color: var(--accent-ink); }
.tab.active .i { transform: translateY(-1px); }
.tab:active { background: var(--accent-soft); }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .tabbar { display: none; }
  .main { padding: 32px 40px 56px; }
  .side {
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
    padding: 28px 16px 22px; background: #0b130e; border-right: 1px solid rgba(60, 230, 110, 0.08);
    color: #eef3ea;
  }
  .side-brand { padding: 0 10px; }
  .side-brand img { height: 30px; width: auto; }
  .side-tag { padding: 0 10px; margin: 10px 0 26px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #74857a; }
  .side-nav, .side-bottom { display: flex; flex-direction: column; gap: 2px; }
  .side-bottom { margin-top: auto; }
  .side-link {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
    color: #a4b4a6; font-size: 14.5px; font-weight: 500; transition: background .15s ease, color .15s ease;
  }
  .side-link .i { width: 19px; height: 19px; }
  .side-link:hover { background: rgba(238, 243, 234, 0.05); color: #eef3ea; }
  .side-link.active { background: rgba(59, 228, 106, 0.12); color: #3be46a; }
  .side-link.soon { opacity: 0.5; cursor: default; }
  .side-link.soon:hover { background: none; color: #a4b4a6; }
  .side-link em {
    margin-left: auto; font-style: normal; font-size: 10px; font-weight: 600;
    padding: 2px 7px; border-radius: 20px; border: 1px solid rgba(60, 230, 110, 0.2); color: #a4b4a6;
  }
  .side-note { font-size: 11px; line-height: 1.55; color: #6a7a6d; padding: 14px 12px 0; margin: 12px 0 0; border-top: 1px solid rgba(60, 230, 110, 0.08); }
}

/* ---------- topo ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.topbar h1 { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
.topbar p { margin: 3px 0 0; color: var(--text-2); font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.me { display: flex; align-items: center; gap: 10px; border-radius: 40px; }
.me-text { display: none; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font: 700 16px var(--font-head);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line-2);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-xl { width: 88px; height: 88px; font-size: 34px; }

@media (min-width: 900px) {
  .topbar { margin-bottom: 28px; }
  .topbar h1 { font-size: 26px; }
  .topbar p { font-size: 14px; }
  .me { padding: 4px 16px 4px 4px; background: var(--surface); border: 1px solid var(--line); }
  .me:hover { border-color: var(--line-2); }
  .me .avatar { width: 36px; height: 36px; font-size: 14px; box-shadow: none; }
  .me-text { display: flex; flex-direction: column; line-height: 1.25; }
  .me-text b { font-size: 13.5px; font-weight: 600; }
  .me-text small { font-size: 12px; color: var(--text-3); }
}

/* ---------- sininho de notificações ---------- */
.topbar { position: relative; z-index: 40; }
.notif { position: relative; }
.bell { position: relative; color: var(--accent-ink); border-color: var(--line-2); background: var(--accent-soft); }
.bell:hover { background: rgba(59, 228, 106, 0.2); }
.bell .i { width: 21px; height: 21px; }
.bell-badge {
  position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: #ff5b4a; color: #fff; border: 2px solid var(--bg);
  font: 700 10.5px/15px var(--font-body); text-align: center;
}
.notif-panel {
  position: fixed; left: 12px; right: 12px; top: calc(70px + env(safe-area-inset-top)); z-index: 70;
  max-height: min(70vh, 560px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); overflow: hidden; animation: panel-in .18s ease-out;
}
.notif-panel[hidden], .notif-backdrop[hidden] { display: none; }
/* fica abaixo do topo (z-index 40), onde o painel mora, e acima do conteúdo */
.notif-backdrop { position: fixed; inset: 0; z-index: 39; background: rgba(4, 8, 5, 0.55); }
.notif-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px 18px; border-bottom: 1px solid var(--line); }
.notif-head b { font-family: var(--font-head); font-size: 16px; }
.notif-close { background: none; border: 0; color: var(--text-3); cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.notif-close:hover { color: var(--text); background: var(--surface-2); }
.notif-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); }
a.notif-item:hover { background: var(--surface-2); }
.notif-item.is-new { background: rgba(59, 228, 106, 0.06); }
.notif-item.is-new .notif-text b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.notif-icon { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.notif-icon .i { width: 18px; height: 18px; }
.notif-icon.t-documento { background: rgba(94, 200, 255, 0.12); color: #7fd3ff; }
.notif-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13.5px; line-height: 1.45; }
.notif-text b { font-size: 14px; font-weight: 600; }
.notif-text span { color: var(--text-2); overflow-wrap: anywhere; }
.notif-text small { color: var(--text-3); font-size: 12px; }
.notif-empty { padding: 34px 20px; text-align: center; color: var(--text-3); font-size: 13.5px; }
.notif-empty .i { width: 30px; height: 30px; color: var(--accent-ink); opacity: 0.6; margin: 0 auto 10px; }
.notif-empty p { margin: 0; line-height: 1.55; }
@media (min-width: 700px) {
  .notif-panel { position: absolute; left: auto; right: -6px; top: calc(100% + 10px); width: 390px; }
  .notif-backdrop { background: transparent; }
}

/* ---------- painéis e cartões ---------- */
.panel { display: none; }
.panel.active { display: block; animation: panel-in .25s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.grid-2, .card.network, .section { margin-top: 14px; }
.grid-2 { display: grid; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.card-head .eyebrow { color: var(--text-2); letter-spacing: 0.08em; }
.card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex-shrink: 0; }
.card-title { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.big { font-family: var(--font-head); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.empty-note { color: var(--text-3); font-size: 14px; text-align: center; padding: 26px 10px; }

@media (min-width: 900px) {
  .card { padding: 26px; }
  .grid-2, .card.network, .section { margin-top: 20px; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- posição (cartão principal) ---------- */
.card.position {
  position: relative; overflow: hidden; padding: 24px 20px 20px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(59, 228, 106, 0.16), transparent 55%),
    linear-gradient(160deg, #13210f 0%, #0c160f 60%);
  border-color: rgba(60, 230, 110, 0.16); color: #eef3ea;
}
.card.position::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(60, 230, 110, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 230, 110, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 90% at 90% 10%, #000, transparent 70%);
          mask-image: radial-gradient(70% 90% at 90% 10%, #000, transparent 70%);
}
.position-main, .position-facts { position: relative; }
.card.position .eyebrow { color: #3be46a; }
.position-value { font-family: var(--font-head); font-weight: 600; font-size: clamp(40px, 11vw, 60px); letter-spacing: -0.03em; line-height: 1.05; margin: 8px 0 12px; font-variant-numeric: tabular-nums; }
.position-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #a4b4a6; font-size: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 30px;
  font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.chip .i { width: 16px; height: 16px; }
.chip.up { background: rgba(59, 228, 106, 0.16); color: #3be46a; }
.chip.down { background: rgba(255, 138, 122, 0.14); color: #ff8a7a; }
.position-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 22px 0 0;
  background: rgba(60, 230, 110, 0.1); border-radius: 14px; overflow: hidden;
}
.position-facts > div { background: rgba(10, 18, 12, 0.78); padding: 12px 14px; }
.position-facts dt { font-size: 12px; color: #8a9a8c; }
.btn-grow { margin-top: 20px; width: 100%; background: #3be46a; color: #04130a; }
.btn-grow .i { width: 19px; height: 19px; }
.position-facts dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .btn-grow { width: auto; }
  .card.position { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 32px; padding: 32px; }
  .position-facts { margin: 0; }
}

/* ---------- gráfico de dividendos (uma série, cor única) ---------- */
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; margin-top: 20px; position: relative; }
.bars::before { content: ""; position: absolute; left: 0; right: 0; top: 96px; border-top: 1px solid var(--line-2); }
.bar { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; outline: none; cursor: default; }
.bar-plot { width: 100%; height: 96px; display: flex; align-items: flex-end; justify-content: center; }
.bar-fill {
  width: min(100%, 20px); border-radius: 4px 4px 0 0;
  background: color-mix(in srgb, var(--accent) 45%, var(--surface-3));
  transition: background .15s ease;
}
.bar.current .bar-fill { background: var(--accent); }
.bars.is-zero .bar-fill { height: 3px !important; background: var(--surface-3); }
.bars.is-zero .bar-plot { height: 36px; }
.bars.is-zero::before { top: 36px; }
.chart-note { margin: 14px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.bar-label { font-size: 10.5px; color: var(--text-3); text-transform: capitalize; }
.bar.current .bar-label { color: var(--text); font-weight: 600; }
.bar-tip {
  position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translate(-50%, 4px);
  white-space: nowrap; padding: 6px 9px; border-radius: 8px; pointer-events: none; opacity: 0;
  background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: opacity .12s ease, transform .12s ease; z-index: 2;
}
.bar:hover .bar-tip, .bar:focus .bar-tip { opacity: 1; transform: translate(-50%, 0); }
.bar:hover .bar-fill, .bar:focus .bar-fill { background: var(--accent); }
.bar:nth-child(-n+2) .bar-tip { left: 0; transform: translate(0, 4px); }
.bar:nth-child(-n+2):hover .bar-tip, .bar:nth-child(-n+2):focus .bar-tip { transform: none; }
.bar:nth-last-child(-n+2) .bar-tip { left: auto; right: 0; transform: translate(0, 4px); }
.bar:nth-last-child(-n+2):hover .bar-tip, .bar:nth-last-child(-n+2):focus .bar-tip { transform: none; }

/* ---------- valor da ação ---------- */
.compare { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 18px; }
.compare-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.compare-row b { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 600; min-width: 58px; text-align: right; }
.compare-track, .meter-track { height: 10px; border-radius: 10px; background: var(--track); overflow: hidden; }
.compare-fill { display: block; height: 100%; border-radius: 10px; background: var(--accent); }
.compare-fill.base { background: var(--text-3); opacity: 0.6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 14px; overflow: hidden; }
.split > div { background: var(--surface-2); padding: 12px 14px; min-width: 0; }
.split small { display: block; font-size: 12px; color: var(--text-3); }
.split b { font-family: var(--font-head); font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- banner do topo ---------- */
.hero-banner {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 200px; margin-bottom: 14px; color: #eef3ea; background: #050c07;
  display: flex; align-items: flex-end;
}
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 7, 0.05) 10%, rgba(5, 12, 7, 0.9) 100%);
}
.hero-banner-text { position: relative; z-index: 1; padding: 20px; }
.hero-banner-text .eyebrow { color: #3be46a; }
.hero-banner-text h2 { font-family: var(--font-head); font-weight: 600; font-size: 24px; line-height: 1.12; letter-spacing: -0.01em; margin: 6px 0 6px; }
.hero-banner-text em { font-style: normal; color: #3be46a; }
.hero-banner-text p { margin: 0; color: #b8c6b9; font-size: 13.5px; max-width: 460px; }

/* ---------- rede ---------- */
.meters { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--text-2); margin-bottom: 8px; }
.meter-top b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.meter-track span { display: block; height: 100%; border-radius: 10px; background: var(--accent); }

@media (min-width: 900px) {
  .hero-banner { min-height: 250px; margin-bottom: 20px; }
  .hero-banner::after { background: linear-gradient(90deg, rgba(5, 12, 7, 0.9) 0%, rgba(5, 12, 7, 0.45) 55%, rgba(5, 12, 7, 0.1) 100%); }
  .hero-banner-text { padding: 32px; align-self: center; }
  .hero-banner-text h2 { font-size: 32px; }
  .hero-banner-text p { font-size: 14.5px; }
  .meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .meters .meter-top { flex-direction: column; gap: 2px; margin-bottom: 12px; }
  .meters .meter-top span:last-child { color: var(--text-3); }
  .meters .meter-top b { font-family: var(--font-head); font-size: 22px; color: var(--text); }
}

/* ---------- seções, documentos e mídias ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.section-head .section-title { margin: 0; }
.page-head { margin-bottom: 18px; }
.page-title { font-family: var(--font-head); font-size: 24px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }

.doc-list { padding: 6px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .15s ease; }
.doc + .doc { border-top: 1px solid var(--line); }
.doc:hover { background: var(--surface-2); }
.doc-ext {
  width: 44px; height: 48px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); font: 700 11px var(--font-head); letter-spacing: 0.04em;
}
.doc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.doc-info b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-info small { color: var(--text-3); font-size: 12.5px; }
.doc-get { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); border: 1px solid var(--line-2); flex-shrink: 0; transition: background .15s ease, color .15s ease; }
.doc:hover .doc-get { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.doc-get .i { width: 18px; height: 18px; }

.search {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 0 15px; min-height: 50px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text-3);
}
.search:focus-within { border-color: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.search input { flex: 1; border: 0; background: none; outline: none; font-size: 16px; min-width: 0; color: var(--text); }

.media-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 82%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.media-card { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media-card video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.media-file { display: flex; align-items: center; gap: 14px; padding: 16px; font-size: 14px; }
@media (min-width: 900px) { .media-row { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }

/* destaque em imagem que abre por cima do painel */
.spotlight {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(4, 8, 5, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: panel-in .2s ease-out;
}
.spotlight[hidden] { display: none; }
.spotlight-box { position: relative; max-width: min(720px, 100%); }
.spotlight-box img { max-height: 80vh; width: auto; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.spotlight-close { position: absolute; top: -14px; right: -10px; background: var(--surface); color: var(--text); }

/* ============================================================
   MEUS DADOS
   ============================================================ */
.profile { display: flex; flex-direction: column; gap: 14px; }
.profile-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.photo-pick { position: relative; cursor: pointer; border-radius: 50%; }
.photo-badge {
  position: absolute; right: -2px; bottom: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border: 3px solid var(--surface);
}
.photo-badge .i { width: 15px; height: 15px; }
.profile-id h2 { font-family: var(--font-head); font-size: 21px; font-weight: 600; margin: 0; }
.profile-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.tag { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 20px; background: var(--surface-3); color: var(--text-2); }
.hint { font-size: 12px; color: var(--text-3); margin: 10px 0 0; }
.form-grid { display: grid; gap: 16px; }
.field-intro { font-size: 13.5px; margin: -6px 0 16px; }
.form-actions { display: flex; flex-direction: column; gap: 10px; }
.form-actions .btn { width: 100%; }

@media (min-width: 700px) {
  .profile-head { flex-direction: row; text-align: left; gap: 22px; }
  .profile-tags { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .field.full { grid-column: 1 / -1; }
  .form-actions { flex-direction: row-reverse; justify-content: flex-start; }
  .form-actions .btn { width: auto; }
}
@media (min-width: 900px) { .profile { gap: 20px; max-width: 860px; } }

/* primeiro acesso: sem menu, como uma etapa de boas-vindas */
.onboarding-head { text-align: center; margin: 12px 0 24px; }
.onboarding-logo { height: 30px; width: auto; margin: 0 auto 26px; }
.onboarding-head h1 { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: -0.01em; margin: 8px 0 6px; }

/* ============================================================
   CONVITE PARA INSTALAR O APP (criado por app.js no Início)
   ============================================================ */
.install-card {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 16px;
  border-radius: var(--radius); border: 1px solid rgba(60, 230, 110, 0.3);
  background: radial-gradient(120% 140% at 0% 0%, rgba(59, 228, 106, 0.16), transparent 60%), var(--surface);
  animation: panel-in .25s ease-out;
}
.install-icon { width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; align-self: flex-start; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.install-text b { font-family: var(--font-head); font-size: 16.5px; font-weight: 600; }
.install-text span { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.install-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.install-actions .btn { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 12px; }
.install-go { box-shadow: none; }
.install-qr { width: 132px; height: 132px; flex-shrink: 0; padding: 8px; border-radius: 14px; background: #fff; }
.install-qr svg { width: 100%; height: 100%; display: block; }
.install-qr svg rect[fill="#ffffff"], .install-qr svg rect[fill="white"] { fill: #fff; }
@media (min-width: 900px) { .install-card { margin-bottom: 20px; padding: 20px 22px; gap: 20px; } }

/* folha de instruções que sobe do rodapé */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(4, 8, 5, 0.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.sheet {
  width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-2); border-bottom: 0; border-radius: 24px 24px 0 0;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  animation: sheet-up .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grip { width: 40px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 0 auto 14px; }
.sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sheet-head img { width: 40px; height: 40px; border-radius: 11px; }
.sheet-head b { font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.sheet-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sheet-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.step-n { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 700 13px var(--font-head); }
.step-text { font-size: 14.5px; line-height: 1.5; padding-top: 2px; }
.ico { display: inline-flex; width: 26px; height: 26px; vertical-align: -7px; margin: 0 2px; border-radius: 7px; align-items: center; justify-content: center; background: var(--surface-3); color: #4aa3ff; }
.ico svg { width: 16px; height: 16px; }
.sheet-tip { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 16px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.sheet-tip svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent-ink); margin-top: 1px; }
.sheet-tip b { color: var(--text); }
.sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.sheet-actions .btn svg { width: 18px; height: 18px; }

/* seta "toque aqui" apontando para o botão Compartilhar do navegador */
.tap-hint {
  position: fixed; z-index: 95; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--on-accent); font: 700 13px var(--font-head); pointer-events: auto;
}
.tap-hint span { background: var(--accent); padding: 7px 14px; border-radius: 20px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
.tap-hint i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.tap-hint i svg { width: 20px; height: 20px; }
.tap-baixo { bottom: calc(8px + env(safe-area-inset-bottom)); animation: bounce-down 1s infinite; }
.tap-topo { top: calc(8px + env(safe-area-inset-top)); left: auto; right: 12px; transform: none; flex-direction: column-reverse; animation: bounce-up 1s infinite; }
@keyframes bounce-down { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes bounce-up { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================================
   NOTÍCIAS E MERCADO
   ============================================================ */
.market { padding: 0; overflow: hidden; border-color: var(--line-2);
  background: radial-gradient(80% 60% at 100% 0%, rgba(59, 228, 106, 0.08), transparent 60%), var(--surface); }
.market-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.market-title { font: 600 12px ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; color: var(--text-2); }
.market-live { display: inline-flex; align-items: center; gap: 7px; font: 600 11px ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent-ink); letter-spacing: 0.04em; text-transform: uppercase; }
.market-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(59, 228, 106, 0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(59, 228, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 228, 106, 0); } }
.market-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.market-stat { background: var(--surface); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.market-stat b { font-family: var(--font-head); font-weight: 700; font-size: clamp(19px, 5.4vw, 34px); letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.market-delta { font: 600 11.5px ui-monospace, "SF Mono", Menlo, monospace; color: var(--accent-ink); }
.market-stat small { font-size: 12px; line-height: 1.35; color: var(--text-3); }
.market-rows { margin: 0; padding: 6px 20px; }
.market-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14px; }
.market-rows > div + div { border-top: 1px solid var(--line); }
.market-rows dt { color: var(--text-2); }
.market-rows dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.delta { font-size: 12px; font-weight: 700; }
.delta.up { color: var(--accent-ink); }
.delta.down { color: var(--down); }
.pill { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.market-source { margin: 0; padding: 12px 20px 16px; font-size: 11.5px; color: var(--text-3); border-top: 1px solid var(--line); }
.market-source a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) {
  .market-head { padding: 18px 28px; }
  .market-stat { padding: 24px 28px; gap: 6px; }
  .market-rows { padding: 8px 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .market-rows > div + div { border-top: 0; }
  .market-rows > div { border-bottom: 1px solid var(--line); }
  .market-rows > div:nth-last-child(-n+2) { border-bottom: 0; }
  .market-source { padding: 14px 28px 18px; }
}

.filters { display: flex; gap: 6px; overflow-x: auto; }
.filter {
  border: 1px solid var(--line-2); background: transparent; color: var(--text-2);
  font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 20px; cursor: pointer; white-space: nowrap;
}
.filter.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.section-head:has(.filters) { flex-wrap: wrap; }

.news-grid { display: grid; gap: 14px; }
.news-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color .15s ease, transform .15s ease;
}
.news-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.news-card[hidden] { display: none; }
.news-media { display: block; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent-ink); }
.news-noimg .i { width: 36px; height: 36px; opacity: 0.6; }
.news-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.news-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.src { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.02em; }
.src-insideevs { background: rgba(94, 200, 255, 0.14); color: #7fd3ff; }
.src-canalve { background: var(--accent-soft); color: var(--accent-ink); }
.news-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-excerpt { font-size: 13.5px; line-height: 1.5; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 700px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .news-card.featured { grid-column: span 2; flex-direction: row; }
  .news-card.featured .news-media { aspect-ratio: auto; flex: 1.2; }
  .news-card.featured .news-body { flex: 1; justify-content: center; padding: 26px; }
  .news-card.featured .news-title { font-size: 22px; }
}

/* post de uma notícia */
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; font-weight: 600; margin: 4px 0 16px; }
.back-link:hover { color: var(--accent-ink); }
.back-arrow { display: inline-flex; transform: rotate(180deg); }
.back-arrow .i { width: 18px; height: 18px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 820px; }
.post-cover { aspect-ratio: 16 / 9; max-height: 440px; overflow: hidden; background: var(--surface-3); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 20px 24px; }
.post-title { font-family: var(--font-head); font-size: clamp(24px, 6vw, 34px); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; margin: 12px 0 12px; }
.post-lead { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; }
.post-cta { width: 100%; }
.post-cta .i { width: 18px; height: 18px; }
.post .legal { margin-top: 16px; }
.news-row { align-items: center; }
.news-thumb { width: 64px; height: 48px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--surface-3); display: grid; place-items: center; color: var(--accent-ink); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row .doc-info b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
@media (min-width: 900px) { .post-body { padding: 30px 34px 34px; } .post-cta { width: auto; } .section:has(.news-row) { max-width: 820px; } }

/* ---------- Eletropostos BR: gradiente da marca nos destaques ---------- */
:root { --grad: linear-gradient(90deg, #22c55e 0%, #6ee64a 55%, #c9ec2a 100%); }
.btn-primary { background: var(--grad); }
.meter-track span, .compare-fill:not(.base) { background: var(--grad); }
.demo-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: #e9e21c; background: rgba(233,226,28,.1); border: 1px solid rgba(233,226,28,.3); border-radius: 20px; padding: 3px 10px; }
.doc-ext.web { font-size: 10px; }
.timeline-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.timeline-mini div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.timeline-mini div.now { border-color: var(--line-2); background: linear-gradient(160deg, var(--surface-2) 40%, rgba(59,228,106,.12) 200%); }
.timeline-mini b { display: block; font-family: var(--font-head); font-size: 13px; color: var(--accent-ink); margin-bottom: 4px; }
.timeline-mini span { font-size: 12px; color: var(--text-2); line-height: 1.45; display: block; }
@media (max-width: 640px) { .timeline-mini { grid-template-columns: 1fr 1fr; } }
.news-noimg.brand { background: radial-gradient(260px 160px at 30% 40%, rgba(59,228,106,.25), transparent 70%), var(--surface-2); display:flex; align-items:center; justify-content:center; }
.news-noimg.brand img { width: 46%; opacity: .9; }
/* login: foto enquadrada nos carros (a placa competia com o logo) */
.login-photo { object-position: 55% 88%; }
.login-visual::after { background: linear-gradient(180deg, rgba(5,12,7,.72) 0%, rgba(5,12,7,.55) 45%, rgba(5,12,7,.92) 100%) !important; }
@media (min-width: 900px) { .login-photo { object-position: 30% 50%; } .login-visual::after { background: linear-gradient(180deg, rgba(5,12,7,.55) 0%, rgba(5,12,7,.35) 40%, rgba(5,12,7,.92) 100%) !important; } }
/* banner: foto enquadrada nos carregadores/carros, texto legível */
.hero-banner img { object-position: 50% 92%; }
.hero-banner::after { background: linear-gradient(90deg, rgba(5,12,7,.92) 0%, rgba(5,12,7,.7) 45%, rgba(5,12,7,.25) 100%) !important; }

/* tipografia Eletropostos BR: Exo 2 (títulos) + Manrope (texto) */
.topbar h1, .page-title, .section-title, .login-pitch h1, .login-form h2, .hero-banner-text h2 { letter-spacing: -0.005em; }
.position-value, .big, .market-stat b { font-weight: 700; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--font-head); letter-spacing: 0.14em; }
/* login: placa da foto não compete com o título */
@media (min-width: 900px) {
  .login-photo { object-position: 35% 60%; }
  .login-visual::after { background: linear-gradient(180deg, rgba(5,12,7,.35) 0%, rgba(5,12,7,.7) 38%, rgba(5,12,7,.82) 62%, rgba(5,12,7,.95) 100%) !important; }
}
