/*
 * Site da UeBBy (uebby.com.br).
 *
 * HTML e CSS puros, sem build. A identidade vem do logo: vermelho #FF0000,
 * azul #0000FF e as listras horizontais das letras, que viram a textura dos
 * destaques. As cores puras ficam para superfícies e textos grandes; texto
 * pequeno usa tons ajustados para ter contraste suficiente.
 */

@font-face {
  font-family: "Geist";
  src: url("fontes/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --vermelho: #ff0000;
  --vermelho-escuro: #d90000;
  --azul: #0000ff;
  --azul-escuro: #0000d6;
  --vermelho-texto: #d10000;
  --azul-texto: #0000e0;
  --tinta: #0b0b14;

  --texto: #0b0b14;
  --texto-suave: #4b4b5c;
  --borda: #e6e6ee;
  --fundo: #ffffff;
  --fundo-alt: #f6f6fa;
  --cartao: #ffffff;
  --sombra: 0 1px 2px rgb(11 11 20 / 0.05), 0 12px 32px rgb(11 11 20 / 0.08);
  --sombra-forte: 0 2px 4px rgb(11 11 20 / 0.08), 0 30px 60px -12px rgb(11 11 20 / 0.28);
  --raio: 18px;
  --largura: 1180px;

  /* As listras das letras do logo. */
  --listras-vermelhas: repeating-linear-gradient(180deg, #ff1a1a 0 0.075em, #e60000 0.075em 0.15em);
  --listras-azuis: repeating-linear-gradient(180deg, #1a1aff 0 0.075em, #0000dc 0.075em 0.15em);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --vermelho-texto: #ff5c5c;
    --azul-texto: #8c9bff;
    --texto: #f4f4f8;
    --texto-suave: #a3a3b5;
    --borda: #25253a;
    --fundo: #07070d;
    --fundo-alt: #0d0d17;
    --cartao: #11111c;
    --sombra: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px rgb(0 0 0 / 0.45);
    --sombra-forte: 0 2px 4px rgb(0 0 0 / 0.5), 0 30px 60px -12px rgb(0 0 0 / 0.7);
    /* No escuro o azul puro some; as listras ganham um tom mais claro. */
    --listras-azuis: repeating-linear-gradient(180deg, #4d5cff 0 0.075em, #2f3dff 0.075em 0.15em);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

p {
  margin: 0;
}

.largura {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

.pular {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--azul);
  color: #fff;
  font-weight: 600;
}

.pular:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--azul-texto);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Texto listrado (a textura do logo) ---------- */

.listrado {
  background: var(--listras-vermelhas);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Sem isto, a descida do "g" e do "p" corta a textura. */
  padding-bottom: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.listrado-azul {
  background-image: var(--listras-azuis);
}

/* ---------- Botões ---------- */

.botao {
  --cor: var(--azul);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid var(--cor);
  background: var(--cor);
  color: #fff;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Listras que entram por baixo no hover, como as letras do logo. */
.botao::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(180deg, rgb(255 255 255 / 0.14) 0 3px, transparent 3px 6px);
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--cor) 70%, transparent);
}

.botao:hover::before {
  transform: translateY(0);
}

.botao svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.botao:hover svg {
  transform: translateX(3px);
}

.botao-pequeno {
  padding: 10px 18px;
  font-size: 14.5px;
}

/* Fundo sólido: na abertura, a faixa listrada passa atrás do botão. */
.botao-contorno {
  background: var(--fundo);
  color: var(--texto);
  border-color: var(--borda);
}

/* No hover, listras e borda vermelhas: combina com o "vira negócio." do
   título e se distingue do botão azul ao lado. */
.botao-contorno::before {
  background: repeating-linear-gradient(180deg, color-mix(in srgb, var(--vermelho) 12%, transparent) 0 3px, transparent 3px 6px);
}

.botao-contorno:hover {
  border-color: var(--vermelho-texto);
  box-shadow: none;
}

.botao-verde {
  --cor: #15803d;
}

.botao-branco {
  --cor: #ffffff;
  color: var(--azul);
  font-size: clamp(16px, 2.4vw, 20px);
  padding: 18px 28px;
}

.botao-branco::before {
  background: repeating-linear-gradient(180deg, rgb(0 0 255 / 0.07) 0 3px, transparent 3px 6px);
}

/* ---------- Topo ---------- */

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--fundo) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.topo.rolou {
  border-bottom-color: var(--borda);
}

.topo-interno {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.marca img {
  height: 44px;
  width: auto;
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.marca:hover img {
  transform: rotate(-3deg) scale(1.05);
}

.menu {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.menu a {
  position: relative;
  font-size: 15px;
  font-weight: 550;
  color: var(--texto-suave);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--vermelho);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:nth-child(even)::after {
  background: var(--azul);
}

.menu a:hover {
  color: var(--texto);
}

.menu a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 860px) {
  .menu {
    display: none;
  }

  .topo-interno .botao {
    margin-left: auto;
  }
}

@media (max-width: 380px) {
  .topo-interno {
    padding: 10px 16px;
    gap: 12px;
  }

  .marca img {
    height: 36px;
  }

  .botao-pequeno {
    padding: 9px 14px;
    font-size: 13.5px;
  }
}

/* ---------- Abertura ---------- */

.abertura {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

/* Grade de pontos que some nas bordas. */
.abertura::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--texto) 14%, transparent) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.abertura-fundo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.faixa {
  position: absolute;
  width: 160%;
  height: 120px;
  left: -30%;
  border-radius: 999px;
  opacity: 0.1;
  rotate: -12deg;
  animation: deslizar 26s linear infinite alternate;
}

.faixa-vermelha {
  top: 8%;
  background: repeating-linear-gradient(180deg, var(--vermelho) 0 6px, transparent 6px 12px);
}

.faixa-azul {
  top: 70%;
  height: 90px;
  background: repeating-linear-gradient(180deg, var(--azul) 0 6px, transparent 6px 12px);
  animation-duration: 32s;
  animation-direction: alternate-reverse;
}

@media (prefers-color-scheme: dark) {
  .faixa {
    opacity: 0.18;
  }
}

@keyframes deslizar {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

.abertura-grade {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--borda);
  background: var(--cartao);
  font-size: 14px;
  font-weight: 550;
  color: var(--texto-suave);
  box-shadow: var(--sombra);
}

.ponto {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vermelho);
}

.ponto::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--vermelho);
  animation: pulsar 2s ease-out infinite;
}

