/* =========================================================
   URSO AI — Premium dark + purple
   Apple-style typography, spacing & motion
   ========================================================= */

:root {
  /* === página — paleta padrão (dark + violeta Urso) === */
  --black: #000000;
  --black-soft: #060608;
  --black-elev: #111113;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);

  --text: #f5f5f7;
  --text-2: #a1a1aa;
  --text-3: #71717a;

  /* marca */
  --p-50: #f5f0ff;
  --p-100: #ede4ff;
  --p-200: #c4b5fd;
  --p-300: #a685ff;
  --p-400: #8b5cf6;
  --p-500: #7f22fe;
  --p-600: #6d28d9;
  --p-700: #4c1d95;
  --magenta: #c600db;

  --grad: linear-gradient(135deg, #a685ff 0%, #7f22fe 45%, #c600db 100%);
  --grad-soft: linear-gradient(135deg, rgba(166, 133, 255, 0.18) 0%, rgba(127, 34, 254, 0.18) 100%);
  --glow: 0 0 60px rgba(127, 34, 254, 0.45);

  /* tipografia única sans + serif só para ênfases editoriais */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-sans);
  --font-accent: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* alinhamento / ritmo horizontal */
  --gutter-x: clamp(18px, 4.2vw, 28px);
  --container: min(1180px, 100%);
  --container-narrow: min(880px, 100%);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple: cubic-bezier(0.32, 0.72, 0, 1);

  /* faixas claras (contraste com o fundo escuro global) */
  --surface-light-0: #fafafa;
  --surface-light-1: #f4f4f5;
  --surface-light-2: #ececee;
  --text-on-light: #09090b;
  --text-on-light-muted: #52525b;
  --text-on-light-subtle: #71717a;
  --border-on-light: rgba(0, 0, 0, 0.07);
}

/* =========================================================
   RESET
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--text);
  line-height: 1.53;
  font-weight: 400;
  overflow-x: hidden;
  letter-spacing: -0.015em;
  text-align: left;
}

html.is-nav-open,
body.is-nav-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.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;
}

/* SEO / acessibilidade: aparece só no foco do teclado */
.skip-link {
  position: absolute;
  left: var(--gutter-x);
  top: -100px;
  z-index: 10000;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(135deg, var(--p-300), var(--p-500));
  box-shadow: 0 4px 20px rgba(127, 34, 254, 0.45);
  transition: top 0.2s var(--ease-smooth), opacity 0.2s;
  opacity: 0;
}

.skip-link:focus {
  top: clamp(14px, 2vw, 22px);
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--p-500);
  color: #fff;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter-x);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* Block intro aligned with section content (same .container width as grids) */
.section-intro {
  text-align: left;
  margin-bottom: clamp(44px, 5.5vw, 60px);
}

.section-intro .eyebrow {
  text-align: left;
}

.section-intro .big-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-intro .big-lede {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 38rem;
}

.gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-300);
  margin-bottom: 22px;
}

.eyebrow--center {
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.95s var(--ease-smooth), transform 0.95s var(--ease-smooth);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Apple-style title classes */
.big-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  text-wrap: balance;
}

.big-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-2);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
  text-wrap: balance;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease),
    box-shadow 0.4s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(127, 34, 254, 0.7);
}
.btn--primary:hover {
  box-shadow: 0 16px 40px -10px rgba(127, 34, 254, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: rgba(127, 34, 254, 0.15);
  border-color: rgba(127, 34, 254, 0.4);
  color: var(--p-200);
}

.btn--text {
  background: transparent;
  color: var(--p-300);
  padding: 13px 4px;
}
.btn--text:hover {
  color: var(--p-200);
  transform: translateY(-1px) translateX(2px);
}

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

/* CTA destacado tipo referência Octuz — pill claro no fundo escuro */
.btn--howto {
  background: linear-gradient(180deg, #fafafa 0%, #eaeaea 100%);
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 10px 32px -12px rgba(0, 0, 0, 0.5);
}

.btn--howto:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 16px 40px -12px rgba(127, 34, 254, 0.35);
  color: #0a0a0a;
}

.btn__sparkle {
  flex-shrink: 0;
  opacity: 0.92;
}

/* =========================================================
   NAVBAR — barra tipo Apple (vidro calmo + logo destacada + links SF)
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  /* Não animar backdrop-filter: transição lentifica o “glass” perceptível nos primeiros frames */
  transition:
    background 0.3s var(--ease-apple),
    border-color 0.3s var(--ease-apple);
}

.nav.is-scrolled {
  background: rgba(5, 5, 7, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.084);
}

.nav__inner {
  max-width: min(1024px, 100%);
  margin-inline: auto;
  padding-inline: max(var(--gutter-x), env(safe-area-inset-left, 0px))
    max(var(--gutter-x), env(safe-area-inset-right, 0px));
  padding-block: clamp(10px, 1.85vw, 15px);
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 28px);
  position: relative;
  z-index: 4;
  box-sizing: border-box;
}

.nav.is-scrolled .nav__inner {
  padding-block: clamp(8px, 1.45vw, 12px);
  min-height: 48px;
}

.nav.nav--menu-open .nav__inner {
  /* overlay já cobre com z-index maior; só evita elevação desnecessária da barra */
  z-index: 1;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  width: auto;
  height: clamp(32px, 3.5vw + 6px, 42px);
  max-width: min(210px, 54vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 10px rgba(127, 34, 254, 0.2));
  transition:
    transform 0.42s var(--ease-apple),
    filter 0.42s var(--ease-apple),
    height 0.4s var(--ease-apple),
    max-width 0.4s var(--ease-apple);
}

.nav.is-scrolled .nav__logo {
  height: clamp(26px, 2.85vw + 4px, 34px);
  max-width: min(172px, 50vw);
  filter: drop-shadow(0 1px 6px rgba(127, 34, 254, 0.14));
}

.nav__brand:hover .nav__logo {
  transform: scale(1.03);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.85vw, 34px);
}

.nav__links a {
  font-size: clamp(0.72rem, 0.62rem + 0.55vw, 0.803rem);
  color: rgba(245, 245, 247, 0.74);
  font-weight: 400;
  letter-spacing: -0.011em;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.32s var(--ease-apple);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.9;
  transition: transform 0.38s var(--ease-apple);
  pointer-events: none;
}

.nav__links a:hover {
  color: rgba(255, 255, 255, 0.98);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__links a:focus-visible {
  outline: 2px solid rgba(166, 133, 255, 0.55);
  outline-offset: 6px;
  border-radius: 6px;
  color: rgba(245, 245, 247, 0.98);
}

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

.nav__actions .btn--primary.btn--sm {
  padding: 7px 17px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.014em;
  border-radius: 980px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 1px 2px rgba(0, 0, 0, 0.22);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  margin-inline: -4px;
  position: relative;
  z-index: 5;
}

.nav__burger span {
  width: 21px;
  height: 1.5px;
  background: rgba(245, 245, 247, 0.95);
  border-radius: 1px;
  transition: transform 0.42s var(--ease-apple), opacity 0.32s var(--ease-apple),
    translate 0.42s var(--ease-apple);
}

.nav__burger.is-active span:nth-child(1) {
  translate: 0 6.5px;
  transform: rotate(45deg);
}
.nav__burger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-active span:nth-child(3) {
  translate: 0 -6.5px;
  transform: rotate(-45deg);
}

/* ——— Menu mobile — fullscreen glass (rápido, estilo Apple) ——— */
.nav__mobile {
  position: fixed;
  inset: 0;
  /* Irmão do header: stacking global; quando aberto, acima da .nav (z-index 1000) */
  z-index: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  display: grid;
  place-items: stretch;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  pointer-events: none;
  visibility: hidden;
  /* Sem fade no root: só visibility — vidro aparece já, não “sobe” com opacidade do container */
  opacity: 1;
  isolation: isolate;
  transition:
    visibility 0s linear 0.26s,
    z-index 0s linear 0.26s;
}

.nav__mobile.is-open {
  z-index: 1100;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s, 0s;
}

.nav__mobile-bg {
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 92% 64% at 50% -8%, rgba(127, 34, 254, 0.09), transparent 52%),
    rgba(8, 8, 11, 0.56);
  backdrop-filter: saturate(190%) blur(52px);
  -webkit-backdrop-filter: saturate(190%) blur(52px);
  transform: translateZ(0);
  backface-visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav__mobile.is-open .nav__mobile-bg {
  opacity: 1;
  transition-duration: 0.09s;
}

.nav__mobile:not(.is-open) .nav__mobile-bg {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}

.nav__mobile-wrap {
  grid-row: 1;
  grid-column: 1;
  z-index: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  align-self: stretch;
  min-height: 100%;
  height: 100%;
  pointer-events: none;
  padding: calc(env(safe-area-inset-top, 0px) + 12px)
    max(env(safe-area-inset-right, 0px), var(--gutter-x))
    max(env(safe-area-inset-bottom, 0px), 16px)
    max(env(safe-area-inset-left, 0px), var(--gutter-x));
  opacity: 0;
  translate: 0 -5px;
  scale: 0.992;
  transition:
    opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    translate 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    scale 0.34s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav__mobile-header,
.nav__mobile-panel {
  pointer-events: auto;
}

.nav__mobile.is-open .nav__mobile-wrap {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.nav__mobile-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 2px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__mobile-close {
  position: relative;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.068);
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  color: rgba(245, 245, 247, 0.98);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    background 0.22s var(--ease-apple),
    border-color 0.22s var(--ease-apple),
    transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);
}

.nav__mobile-close:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav__mobile-close:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(127, 34, 254, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.nav__mobile-close:active {
  transform: scale(0.94);
}

.nav__mobile-close-line {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 1.6px;
  margin: 0;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center center;
}

.nav__mobile-close-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav__mobile-close-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav__mobile-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: min(400px, 100%);
  margin-inline: auto;
  padding: clamp(24px, 5.5vh, 48px) 2px clamp(32px, 7vh, 62px);
  max-height: calc(100dvh - 114px - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav__mobile-links > a {
  position: relative;
  padding: 18px 0;
  padding-right: 34px;
  color: rgba(245, 245, 247, 0.96);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.45rem, 4.85vw, 1.92rem);
  letter-spacing: -0.026em;
  line-height: 1.07;
  display: flex;
  align-items: center;
  opacity: 0;
  translate: 0 8px;
  transition-property: opacity, translate, color;
  transition-duration: 0.36s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: 0ms;
}

.nav__mobile:not(.is-open) .nav__mobile-links > a {
  transition-delay: 0ms !important;
  transition-duration: 0.2s;
}

.nav__mobile.is-open .nav__mobile-links > a {
  opacity: 1;
  translate: 0 0;
}

.nav__mobile.is-open .nav__mobile-links > a:nth-child(1) { transition-delay: 0.012s; }
.nav__mobile.is-open .nav__mobile-links > a:nth-child(2) { transition-delay: 0.024s; }
.nav__mobile.is-open .nav__mobile-links > a:nth-child(3) { transition-delay: 0.036s; }
.nav__mobile.is-open .nav__mobile-links > a:nth-child(4) { transition-delay: 0.048s; }
.nav__mobile.is-open .nav__mobile-links > a:nth-child(5) { transition-delay: 0.06s; }

.nav__mobile-links > a::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.36;
  color: rgba(227, 220, 255, 0.88);
  transition: translate 0.28s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.26s var(--ease);
}

.nav__mobile-links > a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 22%,
    rgba(255, 255, 255, 0.088) 50%,
    rgba(255, 255, 255, 0.05) 78%,
    transparent 100%
  );
  opacity: 0.9;
}

