/* Landing do Ok Casei — a partir de 03-telas/v2-claro/LandingV2 (claro) e v3-escuro/LandingV3 (escuro), repaginada em 27/10/2026.
   As duas telas são a mesma página com a paleta trocada: aqui viram as variáveis de cada tema. */
:root {
  --fundo: #fef6ef; --texto: #3c1806; --suave: #7a5242; --card: #ffffff;
  --brand: #9a5426; --on-brand: #ffffff;
  --sky-100: #eaf1f8; --sky-200: #d3e2f1; --sky-300: #c9ddf3; --sky-400: #8fb0d3; --navy: #23406a; --navy-muted: #4f6584;
  --borda: #efd6c8; --blush-soft: #fcebe6; --gold-100: #f6ead3; --gold-300: #e3c58a; --gold-ink: #6e4f12; --gold-500: #a07a2c;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #1a1411; --texto: #f6ebe3; --suave: #c9ab9c; --card: #261d18;
    --brand: #e0a26c; --on-brand: #2a1406;
    --sky-100: #1b2433; --sky-200: #26344a; --sky-300: #2c4466; --sky-400: #6f93bd; --navy: #c9dcf2; --navy-muted: #9fb3cc;
    --borda: #47332b; --blush-soft: #33221d; --gold-100: #2e2414; --gold-300: #7a5e2a; --gold-ink: #f0d9a8; --gold-500: #d9b56a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--sans); }
a { color: var(--navy); }
a:hover { color: var(--texto); }
.so-escuro { display: none !important; }
@media (prefers-color-scheme: dark) { .so-claro { display: none !important; } .so-escuro { display: block !important; } }

.pagina { overflow-x: clip; /* os cartões laterais do carrossel saem da tela */ padding: 20px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pagina > * { width: 100%; max-width: 1160px; }
.titulo { margin: 0; font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 48px; letter-spacing: -0.03em; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; }
.botao { display: inline-block; text-decoration: none; border-radius: 999px; font-weight: 600; font-size: 16px; padding: 18px 30px; }
.botao.principal { background: var(--brand); color: var(--on-brand); }
.botao.secundario { background: var(--sky-300); color: var(--navy); }
.botao:hover { filter: brightness(1.05); }
.circulo { width: 52px; height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Topo */
.topo { background: var(--card); border-radius: 999px; padding: 6px 8px 6px 20px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px; }
.topo .marca img { height: 46px; width: auto; display: block; }
.topo nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 15px; }
.topo nav a { color: var(--texto); text-decoration: none; padding: 10px 14px; border-radius: 999px; }
.topo nav a.entrar { color: var(--navy); background: var(--sky-100); font-weight: 600; padding: 10px 16px; }
.topo nav a.criar { color: var(--on-brand); background: var(--brand); font-weight: 600; padding: 12px 20px; }

/* Herói */
.heroi { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 40px 0 24px; text-align: center; }
.heroi h1 { margin: 0; width: 100%; display: flex; justify-content: center; }
.heroi h1 img { width: 100%; max-width: 570px; height: auto; }
.heroi p { margin: 0; font-size: 19px; line-height: 29px; color: var(--suave); max-width: 620px; }
.acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Prévia do app */
.previa { display: flex; flex-wrap: wrap; gap: 16px; }
.bloco { min-width: 0; border-radius: 36px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.numero-grande { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 48px; letter-spacing: -0.03em; }
.previa .dinheiro { flex: 1 1 300px; background: var(--gold-100); border: 1.5px solid var(--gold-300); color: var(--gold-ink); }
.previa .dinheiro .numero-grande { color: var(--texto); }
.previa .dinheiro .rotulo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.previa .dinheiro .rotulo span { width: 36px; height: 36px; border-radius: 999px; background: var(--gold-300); display: flex; align-items: center; justify-content: center; }
.previa .presente { flex: 1.4 1 340px; background: var(--sky-100); gap: 14px; color: var(--navy); }
.previa .presente > span { font-size: 13px; font-weight: 600; }
.produto { background: var(--card); border-radius: 24px; padding: 14px; display: flex; gap: 14px; align-items: center; color: var(--texto); }
.produto .foto { width: 72px; height: 72px; border-radius: 16px; background: var(--sky-200); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.produto div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.produto b { font-weight: 600; font-size: 15px; }
.produto .preco { font-family: var(--display); font-weight: 600; font-size: 20px; }
.produto small { font-size: 12px; color: var(--navy-muted); }
.progresso { height: 8px; border-radius: 999px; background: var(--sky-200); overflow: hidden; }
.progresso div { width: 66%; height: 8px; background: var(--sky-400); }
.previa .convites { flex: 1 1 260px; background: var(--blush-soft); justify-content: space-between; }
.previa .convites small { font-size: 13px; color: var(--suave); }
.previa .dinheiro small { font-size: 13px; }

/* Recursos */
.recursos { display: flex; flex-direction: column; gap: 16px; padding-top: 40px; }
.recursos .titulo { margin-bottom: 8px; max-width: 720px; }
.cartoes { display: flex; flex-wrap: wrap; gap: 16px; }
.cartao { flex: 1 1 300px; min-width: 0; border-radius: 36px; padding: 32px; display: flex; flex-direction: column; gap: 12px; justify-content: flex-end; min-height: 260px; }
.cartao h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 30px; }
.cartao p { margin: 0; font-size: 15px; line-height: 22px; color: var(--suave); }
.cartao.pix, .cartao.planejamento { flex: 2 1 520px; background: var(--sky-300); color: var(--navy); padding: 36px; gap: 14px; min-height: 280px; }
.cartao.pix h3, .cartao.planejamento h3 { font-size: 34px; line-height: 38px; letter-spacing: -0.02em; }
.cartao.pix p, .cartao.planejamento p { font-size: 16px; line-height: 24px; max-width: 520px; color: var(--navy); }
.cartao.lojas { background: var(--sky-100); color: var(--navy); min-height: 280px; }
.cartao.lojas p { color: var(--navy); }
.cartao.lojas .circulo { background: var(--sky-200); }
.cartao.convidados { background: var(--blush-soft); }
.cartao.convidados .circulo { background: var(--card); }
.cartao.pagina-casal { background: var(--blush-soft); }
.cartao.pagina-casal .circulo { background: var(--card); }
.cartao.equipe { background: var(--card); }
.cartao.equipe .circulo { background: var(--sky-100); }
.cartao.mensagens { background: var(--card); }
.cartao.mensagens .circulo { background: var(--sky-100); }
.cartao.confirmado { background: var(--gold-100); border: 1.5px solid var(--gold-300); }
.cartao.confirmado p { color: var(--gold-ink); }
.cartao.confirmado .circulo { background: var(--gold-300); }

/* Vitrines com carrossel (Desafios, Do lado do convidado). Sem JS: faixa com rolagem lateral.
   Com landing.js (.pronto): os cartões empilham na mesma célula e cada um anda pela distância até o atual
   (--d, com sinal; --a, absoluta), em leque, como no benchmark de 27/10/2026. */
.vitrine { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 56px; }
.vitrine .eyebrow { color: var(--suave); }
.vitrine .titulo { max-width: 780px; }
.titulo em { font-style: normal; color: var(--brand); }
.vitrine .apoio { margin: 0; font-size: 17px; line-height: 26px; color: var(--suave); max-width: 560px; }

.carrossel { width: 100%; margin-top: 18px; }
.faixa { list-style: none; margin: 0; padding: 8px 4px 20px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.slide { flex: 0 0 min(320px, 82%); scroll-snap-align: center; text-align: left; }
.cartao-c { height: 100%; background: var(--card); border: 1.5px solid var(--borda); border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .4s, box-shadow .4s; }
.cartao-c .foto { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.cartao-c .foto svg { opacity: .5; }
.cartao-c .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tom-sky { background: var(--sky-100); color: var(--navy); }
.tom-sky-forte { background: var(--sky-300); color: var(--navy); }
.tom-blush { background: var(--blush-soft); color: var(--brand); }
.tom-gold { background: var(--gold-100); color: var(--gold-ink); }
.cartao-c .corpo { flex: 1; padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 10px; }
.cartao-c .tag { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.cartao-c .tag .icone { width: 32px; height: 32px; border-radius: 10px; background: var(--fundo); color: var(--texto);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cartao-c h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; }
.cartao-c p { margin: 0; font-size: 15px; line-height: 22px; color: var(--suave); }
.cartao-c .solucao { background: var(--fundo); border-radius: 16px; padding: 12px 14px; color: var(--texto); transition: opacity .4s; }
.cartao-c .solucao b { color: var(--brand); font-weight: 600; }
.cartao-c .contador { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--borda); text-align: right;
  font-size: 12px; font-weight: 600; color: var(--suave); }

.carrossel .controles { display: none; }
.carrossel.pronto .faixa { display: grid; overflow: visible; padding: 10px 0 28px; perspective: 1600px; touch-action: pan-y; }
.carrossel.pronto .slide { grid-area: 1 / 1; justify-self: center; width: min(380px, 80vw);
  transform: translateX(calc(var(--d, 0) * 62%)) translateZ(calc(var(--a, 0) * -150px)) rotateY(calc(var(--d, 0) * -14deg));
  z-index: calc(10 - var(--a, 0));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .45s; }
/* os de trás ficam opacos (o texto de um não vaza no outro) e "lavados" por uma camada da cor do fundo */
.carrossel.pronto .cartao-c { position: relative; }
.carrossel.pronto .cartao-c::after { content: ""; position: absolute; inset: 0; background: var(--fundo); pointer-events: none;
  opacity: calc(var(--a, 0) * .32); transition: opacity .45s; }
.carrossel.pronto .slide:not(.atual) { cursor: pointer; }
.carrossel.pronto .slide:not(.atual) .cartao-c { filter: saturate(.75); }
.carrossel.pronto .slide:not(.atual) .solucao { opacity: 0; }
.carrossel.pronto .slide.fora { opacity: 0; pointer-events: none; }
.carrossel.pronto .slide.atual .cartao-c { border-color: var(--texto); box-shadow: 0 28px 56px -28px rgba(60, 24, 6, .5); }
.carrossel.pronto .controles { display: flex; justify-content: center; align-items: center; gap: 18px; }
.carrossel .seta { width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--card); color: var(--texto);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(60, 24, 6, .35); }
.carrossel .seta:hover { color: var(--brand); }
.carrossel .pontos { display: flex; gap: 6px; }
.carrossel .pontos button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--borda); cursor: pointer;
  transition: width .3s, background .3s; }
.carrossel .pontos button[aria-current="true"] { width: 26px; background: var(--texto); }
@media (max-width: 640px) {
  .carrossel.pronto .slide { transform: translateX(calc(var(--d, 0) * 80%)) translateZ(calc(var(--a, 0) * -120px)) rotateY(calc(var(--d, 0) * -10deg)); }
  .carrossel.pronto .slide.longe { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .carrossel.pronto .slide, .cartao-c, .cartao-c .solucao, .carrossel.pronto .cartao-c::after { transition: none; }
}

/* Como funciona */
.como { background: var(--blush-soft); border-radius: 36px; padding: 48px; display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.como ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.como li { background: var(--card); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.como li .passo { font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 56px; color: var(--gold-500); }
.como li b { font-weight: 600; font-size: 18px; }
.como li span:last-child { font-size: 15px; line-height: 22px; color: var(--suave); }

/* Dúvidas */
.duvidas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.duvidas .titulo { flex: 1 1 300px; }
.duvidas .lista { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.duvidas details { background: var(--card); border-radius: 24px; padding: 22px 26px; }
.duvidas summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.duvidas details p { margin: 12px 0 0; font-size: 16px; line-height: 24px; color: var(--suave); }

/* Chamada final e rodapé */
.chamada { background: var(--sky-300); color: var(--navy); border-radius: 36px; padding: 56px 48px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.chamada .titulo { max-width: 640px; }
.rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 8px 0; font-size: 14px; color: var(--suave); }
.rodape img { height: 36px; width: auto; display: block; }
.rodape span { display: flex; gap: 20px; }
.rodape a { color: var(--suave); }

/* Em breve (páginas que chegam nas próximas fases) */
.em-breve { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.em-breve img { width: 100%; max-width: 420px; height: auto; }
.em-breve p { margin: 0; font-size: 19px; line-height: 29px; color: var(--suave); max-width: 520px; }

@media (max-width: 640px) {
  .titulo { font-size: 34px; line-height: 38px; }
  .topo { border-radius: 28px; padding: 10px 12px 10px 16px; }
  .topo .marca img { height: 40px; }
  .como, .chamada { padding: 32px 22px; }
  .cartao.pix, .cartao.planejamento { padding: 28px; }
  .cartao.pix h3, .cartao.planejamento h3 { font-size: 28px; line-height: 32px; }
}
/* Entrada da equipe (/admin): discreta, no fim do rodapé */
.rodape a.equipe { opacity: 0.45; font-size: 12px; text-decoration: none; }
.rodape a.equipe:hover { opacity: 1; }
