/* PiscouLeu — página pública e páginas de conta. Mesmo espírito calmo do app; o movimento fica
   só no showreel e no robô (para os adultos). */
@font-face { font-family: 'Anton'; src: url('fonts/anton.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('fonts/caveat.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --fundo: #F7F6F3;
  --superficie: #FFFFFF;
  --texto: #2F3437;
  --suave: #6F6E6A;
  --borda: #E6E5E1;
  --grafite: #26292C;
  --cinza: #E9E8E4;
  --vermelho: #CC0000;
  --azul: #1F6C9F;
  --azul-claro: #E1F3FE;
  --verde: #346538;
  --verde-claro: #EDF3EC;
  --ciano: #5FE6F2;
  --raio: 14px;
  --fonte: -apple-system, "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
  --curva: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--fonte); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--azul); }
img { max-width: 100%; }
.manuscrito { font-family: 'Caveat', cursive; font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.cabecalho { max-width: 1120px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { font-family: 'Anton', Impact, sans-serif; font-size: 28px; letter-spacing: 0.01em; color: var(--texto); text-decoration: none; line-height: 1; }
.marca b { color: var(--vermelho); font-weight: 400; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 150ms var(--curva), background 200ms; }
.botao:active { transform: scale(0.97); }
.botao.principal { background: var(--texto); border-color: var(--texto); color: #fff; }
.botao.principal:hover { background: #3d4447; }

/* ---------- Showreel ---------- */
.reel-caixa { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.reel { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--cinza); container-type: inline-size; isolation: isolate; box-shadow: 0 20px 50px -30px rgba(38, 41, 44, 0.45); }
.reel > *, .reel .cena > * { position: absolute; }
.reel .fundo-escuro { inset: 0; background: var(--grafite); opacity: 0; }
.reel .cena { inset: 0; opacity: 0; }
.reel .titulo { font-family: 'Anton', Impact, sans-serif; color: var(--grafite); font-size: 9.5cqw; line-height: 1; white-space: nowrap; letter-spacing: 0.005em; }
.reel .titulo span { position: relative; display: inline-block; }
.reel .bola { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--vermelho); }
.reel .rastro { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--vermelho); opacity: 0; }
.reel .nota { font-family: 'Caveat', cursive; font-weight: 600; color: var(--azul); font-size: 3.4cqw; line-height: 1.1; white-space: nowrap; }
.reel .nota.clara { color: var(--ciano); }
.reel svg.seta { overflow: visible; }
.reel svg.seta path { fill: none; stroke: var(--azul); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel svg.seta.clara path { stroke: var(--ciano); }
.reel .cartao { background: #fff; border-radius: 1.2cqw; box-shadow: 0 1.5cqw 3cqw -1.5cqw rgba(0, 0, 0, 0.5); display: grid; place-items: center; overflow: visible; }
.reel .cartao .palavra { position: relative; font-family: Arial, Helvetica, sans-serif; font-weight: 700; color: var(--vermelho); line-height: 1; white-space: nowrap; }
.reel .cartao .palavra span { position: relative; display: inline-block; }
.reel .grade { display: grid; grid-template-columns: repeat(16, 1fr); gap: 0.55cqw; }
.reel .grade i { position: relative; display: block; aspect-ratio: 1; border-radius: 0.35cqw; background: rgba(255, 255, 255, 0.08); }
.reel .dial-num { font-family: 'Anton', Impact, sans-serif; color: var(--grafite); font-size: 6cqw; line-height: 1; text-align: center; white-space: nowrap; }
.reel .dial-num small { display: block; font-family: var(--fonte); font-size: 1.8cqw; color: var(--suave); margin-top: 0.6cqw; }
.reel .marca-final { font-family: 'Anton', Impact, sans-serif; color: #fff; font-size: 11cqw; line-height: 1; white-space: nowrap; }
.reel .marca-final b { color: #FF4B4B; font-weight: 400; }
.reel .slogan { font-family: var(--fonte); color: rgba(255, 255, 255, 0.82); font-size: 2.4cqw; white-space: nowrap; }
.reel .robo { width: 20cqw; }
.reel .reel-play { left: 50%; top: 84%; transform: translate(-50%, -50%); z-index: 5; min-height: 56px; padding: 0 26px; border-radius: 9999px; border: 0; background: var(--vermelho); color: #fff; font: inherit; font-weight: 700; font-size: clamp(15px, 2.2cqw, 20px); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(204, 0, 0, 0.6); white-space: nowrap; }
.reel-controles { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.reel-controles button { min-height: 40px; min-width: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--borda); background: var(--superficie); color: var(--texto); font: inherit; font-size: 15px; cursor: pointer; }

/* ---------- Robô (imagem + olhos em SVG por cima) ---------- */
.robo { position: relative; aspect-ratio: 1; }
.robo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.robo svg.olhos { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.robo .lente { fill: #0B1416; }
.robo .icone { fill: none; stroke: var(--ciano); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.robo .icone.cheio { fill: var(--ciano); stroke: none; }
.robo .brilho { filter: drop-shadow(0 0 4px rgba(95, 230, 242, 0.9)) drop-shadow(0 0 10px rgba(95, 230, 242, 0.55)); }
.robo .luz-antena { fill: #FFD27A; filter: drop-shadow(0 0 6px #FFC14D); }
.robo-mover, .robo-cabeca { position: absolute; inset: 0; }
.robo-mover { transform-origin: 50% 96%; }
.robo-cabeca { transform-origin: 51.56% 52.34%; }
.robo.tocavel { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.robo.tocavel:focus-visible { outline: 3px solid var(--azul); outline-offset: 4px; border-radius: 50%; }
/* Balão de fala do Pisco */
.balao { position: absolute; left: 46%; bottom: 90%; transform: translateX(-50%); z-index: 3; background: #fff; color: var(--texto); border-radius: 16px; padding: 8px 14px; font-family: 'Caveat', cursive; font-weight: 600; font-size: 22px; line-height: 1.15; white-space: nowrap; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.35); pointer-events: none; }
.balao::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -8px; border: 8px solid transparent; border-top-color: #fff; }
.balao[hidden] { display: none; }
.balao-fixo { position: fixed; left: auto; bottom: 86px; right: 12px; transform: none; z-index: 6; font-size: 20px; max-width: calc(100vw - 24px); white-space: normal; }
.balao-fixo::after { left: auto; right: 22px; }
.reel .balao { font-size: 2.6cqw; padding: 0.6cqw 1.2cqw; border-radius: 1.4cqw; }
/* Cochilo: z z z subindo */
.zzz { position: absolute; right: 8%; top: 2%; font-family: 'Caveat', cursive; font-weight: 600; color: var(--azul); font-size: 26px; pointer-events: none; }
.zzz[hidden] { display: none; }
.zzz span { position: absolute; opacity: 0; animation: zzz 2.4s ease-out infinite; }
.zzz span:nth-child(2) { animation-delay: 0.8s; font-size: 0.8em; }
.zzz span:nth-child(3) { animation-delay: 1.6s; font-size: 0.65em; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -60px); } }
.legenda-pisco { font-family: 'Caveat', cursive; font-weight: 600; color: var(--azul); font-size: 24px; text-align: center; margin-top: 6px; }

/* ---------- Chamada ---------- */
.chamada { max-width: 1120px; margin: 28px auto 0; padding: 0 16px; display: grid; gap: 14px; }
.chamada h1 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
.chamada h1 b { color: var(--vermelho); font-weight: 400; }
.chamada p { margin: 0; color: var(--suave); max-width: 640px; font-size: 18px; }
.chamada .acoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; position: relative; }
.nota-cta { font-family: 'Caveat', cursive; font-weight: 600; color: var(--azul); font-size: 24px; align-self: center; }

/* ---------- História (robô fixo ao lado; olhos mudam na rolagem) ---------- */
.historia { max-width: 1120px; margin: 72px auto 0; padding: 0 16px; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 48px; }
.historia .lado { position: sticky; top: 24px; align-self: start; }
.historia .lado .robo { width: 100%; }
.passo { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: 0.35; transform: translateY(16px); transition: opacity 600ms var(--curva), transform 600ms var(--curva); }
.passo.ativo { opacity: 1; transform: none; }
.passo .rotulo { font-family: 'Caveat', cursive; font-weight: 600; font-size: 26px; color: var(--azul); }
.passo h2 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; margin: 4px 0 14px; letter-spacing: 0.005em; }
.passo h2 b { color: var(--vermelho); font-weight: 400; }
.passo p { margin: 0 0 10px; max-width: 560px; }
.robo-mini { display: none; }

/* ---------- Dicas e rodapé ---------- */
.dicas { max-width: 1120px; margin: 40px auto 0; padding: 0 16px; }
.dicas h2 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 34px; margin: 0 0 16px; }
.dicas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.dicas li { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 18px 20px; }
.dicas li b { display: block; margin-bottom: 4px; }
.final { max-width: 1120px; margin: 56px auto 0; padding: 32px 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.rodape-site { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; color: var(--suave); font-size: 14px; border-top: 1px solid var(--borda); }

@media (max-width: 820px) {
  .historia { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .historia .lado { display: none; }
  .passo { min-height: auto; padding: 28px 0; }
  .robo-mini { display: block; position: fixed; right: 10px; bottom: 10px; width: 66px; z-index: 5; border-radius: 50%; background: var(--superficie); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.35); overflow: hidden; opacity: 0; transform: translateY(20px); transition: opacity 400ms var(--curva), transform 400ms var(--curva); pointer-events: none; }
  .robo-mini.visivel { pointer-events: auto; }
  .robo-mini.visivel { opacity: 1; transform: none; }
  .robo-mini .robo { width: 150%; margin: -6% 0 0 -12%; }
}

/* ---------- Páginas de conta ---------- */
.conta { max-width: 440px; margin: 24px auto 48px; padding: 0 16px; }
.conta .caixa { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px 22px; }
.conta h1 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0 0 8px; }
.conta p { color: var(--suave); margin: 0 0 18px; }
.conta label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.conta input[type=text], .conta input[type=email], .conta input[type=password] { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--borda); border-radius: 8px; font: inherit; background: #fff; color: var(--texto); }
.conta input:focus { outline: 2px solid var(--azul); outline-offset: 1px; }
.conta .ajuda { font-size: 14px; color: var(--suave); margin: 6px 0 0; }
.conta .marcar { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.conta .marcar input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.conta .botao { width: 100%; margin-top: 20px; }
.conta .links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 15px; }
.conta .msg { border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; }
.conta .msg.erro { background: #FDEBEC; color: #9F2F2D; }
.conta .msg.ok { background: var(--verde-claro); color: var(--verde); }
.conta .robo { width: 110px; margin: 0 auto -6px; }
.texto-longo { max-width: 720px; margin: 24px auto 48px; padding: 0 16px; }
.texto-longo h1 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 40px; margin: 0 0 12px; }
.texto-longo h2 { font-size: 20px; margin: 28px 0 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ---------- Preços ---------- */
.planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.plano { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; }
.plano.destaque { border-color: var(--texto); }
.plano h2 { margin: 0; font-size: 20px; }
.plano .valor { font-size: 18px; margin: 6px 0 10px; }
.plano .valor b { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: 34px; }
.garantias { padding-left: 20px; }
.garantias li { margin-bottom: 6px; }
