/*
 * Landing page da Nortia — conceito "North Star".
 * Paleta da marca: navy #0B1B4D, ciano #00E5FF,
 * violeta #8A5BFF e branco.
 */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  color-scheme: dark;

  --bg: #050a22;
  --bg-2: #081236;
  --navy: #0b1b4d;
  --cyan: #00e5ff;
  --cyan-2: #5cefff;
  --violet: #8a5bff;
  --violet-2: #b49bff;
  --green: #3ee8a6;

  --text: #ffffff;
  --text-2: #c7d1f3;
  --text-3: #8d9acb;

  --line: rgb(128 146 255 / 0.22);
  --line-strong: rgb(128 146 255 / 0.38);
  --card: linear-gradient(180deg, rgb(24 40 116 / 0.5), rgb(10 18 66 / 0.58));
  --card-solid: #0c1650;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: 24px;

  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 90% -4%, rgb(138 91 255 / 0.34), transparent 70%),
    radial-gradient(ellipse 50% 32% at -6% 30%, rgb(0 110 255 / 0.16), transparent 70%),
    radial-gradient(ellipse 50% 30% at 105% 62%, rgb(138 91 255 / 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Céu estrelado atrás de tudo. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../brand/stars.svg");
  background-size: 640px 640px;
  opacity: 0.55;
  pointer-events: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan) 0%, #4fd4ff 40%, var(--violet-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.btn-primary {
  background: linear-gradient(180deg, #4ff1ff 0%, var(--cyan) 55%, #00c8e8 100%);
  color: #041238;
  box-shadow: 0 0 0 1px rgb(0 229 255 / 0.5), 0 8px 30px rgb(0 229 255 / 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgb(0 229 255 / 0.7), 0 10px 40px rgb(0 229 255 / 0.42);
}

.btn-ghost {
  border: 1.5px solid rgb(255 255 255 / 0.78);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  background: rgb(0 229 255 / 0.08);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgb(5 10 34 / 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: auto;
}

.brand-text {
  display: grid;
  gap: 5px;
}

.brand-wordmark {
  width: 116px;
  height: auto;
}

.brand-tagline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-tagline::before,
.brand-tagline::after {
  content: "";
  height: 1px;
  flex: 1;
  min-width: 8px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-login {
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.link-login:hover {
  color: var(--cyan);
}

.site-header.menu-open {
  background: rgb(5 10 34 / 0.97);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .icon-close,
.menu-open .menu-toggle .icon-open {
  display: none;
}

.menu-open .menu-toggle .icon-close {
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 210px;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 34rem;
  margin-top: 24px;
  color: var(--text-2);
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: var(--text-3);
  font-size: 0.88rem;
}

.hero-notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes .icon {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  stroke-width: 2.2;
}

/* Horizonte da Terra embaixo do hero (céu da imagem é transparente; horizonte a 42% da altura). */
.hero-earth {
  --w: max(100vw, 1100px);

  position: absolute;
  left: 50%;
  bottom: calc(150px - 0.58 * var(--w) * 1000 / 2880);
  z-index: -1;
  width: var(--w);
  aspect-ratio: 2880 / 1000;
  transform: translateX(-50%);
  background: url("../brand/earth-horizon.webp") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  pointer-events: none;
}

/* ---------- Tela ilustrativa da plataforma ---------- */

.showcase {
  position: relative;
  perspective: 1800px;
}

.mock {
  --mock-line: rgb(140 160 255 / 0.22);

  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgb(138 91 255 / 0.22), transparent 70%),
    linear-gradient(180deg, rgb(16 28 92 / 0.92), rgb(7 13 52 / 0.96));
  box-shadow:
    0 0 0 1px rgb(150 170 255 / 0.32),
    0 0 60px rgb(0 160 255 / 0.18),
    0 40px 80px rgb(1 4 24 / 0.6),
    inset 0 1px 0 rgb(255 255 255 / 0.1);
  transform: rotateY(-9deg) rotateX(5deg) rotateZ(0.6deg);
  transform-origin: 60% 50%;
  font-size: 12px;
  line-height: 1.35;
}

.mock::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgb(0 229 255 / 0.75), rgb(138 91 255 / 0.5) 45%, rgb(0 229 255 / 0.12) 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 0 6px rgb(0 229 255 / 0.9)) drop-shadow(0 0 18px rgb(0 229 255 / 0.6));
  pointer-events: none;
}

.showcase .sparkle {
  top: -26px;
  right: 2%;
  width: 54px;
  height: 54px;
}

.mock-side {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 20px 12px;
  border-right: 1px solid var(--mock-line);
}

.mock-logo {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.mock-logo img:first-child {
  width: 26px;
}

.mock-logo img:last-child {
  width: 68px;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 10.5px;
  white-space: nowrap;
}

.mock-nav .icon {
  width: 13px;
  height: 13px;
}

.mock-nav.is-active {
  background: linear-gradient(90deg, rgb(0 229 255 / 0.22), rgb(0 229 255 / 0.06));
  box-shadow: inset 0 0 0 1px rgb(0 229 255 / 0.45);
  color: #fff;
}

.mock-main {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 20px;
}

.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mock-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.mock-head span {
  color: var(--text-3);
  font-size: 10px;
}

.mock-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 5px 9px;
  border: 1px solid var(--mock-line);
  border-radius: 7px;
  color: var(--text-2) !important;
}

.mock-select .icon {
  width: 11px;
  height: 11px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mock-kpi {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--mock-line);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.03);
}

.mock-kpi .icon {
  width: 14px;
  height: 14px;
  margin-bottom: 4px;
  color: var(--cyan);
}

.mock-kpi:nth-child(2) .icon {
  color: var(--violet-2);
}

.mock-kpi span {
  color: var(--text-2);
  font-size: 10px;
}

.mock-kpi strong {
  font-family: var(--font-display);
  font-size: 15px;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mock-kpi em {
  color: var(--green);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
}

.mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 10px;
}

.mock-panel {
  padding: 12px 13px;
  border: 1px solid var(--mock-line);
  border-radius: 11px;
  background: rgb(255 255 255 / 0.03);
}

.mock-panel-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
}

.mock-chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid line {
  stroke: rgb(160 175 255 / 0.12);
  stroke-width: 1;
}

.chart-axis text {
  fill: var(--text-3);
  font-family: var(--font-body);
  font-size: 8.5px;
}

.chart-line {
  fill: none;
  stroke: url(#line-gradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 0;
}

.chart-dot {
  fill: #e9fbff;
  stroke: var(--cyan);
  stroke-width: 1.5;
}

.chart-end {
  fill: #fff;
  filter: drop-shadow(0 0 5px var(--cyan));
}

.mock-assistant {
  border-color: rgb(138 91 255 / 0.55);
  background: linear-gradient(180deg, rgb(138 91 255 / 0.14), rgb(0 229 255 / 0.04));
  box-shadow: 0 0 24px rgb(138 91 255 / 0.18);
}

.mock-assistant .mock-panel-title .icon {
  width: 13px;
  height: 13px;
  color: #fff;
}

.mock-question {
  margin: 2px 0 10px auto;
  width: fit-content;
  max-width: 92%;
  padding: 7px 10px;
  border: 1px solid rgb(138 91 255 / 0.55);
  border-radius: 9px 9px 2px 9px;
  background: rgb(138 91 255 / 0.22);
  font-size: 10px;
}

.mock-answer {
  display: grid;
  gap: 6px;
  color: var(--text-2);
  font-size: 10px;
}

.mock-answer li {
  display: flex;
  gap: 6px;
}

.mock-answer .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--green);
  stroke-width: 2.6;
}

