/*
 * Site do Ubon — estilo único de todas as páginas.
 * As cores são as do app: preto, grafite, o verde do Ubon e o semáforo.
 */

/* As letras ficam no próprio site (sem pedir nada pra outro servidor).
   Roboto: licença Apache 2.0. Roboto Condensed: licença SIL OFL 1.1.
   As licenças estão na pasta fontes. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fontes/roboto-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fontes/roboto-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fontes/roboto-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fontes/roboto-condensed-latin-700-normal.woff2") format("woff2");
}

:root {
  --preto: #000000;
  --grafite: #1E1E22;
  --grafite-claro: #26262B;
  --fundo-do-card: #16181C;
  --linha: #2C2C31;
  --texto: #FFFFFF;
  --texto-2: #B0B3B8;
  --cinza: #8E8E93;
  --verde: #00E676;
  --verde-forte: #3BF08F;
  --amarelo: #FFD54F;
  --vermelho: #FF2827;
  --vermelho-texto: #FF6E6E;

  --fonte: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fonte-titulo: "Roboto Condensed", "Roboto", system-ui, sans-serif;

  --largura: 1120px;
  --respiro: clamp(64px, 8vw, 104px);
}

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

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

body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font: 400 1.0625rem/1.6 var(--fonte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 1.35rem + 4.6vw, 4.75rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 700;
}

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

.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pular {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--verde);
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.pular:focus {
  top: 12px;
}

.container {
  width: min(var(--largura), 100% - 32px);
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--texto-2);
  max-width: 34em;
}

.pequeno {
  font-size: 0.9375rem;
  color: var(--cinza);
}

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

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  /* Rodada 131: os botões de comprar viraram <button> de verdade; sem isto
     o navegador pinta o fundo cinza dele. */
  -webkit-appearance: none;
  appearance: none;
  background: none;
  color: inherit;
  font: 700 1.0625rem/1.2 var(--fonte);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.botao svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.botao-principal {
  background: var(--verde);
  color: #000;
}

.botao-principal:hover {
  background: var(--verde-forte);
}

.botao-secundario {
  border-color: #3A3A40;
  color: var(--texto);
}

.botao-secundario:hover {
  border-color: #5A5A62;
  background: var(--grafite);
}

.botao-pequeno {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

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

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

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}

.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}

.logo {
  display: inline-flex;
  flex: none;
  border-radius: 8px;
}

