/* Nexo: landing. Mesmos tokens e fontes do app. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #0f1b2d;
  --ink-2: #2a3a52;
  --ink-3: #5d6b80;
  --ink-4: #8a96a8;
  --paper: #f2f4f7;
  --sheet: #ffffff;
  --line: #dde2ea;
  --line-2: #e9edf3;
  --blue: #1f63f0;
  --blue-ink: #1448b8;
  --blue-wash: #e8efff;
  --amber: #ffb81c;
  --moss: #1e8f5a;
  --brick: #c8372d;
  --brick-wash: #fbe8e6;
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 18px;
  --font-ui: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
p {
  margin: 0;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
a {
  color: var(--blue-ink);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--ink-3);
}
.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--r-2);
}
.skip:focus {
  top: 12px;
}

/* botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--r-2);
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--blue-ink);
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
}
.btn--wide {
  width: 100%;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover {
  background: var(--blue-wash);
  box-shadow: inset 0 0 0 2px var(--blue);
}

/* topo */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: #fff;
}
.top__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.top__nav {
  display: flex;
  gap: 24px;
  margin-left: 12px;
}
.top__nav a {
  color: #c4cde0;
  text-decoration: none;
  font-weight: 500;
}
.top__nav a:hover {
  color: #fff;
}
.top__act {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.top__login {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.top__login:hover {
  text-decoration: underline;
}

/* hero */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 150px;
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 64px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero__lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 1.22rem;
  line-height: 1.5;
  color: #c4cde0;
}
.hero__list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}
.hero__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
}

/* cadastro */
.signup {
  background: var(--sheet);
  color: var(--ink);
  border-radius: var(--r-3);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.signup h2 {
  font-size: 1.75rem;
}
.signup__sub {
  margin: 6px 0 20px;
  color: var(--ink-3);
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 600;
  font-size: 0.95rem;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-2);
  background: #fff;
}
.field input:focus {
  border-color: var(--blue);
}
.field small {
  color: var(--ink-3);
  font-size: 0.85rem;
}
.field__pw {
  position: relative;
}
.field__pw input {
  padding-right: 88px;
}
.field__eye {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-1);
  background: transparent;
  color: var(--blue-ink);
  font-weight: 600;
  cursor: pointer;
}
.field__eye:hover {
  background: var(--blue-wash);
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px;
  font-size: 0.92rem;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.signup__foot {
  margin-top: 16px;
  text-align: center;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--r-2);
  font-size: 0.95rem;
}
.alert--bad {
  background: var(--brick-wash);
  color: #7d1f18;
}
.signup__done {
  display: grid;
  gap: 14px;
}
.signup__done:focus {
  outline: none;
}

/* captura de tela */
.shot {
  margin-top: -100px;
  position: relative;
}
.shot__main {
  margin: 0;
}
.shot__main img,
.flow__shot img,
.flow__video {
  display: block;
  width: 100%;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 30px 70px rgba(15, 27, 45, 0.28);
}
figcaption {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.88rem;
}
.shot__main figcaption {
  text-align: center;
}

/* fluxo */
.flow {
  padding: 110px 0 90px;
}
.flow__in {
  display: block;
}
.flow__lead {
  margin-top: 10px;
  color: var(--ink-2);
}
.flow h2,
.incl h2,
.plans h2,
.faq h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.025em;
}
.steps {
  margin-top: 40px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.step {
  position: relative;
  padding: 0 0 30px 40px;
}
.step:last-child {
  padding-bottom: 0;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--blue);
}
.step--done::before {
  background: var(--moss);
  border-color: var(--moss);
}
.step--now::before {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
}
.step h3 {
  font-size: 1.3rem;
}
.step p {
  margin-top: 6px;
  max-width: 48ch;
  color: var(--ink-2);
}
.flow__shot {
  margin: 0;
  position: sticky;
  top: 96px;
}

/* o que inclui */
.incl {
  padding: 20px 0 100px;
}
.incl__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin-top: 36px;
}
.incl__list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.incl__list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
}
.incl__list dd {
  color: var(--ink-2);
}
.incl__note {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* planos */
.plans {
  background: var(--sheet);
  padding: 90px 0 80px;
}
.plans__lead {
  margin-top: 12px;
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 1.1rem;
}
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-3);
  background: #fff;
}
.plan--main {
  border-color: var(--blue);
  box-shadow: 0 0 0 1.5px var(--blue);
}
.plan__flag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.plan h3 {
  font-size: 1.5rem;
}
.plan__price {
  margin-top: 14px;
}
.plan__price b {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.plan__price span {
  color: var(--ink-3);
}
.plan__users {
  margin-top: 4px;
  color: var(--ink-3);
}
.plan__list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.plan__list li {
  position: relative;
  padding-left: 26px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--moss);
  border-bottom: 2.5px solid var(--moss);
  transform: rotate(-45deg);
}
.plan__year {
  margin: auto 0 18px;
  padding-top: 8px;
  color: var(--ink-3);
  font-size: 0.95rem;
}
.plans__note {
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* perguntas */
.faq {
  padding: 90px 0;
}
.faq__in {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: start;
}
.faq__list details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq__list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq__list summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 10px;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--blue-ink);
}
.faq__list details[open] summary::after {
  content: "–";
}
.faq__list details p {
  padding: 0 40px 18px 0;
  color: var(--ink-2);
}

