/* Ippo · meuippo.com.br · cores e tipos do kit (design/marca-ippo/kit-ippo/tokens.json) */
:root {
  color-scheme: dark;
  --fundo: #0E0E0F;
  --cartao: #18181A;
  --cartao-2: #222224;
  --borda: #2C2C2F;
  --borda-campo: #6B6863;
  --linha: #1F1F21;
  --trilho: #262628;
  --texto: #F6F0E8;
  --texto-apoio: #BDB8B0;
  --texto-suave: #A29E98;
  --limao: #C7F02A;
  --sobre-limao: #0E0E0F;
  --alerta: #FFB86B;
  --lado: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 500 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(44px, 12.4vw, 72px); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 8vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--texto); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--limao); outline-offset: 3px; }
::selection { background: var(--texto); color: var(--fundo); }

.pular { position: absolute; left: var(--lado); top: -80px; z-index: 10; background: var(--texto); color: var(--fundo); padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.pular:focus { top: 12px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.largura { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: var(--lado); padding-right: var(--lado); }

/* topo */
.topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; min-height: 48px; border-radius: 10px; }
.logo img { width: 90px; height: auto; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 26px; border: 0; border-radius: 999px;
  background: var(--limao); color: var(--sobre-limao);
  font: 800 16px/1.2 "Plus Jakarta Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .14s cubic-bezier(.22,1,.36,1);
}
.botao:active { transform: scale(.97); }
.botao:disabled { opacity: .65; cursor: progress; }
.botao.contorno { min-height: 44px; padding: 10px 18px; background: transparent; color: var(--texto); border: 1px solid var(--borda-campo); font-size: 14px; font-weight: 700; }

.rotulo { font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 12px; }

/* abertura */
.abertura { display: grid; gap: 40px; padding-top: 36px; }
.abertura .sub { margin-top: 18px; font-size: 18px; color: var(--texto-apoio); max-width: 30em; }
.abertura .botao { margin-top: 28px; width: 100%; }
.abertura .nota { margin-top: 14px; font-size: 14px; color: var(--texto-suave); text-align: center; }

/* telas do app dentro do celular. No celular: um aparelho, cortado embaixo; no computador: dois */
.telas { height: 440px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
.fone { margin: 0 auto; width: min(300px, 86%); border: 1px solid var(--borda); border-radius: 40px; padding: 8px; background: var(--cartao); }
.fone .vidro { border-radius: 32px; overflow: hidden; background: var(--fundo); padding-top: 14px; }
.fone .vidro img { width: 100%; height: auto; }
.fone-tras { display: none; }

section { padding-top: 88px; }
.intro { margin-top: 14px; color: var(--texto-apoio); font-size: 17px; max-width: 32em; }

/* como funciona */
.passos { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.passo { background: var(--cartao); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; }
.passo .num { font-size: 13px; font-weight: 800; color: var(--texto-suave); margin-bottom: 10px; }
.passo p { margin-top: 8px; color: var(--texto-apoio); font-size: 15px; }
.mostra { margin-top: 20px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.fala { background: var(--cartao-2); border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 15px; font-weight: 600; }
.lista-dia { list-style: none; margin: 0; padding: 0; }
.lista-dia li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--borda); font-size: 15px; font-weight: 600; }
.lista-dia li::before { content: ""; width: 12px; height: 12px; flex: none; border: 1.5px solid var(--texto-suave); border-radius: 50%; }
.guardado { padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--texto-suave); }
.recorte { width: 100%; height: auto; border-radius: 6.5% / 13.5%; }
.anel-bloco { display: flex; align-items: center; gap: 18px; }
.anel-bloco svg { width: 96px; height: 96px; flex: none; }
.anel-bloco b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.anel-bloco span { display: block; font-size: 13px; font-weight: 600; color: var(--texto-suave); }
.exemplo { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--texto-suave); }

/* contas: a Sofia pequena, à direita, em pé na base do cartão */
.contas { background: var(--cartao); border-radius: 28px; padding: 28px 22px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cab cab" "base sofia"; column-gap: 8px; }
.contas .cab { grid-area: cab; }
.contas .base { grid-area: base; padding-bottom: 28px; }
.contas .falas { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; }
.contas .miudo { margin-top: 18px; font-size: 14px; color: var(--texto-suave); }
.sofia { grid-area: sofia; align-self: end; justify-self: end; height: 150px; width: auto; max-width: none; margin-right: -8px; }

/* lista de espera */
.lista { scroll-margin-top: 12px; }
form { margin-top: 28px; display: grid; gap: 22px; }
.campo { display: grid; gap: 8px; font-weight: 700; font-size: 15px; }
.campo input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--borda-campo); background: var(--cartao-2); color: var(--texto);
  font: 600 16px "Plus Jakarta Sans", system-ui, sans-serif;
}
.campo input:focus-visible { border-color: var(--limao); outline-offset: 1px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes label { position: relative; flex: 1 1 auto; }
.opcoes input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opcoes span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--borda-campo); font-weight: 700; font-size: 14px; white-space: nowrap; }
.opcoes input:checked + span { background: var(--texto); border-color: var(--texto); color: var(--fundo); }
.opcoes input:checked + span::before { content: ""; width: 5px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opcoes input:focus-visible + span { outline: 2px solid var(--limao); outline-offset: 3px; }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--texto-apoio); cursor: pointer; }
.aceite input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--texto); }
.aceite a { font-weight: 700; }
form .botao { width: 100%; }
.erro { border: 1px solid var(--alerta); border-radius: 14px; padding: 14px 16px; color: var(--alerta); font-weight: 700; font-size: 14px; }
.erro[hidden], .pronto[hidden], form[hidden] { display: none; }
.pronto { margin-top: 28px; background: var(--cartao); border-radius: 24px; padding: 28px 22px; text-align: center; }
.pronto img { margin: 0 auto 16px; width: auto; height: 190px; }
.pronto p { margin-top: 8px; color: var(--texto-apoio); }
.fundador { margin-top: 20px; border: 1px solid var(--borda); border-radius: 20px; padding: 18px 20px; }
.fundador b { display: block; font-weight: 800; }
.fundador p { font-size: 14px; color: var(--texto-apoio); margin-top: 2px; }