.nav__mobile-links > a:last-of-type::before {
  opacity: 0;
}

.nav__mobile-links > a:active,
.nav__mobile-links > a:hover {
  color: #fff;
}

.nav__mobile-links > a:active::after,
.nav__mobile-links > a:hover::after {
  opacity: 0.72;
  translate: 4px -50%;
}

.nav__mobile-cta {
  margin-top: clamp(22px, 5vh, 34px);
  padding-top: 10px;
  opacity: 0;
  translate: 0 10px;
  transition-property: opacity, translate;
  transition-duration: 0.36s;
  transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: 0ms;
}

.nav__mobile:not(.is-open) .nav__mobile-cta {
  transition-duration: 0.2s;
  transition-delay: 0ms;
}

.nav__mobile.is-open .nav__mobile-cta {
  opacity: 1;
  translate: 0 0;
  transition-delay: 0.078s;
}

.nav__mobile-panel .nav__mobile-btn.btn {
  min-height: 50px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-radius: 980px;
}

.nav__mobile-panel .btn::before,
.nav__mobile-panel .btn::after {
  display: none;
}

@media (max-width: 920px) {
  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  /* Só × no topo; evita burger visível atrás/por baixo em alguns WebKit/Android */
  .nav.nav--menu-open .nav__burger {
    display: none;
  }

  /* Com menu aberto o overlay cobre a barra; logo sem glow extra quando visível atrás durante o fade */
  .nav.nav--menu-open .nav__logo {
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__mobile-links > a {
    opacity: 1;
    translate: none;
    transition-duration: 0.01ms;
  }

  .nav__mobile-cta {
    opacity: 1;
    translate: none;
    transition-duration: 0.01ms;
  }

  .nav__burger span {
    transition-duration: 0.01ms;
  }

  .nav__mobile,
  .nav__mobile-bg {
    transition-duration: 0.01ms !important;
  }

  .nav__mobile-wrap {
    scale: 1;
    translate: none;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   HERO — Apple-style oversize headline
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px var(--gutter-x) 88px;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  opacity: 0.38;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(127, 34, 254, 0.32) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 75%, var(--black) 100%);
}

.hero__aura {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.hero__aura--a {
  width: 720px;
  height: 720px;
  background: #6d28d9;
  top: -180px;
  left: -180px;
  opacity: 0.32;
  filter: blur(160px);
  animation: drift 18s var(--ease) infinite;
}

.hero__aura--b {
  width: 620px;
  height: 620px;
  background: #8b5cf6;
  bottom: -180px;
  right: -180px;
  opacity: 0.26;
  filter: blur(160px);
  animation: drift 22s var(--ease) infinite reverse;
}

.hero__aura--c {
  width: 420px;
  height: 420px;
  background: #4c1d95;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.16;
  filter: blur(160px);
  animation: drift 28s var(--ease) infinite;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(127, 34, 254, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 34, 254, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -50px) scale(1.1); }
}

.hero__inner {
  width: 100%;
  max-width: min(1040px, 94vw);
  text-align: center;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p-300);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #d4d4dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.04);
}

.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lede {
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.5;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}

.hero__scroll::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: var(--p-200);
  border-radius: 2px;
  animation: dropdot 1.8s var(--ease) infinite;
}

@keyframes dropdot {
  0% { opacity: 0; transform: translateX(-50%) translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* =========================================================
   POWERED BY
   ========================================================= */
.powered {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(127, 34, 254, 0.03);
}

.powered__title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 38px;
}

.powered__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px 64px;
}

.powered__logo {
  display: grid;
  place-items: center;
  height: 44px;
  opacity: 0.78;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.powered__logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.powered__logo:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
}

@media (max-width: 700px) {
  .powered__strip { gap: 28px 36px; }
  .powered__logo { height: 26px; }
  .powered__logo img { max-height: 26px; }
}

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  padding: 200px 0 120px;
  text-align: center;
}

.intro__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #e4e4ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro__lede {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto;
}

/* =========================================================
   FEATGRID — 6 cards logo após o hero (Octuz-style)
   ========================================================= */
.featgrid {
  position: relative;
  margin-top: -1px;
  padding: clamp(48px, 6.5vw, 88px) 0 clamp(64px, 8vw, 88px);
  background-color: var(--black);
  background-image:
    radial-gradient(
      ellipse 125% min(520px, 56vh) at 50% -6%,
      rgba(127, 34, 254, 0.09) 0%,
      transparent 58%
    ),
    linear-gradient(
      178deg,
      rgba(88, 74, 132, 0.07) 0%,
      rgba(8, 8, 11, 0.75) min(320px, 36vh),
      transparent min(480px, 50vh)
    );
}

/* Hairline + glow de continuidade (hero → ferramentas), estilo Apple */
.featgrid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, 92vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 18%,
    rgba(186, 164, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.05) 82%,
    transparent 100%
  );
  opacity: 0.85;
}

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

.featgrid__stack {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.featgrid__intro {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.featgrid__label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}

.featgrid__label--tight {
  margin-bottom: 10px;
}

.featgrid__headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.042em;
  line-height: 1.1;
  color: var(--text);
  max-width: min(18ch, 92vw);
  margin: 0;
}

.featgrid__headline .featgrid__accent,
.featgrid__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.08fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: center;
  padding: clamp(22px, 3.2vw, 40px);
  background: linear-gradient(165deg, #101012 0%, #0b0b0e 48%, #09090c 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 40px 100px -44px rgba(0, 0, 0, 0.9);
}

.workflow-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.2vw, 1.88rem);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--text);
}

.workflow-panel__title .featgrid__accent {
  white-space: nowrap;
}

.workflow-panel__lede {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 34rem;
}

.workflow-panel__lede strong {
  color: var(--text);
  font-weight: 600;
}

.workflow-panel__checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.workflow-panel__checks li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  padding: 0;
  font-size: 0.941rem;
  line-height: 1.52;
  color: rgba(228, 228, 237, 0.88);
  letter-spacing: -0.015em;
  transition: color 0.35s var(--ease-apple);
}

.workflow-panel__checks li:hover {
  color: rgba(245, 245, 247, 0.96);
}

.workflow-panel__check-icon {
  flex-shrink: 0;
  margin-top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.workflow-panel__check-icon svg {
  display: block;
  overflow: visible;
}

.workflow-panel__check-copy {
  flex: 1;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .workflow-panel__checks li {
    transition-duration: 0.01ms;
  }
}

.workflow-panel__media {
  position: relative;
}

.workflow-panel__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background-color: #070708;
  background-image: radial-gradient(circle at center, rgba(127, 34, 254, 0.08) 0%, transparent 55%),
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
}

.workflow-panel__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.workflow-panel__caption {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-3);
  text-align: center;
}

@media (max-width: 960px) {
  .featgrid__headline {
    max-width: none;
  }

  .workflow-panel {
    grid-template-columns: 1fr;
    padding: clamp(18px, 4vw, 28px);
  }

  .workflow-panel__copy {
    order: 1;
  }

  .workflow-panel__media {
    order: 2;
  }
}

.featgrid__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  --featgrid-thumb-max: 370px;
}

.featcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.06)), var(--black-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.featcard:hover {
  border-color: rgba(127, 34, 254, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 52px -30px rgba(127, 34, 254, 0.4);
}

.featcard__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: min(100%, var(--featgrid-thumb-max));
  margin-inline: auto;
  flex-shrink: 0;
  background: var(--black-elev);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.featcard__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.65s var(--ease);
}

/* Imagens Full HD — crop quadrado com foco no rosto (Y mais baixo ≠ altera proporção da caixa 1:1) */
.featcard--focus-face .featcard__media img {
  object-position: 50% 42%;
  transform-origin: 50% 40%;
}

.featcard:hover .featcard__media img {
  transform: scale(1.02);
}

.featcard--focus-face:hover .featcard__media img {
  transform: scale(1.03);
}

.featcard__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.featcard__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--text);
  margin: 0 0 11px;
}

.featcard__glyph {
  flex-shrink: 0;
  stroke: currentColor;
  color: var(--p-300);
}

.featcard__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.56;
  color: var(--text-2);
}

/* Antes / depois — mesmo quadrado das outras thumbnails */
.featcard__ba.ba-frame {
  position: relative;
  width: 100%;
  max-width: min(100%, var(--featgrid-thumb-max));
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.featcard__ba.ba-frame:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(166, 133, 255, 0.55);
}

.featcard__ba .ba-frame__viewport {
  top: 0;
}

.featcard__ba .ba-frame__label {
  top: 10px;
  font-size: 0.56rem;
  padding: 4px 8px;
}

.featcard__ba .ba-frame__label--before { left: 10px; }
.featcard__ba .ba-frame__label--after { right: 10px; }

/*
 * Influencers IA — 4 antes / 4 depois costumam ter proporções diferentes:
 * cover recorta cada uma de um jeito e o “depois” parece deslocado.
 * contain + fundo alinha as duas camadas ao comparar.
 */
