@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #07111f;
  --navy-800: #0a1a2f;
  --navy-700: #0f2440;
  --cyan: #3ec6f0;
  --cyan-bright: #5fd6ff;
  --blue: #2b7fd0;
  --text: #eaf2fb;
  --text-dim: #9fb3c9;
  --line: rgba(255, 255, 255, 0.1);
  /* tons escuros para o card claro que hospeda o form do Bitrix */
  --ink: #0c1c30;
  --ink-dim: #5b6b7f;
  --card-line: #e4ebf3;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, #12365e 0%, transparent 55%),
    radial-gradient(900px 500px at 0% 110%, #0b2748 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-900));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Orbs de fundo */
.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.orb-1 { width: 480px; height: 480px; background: var(--cyan); top: -120px; right: -80px; }
.orb-2 { width: 420px; height: 420px; background: var(--blue); bottom: -140px; left: -100px; }

/* Layout */
.shell {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 64px) 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Intro */
.logos { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.logo { height: 38px; width: auto; object-fit: contain; }
.logo-novaia { height: 46px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.grad {
  background: linear-gradient(100deg, var(--cyan-bright), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 480px;
}

.bullets { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
.bullets svg {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: var(--cyan); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  background: rgba(62, 198, 240, 0.12);
  border-radius: 50%; padding: 3px;
}

/* Faixa de chamada para a ação (gatilho + âncora para o form) */
.cta-strip { margin-top: 32px; }
.cta-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  color: #06121f;
  background: linear-gradient(100deg, var(--cyan-bright), var(--cyan) 55%, var(--blue));
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(62, 198, 240, 0.6);
  transition: transform 0.12s ease, filter 0.2s;
}
.cta-link:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cta-link:active { transform: translateY(0); }
.cta-arrow {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: #06121f; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.cta-urgency {
  margin-top: 14px;
  font-size: 13.5px; font-style: italic;
  color: var(--text-dim);
}

/* Card claro que hospeda o formulário do Bitrix24 */
.card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow:
    0 30px 70px -30px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(95, 214, 255, 0.18);
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(140deg, rgba(95, 214, 255, 0.7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.form-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.card-sub { margin-top: 8px; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }

/* Wrapper do embed Bitrix: reserva espaço (evita layout shift) e mostra o "carregando" */
.bitrix-wrap { position: relative; margin-top: 20px; min-height: 460px; }
.bitrix-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--ink-dim); font-size: 14px;
  pointer-events: none;
}
.bitrix-wrap.loaded .bitrix-loading { display: none; }
.spinner-dark {
  width: 30px; height: 30px;
  border: 3px solid rgba(43, 127, 208, 0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-reassure {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-size: 12.5px; color: var(--ink-dim);
}
.form-reassure svg {
  width: 16px; height: 16px; flex-shrink: 0;
  fill: none; stroke: var(--blue); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Footer */
.foot {
  position: relative; z-index: 1;
  text-align: center; padding: 22px;
  font-size: 13px; color: var(--text-dim);
  border-top: 1px solid var(--line);
}

/* Responsivo */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; gap: 36px; }
  /* No mobile, o formulário vem primeiro (em cima); a apresentação desce. */
  .card { order: -1; }
  .intro { text-align: center; order: 0; }
  .logos { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .bullets { justify-items: center; }
  .bullets li { justify-content: center; }
  .cta-link { width: 100%; justify-content: center; }
}
