/* =====================================================================
   CRIATE · telas do provisionamento (assinatura, ativação, cadastro, área do cliente)
   Mesma identidade da landing (criatedavid-tech/landing-criate-es, src/css/00-tokens.css e
   02-components.css): palco preto, laranja só na ação (botão e IA), vidro escuro, Sora + Geist.
   ===================================================================== */
@font-face {
  font-family: "Sora Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"), local("Helvetica");
  font-weight: 100 900; size-adjust: 114.6%; ascent-override: 84.6%; descent-override: 25.3%; line-gap-override: 0%;
}
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular"), local("Helvetica");
  font-weight: 100 900; size-adjust: 104.2%; ascent-override: 96.4%; descent-override: 28.3%; line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg-0: #050506; --bg-2: #111114; --bg-3: #18181C;
  --line-1: rgba(255, 255, 255, .06); --line-2: rgba(255, 255, 255, .10); --line-3: rgba(255, 255, 255, .16);
  --line-brand: rgba(255, 106, 42, .42);
  --tx-1: #F5F5F7; --tx-2: #A7A7AF; --tx-3: #8A8A93; --tx-on-brand: #0B0B0C;
  --brand-1: #FF6A2A; --brand-2: #E54312; --brand-hi: #FF8A55; --brand-soft: rgba(255, 106, 42, .12);
  --grad-brand-v: linear-gradient(180deg, #FF7E45 0%, #FF6A2A 42%, #E54312 100%);
  --grad-brand-text: linear-gradient(180deg, #FF9A68 0%, #FF6A2A 55%, #EE4E18 100%);
  --ok: #72E6B6; --ok-soft: rgba(52, 211, 153, .14);
  --err: #FF8E98; --err-soft: rgba(255, 77, 106, .15);
  --focus: #FFB48C;
  --font-display: "Sora", "Sora Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --edge-top: inset 0 1px 0 rgba(255, 255, 255, .14);
  --glass-lite-fill: linear-gradient(180deg, rgba(34, 34, 40, .78) 0%, rgba(18, 18, 22, .82) 100%);
  --glass-spec: linear-gradient(115deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 38%);
  --glass-rim: linear-gradient(180deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .08) 22%, rgba(255, 255, 255, .04) 60%, rgba(255, 255, 255, .12) 100%);
  --glass-rim-ai: linear-gradient(180deg, rgba(255, 170, 130, .7) 0%, rgba(255, 106, 42, .28) 30%, rgba(255, 106, 42, .10) 65%, rgba(255, 106, 42, .35) 100%);
  --glass-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 2px 6px rgba(0, 0, 0, .35);
  --ease-soft: cubic-bezier(.25, .8, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Regra com display (ex.: label{display:block}) venceria o display:none do atributo hidden. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; accent-color: var(--brand-1); background: var(--bg-0); }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  padding: 40px 16px 56px;
  display: flex; flex-direction: column; align-items: center;
  font: 400 1rem/1.6 var(--font-sans); letter-spacing: -.006em; color: var(--tx-2);
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(255, 106, 42, .20) 0%, rgba(255, 106, 42, 0) 62%),
    radial-gradient(700px 420px at 85% 110%, rgba(91, 108, 255, .10) 0%, rgba(91, 108, 255, 0) 60%),
    var(--bg-0);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-hi); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Marca ---------- */
.marca { display: block; margin: 0 0 28px; line-height: 0; }
.marca img { display: block; height: 30px; width: auto; }