.logo img {
  height: 30px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu a:not(.botao) {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--texto-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.menu a:not(.botao):hover,
.menu a[aria-current="page"] {
  color: var(--texto);
}

.menu .botao {
  margin-left: 8px;
}

.menu .so-no-largo {
  display: none;
}

@media (min-width: 880px) {
  .menu .so-no-largo {
    display: inline-block;
  }
}

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

.secao {
  padding-block: var(--respiro);
}

.secao + .secao {
  border-top: 1px solid var(--linha);
}

.cabeca-da-secao {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.cabeca-da-secao h2 {
  max-width: 20ch;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}

.hero .container {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  max-width: 11ch;
}

.hero .lead {
  margin-top: 24px;
}

.hero .acoes {
  margin-top: 32px;
}

.hero .pequeno {
  margin-top: 16px;
}

/* ---------- A demonstração (o celular com o card) ---------- */

.demo {
  /* 1u = 1px quando o celular tem 330px de largura. Num celular estreito,
     tudo lá dentro encolhe junto, na mesma proporção. */
  --u: calc(min(330px, 100vw - 32px) / 330);
  display: grid;
  justify-items: center;
  gap: 24px;
}

.celular {
  position: relative;
  width: calc(330 * var(--u));
  aspect-ratio: 9 / 18.6;
  border-radius: calc(46 * var(--u));
  background: #141519;
  border: 1px solid #2E2F35;
  box-shadow:
    0 0 0 calc(9 * var(--u)) #111215,
    0 0 0 calc(10 * var(--u)) #2A2B31,
    0 50px 120px -50px rgba(0, 230, 118, 0.35);
  overflow: hidden;
  isolation: isolate;
}

.celular .mapa {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.celular .barra-de-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(14 * var(--u)) calc(28 * var(--u)) 0;
  font: 500 calc(13 * var(--u))/1 var(--fonte);
  color: #E6E6EA;
  z-index: 2;
}

.barra-de-status svg {
  width: calc(40 * var(--u));
  height: calc(12 * var(--u));
}

.rota {
  fill: none;
  stroke: #F2F3F5;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.rota.ativa {
  opacity: 1;
  animation: desenhar-rota 1.1s ease-out both;
}

@keyframes desenhar-rota {
  from {
    stroke-dashoffset: var(--comprimento);
  }

  to {
    stroke-dashoffset: 0;
  }
}

.ponto-da-rota {
  opacity: 0;
  transition: opacity 0.3s;
}

.ponto-da-rota.ativo {
  opacity: 1;
}

/* A folha da oferta do app de corrida: genérica, sem a cara de nenhum app. */
.folha-da-oferta {
  position: absolute;
  left: calc(10 * var(--u));
  right: calc(10 * var(--u));
  bottom: calc(12 * var(--u));
  padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u));
  border-radius: calc(24 * var(--u));
  background: #1B1C20;
  border: 1px solid #2A2B31;
  z-index: 2;
}

.folha-da-oferta .tracos {
  display: grid;
  gap: calc(8 * var(--u));
}

.folha-da-oferta .traco {
  height: calc(8 * var(--u));
  border-radius: calc(4 * var(--u));
  background: #2E3036;
}

.folha-da-oferta .traco:nth-child(1) {
  width: 46%;
  height: calc(12 * var(--u));
  background: #3A3C43;
}

.folha-da-oferta .traco:nth-child(2) {
  width: 80%;
}

.folha-da-oferta .traco:nth-child(3) {
  width: 64%;
}

.folha-da-oferta .aceitar {
  margin-top: calc(14 * var(--u));
  height: calc(42 * var(--u));
  border-radius: calc(12 * var(--u));
  background: #2F3137;
  display: grid;
  place-items: center;
  font: 700 calc(14 * var(--u))/1 var(--fonte);
  color: #C9CBD1;
}

/* O card do Ubon, igual ao do app no formato horizontal e no tema escuro:
   borda de 7 que pisca na cor da PIOR das duas contas (R$/km e R$/hora). */
.card-ubon {
  --cor: var(--verde);
  position: absolute;
  top: calc(42 * var(--u));
  left: 50%;
  width: max-content;
  max-width: calc(100% - 14 * var(--u));
  transform: translateX(-50%);
  padding: calc(7 * var(--u));
  border-radius: calc(25 * var(--u));
  z-index: 3;
  font-family: var(--fonte);
  font-variant-numeric: tabular-nums;
}

.card-ubon::before {
  content: "";
  position: absolute;
  inset: 0;
  border: calc(7 * var(--u)) solid var(--cor);
  border-radius: inherit;
  animation: piscar 0.85s ease-in-out infinite alternate;
  transition: border-color 0.25s;
}

@keyframes piscar {
  to {
    opacity: 0.25;
  }
}

.card-ubon .dentro {
  position: relative;
  padding: calc(9 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u));
  border-radius: calc(18 * var(--u));
  background: var(--fundo-do-card);
  transition: opacity 0.25s;
}

.card-ubon.trocando .dentro > * {
  opacity: 0;
}

.card-ubon .dentro > * {
  transition: opacity 0.25s;
}

.card-ubon .linha-1 {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font: 700 calc(14 * var(--u))/1.25 var(--fonte);
  white-space: nowrap;
}

.selo {
  padding: calc(3 * var(--u)) calc(8 * var(--u));
  border-radius: calc(6 * var(--u));
  background: #000;
  box-shadow: inset 0 0 0 1px #3A3C42;
  color: #fff;
  font-size: calc(12.5 * var(--u));
  font-weight: 700;
  line-height: 1.2;
}

.selo.da-99 {
  background: #FFDD00;
  box-shadow: none;
  color: #000;
}

.info {
  display: inline-flex;
  align-items: center;
  gap: calc(3 * var(--u));
}

.info svg {
  width: calc(13.3 * var(--u));
  height: calc(13.3 * var(--u));
}

.card-ubon .linha-2 {
  display: flex;
  align-items: flex-end;
  gap: calc(12 * var(--u));
  margin-top: calc(3 * var(--u));
}

.metrica .rotulo {
  font-size: calc(11.5 * var(--u));
  line-height: 1.25;
  color: var(--texto-2);
  white-space: nowrap;
}

.metrica .rotulo .estrela {
  color: #FFC107;
}

.metrica .numero {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font: 700 calc(22 * var(--u))/1.15 var(--fonte);
  white-space: nowrap;
}

.metrica .numero::before {
  content: "";
  width: calc(3.5 * var(--u));
  height: calc(17 * var(--u));
  border-radius: calc(2 * var(--u));
  background: currentColor;
}

.metrica .sufixo {
  align-self: flex-end;
  margin: 0 0 calc(3 * var(--u)) calc(2 * var(--u));
  font-size: calc(11.5 * var(--u));
  font-weight: 400;
  color: var(--texto-2);
}

