/* Firmonte · site styles. The first screen is a dark studio, the rest is light. */
:root {
  --escuro: #0b0d14; --tinta: #14161d; --claro: #f3f4f7; --branco: #fff;
  --ambar: #e3a44c; --ambar-escuro: #94611a;
  --cinza: #555b6b; --linha: #e1e3e9;
  --pad: clamp(20px, 3.4vw, 48px);
  --topo: 72px;
  --rabo: 56px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--escuro); }
html.parado, html.demo { scroll-behavior: auto; }
body {
  margin: 0; background: var(--escuro); color: var(--tinta);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--tinta); padding: 10px 14px; border-radius: 8px; }
.pular:focus { left: 12px; }
.secao :focus-visible, .legal :focus-visible { outline-color: var(--ambar-escuro); }
.secao .cartao :focus-visible, .secao .sob-cta :focus-visible { outline-color: var(--ambar); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 620 16px/1 "Inter", sans-serif; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-ambar { background: var(--ambar); color: var(--tinta); }
.btn-ambar:hover { background: #edb664; }
.btn-linha { border: 1px solid rgba(255,255,255,.26); color: #f3f4f7; }
.btn-linha:hover { border-color: rgba(255,255,255,.55); }

/* top bar: part of the first screen; on a computer it is pinned only after the headline has left the screen */
.topo { position: relative; z-index: 30; height: var(--topo); background: var(--escuro); color: #f3f4f7; }
.topo-barra { background: var(--escuro); }
.topo-in { max-width: 1440px; margin: 0 auto; height: var(--topo); padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.marca { display: inline-flex; align-items: center; min-height: 44px; }
.marca img { height: 24px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { color: #b6bac6; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { color: #fff; }
.topo-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: #f3f4f7; color: var(--escuro); font-size: 14px; font-weight: 620; text-decoration: none;
}
.topo-cta:hover { background: #fff; }
.topo-preco { display: none; }
@keyframes desce { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 861px) {
  html { scroll-padding-top: var(--topo); }
  .topo.preso .topo-barra {
    position: fixed; top: 0; left: 0; right: 0; z-index: 40;
    border-bottom: 1px solid rgba(255,255,255,.07); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
    animation: desce .24s cubic-bezier(.2,.7,.2,1) both;
  }
  html.parado .topo.preso .topo-barra { animation: none; }
}

/* first screen: the studio. The dark runs a little past the bottom of the screen (--rabo),
   so a small scroll never shows a light strip under it */
.dobra {
  position: relative; overflow: hidden; color: #f3f4f7;
  background:
    radial-gradient(46% 40% at 50% 60%, rgba(227,164,76,.11), rgba(227,164,76,0) 72%),
    radial-gradient(70% 50% at 50% -6%, rgba(255,236,214,.06), rgba(255,236,214,0) 70%),
    var(--escuro);
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--topo) + var(--rabo));
  min-height: calc(100svh - var(--topo) + var(--rabo));
  padding: 18px 0 calc(30px + var(--rabo));
}
.dobra-texto {
  max-width: 1440px; width: 100%; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end;
}
.dobra h1 {
  margin: 0; max-width: 12.4em; text-wrap: balance;
  font-size: clamp(31px, 4.3vw, 64px); line-height: 1.0; letter-spacing: -0.038em; font-weight: 640;
}
.lead { margin: 0; justify-self: end; max-width: 27em; padding-bottom: 6px; color: #a8adba; font-size: clamp(14.5px, 1.2vw, 17.5px); line-height: 1.5; text-wrap: pretty; }

.vitrine { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.palco { position: relative; flex: 1 1 auto; min-height: 290px; max-height: 620px;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 86%, transparent 100%); }
.palco canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.palco-poster { cursor: pointer; }
/* slow network: if the 3D has not started 1.2 s after the page shows, the picture of the stage fades in (and stays if the 3D never comes);
   the 3D then starts in the same pose, without the entrance, and takes its place once its screens are drawn (vitrine.js: .vivo, .com-poster, .pronto) */
.palco::before { content: ""; position: absolute; inset: 0; background: url(poster.webp) center / contain no-repeat; opacity: 0; pointer-events: none; animation: poster-entra .4s ease 1.2s forwards; }
@keyframes poster-entra { to { opacity: 1; } }
@keyframes poster-sai { from { opacity: 1; } to { opacity: 0; } }
.palco.vivo::before { animation: none; }
.palco.com-poster canvas { opacity: 0; }
.palco.com-poster.pronto canvas { opacity: 1; transition: opacity .5s ease; }
.palco.com-poster.pronto::before { animation: poster-sai .5s ease forwards; }
html.parado .palco::before { animation: none; opacity: 1; }
html.parado .palco.vivo::before, html.parado .palco.com-poster.pronto::before { animation: none; opacity: 0; }
html.parado .palco.com-poster canvas { transition: none; }
.vitrine-rotulo {
  margin: 2px auto 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px;
  font-size: 13px; line-height: 1.4; color: #9298a6;
}
.vitrine-rotulo .rotulo { color: #e8e2d6; font-weight: 560; }
.dica { display: inline-flex; align-items: center; gap: 12px; }
.dica::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ambar); }
.so-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .so-mouse { display: inline; } .so-toque { display: none; } }
html.toque .so-mouse { display: none; }
html.toque .so-toque { display: inline; }
.sr-amostras { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; clip-path: inset(50%); height: 1px; overflow: hidden; white-space: nowrap; }
.sr-amostras:focus-within { clip-path: none; height: auto; overflow: visible; }
.sr-amostras a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; background: #f3f4f7; color: var(--tinta); font-size: 14px; font-weight: 600; text-decoration: none; }

/* the door: the price right under the showcase */
.porta {
  width: calc(100% - 2 * var(--pad)); max-width: calc(1440px - 2 * 48px); margin: 16px auto 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "titulo acoes" "precos acoes" "nota acoes";
  column-gap: 32px; row-gap: 6px; align-items: center;
  padding: 18px 18px 18px 30px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}
.porta-titulo { grid-area: titulo; margin: 0 0 2px; font-size: 15px; font-weight: 600; color: #e8e2d6; letter-spacing: -0.005em; }
.porta-titulo span { color: #8a90a0; font-weight: 450; }
.porta-precos { grid-area: precos; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; }
.porta-precos li { display: flex; align-items: baseline; gap: 8px; padding-right: 22px; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
.porta-precos li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.porta-precos b { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.1; font-weight: 650; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.porta-precos span { font-size: 15px; color: #b3b7c3; }
.porta-precos .destaque b { color: var(--ambar); }
.porta-acoes { grid-area: acoes; display: flex; gap: 10px; }
.porta-nota { grid-area: nota; margin: 0; text-wrap: pretty; font-size: 13px; color: #8a90a0; }

@keyframes sobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dobra-texto, .porta, .vitrine-rotulo { animation: sobe .7s cubic-bezier(.2,.7,.2,1) both; }
.porta { animation-delay: .12s; }
.vitrine-rotulo { animation-delay: .3s; }
html.parado .dobra-texto, html.parado .porta, html.parado .vitrine-rotulo { animation: none; }
html.parado * { transition: none !important; }

/* light sections */
.secao { padding: clamp(64px, 8vw, 116px) 0; }
.caixa { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.secao h2 { margin: 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 650; text-wrap: balance; }
.secao-topo p { margin: 12px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--cinza); text-wrap: pretty; }

/* how it works: editorial rows */
.como { background: var(--claro); }
.como .caixa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.como .secao-topo { position: sticky; top: calc(var(--topo) + 32px); }
.passos { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9dce3; }
.passos li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 28px 0 30px; border-bottom: 1px solid #d9dce3; }
.passos .quando { margin: 3px 0 0; font-size: 14px; font-weight: 620; color: var(--ambar-escuro); }
.passos h3 { margin: 0 0 8px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 640; }
.passos li div p { margin: 0; color: #4a5061; font-size: 16px; line-height: 1.6; max-width: 38em; }

/* price */
.preco { background: #fff; }
.preco-grade { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.preco h2 { font-size: clamp(36px, 4.6vw, 64px); }
.preco h2 span { color: #8b909d; }
.preco-frase { margin: 22px 0 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: #2a2e39; max-width: 34em; }
.inclui { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--linha); }
.inclui li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--linha); color: #3e4352; font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.inclui li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 11px; height: 6px; border-left: 2px solid var(--ambar-escuro); border-bottom: 2px solid var(--ambar-escuro); transform: rotate(-45deg); }
.cartao { background: var(--escuro); color: #eef0f4; border-radius: 22px; padding: 30px 30px 26px; box-shadow: 0 30px 60px -30px rgba(11,13,20,.45); }
.linhas { margin: 0; }
.linhas div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.linhas div:first-child { padding-top: 0; }
.linhas dt { color: #b9bdc8; font-size: 15px; }
.linhas dd { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linhas dd small { font-size: 14px; font-weight: 500; color: #a2a7b4; letter-spacing: 0; }
.linhas div:first-child dd { color: var(--ambar); }
.cartao-moeda { margin: 14px 0 20px; font-size: 13.5px; color: #a2a7b4; }
.btn-largo { width: 100%; }
.cartao-nota { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: #a2a7b4; }
.cartao-nota strong { color: #e8e2d6; font-weight: 600; }

/* custom work */
.sob { background: var(--claro); }
.sob-lista { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sob-lista li { background: #fff; border: 1px solid var(--linha); border-radius: 18px; padding: 26px 26px 28px; min-height: 172px; }
.sob-lista h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.25; letter-spacing: -0.018em; font-weight: 640; }
.sob-lista p { margin: 0; color: #4a5061; font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.sob-lista p strong { color: var(--ambar-escuro); font-weight: 650; }
.sob-lista .aqui { margin-top: 10px; font-size: 14px; color: #666b7a; }
.sob-lista .sob-cta { background: var(--tinta); border-color: var(--tinta); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.sob-cta-frase { text-wrap: balance; font-size: 22px !important; line-height: 1.25 !important; letter-spacing: -0.02em; font-weight: 640; color: #fff !important; }
.sob-cta .btn { align-self: flex-start; }
.sob-cta-acao { display: flex; flex-direction: column; align-items: flex-start; }
.sob-lista .sob-cta-nota { margin-top: 10px; font-size: 13px; line-height: 1.45; color: #a2a7b4; }

/* who */
.quem { background: #fff; }
.quem-grade { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 40px; align-items: start; max-width: 980px; }
.quem-marca { width: 112px; height: auto; margin-top: 6px; }
.quem h2 { font-size: clamp(28px, 3vw, 40px); }
.quem-frase { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--tinta); letter-spacing: -0.01em; }
.quem p:last-child { margin: 12px 0 0; color: #4a5061; font-size: 16.5px; line-height: 1.6; max-width: 40em; }
.quem a { color: var(--tinta); font-weight: 600; text-decoration-color: var(--ambar); text-underline-offset: 3px; }

/* footer */
.rodape { background: var(--escuro); color: #b9bdc8; padding: 56px 0 34px; font-size: 14.5px; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
.rodape-marca img { height: 22px; width: auto; display: block; }
.rodape-marca p { margin: 16px 0 0; max-width: 24em; color: #9aa0ae; }
.rodape-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rodape-col p { margin: 0; padding: 8px 0; }
.rodape-col a { color: #eef0f4; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.rodape-col a:hover { color: var(--ambar); }
.rodape-col a[aria-current="page"] { color: var(--ambar); }
.rodape-fim { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #7d8392; font-size: 13px; }
.rodape-fim p { margin: 0; }

/* policy pages: the same top bar and footer, the text on a light sheet */
.legal { background: var(--claro); padding: 28px 0 72px; }
.legal-in { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.volta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: #4a5061; }
.volta::before { content: ""; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: 1px; }
.volta:hover { color: var(--tinta); }
.abas { margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.abas a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: #4a5061; background: rgba(20,22,29,.055); }
.abas a:hover { color: var(--tinta); background: rgba(20,22,29,.09); }
.abas a[aria-current="page"] { background: var(--tinta); color: #fff; }
.folha { margin-top: 18px; background: #fff; border: 1px solid rgba(20,22,29,.08); border-radius: 20px; padding: 44px 56px 48px; }
.folha h1 { font-size: 40px; line-height: 1.1; letter-spacing: -.025em; font-weight: 680; margin: 0 0 10px; }
.folha .data { color: #666b7a; font-size: 14px; margin: 0 0 28px; }
.folha .curta { border-left: 3px solid var(--ambar); padding: 4px 0 4px 18px; margin: 0 0 34px; font-size: 17.5px; line-height: 1.55; color: var(--tinta); }
.folha h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; font-weight: 680; margin: 36px 0 10px; }
.folha p, .folha li { color: #4a4e5c; }
.folha p { margin: 0 0 12px; }
.folha ul { margin: 0 0 12px; padding-left: 20px; }
.folha li { margin: 0 0 8px; }
.folha li::marker { color: var(--ambar-escuro); }
.folha strong { color: var(--tinta); font-weight: 650; }
.folha a { color: var(--tinta); font-weight: 600; text-decoration-color: var(--ambar); text-underline-offset: 3px; }
.folha .num { font-variant-numeric: tabular-nums; }
.folha h3 { font-size: 17px; line-height: 1.35; letter-spacing: -.005em; font-weight: 650; color: var(--tinta); margin: 24px 0 8px; }
.folha code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; color: var(--tinta); background: #f3f4f7; border-radius: 5px; padding: 1px 5px; }
.folha .contato { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(20,22,29,.1); }
.folha .prazos { margin: 6px 0 18px; border-top: 1px solid var(--linha); }
.folha .prazos div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.folha .prazos dt { margin: 0; font-weight: 650; color: var(--tinta); font-size: 15.5px; }
.folha .prazos dd { margin: 0; color: #4a4e5c; }

/* medium screens: the price row fits on one line */
@media (min-width: 1001px) and (max-width: 1380px) {
  .porta { column-gap: 24px; padding-left: 24px; }
  .porta-precos li { gap: 6px; padding-right: 14px; margin-right: 14px; }
  .porta-precos b { font-size: 27px; }
  .porta-precos span { font-size: 14px; }
  .porta-acoes .btn { padding: 0 20px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .porta { grid-template-areas: "titulo titulo" "precos precos" "nota acoes"; row-gap: 8px; }
}
/* the bar pinned to the bottom (phone) */
.barra { display: none; }

/* tablet */
@media (max-width: 1000px) {
  .como .caixa { grid-template-columns: 1fr; gap: 32px; }
  .como .secao-topo { position: static; }
  .sob-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preco-grade { grid-template-columns: 1fr; }
  .cartao { max-width: 520px; }
  .porta { grid-template-columns: 1fr; grid-template-areas: "titulo" "precos" "acoes" "nota"; }
  .porta-acoes { margin-top: 10px; }
  .porta-nota { margin-top: 10px; }
  .porta-email { display: block; }
}
@media (max-width: 860px) {
  :root { --topo: 56px; }
  .nav, .topo-cta { display: none; }
  .topo-preco { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 2px; color: #d4d7e0; font-size: 14.5px; font-weight: 550; text-decoration: none; }
  .marca img { height: 22px; }
}

/* phone */
@media (max-width: 760px) {
  :root { --rabo: 0px; }
  .dobra { min-height: 0; padding: 6px 0 22px; }
  .dobra-texto { grid-template-columns: 1fr; gap: 10px; }
  .dobra h1 { font-size: clamp(29px, 8.2vw, 36px); line-height: 1.04; letter-spacing: -0.035em; }
  .lead { justify-self: start; padding: 0; font-size: 14.5px; line-height: 1.45; }
  .vitrine { flex: none; }
  .palco { flex: none; height: clamp(160px, min(36svh, 100svh - 460px), 316px); min-height: 0; margin-top: 2px; }
  .palco::before { background-image: url(poster-cel.webp); }
  /* the hidden sample links, when they get keyboard focus, stack inside the screen */
  .sr-amostras { flex-direction: column; align-items: center; bottom: 8px; }
  /* phone: the label and the hint stacked, no dot left alone at the start of a line */
  .vitrine-rotulo { font-size: 12.5px; flex-direction: column; gap: 2px; }
  .dica::before { display: none; }
  .porta { margin-top: 12px; padding: 14px 16px 16px; border-radius: 18px; row-gap: 0; }
  .porta-titulo { font-size: 14.5px; margin-bottom: 10px; }
  .porta-titulo span { display: none; }
  /* the four prices in two rows of two, each one on a single line */
  .porta-precos { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: 0; row-gap: 0; }
  .porta-precos li { margin: 0; padding: 6px 0 7px; border-right: 0; gap: 6px; }
  .porta-precos li:nth-child(odd) { padding-right: 12px; }
  .porta-precos li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.12); }
  .porta-precos li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.10); }
  .porta-precos b { font-size: 22px; }
  .porta-precos span { font-size: 13px; line-height: 1.25; color: #b3b7c3; }
  .porta-nota { margin-top: 10px; font-size: 12px; }
  .porta-acoes { flex-direction: column; gap: 8px; margin-top: 12px; }
  .porta-acoes .btn { width: 100%; }
  .porta-acoes .btn-linha { min-height: 46px; font-size: 15px; }

  .passos li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0 24px; }
  .sob-lista { grid-template-columns: 1fr; margin-top: 30px; }
  .sob-lista li { min-height: 0; padding: 22px 22px 24px; }
  .cartao { padding: 24px 20px 22px; }
  .linhas dd { font-size: 21px; }
  .quem-grade { grid-template-columns: 1fr; gap: 18px; }
  .quem-marca { width: 84px; }
  .rodape-grade { grid-template-columns: 1fr; gap: 22px; }
  .rodape { padding-bottom: 104px; }
  .rodape-fim { flex-direction: column; gap: 6px; }

  .barra {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 16px;
    background: var(--escuro); border-top: 1px solid rgba(255,255,255,.09);
    transform: translateY(110%); transition: transform .28s ease;
  }
  .barra.on { transform: none; }
  .barra p { margin: 0; flex: 1; font-size: 13px; line-height: 1.3; color: #c3c7d1; }
  .barra p b { color: var(--ambar); font-weight: 640; }
  .barra p span { white-space: nowrap; }
  .barra .btn { flex: none; min-height: 46px; padding: 0 18px; font-size: 15px; }

  .legal { padding: 16px 0 56px; }
  .legal-in { padding: 0 12px; }
  .volta { padding: 0 6px; }
  .abas { gap: 6px; padding: 0 2px; }
  .abas a { padding: 0 14px; font-size: 14px; }
  .folha { padding: 28px 20px 32px; border-radius: 18px; }
  .folha h1 { font-size: 30px; }
  .folha .curta { font-size: 16.5px; }
  .folha h2 { font-size: 19px; margin-top: 30px; }
  .folha .prazos div { grid-template-columns: 1fr; gap: 4px; }
}

/* ?demo=1 only: the finger and the highlight on the main button */
.demo-dedo {
  position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; z-index: 99999; pointer-events: none;
  background: rgba(255,255,255,.55); border: 2px solid rgba(20,20,20,.85); box-shadow: 0 2px 10px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .3s;
}
.demo-dedo.on { opacity: 1; }
.demo-dedo.aperta { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
@keyframes demoPulso { 0%, 100% { box-shadow: 0 0 0 4px rgba(227,164,76,.42), 0 0 0 10px rgba(227,164,76,.14); } 50% { box-shadow: 0 0 0 7px rgba(227,164,76,.5), 0 0 0 18px rgba(227,164,76,.1); } }
.btn.demo-foco { background: #f0b964; animation: demoPulso 1.3s ease-in-out infinite; }