@keyframes pulsar {
  from { transform: scale(1); opacity: 0.6; }
  to { transform: scale(3); opacity: 0; }
}

.abertura h1 {
  margin-top: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.abertura-sub {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 19.5px);
  color: var(--texto-suave);
}

.abertura-sub strong {
  color: var(--texto);
  font-weight: 650;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- Vitrine (painel, código e celular) ---------- */

/*
 * Tudo dentro do palco é medido em em, e o em é uma fração da largura
 * disponível (unidade cqi). Assim a composição inteira encolhe junto, como
 * uma imagem, em qualquer tela.
 */
.vitrine {
  container-type: inline-size;
  width: 100%;
}

.palco {
  position: relative;
  font-size: calc(100cqi / 56);
  width: 56em;
  height: 47em;
}

.camada {
  position: absolute;
  will-change: translate;
}

.janela {
  border-radius: 1.3em;
  background: var(--cartao);
  border: 1px solid var(--borda);
  box-shadow: var(--sombra-forte);
  overflow: hidden;
}

.janela-barra {
  display: flex;
  align-items: center;
  gap: 0.55em;
  height: 3em;
  padding: 0 1.2em;
  border-bottom: 1px solid var(--borda);
  background: var(--fundo-alt);
}

.janela-barra i {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #ff5f57;
}

.janela-barra i:nth-child(2) { background: #febc2e; }
.janela-barra i:nth-child(3) { background: #28c840; }

.janela-barra span {
  margin-left: 1em;
  padding: 0.3em 1em;
  border-radius: 0.6em;
  background: var(--cartao);
  border: 1px solid var(--borda);
  font-size: 1.1em;
  color: var(--texto-suave);
  white-space: nowrap;
}

.janela-painel {
  left: 0;
  top: 2em;
  width: 44em;
  animation: flutuar 9s ease-in-out infinite;
}

.painel {
  display: flex;
  height: 27em;
}

.painel-lado {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 5.4em;
  padding: 1.4em 1.2em;
  border-right: 1px solid var(--borda);
}

.painel-logo {
  width: 3em;
  height: 3em;
  margin-bottom: 0.8em;
  border-radius: 0.8em;
  background: repeating-linear-gradient(180deg, #ff1a1a 0 3px, #e60000 3px 6px);
}

.painel-lado span {
  height: 0.9em;
  border-radius: 0.5em;
  background: var(--borda);
}

.painel-lado span.ativo {
  background: var(--azul);
}

.painel-corpo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  padding: 1.6em;
  min-width: 0;
}

.painel-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.painel-kpis div {
  display: flex;
  flex-direction: column;
  padding: 1em 1.2em;
  border-radius: 0.9em;
  border: 1px solid var(--borda);
}

.painel-kpis small {
  font-size: 1.05em;
  color: var(--texto-suave);
  white-space: nowrap;
}

.painel-kpis strong {
  font-size: 2.2em;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.painel-kpis em {
  font-style: normal;
  font-size: 1em;
  font-weight: 600;
  color: var(--texto-suave);
}

.painel-kpis em.sobe {
  color: #16a34a;
}

.grafico {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 0.8em;
  padding: 0 0.2em;
  border-bottom: 1px solid var(--borda);
}

.grafico span {
  flex: 1;
  height: var(--h);
  border-radius: 0.5em 0.5em 0 0;
  background: color-mix(in srgb, var(--azul) 22%, var(--cartao));
  transform-origin: bottom;
  animation: crescer 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.grafico span:nth-child(2) { animation-delay: 0.05s; }
.grafico span:nth-child(3) { animation-delay: 0.1s; }
.grafico span:nth-child(4) { animation-delay: 0.15s; }
.grafico span:nth-child(5) { animation-delay: 0.2s; }
.grafico span:nth-child(6) { animation-delay: 0.25s; }
.grafico span:nth-child(7) { animation-delay: 0.3s; }
.grafico span:nth-child(8) { animation-delay: 0.35s; }
.grafico span:nth-child(9) { animation-delay: 0.4s; }
.grafico span:nth-child(10) { animation-delay: 0.45s; }
.grafico span:nth-child(11) { animation-delay: 0.5s; }
.grafico span:nth-child(12) { animation-delay: 0.55s; }

.grafico span.destaque {
  background: repeating-linear-gradient(180deg, #1a1aff 0 3px, #0000dc 3px 6px);
}

@keyframes crescer {
  from { transform: scaleY(0); }
}

/* Começa depois do celular, que cobre o canto esquerdo do painel. */
.painel-linhas {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  margin-left: 11em;
}

.painel-linhas p {
  display: flex;
  align-items: center;
  gap: 0.9em;
  font-size: 1.1em;
}

.painel-linhas i {
  width: 0.8em;
  height: 0.8em;
  border-radius: 50%;
  background: #16a34a;
}

.painel-linhas i.a { background: var(--azul); }
.painel-linhas i.c { background: #f59e0b; }

.painel-linhas span {
  flex: 1;
  white-space: nowrap;
}

.painel-linhas b {
  font-weight: 600;
  color: var(--texto-suave);
  white-space: nowrap;
}

.janela-codigo {
  right: 0;
  top: 29.5em;
  width: 33em;
  background: #0d0d1a;
  border-color: #23233a;
  animation: flutuar 7s ease-in-out -2s infinite;
}

.janela-barra.escura {
  background: #13132a;
  border-bottom-color: #23233a;
}

.janela-barra.escura span {
  background: #0d0d1a;
  border-color: #23233a;
  color: #9a9ab8;
}

.janela-codigo pre {
  margin: 0;
  padding: 1.3em 1.5em 1.5em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.15em;
  line-height: 1.75;
  color: #e6e6f5;
  white-space: pre;
}

.c-chave { color: #ff6b8b; }
.c-func { color: #7aa2ff; }
.c-texto { color: #b8f28b; }
.c-coment { color: #7c7ca0; }

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 0.2em;
  vertical-align: -0.15em;
  background: #e6e6f5;
  animation: piscar 1.1s steps(1) infinite;
}

@keyframes piscar {
  50% { opacity: 0; }
}

.celular {
  left: 1.5em;
  top: 16em;
  width: 15.5em;
  height: 30.5em;
  padding: 0.7em;
  border-radius: 2.6em;
  background: #0b0b14;
  box-shadow: var(--sombra-forte), inset 0 0 0 0.25em #26263a;
  animation: flutuar 8s ease-in-out -4s infinite;
}

.celular-tela {
  position: relative;
  height: 100%;
  padding: 2.4em 1.1em 1.2em;
  border-radius: 2em;
  background: var(--fundo-alt);
  overflow: hidden;
}

.celular-tela::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 50%;
  width: 4.6em;
  height: 1.3em;
  border-radius: 1em;
  background: #0b0b14;
  transform: translateX(-50%);
}

.celular-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.celular-topo b {
  font-size: 1.5em;
  letter-spacing: -0.02em;
}

.celular-topo span {
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: repeating-linear-gradient(180deg, #ff1a1a 0 2px, #e60000 2px 4px);
}

.aviso {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 1em;
  padding: 0.9em;
  border-radius: 1em;
  background: var(--cartao);
  box-shadow: var(--sombra);
  animation: avisar 6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.aviso i {
  flex: none;
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.7em;
  background: #16a34a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='6'/%3E%3C/svg%3E");
}

.aviso b {
  display: block;
  font-size: 1.05em;
  line-height: 1.2;
}

.aviso small {
  font-size: 0.95em;
  color: var(--texto-suave);
}

@keyframes avisar {
  0%, 8% { transform: translateX(115%); opacity: 0; }
  16%, 82% { transform: none; opacity: 1; }
  92%, 100% { transform: translateX(115%); opacity: 0; }
}

.celular ul {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.celular li {
  display: flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.85em;
  border-radius: 0.9em;
  background: var(--cartao);
  border: 1px solid var(--borda);
}

.celular li i {
  width: 1.8em;
  height: 1.8em;
  border-radius: 0.6em;
  background: var(--c);
}

.celular li span {
  flex: 1;
  height: 0.8em;
  border-radius: 0.4em;
  background: var(--borda);
}

.celular li em {
  width: 2.4em;
  height: 0.8em;
  border-radius: 0.4em;
  background: color-mix(in srgb, var(--texto) 18%, transparent);
}

.celular-botao {
  position: absolute;
  left: 1.1em;
  right: 1.1em;
  bottom: 1.3em;
  height: 3em;
  border-radius: 1.5em;
  background: var(--azul);
}

.adesivo {
  padding: 0.55em 1.2em 0.65em;
  border-radius: 999px;
  border: 0.22em solid #fff;
  box-shadow: 0 0 0 0.16em #0b0b14, var(--sombra-forte);
  font-size: 1.9em;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.adesivo-vermelho {
  right: 1em;
  top: 0;
  rotate: 7deg;
  background: var(--listras-vermelhas);
}

/* Medidas divididas por 1,6 porque o em aqui é o do próprio adesivo. */
.adesivo-azul {
  left: 15em;
  top: 27em;
  font-size: 1.6em;
  rotate: -6deg;
  background: repeating-linear-gradient(180deg, #1a1aff 0 0.075em, #0000dc 0.075em 0.15em);
}

@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.9em); }
}

@media (max-width: 960px) {
  .abertura {
    padding: 48px 0 72px;
  }

  .abertura-grade {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .vitrine {
    max-width: 620px;
    margin: 0 auto;
  }
}

/* ---------- Faixa corrida ---------- */

.faixa-corrida {
  overflow: hidden;
  padding: 22px 0;
  background: var(--tinta);
  color: #fff;
  border-block: 4px solid;
  border-image: repeating-linear-gradient(90deg, var(--vermelho) 0 40px, var(--azul) 40px 80px) 4;
}

.faixa-trilho {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: correr 38s linear infinite;
}

.faixa-trilho span {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.faixa-trilho b {
  font-size: 20px;
  color: var(--vermelho);
}

.faixa-trilho b:nth-of-type(even) {
  color: #4d5cff;
}

.faixa-corrida.pausado .faixa-trilho,
.faixa-corrida:hover .faixa-trilho {
  animation-play-state: paused;
}

@keyframes correr {
  to { transform: translateX(calc(-50% - 18px)); }
}

/* ---------- Seções ---------- */

.secao {
  padding: 120px 0;
}

.secao-alt {
  background: var(--fundo-alt);
}

.secao-escura {
  --texto: #f4f4f8;
  --texto-suave: #a3a3b5;
  --borda: #25253a;
  --cartao: #11111c;
  --fundo-alt: #0d0d17;
  --azul-texto: #8c9bff;
  --listras-azuis: repeating-linear-gradient(180deg, #4d5cff 0 0.075em, #2f3dff 0.075em 0.15em);
  position: relative;
  color: var(--texto);
  background: var(--tinta);
  overflow: hidden;
}

.secao-escura::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -200px;
  top: -250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 0 255 / 0.35), transparent 65%);
  pointer-events: none;
}

.secao-escura::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -250px;
  bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 0 0 / 0.22), transparent 65%);
  pointer-events: none;
}

.secao-escura .largura {
  position: relative;
  z-index: 1;
}

.cabeca {
  max-width: 760px;
  margin-bottom: 56px;
}

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermelho-texto);
}

.rotulo::before {
  content: "";
  width: 28px;
  height: 10px;
  background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 4px);
}

.secao-escura .rotulo {
  color: #ff5c5c;
}

.cabeca h2 {
  font-size: clamp(34px, 5vw, 60px);
}

.cabeca-sub {
  margin-top: 20px;
  font-size: 18.5px;
  color: var(--texto-suave);
  max-width: 40em;
}

/* ---------- Duas frentes ---------- */

.frentes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.frente {
  position: relative;
  padding: 44px 40px 40px;
  border-radius: var(--raio);
  border: 1px solid var(--borda);
  background: var(--cartao);
  box-shadow: var(--sombra);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frente::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background: repeating-linear-gradient(180deg, var(--vermelho) 0 2px, var(--vermelho-escuro) 2px 4px);
}

.frente-azul::before {
  background: repeating-linear-gradient(180deg, var(--azul) 0 2px, var(--azul-escuro) 2px 4px);
}

.frente:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-forte);
}

.frente-num {
  display: block;
  font-size: 88px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.06em;
  background: var(--listras-vermelhas);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.frente-azul .frente-num {
  background-image: var(--listras-azuis);
}

.frente h3 {
  margin-top: 18px;
  font-size: 30px;
}

.frente p {
  margin-top: 14px;
  color: var(--texto-suave);
}

.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 650;
  text-decoration: none;
  color: var(--vermelho-texto);
}

.frente-azul .link-seta {
  color: var(--azul-texto);
}

.link-seta::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-seta:hover::after {
  transform: translateX(4px);
}

/* ---------- Produto ---------- */

.produto {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  border: 1px solid var(--borda);
  background: linear-gradient(160deg, #11111c, #0b0b14);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.8);
}

.produto-marca {
  display: flex;
  align-items: center;
  gap: 14px;
}

.produto-marca svg {
  width: 52px;
  height: 52px;
}

.produto-marca strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.produto-marca small {
  font-size: 14.5px;
  color: var(--texto-suave);
}

.produto h3 {
  margin-top: 28px;
  font-size: clamp(28px, 3.4vw, 40px);
}

.produto-texto > p {
  margin-top: 16px;
  color: var(--texto-suave);
}

.lista-check {
  display: grid;
  gap: 10px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}

.lista-check li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 550;
}

.lista-check li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #15803d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.produto-mock {
  position: relative;
  padding-bottom: 36px;
}

.mock-prazos {
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  color: #18181b;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.6);
  rotate: 2deg;
  transition: rotate 0.4s ease;
}

.produto:hover .mock-prazos {
  rotate: 0deg;
}

.mock-titulo {
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 15px;
}

.mock-item {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: 12px;
  border-left: 4px solid;
  font-size: 14.5px;
}

.mock-item + .mock-item {
  margin-top: 10px;
}

.mock-item b {
  font-weight: 650;
}

.mock-item span {
  grid-column: 1;
  color: #52525b;
  font-size: 13.5px;
}

.mock-item em {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
  font-weight: 650;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-item.vermelho { border-color: #dc2626; background: #fef2f2; }
.mock-item.vermelho em { background: #fee2e2; color: #b91c1c; }
.mock-item.ambar { border-color: #d97706; background: #fffbeb; }
.mock-item.ambar em { background: #fef3c7; color: #b45309; }
.mock-item.verde { border-color: #16a34a; background: #f0fdf4; }
.mock-item.verde em { background: #dcfce7; color: #15803d; }

.mock-email {
  position: absolute;
  left: -28px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 88%;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  color: #18181b;
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.55);
  rotate: -3deg;
  animation: flutuar-px 6s ease-in-out infinite;
}

.mock-email i {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #15803d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.mock-email b {
  display: block;
  font-size: 14.5px;
}

.mock-email small {
  font-size: 13px;
  color: #52525b;
}

@keyframes flutuar-px {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.em-breve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--texto-suave);
  font-weight: 550;
}

.em-breve .ponto {
  background: #4d5cff;
}

.em-breve .ponto::after {
  background: #4d5cff;
}

@media (max-width: 900px) {
  .produto {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .mock-email {
    left: -8px;
  }
}

/* ---------- Serviços ---------- */

.servicos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.servico {
  padding: 30px 26px;
  border-radius: var(--raio);
  border: 1px solid var(--borda);
  background: var(--cartao);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.servico:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-forte);
  border-color: transparent;
}

.icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #0b0b14;
  background: repeating-linear-gradient(180deg, #ff1a1a 0 4px, #e60000 4px 8px);
  transition: rotate 0.3s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.icone-azul {
  background: repeating-linear-gradient(180deg, #1a1aff 0 4px, #0000dc 4px 8px);
}

.servico:hover .icone {
  rotate: -8deg;
}

.icone svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.servico h3 {
  margin-top: 22px;
  font-size: 24px;
}

.servico p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--texto-suave);
}

.servico ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--borda);
  list-style: none;
  font-size: 15px;
  font-weight: 550;
}

.servico li {
  display: flex;
  gap: 10px;
}

.servico li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--vermelho);
}

.servico:nth-child(even) li::before {
  background: var(--azul);
}

@media (max-width: 1060px) {
  .servicos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Clientes ---------- */

.casos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.caso {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border-radius: var(--raio);
  border: 1px solid var(--borda);
  background: var(--cartao);
  box-shadow: var(--sombra);
}

.caso-setor {
  font-size: 14px;
  font-weight: 600;
  color: var(--texto-suave);
}

.caso h3 {
  margin-top: 8px;
  font-size: clamp(30px, 3.4vw, 40px);
}

.caso > p {
  margin-top: 18px;
  color: var(--texto-suave);
}

.caso-resultado {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--vermelho) 7%, var(--cartao));
  border-left: 5px solid var(--vermelho);
}

.caso:nth-child(2) .caso-resultado {
  background: color-mix(in srgb, var(--azul) 7%, var(--cartao));
  border-left-color: var(--azul);
}

.caso-resultado b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vermelho-texto);
}

