:root {
  --lj: #f26b21;
  --lj-esc: #c9500f;
  --az: #1f4e9c;
  --tinta: #12274a;
  --sol: #f6b81a;
  --nevoa: #eef3fa;
  --ln: #d6dfec;
  --mu: #4b5b78;
  --ok: #12805c;
  --corpo: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--corpo); font-size: 17px; line-height: 1.6; color: var(--tinta); background: #fff; }
img, svg { max-width: 100%; }
a { color: var(--az); text-underline-offset: 3px; }
a:hover { color: var(--lj-esc); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 4px; }

.miolo { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }


/* toldo de banca de mercado: a marca do site */
.toldo { height: 30px; position: relative; background: repeating-linear-gradient(90deg, var(--lj) 0 32px, var(--sol) 32px 64px); }
.toldo::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at 16px 0, var(--lj) 15.5px, transparent 16px) 0 0 / 64px 16px repeat-x,
    radial-gradient(circle at 48px 0, var(--sol) 15.5px, transparent 16px) 0 0 / 64px 16px repeat-x; }

.topo { padding-top: 14px; }
.topo-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.marca { display: block; line-height: 0; margin-right: auto; }
.marca img { height: 44px; width: auto; }
.menu { display: none; gap: 24px; }
.menu a { color: var(--tinta); text-decoration: none; font-weight: 600; font-size: 15px; }
.menu a:hover { color: var(--lj-esc); text-decoration: underline; }