.boa {
  color: var(--verde);
}

.media {
  color: var(--amarelo);
}

.ruim {
  color: var(--vermelho);
}

/* A legenda do semáforo, que também troca o exemplo. */
.legenda {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.legenda button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: transparent;
  color: var(--texto-2);
  font: 500 0.9375rem/1 var(--fonte);
  cursor: pointer;
}

.legenda button[aria-pressed="true"] {
  border-color: #4A4A52;
  background: var(--grafite);
  color: var(--texto);
}

.legenda .ponto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.legenda .ponto.boa {
  color: var(--verde);
}

.legenda .ponto.media {
  color: var(--amarelo);
}

.legenda .ponto.ruim {
  color: var(--vermelho);
}

/* ---------- Passos (uma sequência de verdade) ---------- */

.passos {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 28px;
  counter-reset: passo;
}

@media (min-width: 820px) {
  .passos.em-linha {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.passos > li {
  counter-increment: passo;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 6px;
  align-items: baseline;
}

.passos > li::before {
  content: counter(passo);
  grid-row: span 2;
  font: 700 2.75rem/0.9 var(--fonte-titulo);
  color: var(--verde);
  min-width: 0.7em;
}

.passos > li p {
  grid-column: 2;
  color: var(--texto-2);
  max-width: 46em;
}

.passos a {
  color: var(--verde);
  text-underline-offset: 3px;
}

.frase-de-fecho {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--linha);
  color: var(--texto-2);
  max-width: 40em;
}

.frase-de-fecho strong {
  color: var(--texto);
  font-weight: 500;
}

/* ---------- Os limites (escalas do semáforo) ---------- */

.escalas {
  display: grid;
  gap: 36px;
}

@media (min-width: 820px) {
  .escalas {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.escala h3 {
  margin-bottom: 16px;
}

.trilho {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  height: 10px;
}

.trilho span:nth-child(1) {
  background: var(--vermelho);
  border-radius: 5px 0 0 5px;
}

.trilho span:nth-child(2) {
  background: var(--amarelo);
}

.trilho span:nth-child(3) {
  background: var(--verde);
  border-radius: 0 5px 5px 0;
}

.marcas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 12px 0 0;
}

.marcas div {
  display: grid;
  gap: 2px;
}

.marcas dt {
  font-size: 0.875rem;
  font-weight: 500;
}

.marcas div:nth-child(1) dt {
  color: var(--vermelho-texto);
}

.marcas div:nth-child(2) dt {
  color: var(--amarelo);
}

.marcas div:nth-child(3) dt {
  color: var(--verde);
}

.marcas dd {
  margin: 0;
  font: 700 1.1875rem/1.2 var(--fonte-titulo);
  font-variant-numeric: tabular-nums;
}

/* ---------- Recursos (o dia inteiro) ---------- */

.recursos {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.recurso {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .recurso {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .recurso:nth-child(even) .painel {
    order: -1;
  }
}

.recurso h3 {
  font: 700 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--fonte-titulo);
  margin-bottom: 14px;
}

.recurso p {
  color: var(--texto-2);
  max-width: 32em;
}

.painel {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  background: var(--grafite);
  border: 1px solid var(--linha);
  font-variant-numeric: tabular-nums;
}

.painel .titulo-do-painel {
  font-size: 0.9375rem;
  color: var(--texto-2);
}

.painel .grande {
  font: 700 clamp(2.4rem, 2rem + 1.5vw, 3rem)/1 var(--fonte-titulo);
  margin-top: 6px;
  color: var(--texto);
}

.painel .grande small {
  font: 500 1rem/1 var(--fonte);
  color: var(--texto-2);
  margin-left: 6px;
}

.fases {
  display: flex;
  height: 16px;
  margin-top: 22px;
  border-radius: 8px;
  overflow: hidden;
  gap: 2px;
}

.fases span {
  height: 100%;
}

.legenda-das-fases {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--texto-2);
}

.legenda-das-fases li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
}

.legenda-das-fases i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legenda-das-fases b {
  color: var(--texto);
  font-weight: 500;
}

.contas {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contas li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: baseline;
}

.contas .barrinha {
  grid-column: 1 / -1;
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #2E2F35;
}

.contas .valor {
  font-weight: 700;
}

.contas .detalhe {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 0.875rem;
  color: var(--texto-2);
}

.contas .detalhe i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.contas .detalhe i:not(:first-child) {
  margin-left: 8px;
}

.cor-uber {
  background: #E6E6EA;
}

.cor-99 {
  background: #FFDD00;
}

.lembretes {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.lembretes li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
}

.lembretes .quanto {
  font-size: 0.9375rem;
  font-weight: 700;
}

.lembretes .barrinha {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  background: #2E2F35;
  overflow: hidden;
}

.lembretes .barrinha span {
  display: block;
  height: 100%;
  border-radius: 4px;
}

.extras {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px 40px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--linha);
}