.featcard--ba-influencer .ba-frame__viewport {
  background: linear-gradient(180deg, #16151a 0%, #0c0b10 52%, #08070c 100%);
}

.featcard--ba-influencer .ba-frame__after,
.featcard--ba-influencer .ba-frame__before-wrap .ba-frame__before {
  object-fit: contain;
  object-position: center center;
}

.featcard__ba .ba-frame__knob {
  width: 48px;
  height: 48px;
}

@media (max-width: 1024px) {
  .featgrid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 899px) {
  .featcard--focus-face .featcard__media img {
    object-position: 50% 38%;
  }
}

@media (max-width: 600px) {
  .featgrid {
    padding: clamp(32px, 9vw, 48px) 0 56px;
  }

  .featgrid__cards {
    grid-template-columns: 1fr;
  }

  .featcard__body {
    padding: 18px 18px 20px;
  }
}

/* =========================================================
   STORY — full-bleed alternating sections (Apple-style)
   ========================================================= */
.story {
  padding: 140px 0;
  position: relative;
}

.story__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter-x);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 1.22fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: center;
}

.story--reverse .story__inner {
  direction: rtl;
}

.story--reverse .story__inner > * {
  direction: ltr;
}

.story__copy {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 34rem;
  justify-self: start;
  align-self: center;
}

.story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--p-200);
  margin-bottom: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(127, 34, 254, 0.10);
  border: 1px solid rgba(127, 34, 254, 0.25);
  width: fit-content;
}

.story__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-300);
  box-shadow: 0 0 10px var(--p-300);
}

.story__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  color: var(--text);
}

.story__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--black-elev);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
  transition: transform 0.7s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
  padding-top: 28px;
  box-shadow:
    0 50px 100px -30px rgba(127, 34, 254, 0.45),
    0 30px 60px -20px rgba(0, 0, 0, 0.7);
  will-change: transform;
}

/* Window chrome — 3 macOS-style dots at top of every story frame */
.story__frame::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    14px 0 0 rgba(255, 255, 255, 0.18),
    28px 0 0 rgba(255, 255, 255, 0.18);
  z-index: 4;
  pointer-events: none;
}

.story__frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--grad);
  z-index: -1;
  filter: blur(40px);
  opacity: 0.35;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.story__frame:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 34, 254, 0.35);
}

.story__frame:hover::before {
  opacity: 0.65;
}

/* GIFs/imagem no story — só quando o asset é filho direto da moldura */
.story__frame:not(.ba-frame) > img {
  width: 100%;
  height: calc(100% - 28px);
  position: absolute;
  top: 28px;
  left: 0;
  object-fit: cover;
}

.story__inner > .story__frame {
  width: 100%;
  max-width: 720px;
  justify-self: end;
}

.story--reverse .story__inner > .story__frame {
  justify-self: start;
}

@media (max-width: 900px) {
  .story { padding: 60px 0; }
  .story__inner { grid-template-columns: 1fr; gap: 40px; }
  .story--reverse .story__inner { direction: ltr; }
  .story__copy { max-width: 100%; }
  .story__frame { aspect-ratio: 16 / 10; }
  .story__inner > .story__frame,
  .story--reverse .story__inner > .story__frame {
    justify-self: stretch;
    max-width: none;
  }
}

/* =========================================================
   BEFORE / AFTER SLIDER (within story frame)
   ========================================================= */
/* Slider usa o mesmo ::after que os “traffic lights”: escondemos o padrão e mostramos a dica só no foco. */
.story__frame.ba-frame:not(:focus-visible)::after {
  content: none;
  width: 0;
  height: 0;
  box-shadow: none;
}

.story__frame.ba-frame:focus-visible::after {
  content: "← →  para comparar";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 8;
}

.ba-frame__viewport {
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  bottom: 0;
  overflow: hidden;
}

.ba-frame {
  position: relative;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-frame__after,
.ba-frame__before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Largura do wrap é controlada via JS (%); imagem interior escala pra coincidir com o quadro */
.ba-frame__before-wrap {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}

.ba-frame__before-wrap .ba-frame__before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  max-width: none;
}

.ba-frame__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  margin-left: -2px;
  pointer-events: none;
  z-index: 5;
}

.ba-frame__line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.6) 0%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.6) 100%);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 36px rgba(127, 34, 254, 0.9);
}

.ba-frame__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a0f30, #0c0420);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 12px 40px rgba(127, 34, 254, 0.75),
    0 0 0 4px rgba(127, 34, 254, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  animation: ba-pulse 2.4s var(--ease) infinite;
}

.ba-frame__knob-icon {
  display: block;
  flex-shrink: 0;
}

@keyframes ba-pulse {
  0%, 100% {
    box-shadow:
      0 12px 40px rgba(127, 34, 254, 0.75),
      0 0 0 4px rgba(127, 34, 254, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow:
      0 12px 50px rgba(127, 34, 254, 0.95),
      0 0 0 10px rgba(127, 34, 254, 0.10),
      inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  }
}

.ba-frame:hover .ba-frame__knob,
.ba-frame.is-dragging .ba-frame__knob {
  animation: none;
}

.ba-frame:hover .ba-frame__knob {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 16px 50px rgba(127, 34, 254, 0.9),
    0 0 0 6px rgba(127, 34, 254, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.ba-frame.is-dragging .ba-frame__knob {
  transform: translate(-50%, -50%) scale(0.92);
}

.story__frame.ba-frame > .ba-frame__label {
  top: 46px;
}

.ba-frame__label {
  position: absolute;
  top: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 6;
}

.ba-frame__label--before { left: 18px; }
.ba-frame__label--after { right: 18px; }

/* =========================================================
   CATALOG (horizontal infinite rail)
   ========================================================= */
.catalog {
  padding: 160px 0 100px;
  overflow: hidden;
}

.catalog__rail {
  margin-top: 60px;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  overflow: hidden;
}

.catalog__row {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: rail 50s linear infinite;
  padding: 12px 0;
}

.catalog:hover .catalog__row {
  animation-play-state: paused;
}

@keyframes rail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cat-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.cat-card:hover {
  transform: translateY(-8px);
  border-color: var(--p-500);
  box-shadow: 0 30px 60px -20px rgba(127, 34, 254, 0.6);
}

.cat-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--black-elev);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.08);
}

.cat-card__body {
  padding: 18px 20px 22px;
}

.cat-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--p-300);
  font-weight: 600;
  margin-bottom: 8px;
}

.cat-card__body h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .cat-card { width: 230px; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(circle, rgba(127, 34, 254, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.gallery__grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-elev);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
  cursor: default;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 34, 254, 0.45);
  box-shadow: 0 30px 60px -22px rgba(127, 34, 254, 0.5);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

.gallery__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.gallery__cap {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-200);
  opacity: 0.92;
}

@media (max-width: 1100px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .gallery__item {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .gallery__item {
    aspect-ratio: 1 / 1.15;
  }
  .gallery__meta {
    padding: 16px 10px 10px;
    gap: 4px;
  }
  .gallery__title {
    font-size: 0.82rem;
  }
  .gallery__cap {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }
}

/* =========================================================
   FEATURES GRID (consolidated minor features)
   ========================================================= */
.features {
  padding: 160px 0 100px;
  position: relative;
}

.features__grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feat-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
  isolation: isolate;
}

.feat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    160% 100% at 50% 0%,
    rgba(127, 34, 254, 0.18) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 34, 254, 0.45);
  box-shadow: 0 30px 60px -20px rgba(127, 34, 254, 0.45);
}

.feat-card:hover::before {
  opacity: 1;
}

.feat-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black-elev);
  border-bottom: 1px solid var(--line);
  padding-top: 26px;
}

/* macOS-style window dots on each feat card */
.feat-card__media::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    12px 0 0 rgba(255, 255, 255, 0.18),
    24px 0 0 rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.feat-card__media img {
  position: absolute;
  top: 26px;
  left: 0;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.feat-card:hover .feat-card__media img {
  transform: scale(1.05);
}

.feat-card__body {
  padding: 30px 30px 32px;
}

.feat-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--p-300);
  font-weight: 700;
  margin-bottom: 12px;
}

