/* /energia/fatura/ on the new design (G3 guide template): only what the page adds to /design/novo.css and
   /energia/g3.css. The reader's states keep their own sheet, leitura.css (loaded before novo.css); here they are laid
   out inside the hero's tool card, and the sections after it are drawn in the G3 vocabulary: the suppliers' strip, the
   interest row, «Como ler» as cards, «3 coisas» as two cards. Rendered by src/energia/leitura/html.ts + pagina.ts. */

/* ── 1 · the reader, as the tool card ── */
.ftool { gap: 0; }
.gfat .fz-up { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 8px; box-sizing: border-box; border: 1.5px solid var(--ink-deep); border-radius: var(--r-pill); background: #fff; cursor: pointer; }
.gfat .fz-up:hover { background: var(--cream); }
.gfat .fz-up:focus-within { outline: 2px solid var(--peach-ink); outline-offset: 3px; }
.gfat .fz-up .composer__avatar { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--ink-deep); }
.gfat .fz-up__t { flex: 1; min-width: 0; font: 600 16px/1.25 var(--font-ui); color: var(--ink-deep); }
.gfat .fz-up__meta { font-weight: 400; }
.gfat .fz-up .composer__send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-deep); color: #fff; }
.gfat .fz-priv { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-50); }
.gfat .fz-passos3 { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--tint-10); }
.fz-passo__l { display: block; margin-bottom: 4px; font: 500 12px/1.2 var(--font-doc); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-50); }
.gfat .fz-passos3 li:last-child { padding-bottom: 0; }
.gfat .fz-res { width: 100%; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--tint-10); border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.gfat .fz-ver { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.gfat .fz-cta { grid-auto-flow: row; justify-content: stretch; justify-items: stretch; gap: 6px; }
.gfat .fz-cta .hc-btn { width: 100%; }
.gfat .fz-cta .fz-so { justify-self: center; }
.gfat .fz-campos { grid-template-columns: minmax(0, 1fr); }
.gfat .fz-perda { font: 700 clamp(40px, 5vw, 52px)/1 var(--disp); letter-spacing: -.02em; }
.gfat .fz-nota3 { margin-top: 14px; line-height: 1.5; }
.gfat .hc-btn { font: 600 16px/1.2 var(--font-ui); }
.gfat .hc-btn:focus-visible, .gfat button.fz-so:focus-visible, .gfat .fz-corr:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 2px; }
.gfat .signup__go { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--ink-deep); color: #fff; font: 600 15px/1.2 var(--font-ui); cursor: pointer; }
.gfat .signup__go:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 2px; }
/* the verdict's two bars (the home's .lm) */
.lm { display: grid; gap: 8px; }
.lm__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: baseline; font-size: 15px; line-height: 1.25; color: var(--ink-60); }
.lm__row b { font: 700 17px/1.25 var(--disp); color: var(--ink-deep); white-space: nowrap; }
.lm__bar { grid-column: 1 / -1; position: relative; height: 10px; border-radius: var(--r-pill); background: var(--tint-10); overflow: hidden; }
.lm__bar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: var(--r-pill); }
.lm__base { width: var(--b); background: var(--ink); }
.lm__loss { left: auto !important; right: 0; width: calc(100% - var(--b)); background: var(--band-caro); }
.lm__best { width: var(--b); background: var(--band-barato); }
/* the email-only watch (the home's .v8mail form) */
.gfat .v8mail__form { display: grid; gap: 8px; }
.gfat .v8mail__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 18px; border: 1px solid var(--tint-20); border-radius: var(--r-pill); background: #fff; }
.gfat .v8mail__bar:focus-within { outline: 2px solid var(--peach-ink); outline-offset: 2px; }
.gfat .v8mail__bar input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: none; font: 400 16px var(--font-ui); color: var(--ink); }
.gfat .v8mail__go { flex: none; min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--ink-deep); color: #fff; font: 600 15px var(--font-ui); cursor: pointer; }
.gfat .v8mail__consent { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-60); }

/* ── 2 · the suppliers the reader knows ── */
.fzs { padding: 36px 0; border-bottom: 1px solid var(--tint-10); }
.fzs .wrap { display: grid; gap: 12px; }
.fzs__l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.fzs .insurers__word { font: 700 20px/1.3 var(--disp); color: var(--ink-60); }