/* Em telas largas a tela ilustrativa avança um pouco além da coluna, como no conceito. */
@media (min-width: 1320px) {
  .showcase {
    margin-right: -56px;
  }
}

/* ---------- Seções ---------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding-top: 24px;
}

.section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 40px;
  align-items: center;
  margin-bottom: 44px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.section-title::before {
  content: "";
  width: 40px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.section-lead {
  max-width: 34rem;
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: 1.02rem;
}

.section-head.is-stacked {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.section-head.is-stacked .section-lead {
  padding-left: 0;
  border-left: 0;
}

/* ---------- Cartões ---------- */

.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgb(2 6 30 / 0.4), inset 0 1px 0 rgb(255 255 255 / 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgb(0 229 255 / 0.42), 0 22px 60px rgb(2 6 30 / 0.5), 0 0 34px rgb(0 229 255 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.08);
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgb(0 229 255 / 0.6), rgb(138 91 255 / 0.45) 50%, rgb(0 229 255 / 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar {
  padding: 28px 26px 30px;
}

.pillar .icon {
  width: 30px;
  height: 30px;
  color: var(--cyan);
}

.pillar:nth-child(even) .icon {
  color: var(--violet-2);
}

.pillar h3 {
  margin-top: 18px;
  font-size: 1.22rem;
}

.pillar p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.feature {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-head .icon {
  color: var(--cyan);
}

.feature h3 {
  font-size: 1.04rem;
}

.feature p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.feature-visual {
  display: grid;
  place-items: center;
  height: 92px;
  margin-top: auto;
  padding-top: 18px;
}

.feature-visual > * {
  width: 100%;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(3 8 36 / 0.45);
}

.viz-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  padding: 12px 14px 10px;
}

.viz-bars span {
  width: 10px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, var(--cyan), rgb(0 140 255 / 0.65));
}

.viz-bars span:nth-child(3n + 2) {
  background: linear-gradient(180deg, var(--violet-2), rgb(110 75 234 / 0.7));
}

.viz-wave svg {
  width: 100%;
  height: 100%;
}

.viz-chat {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 10px 14px;
}

.viz-chat span {
  height: 20px;
  border-radius: 7px;
}

.viz-chat span:first-child {
  width: 62%;
  border: 1px solid rgb(0 229 255 / 0.35);
  background: rgb(0 229 255 / 0.12);
  background-image: radial-gradient(circle, var(--cyan) 2px, transparent 2.5px);
  background-size: 12px 20px;
  background-position: 6px 0;
  background-repeat: repeat-x;
  max-width: 64px;
}

.viz-chat span:last-child {
  justify-self: end;
  width: 66%;
  border: 1px solid rgb(138 91 255 / 0.4);
  background: rgb(138 91 255 / 0.25);
}

.viz-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.viz-alert .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: rgb(138 91 255 / 0.3);
  box-shadow: 0 0 18px rgb(138 91 255 / 0.5);
  color: #fff;
}