.feat-card__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.feat-card__body p {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .features { padding: 100px 0 70px; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .feat-card__body { padding: 24px 22px 26px; }
}

/* =========================================================
   MODELS MARQUEE
   ========================================================= */
.models {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.models::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 50% 50%, rgba(127, 34, 254, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.models__track {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.models__row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.models__row--reverse {
  animation-direction: reverse;
  animation-duration: 75s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.pill {
  flex-shrink: 0;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.pill:hover {
  background: rgba(127, 34, 254, 0.14);
  border-color: var(--p-500);
  color: var(--p-200);
}

/* =========================================================
   SHOWCASE (about visual)
   ========================================================= */
.showcase {
  padding: 160px 0 100px;
}

.showcase__media {
  margin-top: 70px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--black-elev);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.8),
    0 0 80px -30px rgba(127, 34, 254, 0.35);
  position: relative;
}

.showcase__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(127, 34, 254, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.showcase__media img {
  width: 100%;
  display: block;
}

/* =========================================================
   MOCKUP
   ========================================================= */
.mockup {
  padding: 60px 0 160px;
}

.mockup__stage {
  position: relative;
  margin-inline: auto;
  max-width: 1100px;
  padding: 0 20px;
}

.mockup__stage::before {
  content: "";
  position: absolute;
  inset: 30px 30px -20px 30px;
  background: var(--grad);
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  border-radius: 50%;
}

.mockup__device {
  background: #0c0c10;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(127, 34, 254, 0.15);
}

.mockup__bar {
  background: #14141a;
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}

.mockup__bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mockup__bar span:nth-child(1) { background: var(--p-500); }
.mockup__bar span:nth-child(2) { background: var(--p-300); }
.mockup__bar span:nth-child(3) { background: var(--p-200); opacity: 0.7; }

.mockup__device img {
  width: 100%;
  display: block;
}

/* =========================================================
   USES
   ========================================================= */
.uses {
  padding: 160px 0;
}

.uses__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use {
  padding: 36px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.use::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.5s var(--ease);
}

.use:hover {
  background: var(--surface-hover);
  border-color: rgba(127, 34, 254, 0.4);
  transform: translateY(-4px);
}

.use:hover::after {
  width: 100%;
}

.use h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.use p {
  color: var(--text-2);
  line-height: 1.55;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .uses__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .uses__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TRUST
   ========================================================= */
.trust {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.trust::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(127, 34, 254, 0.18) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}

.trust__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 30px rgba(127, 34, 254, 0.35));
}

.trust__item p {
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing {
  padding: 160px 0;
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, #060608 100%);
}

.pricing__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.4s var(--ease), box-shadow 0.5s var(--ease);
}

.plan:hover {
  background: var(--surface-hover);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.plan--featured {
  background: linear-gradient(180deg, rgba(127, 34, 254, 0.18) 0%, rgba(127, 34, 254, 0.04) 100%);
  border-color: rgba(127, 34, 254, 0.6);
  box-shadow:
    0 40px 100px -30px rgba(127, 34, 254, 0.7),
    inset 0 0 0 1px rgba(166, 133, 255, 0.18);
  transform: scale(1.05);
  z-index: 2;
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(166, 133, 255, 0.6), rgba(127, 34, 254, 0.1) 50%, rgba(198, 0, 219, 0.6));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.plan--featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow:
    0 50px 110px -30px rgba(127, 34, 254, 0.85),
    inset 0 0 0 1px rgba(166, 133, 255, 0.28);
}

.plan__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.plan__tag {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.plan__price span {
  font-size: 1.05rem;
  color: var(--text-2);
  font-weight: 600;
}

.plan__price strong {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.plan__price small {
  font-size: 0.98rem;
  color: var(--text-2);
}

.plan__features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.plan__features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.5;
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--p-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing__note {
  text-align: left;
  color: var(--text-3);
  font-size: 0.88rem;
  margin-top: 38px;
}

@media (max-width: 1100px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
}
@media (max-width: 560px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   QUOTES MARQUEE (testimonials in 2 scrolling rows)
   ========================================================= */
.quotes {
  padding: 160px 0;
  overflow: hidden;
  position: relative;
}

.quotes::before {
  content: "";
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(127, 34, 254, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.quotes__marquee {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.quotes__row {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: q-scroll 70s linear infinite;
  padding: 4px 0;
}

.quotes__row--reverse {
  animation-direction: reverse;
  animation-duration: 85s;
}

.quotes:hover .quotes__row {
  animation-play-state: paused;
}

@keyframes q-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.qcard {
  flex-shrink: 0;
  width: 360px;
  padding: 28px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.qcard:hover {
  background: linear-gradient(180deg, rgba(127, 34, 254, 0.08) 0%, rgba(127, 34, 254, 0.02) 100%);
  border-color: rgba(127, 34, 254, 0.4);
  transform: translateY(-4px);
}

.qcard__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -8px rgba(127, 34, 254, 0.4);
}

.qcard p {
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 18px;
  color: var(--text);
  flex: 1;
}

.qcard footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qcard strong {
  font-weight: 600;
  font-size: 0.92rem;
}

.qcard span {
  font-size: 0.82rem;
  color: var(--text-3);
}

@media (max-width: 640px) {
  .qcard { width: 290px; padding: 22px 22px 20px; }
}

/* =========================================================
   WORKFLOW (full-bleed with video background)
   ========================================================= */
.workflow {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.workflow__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.workflow__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.workflow__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(127, 34, 254, 0.42) 0%, transparent 70%),
    linear-gradient(180deg, var(--black) 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.6) 70%, var(--black) 100%);
}

.workflow .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.workflow .big-title {
  margin-bottom: 28px;
  position: relative;
}

.workflow .big-lede {
  position: relative;
  max-width: 680px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding: 160px 0;
}

.faq .section-intro {
  margin-bottom: clamp(52px, 7vw, 72px);
}

.faq__list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.faq__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 12% -20%, rgba(127, 34, 254, 0.09) 0%, transparent 45%),
    rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 18px 48px -40px rgba(0, 0, 0, 0.7);
  transition:
    border-color 0.5s var(--ease-apple),
    background 0.5s var(--ease-apple),
    box-shadow 0.5s var(--ease-apple);
}

.faq__item:hover:not([open]) {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 140% at 12% -20%, rgba(127, 34, 254, 0.11) 0%, transparent 45%),
    rgba(255, 255, 255, 0.04);
}

.faq__item[open] {
  border-color: rgba(166, 133, 255, 0.42);
  background:
    radial-gradient(115% 120% at 88% -12%, rgba(127, 34, 254, 0.16) 0%, transparent 48%),
    rgba(127, 34, 254, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(127, 34, 254, 0.12),
    0 26px 64px -36px rgba(127, 34, 254, 0.28);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: clamp(21px, 3.2vw, 26px) clamp(21px, 3.8vw, 30px);
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  list-style: none;
  color: var(--text);
  user-select: none;
}

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

.faq__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition:
    transform 0.52s var(--ease-apple),
    color 0.45s var(--ease-apple),
    background 0.45s var(--ease-apple),
    border-color 0.45s var(--ease-apple),
    box-shadow 0.45s var(--ease-apple);
}

.faq__item summary:hover .faq__icon {
  color: rgba(237, 233, 255, 0.95);
  border-color: rgba(166, 133, 255, 0.35);
}

.faq__item[open] .faq__icon {
  transform: rotate(180deg);
  background: rgba(127, 34, 254, 0.15);
  border-color: rgba(166, 133, 255, 0.45);
  color: var(--p-200);
  box-shadow:
    0 0 0 1px rgba(127, 34, 254, 0.12),
    0 4px 20px rgba(127, 34, 254, 0.15);
}

.faq__icon svg {
  display: block;
}

/* FAQ: expansão por altura medida via JS (~ ritmo tipo Apple); fallback sem JS = toggle nativo */
.faq__body {
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.52s var(--ease-apple);
}

.faq:not(.faq--accordion-enhanced) .faq__item:not([open]) .faq__body {
  height: 0;
}

.faq:not(.faq--accordion-enhanced) .faq__item[open] .faq__body {
  height: auto;
}

.faq--accordion-enhanced .faq__item:not([open]) .faq__body {
  height: 0;
}

.faq__body-inner {
  min-height: 0;
  padding-inline: clamp(21px, 3.8vw, 30px);
  padding-bottom: 25px;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity 0.4s cubic-bezier(0.32, 0.72, 0, 1) 0.04s,
    transform 0.48s var(--ease-apple) 0.03s;
}

.faq__item[open] .faq__body-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.42s cubic-bezier(0.32, 0.72, 0, 1) 0.1s,
    transform 0.52s var(--ease-apple) 0.08s;
}

.faq__body-inner p {
  padding: 0;
  padding-top: 2px;
  margin: 0;
  max-width: 62ch;
  color: rgba(229, 231, 235, 0.78);
  line-height: 1.65;
  font-size: clamp(0.94rem, 1.06vw, 1rem);
}

@media (prefers-reduced-motion: reduce) {
  .faq__body {
    transition: none !important;
  }

  .faq__item:not([open]) .faq__body {
    height: 0;
  }

  .faq__item[open] .faq__body {
    height: auto;
  }

  .faq__item:not([open]) .faq__body-inner {
    opacity: 0;
    transform: none;
    transition: none !important;
  }

  .faq__item[open] .faq__body-inner {
    opacity: 1;
    transform: none;
    transition: none !important;
  }

  .faq__icon {
    transition: none !important;
  }
}

/* =========================================================
   CTA FINAL — painel 2 colunas (typo editorial + mídia)
   ========================================================= */
.cta {
  padding: 100px 0 112px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

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

.cta__panel {
  display: grid;
  gap: clamp(26px, 4.5vw, 48px);
  align-items: center;
  padding: clamp(24px, 3.8vw, 42px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 80% at 12% 20%, rgba(127, 34, 254, 0.1) 0%, transparent 50%),
    linear-gradient(150deg, #0f0f12 0%, #080809 52%, #050506 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 36px 100px -48px rgba(0, 0, 0, 0.88);
  grid-template-columns: 1fr;
  grid-template-areas:
    "media"
    "copy";
}

@media (min-width: 901px) {
  .cta__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "copy media";
    gap: clamp(32px, 5vw, 56px);
  }
}

.cta__copy-col {
  grid-area: copy;
  text-align: left;
  align-self: center;
}

@media (max-width: 900px) {
  .cta__copy-col {
    text-align: center;
  }
}

.cta__heading {
  margin: 0 0 clamp(20px, 3.5vw, 30px);
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.85vw, 2.42rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: var(--text);
  background: none;
  -webkit-text-fill-color: var(--text);
}

.cta__heading .featgrid__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 900px) {
  .cta__heading {
    margin-left: auto;
    margin-right: auto;
    max-width: 22ch;
  }
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .cta__actions {
    justify-content: center;
  }
}

.cta .btn--cta-join {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 12px 40px -14px rgba(127, 34, 254, 0.55),
    0 18px 48px -20px rgba(0, 0, 0, 0.75);
}

.cta__sub {
  margin: 0;
  max-width: 22rem;
  font-size: 0.93rem;
  line-height: 1.52;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .cta__sub {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.cta__figure {
  grid-area: media;
  margin: 0;
  width: min(100%, 440px);
  justify-self: center;
}

@media (min-width: 901px) {
  .cta__figure {
    justify-self: end;
  }
}

.cta__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at 55% 15%, rgba(166, 133, 255, 0.18) 0%, transparent 50%),
    #060607;
}

.cta__loop {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  padding: 90px 0 36px;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer__brand img {
  width: 56px;
  margin-bottom: 20px;
}

.footer__brand p {
  color: var(--text-2);
  max-width: 320px;
  line-height: 1.55;
  font-size: 0.95rem;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer__cols h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.footer__cols a {
  display: block;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 0.92rem;
}

.footer__cols a:hover {
  color: var(--p-200);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85rem;
}

@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr; gap: 50px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

.footer__contact {
  margin: 0;
}

.footer__contact a {
  color: var(--text-2);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--p-200);
}

.footer.footer--compact {
  padding: 48px 0 40px;
}

.footer--compact .footer__bottom--compact {
  border-top: none;
  padding-top: 0;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .footer--compact .footer__bottom--compact {
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
   LEGAL — termos / privacidade
   ========================================================= */
.legal {
  padding: clamp(100px, 14vw, 140px) 0 80px;
  border-bottom: 1px solid var(--line);
}

.legal__bar {
  max-width: var(--container);
  margin: 0 auto var(--gutter-x);
  padding: 0 var(--gutter-x);
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
}

.legal__back:hover {
  color: var(--p-200);
}

.legal__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter-x);
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.legal__updated {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

.legal__inner h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: -0.02em;
}

.legal__inner p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.legal__inner ul {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 16px 1.1rem;
  padding: 0;
}

.legal__inner li {
  margin-bottom: 8px;
}

.legal__inner a {
  color: var(--p-300);
  text-decoration: none;
}

.legal__inner a:hover {
  text-decoration: underline;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  background: rgba(127, 34, 254, 0.12);
  border: 1px solid rgba(127, 34, 254, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--p-200);
  text-transform: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p-300);
  box-shadow: 0 0 0 4px rgba(166, 133, 255, 0.18);
  animation: pulse-dot 2.2s var(--ease) infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(166, 133, 255, 0.18); }
  50%      { box-shadow: 0 0 0 9px rgba(166, 133, 255, 0.04); }
}

/* Floating device showcase */
.hero__showcase {
  position: relative;
  width: min(940px, 92%);
  margin: 56px auto 0;
  transform: perspective(1800px) rotateX(8deg);
  transform-origin: top center;
}

.hero__device {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #0c0612;
  border: 1px solid rgba(127, 34, 254, 0.35);
  box-shadow:
    0 50px 100px -30px rgba(127, 34, 254, 0.55),
    0 30px 60px -20px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.hero__device-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: rgba(8, 4, 16, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero__device-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero__device-dot:nth-child(1) { background: #ff5f57; opacity: 0.65; }
.hero__device-dot:nth-child(2) { background: #febc2e; opacity: 0.55; }
.hero__device-dot:nth-child(3) { background: #28c840; opacity: 0.55; }

.hero__device-url {
  margin-left: 18px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: -0.005em;
}

.hero__device-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--black-elev);
  overflow: hidden;
}

.hero__device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__device-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(60% 50% at 50% 60%, rgba(127, 34, 254, 0.45) 0%, transparent 70%);
  filter: blur(50px);
}

/* =========================================================
   BENTO
   ========================================================= */
.bento {
  padding: 160px 0 100px;
  position: relative;
}

.bento__grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.bento__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(127, 34, 254, 0.4) 60%, transparent 80%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
  pointer-events: none;
}

.bento__card:hover::before { opacity: 1; }

.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%,
    rgba(127, 34, 254, 0.16) 0%,
    transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.bento__card:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 34, 254, 0.45);
  box-shadow: 0 40px 80px -28px rgba(127, 34, 254, 0.55);
}

.bento__card:hover::after { opacity: 1; }

.bento__card--xl {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__card--tall {
  grid-row: span 2;
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__media {
  position: relative;
  overflow: hidden;
  background: var(--black-elev);
  border-bottom: 1px solid var(--line);
  flex: 1;
  min-height: 0;
}

.bento__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.bento__card:hover .bento__media img {
  transform: scale(1.06);
}

.bento__body {
  padding: 22px 22px 24px;
  position: relative;
  z-index: 2;
}

.bento__card--xl .bento__body { padding: 32px 32px 36px; }

.bento__tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--p-300);
  font-weight: 700;
  margin-bottom: 10px;
}

.bento__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--text);
}

.bento__card--xl .bento__body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin-bottom: 14px;
}