.caso:nth-child(2) .caso-resultado b {
  color: var(--azul-texto);
}

.caso-resultado span {
  display: block;
  margin-top: 4px;
  font-weight: 600;
}

.etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 26px 0 0;
  list-style: none;
}

.etiquetas li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--borda);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--texto-suave);
}

/* ---------- Etapas ---------- */

.etapas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Linha que liga as etapas, listrada nas duas cores. */
.etapas::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 29px;
  right: calc((100% - 84px) / 4 - 29px);
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--vermelho) 0 14px, transparent 14px 22px, var(--azul) 22px 36px, transparent 36px 44px);
  opacity: 0.35;
}

.etapas li {
  position: relative;
}

.etapas span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #0b0b14;
  background: repeating-linear-gradient(180deg, #ff1a1a 0 4px, #e60000 4px 8px);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.etapas li:nth-child(even) span {
  background: repeating-linear-gradient(180deg, #1a1aff 0 4px, #0000dc 4px 8px);
}

.etapas h3 {
  margin-top: 22px;
  font-size: 24px;
}

.etapas p {
  margin-top: 8px;
  color: var(--texto-suave);
  font-size: 16px;
}

@media (max-width: 900px) {
  .etapas {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }

  .etapas::before {
    display: none;
  }
}

/* ---------- Números ---------- */

.numeros {
  padding: 84px 0;
  background: var(--tinta);
  color: #fff;
}

.numeros-grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.numeros-grade > div {
  padding-left: 22px;
  border-left: 3px solid #ff2a2a;
}

.numeros-grade > div:nth-child(even) {
  border-left-color: #4d5cff;
}

.numeros strong {
  display: block;
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.numeros-grade > div > span {
  display: block;
  margin-top: 8px;
  color: #a3a3b5;
  font-size: 16px;
}

@media (max-width: 900px) {
  .numeros-grade {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}

/* ---------- Contato ---------- */

.contato {
  position: relative;
  padding: 130px 0;
  color: #fff;
  /* Azul da marca em degradê, mais escuro no canto do formulário. */
  background: linear-gradient(150deg, #1a1aff 0%, #0000e0 45%, #00009a 100%);
  overflow: hidden;
  isolation: isolate;
}

/*
 * As listras do logo, bem leves, paradas e só do lado do texto: somem antes
 * de chegar ao formulário, para não disputar a atenção com ele.
 */
.contato-fundo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(180deg, rgb(255 255 255 / 0.06) 0 4px, transparent 4px 12px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}

.contato-grade {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.contato h2 {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.045em;
}

.contato-texto p {
  margin: 22px 0 32px;
  max-width: 26em;
  font-size: 19px;
  color: rgb(255 255 255 / 0.88);
}

.contato-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contato-email:hover {
  opacity: 0.8;
}

.contato-email svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.briefing {
  padding: 32px;
  border-radius: 24px;
  background: var(--cartao);
  color: var(--texto);
  border: 1px solid rgb(255 255 255 / 0.5);
  box-shadow: 0 40px 80px -24px rgb(0 0 60 / 0.55);
}

.tipos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.tipos legend {
  margin-bottom: 12px;
  padding: 0;
  font-weight: 700;
  font-size: 17px;
}

.tipos label {
  position: relative;
  cursor: pointer;
}

.tipos input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tipos label > span {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--borda);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.tipos label:hover span {
  border-color: var(--azul-texto);
}

.tipos input:checked + span {
  background: var(--listras-azuis);
  background-size: 100% 40px;
  border-color: var(--azul);
  color: #fff;
}

.tipos input:focus-visible + span {
  outline: 3px solid var(--azul-texto);
  outline-offset: 2px;
}

.campos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.campos label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.opcional {
  margin-left: 3px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--texto-suave);
}

.campos input::placeholder,
.campos textarea::placeholder {
  color: color-mix(in srgb, var(--texto-suave) 70%, transparent);
}

.campo-inteiro {
  grid-column: 1 / -1;
}

.campos input,
.campos select,
.campos textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--borda);
  background: var(--fundo);
  color: var(--texto);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.campos textarea {
  resize: vertical;
  min-height: 110px;
}

.campos input:focus,
.campos select:focus,
.campos textarea:focus {
  outline: none;
  border-color: var(--azul-texto);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--azul) 18%, transparent);
}

.botao-enviar {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
  cursor: pointer;
  font-family: inherit;
}

.briefing-nota {
  margin-top: 12px;
  font-size: 13.5px;
  text-align: center;
  color: var(--texto-suave);
}

.briefing-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.briefing-status:empty {
  display: none;
}

.briefing-status.ok {
  background: color-mix(in srgb, #16a34a 12%, var(--cartao));
  color: #15803d;
}

.briefing-status.erro {
  background: color-mix(in srgb, var(--vermelho) 10%, var(--cartao));
  color: var(--vermelho-texto);
}

@media (prefers-color-scheme: dark) {
  .briefing-status.ok {
    color: #4ade80;
  }
}

.botao-enviar[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* Campo-armadilha: fora da tela, mas não display:none (alguns robôs pulam). */
.armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 960px) {
  .contato-grade {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .briefing {
    padding: 24px 18px;
  }

  .campos {
    grid-template-columns: 1fr;
  }
}

/* ---------- Por que a UeBBy ---------- */

.motivos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--borda);
}

.motivo {
  padding: 32px 28px 8px 0;
}

.motivo + .motivo {
  padding-left: 28px;
  border-left: 1px solid var(--borda);
}

.motivo b {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.motivo b::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-top: 0.42em;
  background: var(--vermelho);
  rotate: 45deg;
}

.motivo:nth-child(even) b::before {
  background: var(--azul);
}

.motivo p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--texto-suave);
}

