/* Prompt-me | Landing page mobile-first; desktop a partir de 1024px. */

/* Fonte auto-hospedada (era carregada via Google Fonts, bloqueando o LCP). */
@font-face {
  font-family: "Lexend Zetta";
  src: url("../assets/fonts/LexendZetta-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Fallback com métricas ajustadas à Lexend Zetta (ascent/descent/line-gap/size
   calculados a partir da fonte real vs. Arial) para o texto não pular de
   tamanho quando a webfont troca o fallback — elimina o CLS da troca de fonte.
   Lexend Zetta: unitsPerEm 1000, ascent 1000, descent -250, lineGap 0, xAvgCharWidth 588. */
@font-face {
  font-family: "Lexend Zetta Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Arimo"), local("Helvetica");
  ascent-override: 75.06%;
  descent-override: 18.76%;
  line-gap-override: 0%;
  size-adjust: 133.23%;
}

:root {
  --c-bg: #000000;
  --c-text: #ffffff;
  --c-rule: #3333ff;
  --c-cta-from: #0c368b;
  --c-cta-to: #135ae1;
  --c-card-from: #012132;
  --c-card-to: #022641;
  --c-ok: #8ff0b5;
  --c-error: #ff9a9a;
  --c-muted: #9fb0c4;

  --font: "Lexend Zetta", "Lexend Zetta Fallback", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body { font-size: 23px; }
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; }

[hidden] { display: none !important; }

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 32px;
}

.bleed {
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .container,
  .bleed { max-width: 1440px; }

  .container { padding-inline: 120px; }
}

.bleed img { width: 100%; }

.section { padding-block: 40px; }