/* chamada final */
.final {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
}
.final__in {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}
.final p {
  color: #c4cde0;
  font-size: 1.15rem;
  margin-bottom: 10px;
}

/* rodapé */
.foot {
  background: #0a1422;
  color: #aab5c9;
  padding: 44px 0 28px;
  font-size: 0.95rem;
}
.foot__in {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 32px;
}
.foot__brand {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}
.foot__sub {
  margin-top: 4px;
}
.foot__links {
  display: grid;
  gap: 8px;
  align-content: start;
}
.foot a {
  color: #d3dbea;
}
.flow__video {
  height: auto;
  aspect-ratio: 1280 / 810;
  object-fit: cover;
}
.flow__video--mob {
  display: none;
}
.foot__contact {
  display: flex;
  gap: 12px;
  align-content: start;
  justify-content: flex-start;
}
.foot__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #1c2a40;
  color: #d3dbea;
  transition: background 0.15s, color 0.15s;
}
.foot__icon--mail {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 100, 255, 0.35);
}
.foot__icon--mail:hover,
.foot__icon--mail:focus-visible {
  background: #3b7bff;
  color: #fff;
}
.foot__icon:hover,
.foot__icon:focus-visible {
  background: #16243a;
  color: #fff;
}
.foot__copy {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #1c2a40;
  font-size: 0.88rem;
}

/* telas menores */
@media (max-width: 960px) {
  .top__nav {
    display: none;
  }
  .hero {
    padding: 40px 0 130px;
  }
  .hero__in,
  .flow__in,
  .faq__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .flow__shot {
    position: static;
    order: 2;
  }
  /* no celular e no tablet: título, depois o vídeo, depois as etapas */
  .flow__text {
    display: contents;
  }
  .flow__text h2 {
    order: 1;
  }
  .flow__text .steps {
    order: 3;
  }
  .flow__in {
    gap: 28px;
  }
  .plans__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
  .incl__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot__in {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: min(1160px, 100% - 32px);
  }
  .top__in {
    gap: 12px;
  }
  .top__act {
    gap: 12px;
  }
  .signup {
    padding: 22px 18px;
  }
  .shot {
    margin-top: -90px;
  }
  .incl__list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .flow {
    padding: 70px 0 60px;
  }
  .shot__main img {
    width: min(300px, 100%);
    margin-inline: auto;
  }
}

/* celular: mostra o vídeo vertical (só a tela do sistema) em vez do horizontal */
@media (max-width: 720px) {
  .flow__video--desk {
    display: none;
  }
  .flow__video--mob {
    display: block;
    width: min(320px, 100%);
    aspect-ratio: 1 / 2;
    margin-inline: auto;
    border-radius: 22px;
    object-fit: cover;
  }
  .flow__shot figcaption {
    text-align: center;
  }
}

.plan__new { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: #e3f4ea; color: #1d7a4a; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }

/* fluxo em colunas (o vídeo agora fica logo abaixo do topo) */
@media (min-width: 961px) {
  .flow .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
  .flow .steps::before { display: none; }
  .flow .step { padding: 0; }
  .flow .step::before { position: static; display: block; margin-bottom: 14px; }
  .flow .step p { max-width: none; }
}
.plan__list li.plan__off { color: var(--ink-3); }
.plan__list li.plan__off::before { border: 0; width: 10px; height: 2px; top: 0.7em; background: var(--ink-3); transform: none; opacity: 0.7; }
.plan__list { gap: 9px; font-size: 0.97rem; }
.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; }
.shot__video .flow__video { margin-inline: auto; max-width: 1100px; }

.compare { margin-top: 28px; border: 1.5px solid var(--line); border-radius: var(--r-3); background: #fff; }
.compare summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; float: right; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.compare[open] summary::after { content: "−"; }
.compare__wrap { overflow-x: auto; padding: 0 20px 18px; }
.compare__table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.compare__table th, .compare__table td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: center; }
.compare__table thead th { border-top: 0; font-weight: 700; }
.compare__table tbody th { text-align: left; font-weight: 400; }
.compare__table thead th:first-child { text-align: left; }
.compare__table td span { color: var(--moss); font-weight: 700; }
.compare__table td:has(span[aria-label="não incluído"]) span { color: var(--ink-3); font-weight: 400; }