@media (max-width: 960px) {
  .motivos {
    grid-template-columns: 1fr 1fr;
  }

  .motivo:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .motivos {
    grid-template-columns: 1fr;
  }

  .motivo,
  .motivo + .motivo {
    padding: 24px 0 4px;
    border-left: 0;
  }

  .motivo + .motivo {
    border-top: 1px solid var(--borda);
  }
}

/* ---------- Perguntas ---------- */

.perguntas-grade {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.perguntas-grade .cabeca {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}

.perguntas details {
  border-bottom: 1px solid var(--borda);
}

.perguntas details:first-child {
  border-top: 1px solid var(--borda);
}

.perguntas summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.perguntas summary::-webkit-details-marker {
  display: none;
}

.perguntas summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--borda);
  background:
    linear-gradient(var(--texto), var(--texto)) center / 12px 2px no-repeat,
    linear-gradient(var(--texto), var(--texto)) center / 2px 12px no-repeat;
  transition: rotate 0.25s ease, background-color 0.2s ease;
}

.perguntas details[open] summary::after {
  rotate: 45deg;
  border-color: var(--vermelho);
}

.perguntas summary:hover {
  color: var(--vermelho-texto);
}

.perguntas details p {
  padding: 0 48px 24px 0;
  color: var(--texto-suave);
}

