/* Assessoria Tardan: mesma família da tardan-vivo (azul-noite, cobre, Manrope + Instrument Serif), tom executivo.
   Momento imersivo: a "planta" da operação no topo (canvas) e o portão de aprovação no meio da página. */
@font-face { font-family: Manrope; src: url('/fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/InstrumentSerif-Italic.ttf') format('truetype'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --fundo: #030812;
  --fundo-2: #07101f;
  --painel: #0b1729;
  --azul-vivo: #7fa6ff;
  --tinta: #f4f1eb;
  --suave: #b4bccd;
  --fraco: #8590a6;
  --cobre: #d69d78;
  --cobre-claro: #f2c7a4;
  --linha: rgba(255, 255, 255, .1);
  --linha-cobre: rgba(214, 157, 120, .38);
  --pad: clamp(20px, 5.4vw, 88px);
  --max: 1240px;
  --serifa: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sem: Manrope, 'Segoe UI', system-ui, sans-serif;
  --sai: cubic-bezier(.19, 1, .22, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--tinta); font-family: var(--sem); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
em { font-family: var(--serifa); font-style: italic; font-weight: 400; color: var(--cobre-claro); letter-spacing: -.01em; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cobre-claro); outline-offset: 4px; border-radius: 4px; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--cobre); color: var(--fundo); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.pular:focus { left: 12px; }

/* Topo */
.topo { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)) 16px max(var(--pad), env(safe-area-inset-left, 0px));
  transition: background .4s var(--sai), border-color .4s; border-bottom: 1px solid transparent; }
.topo.cheio { background: rgba(3, 8, 18, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--linha); }
.marca { font-weight: 800; font-size: 26px; letter-spacing: -.03em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.marca span { color: var(--cobre); }
.marca small { font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--fraco); margin-left: 12px; }
.menu { display: flex; gap: 28px; font-size: 14.5px; color: var(--suave); }
.menu a { text-decoration: none; transition: color .2s; }
.menu a:hover { color: var(--tinta); }

/* Botões */
.botao { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15.5px; border-radius: 999px; padding: 15px 26px; transition: transform .35s var(--sai), box-shadow .35s, background .3s; white-space: nowrap; }
.botao-cheio { background: linear-gradient(135deg, var(--cobre-claro), var(--cobre) 70%); color: #160d07; box-shadow: 0 10px 40px -12px rgba(214, 157, 120, .65); }
.botao-cheio:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(214, 157, 120, .8); }
.botao-linha { border: 1px solid var(--linha-cobre); color: var(--cobre-claro); padding: 11px 20px; font-size: 14px; }
.botao-linha:hover { background: rgba(214, 157, 120, .1); }
.link-seta { color: var(--suave); text-decoration: none; border-bottom: 1px solid var(--linha); padding-bottom: 3px; font-weight: 600; }
.link-seta:hover { color: var(--tinta); border-color: var(--cobre); }

/* Base dos blocos */
.largura { max-width: var(--max); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.estreito { max-width: 860px; }
.bloco { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.rotulo { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cobre); margin-bottom: 18px; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; max-width: 20ch; }
h2.h-menor { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h2 em { font-size: 1.06em; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
.texto { color: var(--suave); font-size: 1.08rem; max-width: 58ch; margin-top: 22px; }
.nota-pequena { color: var(--fraco); font-size: 14px; margin-top: 18px; }
.centro { text-align: center; justify-content: center; }
.grade-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.alinhar { align-items: center; }

/* Herói */
.heroi { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(1100px 700px at 78% 30%, rgba(127, 166, 255, .1), transparent 62%), radial-gradient(900px 600px at 70% 90%, rgba(214, 157, 120, .1), transparent 60%), var(--fundo); }
#planta { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.heroi::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--fundo) 0%, rgba(3, 8, 18, .86) 34%, rgba(3, 8, 18, .1) 70%); pointer-events: none; }
.heroi-texto { width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px max(var(--pad), env(safe-area-inset-right, 0px)) 120px max(var(--pad), env(safe-area-inset-left, 0px)); }
.sobrelinha { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--cobre); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--cobre); box-shadow: 0 0 0 6px rgba(214, 157, 120, .15); }
h1 { font-size: clamp(3rem, 7.6vw, 6.6rem); line-height: .95; letter-spacing: -.045em; font-weight: 800; margin-top: 26px; }
h1 em { font-size: 1.08em; letter-spacing: -.02em; }
.lead { color: var(--suave); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 50ch; margin-top: 30px; }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 40px; }
.legenda-planta { position: absolute; right: max(var(--pad), env(safe-area-inset-right, 0px)); bottom: 28px; font-size: 12px; color: var(--fraco); letter-spacing: .04em; }
.legenda-planta span { color: var(--cobre); text-transform: uppercase; letter-spacing: .18em; font-weight: 700; font-size: 11px; }