/* ---------- Cartão de vidro ---------- */
.cartao {
  position: relative; width: 100%; max-width: 480px;
  padding: 36px 28px 32px; border-radius: var(--r-lg);
  background: var(--glass-spec), var(--glass-lite-fill);
  box-shadow: var(--glass-shadow), var(--edge-top);
}
.cartao::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--glass-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.cartao--ia { box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 190, 150, .22), 0 40px 100px -50px rgba(255, 106, 42, .6); }
.cartao--ia::before { background: var(--glass-rim-ai); }
.cartao--largo { max-width: 560px; }
@media (max-width: 420px) { .cartao { padding: 28px 20px 26px; } }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font: 500 .75rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-hi);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 10px rgba(255, 106, 42, .8); }
h1, h2 { font-family: var(--font-display); color: var(--tx-1); font-weight: 600; }
h1 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2rem); line-height: 1.12; letter-spacing: -.028em; margin: 0 0 10px; }
h2 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.012em; margin: 26px 0 8px; }
.hl { background: var(--grad-brand-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: 0 0 24px; color: var(--tx-2); }
.pequeno { font-size: .875rem; line-height: 1.45; color: var(--tx-3); }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  font: 600 1rem/1 var(--font-sans); letter-spacing: -.012em; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .2s var(--ease-soft), box-shadow .2s var(--ease-soft), background-color .2s, color .2s;
}
.btn:active { transform: scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: wait; }
.btn--primario {
  color: var(--tx-on-brand); background: var(--grad-brand-v); overflow: hidden; isolation: isolate;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(120, 24, 0, .35), 0 0 0 1px rgba(255, 128, 70, .55), 0 1px 2px rgba(0, 0, 0, .5), 0 10px 30px -10px rgba(255, 96, 36, .75);
}
.btn--primario:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 24, 0, .35), 0 0 0 1px rgba(255, 140, 80, .7), 0 1px 2px rgba(0, 0, 0, .5), 0 16px 44px -10px rgba(255, 96, 36, .95);
}
.btn--secundario { color: var(--tx-1); background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--line-3), var(--edge-top); }
.btn--secundario:hover { background: rgba(255, 255, 255, .09); }
.btn--bloco { width: 100%; }
.btn .seta { transition: transform .2s var(--ease-soft); }
.btn:hover .seta { transform: translateX(3px); }

/* ---------- Formulário ---------- */
label { display: block; margin: 0 0 16px; font-size: .875rem; font-weight: 500; color: var(--tx-1); }
input, textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 14px;
  font: 400 1rem/1.4 var(--font-sans); color: var(--tx-1);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