.bento__body p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.bento__card--xl .bento__body p {
  font-size: 1.05rem;
}

@media (max-width: 1024px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .bento__card--xl { grid-column: span 2; grid-row: span 2; }
  .bento__card--tall { grid-column: span 1; grid-row: span 2; }
  .bento__card--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .bento { padding: 90px 0 60px; }
  .bento__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(220px, auto);
    gap: 14px;
  }
  .bento__card--xl,
  .bento__card--tall,
  .bento__card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento__card--xl .bento__body { padding: 22px 22px 24px; }
}

/* =========================================================
   BEFORE/AFTER SHOWCASE (dedicated standalone section)
   ========================================================= */
.ba-showcase {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.ba-showcase::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(circle, rgba(127, 34, 254, 0.22) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.ba-showcase__stage {
  max-width: 1080px;
  margin: 70px auto 0;
  padding: 0 20px;
}

.ba-frame--showcase {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--black-elev);
  border: 1px solid var(--line);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  padding-top: 0;
  box-shadow:
    0 50px 100px -30px rgba(127, 34, 254, 0.55),
    0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

.ba-frame--showcase::after { content: none; }

.ba-frame--showcase .ba-frame__viewport {
  top: 0;
}

.ba-frame--showcase .ba-frame__after,
.ba-frame--showcase .ba-frame__before {
  top: 0;
  height: 100%;
}

.ba-frame--showcase .ba-frame__before-wrap {
  top: 0;
  height: 100%;
}

.ba-frame--showcase .ba-frame__handle {
  top: 0;
  bottom: 0;
}

.ba-frame--showcase .ba-frame__label {
  top: 22px;
  font-size: 0.78rem;
  padding: 7px 14px;
}

.ba-frame--showcase .ba-frame__label--before { left: 22px; }
.ba-frame--showcase .ba-frame__label--after { right: 22px; }

@media (max-width: 768px) {
  .ba-showcase { padding: 80px 0; }
  .ba-frame--showcase { aspect-ratio: 4 / 3; }
  .ba-frame--showcase .ba-frame__label {
    top: 14px;
    font-size: 0.65rem;
    padding: 5px 10px;
  }
  .ba-frame--showcase .ba-frame__label--before { left: 14px; }
  .ba-frame--showcase .ba-frame__label--after { right: 14px; }
}

/* =========================================================
   SECTION DIVIDERS (subtle gradient line between blocks)
   ========================================================= */
.intro,
.bento,
.ba-showcase,
.catalog,
.gallery,
.models,
.uses,
.pricing,
.simulador,
.quotes,
.faq,
.cta {
  position: relative;
}

.intro::before,
.bento::before,
.ba-showcase::before,
.catalog::before,
.gallery::before,
.models::before,
.uses::before,
.pricing::before,
.simulador::before,
.quotes::before,
.faq::before,
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 80%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(127, 34, 254, 0.35) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* These sections already have a ::before for backgrounds — exclude them */
.models::before,
.quotes::before,
.cta::before {
  content: none;
}

/* So add the divider as a separate top border via box-shadow on those */
.models,
.quotes,
.cta {
  box-shadow: inset 0 1px 0 0 transparent;
}

.models {
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--black), var(--black)),
    linear-gradient(90deg, transparent 0%, rgba(127, 34, 254, 0.35) 50%, transparent 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
}

/* =========================================================
   SCROLL PROGRESS (top of page)
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 16px rgba(127, 34, 254, 0.6);
  transition: width 0.1s linear;
}

/* =========================================================
   HERO — Rating + Stars + Stats strip
   ========================================================= */
.hero__rating {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.88rem;
  color: var(--text-2);
}

.hero__rating strong { color: var(--text); font-weight: 600; }

.hero__rating-text {
  min-width: 0;
  line-height: 1.32;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero__stars {
  display: inline-flex;
  gap: 1px;
  color: #d4c2ff;
  filter: drop-shadow(0 0 8px rgba(166, 133, 255, 0.55));
}

.hero__stats {
  list-style: none;
  flex-shrink: 0;
  margin-top: 44px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: min(820px, 96vw);
  margin-inline: auto;
  text-align: center;
  width: min(820px, 96vw);
}

.hero__stats li {
  position: relative;
  padding: 0 14px;
}

.hero__stats li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #fff 0%, var(--p-200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__stats span {
  font-size: 0.78rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

/* =========================================================
   QCARD — 5-star ratings (injected by JS)
   ========================================================= */
.qcard__stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #d4c2ff;
  filter: drop-shadow(0 0 6px rgba(166, 133, 255, 0.4));
}

.qcard__stars svg { width: 14px; height: 14px; fill: currentColor; }

/* =========================================================
   PRICING — Savings line + alternate ribbon
   ========================================================= */
.plan__save {
  font-size: 0.82rem;
  color: var(--p-200);
  margin-top: -16px;
  margin-bottom: 22px;
  padding: 6px 10px;
  background: rgba(127, 34, 254, 0.08);
  border: 1px solid rgba(127, 34, 254, 0.22);
  border-radius: 10px;
  text-align: center;
  letter-spacing: -0.005em;
}

.plan__save strong {
  color: var(--text);
  font-weight: 700;
}

.plan__ribbon--alt {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   POLISH — Focus rings + button shimmer + body fade-in
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--p-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.nav__brand:focus-visible,
.faq__item summary:focus-visible {
  outline: 2px solid var(--p-300);
  outline-offset: 3px;
}

.ba-frame:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(166, 133, 255, 0.55);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}

.btn--primary:hover::after {
  left: 140%;
}

/* Body fade-in on load (prevents flash of unstyled content) */
body {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

body.is-loaded {
  opacity: 1;
}

/* =========================================================
   GLOBAL RESPONSIVE — Tablet (1024px)
   ========================================================= */
@media (max-width: 1024px) {
  :root {
    --container: 100%;
    --gutter-x: clamp(17px, 3.4vw, 24px);
  }
  .intro { padding: 130px 0 90px; }
  .pricing,
  .models,
  .quotes,
  .faq,
  .catalog,
  .gallery,
  .simulador { padding: 110px 0; }
  .workflow { padding: 130px 0; }
  .cta { padding: 140px 0 110px; }
  .story { padding: 70px 0; }
  .trust { padding: 80px 0; }
}

/* =========================================================
   GLOBAL RESPONSIVE — Mobile (768px)
   ========================================================= */
@media (max-width: 768px) {

  :root {
    --gutter-x: clamp(17px, 3.9vw, 22px);
  }

  /* ---------- Spacing reductions ---------- */
  .intro { padding: 90px 0 60px; }
  .pricing,
  .quotes,
  .faq,
  .gallery,
  .simulador { padding: 80px 0; }
  .models,
  .catalog { padding: 80px 0 60px; }
  .workflow { padding: 100px 0; }
  .cta { padding: 100px 0 80px; }
  .story { padding: 50px 0; }
  .trust { padding: 70px 0; }
  .powered { padding: 50px 0; }

  /* ---------- Typography easing on small screens ---------- */
  .intro__title,
  .story__title,
  .cta__heading { letter-spacing: -0.035em; }

  /* ---------- Hero ---------- */
  .hero {
    padding: 110px var(--gutter-x) 70px;
    min-height: auto;
  }
  .hero__aura--a { width: 360px; height: 360px; top: -60px; left: -80px; filter: blur(100px); }
  .hero__aura--b { width: 340px; height: 340px; bottom: -80px; right: -90px; filter: blur(100px); }
  .hero__aura--c { width: 280px; height: 280px; filter: blur(100px); }
  .hero__grid { background-size: 40px 40px; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 0.82rem; }
  .hero__lede { margin-bottom: 28px; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; max-width: 320px; }
  .hero__scroll { display: none; }
  .hero__stats {
    margin-top: 44px;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 18px;
    text-align: center;
  }
  .hero__stats li + li::before { display: none; }
  .hero__stats li:nth-child(2n)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
    display: block;
  }

  /* ---------- Nav ---------- */
  .nav__inner {
    gap: 16px;
  }

  .nav__logo {
    height: clamp(28px, 4.2vw + 8px, 36px);
    max-width: min(168px, 58vw);
  }

  .nav.is-scrolled .nav__logo {
    height: clamp(24px, 3.75vw + 5px, 30px);
    max-width: min(142px, 56vw);
  }

  /* ---------- Story / Before-After slider ---------- */
  .story__frame { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .ba-frame__knob { width: 44px; height: 44px; }
  .ba-frame__label {
    font-size: 0.6rem;
    padding: 5px 10px;
    top: 12px;
    letter-spacing: 0.12em;
  }
  .ba-frame__label--before { left: 12px; }
  .ba-frame__label--after { right: 12px; }

  /* ---------- Pricing — featured plan can't scale or it overflows ---------- */
  .plan { padding: 30px 22px 26px; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
  .plan__price strong { font-size: 2.8rem; }

  /* ---------- Catalog cards on small phones ---------- */
  .cat-card { width: 220px; }
  .cat-card__body { padding: 14px 16px 18px; }

  /* ---------- Gallery ---------- */
  .gallery__item {
    aspect-ratio: 1 / 1.12;
  }

  /* ---------- Quotes marquee on mobile ---------- */
  .qcard { width: 260px; padding: 20px 20px 18px; }
  .qcard p { font-size: 0.92rem; line-height: 1.5; }

  /* ---------- Workflow — let title breathe ---------- */
  .workflow .big-lede { font-size: 1rem; }

  /* ---------- Use cases ---------- */
  .use { padding: 26px 22px; }

  /* ---------- FAQ ---------- */
  .faq__item summary { padding: 18px 20px; font-size: 0.98rem; gap: 14px; }
  .faq__body-inner {
    padding-inline: 20px;
    padding-bottom: 20px;
  }
  .faq__body-inner p { font-size: 0.95rem; }

  /* ---------- CTA ---------- */
  .cta__heading { font-size: clamp(1.42rem, 4.8vw, 1.72rem); }
  .cta__sub { font-size: 0.9rem; }

  /* ---------- Footer ---------- */
  .footer { padding: 70px 0 30px; }
  .footer__top { padding-bottom: 40px; }

  .footer.footer--compact {
    padding: 28px 0 32px;
  }
  .big-title { letter-spacing: -0.035em; }
}

/* =========================================================
   GLOBAL RESPONSIVE — Small phones (480px)
   ========================================================= */
@media (max-width: 480px) {
  :root {
    --gutter-x: clamp(15px, 4.2vw, 18px);
  }

  .hero { padding: 100px var(--gutter-x) 60px; }
  .hero__cta { flex-direction: column; width: 100%; align-items: stretch; }
  .hero__cta .btn { max-width: none; }

  .story__inner { gap: 30px; }
  .story__frame { aspect-ratio: 1 / 1; }

  /* Powered by — let logos stack nicely */
  .powered__strip { gap: 22px 32px; }
  .powered__logo { height: 22px; }
  .powered__logo img { max-height: 22px; }

  /* Gallery — proporção confortável em telas muito estreitas */
  .gallery__item {
    aspect-ratio: 1 / 1.18;
  }

  /* Marquee speed reduction so it doesn't feel chaotic */
  .quotes__row { animation-duration: 50s; }
  .quotes__row--reverse { animation-duration: 60s; }
  .catalog__row { animation-duration: 40s; }

  .hero__rating .hero__stars svg {
    width: 13px;
    height: 13px;
  }

  /* Footer cols become single */
  .footer__cols { grid-template-columns: 1fr; gap: 26px; }

  /* Pricing — single column safely */
  .plan { padding: 26px 20px; }
  .plan__price strong { font-size: 2.4rem; }
}

/* =========================================================
   LANDSCAPE PHONES (avoid hero crop)
   ========================================================= */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 90px var(--gutter-x) 60px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   SAMPLE STRIP — cinematic full-width image between sections
   ========================================================= */
.sample-strip {
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.sample-strip::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 360px;
  background: radial-gradient(ellipse, rgba(127, 34, 254, 0.16) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

.sample-strip__frame {
  position: relative;
  margin: 0 auto;
  max-width: 880px;
  aspect-ratio: 21 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-elev);
  border: 1px solid rgba(127, 34, 254, 0.18);
  box-shadow:
    0 40px 80px -30px rgba(127, 34, 254, 0.45),
    0 20px 50px -20px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.sample-strip__frame img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  display: block;
  transform: translateY(-7.5%);
  transition: transform 1.2s var(--ease-smooth);
  will-change: transform;
}

.sample-strip__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.55) 100%),
    radial-gradient(circle at 70% 30%, rgba(127, 34, 254, 0.20) 0%, transparent 50%);
  pointer-events: none;
}

.sample-strip__cap {
  position: absolute;
  bottom: 22px;
  left: 26px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  z-index: 2;
}

.sample-strip--alt::before {
  background: radial-gradient(ellipse, rgba(198, 0, 219, 0.18) 0%, transparent 65%);
}

.sample-strip--alt .sample-strip__frame {
  border-color: rgba(198, 0, 219, 0.18);
  box-shadow:
    0 60px 120px -30px rgba(198, 0, 219, 0.55),
    0 30px 70px -25px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
  .sample-strip { padding: 40px 0; }
  .sample-strip__frame { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .sample-strip { padding: 30px 0; }
  .sample-strip__frame { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .sample-strip__cap { font-size: 0.62rem; padding: 6px 10px; bottom: 12px; left: 14px; }
}

/* =========================================================
   STORY BULLETS (inside .story__copy)
   ========================================================= */
.story__bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story__bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.story__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #c4b5fd 0%, #7f22fe 70%);
  box-shadow: 0 0 12px rgba(127, 34, 254, 0.6);
}

/* =========================================================
   HOW IT WORKS — 3 passos + mídia (referência Octuz, tema Urso)
   ========================================================= */
.howto {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.howto::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(127, 34, 254, 0.14) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

.howto__intro {
  text-align: left;
}

.howto__eyebrow {
  text-align: left;
  margin-bottom: 20px;
}

.howto__heading {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--text);
  text-align: left;
  margin: 0;
}

.howto__heading em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

.howto__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.howto__step {
  position: relative;
  padding: 0;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #121212 0%, var(--black-soft) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.howto__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(166, 133, 255, 0.45) 50%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.howto__step:hover {
  border-color: rgba(127, 34, 254, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 32px 64px -32px rgba(127, 34, 254, 0.45);
}

.howto__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #06040a;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.howto__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s var(--ease);
}

.howto__step:hover .howto__media img {
  transform: scale(1.03);
}

.howto__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-2);
}