.viz-alert div {
  display: grid;
  flex: 1;
  gap: 7px;
}

.viz-alert i {
  height: 4px;
  border-radius: 4px;
  background: rgb(160 175 255 / 0.45);
}

.viz-alert i:last-child {
  width: 62%;
  background: rgb(160 175 255 / 0.25);
}

/* ---------- Especialistas ---------- */

.experts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.expert {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
}

.expert-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.expert-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(140deg, rgb(0 229 255 / 0.24), rgb(138 91 255 / 0.24));
  box-shadow: inset 0 0 0 1px rgb(0 229 255 / 0.4), 0 0 24px rgb(0 229 255 / 0.15);
  color: var(--cyan-2);
}

.expert-badge .icon {
  width: 26px;
  height: 26px;
}

.expert h3 {
  font-size: 1.3rem;
}

.expert-role {
  color: var(--text-3);
  font-size: 0.9rem;
}

.expert > p {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 0.96rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips li {
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.8rem;
}

.insight {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgb(0 229 255 / 0.28);
  border-radius: 12px;
  background: rgb(0 229 255 / 0.06);
  color: var(--text);
  font-size: 0.9rem;
}

.expert .chips {
  margin-bottom: 22px;
}

.expert .insight {
  margin-top: auto;
}

.insight .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--cyan);
}

/* Linha inteira abaixo dos especialistas: texto à
   esquerda, exemplos de pergunta à direita. */
.router-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-content: center;
  align-items: center;
  column-gap: 36px;
  row-gap: 14px;
  padding: 30px 32px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgb(138 91 255 / 0.3), transparent 70%),
    var(--card);
}

.router-card > .icon,
.router-card h3,
.router-card p {
  grid-column: 1;
}

.router-card .route-list {
  grid-column: 2;
  grid-row: 1 / span 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.router-card h3 {
  font-size: 1.25rem;
}

.router-card p {
  color: var(--text-2);
  font-size: 0.95rem;
}

.route-list {
  display: grid;
  gap: 10px;
}

.route-list li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(3 8 36 / 0.4);
  font-size: 0.86rem;
}

