/* Oká: azul, preto e laranja (os mesmos tokens do app, lib/core/theme/oka_colors.dart). */
:root {
  --preto: #111214;
  --preto-2: #1b1d21;
  --azul: #2563eb;
  --laranja: #ff6b1a;
  --branco: #ffffff;
  --cinza: #f4f6fa;
  --texto: #111214;
  --suave: #4a4f58;
  --linha: #e3e6ec;
  --seguro: #24a36a;
  --raio: 22px;
  --largura: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--texto);
  background: var(--cinza);
  line-height: 1.55;
  font-size: 17px;
}
/* height:auto: as imagens tem width/height no HTML (evita pulo ao carregar) e sem isto ficavam com 1200px */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Nunito", "Inter", sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.miolo { width: min(var(--largura), 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- topo */
.topo {
  position: absolute; inset: 0 0 auto; z-index: 5;
  padding: 18px 0;
}
.topo .miolo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--branco); font-family: "Nunito"; font-weight: 800; font-size: 24px; }
.marca svg { width: 36px; height: 36px; }
.topo nav { display: flex; gap: 22px; align-items: center; }
.topo nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 15px; }
.topo nav a:hover { color: var(--branco); }
.topo nav .so-largo { display: none; }
@media (min-width: 760px) { .topo nav .so-largo { display: inline; } }