.howto__body {
  padding: 22px 22px 26px;
  flex: 1;
}

.howto__body h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--text);
}

.howto__body p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.58;
}

.howto__cta {
  margin-top: 48px;
  text-align: center;
}

@media (max-width: 900px) {
  .howto { padding: 90px 0; }

  .howto__intro {
    text-align: left;
  }

  .howto__grid {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .howto__cta {
    margin-top: 36px;
  }
}

/* =========================================================
   WORKFLOWS — bonus templates
   ========================================================= */
.workflows {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.workflows::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -200px;
  transform: translateY(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(198, 0, 219, 0.16) 0%, transparent 60%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

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

.workflows__intro {
  text-align: left;
}

.workflows .section-intro.workflows__intro {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.workflows__eyebrow {
  text-align: left;
  margin-bottom: 22px;
}

.workflows__title {
  text-align: left;
}

.workflows__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.workflows__title .gradient {
  -webkit-text-fill-color: transparent;
}

.workflows__lede {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 45rem;
}

/* Mais largo que o .section-intro .big-lede padrão (38rem): texto da seção Workflows */
section.workflows .section-intro.workflows__intro .big-lede.workflows__lede {
  max-width: min(45rem, 100%);
}

.workflows__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.wfcard {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--black-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.wfcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0.75;
  z-index: 2;
  pointer-events: none;
}

.wfcard:hover {
  border-color: rgba(127, 34, 254, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(127, 34, 254, 0.55);
}

.wfcard__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #09090f;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.wfcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
}

.wfcard:hover .wfcard__media img {
  transform: scale(1.03);
}

.wfcard__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.wfcard__tag {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.wfcard h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.55vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
}

.wfcard p {
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.58;
}

@media (max-width: 1120px) {
  .workflows__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .workflows { padding: 90px 0; }
}

@media (max-width: 600px) {
  .workflows__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .wfcard__body {
    padding: 20px 18px 22px;
  }

  .wfcard__media {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   COMPARE — pricing comparison
   ========================================================= */
.compare {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--black) 0%, #050308 100%);
}

.compare::after {
  content: "";
  position: absolute;
  top: 30%;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(127, 34, 254, 0.18) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

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

.compare__grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.comp-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.comp-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.comp-item__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  padding: 8px;
}

.comp-item__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.comp-item__info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
  color: var(--text);
}

.comp-item__info span {
  color: var(--text-2);
  font-size: 0.85rem;
}

.comp-item__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  white-space: nowrap;
}

.comp-item__price small {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
  margin-left: 2px;
}

.compare__total {
  margin-top: 50px;
  padding: 36px 38px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(127, 34, 254, 0.18) 0%, rgba(127, 34, 254, 0.04) 100%);
  border: 1px solid rgba(127, 34, 254, 0.4);
  text-align: left;
  box-shadow: 0 40px 100px -30px rgba(127, 34, 254, 0.4);
}

.compare__total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.compare__total-row:last-of-type { border-bottom: 0; }

.compare__total-row span {
  color: var(--text-2);
  font-weight: 500;
  font-size: 1.05rem;
}

.compare__total-row strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-3);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.compare__total-row--us strong {
  font-size: 3rem;
  color: var(--text);
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(127, 34, 254, 0.45));
}