.route-list b {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-list li:nth-child(even) b {
  color: var(--violet-2);
}

/* ---------- Briefing da manhã ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.split h2 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.split-lead {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
}

.check-list b {
  color: var(--text);
  font-weight: 600;
}

.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgb(0 229 255 / 0.14);
  color: var(--cyan);
  stroke-width: 2.6;
}

.phone {
  position: relative;
  width: min(100%, 400px);
  margin-inline: auto;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, #0d1a57, #070f3a);
  box-shadow: 0 0 0 1px var(--line-strong), 0 30px 80px rgb(1 4 24 / 0.6), 0 0 60px rgb(138 91 255 / 0.18);
}

.phone .sparkle {
  top: -22px;
  left: -18px;
  width: 44px;
  height: 44px;
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--line);
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #1a2f86, #0a1446);
  box-shadow: inset 0 0 0 1px rgb(0 229 255 / 0.4);
}

.phone-avatar img {
  width: 18px;
}

.phone-bar strong {
  display: block;
  font-size: 0.92rem;
}

.phone-bar span {
  color: var(--text-3);
  font-size: 0.76rem;
}

.bubble {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 4px 16px 16px 16px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  font-size: 0.85rem;
  line-height: 1.5;
}

.bubble p + p,
.bubble p + ul,
.bubble ul + p {
  margin-top: 10px;
}

.bubble b {
  color: #fff;
}

.bubble .bubble-title {
  color: var(--cyan-2);
  font-family: var(--font-display);
  font-weight: 600;
}

.bubble ul {
  display: grid;
  gap: 4px;
  color: var(--text-2);
}

.bubble li::before {
  content: "• ";
  color: var(--cyan);
}

.bubble-time {
  display: block;
  margin-top: 8px;
  color: var(--text-3);
  font-size: 0.72rem;
  text-align: right;
}

/* ---------- Fontes de dados ---------- */

.sources {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.source {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 12px 22px;
  text-align: center;
}

.source .icon {
  width: 30px;
  height: 30px;
  color: var(--cyan);
}

.source:nth-child(even) .icon {
  color: var(--violet-2);
}

.source strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
}

.source span {
  color: var(--text-3);
  font-size: 0.8rem;
  line-height: 1.4;
}

.sync-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--text-2);
  font-size: 0.95rem;
  text-align: center;
}

.sync-note .icon {
  color: var(--cyan);
}

/* ---------- Como funciona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 76px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: none;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px rgb(138 91 255 / 0.55), 0 0 28px rgb(138 91 255 / 0.22), inset 0 1px 0 rgb(255 255 255 / 0.08);
  color: #fff;
}

.step-icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}

.step-icon::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -11px;
  right: -11px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgb(0 229 255 / 0.7);
  color: #041238;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  right: -62px;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.8;
}

.step h3 {
  margin-top: 4px;
  font-size: 1.2rem;
}

.step p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.94rem;
}

/* ---------- Segurança ---------- */

.trust {
  padding: 26px 24px;
}

.trust .icon {
  width: 28px;
  height: 28px;
  color: var(--cyan);
}

.trust h3 {
  margin-top: 16px;
  font-size: 1.08rem;
}

.trust p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.trust-highlight {
  grid-column: span 2;
  display: flex;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%, rgb(0 229 255 / 0.12), transparent 70%),
    var(--card);
}

.trust-highlight .icon {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 16px;
  background: rgb(0 229 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(0 229 255 / 0.4);
}

.trust-highlight h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* ---------- Assinatura ---------- */

.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  padding: 48px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgb(138 91 255 / 0.28), transparent 70%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgb(0 229 255 / 0.12), transparent 70%),
    var(--card);
}

.plan h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.plan-lead {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 1.04rem;
}

.plan-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 28px;
}

.plan-list li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.95rem;
}

.plan-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.4;
}

.plan-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 34px 30px;
  border-radius: 18px;
  background: rgb(3 8 36 / 0.55);
  box-shadow: inset 0 0 0 1px rgb(0 229 255 / 0.35), 0 0 40px rgb(0 229 255 / 0.1);
  text-align: center;
}

.plan-box .brand-mark {
  width: 44px;
  margin-inline: auto;
}

.plan-box h3 {
  font-size: 1.35rem;
}

.plan-box p {
  color: var(--text-2);
  font-size: 0.95rem;
}

.plan-box .btn {
  width: 100%;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.84rem;
}

.secure-note .icon {
  width: 15px;
  height: 15px;
}

