@import url("fontes.css");

/* Tokens da marca (docs/marca/tokens.md) */
:root {
  /* Céu da Nuvi (15/10/2026): docs/marca/tokens.md */
  --azul-nuvi: #2160FF;
  --ceu: #6CC8FF;
  --brilho: #C8F6FF;
  --nevoa: #EEF9FF;
  --bochecha: #FF8FC8;
  --feito: #4FD1B0;
  --tinta: #23243A;
  --calmo: #6A6E86;
  --fala: #5E5F70;
  --apagado: #9A9CAE;
  --linha: rgba(35, 36, 58, .08);
  --fundo: #F5F4F2;
  --fundo-1: #F5F4F2;
  --fundo-2: #F5F4F2;
  --vidro: rgba(255, 255, 255, .62);
  --vidro-leve: rgba(255, 255, 255, .45);
  --vidro-forte: rgba(255, 255, 255, .80);
  --vidro-borda: rgba(255, 255, 255, .90);
  --cartao: rgba(255, 255, 255, .62);
  --botao: #23243A;
  --noite: #0D1233;
  --sombra: 0 18px 40px -28px rgba(60, 60, 120, .35);
  --sombra-alta: 0 24px 48px -30px rgba(60, 60, 120, .45);
  --ceu-manha: radial-gradient(70% 520px at 12% 0%, #FFE3CF 0%, rgba(255, 227, 207, 0) 100%), radial-gradient(60% 480px at 92% 60px, #FFD9E3 0%, rgba(255, 217, 227, 0) 100%), radial-gradient(90% 560px at 55% 300px, #CFDAEB 0%, rgba(207, 218, 235, 0) 100%);
  --serifa: "Crimson Pro", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ceu-manha), var(--fundo);
  background-repeat: no-repeat;
  color: var(--tinta);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* granulado do céu: ruído fino a 8% */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--tinta); text-underline-offset: 3px; text-decoration-color: rgba(35, 36, 58, .3); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--azul-nuvi); outline-offset: 2px; }

.pagina { max-width: 1040px; margin: 0 auto; padding: 0 18px; }

/* topo */
.topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.marca { font: 500 30px/1 var(--serifa); color: var(--tinta); text-decoration: none; letter-spacing: -.01em; }
.selo { font-size: 13px; color: var(--calmo); background: var(--vidro); border: 1px solid var(--vidro-borda); padding: 6px 12px; border-radius: 999px; }

/* herói */
.heroi { display: grid; justify-items: center; text-align: center; padding: 8px 0 56px; }
.palco { position: relative; width: min(300px, 76vw); aspect-ratio: 1; margin-bottom: -8px; }
.palco canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; touch-action: manipulation; }
.palco canvas.pronta { opacity: 1; }
.palco img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.palco canvas.pronta + img { display: none; }

.balao {
  position: absolute; left: 50%; top: 4%; z-index: 2;
  transform: translate(-50%, 6px) scale(.96);
  padding: 8px 15px; border-radius: 18px 18px 18px 4px;
  background: var(--vidro-forte); border: 1px solid var(--vidro-borda); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--sombra);
  font: 500 17px/1.25 var(--serifa); white-space: nowrap; color: var(--tinta);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.balao.mostrar { opacity: 1; transform: translate(-50%, 0) scale(1); }

h1 { font: 400 clamp(46px, 9vw, 70px)/1.02 var(--serifa); letter-spacing: -.02em; margin: 0 0 14px; }
.sub { font-size: 18px; line-height: 1.5; color: var(--calmo); max-width: 30em; margin: 0 0 28px; }
.sub strong { color: var(--tinta); font-weight: 500; }

