/* ==========================================================================
   Evenport — componentes
   1rem = 10px de design da referência. O <head> ajusta a raiz para o hero
   (1482×986) caber inteiro dentro da "tela" fixa. Layout da experiência de
   scroll (parede, moldura, cenas, dock, painel) fica em experience.css.
   ========================================================================== */

:root {
  --ink: #0b0f19;
  --ink-2: #767c89;
  --text: #7b7c84;
  --eyebrow: #8b92a2;
  --nav: #5c6470;
  --dark: #2a2b2f;
  --page: #fdfcff;
  --wall-bg: #f1f2f4;
  --blue: #167ff6;
  --green: #2bb06c;
  --line: #e8e8ed;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --ui: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;

  /* parallax / scroll (atualizados pelo JS) */
  --mx: 0;
  --my: 0;
  --sp: 0;
}

/* Laços infinitos (spinner, cursor piscando, pulsos) leem --ep-play em animation-play-state.
   Quem os esconde grava --ep-play: paused com uma transição atrasada do tamanho do próprio fade:
   eles continuam iguais enquanto somem e param só quando já estão invisíveis. */
@property --ep-play {
  syntax: "running | paused";
  inherits: true;
  initial-value: running;
}

html {
  font-size: clamp(5.2px, min(calc(96.6vw / 148.2), calc((100vh - 3.4vw) / 98.6)), 13px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--wall-bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.6rem;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.sr-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.3s var(--ease);
}
.skip:focus {
  top: 16px;
}

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

/* ==========================================================================
   Logo — cinza em repouso; no hover a faixa azul escorre e brilha
   ========================================================================== */

.ep-logo {
  display: block;
  overflow: visible;
}
.ep-bars {
  fill: var(--ep-bars, #181818);
  transition: fill 0.5s var(--ease);
}
.ep-word {
  fill: var(--ep-word, #111);
}
.ep-strip {
  fill: var(--ep-strip, #b9b9b9);
}
.ep-strip-blue,
.ep-glow {
  fill: none;
  stroke-linecap: butt;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.ep-strip-blue {
  stroke: var(--blue);
  stroke-width: 14.6;
  transition: stroke-dashoffset 0.65s var(--ease-io);
}
.ep-glow {
  stroke: #2f8cff;
  stroke-width: 30;
  opacity: 0;
  transition: stroke-dashoffset 0.75s var(--ease-io), opacity 0.6s var(--ease);
}
a:hover > .ep-logo .ep-strip-blue,
a:focus-visible > .ep-logo .ep-strip-blue,
.ep-logo:hover .ep-strip-blue {
  stroke-dashoffset: 0;
}
a:hover > .ep-logo .ep-glow,
a:focus-visible > .ep-logo .ep-glow,
.ep-logo:hover .ep-glow {
  stroke-dashoffset: 0;
  opacity: 0.95;
  animation: ep-breathe 2.4s ease-in-out 0.8s infinite;
}
@keyframes ep-breathe {
  50% {
    opacity: 0.55;
  }
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.005em;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    transform 0.5s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.btn .i {
  transition: transform 0.5s var(--spring);
}
.btn:hover .i {
  transform: translateX(0.18em);
}
.btn:active {
  transform: scale(0.965);
  transition-duration: 0.12s;
}
.btn--dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 6px 16px -8px rgba(15, 20, 30, 0.45);
}
.btn--dark:hover {
  background: #141518;
}
.btn--glass {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7) inset, 0 8px 20px -12px rgba(30, 45, 80, 0.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.82);
}
.btn--light {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
  background: #f0f1f4;
  color: var(--ink);
}
.btn--light:hover {
  background: #e6e8ec;
}

.bg-mist {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0));
  filter: blur(1.2rem);
  pointer-events: none;
}
.bg-mist--a {
  left: 30rem;
  top: 50rem;
  width: 70rem;
  height: 22rem;
  animation: mist-a 26s ease-in-out infinite alternate;
}
.bg-mist--b {
  right: 34rem;
  top: 60rem;
  width: 64rem;
  height: 20rem;
  opacity: 0.8;
  animation: mist-b 31s ease-in-out infinite alternate;
}
@keyframes mist-a {
  to {
    transform: translate3d(9rem, -1.2rem, 0) scale(1.08);
  }
}
@keyframes mist-b {
  to {
    transform: translate3d(-10rem, 1rem, 0) scale(1.1);
  }
}

/* ---- navegação ------------------------------------------------------------ */

.nav {
  position: absolute;
  z-index: 5;
  top: 2.4rem;
  left: 6.6rem;
  right: 6.5rem;
  height: 4.3rem;
  display: flex;
  align-items: center;
}
.nav-logo {
  display: block;
  border-radius: 0.6rem;
}
.nav-logo-svg {
  width: 17.1rem;
  height: auto;
}
.nav-links {
  position: absolute;
  left: 35.9rem;
  display: flex;
  gap: 2.95rem;
}
.nav-links a {
  position: relative;
  font-size: 1.45rem;
  font-weight: 450;
  color: var(--nav);
  letter-spacing: -0.003em;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}
.nav-login {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  transition: opacity 0.3s;
}
.nav-login:hover {
  opacity: 0.6;
}
.btn--nav {
  height: 4.3rem;
  padding: 0 2.3rem 0 2.4rem;
  font-size: 1.45rem;
  font-weight: 500;
  gap: 1.1rem;
}
.btn--nav .i {
  width: 1.6rem;
  height: 1.6rem;
}

/* ---- texto do hero -------------------------------------------------------- */

.hero-copy {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: 11.1rem;
  text-align: center;
}
.eyebrow {
  margin: 0;
  padding-left: 0.34em;
  font-size: 1.15rem;
  line-height: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.33em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.headline {
  margin: 1.25rem 0 0;
  font-size: 5.2rem;
  line-height: 5rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.headline-1,
.headline-2 {
  display: block;
}
.headline-1 {
  color: var(--ink);
}
.headline-2 {
  color: var(--ink-2);
}
.lede {
  margin: 1.35rem auto 0;
  font-size: 1.7rem;
  line-height: 2.4rem;
  color: var(--text);
  letter-spacing: -0.003em;
}
.ctas {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 2.2rem;
}
.btn--hero {
  height: 4.2rem;
  padding: 0 2.25rem;
  font-size: 1.5rem;
  gap: 0.9rem;
}
.btn--hero .i {
  width: 1.6rem;
  height: 1.6rem;
}
.proof {
  display: flex;
  justify-content: center;
  gap: 1.85rem;
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1.33rem;
  line-height: 2.2rem;
  color: #85858d;
}
.proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.proof .i {
  width: 1.7rem;
  height: 1.7rem;
  color: #9d9ca3;
}

/* ---- notas laterais ------------------------------------------------------- */

.side-note {
  position: absolute;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.33em;
  text-transform: uppercase;
}
.side-note--left {
  left: 5.8rem;
  top: 38.5rem;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(40, 60, 90, 0.15);
}
.side-note--right {
  right: 5.25rem;
  top: 27.5rem;
  text-align: right;
  color: #a0a3ad;
}

/* ---- cards flutuantes ----------------------------------------------------- */

.fcard {
  position: absolute;
  pointer-events: auto;
  border-radius: 1.5rem;
  background: rgba(247, 249, 252, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset, 0 1px 2px rgba(20, 30, 60, 0.03),
    0 1.4rem 3.2rem -1.8rem rgba(30, 45, 80, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
}
.fcard:hover {
  background: rgba(252, 253, 255, 0.9);
}

/* gov.br / USCIS */
.fcard--gov {
  left: 5.8rem;
  top: 57rem;
  width: 23.2rem;
  height: 9.6rem;
}
.fcard--us {
  left: 5.8rem;
  top: 70rem;
  width: 22rem;
  height: 9.6rem;
}
.fcard-brand {
  position: absolute;
  left: 2.3rem;
  top: 1.55rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.govbr {
  display: inline-flex;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 2.2rem;
  letter-spacing: -0.06em;
}
.govbr b {
  font-weight: inherit;
}
.govbr .g1 {
  color: #2670e8;
}
.govbr .g2 {
  color: #f6bd16;
}
.govbr .g3 {
  color: #19a15f;
}
.govbr .g4 {
  color: #2670e8;
  margin: 0 -0.02em;
}
.govbr .g5 {
  color: #1f5cc4;
}
.fcard-brand--us {
  top: 2rem;
}
.fcard-brand--us svg {
  width: 2.7rem;
  height: 1.85rem;
  border-radius: 0.3rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.fcard-brand--us b {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #11151c;
}
.task {
  position: absolute;
  left: 2.3rem;
  right: 2.1rem;
  top: 4.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1.8rem;
  row-gap: 0.7rem;
  align-items: center;
}
.task-sub {
  grid-column: 1 / -1;
  font-size: 1.1rem;
  line-height: 1.4rem;
  color: #9b9da5;
  transition: color 0.4s;
}
.task-bar {
  position: relative;
  height: 0.3rem;
  border-radius: 1rem;
  background: #e3e6eb;
  overflow: hidden;
}
.task-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d86ee, #2f78e4);
  transition: width 1.4s var(--ease), background-color 0.4s;
}
.task-pct {
  min-width: 2.2rem;
  text-align: right;
  font-size: 1rem;
  line-height: 1.2rem;
  color: #a9acb6;
  font-variant-numeric: tabular-nums;
}
.task.is-complete .task-fill {
  background: var(--green);
}
.task.is-complete .task-sub {
  color: #3a9b69;
}

/* Documento gerado / Tempo economizado */
.fcard--doc,
.fcard--time {
  right: 5.8rem;
  height: 6.9rem;
  display: flex;
  align-items: center;
}
.fcard--doc {
  top: 55.4rem;
  width: 21.5rem;
  padding-left: 1.3rem;
}
.fcard--time {
  top: 65.8rem;
  width: 21.1rem;
  padding-left: 1.6rem;
}
.fcard-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(20, 30, 60, 0.06);
  color: #3b4250;
}
.fcard--time .fcard-tile {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.1rem;
  color: #20242c;
}
.fcard-tile .i {
  width: 2.05rem;
  height: 2.05rem;
}
.fcard--time .fcard-tile .i {
  width: 2.35rem;
  height: 2.35rem;
}
.fcard-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 0.6rem;
  min-width: 0;
}
.fcard--time .fcard-text {
  margin-left: 0.7rem;
}
.fcard-text strong {
  font-size: 1.15rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #11151c;
  white-space: nowrap;
}
.fcard-text span {
  font-size: 1.05rem;
  line-height: 1.4rem;
  color: #8a8e98;
  white-space: nowrap;
}
.fcard-badge {
  position: absolute;
  right: 2rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-top: -0.6rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  transition: background-color 0.4s var(--ease), transform 0.6s var(--spring);
}
.fcard-badge .i {
  width: 1.1rem;
  height: 1.1rem;
}
.fcard--doc.is-pending .fcard-badge {
  background: transparent;
  color: #6b7280;
  transform: scale(0.95);
}
.fcard--doc.is-pending .fcard-badge .spin {
  width: 1.6rem;
  height: 1.6rem;
}
.fcard--doc.is-saving {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.75) inset, 0 0 0 0.3rem rgba(43, 176, 108, 0.18),
    0 1.4rem 3.2rem -1.6rem rgba(30, 45, 80, 0.28);
}
.fcard--doc.is-saving .fcard-badge {
  animation: pop 0.6s var(--spring);
}
.fcard-chart {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-top: -1.4rem;
  border-radius: 50%;
  background: #edf2f8;
  color: #1c5ab6;
}
.fcard-chart .i {
  width: 2.1rem;
  height: 2.1rem;
}
.fcard--time.is-bump #time-saved {
  color: #1c5ab6;
  animation: bump 0.7s var(--spring);
}
@keyframes pop {
  0% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes bump {
  0% {
    transform: translateY(0.6rem);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

/* ---- monitor + navegador -------------------------------------------------- */

.device {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 0.6rem;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, #e4e8ee 0%, #d5dce6 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7) inset, 0 0 0 1px rgba(120, 135, 160, 0.18),
    0 3.6rem 6rem -2.6rem rgba(25, 38, 70, 0.42), 0 1.2rem 2.4rem -1.2rem rgba(25, 38, 70, 0.18);
  transform: rotateX(calc(var(--my) * -1.2deg)) rotateY(calc(var(--mx) * 1.6deg));
  transition: transform 0.2s linear;
}
.device-screen {
  height: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #f4f8fa;
  box-shadow: 0 0 0 1px rgba(90, 105, 130, 0.14);
}
.device-wrap::after {
  /* sombra sob o monitor, atrás do pé */
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 46.2rem;
  height: 2.6rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(120, 135, 160, 0.36), rgba(150, 165, 188, 0.22));
  filter: blur(0.25rem);
  z-index: 0;
}
.device-stand {
  position: absolute;
  z-index: 1;
  left: 39.2rem;
  top: 46.4rem;
  width: 8.1rem;
  height: 2.6rem;
  border-radius: 0 0 0.4rem 0.4rem;
  background: linear-gradient(180deg, #e4e9ef 0%, #eef2f6 55%, #e9eef3 100%);
  box-shadow: inset 0.1rem 0 0 rgba(255, 255, 255, 0.8), inset -0.1rem 0 0 rgba(255, 255, 255, 0.8),
    0 0 0 0.5rem rgba(233, 238, 244, 0.35);
}

.win {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--ui);
  color: #1d2230;
}
.win-tabs {
  position: relative;
  flex: none;
  height: 2.6rem;
  background: #dfe3ea;
}
.win-lights {
  position: absolute;
  left: 1.1rem;
  top: 0.7rem;
  display: flex;
  gap: 0.55rem;
}
.win-lights i {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
.win-lights i:nth-child(2) {
  background: #febc2e;
}
.win-lights i:nth-child(3) {
  background: #28c840;
}
.win-tab {
  position: absolute;
  left: 7.1rem;
  bottom: 0;
  width: 18.5rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.9rem 0 0.75rem;
  border-radius: 0.8rem 0.8rem 0 0;
  background: #f5f8fc;
  font-size: 0.9rem;
  color: #2c3140;
}
.win-tab > span {
  flex: 1;
  white-space: nowrap;
}
.win-tab-icon {
  width: 1.2rem;
  height: auto;
}
.win-tab .i {
  width: 0.9rem;
  height: 0.9rem;
  color: #4a4f5c;
}
.win-newtab {
  position: absolute;
  left: 26.2rem;
  top: 0.75rem;
  line-height: 0;
  color: #4a4f5c;
}
.win-newtab .i {
  width: 1.1rem;
  height: 1.1rem;
}
.win-bar {
  position: relative;
  flex: none;
  height: 3.2rem;
  background: #f5f8fb;
  border-bottom: 1px solid #e7ebf0;
}
.win-nav {
  position: absolute;
  left: 1.6rem;
  top: 0.95rem;
  display: flex;
  gap: 1.6rem;
  color: #3d4250;
}
.win-nav .i {
  width: 1.3rem;
  height: 1.3rem;
}
.win-nav .is-off {
  color: #b7bcc6;
  display: flex;
}
.win-url {
  position: absolute;
  left: 9.9rem;
  top: 0.6rem;
  width: 65.7rem;
  height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1rem 0 0.8rem;
  border-radius: 1rem;
  background: #e9eef6;
  font-size: 0.92rem;
  color: #757c86;
}
.win-url > span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.win-url .i {
  width: 0.9rem;
  height: 0.9rem;
  color: #6c727e;
}
.win-url .i:last-child {
  width: 1.15rem;
  height: 1.15rem;
  color: #4b5160;
}
.win-ext {
  position: absolute;
  left: 77.1rem;
  top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #4b5160;
}
.win-ext .i {
  width: 1.2rem;
  height: 1.2rem;
}
.win-avatar {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #f1d2bd 0 22%, transparent 23%),
    radial-gradient(circle at 50% 110%, #3f4a5c 0 45%, transparent 46%), linear-gradient(160deg, #8d6f5c, #4c3b33);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.win-body {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 17.1rem 42.4rem 1fr;
  min-height: 0;
  overflow: hidden;
}

/* sidebar gov.br */
.rf-side {
  background: #f3f5f9;
  border-right: 1px solid #e7ebf1;
}
.rf-brand {
  height: 3.8rem;
  display: flex;
  align-items: center;
  padding-left: 2.2rem;
  background: #102f5b;
}
.rf-brand .govbr {
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.07em;
}
.rf-brand .govbr b {
  color: #fff;
}
.rf-org {
  height: 5.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 2.1rem;
  font-size: 1.12rem;
  font-weight: 600;
  color: #1b2a4a;
  letter-spacing: -0.01em;
}
.rf-org svg {
  width: 3.8rem;
  height: 2.6rem;
}
.rf-menu {
  margin: 0;
  padding: 0 1rem;
  list-style: none;
}
.rf-menu li {
  height: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-left: 1.1rem;
  border-radius: 0.6rem;
  font-size: 1rem;
  color: #5f656c;
}
.rf-menu li + li {
  margin-top: 0.3rem;
}
.rf-menu .i {
  width: 1.25rem;
  height: 1.25rem;
  color: #3b4557;
}
.rf-menu li.is-open {
  background: #dee9fa;
  color: #34456e;
  font-weight: 500;
}
.rf-menu li.is-open .i {
  color: #2b5aa6;
}
.rf-menu--end {
  margin-top: 0.3rem;
}
.rf-subnav {
  position: relative;
  margin: 0.5rem 0 0;
  padding: 0 0.6rem 0 3.3rem;
  list-style: none;
}
.rf-subnav::before {
  content: "";
  position: absolute;
  left: 2.35rem;
  top: 0;
  bottom: 0.4rem;
  width: 1px;
  background: #dfe4ec;
}
.rf-subnav li {
  position: relative;
  height: 2.2rem;
  display: flex;
  align-items: center;
  padding-left: 1.3rem;
  white-space: nowrap;
  letter-spacing: -0.012em;
  font-size: 0.9rem;
  color: #6c717a;
  transition: color 0.4s var(--ease);
}
.rf-subnav li.is-current {
  color: #2b589e;
  font-weight: 600;
}
.rf-subnav-hl {
  position: absolute;
  left: 3.3rem;
  right: 1rem;
  top: 0.1rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #dfeafd;
  transition: transform 0.7s var(--ease);
}
.rf-subnav.nav-3 .rf-subnav-hl {
  transform: translateY(6.6rem);
}

/* conteúdo principal da página da Receita */
.rf-main {
  position: relative;
  padding: 1.1rem 1.3rem 0 1.9rem;
  background: #f9fbfc;
  font-size: 1rem;
}
.rf-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 0.2rem;
  width: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
}
.rf-main.is-loading .rf-progress {
  animation: loadbar 1.4s var(--ease) forwards;
}
@keyframes loadbar {
  0% {
    opacity: 1;
    transform: scaleX(0);
  }
  80% {
    opacity: 1;
    transform: scaleX(0.9);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}
.rf-crumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 1.2rem;
  font-size: 0.83rem;
  color: #87909e;
  white-space: nowrap;
}
.rf-crumbs i {
  font-style: normal;
  color: #a2a9b4;
}
.rf-crumbs b {
  font-weight: 500;
  color: #2d3340;
}
.rf-title {
  margin: 2.25rem 0 0;
  font-size: 1.17rem;
  line-height: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  white-space: nowrap;
  color: #0e1423;
}
.rf-desc {
  margin: 0.85rem 0 0;
  font-size: 0.93rem;
  line-height: 1.4rem;
  color: #757883;
}
.rf-label {
  display: block;
  margin-top: 2.1rem;
  font-size: 0.93rem;
  line-height: 1.2rem;
  color: #2d3340;
}
.rf-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.4rem;
  height: 2.8rem;
}
.rf-input {
  position: relative;
  width: 20.5rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border: 1px solid #dde3ea;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 1.05rem;
  color: #1d2230;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rf-input.is-focus {
  border-color: #7aa7ea;
  box-shadow: 0 0 0 0.25rem rgba(33, 107, 210, 0.14);
}
.rf-caret {
  display: none;
  width: 1px;
  height: 1.3rem;
  margin-left: 1px;
  background: #1d2230;
  animation: caret 1s steps(1) infinite;
  animation-play-state: var(--ep-play, running);
}
.rf-input.is-focus .rf-caret {
  display: block;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.rf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 0.5rem;
  font-family: var(--ui);
  font-weight: 600;
  pointer-events: none;
  transition: transform 0.3s var(--spring), background-color 0.3s;
}
.rf-btn .i,
.rf-btn .spin {
  width: 1.3rem;
  height: 1.3rem;
}
.rf-btn--primary {
  background: #216bd2;
  color: #fff;
}
.rf-consultar {
  width: 8.1rem;
  font-size: 1.05rem;
}
.rf-btn.is-pressed {
  animation: press 0.45s var(--ease);
}
@keyframes press {
  30% {
    transform: scale(0.94);
    background: #1a58b0;
  }
}

.rf-result {
  position: relative;
  margin-top: 1.4rem;
}
.rf-loading {
  position: absolute;
  left: 0;
  right: 1.3rem;
  top: 0;
  height: 5.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.6rem;
  border-radius: 0.8rem;
  background: #eef3fb;
  color: #2e5da8;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.rf-loading .spin {
  width: 1.4rem;
  height: 1.4rem;
}
.rf-result.is-loading .rf-loading {
  opacity: 1;
  transform: none;
}
/* escondido, o spinner para, mas só depois do fade de 0.4s */
.rf-result:not(.is-loading) .rf-loading {
  --ep-play: paused;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), --ep-play 0s linear 0.4s;
  transition-behavior: normal, normal, allow-discrete;
}
.rf-success,
.rf-details,
.rf-actions {
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s var(--ease);
}
.rf-result:not(.is-success) .rf-success,
.rf-result:not(.is-success) .rf-details,
.rf-result:not(.is-success) .rf-actions {
  opacity: 0;
  transform: translateY(0.8rem);
  filter: blur(3px);
  transition-duration: 0.3s;
  transition-delay: 0s;
}
.rf-result.is-success .rf-details {
  transition-delay: 0.12s;
}
.rf-result.is-success .rf-actions {
  transition-delay: 0.22s;
}
.rf-success {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 39.1rem;
  height: 5.2rem;
  padding: 0 1.4rem;
  border-radius: 0.8rem;
  background: #e3f4ec;
}
.rf-success-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: #2aa669;
  color: #fff;
}
.rf-success-icon .i {
  width: 1.1rem;
  height: 1.1rem;
}
.rf-success div strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #103827;
}
.rf-success div span {
  display: block;
  font-size: 0.85rem;
  line-height: 1.3rem;
  color: #6c7b7d;
}
.rf-details {
  width: 39.1rem;
  height: 9.6rem;
  margin: 1.1rem 0 0;
  padding: 0.85rem 1.5rem;
  border-radius: 0.8rem;
  background: #edf0f6;
}
.rf-details div {
  display: flex;
  gap: 0.35rem;
  height: 1.6rem;
  align-items: center;
  font-size: 0.97rem;
}
.rf-details dt {
  font-weight: 600;
  color: #50565f;
}
.rf-details dd {
  margin: 0;
  color: #6d737d;
}
.rf-details dd.ok {
  color: #2f8a5f;
  font-weight: 500;
}
.rf-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.6rem;
}
.rf-actions .rf-btn {
  height: 3.1rem;
  font-size: 1rem;
}
.rf-download {
  width: 15rem;
}
.rf-download.dl-loading {
  background: #3b7fdc;
}
.rf-download.dl-done {
  background: #23915b;
}
.rf-btn--ghost {
  width: 12rem;
  background: #fff;
  color: #2f5a93;
  box-shadow: inset 0 0 0 1px #c9d6ea;
}

/* painel do agente */
.rf-panel {
  position: relative;
  background: #eef2f7;
}
.agent {
  position: absolute;
  left: 1.1rem;
  right: 1rem;
  top: 0.1rem;
  bottom: 0.8rem;
  border-radius: 1.2rem;
  background: rgba(252, 253, 254, 0.92);
  box-shadow: 0 0 0 1px #e6eaf0, 0 0.4rem 1.2rem -0.6rem rgba(30, 45, 80, 0.14);
  font-family: var(--font);
}
.agent-head {
  position: absolute;
  left: 1.6rem;
  right: 1.8rem;
  top: 1.3rem;
  height: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-logo {
  display: block;
  border-radius: 0.3rem;
}
.agent-logo-svg {
  width: 8.7rem;
  height: auto;
}
.agent-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: #3a3f4b;
}
.agent-actions .i {
  width: 1.5rem;
  height: 1.5rem;
}
.agent-actions .i:last-child {
  width: 1.4rem;
  height: 1.4rem;
}
.agent-title {
  position: absolute;
  left: 1.4rem;
  top: 5.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.agent-title strong {
  font-size: 1.25rem;
  line-height: 1.6rem;
  font-weight: 600;
  color: #0a0e16;
  letter-spacing: -0.01em;
}
.agent-title span {
  font-size: 0.95rem;
  line-height: 1.3rem;
  color: #7b8089;
}
.steps {
  position: absolute;
  left: 1.45rem;
  right: 1.2rem;
  top: 9.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 1.3rem 1fr auto;
  column-gap: 1.25rem;
  height: 2.6rem;
  transition: height 0.6s var(--ease);
}
.step.is-active:has(.step-sub) {
  height: 4.2rem;
}
.step::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 2.05rem;
  bottom: -0.55rem;
  width: 1px;
  background: #e2e6ec;
  transition: background-color 0.6s var(--ease);
}
.step:last-child::before {
  display: none;
}
.step.is-done::before {
  background: #cfe9dc;
}
.step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.65rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #a9adb6;
  background: #fbfcfd;
  color: #fff;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--spring);
}
.step-dot .i {
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0;
  transform: scale(0.3);
  transition: transform 0.55s var(--spring), opacity 0.3s var(--ease);
}
.step.is-done .step-dot {
  background: #2eb370;
  box-shadow: inset 0 0 0 1.5px #2eb370;
}
.step.is-done .step-dot .i {
  opacity: 1;
  transform: none;
}
.step.is-active .step-dot {
  box-shadow: inset 0 0 0 2.4px #3053d1;
  background: #fff;
}
.step.is-active .step-dot::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border-radius: 50%;
  border: 1px solid rgba(48, 83, 209, 0.35);
  animation: ping 1.6s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.step-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.step-label {
  font-size: 0.95rem;
  line-height: 2.6rem;
  color: #6f7179;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.step.is-active .step-label {
  color: #1c1f28;
  font-weight: 500;
}
.step.is-pending .step-label {
  color: #7d7f87;
}
.step-sub {
  margin-top: -0.75rem;
  font-size: 0.88rem;
  line-height: 1.3rem;
  color: #7d808a;
  white-space: nowrap;
  animation: fadeup 0.5s var(--ease) both;
}
.step-time {
  font-size: 0.9rem;
  line-height: 2.6rem;
  color: #80838e;
  font-variant-numeric: tabular-nums;
}
@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(0.3rem);
  }
}
.agent-foot {
  position: absolute;
  left: 0.9rem;
  right: 0.8rem;
  bottom: 0.7rem;
  height: 5.7rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #f1f2ff 0%, #e6eafd 100%);
  box-shadow: inset 0 0 0 1px #e1e5fb;
  transition: background 0.6s var(--ease);
}
.agent-foot-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #3a38a8;
  box-shadow: 0 0 0 1px rgba(120, 118, 220, 0.12);
}
.agent-foot-icon .i {
  width: 2.2rem;
  height: 2.2rem;
}
.agent-foot:not(.is-done) .agent-foot-icon .i {
  animation: sparkle 2.4s var(--ease-io) infinite;
}
@keyframes sparkle {
  50% {
    transform: rotate(90deg) scale(0.86);
  }
}
.agent-foot-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agent-foot-text strong {
  font-size: 1.05rem;
  line-height: 1.4rem;
  font-weight: 600;
  color: #0a0c1f;
}
.agent-foot-text span {
  font-size: 0.9rem;
  line-height: 1.2rem;
  color: #9ea0c0;
}
.agent-foot.is-done {
  background: linear-gradient(135deg, #effaf4 0%, #e2f5ea 100%);
  box-shadow: inset 0 0 0 1px #d3eedf;
}
.agent-foot.is-done .agent-foot-icon {
  background: #2eb370;
  color: #fff;
  animation: pop 0.6s var(--spring);
}
.agent-foot.is-done .agent-foot-text span {
  color: #6e9a83;
}

/* cursor simulado */
.rf-cursor {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.8rem;
  margin: -0.12rem 0 0 -0.2rem;
  pointer-events: none;
  transform: translate(calc(var(--x) * 0.1rem), calc(var(--y) * 0.1rem));
  transition: transform 0.95s cubic-bezier(0.45, 0.05, 0.2, 1);
  filter: drop-shadow(0 0.2rem 0.3rem rgba(0, 0, 0, 0.22));
}
.cursor-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.rf-cursor-ripple {
  position: absolute;
  left: -0.8rem;
  top: -0.8rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(33, 107, 210, 0.28);
  opacity: 0;
  transform: scale(0.2);
}
.rf-cursor.is-click .cursor-svg {
  animation: click 0.42s var(--ease) 0.95s;
}
.rf-cursor.is-click .rf-cursor-ripple {
  animation: ripple 0.7s var(--ease) 1s;
}
@keyframes click {
  40% {
    transform: scale(0.82);
  }
}
@keyframes ripple {
  0% {
    opacity: 1;
    transform: scale(0.2);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* ---- rodapé do hero ---------------------------------------------------------- */

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 4.6rem;
  bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.2rem;
  color: #7c818b;
  transition: color 0.3s;
}
.scroll-cue:hover {
  color: var(--ink);
}
.scroll-cue-ball {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8) inset, 0 0.6rem 1.4rem -0.8rem rgba(30, 45, 80, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #2b2f38;
}
.scroll-cue-ball .i {
  width: 1.6rem;
  height: 1.6rem;
  animation: nudge 2.4s var(--ease-io) infinite;
}
@keyframes nudge {
  0%,
  60%,
  100% {
    transform: none;
  }
  30% {
    transform: translateY(0.35rem);
  }
}
.flow-note {
  position: absolute;
  right: 4.35rem;
  bottom: 4.4rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: #9da4b0;
}
.flow-note i {
  width: 3.4rem;
  height: 1px;
  background: #bcc4d0;
}

/* ==========================================================================
   Coreografia de entrada
   ========================================================================== */

.wallpaper {
  transform: scale(1.07);
  filter: blur(12px) saturate(0.9);
  transition: transform 2.6s var(--ease), filter 2.2s var(--ease);
}
[data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.3s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal="card"],
[data-reveal="dock"],
.ctas[data-reveal] {
  filter: none;
  transform: translateY(2.2rem) scale(0.96);
}
[data-reveal="device"] {
  filter: none;
  transform: translateY(9rem) rotateX(16deg) scale(0.94);
  transform-origin: 50% 100%;
  transition: opacity 1.1s var(--ease), transform 2s var(--ease);
  transition-delay: var(--d, 0ms);
}
.headline .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.32em);
  filter: blur(10px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0ms);
}