/* ---------------------------------------------------------------- botoes */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.botao:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.botao-laranja { background: var(--laranja); color: var(--preto); box-shadow: 0 10px 30px -10px rgba(255,107,26,.7); }
.botao-laranja:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255,107,26,.85); }
.botao-azul { background: var(--azul); color: var(--branco); }
.botao-azul:hover { background: #1d4fd0; }
.botao-vazado { background: transparent; color: var(--branco); border: 1.5px solid rgba(255,255,255,.35); }
.botao-vazado:hover { border-color: var(--branco); }
.botao[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------------------------------------------------------------- abertura */
.abertura {
  position: relative; overflow: hidden;
  background: var(--preto); color: var(--branco);
  padding: 120px 0 0;
}
.abertura::before, .abertura::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.abertura::before { width: 520px; height: 520px; right: -60px; top: 140px; background: rgba(255,107,26,.55); }
.abertura::after { width: 460px; height: 460px; right: 260px; top: 360px; background: rgba(37,99,235,.55); }
.abertura .miolo { position: relative; z-index: 1; display: grid; gap: 48px; align-items: end; }
@media (min-width: 920px) { .abertura .miolo { grid-template-columns: 1.05fr .95fr; } }

.abertura h1 { font-size: clamp(38px, 6.4vw, 66px); font-weight: 900; }
.abertura h1 em { font-style: normal; color: var(--laranja); }
.abertura .chamada { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255,255,255,.82); margin-top: 22px; max-width: 34em; }
.abertura .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.abertura .preco-curto { margin-top: 16px; color: rgba(255,255,255,.65); font-size: 15px; }
.abertura .texto { padding-bottom: 72px; }

.celulares { position: relative; height: 560px; }
.celular {
  position: absolute; width: 250px; border-radius: 34px; overflow: hidden;
  border: 7px solid #26282d; background: #26282d;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.celular img { border-radius: 27px; }
.celulares .frente { left: 50%; transform: translateX(-30%); bottom: -70px; z-index: 2; }
.celulares .atras { left: 50%; transform: translateX(-100%) rotate(-6deg); bottom: -40px; opacity: .92; }
@media (max-width: 919px) {
  .celulares { height: 400px; }
  .celular { width: 190px; }
}

/* ---------------------------------------------------------------- secoes */
.secao { padding: 96px 0; }
.secao.branca { background: var(--branco); }
.secao.escura { background: var(--preto); color: var(--branco); }
.secao h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 900; max-width: 18em; }
.secao .lead { font-size: 19px; color: var(--suave); margin-top: 16px; max-width: 38em; }
.secao.escura .lead { color: rgba(255,255,255,.75); }

/* como funciona: tres momentos, cada um com a tela de verdade */
.momentos { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 900px) { .momentos { grid-template-columns: repeat(3, 1fr); } }
.momento { background: var(--cinza); border-radius: var(--raio); padding: 28px 28px 0; display: flex; flex-direction: column; overflow: hidden; }
.momento h3 { font-size: 23px; font-weight: 800; }
.momento p { color: var(--suave); margin-top: 10px; }
.momento .tela { margin: 28px auto 0; width: 78%; border-radius: 24px 24px 0 0; overflow: hidden; border: 6px solid var(--preto); border-bottom: 0; height: 330px; }
.momento .tela img { width: 100%; }

/* a crianca sabe */
.lado-a-lado { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .lado-a-lado { grid-template-columns: 1fr 1fr; } }
.par-de-telas { display: flex; gap: 18px; justify-content: center; }
.par-de-telas .celular { position: static; width: 46%; max-width: 240px; }
.par-de-telas .celular:last-child { margin-top: 48px; }
.lista-certo { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.lista-certo li { padding-left: 34px; position: relative; font-size: 17.5px; }
.lista-certo li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--laranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ve / nao faz */
.duas-colunas { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 820px) { .duas-colunas { grid-template-columns: 1fr 1fr; } }
.coluna { border-radius: var(--raio); padding: 32px; }
.coluna h3 { font-size: 22px; font-weight: 800; }
.coluna ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 10px; }
.coluna.ve { background: var(--branco); border: 1.5px solid var(--linha); }
.coluna.nao { background: var(--preto); color: var(--branco); }
.coluna.nao li::marker { color: var(--laranja); }

/* preco */
.cartao-preco {
  margin-top: 48px; background: var(--branco); color: var(--texto); border-radius: 28px;
  padding: 36px; display: grid; gap: 28px; max-width: 880px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
@media (min-width: 760px) { .cartao-preco { grid-template-columns: 1fr 1fr; align-items: center; } }
.valor { font-family: "Nunito"; font-weight: 900; font-size: 58px; line-height: 1; }
.valor small { font-size: 20px; font-weight: 700; color: var(--suave); }
.gratis { display: inline-block; background: rgba(255,107,26,.14); color: #9a3a05; font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: 15px; margin-bottom: 14px; }
.cartao-preco .miudo { color: var(--suave); font-size: 15px; margin-top: 12px; }
.cartao-preco .botao { width: 100%; }

/* planos */
.planos { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 860px) { .planos { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plano { background: var(--branco); color: var(--texto); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.plano.destaque { outline: 3px solid var(--laranja); }
.plano h3 { font-size: 28px; font-weight: 900; }
.plano .quem { color: var(--suave); font-weight: 600; }
.plano .valor { font-size: 46px; margin: 8px 0 14px; }
.plano .botao { margin-top: auto; width: 100%; }
.inclui { margin-top: 36px; display: grid; gap: 12px; }
@media (min-width: 860px) { .inclui { grid-template-columns: repeat(4, auto); justify-content: start; gap: 28px; } }
.miudo-escuro { color: rgba(255,255,255,.6); font-size: 15px; margin-top: 24px; max-width: 48em; }

/* baixar */
.downloads { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 820px) { .downloads { grid-template-columns: 1fr 1fr; } }
.download { background: var(--branco); border-radius: var(--raio); padding: 30px; border: 1.5px solid var(--linha); display: flex; flex-direction: column; gap: 14px; }
.download h3 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.download h3 svg { width: 40px; height: 40px; flex: none; }
.download p { color: var(--suave); }
.download .versao { font-size: 14px; color: var(--suave); }
.download .antigo { font-size: 14px; color: var(--suave); }
.passos { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: passo; display: grid; gap: 14px; max-width: 760px; }
.passos li { counter-increment: passo; background: var(--branco); border-radius: 18px; padding: 18px 20px 18px 64px; position: relative; border: 1.5px solid var(--linha); }
.passos li::before {
  content: counter(passo); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--preto); color: var(--branco); font-weight: 800; display: grid; place-items: center; font-size: 15px;
}
.passos strong { display: block; }
.passos span { color: var(--suave); font-size: 16px; }

/* perguntas */
.perguntas { margin-top: 40px; display: grid; gap: 12px; max-width: 820px; }
.perguntas details { background: var(--branco); border-radius: 18px; border: 1.5px solid var(--linha); }
.perguntas summary { cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--laranja); }
.perguntas details[open] summary::after { content: "–"; }
.perguntas details p { padding: 0 22px 20px; color: var(--suave); }

/* rodape */
.rodape { background: var(--preto); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 15px; }
.rodape .miolo { display: grid; gap: 28px; }
@media (min-width: 820px) { .rodape .miolo { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape h4 { color: var(--branco); margin: 0 0 10px; font-size: 15px; }
.rodape a { color: rgba(255,255,255,.85); }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rodape .fim { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: 14px; }

/* paginas de texto (privacidade, termos) */
.documento { background: var(--branco); }
.documento .topo { position: static; background: var(--preto); }
.documento main { padding: 56px 0 96px; }
.documento article { max-width: 760px; }
.documento h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 900; }
.documento h2 { font-size: 22px; font-weight: 800; margin-top: 40px; }
.documento p, .documento li { color: #2b2f36; margin-top: 12px; }
.documento ul { padding-left: 22px; }
.documento .atualizado { color: var(--suave); margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao { transition: none; }
}