/* Problema */
.problema { background: linear-gradient(180deg, var(--fundo), var(--fundo-2)); }
.colunas-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.colunas-3 article { border-top: 1px solid var(--linha-cobre); padding-top: 22px; }
.colunas-3 p { color: var(--suave); margin-top: 10px; }
.virada { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.25; letter-spacing: -.02em; margin-top: 72px; max-width: 30ch; font-weight: 600; }

/* Etapas */
.como { background: var(--fundo-2); }
.etapas { list-style: none; padding: 0; margin-top: 64px; display: grid; gap: 0; counter-reset: e; }
.etapa { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--linha); align-items: start; }
.etapa:last-child { border-bottom: 1px solid var(--linha); }
.etapa-n { font-family: var(--serifa); font-style: italic; font-size: 4.2rem; line-height: .9; color: var(--cobre); }
.etapa h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.etapa p { color: var(--suave); margin-top: 12px; max-width: 62ch; }
.etapa .etapa-tag { display: inline-block; margin-top: 18px; color: var(--cobre-claro); border: 1px solid var(--linha-cobre); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; font-weight: 700; }

/* Entregas */
.entregas { background: var(--fundo); }
.lista-entregas { list-style: none; padding: 0; display: grid; gap: 0; }
.lista-entregas li { display: grid; gap: 4px; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--linha); position: relative; }
.lista-entregas li::before { content: ""; position: absolute; left: 0; top: 30px; width: 14px; height: 14px; border: 1.5px solid var(--cobre); border-radius: 3px; transform: rotate(45deg); }
.lista-entregas b { font-size: 1.08rem; }
.lista-entregas span { color: var(--suave); font-size: .98rem; }

/* Portão */
.portao { position: relative; padding-block: clamp(100px, 14vw, 180px); background: radial-gradient(800px 500px at 50% 40%, rgba(214, 157, 120, .12), transparent 70%), var(--fundo-2); overflow: hidden; }
.portao-cena { position: relative; height: 180px; max-width: 980px; margin: 0 auto 64px; padding: 0 var(--pad); }
.trilha { position: absolute; left: var(--pad); right: var(--pad); top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--linha-cobre) 15%, var(--linha-cobre) 85%, transparent); }
.pacote { position: absolute; top: -17px; left: 0; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--tinta); background: var(--painel); border: 1px solid var(--linha-cobre); border-radius: 999px; padding: 6px 14px; }
/* parado (sem animação ou antes de entrar na tela): os três pedidos esperando o portão */
.portao:not(.vivo) .p1 { left: 0; top: -60px; }
.portao:not(.vivo) .p2 { left: calc(50% - 230px); }
.portao:not(.vivo) .p3 { left: 4%; top: 26px; }
.porta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--cobre); background: radial-gradient(circle, rgba(214, 157, 120, .25), rgba(3, 8, 18, .95) 70%); box-shadow: 0 0 60px rgba(214, 157, 120, .35); }
.porta span { font-family: var(--serifa); font-style: italic; font-size: 1.5rem; color: var(--cobre-claro); }
.portao-texto { text-align: center; }
.portao-texto h2, .portao-texto .texto { margin-left: auto; margin-right: auto; }
.portao.vivo .pacote { animation: viagem 7.5s var(--sai) infinite; }
.portao.vivo .p2 { animation-delay: 2.5s; }
.portao.vivo .p3 { animation-delay: 5s; }
.portao.vivo .pacote { opacity: 0; top: -17px; }
@keyframes viagem {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  38% { left: calc(50% - 160px); opacity: 1; }
  52% { left: calc(50% - 160px); opacity: 1; }
  60% { left: calc(50% + 70px); opacity: 1; }
  92% { left: calc(100% - 180px); opacity: 1; }
  100% { left: calc(100% - 180px); opacity: 0; }
}
.portao.vivo .porta { animation: pulso 2.5s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 40px rgba(214, 157, 120, .25); } 50% { box-shadow: 0 0 80px rgba(214, 157, 120, .55); } }

/* Casos */
.casa { background: var(--fundo); }
.casos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.caso { background: linear-gradient(180deg, var(--painel), rgba(11, 23, 41, .35)); border: 1px solid var(--linha); border-radius: 18px; padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.caso-tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cobre); }
.caso-num { font-family: var(--serifa); font-style: italic; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--tinta); }
.caso-legenda { font-weight: 600; }
.caso-detalhe { color: var(--suave); font-size: .96rem; }
.fonte { color: var(--fraco); font-size: 13px; margin-top: 26px; }

