/* Reclame Bairro.com · site institucional
   Conceito: a régua de cobrança é o fio da página, do poste apagado ao poste aceso, com a data de cada passo.
   Cores da marca (as mesmas do protótipo e da apresentação às Câmaras); fonte do sistema, sem pedido externo. */
:root {
  --navy: #0B2347; --navy-2: #14336A; --navy-3: #0F2D5C;
  --verde: #34751E; --verde-vivo: #4E9A2F; --verde-claro: #EEF5EA; --verde-luz: #8BD06A;
  --ambar: #B7791F; --ambar-claro: #FDF6E7; --vermelho: #B42318; --verm-claro: #FDECEA;
  --azul: #2E5C8A; --azul-claro: #EAF1F8;
  --tinta: #1C2533; --suave: #556170; --linha: #DCE2EA; --fundo: #F3F5F9; --papel: #FFFFFF;
  --fonte: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --lim: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--fonte); color: var(--tinta); background: var(--papel); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lim { max-width: var(--lim); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pular { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.pular:focus { left: 12px; }
:focus-visible { outline: 3px solid #F2C46D; outline-offset: 3px; border-radius: 6px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); font-weight: 800; text-wrap: balance; }
.olho { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); }
.sec { padding-block: 92px; }
.sec-cab { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.sec-cab > p:last-child { font-size: 18px; color: var(--suave); }
.cinza { background: var(--fundo); }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; text-decoration: none; border-radius: 12px; padding: 13px 20px; line-height: 1.2; border: 2px solid transparent; transition: background .15s; }
.btn .i { font-size: 18px; }
.btn-verde { background: var(--verde); color: #fff; } .btn-verde:hover { background: #2B6418; }
.btn-claro { border-color: rgba(255,255,255,.34); color: #fff; } .btn-claro:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-2); }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linha); }
.topo .lim { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marca img { height: 38px; width: auto; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover { color: var(--verde); }
.topo .btn { padding: 9px 16px; font-size: 14.5px; }

/* abertura */
.abertura { background: var(--navy); color: #fff; padding-top: 72px; overflow: hidden; }
.abertura-grade { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.abertura-texto { padding-bottom: 80px; align-self: center; }
.abertura .olho { color: var(--verde-luz); }
.abertura h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin-top: 14px; text-wrap: balance; }
.abertura .lead { font-size: 19.5px; color: #D3DCEA; margin-top: 20px; max-width: 32em; }
.acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.abertura .nota { margin-top: 18px; font-size: 14px; color: #9FB0C8; }
.cel-corte { align-self: end; height: 500px; overflow: hidden; display: flex; justify-content: center; }
.celular { width: 300px; max-width: 100%; height: max-content; border-radius: 44px; padding: 10px; background: #050D1C; box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 0 0 2px #24365A; }
.celular img { border-radius: 34px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* régua: o caso do poste */
.regua { padding-block: 72px 84px; border-bottom: 1px solid var(--linha); }
.regua-cab { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.regua-cab p:last-child { color: var(--suave); font-size: 17.5px; }
.regua-linha { margin-top: 40px; display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 24px; align-items: center; }
.poste { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.poste img { width: 150px; aspect-ratio: 1; object-fit: cover; border-radius: 18px; border: 1px solid var(--linha); }
.poste figcaption { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--suave); }
.marcos { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.marcos::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 3px; background: linear-gradient(90deg, var(--azul), var(--ambar) 30%, var(--navy) 50%, var(--vermelho) 70%, var(--verde)); border-radius: 3px; }
.marcos li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 0 8px; }
.marcos li::before { content: ""; width: 29px; height: 29px; border-radius: 50%; background: var(--papel); border: 4px solid var(--cor); box-shadow: 0 0 0 5px var(--papel); margin-bottom: 12px; position: relative; }
.marcos time { font-size: 13.5px; font-weight: 700; color: var(--cor); font-variant-numeric: tabular-nums; }
.marcos b { font-size: 15.5px; color: var(--navy); line-height: 1.3; }
.marcos span { font-size: 13.5px; color: var(--suave); line-height: 1.45; }
.m-reg { --cor: var(--azul); } .m-lem { --cor: var(--ambar); } .m-pra { --cor: var(--navy); } .m-cob { --cor: var(--vermelho); } .m-res { --cor: var(--verde); }

/* como funciona */
.funciona-grade { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; margin-top: 44px; }
.passos { list-style: none; counter-reset: passo; display: flex; flex-direction: column; gap: 14px; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; background: var(--papel); border: 1px solid var(--linha); border-radius: 18px; padding: 20px 22px; }
.passos li::before { content: counter(passo); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 19px; display: grid; place-items: center; }
.passos h3 { font-size: 19px; color: var(--navy); line-height: 1.3; }
.passos p { color: #3B4656; margin-top: 4px; font-size: 16px; }
.funciona-cel { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.funciona-cel .celular { width: 290px; }
.legenda { font-size: 13.5px; color: var(--suave); text-align: center; max-width: 280px; }

/* para a Câmara */
.ganhos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.ganho { border: 1px solid var(--linha); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: var(--papel); }
.ganho .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; background: var(--verde-claro); color: var(--verde); margin-bottom: 6px; }
.ganho:nth-child(3n+2) .ic { background: var(--azul-claro); color: var(--azul); }
.ganho:nth-child(3n) .ic { background: var(--ambar-claro); color: var(--ambar); }
.ganho h3 { font-size: 18.5px; color: var(--navy); line-height: 1.3; }
.ganho p { font-size: 15.5px; color: #3B4656; }
.painel-quadro { margin-top: 48px; border-radius: 16px; overflow: hidden; border: 1px solid #C9D2DE; box-shadow: 0 24px 60px rgba(11,35,71,.14); background: var(--papel); }
.painel-barra { height: 34px; background: #E9EDF3; display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.painel-barra i { width: 11px; height: 11px; border-radius: 50%; background: #C5CEDA; }
.painel-quadro img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; }
.painel-quadro + .legenda { margin: 12px auto 0; max-width: none; }

/* canais */
.canais { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.canal { border-top: 4px solid var(--navy); background: var(--papel); border-radius: 0 0 16px 16px; padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 var(--linha); }
.canal .ic { font-size: 28px; color: var(--navy); }
.canal h3 { font-size: 18px; color: var(--navy); line-height: 1.3; }
.canal p { font-size: 15.5px; color: #3B4656; }
.canal:nth-child(2) { border-top-color: #25A244; } .canal:nth-child(2) .ic { color: #1E8A3A; }
.canal:nth-child(3) { border-top-color: var(--ambar); } .canal:nth-child(3) .ic { color: var(--ambar); }
.canal:nth-child(4) { border-top-color: var(--azul); } .canal:nth-child(4) .ic { color: var(--azul); }

/* planos em degraus */
.degraus { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; align-items: end; counter-reset: degrau; }
.degraus li { counter-increment: degrau; background: var(--navy); color: #fff; border-radius: 18px; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.degraus li:nth-child(1) { min-height: 190px; background: var(--navy-3); }
.degraus li:nth-child(2) { min-height: 230px; }
.degraus li:nth-child(3) { min-height: 270px; background: var(--navy-2); }
.degraus li:nth-child(4) { min-height: 310px; background: var(--verde); }
.degraus li::before { content: "Degrau " counter(degrau); font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: auto; padding-bottom: 18px; }
.degraus h3 { font-size: 20px; line-height: 1.25; }
.degraus p { font-size: 15px; color: rgba(255,255,255,.86); }
.planos-nota { margin-top: 18px; color: var(--suave); font-size: 15.5px; }

/* perguntas */
.perguntas { margin-top: 36px; display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.perguntas details { border: 1px solid var(--linha); border-radius: 14px; background: var(--papel); }
.perguntas summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--verde); flex: none; }
.perguntas details[open] summary::after { content: "–"; }
.perguntas details p { padding: 0 22px 20px; color: #3B4656; font-size: 16px; }

/* chamada final */
.chamada { background: var(--navy); color: #fff; padding-block: 84px; }
.chamada-grade { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.chamada h2 { color: #fff; }
.chamada p { color: #D3DCEA; font-size: 18px; margin-top: 12px; max-width: 34em; }
.contato { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.contato b { font-size: 17px; }
.contato p { font-size: 15.5px; margin: 0; color: #D3DCEA; }
.a-definir { display: inline-block; background: #F2C46D; color: var(--navy); font-weight: 700; font-size: 13px; border-radius: 6px; padding: 1px 8px; }

/* rodapé */
.rodape { background: #071731; color: #A9B6C9; padding-block: 36px; font-size: 14px; }
.rodape .lim { display: flex; gap: 18px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.rodape strong { color: #fff; }
.rodape strong span { color: var(--verde-luz); }
.rodape a { color: #C9D5E6; }

/* telas menores */
@media (max-width: 980px) {
  .menu { display: none; }
  .topo .btn { margin-left: auto; }
  .abertura-grade, .funciona-grade, .chamada-grade { grid-template-columns: minmax(0, 1fr); }
  .abertura-texto { padding-bottom: 8px; }
  .cel-corte { height: 380px; }
  .celular { width: 260px; }
  .funciona-cel { position: static; }
  .ganhos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .canais, .degraus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .degraus li { min-height: 0 !important; }
  .regua-linha { grid-template-columns: minmax(0, 1fr); }
  .poste { flex-direction: row; justify-content: center; }
  .poste img { width: 96px; }
  .marcos { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .marcos::before { left: 13px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; background: linear-gradient(180deg, var(--azul), var(--ambar) 30%, var(--navy) 50%, var(--vermelho) 70%, var(--verde)); }
  .marcos li { display: grid; grid-template-columns: 29px minmax(0, 1fr); column-gap: 16px; text-align: left; align-items: start; padding: 0; }
  .marcos li::before { grid-row: 1 / span 3; margin: 0; }
  .marcos time, .marcos b, .marcos span { grid-column: 2; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .sec { padding-block: 64px; }
  .abertura { padding-top: 48px; }
  .abertura .lead { font-size: 17.5px; }
  .ganhos, .canais, .degraus { grid-template-columns: minmax(0, 1fr); }
  .marca img { height: 32px; }
  .topo .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