/* formulário */
.lista { width: 100%; max-width: 480px; }
.campos { display: flex; flex-direction: column; gap: 10px; }
.campos input[type="email"] {
  height: 56px; width: 100%; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--vidro-borda); background: var(--vidro-forte);
  font: 400 17px var(--sans); color: var(--tinta);
  box-shadow: var(--sombra); transition: border-color .2s;
}
.campos input[type="email"]::placeholder { color: #85889C; }
.campos input[type="email"]:focus { outline: none; box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--azul-nuvi); }
.botao {
  height: 56px; padding: 0 7px 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--botao); color: #fff;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  font: 600 16px var(--sans); white-space: nowrap;
  box-shadow: none;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), filter .2s;
}
.botao::after { content: ""; flex: none; width: 42px; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10M11 6l4 4-4 4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.botao.sem-seta { padding: 0 22px; justify-content: center; }
.botao.sem-seta::after { display: none; }
.botao:hover { filter: brightness(1.25); }
.botao:active { transform: scale(.97); }
.botao[disabled] { cursor: progress; filter: saturate(.6); }
@media (min-width: 560px) {
  .campos { flex-direction: row; background: var(--vidro-forte); border-radius: 999px; padding: 6px; box-shadow: var(--sombra); border: 1px solid var(--vidro-borda); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .campos:focus-within { box-shadow: 0 0 0 2px var(--fundo), 0 0 0 4px var(--azul-nuvi); }
  .campos input[type="email"], .campos input[type="email"]:focus { border: 0; box-shadow: none; height: 56px; padding: 0 18px; background: transparent; }
}
.opcao { display: flex; gap: 10px; align-items: flex-start; justify-content: center; margin: 14px 0 0; font-size: 14px; color: var(--calmo); cursor: pointer; text-align: left; }
.opcao input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tinta); flex: none; }
.miudo { font-size: 13px; color: var(--calmo); margin: 10px 0 0; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso-erro { color: var(--tinta); background: var(--vidro-forte); border: 1px solid var(--vidro-borda); border-radius: 14px; padding: 10px 14px; font-size: 14px; margin: 12px 0 0; }

.feito {
  background: var(--vidro-forte); border: 1px solid var(--vidro-borda); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 26px; padding: 22px 24px; box-shadow: var(--sombra);
  animation: surgir .45s cubic-bezier(.2, .8, .2, 1);
}
.feito p { margin: 0; }
.feito .fala { font: italic 400 26px/1.25 var(--serifa); margin-bottom: 6px; }
.feito .miudo { margin-top: 6px; }
@keyframes surgir { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }

/* seções */
section { padding: 56px 0; }
h2 { font: 400 clamp(34px, 6vw, 46px)/1.06 var(--serifa); letter-spacing: -.015em; margin: 0 0 10px; text-align: center; }
.intro { text-align: center; color: var(--calmo); font-size: 17px; margin: 0 auto 32px; max-width: 32em; }

.passos { display: grid; gap: 14px; }
@media (min-width: 820px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.passo { background: var(--vidro); border: 1px solid var(--vidro-borda); border-radius: 26px; padding: 24px; box-shadow: var(--sombra); }
.icone { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--nevoa); color: var(--azul-nuvi); margin-bottom: 14px; }
.icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.passo h3 { font: 500 24px/1.15 var(--serifa); margin: 0 0 6px; }
.passo p { margin: 0; color: var(--calmo); }
.passo .eco { display: block; margin-top: 10px; font: italic 500 19px/1.3 var(--serifa); color: var(--tinta); }

/* sem culpa */
.culpa { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .culpa { grid-template-columns: 1fr 1fr; gap: 48px; } .culpa h2, .culpa .intro { text-align: left; margin-left: 0; } }
.cena { position: relative; max-width: 380px; width: 100%; margin: 0 auto; padding-top: 58px; }
.tarefa { position: relative; background: var(--vidro); border: 1px solid var(--vidro-borda); border-radius: 22px; padding: 16px 56px 16px 18px; box-shadow: var(--sombra); margin-bottom: 12px; }
.tarefa b { display: block; font-weight: 600; }
.tarefa small { color: var(--calmo); font-size: 14px; }
.tarefa .bolinha { position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; border: 2px solid #D6D9E8; }
.tarefa.ok .bolinha { border-color: var(--feito); background: var(--feito); }
.tarefa.ok .bolinha::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tarefa.ok b { color: var(--calmo); }
.cena .fala-nuvi {
  position: absolute; top: 0; right: 0;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 18px 18px 6px 18px; padding: 10px 16px; box-shadow: var(--sombra);
  font: 500 19px/1.25 var(--serifa);
}

/* fim */
.fim { text-align: center; }
.fim .intro { margin-bottom: 24px; }
.botao-claro {
  display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--vidro); color: var(--tinta); border: 1px solid var(--vidro-borda);
  font: 600 16px var(--sans); text-decoration: none; box-shadow: var(--sombra);
}

/* rodapé */
.rodape { border-top: 1px solid var(--linha); padding: 28px 0 40px; font-size: 14px; color: var(--calmo); display: grid; gap: 8px; text-align: center; }
.rodape p { margin: 0; }
.rodape a { color: var(--calmo); }

/* páginas simples (privacidade, confirmado) */
.texto { max-width: 680px; margin: 0 auto; padding: 16px 0 64px; }
.texto h1 { font-size: clamp(38px, 7vw, 52px); }
.texto h2 { text-align: left; font-size: 26px; margin: 32px 0 8px; }
.texto p, .texto li { color: #3A3D55; }
.texto h2 { font-weight: 500; }
.texto ul { padding-left: 20px; }
.texto ul ul { margin: 4px 0; }
/* política e termos (18/10/2026) */
.legal h3 { font: 500 20px/1.25 var(--serifa); margin: 22px 0 6px; }
.legal hr { border: 0; border-top: 1px solid var(--linha); margin: 32px 0; }
.legal a { color: var(--tinta); text-decoration-color: rgba(35, 36, 58, .35); text-underline-offset: 2px; }
.tabela { overflow-x: auto; margin: 12px 0 4px; -webkit-overflow-scrolling: touch; }
.tabela table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--vidro-leve); border-radius: 14px; overflow: hidden; }
.tabela th, .tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linha); color: #3A3D55; }
.tabela th { font-weight: 600; color: var(--tinta); background: var(--vidro); }
.tabela tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .tabela table { font-size: 14px; } .tabela th, .tabela td { padding: 8px 10px; } }
.centro { text-align: center; display: grid; justify-items: center; }

.junto { white-space: nowrap; }