/* Vídeo */
.video { background: var(--fundo-2); }
.video-moldura { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 22px; border: 1px solid var(--linha-cobre); background: radial-gradient(circle at 30% 30%, rgba(127, 166, 255, .12), transparent 60%), var(--painel); display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 20px; }
.video-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--cobre); color: #160d07; font-size: 24px; padding-left: 5px; }
.video-placeholder { color: var(--fraco); font-size: 13px; letter-spacing: .04em; }

/* Para quem */
.paraquem { background: var(--fundo); }
.cartao-sim, .cartao-nao { border-radius: 20px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--linha); }
.cartao-sim { background: linear-gradient(160deg, rgba(214, 157, 120, .1), transparent 60%), var(--painel); border-color: var(--linha-cobre); }
.check, .xis { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 16px; color: var(--suave); }
.check li, .xis li { padding-left: 32px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--cobre); font-weight: 800; }
.xis li::before { content: "—"; position: absolute; left: 0; color: var(--fraco); }
.xis a { color: var(--cobre-claro); }

/* Quem */
.quem { background: var(--fundo-2); overflow: hidden; }
.quem-nome { font-family: var(--serifa); font-style: italic; font-size: clamp(4rem, 12vw, 10rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--linha-cobre); letter-spacing: -.03em; }

/* Investimento */
.investimento { background: radial-gradient(900px 500px at 50% 0%, rgba(127, 166, 255, .08), transparent 70%), var(--fundo); }
.investimento h2 { margin-bottom: 0; }
.precos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.preco { border: 1px solid var(--linha); border-radius: 22px; padding: clamp(28px, 4vw, 44px); background: var(--painel); display: grid; gap: 12px; align-content: start; }
.preco.destaque { border-color: var(--cobre); background: linear-gradient(160deg, rgba(214, 157, 120, .14), transparent 55%), var(--painel); }
.preco-nome { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cobre); }
.preco-valor { font-family: var(--serifa); font-style: italic; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.02; }
.preco-nota { color: var(--suave); }
.preco ul { list-style: none; padding: 0; margin-top: 10px; display: grid; gap: 8px; color: var(--suave); font-size: .97rem; }
.preco li { padding-left: 22px; position: relative; }
.preco li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--cobre); }
.investimento .acoes { margin-top: 36px; }

/* Dúvidas */
.duvidas { background: var(--fundo-2); }
details { border-bottom: 1px solid var(--linha); padding: 22px 0; }
details:first-of-type { margin-top: 40px; border-top: 1px solid var(--linha); }
summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cobre); font-size: 1.4rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--suave); margin-top: 12px; max-width: 64ch; }

/* Fecho */
.fecho { padding-block: clamp(110px, 15vw, 200px); background: radial-gradient(700px 420px at 50% 60%, rgba(214, 157, 120, .16), transparent 70%), var(--fundo); }
.fecho h2 { margin: 0 auto; font-size: clamp(2.6rem, 7vw, 6rem); max-width: none; }
.fecho .texto { margin: 22px auto 40px; }

/* Rodapé */
.rodape { border-top: 1px solid var(--linha); padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); background: var(--fundo); }
.rodape-grade { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.rodape-escada { color: var(--fraco); font-size: 14px; margin-top: 6px; }
.rodape-escada b { color: var(--cobre-claro); }
.rodape-legal { color: var(--fraco); font-size: 13.5px; text-align: right; display: grid; gap: 6px; }

/* Revelar ao rolar (começa visível; só anima quando o JS confirma que pode) */
.js .revela { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--sai), transform 1s var(--sai); }
.js .revela.aparece { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .menu { display: none; }
  .colunas-3, .casos { grid-template-columns: minmax(0, 1fr); }
  .grade-2, .precos { grid-template-columns: minmax(0, 1fr); }
  .heroi::after { background: linear-gradient(180deg, rgba(3, 8, 18, 0) 0%, rgba(3, 8, 18, 0) 38%, rgba(3, 8, 18, .9) 52%, var(--fundo) 100%); }
  .heroi { align-items: flex-start; }
  .heroi-texto { padding-top: min(42svh, 380px); padding-bottom: 72px; }
  .etapa { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .etapa-n { font-size: 3rem; }
  .rodape-legal { text-align: left; }
  .legenda-planta { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .marca small { display: none; }
  .topo .botao-linha { padding: 9px 14px; font-size: 13px; }
  .botao { white-space: normal; text-align: center; justify-content: center; }
  .acoes .botao-cheio { width: 100%; }
  .portao-cena { height: 150px; }
  .porta { width: 92px; height: 92px; }
  .porta span { font-size: 1.15rem; }
  .pacote { font-size: 11.5px; padding: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .revela { opacity: 1; transform: none; transition: none; }
  .portao.vivo .pacote, .portao.vivo .porta { animation: none; }
}