@media (min-width: 760px) {
  .extras {
    grid-template-columns: 1fr 1fr;
  }
}

.extras li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  color: var(--texto-2);
}

.extras li strong {
  color: var(--texto);
  font-weight: 500;
}

.extras svg {
  width: 24px;
  height: 24px;
  color: var(--verde);
  margin-top: 1px;
}

/* ---------- Grátis e Pro ---------- */

.lados {
  display: grid;
  gap: 20px;
}

@media (min-width: 820px) {
  .lados {
    grid-template-columns: 1fr 1fr;
  }
}

.lado {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--linha);
}

.lado.pro {
  background: var(--grafite);
  border-color: rgba(0, 230, 118, 0.45);
}

.lado h3 {
  font: 700 1.5rem/1.15 var(--fonte-titulo);
}

.lado .subtitulo {
  margin-top: 4px;
  color: var(--texto-2);
}

.lista-com-marcas {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.lista-com-marcas li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
}

.lista-com-marcas svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--verde);
}

.lado .preco-resumo {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--linha);
  color: var(--texto-2);
}

.lado .preco-resumo b {
  color: var(--texto);
}

.lado .botao {
  margin-top: 20px;
}

/* ---------- Faz / não faz ---------- */

.faz-nao-faz {
  display: grid;
  gap: 40px;
}

@media (min-width: 820px) {
  .faz-nao-faz {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.faz-nao-faz h3 {
  margin-bottom: 18px;
}

.lista-com-marcas.nao svg {
  color: var(--vermelho-texto);
}

.ligacao {
  display: inline-block;
  margin-top: 36px;
  color: var(--verde);
  font-weight: 500;
  text-underline-offset: 4px;
}

/* ---------- Dúvidas ---------- */

.duvidas {
  max-width: 820px;
}

.duvidas details {
  border-bottom: 1px solid var(--linha);
}

.duvidas details:first-of-type {
  border-top: 1px solid var(--linha);
}

.duvidas summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 500;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}

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

.duvidas summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--texto-2);
  border-bottom: 2px solid var(--texto-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}

.duvidas details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.duvidas details > div {
  padding: 0 0 22px;
  color: var(--texto-2);
  max-width: 40em;
}

.duvidas a {
  color: var(--verde);
  text-underline-offset: 3px;
}

.duvidas details > div p + p {
  margin-top: 12px;
}

/* ---------- Chamada final ---------- */

.chamada-final {
  text-align: left;
}

.chamada-final h2 {
  max-width: 16ch;
}

.chamada-final .lead {
  margin-top: 20px;
}

.chamada-final .acoes {
  margin-top: 32px;
}

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

.rodape {
  padding-block: 56px 40px;
  border-top: 1px solid var(--linha);
  color: var(--cinza);
  font-size: 0.9375rem;
}

.rodape .colunas {
  display: grid;
  gap: 32px;
}

@media (min-width: 820px) {
  .rodape .colunas {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.rodape .logo img {
  height: 26px;
}

.rodape h2 {
  font: 500 0.9375rem/1.4 var(--fonte);
  color: var(--texto);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.rodape ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rodape a {
  text-decoration: none;
}

.rodape li a {
  display: inline-block;
  padding: 6px 0;
}

.rodape a:hover {
  color: var(--texto);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rodape .aviso-de-marca {
  margin-top: 16px;
  max-width: 34em;
}

.rodape .direitos {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--linha);
}

/* ---------- Páginas internas ---------- */

.pagina-topo {
  padding-block: clamp(40px, 6vw, 80px) clamp(32px, 4vw, 48px);
}

.pagina-topo h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  max-width: 14ch;
}

.pagina-topo .lead {
  margin-top: 20px;
}

/* Planos */

.planos {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .planos {
    grid-template-columns: 1fr 1fr;
    max-width: 880px;
  }
}

.plano {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--linha);
  background: var(--preto);
}

.plano.destaque {
  background: var(--grafite);
  border: 2px solid var(--verde);
}

.plano .etiqueta {
  justify-self: start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--verde);
  color: #000;
  font-size: 0.8125rem;
  font-weight: 700;
}