/* ---------- Perguntas ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 0.2s ease;
}

.faq details[open] {
  box-shadow: 0 0 0 1px rgb(0 229 255 / 0.4), 0 0 30px rgb(0 229 255 / 0.06);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  transition: transform 0.25s ease;
}

.faq details[open] summary .icon {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 22px;
  color: var(--text-2);
}

/* ---------- Chamada final ---------- */

.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 32px;
  align-items: center;
  padding: 56px 56px 64px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, rgb(138 91 255 / 0.4), transparent 70%),
    linear-gradient(120deg, #0e1c62 0%, #0a1550 50%, #121a6b 100%);
  box-shadow: 0 0 0 1px rgb(138 91 255 / 0.55), 0 0 60px rgb(138 91 255 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.1);
  isolation: isolate;
}

.cta-earth {
  position: absolute;
  right: -14%;
  bottom: -52%;
  z-index: -1;
  width: 72%;
  aspect-ratio: 2880 / 1000;
  background: url("../brand/earth-horizon.webp") center / 100% 100% no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.cta .sparkle {
  top: 26px;
  right: 5%;
  width: 92px;
  height: 92px;
}

.cta .btn {
  margin-right: clamp(0px, 11vw, 150px);
}

.cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.cta p {
  max-width: 36rem;
  margin-top: 16px;
  color: var(--text-2);
  font-size: 1.06rem;
}

/* ---------- Rodapé ---------- */

.site-footer {
  padding: 64px 0 36px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-left: auto;
  color: var(--text-2);
  font-size: 0.92rem;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  color: var(--text-3);
  font-size: 0.84rem;
}

/* ---------- Animação de entrada ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.reveal-group > :nth-child(2) {
  transition-delay: 0.08s;
}

.reveal-group > :nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-group > :nth-child(4) {
  transition-delay: 0.24s;
}

.is-visible .chart-line {
  animation: draw 1.8s ease-out both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 420;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Telas menores ---------- */

@media (max-width: 1140px) {
  .site-nav a {
    padding: 8px 9px;
  }

  .expert {
    padding: 26px 22px;
  }

  .sources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: grid;
  }

  .experts {
    grid-template-columns: minmax(0, 1fr);
  }

  .router-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .router-card .route-list {
    grid-column: 1;
    grid-row: auto;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .menu-open .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 76px;
    padding-block: 16px 22px;
  }

  .menu-open .brand {
    height: 44px;
  }

  .menu-open .site-nav,
  .menu-open .header-actions {
    display: flex;
    flex-basis: 100%;
  }

  .menu-open .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 6px 0 0;
  }

  .menu-open .site-nav a {
    padding: 12px 8px;
    font-size: 1rem;
  }

  .menu-open .header-actions {
    gap: 12px;
  }

  .menu-open .header-actions > * {
    flex: 1;
    justify-content: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .menu-open .link-login {
    border: 1px solid var(--line-strong);
    border-radius: 10px;
  }

  .hero {
    padding: 128px 0 190px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .mock {
    transform: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    max-width: 560px;
  }

  .step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -34px;
    left: 39px;
    width: 1px;
    height: 34px;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  }

  .plan {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px;
  }

  .cta {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 36px 56px;
  }

  .cta .btn {
    justify-self: start;
    margin-right: 0;
  }

  .cta-earth {
    width: 120%;
    right: -30%;
    bottom: -30%;
    opacity: 0.55;
  }

  .cta .sparkle {
    right: 8%;
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding-top: 8px;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 32px;
  }

  .section-lead {
    padding-left: 0;
    border-left: 0;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .mock {
    grid-template-columns: minmax(0, 1fr);
  }

  .mock-side {
    display: none;
  }

  .mock-main {
    padding: 16px;
  }

  .mock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mock-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .showcase .sparkle {
    top: -22px;
    width: 42px;
    height: 42px;
  }

  .grid-4,
  .grid-3,
  .experts {
    grid-template-columns: minmax(0, 1fr);
  }

  .router-card,
  .trust-highlight {
    grid-column: auto;
  }

  .router-card .route-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .plan {
    padding: 26px 20px;
  }

  .plan-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-box {
    padding: 28px 20px;
  }

  .cta {
    padding: 36px 22px 48px;
  }

  .cta .btn {
    width: 100%;
  }

  .cta .sparkle {
    display: none;
  }

  .footer-nav {
    margin-left: 0;
  }
}