body.is-ready .wallpaper {
  transform: none;
  filter: none;
}
body.is-ready [data-reveal],
body.is-ready .headline .w {
  opacity: 1;
  transform: none;
  filter: none;
}
/* depois da entrada, libera as transições para os efeitos contínuos */
body.is-settled [data-reveal],
body.is-settled .headline .w {
  transition-delay: 0ms;
}
body.is-settled .wallpaper {
  transition: none;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(64px, 8vw, 120px);
}
.pillar {
  padding: 32px 30px 34px;
  border-radius: 28px;
  background: #f4f5f8;
  transition: transform 0.6s var(--spring), background-color 0.4s;
}
.pillar:hover {
  transform: translateY(-4px);
  background: #eff1f5;
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 30, 60, 0.06);
}
.pillar-icon .i {
  width: 24px;
  height: 24px;
}
.pillar h3 {
  margin: 28px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pillar p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #6e6e76;
}
[data-inview] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-inview].is-in {
  opacity: 1;
  transform: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #86868b;
}
.site-footer p {
  margin: 0;
}
.footer-logo-svg {
  width: 118px;
  height: auto;
}

/* ==========================================================================
   Sheet "Fale com um especialista" (carregada via HTMX)
   ========================================================================== */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  font-size: 15px;
}
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 34, 0.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  animation: fadein 0.45s var(--ease) both;
}
.sheet-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px 36px 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset, 0 50px 100px -30px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.06);
  animation: sheet-in 0.7s var(--spring) both;
}
.sheet.is-closing .sheet-backdrop {
  animation: fadeout 0.35s var(--ease) forwards;
}
.sheet.is-closing .sheet-panel {
  animation: sheet-out 0.35s var(--ease) forwards;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
}
@keyframes fadeout {
  to {
    opacity: 0;
  }
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
}
@keyframes sheet-out {
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
.sheet-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0f1f4;
  color: #4b5160;
  transition: background-color 0.3s, transform 0.4s var(--spring);
}
.sheet-close:hover {
  background: #e4e6ea;
  transform: rotate(90deg);
}
.sheet-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #f3f5f8;
}
.sheet-mark-svg {
  width: 30px;
  height: auto;
}
.sheet-head h2 {
  margin: 20px 0 8px;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.sheet-head p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
  color: #6e6e76;
}
.sheet-form {
  display: grid;
  gap: 14px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field > span {
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d9dbe1;
  border-radius: 13px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}
.field input {
  height: 48px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a1a4ad;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 127, 246, 0.14);
}
.field.has-error input {
  border-color: #e5484d;
}
.field em {
  font-style: normal;
  font-size: 12.5px;
  color: #d93036;
  animation: fadeup 0.4s var(--ease);
}
.btn--block {
  position: relative;
  width: 100%;
  height: 52px;
  margin-top: 6px;
  font-size: 16px;
}
.btn-spinner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.sheet-form.htmx-request .btn-label,
.sheet-form.htmx-request .btn--block > .i {
  opacity: 0;
}
.sheet-form.htmx-request .btn-spinner {
  opacity: 1;
}
.sheet-legal {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9a9ca4;
}
.sheet-done {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 8px 0 4px;
  animation: fadeup 0.5s var(--ease);
}
.sheet-done-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  animation: pop 0.7s var(--spring);
}
.sheet-done h3 {
  margin: 20px 0 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sheet-done p {
  margin: 0 0 22px;
  max-width: 340px;
  color: #6e6e76;
  line-height: 1.5;
}

.spin {
  animation: spin 0.9s linear infinite;
  animation-play-state: var(--ep-play, running);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