/* perguntas */
.perguntas { margin-top: 28px; border-top: 1px solid var(--borda); }
details { border-bottom: 1px solid var(--borda); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 2px; font-weight: 700; font-size: 17px; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 9px; height: 9px; flex: none; margin-right: 4px; border: solid var(--texto-suave); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s cubic-bezier(.22,1,.36,1); }
details[open] summary::after { transform: rotate(225deg); }
details .resposta { padding: 0 2px 20px; color: var(--texto-apoio); font-size: 15px; }
details .resposta > * + * { margin-top: 10px; }
details .resposta ol { padding-left: 20px; }
.mais { margin-top: 18px; font-size: 15px; }
.mais a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* rodapé */
footer.largura { position: relative; margin-top: 96px; padding-top: 28px; padding-bottom: max(36px, env(safe-area-inset-bottom)); font-size: 14px; color: var(--texto-suave); }
footer::before { content: ""; position: absolute; top: 0; left: var(--lado); right: var(--lado); height: 1px; background: var(--borda); }
footer ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; }
footer li { display: flex; align-items: center; }
footer ul:first-of-type li + li::before { content: "·"; padding: 0 12px; }
footer ul + ul { column-gap: 22px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 700; }
footer .significado { margin-top: 14px; }

/* páginas de texto (privacidade, termos, suporte) */
.doc { max-width: 720px; padding-top: 32px; }
.doc h1 { font-size: clamp(34px, 9vw, 48px); letter-spacing: -.035em; line-height: 1.08; }
.doc .data { margin-top: 12px; font-size: 14px; color: var(--texto-suave); }
.doc h2 { font-size: 21px; letter-spacing: -.02em; line-height: 1.3; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--texto-apoio); }
.doc ul, .doc ol { margin: 0; padding-left: 20px; }
.doc li + li { margin-top: 10px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc b { color: var(--texto); font-weight: 700; }
.doc a { color: var(--texto); font-weight: 700; }
.resumo { margin-top: 28px; background: var(--cartao); border-radius: 20px; padding: 20px; }
.resumo .rotulo { margin-bottom: 8px; color: var(--texto-suave); }
.item { margin-top: 12px; background: var(--cartao); border-radius: 18px; padding: 18px 20px; }
.item h2 { margin: 0 0 6px; font-size: 18px; }
.doc .perguntas { margin-top: 12px; }
.doc details .resposta p, .doc details .resposta li { color: var(--texto-apoio); }
.contato { margin-top: 40px; background: var(--cartao); border-radius: 24px; padding: 24px 22px; }
.contato h2 { margin: 0 0 8px; }
.contato .botao { margin-top: 18px; width: 100%; color: var(--sobre-limao); }
.contato .insta { margin-top: 8px; }
.contato .insta a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 640px) {
  :root { --lado: 32px; }
  .abertura .botao { width: auto; }
  .abertura .nota { text-align: left; }
  .contas { grid-template-areas: "cab sofia" "base sofia"; padding: 44px 44px 0; column-gap: 40px; }
  .contas .base { padding-bottom: 44px; }
  .sofia { height: 270px; margin-right: 0; }
  form .botao, .contato .botao { width: auto; justify-self: start; }
  .opcoes label { flex: 0 0 auto; }
  .opcoes span { min-width: 120px; }
}

@media (min-width: 880px) {
  .topo { padding-top: 24px; }
  .abertura { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-top: 56px; }
  .telas { position: relative; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .fone-frente { position: relative; z-index: 1; width: 66%; margin: 0; box-shadow: 24px 0 48px rgba(0,0,0,.55); }
  .fone-tras { display: block; position: absolute; top: 56px; right: 0; width: 60%; filter: brightness(.7); }
  section { padding-top: 128px; }
  .passos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lista-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .lista-grade form, .lista-grade .pronto { margin-top: 0; }
  .lista-grade .fundador { margin-top: 32px; }
  .faq { max-width: 760px; }
}

/* entrada leve da abertura */
@media (prefers-reduced-motion: no-preference) {
  .abertura > * { animation: entra .6s cubic-bezier(.22,1,.36,1) both; }
  .abertura > * + * { animation-delay: .09s; }
  @keyframes entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