@media (max-width: 900px) {
  .perguntas-grade {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .perguntas-grade .cabeca {
    position: static;
  }
}

/* ---------- Rodapé ---------- */

.rodape {
  padding: 72px 0 32px;
  background: var(--tinta);
  color: #a3a3b5;
  font-size: 15.5px;
}

.rodape-grade {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.rodape-marca img {
  height: 56px;
  width: auto;
}

.rodape-marca p {
  margin-top: 16px;
  max-width: 22em;
}

.rodape-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rodape-links b {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rodape-links a {
  width: fit-content;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rodape-links a:hover {
  color: #fff;
}

.rodape-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #25253a;
  font-size: 14px;
}

@media (max-width: 860px) {
  .rodape-grade {
    grid-template-columns: 1fr 1fr;
  }

  .rodape-marca {
    grid-column: 1 / -1;
  }
}

/* ---------- Celular ---------- */

@media (max-width: 720px) {
  body {
    font-size: 16.5px;
  }

  .largura {
    padding: 0 20px;
  }

  .secao {
    padding: 84px 0;
  }

  .cabeca {
    margin-bottom: 40px;
  }

  .frentes,
  .casos {
    grid-template-columns: 1fr;
  }

  .frente,
  .caso {
    padding: 32px 26px;
  }

  .frente-num {
    font-size: 68px;
  }

  .contato {
    padding: 96px 0;
  }
}

@media (max-width: 560px) {
  .servicos,
  .etapas {
    grid-template-columns: 1fr;
  }

  .acoes .botao {
    flex: 1 1 100%;
    justify-content: center;
  }

  .numeros-grade {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .largura {
    padding: 0 16px;
  }

  .rodape-grade {
    grid-template-columns: 1fr;
  }

  .botao-branco {
    padding: 16px 20px;
    font-size: 15px;
  }
}

/* ---------- Privacidade (janela) ---------- */

.briefing-nota a,
.rodape-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rodape-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.rodape-legal a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.rodape-legal a:hover {
  color: #fff;
}

.janela-privacidade {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 36px 36px 28px;
  border: 1px solid var(--borda);
  border-radius: 20px;
  background: var(--cartao);
  color: var(--texto);
  box-shadow: var(--sombra-forte);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* O foco vai para a caixa ao abrir; o contorno fica só nos botões e links. */
.janela-privacidade:focus,
.janela-privacidade:focus-visible {
  outline: none;
}

.janela-privacidade::backdrop {
  background: rgb(7 7 13 / 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.janela-privacidade[open] {
  animation: janela-entrar 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes janela-entrar {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

.janela-privacidade h2 {
  font-size: 30px;
  padding-right: 40px;
}

.janela-privacidade h3 {
  margin: 22px 0 6px;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.janela-privacidade p {
  font-size: 15.5px;
  color: var(--texto-suave);
}

.janela-privacidade a {
  color: var(--azul-texto);
}

.privacidade-quem {
  margin-top: 12px;
}

.privacidade-quem strong {
  color: var(--texto);
}

.privacidade-data {
  margin-top: 24px;
  font-size: 13.5px !important;
}

.privacidade-fechar-form {
  position: sticky;
  top: 0;
  height: 0;
  display: flex;
  justify-content: flex-end;
}

.privacidade-fechar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -12px -14px 0 0;
  border: 1px solid var(--borda);
  border-radius: 50%;
  background: var(--cartao);
  color: var(--texto);
  cursor: pointer;
  transition: border-color 0.2s ease, rotate 0.2s ease;
}

.privacidade-fechar:hover {
  border-color: var(--vermelho-texto);
  rotate: 90deg;
}

.privacidade-fechar svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (max-width: 560px) {
  .janela-privacidade {
    padding: 28px 22px 22px;
  }

  .janela-privacidade h2 {
    font-size: 26px;
  }
}

/* ---------- Revelar ao rolar ---------- */

.js .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .revelar.visivel {
  opacity: 1;
  transform: none;
}

/* Cartões lado a lado entram em sequência. */
.js .revelar.visivel:nth-child(2) { transition-delay: 0.08s; }
.js .revelar.visivel:nth-child(3) { transition-delay: 0.16s; }
.js .revelar.visivel:nth-child(4) { transition-delay: 0.24s; }

/* Animação parada quando a parte da página não está na tela. */
.pausado,
.pausado * {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .revelar {
    opacity: 1;
    transform: none;
  }
}