.btn { display: inline-block; padding: 14px 24px; border-radius: 12px; font-weight: 800; font-size: 17px; text-decoration: none; text-align: center; line-height: 1.2; border: 2px solid transparent; transition: transform .12s ease, background-color .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-peq { padding: 10px 16px; font-size: 15px; background: var(--lj); color: #fff; }
.btn-peq:hover { background: var(--lj-esc); color: #fff; }
.btn-laranja { background: var(--lj); color: #fff; }
.btn-laranja:hover { background: var(--lj-esc); color: #fff; }
.btn-azul { background: var(--tinta); color: #fff; }
.btn-azul:hover { background: var(--az); color: #fff; }
.btn-contorno { border-color: var(--tinta); color: var(--tinta); background: #fff; }
.btn-contorno:hover { background: var(--tinta); color: #fff; }

/* herói */
.heroi { padding: 36px 0 56px; }
.heroi-in { display: grid; gap: 36px; }
h1 { font-size: clamp(2.1rem, 7.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 900; margin: 0 0 18px; max-width: 14em; }
.lide { font-size: 1.15rem; color: var(--mu); max-width: 34em; margin: 0 0 26px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.acoes .btn { flex: 1 1 180px; }
.mais { margin: 16px 0 0; font-size: 15px; color: var(--mu); }

/* o cofre: o caminho do dinheiro */
.cofre { margin: 0; background: var(--tinta); color: #fff; border-radius: 22px; padding: 28px 18px 22px; }
.cofre-via { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-top: 56px; }
.trilho { position: absolute; top: 28px; left: 16.67%; right: 16.67%; height: 4px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 8px, transparent 8px 16px); border-radius: 2px; }
.moeda { position: absolute; top: 12px; left: 16.67%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--sol); color: var(--tinta); display: grid; place-items: center; font-weight: 900; font-size: 13px; box-shadow: 0 2px 0 rgba(0,0,0,.25); z-index: 2; animation: moeda 7.5s ease-in-out .8s 1 forwards; }
@keyframes moeda {
  0%   { left: 16.67%; }
  18%  { left: 16.67%; }
  38%  { left: 50%; }
  66%  { left: 50%; }
  88%  { left: 83.33%; }
  100% { left: 83.33%; }
}
.paragem { text-align: center; padding: 0 2px; }
.paragem svg { width: 44px; height: 44px; fill: var(--sol); stroke: none; display: block; margin: 0 auto 8px; }
.paragem svg .vazio { fill: none; stroke: var(--tinta); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.paragem-cofre svg { animation: cofre 7.5s ease-in-out .8s 1; }
@keyframes cofre { 0%, 30% { transform: scale(1); } 38%, 62% { transform: scale(1.14); } 72%, 100% { transform: scale(1); } }
.paragem b { display: block; font-size: 15px; line-height: 1.25; }
.paragem span { display: block; font-size: 13px; line-height: 1.35; color: #b9c7e2; margin-top: 4px; }
.cofre figcaption { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); font-size: 15px; color: #dbe5f6; }

/* secções */
.seccao { padding: 56px 0; }
.seccao-tom { background: var(--nevoa); }
h2 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 28px; max-width: 20em; }
h3 { font-size: 1.15rem; margin: 0 0 6px; line-height: 1.25; }
.seccao p { max-width: 38em; }

.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: p; }
.passos li { position: relative; padding: 0 0 26px 62px; counter-increment: p; }
.passos li::before { content: counter(p); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lj); color: #fff; font-weight: 900; font-size: 20px; display: grid; place-items: center; z-index: 1; }
.passos li::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--ln); }
.passos li:last-child { padding-bottom: 0; }
.passos li:last-child::after { display: none; }
.passos p { margin: 0; color: var(--mu); }

.razoes { margin: 0; display: grid; gap: 0; }
.razoes > div { padding: 20px 0; border-top: 2px solid var(--tinta); }
.razoes dt { font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.razoes dd { margin: 0; color: var(--mu); max-width: 36em; }

.lados { display: grid; gap: 16px; }
.lado { border: 2px solid var(--ln); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lado h3 { font-size: 1.4rem; }
.lado p { margin: 0 0 18px; color: var(--mu); }
.lado .btn { margin-top: auto; }

/* conteúdo preenchido mais tarde */
.vazio { border: 2px dashed var(--ln); border-radius: 16px; padding: 22px 24px; background: #fff; }
.seccao-tom .vazio { background: #fff; }
.vazio p { margin: 0 0 8px; color: var(--mu); }
.vazio p:last-child { margin-bottom: 0; }
[data-lista]:empty { display: none; }
.lista-hist { display: grid; gap: 18px; }
.hist { margin: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lj); }
.hist p { margin: 0 0 10px; font-size: 1.1rem; }
.hist footer { font-size: 15px; color: var(--mu); }
.lista-man { display: grid; gap: 12px; }
.man { display: block; background: #fff; border: 2px solid var(--ln); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--tinta); }
.man:hover { border-color: var(--lj); }
.man b { display: block; font-size: 1.05rem; }
.man span { color: var(--mu); font-size: 15px; }
.lista-vid { display: grid; gap: 18px; }
.vid h3 { font-size: 1rem; margin: 10px 0 0; }
.vid .tela { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--tinta); border-radius: 14px; overflow: hidden; }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* rodapé */
.rodape { background: var(--tinta); color: #dbe5f6; padding: 44px 0 20px; margin-top: 0; }
.rodape a { color: #fff; }
.rodape a:hover { color: var(--sol); }
.rodape-in { display: grid; gap: 28px; }
.rodape-logo { background: #fff; border-radius: 10px; padding: 4px 8px; height: 52px; width: auto; margin-bottom: 14px; }
.rodape p { margin: 0 0 8px; font-size: 15px; }
.rodape-fim { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.rodape-fim p { font-size: 13px; color: #9fb1d3; margin: 0; }

@media (min-width: 760px) {
  body { font-size: 18px; }
  .menu { display: flex; }
  .heroi { padding: 56px 0 80px; }
  .heroi-in { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; }
  .cofre { padding: 34px 26px 26px; }
  .acoes .btn { flex: 0 0 auto; }
  .lados { grid-template-columns: repeat(3, 1fr); }
  .razoes { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .passos { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .passos li { padding: 62px 0 0 0; }
  .passos li::after { left: 56px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .lista-vid { grid-template-columns: repeat(2, 1fr); }
  .rodape-in { grid-template-columns: 1.4fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .moeda { animation: none; left: 50%; }
  .paragem-cofre svg { animation: none; }
  .btn { transition: none; }
}