input::placeholder, textarea::placeholder { color: #6E6E78; }
input:hover, textarea:hover { border-color: var(--line-3); }
input:focus, textarea:focus { outline: none; border-color: var(--brand-1); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 3px rgba(255, 106, 42, .22); }
textarea { min-height: 120px; resize: vertical; }
.opcional { color: var(--tx-3); font-weight: 400; }
/* Campo com mais de um input (WhatsApp: código do país + número), com o mesmo rótulo e espaço de um label. */
.campo { margin: 0 0 16px; font-size: .875rem; font-weight: 500; color: var(--tx-1); }
.telefone { display: flex; gap: 8px; margin-top: 7px; }
.telefone label { position: relative; margin: 0; }
.telefone input { margin-top: 0; }
.telefone__ddi { flex: 0 0 6.5rem; }
.telefone__ddi input { padding-left: 28px; }
.telefone__mais { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 400 1rem/1 var(--font-sans); color: var(--tx-2); pointer-events: none; }
.telefone__numero { flex: 1 1 auto; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dica { display: block; margin-top: 7px; font-size: .8125rem; font-weight: 400; color: var(--tx-3); }
.erro { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: .875rem; color: var(--err); background: var(--err-soft); }

/* ---------- Oferta ---------- */
.oferta { margin: 4px 0 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--line-brand); }
.oferta em { display: block; margin-bottom: 6px; font: 600 1rem/1.3 var(--font-display); font-style: normal; color: var(--brand-hi); }
.oferta strong { display: block; font: 600 1.75rem/1.1 var(--font-display); letter-spacing: -.02em; color: var(--tx-1); }
.oferta span { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--tx-2); }
.oferta strong small { font: 500 1rem/1 var(--font-sans); letter-spacing: 0; color: var(--tx-2); }
.oferta__hoje { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; font-size: .875rem; line-height: 1.45; color: var(--tx-1); background: rgba(255, 255, 255, .06); }
.oferta .oferta__creditos { margin-top: 12px; font-size: .8125rem; color: var(--tx-3); }
.lista { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.lista li { display: flex; gap: 10px; align-items: flex-start; color: var(--tx-1); }
.lista li::before {
  content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.7' fill='none' stroke='%23FF8A55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.rodape { margin: 20px 0 0; text-align: center; font-size: .875rem; color: var(--tx-3); }

/* ---------- Carregando, fases e acesso ---------- */
.giro { width: 40px; height: 40px; margin: 4px auto 22px; border-radius: 50%; border: 3px solid rgba(255, 106, 42, .2); border-top-color: var(--brand-1); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.centro { text-align: center; }
.fases { list-style: none; padding: 0; margin: 6px 0 0; }
.fases li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-1); color: var(--tx-3); }
.fases li:last-child { border-bottom: 0; }
.fases li.feita, .fases li.andamento { color: var(--tx-1); font-weight: 500; }
.icone { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.feita .icone { color: var(--ok); background: var(--ok-soft); box-shadow: none; }
.falha .icone { color: var(--err); background: var(--err-soft); box-shadow: none; }
.andamento .icone { background: none; box-shadow: none; border: 2.5px solid var(--brand-1); border-top-color: transparent; animation: girar .8s linear infinite; }
.acesso { margin: 4px 0 8px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.acesso dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; }
.acesso dt { color: var(--tx-3); font-size: .875rem; }
.acesso dd { margin: 0; color: var(--tx-1); font-weight: 500; word-break: break-all; }
.acesso .senha { font-family: var(--font-mono); }
.passos { padding-left: 22px; margin: 6px 0 0; color: var(--tx-2); }
.passos li { margin-bottom: 8px; }
.passos li::marker { color: var(--brand-hi); font-weight: 600; }
.aviso { margin: 8px 0 12px; padding: 12px 14px; border-radius: 12px; font-size: .875rem; line-height: 1.5; color: var(--tx-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.aviso b { color: var(--tx-1); font-weight: 600; }

/* ---------- Navegação (cadastro e área do cliente) ---------- */
.navegacao { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 0 0 24px; padding: 5px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.navegacao a { padding: 8px 16px; border-radius: var(--r-pill); text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--tx-2); }
.navegacao a:hover { color: var(--tx-1); background: rgba(255, 255, 255, .06); }
.navegacao a[aria-current="page"] { color: var(--tx-1); background: rgba(255, 106, 42, .16); box-shadow: inset 0 0 0 1px var(--line-brand); }

/* ---------- Botão flutuante de suporte (assets/suporte.js) ---------- */
.suporte-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border-radius: var(--r-pill);
  font: 600 .9375rem/1 var(--font-sans); color: var(--tx-1); text-decoration: none;
  background: rgba(24, 24, 28, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--line-brand), 0 14px 34px -12px rgba(0, 0, 0, .9), 0 0 26px -8px rgba(255, 106, 42, .45);
  transition: transform .2s var(--ease-soft), background .2s;
}
.suporte-flutuante svg { flex-shrink: 0; color: var(--brand-hi); }
.suporte-flutuante:hover { color: #fff; background: rgba(36, 30, 28, .96); transform: translateY(-2px); }
/* No celular o botão fica por cima do fim da página: sobra espaço para nada ficar escondido atrás dele. */
@media (max-width: 560px) {
  .suporte-flutuante { right: 16px; bottom: 16px; }
  body.com-suporte { padding-bottom: 92px; }
}

/* ---------- Senha com "olho" (área do cliente) ---------- */
.senha-campo { display: inline-flex; align-items: center; gap: 6px; }
.senha-valor { font-family: var(--font-mono); letter-spacing: .02em; }
.olho {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin: -6px 0; padding: 0; border: 0; border-radius: 10px;
  color: var(--tx-2); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer;
}
.olho:hover { color: var(--tx-1); background: rgba(255, 255, 255, .09); }
.olho[aria-pressed="true"] { color: var(--brand-hi); box-shadow: inset 0 0 0 1px var(--line-brand); }
.olho:disabled { opacity: .5; cursor: progress; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .giro, .andamento .icone { animation-duration: 2.4s; }
}