@media (min-width: 1024px) {
  .section { padding-block: 96px; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background-image: linear-gradient(90deg, var(--c-cta-from) 0%, var(--c-cta-to) 100%);
  color: var(--c-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}

@media (min-width: 1024px) {
  .btn {
    max-width: 775px;
    min-height: 65px;
    padding-block: 0;
    border-radius: 15px;
    font-size: 29px;
  }
}

.btn:hover { filter: brightness(1.18); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; filter: none; }

/* ---------- Seção 1 — Hero ---------- */
.hero { padding-top: 52px; }

@media (min-width: 1024px) {
  .hero { padding-top: 160px; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: 100%;
  max-width: 976px;
  aspect-ratio: 976 / 133;
  margin-inline: auto;
}

.hero__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px auto 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.55;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    gap: 20px;
    margin-top: 28px;
    font-size: 25px;
  }
}

.hero__dots {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  aspect-ratio: 63 / 54;
}

@media (min-width: 1024px) {
  .hero__dots { width: 63px; }
}

.hero__dot { position: absolute; aspect-ratio: 1; }
.hero__dot--sm { top: 0; left: 0; width: 30.2%; }
.hero__dot--lg { top: 16.7%; left: 28.6%; width: 71.4%; }

.hero__art { margin-top: -20px; }

@media (min-width: 1024px) {
  .hero__art { margin-top: -96px; }
}
.hero__image { width: 100%; aspect-ratio: 1200 / 840; }

/* ---------- Seção 2 — Intro + CTA ---------- */
.intro__text {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .intro__text {
    font-size: 23px;
    line-height: 2;
  }
}

.intro__cta { margin-top: 24px; text-align: center; }

@media (min-width: 1024px) {
  .intro__cta { margin-top: 48px; }
}

/* ---------- Seção 3 — Números ---------- */
@media (min-width: 1024px) {
  .stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-block: 28px;
}

.stat--top-right,
.stat--bottom-left,
.stat--bottom-right,
.stat--full { border-top: 2px solid var(--c-rule); }

@media (min-width: 1024px) {
  .stat {
    display: block;
    border-top: 0;
  }

  .stat--top-left {
    padding: 56px 56px 72px 0;
    border-bottom: 5px solid var(--c-rule);
  }

  .stat--top-right {
    padding: 56px 0 72px 48px;
    border-bottom: 5px solid var(--c-rule);
    border-left: 5px solid var(--c-rule);
  }

  .stat--bottom-left { padding: 56px 56px 72px 0; }

  .stat--bottom-right {
    padding: 56px 0 72px 48px;
    border-left: 5px solid var(--c-rule);
  }

  .stat--full {
    grid-column: 1 / -1;
    padding: 56px 0 72px;
    border-top: 5px solid var(--c-rule);
  }

  .stat__figure {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

.stat__prefix {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
  .stat__prefix {
    margin-bottom: 0;
    font-size: 23px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
}

.stat__value {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .stat__value {
    font-size: 148px;
    line-height: 0.75;
  }
}

.stat__value small { font-size: 22px; }

@media (min-width: 1024px) {
  .stat__value small { font-size: 67px; }
}

.stat__label {
  margin: 0;
  font-size: 10px;
  letter-spacing: -0.25px;
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .stat__label {
    margin-top: 20px;
    font-size: 23px;
    letter-spacing: -1.5px;
    line-height: 1.15;
  }
}

@media (min-width: 1280px) {
  .stat__label {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
}

.stat--center,
.stat--full { display: block; text-align: center; }

@media (min-width: 1024px) {
  .stat--center { text-align: left; }
  .stat--center .stat__figure,
  .stat--full .stat__figure { display: block; }
}

.stat--center .stat__value,
.stat--full .stat__value {
  letter-spacing: -0.12em;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .stat--center .stat__value,
  .stat--full .stat__value { line-height: 0.92; }
}

.stat--center .stat__value { font-size: 37px; }
.stat--full .stat__value { font-size: 29px; }

@media (min-width: 1024px) {
  .stat--center .stat__value,
  .stat--full .stat__value { font-size: 81px; }
}

.stat--center .stat__label,
.stat--full .stat__label { margin-top: 8px; }

@media (min-width: 1024px) {
  .stat--center .stat__label,
  .stat--full .stat__label { margin-top: 16px; }
}

/* ---------- Onda divisória ---------- */
.wave { margin-block: 12px 0; }

@media (min-width: 1024px) {
  .wave { margin-top: 32px; }
}
.wave__media {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 650;
  object-fit: cover;
  background: #000;
}

/* ---------- Seção 5 — Formulário ---------- */
.form-section {
  position: relative;
  padding-block: 0 40px;
}

.form-section .container {
  position: relative;
  z-index: 1;
  margin-top: -50px;
}

@media (min-width: 1024px) {
  .form-section { padding-bottom: 96px; }

  .form-section .container {
    margin-top: -150px;
    padding-inline: 52px;
  }
}

.form-box {
  padding: 28px 24px;
  border-radius: 14px;
  background-image: linear-gradient(to bottom right, rgb(0 32 45 / 50%) 0%, rgb(4 46 84 / 95%) 100%);
  scroll-margin-top: 16px;
}

@media (min-width: 1024px) {
  .form-box {
    padding: 104px 48px 54px;
    border-radius: 21px;
  }
}

.form-box__title {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.12em;
  line-height: 1.55;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .form-box__title {
    margin-bottom: 72px;
    font-size: 33px;
  }
}

.embed {
  position: relative;
}

.embed__frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color-scheme: normal;
}

.embed__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  border: 1px dashed var(--c-rule);
  border-radius: 10px;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 1024px) {
  .embed__placeholder {
    border-radius: 15px;
    font-size: 19px;
  }
}

.embed--ready .embed__placeholder { display: none; }

.form-box__simulate {
  display: block;
  margin: 16px auto 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--c-muted);
  font: inherit;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .form-box__simulate {
    margin-top: 24px;
    font-size: 16px;
  }
}

.form-box__privacy {
  margin: 20px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.12em;
}

@media (min-width: 1024px) {
  .form-box__privacy {
    margin-top: 32px;
    font-size: 19px;
  }
}

.form-box__privacy a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Estado de sucesso ---------- */
.success {
  padding-block: 12px;
  text-align: center;
}

@media (min-width: 1024px) {
  .success { padding-block: 24px; }
}

.success:focus { outline: none; }

.success__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .success__title {
    margin-bottom: 28px;
    font-size: 42px;
  }
}

.success__text {
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: -0.12em;
  line-height: 2;
}

@media (min-width: 1024px) {
  .success__text { font-size: 29px; }
}

.success__text:last-child { margin-bottom: 0; }

.success__text a { text-decoration: underline; text-underline-offset: 3px; }

.success__download { margin-top: 24px; }

@media (min-width: 1024px) {
  .success__download { margin-top: 40px; }
}

/* ---------- Seção 6 — Footer ---------- */
.footer { padding-block: 36px; }

@media (min-width: 1024px) {
  .footer { padding-block: 72px; }
}

.footer__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.06em;
}

@media (min-width: 1024px) {
  .footer__brands {
    gap: 40px;
    font-size: 28px;
  }
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer__brand:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 4px;
}

@media (min-width: 1024px) {
  .footer__brand { gap: 16px; }
}

.footer__logo--fbiz { width: 46px; aspect-ratio: 102 / 81; }
.footer__logo--otg { width: 24px; aspect-ratio: 47 / 48; }

@media (min-width: 1024px) {
  .footer__logo--fbiz { width: 102px; }
  .footer__logo--otg { width: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