.compare__total-row strong small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-3);
  -webkit-text-fill-color: var(--text-3);
}

.compare__note {
  margin-top: 20px;
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .compare { padding: 90px 0; }
  .compare__grid { grid-template-columns: 1fr; gap: 10px; }
  .comp-item { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 14px 16px; }
  .comp-item__logo { width: 44px; height: 44px; padding: 6px; }
  .comp-item__info h4 { font-size: 0.98rem; }
  .comp-item__info span { font-size: 0.78rem; }
  .comp-item__price { font-size: 1.08rem; }
  .compare__total { padding: 28px 24px; }
  .compare__total-row strong { font-size: 1.7rem; }
  .compare__total-row--us strong { font-size: 2.2rem; }
}

/* =========================================================
   APPLE-STYLE REFINEMENTS — hero, ritmo, UI (nav base em NAVBAR)
   ========================================================= */

.hero {
  width: 100%;
  margin: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  min-height: 100dvh;
  padding-top: clamp(108px, 12.5vh, 152px);
  padding-bottom: clamp(72px, 10vh, 116px);
  padding-left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
}

/* Vigneta inferior — funde hero com a faixa escura seguinte (sem “corte”) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(100px, 16vh, 200px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(2, 2, 5, 0.35) 45%,
    var(--black) 100%
  );
}

.hero__inner,
.hero__stats {
  position: relative;
  z-index: 1;
}

.hero__scroll {
  z-index: 2;
}

@media (max-width: 1023px) {
  .hero {
    min-height: min(100svh, 900px);
  }
}

@media (min-width: 1400px) {
  .hero {
    padding-top: clamp(116px, 11.5vh, 160px);
  }
}

.hero__overlay {
  background:
    radial-gradient(85% 45% at 50% -8%, rgba(255, 255, 255, 0.045) 0%, transparent 50%),
    radial-gradient(90% 52% at 50% -18%, rgba(99, 91, 165, 0.09) 0%, transparent 58%),
    radial-gradient(48% 36% at 88% 88%, rgba(127, 34, 254, 0.055) 0%, transparent 58%),
    linear-gradient(180deg, #000000 0%, #050506 52%, #020203 82%, #000000 100%);
}

.hero__aura--a {
  opacity: 0.12;
  filter: blur(120px);
}

.hero__aura--b {
  opacity: 0.1;
  filter: blur(120px);
}

.hero__aura--c {
  opacity: 0.07;
  filter: blur(100px);
}

.hero__aura--a,
.hero__aura--b,
.hero__aura--c {
  animation: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__aura--a,
  .hero__aura--b,
  .hero__aura--c {
    transition: opacity 1s var(--ease-apple), filter 1s var(--ease-apple);
  }

  .hero.hero--in-view .hero__aura--a {
    opacity: 0.2;
  }

  .hero.hero--in-view .hero__aura--b {
    opacity: 0.16;
  }

  .hero.hero--in-view .hero__aura--c {
    opacity: 0.11;
  }
}

.hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 44%, black 22%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 44%, black 22%, transparent 72%);
}

.hero__inner {
  flex: 0 0 auto;
  max-width: min(760px, 94vw);
}

@media (min-width: 900px) {
  .hero__inner {
    max-width: min(880px, 91vw);
  }
}

@media (min-width: 1200px) {
  .hero__inner {
    max-width: min(1040px, 90vw);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(22px, 3vw, 30px);
  padding: 7px 16px 7px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.074);
  border-radius: 999px;
  font-size: clamp(0.68rem, 0.72rem + 0.15vw, 0.75rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.52);
  backdrop-filter: saturate(150%) blur(22px);
  -webkit-backdrop-filter: saturate(150%) blur(22px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.hero__eyebrow-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e9e4ff 0%, var(--p-400) 100%);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(139, 92, 246, 0.35);
}

.hero__title {
  font-weight: 600;
  font-size: clamp(2.55rem, 5.85vw + 0.85rem, 5.125rem);
  line-height: 0.965;
  letter-spacing: -0.042em;
  margin-bottom: clamp(20px, 3vw, 30px);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
  text-shadow: none;
  font-feature-settings:
    "ss01" 1,
    "cv02" 1;
  text-wrap: balance;
}

@media (min-width: 1320px) {
  .hero__title {
    font-size: clamp(3.05rem, 4.05vw + 1.05rem, 5.375rem);
    letter-spacing: -0.046em;
  }
}

.hero__title em {
  font-style: normal;
}

.hero__title-line {
  display: block;
}

.hero__title-line:last-child {
  margin-top: clamp(4px, 0.85vw, 10px);
}

.hero__title-accent {
  background: linear-gradient(
    118deg,
    #f8f6ff 0%,
    #ddd6fe 26%,
    #a78bfa 54%,
    #a855f7 72%,
    #d946ef 92%
  );
  background-size: 140% auto;
  background-position: 12% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title-accent {
    animation: heroAccentSheen 22s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  }
}

@keyframes heroAccentSheen {
  0% {
    background-position: 8% 50%;
    filter: saturate(1) brightness(1);
  }
  100% {
    background-position: 92% 50%;
    filter: saturate(1.04) brightness(1.03);
  }
}

.hero__lede {
  font-size: clamp(1rem, 0.92rem + 0.42vw, 1.1875rem);
  line-height: 1.58;
  font-weight: 400;
  color: rgba(214, 214, 220, 0.72);
  max-width: min(34em, 92vw);
  margin-bottom: clamp(28px, 4vw, 38px);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

@media (min-width: 1200px) {
  .hero__lede {
    max-width: min(36em, 88vw);
  }
}

.hero__cta {
  gap: clamp(8px, 1.65vw, 16px);
  align-items: center;
  justify-content: center;
}

.hero__cta .btn--primary {
  border-radius: 980px;
  padding: 14px clamp(26px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.024em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 1px 2px rgba(0, 0, 0, 0.32),
    0 22px 50px -28px rgba(127, 34, 254, 0.52);
}

.hero__cta .btn--text {
  position: relative;
  font-weight: 500;
  color: rgba(214, 211, 255, 0.78);
  padding: 14px 12px 14px 8px;
  letter-spacing: -0.012em;
  gap: 5px;
  transition:
    color 0.42s var(--ease-apple),
    translate 0.42s var(--ease-apple);
}

.hero__cta .btn--text:hover {
  color: rgba(244, 244, 246, 0.95);
  translate: 2px 0;
}

.hero__cta .btn--text::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-start: 5px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(-45deg) translateY(-0.25px);
  opacity: 0.78;
}

/* Entrada escalonada (ritmo próximo aos heros da Apple) */
.hero__inner > [data-reveal]:nth-child(1) {
  transition-delay: 0.04s;
}
.hero__inner > [data-reveal]:nth-child(2) {
  transition-delay: 0.12s;
}
.hero__inner > [data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}
.hero__inner > [data-reveal]:nth-child(4) {
  transition-delay: 0.28s;
}
.hero__inner > [data-reveal]:nth-child(5) {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner > [data-reveal] {
    transition-delay: 0ms !important;
  }

  .hero__title-accent {
    animation: none !important;
  }
}

.hero__rating {
  margin-top: clamp(22px, 3.4vw, 30px);
  padding: 9px clamp(12px, 3vw, 20px);
  background: rgba(255, 255, 255, 0.032);
  border-color: rgba(255, 255, 255, 0.06);
  font-size: clamp(0.74rem, 0.42vw + 0.71rem, 0.8375rem);
  gap: clamp(8px, 2vw, 12px);
  max-width: 100%;
}

.hero__stars {
  filter: none;
  gap: 2px;
  color: rgba(212, 194, 255, 0.72);
}

.hero__stats {
  margin-top: clamp(40px, 6.2vw, 56px);
  gap: clamp(14px, 2.5vw, 28px);
  max-width: min(1160px, 96vw);
  width: 100%;
}

@media (min-width: 1200px) {
  .hero__stats {
    max-width: min(1240px, 94vw);
  }
}

.hero__stats strong {
  font-weight: 600;
  font-size: clamp(1.18rem, 1.9vw, 1.48rem);
  margin-bottom: 8px;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--text);
  color: var(--text);
}

.hero__stats span {
  font-size: 0.7rem;
  letter-spacing: 0.074em;
  text-transform: uppercase;
  color: rgba(139, 139, 150, 0.72);
}