.plano h2,
.plano h3 {
  font: 700 1.5rem/1.2 var(--fonte-titulo);
}

.plano .preco {
  margin-top: 10px;
  font: 700 clamp(2.6rem, 2.2rem + 1.6vw, 3.25rem)/1 var(--fonte-titulo);
  font-variant-numeric: tabular-nums;
}

.plano .preco small {
  font: 500 1.125rem/1 var(--fonte);
  margin-right: 4px;
  vertical-align: 0.6em;
}

.plano .por-mes {
  color: var(--verde);
  font-weight: 500;
}

.plano .condicoes {
  margin-top: 12px;
  color: var(--texto-2);
  font-size: 0.9375rem;
}

.plano .botao {
  margin-top: 22px;
}

/* A compra (rodada 131): o código da conta antes dos planos. */
.compra .conta {
  margin-bottom: 24px;
}

.rotulo-do-campo {
  display: block;
  margin: 16px 0 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--texto);
}

.campo {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #3A3A40;
  border-radius: 14px;
  background: var(--preto);
  color: var(--texto);
  font: 400 1.0625rem/1.2 var(--fonte);
}

.campo::placeholder {
  color: var(--cinza);
}

.campo:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.25);
}

.aviso-do-formulario {
  margin-top: 14px;
  color: var(--vermelho-texto);
  font-weight: 500;
}

.compra .caixa .pequeno {
  margin-top: 14px;
}

.plano-de-teste {
  margin-top: 16px;
}

.botao:disabled {
  opacity: 0.6;
  cursor: wait;
}

.situacao {
  margin-bottom: var(--respiro);
}

.situacao h2 {
  font: 700 1.375rem/1.25 var(--fonte);
}

.situacao .comprovante {
  margin-top: 16px;
}

.inclui {
  margin-top: 36px;
  max-width: 880px;
}

@media (min-width: 760px) {
  .lista-com-marcas.em-colunas {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }
}

.nota-final {
  margin-top: clamp(48px, 6vw, 72px);
  padding-bottom: var(--respiro);
  color: var(--cinza);
  font-size: 0.9375rem;
}

.nota-final a,
.caixa a,
.baixar-agora a:not(.botao) {
  color: var(--verde);
  text-underline-offset: 3px;
}

.bloco {
  margin-top: clamp(56px, 7vw, 88px);
}

.bloco:last-child {
  padding-bottom: var(--respiro);
}

.bloco > h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  margin-bottom: 28px;
  max-width: 22ch;
}

.caixa {
  padding: clamp(20px, 3vw, 28px);
  border-radius: 20px;
  background: var(--grafite);
  border: 1px solid var(--linha);
  max-width: 820px;
}

.caixa h2,
.caixa h3 {
  font: 700 1.3125rem/1.25 var(--fonte);
  margin-bottom: 12px;
}

.caixa p {
  color: var(--texto-2);
}

.caixa p + p,
.caixa p + ol,
.caixa ol + p {
  margin-top: 12px;
}

.caixa ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--texto-2);
  display: grid;
  gap: 8px;
}

.caixa ol strong,
.caixa p strong {
  color: var(--texto);
  font-weight: 500;
}

.caixa.atencao {
  border-color: rgba(255, 213, 79, 0.45);
}

.caixas {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .caixas {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .caixas .caixa {
    max-width: none;
  }
}

/* Baixar */

.baixar-agora {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 24px;
  background: var(--grafite);
  border: 1px solid var(--linha);
  max-width: 820px;
}

.baixar-agora .requisitos {
  color: var(--texto-2);
}

/* Textos legais */

.texto-legal {
  max-width: 44em;
  padding-bottom: var(--respiro);
}

.pagina-topo .data {
  color: var(--cinza);
  margin-top: 14px;
}

.texto-legal h2 {
  font: 700 1.375rem/1.3 var(--fonte);
  letter-spacing: 0;
  margin-top: 44px;
  margin-bottom: 12px;
}

.texto-legal h2:first-child {
  margin-top: 8px;
}

.texto-legal p,
.texto-legal li {
  color: #D5D7DB;
}

.texto-legal p + p {
  margin-top: 14px;
}

.texto-legal ul {
  padding-left: 22px;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.texto-legal a {
  color: var(--verde);
  text-underline-offset: 3px;
}

/* 404 */

.nao-achou {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 20px;
}

/* ---------- Movimento reduzido ---------- */

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

  .card-ubon::before {
    animation: none;
  }

  .rota.ativa {
    animation: none;
  }

  .card-ubon .dentro > *,
  .botao,
  .duvidas summary::after {
    transition: none;
  }
}