/* ── 3 · the interest row ── */
.gfat .fzi .fz-int { justify-items: stretch; text-align: left; padding: 32px; gap: 12px; }
.gfat .fzi .fz-linha input { flex: 1 1 200px; background: var(--cream); border-color: transparent; }
.gfat .fzi .fz-linha .signup__go { flex: 1 1 100%; }

/* ── 4 · «Como ler»: one wide card, then four ── */
.fl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fl-grid .cell { display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 24px; border-radius: 22px; background: var(--cream); min-width: 0; }
.fl-grid .cell--wide { grid-column: 1 / -1; }
.fl-grid .cell__foot { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--tint-20); }
.gfat .cell__label { font: 500 12px/1.3 var(--font-doc); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-50); }
.gfat .cell__line { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-60); max-width: 65ch; }
.gfat .cell__src { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-50); }
.gfat .ui-card { display: grid; gap: 12px; align-content: start; }
.gfat .ui-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; }
.gfat .ui-card__title { font: 700 20px/1.25 var(--disp); color: var(--ink-deep); }
.gfat .ui-card__meta { font: 500 12px/1.3 var(--font-doc); color: var(--ink-50); }
.gfat .figure-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tint-20); }
.gfat .figure-row__label { font-size: 15px; color: var(--ink-60); }
.gfat .figure-row__value { font: 700 17px/1.2 var(--disp); color: var(--ink-deep); white-space: nowrap; }
.gfat .ui-bar { display: grid; gap: 6px; }
.gfat .ui-bar__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-60); }
.gfat .ui-bar__track { height: 10px; border-radius: var(--r-pill); background: var(--tint-10); overflow: hidden; }
.gfat .ui-bar__fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ink-deep); }
.gfat .ui-bar--warn .ui-bar__fill { background: var(--peach-ink); }
.gfat .fz-grande { font: 700 40px/1 var(--disp); color: var(--ink-deep); }

/* ── 5 · «3 coisas»: what the bill shows (dark) and what it does not ── */
.fz-dois { align-items: stretch; }
.fz-dois > .fz-lado { display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px; border-radius: 28px; background: #fff; min-width: 0; }
.fz-lado--d { background: var(--ink-deep) !important; color: #fff; } .fz-lado--d .tk { color: var(--peach); }
.fz-lado__f { display: grid; gap: 6px; } .fz-lado__f h3 { margin: 0; font: 700 26px/1.15 var(--disp); color: var(--ink-deep); }
.fz-lado--d .fz-lado__f h3 { color: #fff; }
.fz-lado__f p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-60); max-width: 52ch; } .fz-lado--d .fz-lado__f p { color: var(--on-dark-75); }
.fz-lado .split__line { margin: 0; padding: 20px; border-radius: 18px; background: var(--on-dark-20); font: 500 15px/1.5 var(--font-doc); color: var(--on-dark-75); }
.fz-lado .split__line b { display: block; margin-bottom: 6px; font: 700 24px/1.2 var(--disp); color: #fff; }
.fz-lado .split__line span { display: block; margin-top: 10px; font: 400 13px var(--font-ui); color: var(--on-dark-60); }
.gfat .fz-tres { width: 100%; gap: 10px; }
.gfat .fz-tres li { padding: 16px 18px 6px; border-radius: 18px; background: var(--cream); box-shadow: none; }
.gfat .fz-tres b { font-size: 16px; font-weight: 600; color: var(--ink-deep); }
.gfat .fz-tres span { font-size: 15px; }

@media (max-width: 760px) { .fl-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .gfat .fz-up__t { font-size: 15px; }
  .fz-dois > .fz-lado, .fl-grid .cell { padding: 22px 18px; }
  .gfat .fzi .fz-int { padding: 22px; }
  .fzs .insurers__word { font-size: 17px; }
}

/* QA 2026-10-29 · E14: each side's heading above its own content (it closed the card, under the cards it names);
   «em breve» is a chip, not a full-width bar */
.fz-dois > .fz-lado { grid-template-rows: auto auto 1fr; align-content: start; }
.fz-lado > .tk { order: 0; } .fz-lado > .fz-lado__f { order: 1; } .fz-lado > .fz-lado__s { order: 2; }
.fz-tres li .eh-breve { justify-self: start; align-self: flex-start; width: auto; }