.hero__stats li + li::before {
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.hero__scroll {
  border-color: rgba(255, 255, 255, 0.16);
  border-width: 1px;
  opacity: 0.72;
  transition: opacity 0.55s var(--ease-apple), border-color 0.55s var(--ease-apple);
}

.hero__scroll:hover {
  opacity: 0.95;
  border-color: rgba(255, 255, 255, 0.28);
}

.workflow-panel {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 28px 80px -50px rgba(0, 0, 0, 0.75);
}

.pricing__grid .plan,
.featcard {
  border-radius: 22px;
}

.big-title {
  letter-spacing: -0.034em;
}

@media (max-width: 640px) {
  .hero__title {
    font-size: clamp(2rem, 8.6vw, 2.65rem);
    letter-spacing: -0.034em;
  }

  .hero__lede {
    font-size: 1.02rem;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 420px;
    gap: 20px 12px;
  }

  .hero__stats li {
    padding: 0 8px;
  }

  .hero__stats li + li::before {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }

  .hero__stats li + li::before {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Remove divisores herdados da antiga grade 4×1 em breakpoints estreitos */
  .hero__stats li:nth-child(2n)::before {
    display: none !important;
    content: none !important;
  }
}

/* =========================================================
   SIMULADOR — créditos (dark premium, alinhado à landing)
   ========================================================= */
.simulador {
  position: relative;
  padding: clamp(96px, 11vw, 140px) 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 120% 82% at 50% -12%, rgba(127, 34, 254, 0.18) 0%, transparent 52%),
    radial-gradient(ellipse 48% 36% at 96% 88%, rgba(198, 0, 219, 0.08) 0%, transparent 62%),
    linear-gradient(180deg, var(--black-soft) 0%, var(--black) 48%, #030304 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  color-scheme: dark;
}

.simulador::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -38%;
  height: min(58vh, 480px);
  background: radial-gradient(ellipse closest-side, rgba(127, 34, 254, 0.065), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.simulador::before {
  z-index: 2;
}

.simulador .container {
  position: relative;
  z-index: 1;
  max-width: min(708px, 100%);
}

.simulador__intro {
  text-align: left;
  margin-bottom: clamp(26px, 4vw, 38px);
}

.simulador__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--p-300);
  margin-bottom: 14px;
  opacity: 0.94;
}

.simulador__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.35vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.036em;
  line-height: 1.09;
  color: var(--text);
  margin: 0 0 14px;
  max-width: 28rem;
  text-wrap: balance;
}

.simulador__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: rgba(228, 220, 255, 0.95);
}

.simulador__lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.06vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: balance;
}

.simulador__toolbar {
  display: flex;
  justify-content: flex-start;
  margin-bottom: clamp(22px, 4vw, 30px);
  position: relative;
  z-index: 30;
}

/* Plano — dropdown customizado (lista nativa do SO fica ilegível no tema escuro) */
.simulador__plan {
  position: relative;
  width: 100%;
  max-width: 320px;
  z-index: 1;
}

.simulador__plan[data-open="true"] {
  z-index: 40;
}

.simulador__plan-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 44px 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:
    radial-gradient(100% 80% at 50% -20%, rgba(127, 34, 254, 0.12), transparent),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 16px 40px -30px rgba(0, 0, 0, 0.6);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.4s var(--ease-apple),
    background 0.4s var(--ease-apple),
    box-shadow 0.4s var(--ease-apple);
}

.simulador__plan-trigger:hover {
  border-color: rgba(166, 133, 255, 0.35);
  background:
    radial-gradient(100% 80% at 50% -20%, rgba(127, 34, 254, 0.16), transparent),
    rgba(255, 255, 255, 0.058);
}

.simulador__plan-trigger:focus-visible {
  outline: none;
  border-color: rgba(166, 133, 255, 0.55);
  box-shadow:
    0 0 0 3px rgba(127, 34, 254, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.simulador__plan-trigger-chev {
  right: 18px;
  color: rgba(237, 233, 255, 0.55);
  transition: rotate 0.25s var(--ease-apple);
}

.simulador__plan[data-open="true"] .simulador__plan-trigger-chev {
  rotate: -180deg;
}

.simulador__plan-trigger-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.simulador__plan-trigger-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.simulador__plan-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 50;
  padding: 8px;
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(166, 133, 255, 0.22);
  background: linear-gradient(180deg, rgba(22, 20, 32, 0.98) 0%, rgba(10, 9, 16, 0.99) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 56px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

.simulador__plan-list[hidden] {
  display: none !important;
}

.simulador__plan-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(244, 244, 246, 0.96);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease-apple), color 0.2s var(--ease-apple);
}

.simulador__plan-opt-icon {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
}

.simulador__plan-opt:hover,
.simulador__plan-opt:focus-visible {
  outline: none;
  background: rgba(127, 34, 254, 0.16);
  color: #fff;
}

.simulador__plan-opt[aria-selected="true"] {
  background: rgba(127, 34, 254, 0.24);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(166, 133, 255, 0.28);
}

/* Modelos nas linhas — lista custom (lista nativa <select> com contraste quebrado no Windows) */
.simulador__model-picker {
  position: relative;
  width: 100%;
  z-index: 1;
}

.simulador__model-picker[data-open="true"] {
  z-index: 40;
}

.simulador__model-trigger {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.96);
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  transition:
    border-color 0.4s var(--ease-apple),
    background 0.4s var(--ease-apple),
    box-shadow 0.4s var(--ease-apple);
}

.simulador__model-trigger:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.simulador__model-trigger:focus-visible {
  outline: none;
  border-color: rgba(166, 133, 255, 0.52);
  box-shadow:
    0 0 0 2px rgba(127, 34, 254, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.simulador__model-trigger-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simulador__model-trigger-chev {
  right: 10px;
  color: rgba(186, 186, 198, 0.78);
  transition: rotate 0.25s var(--ease-apple);
}

.simulador__model-picker[data-open="true"] .simulador__model-trigger-chev {
  rotate: -180deg;
}

.simulador__model-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  padding: 7px;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(166, 133, 255, 0.22);
  background: linear-gradient(180deg, rgba(22, 20, 32, 0.98) 0%, rgba(10, 9, 16, 0.99) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 56px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  max-height: min(52vh, 320px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color-scheme: dark;
}

.simulador__model-list[hidden] {
  display: none !important;
}

.simulador__model-opt {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.96);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s var(--ease-apple), color 0.2s var(--ease-apple);
}

.simulador__model-opt:hover,
.simulador__model-opt:focus-visible {
  outline: none;
  background: rgba(127, 34, 254, 0.16);
  color: #fff;
}

.simulador__model-opt[aria-selected="true"] {
  background: rgba(127, 34, 254, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(166, 133, 255, 0.28);
}

.simulador__select {
  position: relative;
  width: 100%;
}

.simulador__native {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-sans);
  transition:
    border-color 0.4s var(--ease-apple),
    background 0.4s var(--ease-apple),
    box-shadow 0.4s var(--ease-apple);
}

.simulador__chev {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 11px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.simulador__chev--down::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.simulador__card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: visible;
  border: 1px solid rgba(166, 133, 255, 0.18);
  background:
    radial-gradient(115% 80% at 12% -8%, rgba(127, 34, 254, 0.11) 0%, transparent 45%),
    linear-gradient(160deg, #121215 0%, #0c0c10 52%, #08080c 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 40px 100px -52px rgba(127, 34, 254, 0.35),
    0 32px 72px -36px rgba(0, 0, 0, 0.75);
}

.simulador__card-inner {
  margin: 0;
  border-radius: calc(var(--radius-xl) - 1px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%);
  overflow: visible;
}

.simulador__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(17px, 2.8vw, 21px) clamp(18px, 3.2vw, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.simulador__head-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.simulador__head-icon {
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(127, 34, 254, 0.18);
  border: 1px solid rgba(166, 133, 255, 0.28);
  color: var(--p-200);
}

.simulador__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}

.simulador__credits-value {
  margin: 3px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(251, 250, 255, 0.98);
  letter-spacing: -0.024em;
  font-variant-numeric: tabular-nums;
}

.simulador__hint {
  margin: 2px 0 0;
  font-size: 11px;
  color: rgba(186, 186, 198, 0.78);
}

.simulador__head-right {
  text-align: right;
}

@media (max-width: 520px) {
  .simulador__head-right {
    display: none;
  }
}

.simulador__body {
  color-scheme: dark;
}

.simulador__row {
  display: grid;
  /* Primeira faixa era min 118px: rótulos longos (“Skin Enhancer”) invadiam o <select> */
  grid-template-columns: minmax(120px, max-content) minmax(100px, 1fr) minmax(76px, 100px);
  align-items: center;
  gap: 12px 14px;
  padding: clamp(13px, 2.2vw, 16px) clamp(17px, 3vw, 22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.42s var(--ease-apple);
}

.simulador__row:last-of-type {
  border-bottom: 0;
}

.simulador__row:hover {
  background: rgba(255, 255, 255, 0.026);
}

.simulador__row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.simulador__row-icon {
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
}

.simulador__row-icon--green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.26);
  color: #34d399;
}

.simulador__row-icon--rose {
  background: rgba(244, 63, 94, 0.1);
  border-color: rgba(244, 63, 94, 0.26);
  color: #fb7185;
}

.simulador__row-icon--amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.26);
  color: #fbbf24;
}

.simulador__row-icon--violet {
  background: rgba(139, 92, 246, 0.13);
  border-color: rgba(139, 92, 246, 0.28);
  color: #c4b5fd;
}

.simulador__row-icon--pink {
  background: rgba(236, 72, 153, 0.11);
  border-color: rgba(236, 72, 153, 0.26);
  color: #f472b6;
}

.simulador__row-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(230, 230, 239, 0.68);
  white-space: nowrap;
  line-height: 1.35;
}

/* Coluna dos selects deve encolher e nunca cobrir o rótulo */
.simulador__select--dark {
  min-width: 0;
}

.simulador__select--dark .simulador__native {
  height: 38px;
  padding: 0 34px 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 500;
  color: rgba(244, 244, 246, 0.96);
}

.simulador__select--dark .simulador__native:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}

.simulador__select--dark .simulador__native:focus-visible {
  outline: none;
  border-color: rgba(166, 133, 255, 0.52);
  box-shadow:
    0 0 0 2px rgba(127, 34, 254, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.simulador__select--dark .simulador__chev {
  right: 10px;
  color: rgba(186, 186, 198, 0.78);
}

.simulador__select--dark .simulador__chev--down::before {
  width: 6px;
  height: 6px;
}

.simulador__out {
  text-align: right;
}

.simulador__out-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.034em;
  color: #fff;
  line-height: 1.06;
}

.simulador__out-unit {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: rgba(181, 181, 190, 0.78);
}

.simulador__foot {
  padding: clamp(12px, 2vw, 15px) clamp(18px, 3.2vw, 24px) 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.068);
  background: rgba(0, 0, 0, 0.28);
}

.simulador__disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.62;
  color: rgba(181, 181, 190, 0.75);
  text-align: center;
}

@media (max-width: 620px) {
  .simulador__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: clamp(17px, 3.5vw, 20px);
  }

  .simulador__row-meta {
    width: 100%;
  }

  .simulador__out {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }

  .simulador__out-num {
    display: inline;
    font-size: 1.22rem;
  }

  .simulador__out-unit {
    display: inline;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .simulador__native,
  .simulador__row {
    transition: none !important;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
