/* =============================================================
   FLOXIA — Landing Page
   Design system + componentes. Sem dependências.
   ============================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca */
  --brand:        #ff7a18;
  --brand-2:      #ffa14d;
  --brand-deep:   #e2590a;
  --brand-glow:   255 122 24;

  /* Escala tipográfica fluida */
  --fs-display: clamp(2.65rem, 1.1rem + 4.55vw, 5.15rem);
  --fs-h2:      clamp(2rem, 1.15rem + 3.1vw, 3.7rem);
  --fs-h3:      clamp(1.12rem, 1rem + .5vw, 1.4rem);
  --fs-lede:    clamp(1.02rem, .95rem + .45vw, 1.28rem);
  --fs-body:    clamp(.95rem, .92rem + .18vw, 1.03rem);
  --fs-sm:      .875rem;
  --fs-xs:      .72rem;

  /* Ritmo */
  --wrap:       min(1220px, 100% - clamp(1.25rem, 5vw, 5rem));
  --sec-y:      clamp(5.5rem, 9vw, 10.5rem);
  --r-sm:       10px;
  --r-md:       16px;
  --r-lg:       24px;
  --r-xl:       32px;

  /* Movimento */
  --e-out:      cubic-bezier(.16, 1, .3, 1);
  --e-inout:    cubic-bezier(.76, 0, .24, 1);
  --e-spring:   cubic-bezier(.34, 1.56, .64, 1);
  --t-fast:     .22s var(--e-out);
  --t-med:      .45s var(--e-out);
  --t-slow:     .9s var(--e-out);

  --nav-h:      74px;
}

/* Tema escuro (padrão) */
[data-theme="dark"] {
  --bg:         #08080a;
  --bg-2:       #0d0d11;
  --bg-3:       #121218;
  --surface:    rgb(255 255 255 / .028);
  --surface-2:  rgb(255 255 255 / .052);
  --line:       rgb(255 255 255 / .085);
  --line-2:     rgb(255 255 255 / .16);
  --ink:        #f4f4f6;
  --ink-2:      #a7a7b3;
  --ink-3:      #6f6f7c;
  --shadow:     0 30px 70px -30px rgb(0 0 0 / .85);
  --nav-edge:   rgb(255 255 255 / .105);
  --nav-hi:     rgb(255 255 255 / .075);
  --nav-aura:   .72;
  --nav-shadow: 0 24px 62px -34px rgb(0 0 0 / .94),
                0 10px 24px -18px rgb(0 0 0 / .72);
  --grain-op:   .038;
  --orb-op:     .55;
}

/* Tema claro */
[data-theme="light"] {
  --bg:         #f7f6f4;
  --bg-2:       #ffffff;
  --bg-3:       #f1efec;
  --surface:    rgb(14 12 10 / .022);
  --surface-2:  rgb(14 12 10 / .045);
  --line:       rgb(14 12 10 / .1);
  --line-2:     rgb(14 12 10 / .2);
  --ink:        #131317;
  --ink-2:      #55545e;
  --ink-3:      #86858f;
  --shadow:     0 24px 60px -28px rgb(30 20 10 / .3);
  --nav-edge:   rgb(30 21 15 / .14);
  --nav-hi:     rgb(255 255 255 / .8);
  --nav-aura:   .56;
  --nav-shadow: 0 24px 62px -34px rgb(48 27 12 / .42),
                0 8px 20px -14px rgb(48 27 12 / .24);
  --grain-op:   .022;
  --orb-op:     .3;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background .4s var(--e-out), color .4s var(--e-out);
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.04; letter-spacing: -.038em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--brand); color: #14100b; }

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

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--brand); color: #14100b; font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip:focus-visible { transform: none; }

/* ---------- 3. TEXTURA / GRÃO ---------- */
.grain {
  position: fixed; inset: -50%;
  z-index: 60; pointer-events: none;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-3%, 4%) }
  40% { transform: translate(4%, -2%) }
  60% { transform: translate(-2%, -4%) }
  80% { transform: translate(3%, 3%) }
}

/* ---------- 4. PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
}
.preloader__inner {
  display: grid; gap: 1.4rem; justify-items: center;
  transition: opacity .4s var(--e-out), transform .5s var(--e-out);
}
.preloader__bar {
  width: min(240px, 50vw); height: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .18s linear;
}
.preloader__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); letter-spacing: .18em; color: var(--ink-3);
}
.preloader__curtain {
  position: absolute; inset: 0; background: var(--bg);
  transform: translateY(0);
  transition: transform 1s var(--e-inout);
}
.preloader.is-done .preloader__inner { opacity: 0; transform: translateY(-14px); }
.preloader.is-done .preloader__curtain { transform: translateY(-101%); }
.preloader.is-gone { display: none; }

/* ---------- 5. CURSOR ----------
   Vive no módulo MICRO-FX, no fim deste arquivo. Ficou lá porque o cursor
   customizado precisa esconder o cursor nativo só DEPOIS que o JS confirma
   que ele subiu — aqui era incondicional e, se o JS falhasse, a página
   ficava sem cursor nenhum. */

/* ---------- 6. PROGRESSO ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.progress__bar {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-deep), var(--brand), var(--brand-2));
}
@supports (animation-timeline: scroll()) {
  .progress__bar {
    animation: prog linear both;
    animation-timeline: scroll(root block);
  }
  @keyframes prog { from { transform: scaleX(0) } to { transform: scaleX(1) } }
}

/* ---------- 7. LOGO / MARCA ---------- */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo {
  width: clamp(92px, 8vw, 112px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgb(var(--brand-glow) / .18));
  transition: width .56s var(--e-out), transform var(--t-med), filter var(--t-med);
}
.brand:hover .brand__logo {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 12px 22px rgb(var(--brand-glow) / .32));
}
.preloader__logo {
  width: clamp(148px, 26vw, 210px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgb(var(--brand-glow) / .22));
}

/* ---------- 8. BOTÕES ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  border-radius: 999px;
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: -.015em;
  white-space: nowrap;
  isolation: isolate;
  transition: transform .35s var(--e-out), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-med);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--e-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--lg { padding: 1.02rem 1.9rem; font-size: .96rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(140deg, var(--brand-2), var(--brand) 42%, var(--brand-deep));
  color: #180f07;
  box-shadow: 0 14px 34px -14px rgb(var(--brand-glow) / .85),
              inset 0 1px 0 rgb(255 255 255 / .28);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(140deg, #fff, var(--brand-2));
  opacity: 0; transition: opacity var(--t-fast);
}
.btn--primary:hover { box-shadow: 0 20px 46px -14px rgb(var(--brand-glow) / 1); }
.btn--primary:hover::before { opacity: .28; }
.registration-trigger--static,
.registration-trigger--static:hover { transform: none; }
.registration-trigger--static:hover svg { transform: none; }

.btn--line {
  border: 1px solid var(--line-2); color: var(--ink);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn--line:hover { border-color: var(--brand); color: var(--brand); background: rgb(var(--brand-glow) / .07); }

.btn--ghost { color: var(--ink-2); padding-inline: .9rem; }
.btn--ghost:hover { color: var(--ink); }

.nav__login {
  min-height: 48px;
  padding: .42rem .9rem;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: .05rem;
  color: var(--ink);
  border: 2px solid rgb(var(--brand-glow) / .66);
  background: rgb(var(--brand-glow) / .07);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1),
              0 0 0 1px rgb(var(--brand-glow) / .08);
}
.nav__login:is(:hover, :focus-visible) {
  color: var(--brand);
  border-color: rgb(var(--brand-glow) / .9);
  background: rgb(var(--brand-glow) / .12);
  box-shadow: 0 12px 28px -18px rgb(var(--brand-glow) / .8);
}
.nav__login-kicker {
  color: var(--ink-3);
  font-size: .61rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .015em;
}
.nav__login-label {
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.15;
}

.icon-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--brand); border-color: rgb(var(--brand-glow) / .5); }
.icon-btn svg { width: 18px; height: 18px; transition: transform .5s var(--e-spring), opacity .3s; }
.icon-btn .i-sun { display: none; }
[data-theme="light"] .icon-btn .i-sun { display: block; }
[data-theme="light"] .icon-btn .i-moon { display: none; }
.icon-btn:hover svg { transform: rotate(35deg); }

/* ---------- 9. NAV ---------- */
#top-sentinel {
  position: absolute; top: 0; width: 1px; height: 36px;
  pointer-events: none;
}
.nav {
  position: fixed; inset: 0 0 auto; z-index: 110;
  height: var(--nav-h);
  display: flex; align-items: center;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition: height .6s var(--e-out), transform .6s var(--e-out);
}
.nav::before {
  content: "";
  position: absolute; inset: 0 auto; left: 50%; z-index: -2;
  width: 100%;
  transform: translate3d(-50%, 0, 0) scaleY(.94);
  opacity: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  pointer-events: none;
  transition:
    width .6s var(--e-out),
    transform .6s var(--e-out),
    opacity .38s var(--e-out),
    border-radius .6s var(--e-out),
    background .46s var(--e-out),
    border-color .46s var(--e-out),
    box-shadow .55s var(--e-out),
    -webkit-backdrop-filter .5s var(--e-out),
    backdrop-filter .5s var(--e-out);
}
.nav::after {
  content: "";
  position: absolute; inset: 1px auto; left: 50%; z-index: -1;
  width: 100%;
  transform: translate3d(-50%, 0, 0);
  opacity: 0;
  border-radius: 0;
  background:
    radial-gradient(65% 140% at 0 50%, rgb(var(--brand-glow) / .09), transparent 48%),
    radial-gradient(58% 135% at 100% 48%, rgb(var(--brand-glow) / .075), transparent 44%);
  pointer-events: none;
  transition:
    width .6s var(--e-out),
    opacity .5s var(--e-out),
    border-radius .6s var(--e-out);
}
.nav.is-stuck {
  height: 62px;
  transform: translate3d(0, 12px, 0);
}
.nav.is-stuck::before {
  width: min(1200px, calc(100% - 40px));
  transform: translate3d(-50%, 0, 0) scaleY(1);
  opacity: 1;
  border-radius: 20px;
  background: var(--bg);
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--bg-2) 86%, transparent),
    color-mix(in srgb, var(--bg) 92%, transparent));
  border-color: var(--nav-edge);
  box-shadow: var(--nav-shadow), inset 0 1px 0 var(--nav-hi);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
  backdrop-filter: blur(14px) saturate(128%);
}
.nav.is-stuck::after {
  width: min(1200px, calc(100% - 40px));
  opacity: var(--nav-aura);
  border-radius: 19px;
}
.nav__in {
  width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
  pointer-events: auto;
  transition: width .6s var(--e-out), gap .6s var(--e-out);
}
.nav.is-stuck .nav__in {
  width: min(1152px, calc(100% - 80px));
}
.nav__links { display: flex; gap: .35rem; margin-inline: auto; }
.nav__links a {
  position: relative; padding: .5rem .85rem; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--t-fast);
  will-change: transform;
}
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 18px; height: 1.5px;
  background: var(--brand); border-radius: 2px;
  opacity: 0;
  transform: translateX(-50%) scaleX(.25);
  transition: transform .32s var(--e-out), opacity var(--t-fast);
}
.nav__links a:is(:hover, :focus-visible) { color: var(--ink); }
.nav__links a:is(:hover, :focus-visible)::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}
.nav__actions {
  display: flex; align-items: center; gap: .55rem; flex: none;
  transition: gap .5s var(--e-out);
}
.nav.is-stuck .brand__logo { width: clamp(90px, 7.25vw, 100px); }

.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; padding: 0 11px; }
.burger i { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--e-out), opacity .3s; }
.burger i + i { margin-top: 5px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 105;
  display: grid; align-content: start; gap: .25rem;
  padding: 1.4rem clamp(1.25rem, 5vw, 2rem) 2rem;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  overflow-y: auto; overscroll-behavior: contain;
  animation: menuIn .45s var(--e-out) both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
  padding: .95rem .25rem; font-size: 1.4rem; font-weight: 700; letter-spacing: -.035em;
  border-bottom: 1px solid var(--line);
  animation: menuItem .5s var(--e-out) both;
  animation-delay: calc(var(--mi, 0) * 55ms + 60ms);
}
.mobile-menu .mobile-menu__login {
  display: grid;
  gap: .08rem;
  margin-top: .5rem;
  padding: .85rem 1rem;
  border: 2px solid rgb(var(--brand-glow) / .66);
  border-radius: var(--r-md);
  background: rgb(var(--brand-glow) / .08);
  color: var(--ink);
}
.mobile-menu__login small {
  color: var(--ink-3);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.mobile-menu__login strong {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 800;
}
.mobile-menu a:nth-child(1) { --mi: 0 } .mobile-menu a:nth-child(2) { --mi: 1 }
.mobile-menu a:nth-child(3) { --mi: 2 } .mobile-menu a:nth-child(4) { --mi: 3 }
.mobile-menu a:nth-child(5) { --mi: 4 } .mobile-menu a:nth-child(6) { --mi: 5 }
.mobile-menu .btn { margin-top: 1.4rem; border-bottom: 0; font-size: .95rem; padding: 1.05rem; }
@keyframes menuIn { from { opacity: 0 } }
@keyframes menuItem { from { opacity: 0; transform: translateY(16px) } }

/* ---------- 10. UTILITÁRIOS DE TEXTO ---------- */
.h-display { font-size: var(--fs-display); line-height: .95; letter-spacing: -.05em; }
.h-display--sm { font-size: clamp(2.25rem, 1.25rem + 3.6vw, 4.4rem); max-width: 18ch; }
.h2 { font-size: var(--fs-h2); }
.grad {
  font-style: normal;
  background: linear-gradient(102deg, var(--brand-2), var(--brand) 38%, var(--brand-deep));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede { font-size: var(--fs-lede); color: var(--ink-2); max-width: 46ch; line-height: 1.58; }
.lede b { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .22em; color: var(--brand);
  margin-bottom: 1.1rem;
}
.eyebrow i { font-style: normal; color: var(--ink-3); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .9rem .42rem .7rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2); margin-bottom: 1.6rem;
}
.pill em { font-style: normal; color: var(--ink-3); padding-left: .55rem; border-left: 1px solid var(--line); }
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 0 rgb(var(--brand-glow) / .6);
  animation: pulse 2.4s var(--e-out) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgb(var(--brand-glow) / .55) }
  70% { box-shadow: 0 0 0 9px rgb(var(--brand-glow) / 0) }
  100% { box-shadow: 0 0 0 0 rgb(var(--brand-glow) / 0) }
}

/* ---------- 11. HERO ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(100svh, 900px);
  padding: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(4.5rem, 7vw, 7rem);
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  opacity: var(--orb-op);
  will-change: transform;
}
.orb--1 {
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  top: -22%; left: -14%;
  background: radial-gradient(circle at 50% 50%, rgb(var(--brand-glow) / .34), rgb(var(--brand-glow) / .06) 45%, transparent 68%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.orb--2 {
  width: 46vw; height: 46vw; max-width: 680px; max-height: 680px;
  top: 4%; right: -10%;
  background: radial-gradient(circle at 50% 50%, rgb(255 161 77 / .22), transparent 66%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.orb--3 {
  width: 52vw; height: 52vw; max-width: 760px; max-height: 760px;
  bottom: -30%; left: 26%;
  background: radial-gradient(circle at 50% 50%, rgb(226 89 10 / .2), transparent 64%);
  animation: drift1 30s ease-in-out infinite alternate-reverse;
}
.orb--4 {
  width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px;
  left: 50%; top: 50%; translate: -50% -50%;
  background: radial-gradient(circle at 50% 50%, rgb(var(--brand-glow) / .28), transparent 62%);
  animation: breathe 12s ease-in-out infinite;
}
@keyframes drift1 { to { transform: translate3d(8%, 6%, 0) scale(1.12) } }
@keyframes drift2 { to { transform: translate3d(-7%, 9%, 0) scale(1.08) } }
@keyframes breathe { 50% { transform: scale(1.14); opacity: calc(var(--orb-op) * .7) } }

.rings { position: absolute; left: 8%; bottom: -46%; width: min(72vw, 900px); aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.rings circle { fill: none; stroke: var(--line-2); stroke-width: 1; opacity: .5; }
.rings circle:nth-child(2) { stroke: rgb(var(--brand-glow) / .3); }
@keyframes spin { to { transform: rotate(360deg) } }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 110px) clamp(60px, 8vw, 110px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000, transparent 78%);
  opacity: .55;
}

.hero__in {
  display: grid; gap: clamp(2.8rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.h-display + .lede { margin-top: 1.8rem; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 3vw, 2.8rem);
  margin-top: 3.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.hero__proof li { display: flex; align-items: baseline; gap: .45rem; }
.hero__proof b { font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.hero__proof span { font-size: var(--fs-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }

/* --- Mock do app --- */
.hero__art { position: relative; }
.app {
  position: relative;
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--bg-3), var(--bg-2));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .5s var(--e-out);
}
.app__glow {
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgb(var(--brand-glow) / .45), transparent 32%, transparent 70%, rgb(var(--brand-glow) / .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px;
}
.app__side { padding: 1.1rem .85rem; border-right: 1px solid var(--line); background: var(--surface); }
.app__side-head { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; }
.app__side-head strong { font-size: .9rem; letter-spacing: -.03em; }
.chip-icon {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-deep)); color: #17100a; flex: none;
}
.chip-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.chip-icon.sm { width: 26px; height: 26px; border-radius: 8px; background: rgb(var(--brand-glow) / .14); color: var(--brand); }
.chip-icon.sm svg { width: 14px; height: 14px; }

.app__nav { display: grid; gap: .12rem; }
.app__nav li {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem .6rem; border-radius: 9px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.app__nav li svg { width: 15px; height: 15px; opacity: .8; }
.app__nav li.is-on { background: rgb(var(--brand-glow) / .12); color: var(--brand); }
.app__side .app__proj {
  margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: grid; gap: .1rem;
}
.app__proj small { font-size: .58rem; letter-spacing: .18em; color: var(--ink-3); }
.app__proj strong { font-size: .88rem; }
.app__proj span { font-size: .72rem; color: var(--ink-3); }

.app__main { padding: 1.1rem 1.15rem 1.3rem; display: grid; gap: .95rem; align-content: start; }
.app__bar { display: flex; align-items: center; justify-content: space-between; }
.app__bar-t { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.live { display: inline-flex; align-items: center; gap: .4rem; font-size: .6rem; letter-spacing: .16em; color: var(--brand); font-weight: 700; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }

.flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .55rem; }
.flow__node {
  display: grid; gap: .18rem; padding: .8rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
}
.flow__node small { font-size: .55rem; letter-spacing: .16em; color: var(--ink-3); }
.flow__node b { font-size: .82rem; letter-spacing: -.02em; }
.flow__node .chip-icon { margin-bottom: .3rem; }
.flow__wire { position: relative; width: 34px; height: 1px; background: var(--line-2); overflow: hidden; }
.flow__wire i {
  position: absolute; inset: 0 auto 0 0; width: 12px;
  background: linear-gradient(90deg, transparent, var(--brand));
  animation: wire 1.8s linear infinite;
}
@keyframes wire { from { transform: translateX(-14px) } to { transform: translateX(36px) } }

.app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.app__kpis div { display: grid; gap: .1rem; }
.app__kpis small { font-size: .53rem; letter-spacing: .15em; color: var(--ink-3); }
.app__kpis b { font-size: .78rem; }

.app__tasks { display: grid; gap: .35rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.task { display: flex; align-items: center; gap: .55rem; font-size: .74rem; color: var(--ink-2); }
.task em { margin-left: auto; font-style: normal; font-size: .65rem; color: var(--ink-3); font-family: "JetBrains Mono", monospace; }
.tick { width: 13px; height: 13px; border-radius: 4px; border: 1px solid var(--line-2); position: relative; flex: none; }
.tick::after {
  content: ""; position: absolute; inset: 2px; border-radius: 2px; background: var(--brand); opacity: .85;
}
.tick--run::after { animation: blink 1.3s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .15 } }

.float-card {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 82%, transparent);
  backdrop-filter: blur(14px);
  font-size: .74rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card b { color: var(--brand); }
.float-card--a { top: -18px; right: 6%; }
.float-card--b { bottom: -20px; left: -4%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-11px) } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.6rem; translate: -50%;
  display: grid; justify-items: center; gap: .5rem;
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-3);
}
.scroll-hint__line { display: block; width: 1px; height: 42px; background: var(--line-2); overflow: hidden; }
.scroll-hint__line i { display: block; width: 100%; height: 40%; background: var(--brand); animation: hint 2.2s var(--e-inout) infinite; }
@keyframes hint { 0% { transform: translateY(-105%) } 60%,100% { transform: translateY(255%) } }

/* ---------- 12. MARQUEE ---------- */
.band { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; padding: 1.1rem 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem; flex: none;
  padding-right: 2.4rem;
  animation: scrollX 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: clamp(.95rem, 1.4vw, 1.25rem); font-weight: 700; letter-spacing: -.03em;
  color: var(--ink-2); white-space: nowrap;
  transition: color var(--t-fast);
}
.marquee__track span:hover { color: var(--brand); }
.marquee__track i { color: var(--brand); font-style: normal; font-size: .8rem; opacity: .7; }
@keyframes scrollX { to { transform: translateX(-50%) } }

/* ---------- 13. SEÇÕES ---------- */
.sec { padding-block: var(--sec-y); position: relative; }
.sec__head { max-width: 62ch; margin-bottom: clamp(2.8rem, 5vw, 4.5rem); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.sec__sub { margin-top: 1.2rem; color: var(--ink-2); font-size: var(--fs-lede); max-width: 54ch; }
.sec__head--center .sec__sub { margin-inline: auto; }

/* ---------- 14. BENTO ---------- */
.bento {
  display: grid; gap: clamp(.8rem, 1.2vw, 1.1rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  position: relative; grid-column: span 1;
  display: flex; flex-direction: column; gap: .7rem;
  padding: clamp(1.3rem, 2vw, 1.9rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(165deg, var(--surface), transparent 62%), var(--bg-2);
  overflow: hidden;
  transition: transform .5s var(--e-out), border-color var(--t-med), box-shadow var(--t-med);
}
.card--wide { grid-column: span 2; }
.card--accent {
  background: linear-gradient(160deg, rgb(var(--brand-glow) / .16), transparent 58%), var(--bg-2);
  border-color: rgb(var(--brand-glow) / .28);
}
/* Spotlight que segue o mouse */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--brand-glow) / .1), transparent 72%);
  opacity: 0; transition: opacity var(--t-med);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card__ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--brand);
  transition: transform .5s var(--e-spring), background var(--t-med);
}
.card__ico svg { width: 20px; height: 20px; }
.card:hover .card__ico { transform: translateY(-2px) rotate(-6deg); background: rgb(var(--brand-glow) / .14); }
.card h3 { font-size: var(--fs-h3); margin-top: .25rem; }
.card p { color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.card__tag {
  margin-top: auto; padding-top: .9rem;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-3);
}
.card__tag--on { color: var(--brand); }
.card__demo { margin-top: auto; padding-top: 1rem; }

/* demos internas */
.demo-wa { display: grid; gap: .4rem; justify-items: start; }
.bub { padding: .5rem .8rem; border-radius: 14px; font-size: .78rem; max-width: 84%; }
.bub--in { background: var(--surface-2); border-bottom-left-radius: 4px; }
.bub--out { justify-self: end; background: linear-gradient(140deg, var(--brand), var(--brand-deep)); color: #17100a; font-weight: 600; border-bottom-right-radius: 4px; }
.bub--typing { display: inline-flex; gap: 4px; background: var(--surface-2); }
.bub--typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: typing 1.3s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .18s }
.bub--typing i:nth-child(3) { animation-delay: .36s }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .4 } 30% { transform: translateY(-4px); opacity: 1 } }

.demo-list { display: grid; gap: .35rem; }
.demo-list .row {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); font-size: .78rem; font-weight: 600;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.demo-list .row:hover { transform: translateX(5px); border-color: rgb(var(--brand-glow) / .45); }
.demo-list em { margin-left: auto; font-style: normal; color: var(--ink-3); font-family: "JetBrains Mono", monospace; font-size: .68rem; }
.grab { width: 10px; height: 10px; flex: none; background:
  radial-gradient(currentColor 40%, transparent 42%) 0 0/5px 5px repeat; color: var(--ink-3); }

.demo-bars { display: flex; align-items: flex-end; gap: 5px; height: 62px; }
.demo-bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, rgb(var(--brand-glow) / .25), var(--brand));
  transform-origin: bottom; animation: bar 2.6s var(--e-inout) infinite alternate;
}
.demo-bars i:nth-child(2n) { animation-delay: -.6s }
.demo-bars i:nth-child(3n) { animation-delay: -1.2s }
@keyframes bar { from { transform: scaleY(.55) } to { transform: scaleY(1) } }

.demo-instr { display: flex; flex-wrap: wrap; gap: .4rem; }
.tagi {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .74rem; font-weight: 600; color: var(--ink-2);
}
.tagi b { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.tagi.is-on { border-color: rgb(var(--brand-glow) / .5); color: var(--brand); }
.tagi.is-on b { color: rgb(var(--brand-glow) / .8); }

.demo-perm { display: grid; gap: .45rem; }
.prow { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--ink-2); }
.sw { width: 30px; height: 17px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); position: relative; transition: background var(--t-fast); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink-3); transition: transform .35s var(--e-spring), background var(--t-fast); }
.sw.is-on { background: rgb(var(--brand-glow) / .28); border-color: rgb(var(--brand-glow) / .5); }
.sw.is-on::after { transform: translateX(13px); background: var(--brand); }

.demo-cron { display: flex; align-items: center; gap: .6rem; font-size: .78rem; }
.demo-cron code {
  font-family: "JetBrains Mono", monospace; font-size: .74rem;
  padding: .35rem .6rem; border-radius: 8px;
  background: rgb(var(--brand-glow) / .12); color: var(--brand);
}
.demo-cron span { color: var(--ink-3); font-family: "JetBrains Mono", monospace; font-size: .72rem; }

/* ---------- 15. FLUXO ---------- */
.sec--flow { background:
  linear-gradient(180deg, transparent, var(--surface) 20%, var(--surface) 80%, transparent);
}
.flow-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.flow-grid__side { position: sticky; top: calc(var(--nav-h) + 3.5rem); }
.flow-grid__side .btn { margin-top: 2rem; }
.flow-grid__meter { height: 3px; border-radius: 3px; background: var(--line); margin-top: 2.4rem; overflow: hidden; }
.flow-grid__meter i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand-deep), var(--brand-2)); transition: width .6s var(--e-out); }

.steps { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); }
.step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.3rem;
  padding: clamp(1.4rem, 2.4vw, 2.1rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-2);
  transition: border-color var(--t-med), transform .5s var(--e-out), background var(--t-med);
}
.step:hover { border-color: rgb(var(--brand-glow) / .4); transform: translateX(6px); }
.step__n {
  font-family: "JetBrains Mono", monospace; font-size: .82rem; font-weight: 500;
  color: var(--brand); padding-top: .28rem;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.step p { color: var(--ink-2); font-size: .95rem; }
.step.is-active { border-color: rgb(var(--brand-glow) / .55); background: linear-gradient(140deg, rgb(var(--brand-glow) / .08), transparent 55%), var(--bg-2); }

/* ---------- 16. STATS ---------- */
.stats { border-block: 1px solid var(--line); padding-block: clamp(3rem, 5vw, 4.5rem); }
.stats__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.stat { display: grid; gap: .3rem; text-align: center; }
.stat b {
  font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.05em;
  background: linear-gradient(160deg, var(--ink), var(--ink-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }

/* ---------- 17. PLANOS ---------- */
.switch {
  position: relative; display: inline-flex; align-items: center; gap: .2rem;
  margin-top: 2.2rem; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.switch__opt {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1.3rem; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink-2);
  transition: color .35s var(--e-out);
}
.switch__opt.is-on { color: #180f07; }
.switch__opt .save {
  font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .04em;
  padding: .16rem .42rem; border-radius: 999px;
  background: rgb(var(--brand-glow) / .18); color: var(--brand);
  transition: background .35s, color .35s;
}
.switch__opt.is-on .save { background: rgb(24 15 7 / .16); color: #180f07; }
.switch__pill {
  position: absolute; z-index: 0; top: 5px; left: 5px; height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand) 45%, var(--brand-deep));
  box-shadow: 0 8px 22px -8px rgb(var(--brand-glow) / .85);
  transition: transform .5s var(--e-spring), width .5s var(--e-spring);
  will-change: transform, width;
}

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.4vw, 1.3rem); align-items: start; }
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--surface), transparent 55%), var(--bg-2);
  transition: transform .5s var(--e-out), border-color var(--t-med), box-shadow var(--t-med);
  overflow: hidden;
}
.plan::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--brand-glow) / .09), transparent 70%);
  opacity: 0; transition: opacity var(--t-med);
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.plan:hover::before { opacity: 1; }
.plan--pop {
  border-color: rgb(var(--brand-glow) / .42);
  background: linear-gradient(170deg, rgb(var(--brand-glow) / .12), transparent 48%), var(--bg-2);
  box-shadow: 0 24px 70px -34px rgb(var(--brand-glow) / .75);
}
.plan__badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  padding: .32rem .7rem; border-radius: 999px;
  font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-deep)); color: #180f07;
}
.plan header h3 { font-size: 1.34rem; }
.plan header p { color: var(--ink-2); font-size: .88rem; margin-top: .35rem; min-height: 2.6em; }

.price { display: flex; align-items: baseline; gap: .28rem; margin-top: .4rem; }
.price__cur { font-size: 1.1rem; font-weight: 700; color: var(--ink-2); }
.price__val {
  font-size: clamp(2.8rem, 1.8rem + 2.6vw, 3.9rem); font-weight: 800; letter-spacing: -.055em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.price__per { font-size: .95rem; color: var(--ink-3); font-weight: 600; }
.price__note { font-size: var(--fs-xs); color: var(--ink-3); margin-top: -.55rem; letter-spacing: .03em; }

.feats { display: grid; gap: .58rem; margin-top: .5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.feats li {
  position: relative; padding-left: 1.7rem;
  font-size: .875rem; color: var(--ink-2); line-height: 1.5;
}
.feats li b { color: var(--ink); font-weight: 700; }
.feats li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 15px; height: 15px; border-radius: 50%;
  background: rgb(var(--brand-glow) / .15);
}
.feats li::after {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 4px; border-left: 1.6px solid var(--brand); border-bottom: 1.6px solid var(--brand);
  transform: rotate(-45deg);
}
.feats li.off { color: var(--ink-3); opacity: .62; }
.feats li.off::before { background: var(--surface-2); }
.feats li.off::after {
  left: 4.5px; top: .58em; width: 7px; height: 7px;
  border: 0; background: var(--ink-3); transform: none;
  clip-path: polygon(14% 0, 50% 36%, 86% 0, 100% 14%, 64% 50%, 100% 86%, 86% 100%, 50% 64%, 14% 100%, 0 86%, 36% 50%, 0 14%);
}

.plans__foot { margin-top: 2.4rem; text-align: center; font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 18. FAQ ---------- */
.faq-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.faq-grid__side { position: sticky; top: calc(var(--nav-h) + 3.5rem); }
.acc { display: grid; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex; align-items: center; gap: 1.5rem; width: 100%;
  padding: 1.45rem 0; text-align: left;
  font-size: clamp(1rem, .95rem + .35vw, 1.16rem); font-weight: 700; letter-spacing: -.03em;
  transition: color var(--t-fast);
}
.acc__btn:hover { color: var(--brand); }
.acc__btn i {
  position: relative; flex: none; width: 34px; height: 34px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color var(--t-med), background var(--t-med), transform .5s var(--e-spring);
}
.acc__btn i::before, .acc__btn i::after {
  content: ""; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  background: currentColor; border-radius: 2px;
  transition: transform .45s var(--e-out), opacity .3s;
}
.acc__btn i::before { width: 12px; height: 1.6px; }
.acc__btn i::after { width: 1.6px; height: 12px; }
.acc__btn:hover i { border-color: var(--brand); background: rgb(var(--brand-glow) / .1); }
.acc__btn[aria-expanded="true"] i { transform: rotate(180deg); border-color: var(--brand); color: var(--brand); }
.acc__btn[aria-expanded="true"] i::after { transform: scaleY(0); opacity: 0; }

.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--e-inout);
}
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  color: var(--ink-2); font-size: .96rem; max-width: 62ch;
  padding-bottom: 1.6rem; padding-right: 3rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--e-out) .1s, transform .4s var(--e-out) .1s;
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel p { opacity: 1; transform: none; }

/* ---------- 19. CTA ---------- */
.cta {
  position: relative; overflow: clip;
  padding-block: clamp(6rem, 11vw, 12rem);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__in { display: grid; justify-items: center; gap: 1.4rem; }
.cta__in p { color: var(--ink-2); font-size: var(--fs-lede); max-width: 48ch; }
.cta .hero__cta { justify-content: center; margin-top: 1rem; }

/* ---------- 20. FOOTER ---------- */
.foot { border-top: 1px solid var(--line); padding-top: clamp(3rem, 5vw, 4.5rem); background: var(--bg-2); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr); gap: 3rem; padding-bottom: 3rem; }
.foot__brand p { color: var(--ink-3); font-size: .9rem; max-width: 38ch; margin-top: 1.1rem; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.foot__cols div { display: grid; gap: .55rem; align-content: start; }
.foot__cols h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--ink-3); margin-bottom: .35rem; font-weight: 700; }
.foot__cols a { font-size: .9rem; color: var(--ink-2); width: fit-content; transition: color var(--t-fast), transform var(--t-fast); }
.foot__cols a:hover { color: var(--brand); transform: translateX(3px); }
.foot__bar {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; flex-wrap: wrap;
  padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs);
}
.foot__legal { display: grid; gap: .28rem; max-width: 62rem; margin: 0; font-style: normal; line-height: 1.55; text-align: right; }
.foot__legal strong { color: var(--ink-2); font-size: inherit; font-weight: 650; }
.foot__legal span { color: var(--ink-3); }

/* =============================================================
   21. ANIMAÇÕES DE ENTRADA
   ============================================================= */

/* Split text por palavra */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.wi {
  display: inline-block;
  transform: translateY(105%) rotate(4deg);
  opacity: 0;
  transition: transform .95s var(--e-out), opacity .7s var(--e-out);
  transition-delay: calc(var(--i, 0) * 42ms);
}
.is-in .wi { transform: none; opacity: 1; }

/* Fade genérico */
[data-fade] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--e-out), transform .8s var(--e-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
[data-fade].is-in { opacity: 1; transform: none; }

/* Reveal de cards */
[data-reveal] {
  opacity: 0; transform: translateY(34px) scale(.985);
  transition: opacity .8s var(--e-out), transform .9s var(--e-out);
  transition-delay: calc(var(--d, 0) * 75ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Bloqueia animações enquanto o preloader roda */
html.is-loading [data-fade], html.is-loading [data-reveal] { transition: none; }

/* Failsafe: se o JS morrer, `is-loading` nunca sai do <html>.
   Passados 6s nesse estado, revela tudo e some com o preloader.
   Quando o JS funciona a classe cai em ~1,5s e nada disso dispara. */
html.is-loading .preloader { animation: failsafeHide 0s linear 6s forwards; }
html.is-loading [data-fade],
html.is-loading [data-reveal],
html.is-loading .wi { animation: failsafeShow 0s linear 6s forwards; }
@keyframes failsafeShow { to { opacity: 1; transform: none; } }
@keyframes failsafeHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* =============================================================
   22. RESPONSIVO
   ============================================================= */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { max-width: 620px; }
  .hero__copy { max-width: 42rem; }
  .card--wide { grid-column: span 2; }
  .flow-grid, .faq-grid { grid-template-columns: 1fr; }
  .flow-grid__side, .faq-grid__side { position: static; }
  .flow-grid__meter { display: none; }
  /* Com o hero empilhado a dica de rolagem cai em cima do mock */
  .scroll-hint { display: none; }
  .hero { min-height: 0; }
}

/* A faixa logo acima do burger mantém todos os controles, mas usa uma
   composição compacta e estável nos dois estados da barra. */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav__in { gap: .625rem; }
  .nav.is-stuck .nav__in { width: calc(100% - 64px); }
  .nav__links { gap: 0; }
  .nav__links a { padding-inline: .42rem; font-size: .82rem; }
  .nav__actions { gap: .28rem; }
  .nav .icon-btn { width: 38px; height: 38px; }
  .nav__login { padding-inline: .58rem; }
  .nav__login-kicker { font-size: .56rem; }
  .nav__login-label { font-size: .78rem; }
  .nav__actions > .btn--primary { padding-inline: .9rem; }
  .nav.is-stuck .brand__logo { width: 86px; }
}

/* Três zonas iguais recolocam os links no eixo óptico da cápsula, sem
   alterar a ordem ou a semântica dos elementos. */
@media (min-width: 1180px) {
  .nav__in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .nav__links { margin-inline: 0; }
  .nav__actions { justify-self: end; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav.is-stuck { height: 56px; transform: translate3d(0, 8px, 0); }
  .nav.is-stuck::before { width: calc(100% - 16px); border-radius: 16px; }
  .nav.is-stuck::after { width: calc(100% - 16px); border-radius: 15px; }
  .nav.is-stuck .nav__in { width: calc(100% - 40px); gap: 1rem; }
  .nav__links, .nav__login { display: none; }
  .nav__actions { margin-left: auto; }
  .nav .icon-btn, .burger { width: 44px; height: 44px; }
  .burger { display: block; }
  /* Em 2 colunas os cards largos abririam buracos na grade */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--wide { grid-column: span 1; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--pop { order: -1; }
  .plan header p { min-height: 0; }
  .stats__in { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1rem; }
  .foot__in { grid-template-columns: 1fr; gap: 2.4rem; }
  .float-card--b { left: 0; }
  .rings { display: none; }
}

@media (max-width: 620px) {
  .foot__legal { text-align: left; }
  .bento, .card--wide { grid-template-columns: 1fr; grid-column: span 1; }
  .app { grid-template-columns: 1fr; }
  .app__side { border-right: 0; border-bottom: 1px solid var(--line); }
  .app__nav { grid-template-columns: repeat(2, 1fr); display: grid; }
  .app__proj { display: none !important; }
  .hero__proof { gap: 1.2rem 1.6rem; }
  .hero__proof b { font-size: 1.25rem; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .nav__actions > .btn--primary { display: none; }
  .float-card { display: none; }
  .scroll-hint { display: none; }
  .btn--lg { width: 100%; }
  .acc__btn { gap: 1rem; }
  .acc__panel p { padding-right: 0; }
}

/* =============================================================
   23. ACESSIBILIDADE — MOVIMENTO REDUZIDO
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .wi, [data-fade], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .fx-cursor, .grain, .scroll-hint__line i { display: none !important; }
  body, a, button { cursor: auto !important; }
  .preloader { display: none !important; }
  .acc__panel { transition: none; }
}

/* Impressão */
@media print {
  .nav, .fx-cursor, .grain, .preloader, .progress, .hero__bg, .scroll-hint, .band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =============================================================
   24. MÓDULOS
   Blocos autocontidos, cada um com seus próprios breakpoints e
   guardas de movimento reduzido. Vêm depois do bloco 23 de
   propósito: as regras !important de lá continuam ganhando.
   MICRO-FX é o último porque depende de vir depois de .btn/.icon-btn.
   ============================================================= */
/* === MODULES:BEGIN === */

/* ═══════════════════════════════════════════════════════════
   MÓDULO: hero-shader (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   HERO SHADER — fundo generativo em WebGL (.fx-shader)
   Vive dentro do .hero__bg, antes das orbs. O <canvas> é criado
   pelo JS; este bloco só cuida de encaixe, máscara e do
   revezamento com as orbs CSS.
   ============================================================= */

.fx-shader {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.15s var(--e-out);
  /* Dissolve as bordas do campo: o canvas é opaco e pinta --bg no fundo,
     mas sem a máscara a quina do retângulo aparece no scroll. */
  -webkit-mask-image: radial-gradient(125% 96% at 56% 34%, #000 34%, transparent 82%);
          mask-image: radial-gradient(125% 96% at 56% 34%, #000 34%, transparent 82%);
}

/* O canvas roda em resolução reduzida e é reescalado por CSS —
   é um fundo difuso, a interpolação do navegador só ajuda. */
.fx-shader canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Acende só depois do primeiro frame desenhado com sucesso. */
.hero.fx-shader-on .fx-shader { opacity: 1; }

/* Transição declarada no estado base também, para que a volta
   (contexto de WebGL perdido, aparelho lento, mudança de tema do SO)
   traga as orbs de novo sem salto. */
.hero .orb {
  transition: opacity .9s var(--e-out), visibility 0s linear 0s;
}
.hero.fx-shader-on .orb {
  opacity: 0;
  visibility: hidden;                                   /* tira do trabalho de composição no fim do fade */
  transition: opacity .9s var(--e-out), visibility 0s linear .9s;
}

/* Grade e anéis continuam por cima do campo — só recuam um pouco,
   porque agora há textura embaixo deles. */
.hero .grid-lines,
.hero .rings circle { transition: opacity .9s var(--e-out); }
.hero.fx-shader-on .grid-lines { opacity: .38; }
.hero.fx-shader-on .rings circle { opacity: .32; }

/* -------------------------------------------------------------
   Guardas. O JS já remove o container em todos estes casos;
   aqui é só para o container nunca aparecer se algo falhar
   no meio do caminho (ex.: usuário liga "reduzir movimento"
   com a página aberta).
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fx-shader { display: none !important; }
  .hero.fx-shader-on .orb { opacity: var(--orb-op); visibility: visible; }
}

/* Abaixo de 900px o hero empilha e o custo de GPU não se paga. */
@media (max-width: 899px) {
  .fx-shader { display: none; }
  .hero.fx-shader-on .orb { opacity: var(--orb-op); visibility: visible; }
}

@media (forced-colors: active) {
  .fx-shader { display: none; }
  .hero.fx-shader-on .orb { opacity: var(--orb-op); visibility: visible; }
}

@media print { .fx-shader { display: none; } }


/* ═══════════════════════════════════════════════════════════
   MÓDULO: kinetic-hero (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   FLOXIA — KINETIC HERO
   Bloco de texto do hero: eyebrow com barra, headline revelada
   caractere a caractere, rotador de palavras com largura animada
   e prova estrutural numérica.

   Usa só os tokens de assets/css/style.css. Sem dependências.
   Estado base (sem JS / sem movimento) = texto normal e legível;
   o JS acrescenta as classes .is-split / .is-live para animar.
   ============================================================= */

/* ---------- 1. BLOCO ---------- */
.kin { position: relative; }

/* Texto só para leitor de tela. O HTML já usa .kin-sr no rotador;
   o JS repete o mesmo padrão nas linhas quebradas por caractere. */
.kin-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 2. EYEBROW ---------- */
.kin-eyebrow {
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.45rem;
}

/* A barra herdada de .eyebrow vira um traço que se desenha da esquerda.
   scaleX não altera layout, então nada se desloca ao entrar. */
.kin-eyebrow::before {
  flex: none;
  width: 34px;
  opacity: .55;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .85s var(--e-out) .12s;
  /* Failsafe no mesmo espírito do style.css: se o JS não marcar .is-in
     em 6s, a barra aparece sozinha. */
  animation: kinBarShow 0s linear 6s forwards;
}
.kin-eyebrow.is-in::before { transform: scaleX(1); animation: none; }
@keyframes kinBarShow { to { transform: scaleX(1) } }

.kin-eyebrow__live {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .68rem .3rem .58rem;
  border: 1px solid rgb(var(--brand-glow) / .3);
  border-radius: 999px;
  background: rgb(var(--brand-glow) / .1);
}
.kin-eyebrow__txt { white-space: nowrap; }

.kin-eyebrow__ver {
  padding-left: .8rem;
  border-left: 1px solid var(--line-2);
  color: var(--ink-2);
  letter-spacing: .18em;
}

/* No tema claro o laranja puro não alcança contraste em texto de 11px:
   escurece o eyebrow misturando a marca com a tinta do tema. */
[data-theme="light"] .kin-eyebrow {
  color: color-mix(in srgb, var(--brand-deep) 76%, var(--ink));
}

/* ---------- 3. HEADLINE ---------- */
.kin-h {
  position: relative;
  --kin-blur: 0px;          /* o JS sobe p/ 6px só em telas grandes */
  --kin-travel: 175%;       /* curso da máscara: acima do topo do glifo */
}

/* Rotador e vírgula andam juntos: nunca quebram entre si. O bloco reserva
   sempre a largura do maior termo, por isso a headline não muda de linhas
   e não empurra o restante do hero durante a rotação. */
.kin-h__swap {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
}

/* Palavra atômica: os caracteres nunca se separam numa quebra de linha. */
.kin-word {
  display: inline-block;
  white-space: nowrap;
}

/* Máscara por caractere.
   Usa mask-image em vez de overflow:hidden porque um inline-block com
   overflow != visible passa a alinhar pela borda inferior, o que
   desalinharia a linha inteira. A máscara recorta sem mexer na baseline.
   O padding abre a janela para ascendentes, descendentes e o blur;
   a margem negativa devolve exatamente o mesmo espaço no fluxo. */
.kin-c {
  display: inline-block;
  vertical-align: baseline;
  padding: .3em .26em .38em;
  margin: -.3em -.26em -.38em;
  -webkit-mask-image: linear-gradient(#000 0 0);
          mask-image: linear-gradient(#000 0 0);
}

.kin-c__i {
  display: inline-block;
  /* O espaçamento negativo do .h-display já é aplicado entre as caixas
     .kin-c; zerar aqui evita contá-lo duas vezes. */
  letter-spacing: 0;
}

/* Estado inicial só existe depois que o JS quebra o texto. */
.kin-h.is-split .kin-c__i {
  opacity: 0;
  transform: translate3d(0, var(--kin-travel), 0) rotate(calc(var(--kr, 4) * 1deg));
  filter: blur(var(--kin-blur));
  font-variation-settings: "wght" 430;
  transition:
    transform .95s var(--e-out),
    opacity .72s var(--e-out),
    filter .5s var(--e-out),
    font-variation-settings .9s var(--e-out);
  transition-delay: calc(var(--kd, 0) * 1ms);
  /* Failsafe: JS quebrou o texto mas nunca chegou a revelar. */
  animation: kinCharShow 0s linear 6s forwards;
}

.kin-h.is-in .kin-c__i {
  opacity: 1;
  transform: none;
  filter: blur(0);
  font-variation-settings: "wght" 800;
  animation: none;
}

@keyframes kinCharShow {
  to { opacity: 1; transform: none; filter: none; }
}

/* Passe de medição: largura final (peso 800) para travar a caixa e o
   peso variável animar sem reflow da linha. */
.kin-h.is-measuring .kin-c__i {
  transition: none;
  transform: none;
  filter: none;
  font-variation-settings: "wght" 800;
}

/* Depois da entrada larga tudo: sem máscara, sem filtro, sem largura fixa. */
.kin-h.is-settled .kin-c {
  -webkit-mask-image: none;
          mask-image: none;
}
.kin-h.is-settled .kin-c__i {
  filter: none;
  transition: transform .55s var(--e-out), color var(--t-med);
  transition-delay: 0ms;
}

/* Onda sutil ao passar o mouse na headline — só transform, zero reflow. */
@media (hover: hover) and (pointer: fine) {
  .kin-h.is-settled:hover .kin-c__i {
    transform: translate3d(0, -.05em, 0);
    transition-delay: calc(var(--ki, 0) * 13ms);
  }
}

/* --- Cauda em degradê --- */
/* Depois do split o degradê deixa de ser pintado com background-clip:text
   (que quebra com filhos transformados/desfocados) e passa a ser
   distribuído caractere a caractere via --p (0 → 1). */
.kin-h.is-split .kin-h__tail {
  background: none;
  color: var(--brand);
}
.kin-h.is-split .kin-h__tail .kin-c__i {
  color: color-mix(in oklab, var(--brand-deep) calc(var(--p, 0) * 100%), var(--brand-2));
}

/* Tema claro: as paradas claras da marca não alcançam 3:1 num título.
   Reancora o degradê (com e sem split) nos tons profundos. */
[data-theme="light"] .kin-h__tail {
  background-image: linear-gradient(102deg,
    var(--brand-deep),
    color-mix(in srgb, var(--brand-deep) 78%, var(--ink)) 46%,
    color-mix(in srgb, var(--brand-deep) 58%, var(--ink)));
}
[data-theme="light"] .kin-h.is-split .kin-h__tail { color: var(--brand-deep); }
[data-theme="light"] .kin-h.is-split .kin-h__tail .kin-c__i {
  color: color-mix(in oklab,
    color-mix(in srgb, var(--brand-deep) 60%, var(--ink)) calc(var(--p, 0) * 100%),
    var(--brand-deep));
}

/* ---------- 4. ROTADOR DE PALAVRAS ---------- */
.kin-rot {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  /* mesma lógica de janela do .kin-c: padding abre, margem devolve */
  padding: .26em .1em .34em 0;
  margin: -.26em -.1em -.34em 0;
  -webkit-mask-image: linear-gradient(#000 0 0);
          mask-image: linear-gradient(#000 0 0);
}

/* Estado estático (sem JS, sem movimento): só a primeira palavra. */
.kin-rot__i { display: none; }
.kin-rot__i.is-on { display: inline; }

/* Estado animado: largura controlada pelo JS, itens sobrepostos. */
.kin-rot.is-live {
  width: calc(var(--kin-max-w, 0px) + .1em);
  transition: none;
}

/* A vírgula acompanha visualmente a palavra atual, mas o espaço reservado
   continua sendo o do maior termo. O transform anima sem causar reflow. */
.kin-h.is-split .kin-h__comma {
  display: inline-block;
  transform: translateX(calc(var(--kin-current-w, 0px) - var(--kin-max-w, 0px)));
  transition: transform .6s var(--e-out) .12s;
}
/* Espaço de largura zero: dá altura e baseline ao container quando todos
   os itens estão em posição absoluta. */
.kin-rot.is-live::before { content: "\200B"; }

.kin-rot.is-live .kin-rot__i {
  display: block;
  position: absolute;
  top: .26em;
  left: 0;
  /* explícito: o JS mede a largura natural de cada palavra dentro de um
     container já estreito — sem nowrap a medição sairia errada */
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(0, var(--kin-travel, 175%), 0);
  transition: transform .68s var(--e-out), opacity .5s var(--e-out);
}
.kin-rot.is-live .kin-rot__i.is-on {
  opacity: 1;
  transform: none;
}
.kin-rot.is-live .kin-rot__i.is-out {
  opacity: 0;
  transform: translate3d(0, calc(var(--kin-travel, 175%) * -1), 0);
  transition: transform .62s var(--e-inout), opacity .34s var(--e-out);
}

/* ---------- 5. PROVA ESTRUTURAL ---------- */
.kin-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
  padding-top: 1.85rem;
  border-top: 1px solid var(--line);
}
.kin-proof li {
  display: grid;
  gap: .3rem;
  align-content: start;
  padding-left: clamp(.85rem, 1.8vw, 1.5rem);
  border-left: 1px solid var(--line);
}
.kin-proof li:first-child { padding-left: 0; border-left: 0; }

.kin-proof b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.35rem, 1.05rem + .95vw, 1.9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  transition: color var(--t-fast), transform .45s var(--e-spring);
}
.kin-proof span {
  font-size: var(--fs-xs);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-2);
}
.kin-proof li:hover b {
  color: var(--brand);
  transform: translateY(-2px);
}
[data-theme="light"] .kin-proof li:hover b {
  color: color-mix(in srgb, var(--brand-deep) 82%, var(--ink));
}

.kin-proof__note {
  margin-top: 1.15rem;
  max-width: 52ch;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- 6. RESPONSIVO ---------- */
@media (max-width: 620px) {
  .kin-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }
  .kin-proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* Abaixo de 380px a maior palavra do rotador ("atendimento") encostaria
   nas bordas: reduz um degrau o tamanho da display. */
@media (max-width: 380px) {
  .kin-h { font-size: clamp(2.2rem, 1.1rem + 5.2vw, 2.65rem); }
  .kin-eyebrow__ver { padding-left: .6rem; }
}

/* ---------- 7. FAILSAFES E MOVIMENTO REDUZIDO ---------- */
/* Enquanto o preloader roda o style.css congela as transições dos
   [data-fade]; faz o mesmo aqui para nada disparar por baixo da cortina. */
/* Seletores propositalmente longos: precisam vencer .kin-h.is-split e
   .kin-rot.is-live na especificidade. */
html.is-loading .kin-h .kin-c__i,
html.is-loading .kin-rot .kin-rot__i,
html.is-loading .kin-eyebrow::before { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .kin-c__i,
  .kin-rot__i {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .kin-eyebrow::before {
    transform: none !important;
    animation: none !important;
  }
  .kin-rot,
  .kin-proof b { transition: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   MÓDULO: flow-rail (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   02. FLUXO — TRILHO HORIZONTAL  (namespace .rail__ / .rail-)
   Substitui o bloco ".sec--flow / .flow-grid / .steps" do style.css.

   A BASE deste arquivo é a versão empilhada: 4 painéis, um embaixo
   do outro, sem truque nenhum. O trilho horizontal é uma camada
   opcional que só entra a partir de 861px, com altura de tela
   suficiente e sem preferência por menos movimento.
   ============================================================= */

.rail {
  position: relative;
  padding-block: var(--sec-y);
  background: linear-gradient(180deg, transparent, var(--surface) 16%, var(--surface) 84%, transparent);

  /* Acento de TEXTO. O laranja puro rende ~2,5:1 sobre o fundo claro,
     o que reprova em texto pequeno; no tema claro escurecemos com a tinta. */
  --rail-accent: var(--brand-2);
}
[data-theme="light"] .rail {
  --rail-accent: color-mix(in srgb, var(--brand-deep) 70%, var(--ink));
}

/* ---------- cabeçalho ---------- */
.rail__head { display: grid; gap: 1rem; }
.rail__head-side { display: grid; gap: .9rem; align-content: end; justify-items: start; }
.rail__sub { color: var(--ink-2); font-size: var(--fs-lede); max-width: 46ch; }

/* A dica só faz sentido quando o trilho existe. */
.rail__hint { display: none; }

/* ---------- pista ---------- */
.rail__viewport {
  width: var(--wrap); margin-inline: auto;
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.rail__track { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }

/* ---------- painel ---------- */
.rail__card {
  position: relative;
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface), transparent 58%), var(--bg-2);
  box-shadow: var(--shadow);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.rail__card:hover { border-color: var(--line-2); }

@media (min-width: 700px) {
  .rail__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); }
}

.rail__txt { display: grid; gap: .7rem; align-content: start; }

.rail__n {
  display: inline-flex; align-items: center; gap: .55rem;
  width: fit-content;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .2em;
  color: var(--rail-accent);
}
.rail__n::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }

.rail__h { font-size: clamp(1.35rem, 1.05rem + 1.15vw, 2.05rem); letter-spacing: -.04em; }
.rail__p { color: var(--ink-2); max-width: 46ch; }

.rail__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
.rail__meta span {
  padding: .3rem .72rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); letter-spacing: .04em; color: var(--ink-2);
}

.rail__viz {
  position: relative;
  display: grid; place-items: center;
  padding: clamp(.7rem, 1.6vw, 1.15rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 82% 6%, rgb(var(--brand-glow) / .10), transparent 62%),
    var(--bg-3);
  overflow: hidden;
}

/* ---------- HUD ---------- */
.rail__hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
/* Sem trilho não há progresso horizontal para medir. */
.rail__meter { display: none; }
.rail__cta { flex: none; }

.rail__count {
  --rail-nh: 1.6em;
  display: inline-flex; align-items: center; gap: .32rem; flex: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-sm); font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.rail__win { display: block; height: var(--rail-nh); overflow: hidden; }
.rail__col { display: block; transition: transform .45s var(--e-out); }
.rail__col i {
  display: block; height: var(--rail-nh); line-height: var(--rail-nh);
  font-style: normal; font-weight: 700; color: var(--ink);
}
.rail__slash { opacity: .5; }

.rail__bar {
  display: block; flex: 1 1 auto; min-width: 60px;
  height: 3px; border-radius: 999px;
  background: var(--line); overflow: hidden;
}
.rail__bar > i {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(.25);
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 55%, var(--brand-2));
}

/* =============================================================
   VISUAIS DOS PASSOS (SVG)
   O reset global do style.css aplica `fill:none; stroke:currentColor`
   a TUDO dentro de <svg>. Por isso todo texto precisa reabilitar
   `fill` e desligar `stroke` explicitamente.
   ============================================================= */

.rail-viz { width: 100%; height: auto; aspect-ratio: 320 / 200; }

.rail-viz text {
  stroke: none; fill: var(--ink-2);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
/* Dupla classe para vencer a especificidade de `.rail-viz text`. */
.rail-viz .rail-viz__t  { fill: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: -.015em; }
.rail-viz .rail-viz__ts {
  fill: var(--ink-3); font-size: 8.2px; font-weight: 500; letter-spacing: .04em;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.rail-viz .rail-viz__t--brand { fill: var(--rail-accent); }
.rail-viz .rail-viz__t--mid   { text-anchor: middle; }

.rail-viz__pane { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.rail-viz__line { fill: none; stroke: var(--line-2); stroke-width: 1.3; }
.rail-viz__fill { fill: var(--brand); stroke: none; }

/* ---------- 01 · QR Code + status da instância ---------- */
.rail-qr__finder rect { fill: rgb(var(--brand-glow) / .12); stroke: var(--brand); stroke-width: 4; }
.rail-qr__mods rect   { fill: var(--ink); stroke: none; opacity: .78; }

.rail-qr__beam { fill: var(--brand); stroke: none; opacity: .16; }
.rail-qr__line { fill: var(--brand); stroke: none; }
/* Move as duas peças e NÃO o <g>: um transform no <g> arrastaria junto
   o clip-path (userSpaceOnUse) e o recorte deixaria de conter o feixe. */
.rail-qr__beam, .rail-qr__line { animation: railScan 3.4s var(--e-inout) infinite alternate; }
@keyframes railScan { from { transform: translateY(0) } to { transform: translateY(150px) } }

.rail-qr__halo {
  fill: rgb(var(--brand-glow) / .2); stroke: none;
  transform-box: fill-box; transform-origin: center;
  animation: railHalo 2.6s var(--e-out) infinite;
}
@keyframes railHalo { 0% { transform: scale(.45); opacity: .9 } 72%, 100% { transform: scale(1); opacity: 0 } }

.rail-qr__bars rect {
  fill: var(--brand); stroke: none;
  transform-box: fill-box; transform-origin: bottom;
  animation: railBars 1.9s var(--e-inout) infinite alternate;
}
.rail-qr__bars rect:nth-child(2) { animation-delay: .12s }
.rail-qr__bars rect:nth-child(3) { animation-delay: .24s }
.rail-qr__bars rect:nth-child(4) { animation-delay: .36s }
@keyframes railBars { from { transform: scaleY(.42) } to { transform: scaleY(1) } }

/* ---------- 02 · grupos de instruções → agente ---------- */
.rail-ag__chip rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.rail-ag__node { fill: rgb(var(--brand-glow) / .12); stroke: rgb(var(--brand-glow) / .5); stroke-width: 1.3; }

.rail-ag__star {
  transform-box: fill-box; transform-origin: center;
  animation: railStar 3s var(--e-inout) infinite alternate;
}
@keyframes railStar { from { transform: scale(.86); opacity: .72 } to { transform: scale(1.1); opacity: 1 } }

.rail-ag__spark { fill: var(--brand); stroke: none; }
.rail-ag__spark--1 { animation: railSpark1 2.6s var(--e-inout) infinite; }
.rail-ag__spark--2 { animation: railSpark2 2.6s var(--e-inout) .35s infinite; }
.rail-ag__spark--3 { animation: railSpark3 2.6s var(--e-inout) .7s infinite; }
@keyframes railSpark1 { 0% { transform: none; opacity: 0 } 15%, 80% { opacity: 1 } 100% { transform: translate(54px, 43px); opacity: 0 } }
@keyframes railSpark2 { 0% { transform: none; opacity: 0 } 15%, 80% { opacity: 1 } 100% { transform: translate(54px, 0); opacity: 0 } }
@keyframes railSpark3 { 0% { transform: none; opacity: 0 } 15%, 80% { opacity: 1 } 100% { transform: translate(54px, -43px); opacity: 0 } }

.rail-ag__out {
  transform-box: fill-box; transform-origin: center;
  animation: railOut 2.6s var(--e-out) 1.1s infinite;
}
@keyframes railOut { 0%, 100% { transform: scale(.8); opacity: .35 } 22% { transform: scale(1.35); opacity: 1 } }

/* ---------- 03 · itens da lista sendo reordenados ---------- */
.rail-sort__row rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.rail-sort__grip { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
.rail-viz .rail-sort__idx text {
  fill: var(--ink-3); font-size: 7.8px; letter-spacing: .06em;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.rail-sort__row--move rect { fill: rgb(var(--brand-glow) / .14); stroke: rgb(var(--brand-glow) / .5); }
.rail-sort__row--move .rail-sort__grip { stroke: var(--brand); }

/* 3 linhas giram entre si; a quarta fica parada. 38 = altura de um passo. */
.rail-sort__row--a, .rail-sort__row--b { animation: railSortDown 5s var(--e-inout) infinite; }
.rail-sort__row--move { animation: railSortUp 5s var(--e-inout) infinite; }
@keyframes railSortDown { 0%, 18% { transform: none } 34%, 64% { transform: translateY(38px) } 80%, 100% { transform: none } }
@keyframes railSortUp   { 0%, 18% { transform: none } 34%, 64% { transform: translateY(-76px) } 80%, 100% { transform: none } }

/* ---------- 04 · cron, recorrência e backup ---------- */
.rail-cron__chip { fill: rgb(var(--brand-glow) / .12); stroke: rgb(var(--brand-glow) / .38); stroke-width: 1; }
.rail-viz--cron .rail-viz__t--brand {
  font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .06em;
}
.rail-cron__ticks rect { fill: var(--ink-3); stroke: none; opacity: .5; }

.rail-cron__head { animation: railCronHead 5.4s var(--e-inout) infinite; }
@keyframes railCronHead { 0% { transform: translateX(0); opacity: 0 } 8%, 88% { opacity: 1 } 100% { transform: translateX(280px); opacity: 0 } }

.rail-cron__ringbg { fill: none; stroke: var(--line-2); stroke-width: 3; }
.rail-cron__ring {
  fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round;
  /* Arco fixo girando: só transform anima, nada de stroke-dashoffset. */
  stroke-dasharray: 40 86;
  transform-box: fill-box; transform-origin: center;
  animation: railSpin 2.4s linear infinite;
}
@keyframes railSpin { to { transform: rotate(360deg) } }

.rail-cron__bars rect {
  stroke: none; transform-box: fill-box; transform-origin: bottom;
  animation: railBars 2.2s var(--e-inout) infinite alternate;
}
.rail-cron__bars .rail-cron__b1 { fill: rgb(var(--brand-glow) / .4) }
.rail-cron__bars .rail-cron__b2 { fill: rgb(var(--brand-glow) / .58); animation-delay: .14s }
.rail-cron__bars .rail-cron__b3 { fill: rgb(var(--brand-glow) / .78); animation-delay: .28s }
.rail-cron__bars .rail-cron__b4 { fill: var(--brand); animation-delay: .42s }

/* =============================================================
   TRILHO HORIZONTAL
   Container alto + filho sticky. O scroll é o nativo, nunca é
   sequestrado, e a altura é finita — a página sempre continua.

   O @supports de container-type não é decoração: toda a geometria
   do trilho (largura do painel, recuo lateral, distância total)
   nasce de 100cqw. Sem ele, cai na versão empilhada.
   ============================================================= */
@supports (container-type: inline-size) {
@media (min-width: 861px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {

  .rail { padding-block: 0; background: none; }

  .rail__scroller {
    --rail-run: 88svh;                              /* percurso por passo */
    height: calc(100svh + 3 * var(--rail-run));     /* 4 painéis => 3 passos */
    background: linear-gradient(180deg, transparent, var(--surface) 6%, var(--surface) 94%, transparent);
  }

  .rail__sticky {
    position: sticky; top: 0;
    height: 100svh;
    display: flex; flex-direction: column;
    gap: clamp(.9rem, 2.2vh, 1.8rem);
    padding-top: calc(var(--nav-h) + clamp(1rem, 3vh, 2.6rem));
    padding-bottom: clamp(1rem, 3vh, 2.4rem);
  }

  .rail__head {
    flex: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(1.2rem, 3vw, 3rem);
    align-items: end;
  }
  .rail__title { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.15rem); }
  .rail__sub { font-size: var(--fs-body); max-width: 38ch; }

  .rail__hint {
    position: relative;
    display: inline-flex; align-items: center;
    padding-right: 42px;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .18em;
    color: var(--ink-2);
  }
  .rail__hint::before {
    content: ""; position: absolute; right: 0; top: 50%;
    width: 32px; height: 1px; background: var(--line-2);
  }
  .rail__hint::after {
    content: ""; position: absolute; right: 0; top: 50%; margin-top: -2.5px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
    animation: railHintDot 2.2s var(--e-inout) infinite;
  }
  @keyframes railHintDot {
    0%   { transform: translateX(-28px); opacity: 0 }
    25%, 70% { opacity: 1 }
    100% { transform: translateX(0); opacity: 0 }
  }

  /* `overflow: clip` em vez de `hidden`: recorta sem virar container de
     scroll, então nada (nem o "localizar na página") consegue rolar a
     faixa para o lado e desalinhar o trilho. */
  .rail__viewport {
    flex: 1 1 auto; min-height: 0;
    width: auto; margin: 0;
    overflow: clip;
    container-type: inline-size;
  }

  .rail__track {
    --rail-gap: clamp(1.5rem, 4cqw, 4rem);
    /* Mesma fórmula do --wrap: o painel 01 nasce alinhado ao cabeçalho. */
    --rail-pw:  min(1220px, 100cqw - clamp(1.25rem, 5vw, 5rem));
    --rail-side: calc((100cqw - var(--rail-pw)) / 2);
    --rail-span: calc(3 * (var(--rail-pw) + var(--rail-gap)));

    display: flex; align-items: center;
    width: max-content; height: 100%;
    gap: var(--rail-gap);
    padding-inline: var(--rail-side);
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .rail__panel { width: var(--rail-pw); flex: none; }
  /* Telas baixas: o visual cede espaço antes do texto. */
  .rail-viz { max-height: min(300px, 30svh); }

  .rail__hud { flex: none; flex-wrap: nowrap; margin-top: 0; gap: clamp(1.2rem, 3vw, 2.5rem); }
  .rail__meter { display: flex; align-items: center; gap: 1rem; flex: 1 1 auto; min-width: 0; }

  /* ---------- caminho A: sem JS nenhum ---------- */
  @supports (animation-timeline: view()) {
    /* `contain 0% → 100%` é exatamente a janela em que o sticky fica preso. */
    .rail__scroller { view-timeline: --railView block; }

    /* Ordem obrigatória: o atalho `animation` reseta animation-timeline e
       animation-range para os valores iniciais. Os longhands vêm DEPOIS,
       igual ao que o style.css faz em .progress__bar. */
    .rail__track   { animation: railSlide linear both; }
    .rail__bar > i { animation: railFill linear both; }
    .rail__col     { animation: railCount linear both; transition: none; }

    .rail__track,
    .rail__bar > i,
    .rail__col {
      animation-timeline: --railView;
      animation-range: contain 0% contain 100%;
    }

    @keyframes railSlide {
      from { transform: translate3d(0, 0, 0) }
      to   { transform: translate3d(calc(var(--rail-span) * -1), 0, 0) }
    }
    @keyframes railFill { from { transform: scaleX(.25) } to { transform: scaleX(1) } }
    /* Odômetro: platôs longos e viradas curtas nos pontos 1/6, 3/6 e 5/6. */
    @keyframes railCount {
      0%,  11%  { transform: translateY(0) }
      22%, 44%  { transform: translateY(-25%) }
      55%, 78%  { transform: translateY(-50%) }
      89%, 100% { transform: translateY(-75%) }
    }
  }
}
}

/* =============================================================
   MOVIMENTO REDUZIDO
   O trilho já está fora pela media query acima; aqui só zeramos
   as animações de repouso dos SVGs para que cada visual descanse
   exatamente na pose desenhada no HTML.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .rail-viz, .rail-viz * { animation: none !important; transform: none !important; }
  .rail__col, .rail__bar > i { transition: none !important; }
  .rail__hint { display: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   MÓDULO: agent-demo (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   05. DEMONSTRAÇÃO INTERATIVA  (namespace .demo-)
   Atenção: o style.css já usa .demo-wa/.demo-list/.demo-bars/
   .demo-instr/.demo-perm/.demo-cron nos cards do bento.
   Nenhum nome aqui colide com esses.
   ============================================================= */

.demo-sec {
  position: relative;
  /* Tinta escura usada sobre o laranja — mesma do .btn--primary do sistema. */
  --demo-on-brand: #180f07;
  /* Acento de TEXTO. O laranja puro rende ~2,6:1 sobre fundo claro, o que
     reprova em texto pequeno; no tema claro escurecemos com a tinta do tema. */
  --demo-accent: var(--brand-2);
}
[data-theme="light"] .demo-sec {
  --demo-accent: color-mix(in srgb, var(--brand-deep) 72%, var(--ink));
}

/* ---------- palco ---------- */
.demo-stage {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(.95rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(168deg, var(--surface), transparent 58%), var(--bg-2);
  box-shadow: var(--shadow);
}

/* ---------- barra de controle ---------- */
.demo-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .7rem;
}
.demo-picker { display: flex; flex-wrap: wrap; gap: .45rem; }

.demo-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.015em;
  color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-med);
}
.demo-chip__n {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-style: normal; font-size: .64rem; letter-spacing: .12em;
  color: var(--ink-3);
  transition: color var(--t-fast);
}
.demo-chip:hover { color: var(--ink); border-color: var(--line-2); }
.demo-chip[aria-pressed="true"] {
  background: linear-gradient(140deg, var(--brand-2), var(--brand) 45%, var(--brand-deep));
  border-color: transparent;
  color: var(--demo-on-brand);
  box-shadow: 0 12px 28px -14px rgb(var(--brand-glow) / .95);
}
.demo-chip[aria-pressed="true"] .demo-chip__n {
  color: color-mix(in srgb, var(--demo-on-brand) 62%, transparent);
}

.demo-replay {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.demo-replay:hover {
  color: var(--demo-accent);
  border-color: rgb(var(--brand-glow) / .55);
  background: rgb(var(--brand-glow) / .08);
}
.demo-replay svg { width: 15px; height: 15px; transition: transform .8s var(--e-out); }
.demo-replay.is-spin svg { transform: rotate(-360deg); }

/* ---------- grade dos 3 painéis + 2 fios ---------- */
.demo-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(.4rem, .9vw, .8rem);
  align-items: stretch;
}

.demo-panel {
  position: relative;
  display: flex; flex-direction: column; gap: .7rem;
  padding: clamp(.95rem, 1.5vw, 1.25rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-3);
  transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med);
}
.demo-panel.is-on {
  border-color: rgb(var(--brand-glow) / .42);
  background: linear-gradient(165deg, rgb(var(--brand-glow) / .09), transparent 55%), var(--bg-3);
  box-shadow: 0 20px 48px -32px rgb(var(--brand-glow) / .85);
}

.demo-panel__head {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: .55rem .7rem; align-items: center;
}
.demo-panel__ico {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--ink-3);
  transition: color var(--t-med), background var(--t-med), border-color var(--t-med);
}
.demo-panel__ico svg { width: 17px; height: 17px; stroke-width: 1.9; }
.demo-panel.is-on .demo-panel__ico {
  color: var(--demo-accent);
  background: rgb(var(--brand-glow) / .14);
  border-color: rgb(var(--brand-glow) / .35);
}
.demo-panel__n {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
}
.demo-panel__t { font-size: .95rem; letter-spacing: -.032em; margin-top: .1rem; }

.demo-panel__state {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; gap: .42rem; width: fit-content;
  padding: .24rem .6rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .66rem; letter-spacing: .1em;
  color: var(--ink-3);
  transition: color var(--t-med), border-color var(--t-med), background var(--t-med);
}
.demo-panel__state em { font-style: normal; }
.demo-panel__led {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--ink-3);
  transition: background var(--t-med);
}
.demo-panel.is-on .demo-panel__state {
  color: var(--demo-accent);
  border-color: rgb(var(--brand-glow) / .4);
  background: rgb(var(--brand-glow) / .08);
}
.demo-panel.is-on .demo-panel__led { background: var(--brand); }

.demo-panel__s {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .68rem; letter-spacing: .01em; color: var(--ink-3);
  overflow-wrap: anywhere;
}
.demo-panel__body { display: grid; gap: .65rem; align-content: start; flex: 1; }

/* ---------- painel 1: conversa ---------- */
/* Altura reservada: o texto cresce durante a digitação e sem isso a grade pula. */
.demo-thread { display: grid; gap: .5rem; justify-items: start; align-content: start; min-height: 9rem; }
.demo-thread.is-out { justify-items: end; text-align: right; }
.demo-thread__who { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }

.demo-bubble {
  max-width: 100%;
  padding: .62rem .85rem;
  border-radius: 16px; border-bottom-left-radius: 5px;
  background: var(--surface-2); color: var(--ink);
  font-size: .85rem; line-height: 1.5; text-align: left;
}
.demo-bubble--out {
  border-bottom-left-radius: 16px; border-bottom-right-radius: 5px;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  color: var(--demo-on-brand); font-weight: 600;
}
.demo-caret {
  display: none; width: 2px; height: 1em; margin-left: 2px;
  vertical-align: -.14em; border-radius: 1px; background: currentColor;
  animation: demo-caret 1s steps(2) infinite;
}
.demo-bubble.is-typing .demo-caret { display: inline-block; }
@keyframes demo-caret { 50% { opacity: 0 } }

.demo-dots {
  display: none; gap: 4px;
  padding: .55rem .8rem; border-radius: 14px; border-bottom-left-radius: 5px;
  background: var(--surface-2);
}
.demo-dots.is-on { display: inline-flex; }
.demo-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: demo-dot 1.3s infinite; }
.demo-dots i:nth-child(2) { animation-delay: .18s }
.demo-dots i:nth-child(3) { animation-delay: .36s }
@keyframes demo-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4 }
  30% { transform: translateY(-4px); opacity: 1 }
}

/* ---------- painel 2: agente ---------- */
.demo-agent { font-size: .82rem; color: var(--ink-2); line-height: 1.5; }
.demo-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-top: .2rem;
}

.demo-groups { display: flex; flex-wrap: wrap; gap: .35rem; }
.demo-group {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .34rem .62rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .74rem; font-weight: 600; color: var(--ink-2);
  opacity: 0; transform: translateY(7px) scale(.96);
  transition: opacity .45s var(--e-out), transform .5s var(--e-spring),
              color var(--t-med), border-color var(--t-med), background var(--t-med);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.demo-group b {
  font-size: .6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-2);
}
.demo-groups.is-on .demo-group {
  opacity: 1; transform: none;
  color: var(--demo-accent);
  border-color: rgb(var(--brand-glow) / .45);
  background: rgb(var(--brand-glow) / .09);
}
.demo-groups.is-on .demo-group b { color: var(--ink-2); }

.demo-rules { display: grid; gap: .45rem; }
.demo-rule {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem;
  align-items: start;
  font-size: .8rem; line-height: 1.45; color: var(--ink-2);
  opacity: 0; transform: translateX(-8px);
  transition: opacity .5s var(--e-out), transform .5s var(--e-out), color var(--t-med);
  transition-delay: calc(var(--i, 0) * 150ms + 120ms);
}
.demo-rules.is-on .demo-rule { opacity: 1; transform: none; color: var(--ink); }
.demo-rule > i {
  position: relative; flex: none;
  width: 15px; height: 15px; margin-top: .22em;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--surface-2);
  transition: background var(--t-med), border-color var(--t-med);
  transition-delay: calc(var(--i, 0) * 150ms + 120ms);
}
.demo-rules.is-on .demo-rule > i {
  border-color: rgb(var(--brand-glow) / .6);
  background: rgb(var(--brand-glow) / .18);
}
.demo-rule > i::after {
  content: ""; position: absolute; left: 3.4px; top: 4.2px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--brand); border-bottom: 1.5px solid var(--brand);
  transform: rotate(-45deg) scale(.3); opacity: 0;
  transition: transform .45s var(--e-spring), opacity .3s var(--e-out);
  transition-delay: calc(var(--i, 0) * 150ms + 300ms);
}
.demo-rules.is-on .demo-rule > i::after { transform: rotate(-45deg) scale(1); opacity: 1; }

/* ---------- painel 3: resultado ---------- */
.demo-out { display: grid; gap: .5rem; }
.demo-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem;
  align-items: start;
  padding: .7rem .8rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
  opacity: 0; transform: translateY(12px) scale(.97);
  transition: opacity .55s var(--e-out), transform .6s var(--e-spring), border-color var(--t-med);
  transition-delay: calc(var(--i, 0) * 170ms);
}
.demo-out.is-on .demo-card { opacity: 1; transform: none; border-color: rgb(var(--brand-glow) / .3); }
.demo-card__ico {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgb(var(--brand-glow) / .14); color: var(--demo-accent);
}
.demo-card__ico svg { width: 15px; height: 15px; stroke-width: 1.9; }
.demo-card__body { display: grid; gap: .12rem; }
.demo-card__tag {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-style: normal; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--demo-accent);
}
.demo-card b { font-size: .84rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.demo-card span { font-size: .7rem; color: var(--ink-3); font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ---------- fios SVG ---------- */
/* pathLength="1" normaliza o traço: o mesmo dashoffset serve para o fio
   horizontal e para o vertical, sem medir nada em JS. */
.demo-wire { display: grid; place-items: center; align-self: center; min-width: 42px; }
.demo-wire__h { width: 48px; height: 12px; }
.demo-wire__v { display: none; width: 12px; height: 40px; }
.demo-wire__track { stroke: var(--line-2); stroke-width: 1.4; stroke-dasharray: 3 4; }
.demo-wire__live {
  stroke: var(--brand); stroke-width: 2;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .75s var(--e-out);
}
.demo-wire.is-on .demo-wire__live { stroke-dashoffset: 0; }
.demo-wire__tip {
  fill: var(--brand); stroke: none;
  opacity: 0; transform: scale(.2);
  transform-box: fill-box; transform-origin: center;
  transition: opacity .3s var(--e-out) .5s, transform .45s var(--e-spring) .5s;
}
.demo-wire.is-on .demo-wire__tip { opacity: 1; transform: none; }

/* ---------- rodapé da seção ---------- */
.demo-note {
  margin-top: 1.6rem; text-align: center;
  font-size: var(--fs-sm); color: var(--ink-3); max-width: 62ch; margin-inline: auto;
}

/* Região de anúncio só para leitores de tela */
.demo-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- responsivo ---------- */
@media (max-width: 1040px) {
  /* Empilhado: os fios giram 90° trocando de SVG (sem distorcer o traço). */
  .demo-panels { grid-template-columns: minmax(0, 1fr); }
  .demo-wire { min-width: 0; padding-block: .1rem; }
  .demo-wire__h { display: none; }
  .demo-wire__v { display: block; }
  .demo-thread { min-height: 0; }
}
@media (max-width: 620px) {
  .demo-bar { justify-content: flex-start; }
  .demo-chip { font-size: .82rem; padding: .5rem .8rem; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  /* Sem digitação, sem traço correndo: o JS já entrega o desfecho pronto. */
  .demo-caret, .demo-dots, .demo-dots.is-on { display: none !important; }
  .demo-group, .demo-rule, .demo-rule > i, .demo-rule > i::after,
  .demo-card, .demo-wire__live, .demo-wire__tip, .demo-replay svg {
    transition: none !important; transition-delay: 0s !important;
  }
}


/* ═══════════════════════════════════════════════════════════
   MÓDULO: pricing-lab (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   PRICING LAB — calculadora de economia (.calc) + matriz (.cmp)
   Colar no final do style.css, ANTES do bloco 23 (movimento reduzido)
   e do @media print, para que aquelas regras continuem tendo a última palavra.
   ============================================================= */

/* Texto só para leitor de tela (o projeto ainda não tinha um utilitário desses;
   fica namespaced para não virar API global sem querer). */
.calc__sr, .cmp__sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  overflow: hidden; white-space: nowrap;
  clip-path: inset(50%);
}

/* =============================================================
   PEÇA 1 — CALCULADORA
   ============================================================= */
.calc {
  position: relative; isolation: isolate;
  margin-block: clamp(2.4rem, 4.5vw, 3.8rem) clamp(3rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--surface), transparent 55%), var(--bg-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Brilho de marca preso ao canto superior — decorativo, sem custo de repaint. */
.calc::before {
  content: ""; position: absolute; z-index: -1;
  inset: -40% -20% auto -20%; height: 90%;
  background: radial-gradient(55% 100% at 72% 0%, rgb(var(--brand-glow) / .17), transparent 70%);
  pointer-events: none;
}

.calc__head { max-width: 62ch; }
.calc__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink-2);
  margin-bottom: 1rem;
}
.calc__badge {
  padding: .26rem .6rem; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-deep));
  color: #180f07; font-weight: 700; letter-spacing: .12em;
}
.calc__title { font-size: clamp(1.45rem, 1.1rem + 1.35vw, 2.15rem); }
.calc__lede { margin-top: .9rem; color: var(--ink-2); font-size: var(--fs-body); }

.calc__grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* ---------- controles ---------- */
.calc__panel { min-width: 0; }
/* fieldset ainda carrega min-width:min-content herdado do UA */
.calc__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.calc__set + .calc__set {
  margin-top: 1.7rem; padding-top: 1.5rem;
  border-top: 1px dashed var(--line);
}
.calc__legend {
  padding: 0; float: left; width: 100%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2);
  margin-bottom: 1.2rem;
}
/* `float:left` no legend tira o comportamento de recorte da borda do fieldset;
   o clear devolve o fluxo normal ao conteúdo. */
.calc__fields { clear: both; }

.calc-f + .calc-f { margin-top: 1.4rem; }
.calc-f__row { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.calc-f__lab {
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: -.02em; color: var(--ink);
  cursor: pointer;
}
.calc-f__val {
  margin-left: auto; flex: none;
  display: inline-flex; align-items: baseline; gap: .15rem;
  padding: .34rem .62rem; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.calc-f__val:focus-within {
  border-color: var(--brand);
  background: rgb(var(--brand-glow) / .1);
  box-shadow: 0 0 0 3px rgb(var(--brand-glow) / .3);
}
.calc-f__pre, .calc-f__suf { font-size: .74rem; color: var(--ink-2); }
.calc-f__num {
  width: 4.6ch; padding: 0; border: 0; background: none;
  color: var(--ink); font: inherit; font-size: .88rem; font-weight: 500;
  text-align: right; line-height: 1.4;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-f__num::-webkit-outer-spin-button,
.calc-f__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* O anel de foco vive no contêiner (.calc-f__val), então o input não repete o outline. */
.calc-f__num:focus { outline: none; }

/* --- range: mesmo desenho nos dois motores --- */
.calc-f__range {
  -webkit-appearance: none; appearance: none;
  accent-color: var(--brand);            /* rede de segurança se os pseudos falharem */
  display: block; width: 100%; height: 22px;
  background: transparent; cursor: pointer;
  border-radius: 999px;
}
.calc-f__range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg,
    var(--brand-2), var(--brand) var(--p, 50%), var(--line-2) var(--p, 50%));
}
.calc-f__range::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg,
    var(--brand-2), var(--brand) var(--p, 50%), var(--line-2) var(--p, 50%));
}
.calc-f__range::-moz-range-progress { height: 6px; background: transparent; }
.calc-f__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin-top: -7px; border-radius: 50%;
  background: linear-gradient(150deg, var(--brand-2), var(--brand) 45%, var(--brand-deep));
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 1px rgb(var(--brand-glow) / .6),
              0 8px 18px -8px rgb(var(--brand-glow) / .95);
  transition: transform .2s var(--e-spring);
}
.calc-f__range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(150deg, var(--brand-2), var(--brand) 45%, var(--brand-deep));
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 1px rgb(var(--brand-glow) / .6),
              0 8px 18px -8px rgb(var(--brand-glow) / .95);
  transition: transform .2s var(--e-spring);
}
.calc-f__range:hover::-webkit-slider-thumb { transform: scale(1.14); }
.calc-f__range:hover::-moz-range-thumb { transform: scale(1.14); }
.calc-f__range:active::-webkit-slider-thumb { transform: scale(.94); }
.calc-f__range:active::-moz-range-thumb { transform: scale(.94); }

.calc-f__hint {
  margin-top: .55rem; max-width: 46ch;
  font-size: .78rem; line-height: 1.5; color: var(--ink-2);
}

/* ---------- resultado ---------- */
.calc__out {
  position: relative; overflow: hidden; min-width: 0;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgb(var(--brand-glow) / .1), transparent 58%), var(--bg-3);
}
.calc__out::before {
  content: ""; position: absolute; left: -14%; top: -22%;
  width: 62%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgb(var(--brand-glow) / .22), transparent 68%);
}
.calc-o__cap {
  position: relative;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2);
}
.calc-o__big {
  position: relative;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem;
  margin-top: .45rem;
}
.calc-o__cur { font-size: clamp(1.1rem, .9rem + .6vw, 1.5rem); font-weight: 700; color: var(--brand); }
/* O número é a informação mais importante da seção: fica em --ink nos dois temas,
   porque gradiente laranja sobre fundo claro não fecha contraste. */
.calc-o__n {
  font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.1rem);
  font-weight: 800; letter-spacing: -.055em; line-height: .92;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.calc-o__sfx { font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.calc-o__year { position: relative; margin-top: .5rem; font-size: .88rem; color: var(--ink-2); }
.calc-o__year b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

.calc-o__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem; margin-top: 1.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.calc-o__grid > div { display: grid; gap: .25rem; align-content: start; }
.calc-o__grid dt { font-size: var(--fs-xs); line-height: 1.4; color: var(--ink-2); }
.calc-o__grid dd { margin: 0; font-size: .98rem; font-weight: 700; letter-spacing: -.025em; color: var(--ink); }
.calc-o__grid dd b { font-variant-numeric: tabular-nums; }
.calc-o__grid dd small { font-size: .72rem; font-weight: 500; color: var(--ink-2); }
.calc-o__grid > div.is-neg dd { color: var(--ink-2); }

.calc-o__warn {
  position: relative;
  margin-top: 1rem; padding: .7rem .85rem;
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: .78rem; line-height: 1.5; color: var(--ink-2);
}
.calc-o__warn[hidden] { display: none; }

.calc-rec { position: relative; margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.calc-rec__cap {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; color: var(--ink-2);
}
.calc-rec__name {
  margin-top: .15rem;
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.05rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1.05;
  background: linear-gradient(100deg, var(--brand-2), var(--brand) 40%, var(--brand-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.calc-rec__scale {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .35rem; margin: .9rem 0 1rem;
}
.calc-rec__scale li {
  padding: .45rem .3rem; border-radius: 999px; text-align: center;
  border: 1px solid var(--line); background: var(--surface);
  font-size: .68rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2);
  transition: background var(--t-med), color var(--t-med),
              border-color var(--t-med), transform var(--t-med), box-shadow var(--t-med);
}
.calc-rec__scale li.is-on {
  background: linear-gradient(140deg, var(--brand-2), var(--brand) 45%, var(--brand-deep));
  color: #180f07; border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgb(var(--brand-glow) / .95);
}
/* Altura reservada: o texto muda de tamanho e a coluna não pode dançar. */
.calc-rec__why { font-size: .85rem; line-height: 1.55; color: var(--ink-2); min-height: 4.7em; }
.calc-rec__cycle {
  margin: .5rem 0 1rem;
  font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .02em;
}

/* Realce temporário no cartão do plano recomendado, disparado pelo CTA. */
.plan.calc-flash {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
  box-shadow: 0 0 0 6px rgb(var(--brand-glow) / .16), var(--shadow);
}

.calc__disc {
  position: relative;
  display: flex; align-items: flex-start; gap: .85rem;
  max-width: 92ch;
  margin-top: clamp(1.6rem, 3vw, 2.2rem); padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
  font-size: .8rem; line-height: 1.62; color: var(--ink-2);
}
.calc__disc svg { flex: none; width: 19px; height: 19px; margin-top: .12rem; color: var(--brand); }
.calc__disc b { color: var(--ink); font-weight: 700; }
.calc__disc code {
  display: inline-block;
  padding: .08rem .42rem; border-radius: 6px;
  background: var(--surface-2); color: var(--ink);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .74rem;
}

/* =============================================================
   PEÇA 2 — MATRIZ COMPARATIVA
   ============================================================= */
.cmp { margin-top: clamp(3.2rem, 6vw, 5.5rem); }
.cmp__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.2rem; margin-bottom: 1.6rem;
}
.cmp__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem); }
.cmp__lede { margin-top: .6rem; max-width: 56ch; font-size: .92rem; color: var(--ink-2); }
.cmp__legend { display: flex; gap: 1.1rem; font-size: var(--fs-xs); color: var(--ink-2); }
.cmp__legend span { display: inline-flex; align-items: center; gap: .45rem; }

/* `border-collapse: separate` é obrigatório: com `collapse` as bordas do
   cabeçalho grudento somem ao rolar. */
.cmp__table {
  width: 100%; table-layout: fixed;
  border-collapse: separate; border-spacing: 0;
}
.cmp__cap {
  caption-side: top; text-align: left; padding-bottom: 1.1rem;
  max-width: 70ch;
  font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2);
}

.cmp__table thead th {
  position: sticky; top: calc(var(--nav-h) + .4rem); z-index: 3;
  padding: .95rem .9rem;
  text-align: left; vertical-align: bottom;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line-2);
}
.cmp__corner {
  width: 34%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2);
}
.cmp__plan { display: block; font-size: 1.02rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.cmp__flag {
  display: inline-block; margin-top: .35rem;
  padding: .2rem .5rem; border-radius: 999px;
  background: linear-gradient(140deg, var(--brand-2), var(--brand-deep)); color: #180f07;
  font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
}

/* Coluna Pro: o tom vai em background-image para não brigar com o
   background-color opaco que o cabeçalho grudento precisa ter. */
.cmp__pop { background-image: linear-gradient(rgb(var(--brand-glow) / .07), rgb(var(--brand-glow) / .07)); }
.cmp__table thead .cmp__pop {
  background-image: linear-gradient(rgb(var(--brand-glow) / .15), rgb(var(--brand-glow) / .15));
  border-top: 1px solid rgb(var(--brand-glow) / .32);
  border-bottom-color: rgb(var(--brand-glow) / .45);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.cmp__grp-h th {
  padding: 1.7rem .9rem .55rem;
  text-align: left; border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: var(--fs-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink);
}
.cmp__grp-h th::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 16px; height: 2px; margin-right: .75rem; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-2));
}

.cmp__row th[scope="row"] {
  padding: .85rem .9rem; text-align: left;
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: -.015em; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.cmp__row td {
  padding: .85rem .9rem; vertical-align: middle;
  font-size: var(--fs-sm); color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.cmp__row td.cmp__pop { color: var(--ink); font-weight: 600; }
.cmp__row:hover th[scope="row"],
.cmp__row:hover td { background-color: var(--surface); }

.cmp__yes, .cmp__no { position: relative; display: inline-block; width: 18px; height: 18px; }
.cmp__yes::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgb(var(--brand-glow) / .18);
}
.cmp__yes::after {
  content: ""; position: absolute; left: 5px; top: 6px; width: 8px; height: 4px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.cmp__no::after {
  content: ""; position: absolute; left: 2px; top: 8px; width: 14px; height: 2px;
  border-radius: 2px; background: var(--ink-3);
}

.cmp__foot { margin-top: 1.6rem; font-size: var(--fs-sm); color: var(--ink-2); max-width: 62ch; }

/* Stagger das linhas. `.is-anim` só entra via JS: sem JS tudo nasce visível. */
.cmp.is-anim .cmp__grp > tr {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--e-out), transform .7s var(--e-out);
  transition-delay: calc(var(--r, 0) * 45ms);
}
.cmp.is-anim .cmp__grp.is-in > tr { opacity: 1; transform: none; }

/* =============================================================
   AJUSTES DE TEMA CLARO
   Laranja puro sobre fundo claro não fecha 4.5:1 em texto pequeno;
   onde a cor carrega informação, troca-se por --brand-deep ou --ink.
   ============================================================= */
[data-theme="light"] .calc-o__cur,
[data-theme="light"] .calc__disc svg { color: var(--brand-deep); }
[data-theme="light"] .calc-rec__name {
  background: none;
  -webkit-background-clip: border-box; background-clip: border-box;
  color: var(--brand-deep);
}
[data-theme="light"] .cmp__yes::after { border-color: var(--brand-deep); }

/* =============================================================
   RESPONSIVO
   ============================================================= */
@media (max-width: 1000px) {
  .calc__grid { grid-template-columns: 1fr; }
  .calc-rec__why { min-height: 0; }
}

/* Abaixo de 900px a tabela vira pilha de cartões — um cartão por RECURSO,
   com os três planos lado a lado dentro dele.
   Por que não scroll horizontal: numa matriz de comparação o gesto lateral
   esconde justamente a coluna que se quer comparar, e qualquer wrapper com
   `overflow-x` viraria o scrollport do `position: sticky`, matando o cabeçalho
   grudento também no desktop. O cartão por recurso mantém a comparação
   visível de uma só vez e zera o scroll lateral. */
@media (max-width: 900px) {
  .cmp__table,
  .cmp__table thead,
  .cmp__table tbody,
  .cmp__table tr,
  .cmp__table th,
  .cmp__table td { display: block; }

  .cmp__cap { display: block; }

  /* O cabeçalho some da tela mas continua na árvore de acessibilidade,
     para que a associação célula ↔ coluna sobreviva ao display: block.
     Os `role` explícitos no HTML garantem que a tabela siga sendo tabela. */
  .cmp__table thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; white-space: nowrap; clip-path: inset(50%);
  }
  .cmp__table thead th { position: static; }

  .cmp__grp { margin-bottom: 1.5rem; }
  .cmp__grp-h th {
    padding: 0 0 .8rem; border: 0;
    background-image: none;
  }

  .cmp__row {
    margin-bottom: .6rem; padding: 1rem 1.1rem;
    border: 1px solid var(--line); border-radius: var(--r-md);
    background: var(--bg-2);
  }
  .cmp__row th[scope="row"] {
    padding: 0 0 .75rem; border: 0;
    font-size: .95rem; font-weight: 700;
  }
  .cmp__row td {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .5rem 0; border: 0; border-top: 1px solid var(--line);
    text-align: right;
    background-image: none;
  }
  .cmp__row td::before {
    content: attr(data-plan);
    flex: none;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: var(--fs-xs); font-weight: 500;
    text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  }
  .cmp__row td.cmp__pop::before { color: var(--brand); }
  .cmp__row:hover th[scope="row"],
  .cmp__row:hover td { background-color: transparent; }

  [data-theme="light"] .cmp__row td.cmp__pop::before { color: var(--brand-deep); }
}

@media (max-width: 620px) {
  .calc { padding: 1.2rem 1.1rem 1.4rem; border-radius: var(--r-lg); }
  .calc-f__row { flex-wrap: wrap; gap: .5rem; }
  .calc-f__val { margin-left: 0; }
  .calc-o__grid { grid-template-columns: 1fr; gap: .85rem; }
  .calc-rec__scale { grid-template-columns: 1fr; gap: .3rem; }
  .calc-rec__scale li.is-on { transform: none; }
  .cmp__head { align-items: flex-start; }
}

/* =============================================================
   MOVIMENTO REDUZIDO
   O bloco 23 do style.css já zera durações; aqui garante-se que
   nada do módulo fique preso em estado invisível.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .cmp .cmp__grp > tr { opacity: 1 !important; transform: none !important; }
  .calc-rec__scale li.is-on { transform: none; }
  .calc-f__range::-webkit-slider-thumb { transition: none; }
  .calc-f__range::-moz-range-thumb { transition: none; }
}


/* ═══════════════════════════════════════════════════════════
   MÓDULO: micro-fx (css)
   ═══════════════════════════════════════════════════════════ */
/* =============================================================
   MICRO-FX — cursor v2, scramble, máscara, som e skew de scroll.
   Substitui integralmente a seção "5. CURSOR" do style.css.
   Tudo é gated por classes que o JS coloca no <html>:
     .fx-js         → o módulo bootou
     .fx-cursor-on  → cursor customizado ativo (ponteiro fino + sem reduced-motion)
     .fx-mask-on    → reveals por clip-path ativos
   Sem essas classes nada aparece nem some — a página fica igual sem JS.
   ============================================================= */

.fx-cursor,
.fx-sound {
  /* Única cor "sobre a marca" do módulo. O style.css usa #180f07 solto;
     aqui fica em um lugar só para não repetir literal em 5 regras. */
  --fx-on-brand: #180f07;
}

/* ---------- 1. CURSOR v2 ---------- */
.fx-cursor {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast);
  contain: layout style;
}
html.fx-cursor-on .fx-cursor { display: block; }
.fx-cursor.is-live { opacity: 1; }
.fx-cursor.is-out  { opacity: 0; }

/* Alguns navegadores mantêm :focus-visible depois de um clique e o anel
   parece se separar do ponto do cursor. A classe só existe no modo ponteiro;
   qualquer uso do teclado a remove antes que o próximo foco seja desenhado. */
html.fx-pointer-focus :focus-visible { outline: none; }

/* O ring é só o posicionador: recebe o translate do rAF e nada mais. */
.fx-cursor__ring,
.fx-cursor__dot {
  position: absolute; top: 0; left: 0;
  will-change: transform;
}

.fx-cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgb(var(--brand-glow) / .22);
  transition: opacity var(--t-fast), scale var(--t-fast);
}
/* Grudado ou com rótulo, o ponto vira coadjuvante. */
.fx-cursor.is-stuck .fx-cursor__dot { opacity: .45; scale: .7; }
.fx-cursor.is-label .fx-cursor__dot { opacity: 0; }

/* A forma é o que muda de tamanho/raio. Fica separada do posicionador
   para o translate do rAF nunca brigar com a transição elástica. */
.fx-cursor__shape {
  position: absolute; top: 0; left: 0;
  translate: -50% -50%;
  display: grid; place-items: center;
  width: var(--fx-w, 34px);
  height: var(--fx-h, 34px);
  border-radius: var(--fx-r, 999px);
  border: 1px solid rgb(var(--brand-glow) / .6);
  overflow: hidden;
  transition:
    width .46s var(--e-spring),
    height .46s var(--e-spring),
    border-radius .46s var(--e-spring),
    background var(--t-fast),
    border-color var(--t-fast),
    scale var(--t-fast);
}
/* No tema claro o laranja translúcido some sobre superfícies quase brancas. */
[data-theme="light"] .fx-cursor__shape { border-color: rgb(var(--brand-glow) / .9); }

.fx-cursor.is-hover .fx-cursor__shape {
  background: rgb(var(--brand-glow) / .12);
  border-color: rgb(var(--brand-glow) / .9);
}
.fx-cursor.is-stuck .fx-cursor__shape {
  background: rgb(var(--brand-glow) / .1);
  border-width: 1.5px;
  border-color: rgb(var(--brand-glow) / .85);
}
.fx-cursor.is-down .fx-cursor__shape { scale: .82; }

/* Rótulo contextual: pílula sólida da marca — legível sobre qualquer fundo,
   nos dois temas, sem depender do que está por baixo. */
.fx-cursor__label {
  display: block;
  padding-inline: .1rem;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .58rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  white-space: nowrap;
  color: var(--fx-on-brand);
  opacity: 0;
  scale: .8;
  transition: opacity var(--t-fast), scale .38s var(--e-spring);
}
.fx-cursor.is-label .fx-cursor__shape {
  background: var(--brand);
  border-color: var(--brand);
}
.fx-cursor.is-label .fx-cursor__label { opacity: 1; scale: 1; }

/* Esconde o cursor nativo apenas quando o customizado está de pé.
   (No style.css isso era incondicional: se o JS falhasse, ficava sem cursor.) */
@media (hover: hover) and (pointer: fine) {
  html.fx-cursor-on,
  html.fx-cursor-on body,
  html.fx-cursor-on a,
  html.fx-cursor-on button,
  html.fx-cursor-on [data-magnet],
  html.fx-cursor-on .acc__btn,
  html.fx-cursor-on .switch__opt { cursor: none; }
}

/* ---------- 2. MAGNÉTICO v2 ---------- */
/* O JS anima por rAF e escreve transform inline; aqui só o embrulho
   criado para links que eram texto puro (nav) ganhar caixa própria. */
.fx-mag__i { display: inline-block; will-change: transform; }

/* ---------- 3. SKEW POR VELOCIDADE DE SCROLL ---------- */
[data-skew] { transform-origin: 50% 50%; }

/* ---------- 4. TEXT SCRAMBLE ---------- */
/* Cópia real do texto, sempre no DOM para leitor de tela e busca.
   user-select: none evita texto duplicado ao copiar a página. */
.fx-scr__sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip-path: inset(50%);
  -webkit-user-select: none; user-select: none;
}
.fx-scr__vis { font-variant-ligatures: none; }

/* ---------- 5. REVEAL POR MÁSCARA ---------- */
html.fx-mask-on [data-mask] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.05s var(--e-inout);
  transition-delay: calc(var(--fx-md, 0) * 90ms);
}
html.fx-mask-on [data-mask="down"]   { clip-path: inset(100% 0 0 0); }
html.fx-mask-on [data-mask="left"]   { clip-path: inset(0 100% 0 0); }
html.fx-mask-on [data-mask="right"]  { clip-path: inset(0 0 0 100%); }
html.fx-mask-on [data-mask="circle"] { clip-path: circle(0% at 50% 55%); }

html.fx-mask-on [data-mask].fx-in            { clip-path: inset(0 0 0 0); }
html.fx-mask-on [data-mask="circle"].fx-in   { clip-path: circle(78% at 50% 50%); }

/* ---------- 6. TOGGLE DE SOM ---------- */
.fx-sound { display: none; }
html.fx-js .fx-sound { display: grid; }
.fx-sound[hidden] { display: none !important; }   /* sem WebAudio o JS esconde */

.fx-sound__i { transition: opacity var(--t-fast), transform .5s var(--e-spring); }
.fx-sound .fx-sound__i--on { display: none; }
.fx-sound[aria-pressed="true"] .fx-sound__i--on  { display: block; }
.fx-sound[aria-pressed="true"] .fx-sound__i--off { display: none; }
.fx-sound[aria-pressed="true"] {
  color: var(--brand);
  border-color: rgb(var(--brand-glow) / .5);
  background: rgb(var(--brand-glow) / .12);
}
/* A barra já está cheia no mobile: som é enfeite, sai primeiro. */
@media (max-width: 860px) {
  html.fx-js .fx-sound { display: none; }
}

/* ---------- 7. MOVIMENTO REDUZIDO ---------- */
/* O JS nem inicializa cursor/scramble/máscara/skew nesse modo; estas regras
   são o cinto de segurança caso as classes venham de um estado anterior. */
@media (prefers-reduced-motion: reduce) {
  .fx-cursor { display: none !important; }
  html.fx-cursor-on, html.fx-cursor-on body,
  html.fx-cursor-on a, html.fx-cursor-on button { cursor: auto !important; }
  html.fx-mask-on [data-mask] { clip-path: none !important; transition: none !important; }
  [data-skew] { transform: none !important; }
}

@media print {
  .fx-cursor, .fx-sound { display: none !important; }
  [data-mask] { clip-path: none !important; }
}

/* === MODULES:END === */

/* =============================================================
   LUNA · CONSULTORA FLOXIA
   ============================================================= */
.support {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 180;
  display: grid;
  justify-items: end;
  gap: .9rem;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.support__trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 12.5rem;
  min-height: 4rem;
  padding: .55rem .72rem .55rem .58rem;
  overflow: hidden;
  border: 1px solid rgb(var(--brand-glow) / .54);
  border-radius: 1.15rem;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgb(var(--brand-glow) / .16), transparent 48%),
    color-mix(in srgb, var(--bg-2) 90%, transparent);
  box-shadow:
    0 22px 54px -20px rgb(0 0 0 / .68),
    0 10px 30px -16px rgb(var(--brand-glow) / .72),
    inset 0 1px 0 rgb(255 255 255 / .09);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  font: inherit;
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-med);
}
.support__trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 20%, rgb(255 255 255 / .1) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform .8s var(--e-out);
}
.support__trigger:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--brand-glow) / .82);
  box-shadow:
    0 28px 62px -20px rgb(0 0 0 / .72),
    0 14px 36px -16px rgb(var(--brand-glow) / .86),
    inset 0 1px 0 rgb(255 255 255 / .12);
}
.support__trigger:hover::before { transform: translateX(120%); }
.support__trigger:focus-visible { outline: 3px solid rgb(var(--brand-glow) / .3); outline-offset: 4px; }

.support__trigger-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid rgb(var(--brand-glow) / .55);
  border-radius: .92rem;
  overflow: visible;
  color: #1b1008;
  background: var(--bg-2);
  box-shadow: 0 10px 24px -10px rgb(var(--brand-glow) / .9), inset 0 1px 0 rgb(255 255 255 / .32);
}
.support__trigger-mark img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.support__trigger-mark i {
  position: absolute;
  top: -.12rem;
  right: -.12rem;
  width: .55rem;
  height: .55rem;
  border: 2px solid var(--bg-2);
  border-radius: 50%;
  background: #49d98b;
  box-shadow: 0 0 0 3px rgb(73 217 139 / .12);
}
.support__trigger-copy { display: grid; flex: 1; gap: .04rem; text-align: left; }
.support__trigger-copy small {
  color: var(--ink-3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .09em;
  line-height: 1.25;
  text-transform: uppercase;
}
.support__trigger-copy b { font-size: .92rem; line-height: 1.3; letter-spacing: -.02em; }
.support__trigger-arrow { width: 1.05rem; height: 1.05rem; color: var(--brand); transition: transform var(--t-fast); }
.support__trigger:hover .support__trigger-arrow { transform: translateX(3px); }
.support__icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support__icon--close { display: none; }

.floxia-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 5dvh 1rem;
  background: rgb(3 4 7 / .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: floxia-modal-backdrop-in .24s ease-out both;
}
.floxia-modal[hidden] { display: none; }
.floxia-modal__window {
  display: flex;
  width: 40vw;
  height: 90dvh;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(var(--brand-glow) / .42);
  border-radius: 1.35rem;
  background: #090b10;
  box-shadow: 0 40px 120px -28px rgb(0 0 0 / .92), 0 16px 48px -28px rgb(var(--brand-glow) / .75);
  animation: floxia-modal-window-in .32s var(--e-out) both;
}
.floxia-modal__head {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem .65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink);
}
.floxia-modal__avatar {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgb(var(--brand-glow) / .5);
  border-radius: 50%;
  background: var(--bg-3);
  box-shadow: 0 0 0 3px rgb(var(--brand-glow) / .1);
}
.floxia-modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.floxia-modal__head strong { flex: 1; font-size: .96rem; letter-spacing: -.02em; }
.floxia-modal__close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.floxia-modal__close:hover { border-color: rgb(var(--brand-glow) / .55); color: var(--brand); transform: rotate(4deg); }
.floxia-modal__close:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.floxia-modal__close svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.floxia-modal__frame { width: 100%; min-height: 0; flex: 1; border: 0; background: #090b10; }
.floxia-modal-open { overflow: hidden; }

@keyframes floxia-modal-backdrop-in { from { opacity: 0; } }
@keyframes floxia-modal-window-in { from { opacity: 0; transform: translateY(1rem) scale(.97); } }
.support-open .support__trigger { display: none; }

.support__panel {
  position: relative;
  display: flex;
  width: min(30rem, calc(100vw - 2.3rem));
  height: min(46rem, calc(100dvh - 2.3rem));
  min-height: 31rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(var(--brand-glow) / .38);
  border-radius: 1.65rem;
  background:
    linear-gradient(180deg, rgb(var(--brand-glow) / .055), transparent 10rem),
    var(--bg-2);
  box-shadow:
    0 42px 110px -26px rgb(0 0 0 / .88),
    0 18px 52px -28px rgb(var(--brand-glow) / .78),
    inset 0 1px 0 rgb(255 255 255 / .08);
  transform-origin: calc(100% - 2rem) 100%;
  animation: support-in .48s var(--e-spring) both;
  isolation: isolate;
}
.support__panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -7rem;
  left: -5rem;
  width: 18rem;
  height: 13rem;
  border-radius: 50%;
  background: rgb(var(--brand-glow) / .14);
  filter: blur(52px);
  pointer-events: none;
}
.support__panel[hidden] { display: none; }

.support__head {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 0 0 auto;
  min-height: 5.2rem;
  align-items: center;
  gap: .82rem;
  padding: .82rem .86rem .82rem .9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 84%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}
.support__brain {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(var(--brand-glow) / .5);
  border-radius: 1.05rem;
  color: var(--brand);
  background: var(--bg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 12px 28px -18px rgb(var(--brand-glow) / .9);
}
.support__brain img { width: 100%; height: 100%; object-fit: cover; }
.support__identity { display: grid; flex: 1; gap: .08rem; min-width: 0; }
.support__identity strong { font-size: 1.05rem; line-height: 1.18; letter-spacing: -.025em; }
.support__identity small {
  overflow: hidden;
  color: var(--ink-2);
  font-size: .64rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.support__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  color: var(--ink-3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.support__eyebrow i {
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: #49d98b;
  box-shadow: 0 0 0 3px rgb(73 217 139 / .1);
  animation: support-live 2.1s ease-in-out infinite;
}
.support__close {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .82rem;
  color: var(--ink-2);
  background: var(--surface);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.support__close:hover { color: var(--brand); border-color: rgb(var(--brand-glow) / .45); background: rgb(var(--brand-glow) / .08); transform: rotate(4deg); }
.support__close svg { width: 1.12rem; height: 1.12rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.support__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.support__chat {
  position: relative;
  z-index: 1;
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
  background:
    radial-gradient(circle at 88% 2%, rgb(var(--brand-glow) / .13), transparent 18rem),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 91%, transparent), var(--bg)),
    var(--bg);
}
.support__welcome {
  display: flex;
  width: min(25rem, calc(100% - 2.2rem));
  min-height: 100%;
  margin: auto;
  padding: 1.6rem 0 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.support__welcome[hidden] { display: none; }
.support__welcome-mark {
  position: relative;
  display: grid;
  width: 4.75rem;
  height: 4.75rem;
  margin-bottom: 1rem;
  place-items: center;
  overflow: visible;
  border: 1px solid rgb(var(--brand-glow) / .42);
  border-radius: 50%;
  color: var(--brand);
  background:
    linear-gradient(145deg, rgb(var(--brand-glow) / .19), rgb(var(--brand-glow) / .04)),
    var(--bg-2);
  box-shadow: 0 24px 54px -25px rgb(var(--brand-glow) / .9), inset 0 1px 0 rgb(255 255 255 / .1);
}
.support__welcome-mark::before,
.support__welcome-mark::after {
  content: "";
  position: absolute;
  inset: -.7rem;
  border: 1px solid rgb(var(--brand-glow) / .1);
  border-radius: 50%;
  animation: support-orbit 4s ease-in-out infinite;
}
.support__welcome-mark::after { inset: -1.35rem; border-color: rgb(var(--brand-glow) / .055); animation-delay: -2s; }
.support__welcome-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.support__welcome-copy { display: grid; justify-items: center; }
.support__welcome-kicker {
  margin: 0 0 .48rem;
  color: var(--brand);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .59rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.support__welcome h2 { max-width: 22rem; margin: 0; font-size: clamp(1.45rem, 5vw, 1.8rem); letter-spacing: -.045em; word-spacing: .07em; }
.support__welcome-copy > p:not(.support__welcome-kicker) {
  max-width: 22.5rem;
  margin: .62rem 0 0;
  color: var(--ink-2);
  font-size: .76rem;
  line-height: 1.55;
}
.support__suggestions-label {
  align-self: stretch;
  margin: 1.05rem 0 .45rem;
  color: var(--ink-3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-align: left;
  text-transform: uppercase;
}
.support__suggestions { display: grid; width: 100%; gap: .42rem; }
.support__suggestions button {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 1rem;
  min-height: 3.4rem;
  padding: .48rem .7rem .48rem .55rem;
  align-items: center;
  gap: .68rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
  text-align: left;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.support__suggestions button:hover {
  border-color: rgb(var(--brand-glow) / .42);
  background: rgb(var(--brand-glow) / .08);
  box-shadow: 0 12px 30px -22px rgb(var(--brand-glow) / .9);
  transform: translateY(-2px);
}
.support__suggestions button:focus-visible { outline: 3px solid rgb(var(--brand-glow) / .2); outline-offset: 2px; }
.support__suggestion-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgb(var(--brand-glow) / .22);
  border-radius: .72rem;
  color: var(--brand);
  background: rgb(var(--brand-glow) / .08);
}
.support__suggestion-icon svg { width: 1rem; height: 1rem; stroke-width: 1.65; }
.support__suggestion-copy { display: grid; gap: .12rem; min-width: 0; }
.support__suggestion-copy strong { color: var(--ink); font-size: .69rem; line-height: 1.3; }
.support__suggestion-copy small { color: var(--ink-3); font-size: .58rem; line-height: 1.32; }
.support__suggestion-arrow { width: .92rem; height: .92rem; color: var(--ink-3); transition: color var(--t-fast), transform var(--t-fast); }
.support__suggestions button:hover .support__suggestion-arrow { color: var(--brand); transform: translateX(2px); }

.support__messages { display: grid; gap: 1rem; padding: 1.35rem 1.08rem 1.8rem; }
.support__messages:empty { display: none; }
.support-msg {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .62rem;
  align-items: start;
  animation: support-message-in .34s var(--e-out) both;
}
.support-msg--continuation { margin-top: -.66rem; }
.support-msg--continuation .support-msg__avatar { visibility: hidden; }
.support-msg--continuation .support-msg__name { display: none; }
.support-msg--continuation .support-msg__bubble { border-radius: .82rem 1rem 1rem 1rem; }
.support-msg--user { grid-template-columns: minmax(0, 1fr) 2rem; }
.support-msg__avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .68rem;
  color: var(--brand);
  background: rgb(var(--brand-glow) / .09);
  font-size: .66rem;
  font-weight: 800;
}
.support-msg__avatar img { width: 100%; height: 100%; object-fit: cover; }
.support-msg--user .support-msg__avatar { grid-column: 2; color: var(--ink-2); background: var(--surface-2); }
.support-msg__content { min-width: 0; }
.support-msg--user .support-msg__content { grid-column: 1; grid-row: 1; justify-self: end; }
.support-msg__name {
  display: block;
  margin: 0 0 .28rem;
  color: var(--ink-3);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.support-msg--user .support-msg__name { text-align: right; }
.support-msg__bubble {
  max-width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: .35rem 1rem 1rem 1rem;
  color: var(--ink);
  background: var(--surface);
  font-size: .82rem;
  line-height: 1.62;
  word-spacing: .07em;
  overflow-wrap: anywhere;
}
.support-msg--user .support-msg__bubble {
  max-width: 19rem;
  border-color: rgb(var(--brand-glow) / .26);
  border-radius: 1rem .35rem 1rem 1rem;
  background: rgb(var(--brand-glow) / .095);
}
.support-msg__bubble p { margin: 0 0 .62rem; }
.support-msg__bubble p:last-child { margin-bottom: 0; }
.support-msg__bubble strong { font-weight: 750; }
.support-msg__bubble ul { display: grid; gap: .28rem; margin: .55rem 0; padding-left: 1.05rem; list-style: disc; }
.support-msg__bubble a { color: var(--brand); font-weight: 700; text-decoration: underline; text-decoration-color: rgb(var(--brand-glow) / .35); text-underline-offset: 3px; }
.support-link-blocked { color: var(--muted); font-size: .9em; font-weight: 650; }
.support-msg--error .support-msg__bubble { border-color: rgb(255 100 100 / .3); color: #ff9b9b; background: rgb(255 100 100 / .06); }
.support-msg__typing { display: flex; min-width: 2.9rem; min-height: 1.1rem; align-items: center; gap: .28rem; }
.support-msg__typing i { width: .32rem; height: .32rem; border-radius: 50%; background: var(--brand); animation: support-typing 1.1s ease-in-out infinite; }
.support-msg__typing i:nth-child(2) { animation-delay: .14s; }
.support-msg__typing i:nth-child(3) { animation-delay: .28s; }

.support__composer {
  position: relative;
  z-index: 3;
  display: grid;
  gap: .48rem;
  padding: .72rem .82rem calc(.68rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 92%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.support__input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.8rem;
  align-items: end;
  gap: .38rem;
  padding: .28rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.support__input-shell:focus-within {
  border-color: rgb(var(--brand-glow) / .52);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgb(var(--brand-glow) / .075);
}
.support__composer textarea {
  display: block;
  width: 100%;
  min-height: 2.72rem;
  max-height: 8.5rem;
  padding: .72rem .6rem .68rem;
  border: 0;
  border-radius: .72rem;
  outline: 0;
  resize: none;
  color: var(--ink);
  background: transparent;
  font: 500 .82rem/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
}
.support__composer textarea::placeholder { color: var(--ink-3); }
.support__composer textarea:disabled { opacity: .58; }
.support__input-shell > button {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: .9rem;
  color: #1b1008;
  background: linear-gradient(145deg, var(--brand-2), var(--brand) 52%, var(--brand-deep));
  box-shadow: 0 12px 24px -12px rgb(var(--brand-glow) / .85), inset 0 1px 0 rgb(255 255 255 / .28);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.support__input-shell > button:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 30px -12px rgb(var(--brand-glow) / .96); }
.support__input-shell > button:focus-visible { outline: 3px solid rgb(var(--brand-glow) / .22); outline-offset: 2px; }
.support__input-shell > button:disabled { color: var(--ink-3); background: var(--surface-2); box-shadow: none; cursor: not-allowed; }
.support__input-shell > button svg { width: 1.08rem; height: 1.08rem; stroke-width: 1.9; }
.support__composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding-inline: .12rem;
}
.support__composer-meta p {
  display: flex;
  align-items: center;
  gap: .42rem;
  margin: 0;
  color: var(--ink-2);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .57rem;
  line-height: 1.35;
}
.support__composer-meta p i { width: 2px; height: 2px; border-radius: 50%; background: var(--ink-3); }
.support__counter {
  flex: 0 0 auto;
  color: var(--ink-3);
  font: 500 .56rem/1.35 "JetBrains Mono", ui-monospace, monospace;
  opacity: 0;
  transition: color var(--t-fast), opacity var(--t-fast);
}
.support__counter.is-visible { opacity: 1; }
.support__counter.is-near-limit { color: var(--brand); }
.support__privacy {
  display: flex;
  align-items: flex-start;
  gap: .38rem;
  margin: 0;
  padding-inline: .12rem;
  color: var(--ink-3);
  font-size: .58rem;
  line-height: 1.42;
}
.support__privacy svg {
  width: .72rem;
  height: .72rem;
  flex: 0 0 auto;
  margin-top: .06rem;
  stroke-width: 1.7;
}
.support__notice {
  position: absolute;
  z-index: 5;
  right: .8rem;
  bottom: 7rem;
  left: .8rem;
  margin: 0;
  padding: .68rem .78rem;
  border: 1px solid rgb(255 100 100 / .26);
  border-radius: .78rem;
  color: #ffaaaa;
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  box-shadow: 0 16px 38px -20px rgb(0 0 0 / .8);
  font-size: .68rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(.4rem);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.support__notice.is-on { opacity: 1; transform: none; }
.support__notice.support__notice--info {
  border-color: rgb(var(--brand-glow) / .3);
  color: var(--ink-2);
}

@keyframes support-in {
  from { opacity: 0; transform: translateY(1.4rem) scale(.92); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes support-live { 50% { opacity: .48; box-shadow: 0 0 0 6px rgb(73 217 139 / 0); } }
@keyframes support-orbit { 50% { opacity: .35; transform: scale(1.04) rotate(2deg); } }
@keyframes support-message-in { from { opacity: 0; transform: translateY(.55rem); } }
@keyframes support-typing { 0%, 65%, 100% { opacity: .25; transform: translateY(0); } 32% { opacity: 1; transform: translateY(-.2rem); } }

[data-theme="light"] .support__trigger-mark i { border-color: #fff; }
[data-theme="light"] .support__panel {
  box-shadow: 0 36px 90px -30px rgb(48 27 12 / .42), 0 15px 42px -28px rgb(var(--brand-glow) / .58);
}

@media (max-width: 560px) {
  html.support-open, html.support-open body { overflow: hidden; }
  .support { right: max(.75rem, env(safe-area-inset-right)); bottom: max(.75rem, env(safe-area-inset-bottom)); }
  .support__trigger { min-width: 0; min-height: 3.65rem; border-radius: 1.05rem; }
  .support__trigger-mark { width: 2.65rem; height: 2.65rem; }
  .support__trigger-arrow { display: none; }
  .support__panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    animation-name: support-in-mobile;
  }
  .support__head {
    min-height: calc(4.75rem + env(safe-area-inset-top));
    padding: calc(.66rem + env(safe-area-inset-top)) .72rem .66rem;
  }
  .support__brain { width: 2.8rem; height: 2.8rem; border-radius: .9rem; }
  .support__welcome { width: calc(100% - 1.5rem); padding-block: 1.45rem 1.4rem; justify-content: flex-start; }
  .support__welcome-mark { width: 4.7rem; height: 4.7rem; margin-bottom: .95rem; }
  .support__suggestions-label { margin-top: 1rem; }
  .support__messages { padding-inline: .82rem; }
  .support__composer { padding-inline: max(.65rem, env(safe-area-inset-left)) max(.65rem, env(safe-area-inset-right)); }
  .support__composer textarea { font-size: 1rem; }
  .support__privacy { font-size: .55rem; }
  .floxia-modal { padding: 0; }
  .floxia-modal__window {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }
}

@media (min-width: 561px) and (max-height: 640px) {
  .support__panel {
    height: calc(100dvh - 2.3rem);
    min-height: 0;
  }
}

@media (max-width: 390px) {
  .support__identity small { font-size: .58rem; }
  .support__welcome h2 { font-size: 1.45rem; }
  .support__suggestion-copy small { font-size: .57rem; }
  .support__composer-meta p span:last-child, .support__composer-meta p i { display: none; }
}

@keyframes support-in-mobile {
  from { opacity: 0; transform: translateY(5%); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .support__panel, .support__eyebrow i, .support__welcome-mark::before,
  .support__welcome-mark::after, .support-msg, .support-msg__typing i { animation: none; }
  .support__trigger, .support__trigger::before { transition: none; }
  .floxia-modal, .floxia-modal__window { animation: none; }
}

@media print {
  .support { display: none !important; }
}

/* =============================================================
   MODAL DE CADASTRO
   ============================================================= */
.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 3vh, 2rem);
  background: rgb(3 4 7 / .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: registration-backdrop-in .24s ease-out both;
}
.registration-modal[hidden] { display: none; }
.registration-modal.is-closing { animation: registration-backdrop-out .18s ease-in both; }
.registration-modal__window {
  display: flex;
  flex-direction: column;
  width: min(46rem, 100%);
  max-height: calc(100dvh - clamp(1.5rem, 6vh, 4rem));
  overflow: hidden;
  border: 1px solid rgb(var(--brand-glow) / .42);
  border-radius: 1.5rem;
  background: var(--bg-2);
  box-shadow: 0 40px 120px -28px rgb(0 0 0 / .92), 0 16px 48px -28px rgb(var(--brand-glow) / .75);
  animation: registration-window-in .36s var(--e-out) both;
}
.registration-modal.is-closing .registration-modal__window { animation: registration-window-out .18s ease-in both; }
.registration-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.registration-modal__eyebrow {
  margin-bottom: .18rem;
  color: var(--brand);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.registration-modal__head h2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); letter-spacing: -.035em; }
.registration-modal__close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.registration-modal__close:hover { border-color: rgb(var(--brand-glow) / .55); color: var(--brand); transform: rotate(4deg); }
.registration-modal__close svg { width: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.registration-modal-open { overflow: hidden; }
.registration-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.registration-form[hidden] { display: none; }
.registration-form__body {
  min-height: 0;
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.registration-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .9rem; }
.registration-field { display: grid; align-content: start; gap: .42rem; min-width: 0; }
.registration-field--wide { grid-column: 1 / -1; }
.registration-field > span, .registration-plans legend { color: var(--ink); font-size: .78rem; font-weight: 700; }
.registration-field b, .registration-plans legend b { color: var(--brand); }
.registration-field em { color: var(--ink-3); font-size: .68rem; font-style: normal; font-weight: 500; }
.registration-field input {
  width: 100%;
  min-height: 3rem;
  padding: .72rem .82rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.registration-field input:focus { border-color: rgb(var(--brand-glow) / .75); box-shadow: 0 0 0 3px rgb(var(--brand-glow) / .12); background: var(--bg-3); }
.registration-field input:user-invalid { border-color: #ef6a6a; }
.registration-field small { color: var(--ink-3); font-size: .68rem; line-height: 1.4; }
.registration-field code { color: var(--brand); font-family: "JetBrains Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.registration-plans { margin-top: 1.15rem; border: 0; }
.registration-plans legend { margin-bottom: .65rem; }
.registration-plans__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.registration-plans__options label { position: relative; cursor: pointer; }
.registration-plans__options input { position: absolute; opacity: 0; pointer-events: none; }
.registration-plans__options span {
  display: grid;
  min-height: 4.2rem;
  align-content: center;
  gap: .24rem;
  padding: .72rem;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--surface);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.registration-plans__options label:hover span { transform: translateY(-2px); border-color: rgb(var(--brand-glow) / .48); }
.registration-plans__options input:checked + span { border-color: var(--brand); background: rgb(var(--brand-glow) / .09); box-shadow: inset 0 0 0 1px var(--brand), 0 10px 28px -20px rgb(var(--brand-glow) / .8); }
.registration-plans__options input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.registration-plans__options strong { display: flex; align-items: center; justify-content: space-between; gap: .35rem; color: var(--ink); font-size: .78rem; }
.registration-plans__options strong i { color: var(--brand); font-size: .52rem; font-style: normal; text-transform: uppercase; }
.registration-plans__options small { color: var(--ink-3); font-size: .7rem; }
.registration-form__status { min-height: 1.3rem; margin-top: .9rem; font-size: .78rem; font-weight: 600; }
.registration-form__status[data-type="error"] { color: #ef8585; }
.registration-form__status[data-type="success"] { color: #49d98b; }
.registration-form__status[data-type="loading"] { color: var(--brand); }
.registration-form__actions {
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: .65rem;
  padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.registration-form__actions .btn { min-height: 3rem; }
.registration-form__actions .btn:disabled { cursor: wait; opacity: .66; }
.registration-form__privacy { max-width: 62ch; margin: .75rem 0 0 auto; color: var(--ink-3); font-size: .65rem; line-height: 1.5; text-align: right; }
.registration-success {
  display: flex;
  min-height: min(25rem, 72dvh);
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}
.registration-success[hidden] { display: none; }
.registration-success__body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vh, 2.75rem) clamp(1.25rem, 5vw, 3.5rem);
  text-align: center;
}
.registration-success h3 { max-width: 22ch; color: #49d98b; font-size: clamp(1.6rem, 1.25rem + 1.8vw, 2.25rem); letter-spacing: -.04em; line-height: 1.1; }
.registration-success__details {
  width: min(38rem, 100%);
  margin-top: 1.4rem;
  color: var(--ink-2);
  font-size: .82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.registration-success__credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding: .9rem;
  border: 1px solid rgb(73 217 139 / .48);
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgb(73 217 139 / .14), rgb(var(--brand-glow) / .12));
  box-shadow: 0 20px 44px -28px rgb(73 217 139 / .8), inset 0 0 0 1px rgb(255 255 255 / .05);
  text-align: left;
}
.registration-success__credential { min-width: 0; padding: .85rem 1rem; border: 1px solid rgb(255 255 255 / .1); border-radius: .8rem; background: rgb(5 8 18 / .78); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }
.registration-success__credential span { display: block; margin-bottom: .35rem; color: #83e8af; font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.registration-success__credential strong { display: block; color: #fff; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: clamp(1.05rem, 3vw, 1.3rem); letter-spacing: .025em; overflow-wrap: anywhere; }
.registration-success__actions {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  padding: .8rem 1.25rem calc(.8rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 94%, transparent);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.registration-success__actions .btn { min-width: 10rem; min-height: 3rem; }
@keyframes registration-backdrop-in { from { opacity: 0; } }
@keyframes registration-backdrop-out { to { opacity: 0; } }
@keyframes registration-window-in { from { opacity: 0; transform: translateY(1.25rem) scale(.97); } }
@keyframes registration-window-out { to { opacity: 0; transform: translateY(.65rem) scale(.985); } }

@media (max-width: 620px) {
  .registration-modal { place-items: end center; padding: 0; }
  .registration-modal__window { width: 100%; max-height: 94dvh; border-width: 1px 0 0; border-radius: 1.25rem 1.25rem 0 0; }
  .registration-form__grid { grid-template-columns: 1fr; }
  .registration-field--wide { grid-column: auto; }
  .registration-plans__options { grid-template-columns: 1fr; }
  .registration-plans__options span { min-height: 3.65rem; }
  .registration-form__actions .btn { flex: 1; padding-inline: .65rem; }
  .registration-form__privacy { text-align: left; }
  .registration-success { min-height: min(24rem, 82dvh); }
  .registration-success__body { padding-block: 1.5rem; }
  .registration-success__credentials { grid-template-columns: 1fr; }
  .registration-success__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .registration-modal, .registration-modal__window, .registration-modal.is-closing, .registration-modal.is-closing .registration-modal__window { animation: none; }
}

@media print {
  .registration-modal { display: none !important; }
}

/* =============================================================
   LANDING COMERCIAL 2026
   Mantém os tokens, movimentos e componentes da identidade original.
   ============================================================= */
.hero--commercial { min-height: min(920px, 100svh); }
.hero__in--commercial { align-items: center; }
.commercial-title { max-width: 13ch; }
.commercial-title em { display: block; font-style: normal; }
.value-strip {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem;
}
.value-strip li {
  padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgb(var(--brand-glow) / .06); color: var(--ink-2);
  font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.value-strip li:not(:last-child)::after { content: " +"; color: var(--brand); }
.hero__cta { align-items: flex-start; }
.hero__primary-action { display: grid; gap: .55rem; }
.hero__primary-action > small {
  max-width: 25ch; color: var(--ink-3); font-size: .72rem; line-height: 1.45;
}

/* Demonstração no hero: da conversa ao site publicado. O estado padrão é o
   resultado completo; o JS só acrescenta a encenação quando está disponível. */
.creation-demo {
  position: relative; width: min(100%, 640px); margin-inline: auto;
  border: 1px solid var(--line-2); border-radius: clamp(1.25rem, 2vw, 1.8rem);
  background:
    linear-gradient(145deg, rgb(var(--brand-glow) / .08), transparent 42%),
    color-mix(in srgb, var(--bg-2) 94%, transparent);
  box-shadow: 0 38px 90px -46px rgb(0 0 0 / .85), 0 24px 70px -42px rgb(var(--brand-glow) / .8);
  overflow: hidden; isolation: isolate;
}
.creation-demo::before {
  content: ""; position: absolute; z-index: -1; width: 55%; aspect-ratio: 1;
  right: -18%; bottom: -38%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgb(var(--brand-glow) / .2), transparent 68%);
  animation: creationAura 5.5s ease-in-out infinite;
}
.creation-demo__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.creation-demo__head {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  min-height: 66px; padding: .75rem .9rem; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}
.creation-demo__head > div { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.creation-demo__head p { display: grid; line-height: 1.15; min-width: 0; }
.creation-demo__head p b { font-size: .78rem; }
.creation-demo__head p small { margin-top: .2rem; color: var(--ink-3); font-size: .58rem; white-space: nowrap; }
.creation-demo__mark {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px;
  border-radius: 10px; background: linear-gradient(145deg, var(--brand-2), var(--brand-deep));
  box-shadow: 0 10px 28px -12px rgb(var(--brand-glow) / .9); color: #1b1008;
  font-weight: 900; font-size: .92rem;
}
.creation-demo__status {
  display: inline-flex; align-items: center; gap: .42rem; flex: none;
  padding: .38rem .55rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink-2); font-size: .54rem;
}
.creation-demo__status i {
  width: 6px; height: 6px; border-radius: 50%; background: #49d98b;
  box-shadow: 0 0 0 4px rgb(73 217 139 / .11); animation: creationStatus 1.8s ease-in-out infinite;
}
.creation-demo__status b { font-weight: 700; white-space: nowrap; }
.creation-demo__body {
  display: grid; grid-template-columns: minmax(0, .92fr) 36px minmax(0, 1.08fr);
  align-items: stretch; min-height: 350px; padding: .8rem;
}

.creation-chat {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: .55rem;
  min-width: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 1rem;
  background: color-mix(in srgb, var(--bg-3) 84%, transparent);
}
.creation-chat__label {
  color: var(--ink-3); font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .5rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
}
.creation-message {
  position: relative; padding: .65rem .7rem; border: 1px solid var(--line); border-radius: .8rem;
  transition: opacity .42s var(--e-out), transform .55s var(--e-spring);
}
.creation-message > span {
  display: flex; align-items: center; gap: .35rem; margin-bottom: .28rem;
  color: var(--ink-3); font-size: .5rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.creation-message p { color: var(--ink-2); font-size: .63rem; line-height: 1.5; }
.creation-message--user { margin-left: 7%; border-color: rgb(var(--brand-glow) / .25); background: rgb(var(--brand-glow) / .075); }
.creation-message--user p { min-height: 4.5em; color: var(--ink); }
.creation-message--ai { margin-right: 7%; background: var(--surface); }
.creation-message--ai span { color: var(--brand); }
.creation-message--ai span i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.creation-demo.is-animated .creation-message--user p::after {
  content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px;
  vertical-align: -.15em; background: var(--brand); opacity: 0;
}
.creation-demo.is-animated.is-typing .creation-message--user p::after { opacity: 1; animation: creationCaret .72s steps(1) infinite; }
.creation-demo.is-animated .creation-message--ai { opacity: 0; transform: translateY(8px) scale(.98); }
.creation-demo.is-received .creation-message--ai { opacity: 1; transform: none; }

.creation-build { display: grid; gap: .32rem; margin-top: auto; }
.creation-build li {
  display: grid; grid-template-columns: 13px 1fr auto; align-items: center; gap: .42rem;
  min-width: 0; color: var(--ink-2); font-size: .55rem; transition: opacity .35s, color .35s, transform .45s var(--e-spring);
}
.creation-build li > i {
  position: relative; width: 12px; height: 12px; border-radius: 50%;
  background: #49d98b; box-shadow: 0 0 0 3px rgb(73 217 139 / .08); transition: background .35s, box-shadow .35s;
}
.creation-build li > i::after {
  content: ""; position: absolute; left: 3px; top: 3px; width: 5px; height: 3px;
  border-left: 1.5px solid #092818; border-bottom: 1.5px solid #092818; transform: rotate(-45deg);
}
.creation-build li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creation-build li b { color: #49d98b; font-size: .46rem; text-transform: uppercase; letter-spacing: .06em; }
.creation-demo.is-animated .creation-build li { opacity: .32; transform: translateX(-4px); }
.creation-demo.is-animated .creation-build li > i { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.creation-demo.is-animated .creation-build li > i::after,
.creation-demo.is-animated .creation-build li b { opacity: 0; }
.creation-demo.is-animated .creation-build li.is-done { opacity: 1; color: var(--ink); transform: none; }
.creation-demo.is-animated .creation-build li.is-done > i { background: #49d98b; box-shadow: 0 0 0 3px rgb(73 217 139 / .08); }
.creation-demo.is-animated .creation-build li.is-done > i::after,
.creation-demo.is-animated .creation-build li.is-done b { opacity: 1; }

.creation-demo__route { position: relative; align-self: center; height: 1px; background: var(--line-2); }
.creation-demo__route::before, .creation-demo__route::after {
  content: ""; position: absolute; top: 50%; width: 5px; height: 5px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg-2); translate: 0 -50%;
}
.creation-demo__route::before { left: -1px; }
.creation-demo__route::after { right: -1px; }
.creation-demo__route span, .creation-demo__route i, .creation-demo__route b {
  position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgb(var(--brand-glow) / .1), 0 0 15px var(--brand);
  opacity: 0;
}
.creation-demo.is-received .creation-demo__route span { opacity: 1; animation: creationRoute 1.65s var(--e-inout) infinite; }
.creation-demo.is-building .creation-demo__route i { opacity: 1; animation: creationRoute 1.65s var(--e-inout) .55s infinite; }
.creation-demo.is-building .creation-demo__route b { opacity: 1; animation: creationRoute 1.65s var(--e-inout) 1.1s infinite; }

.site-preview {
  position: relative; z-index: 2; min-width: 0; align-self: stretch;
  border: 1px solid var(--line-2); border-radius: 1rem; background: var(--bg-2);
  box-shadow: 0 20px 45px -28px rgb(0 0 0 / .75); overflow: hidden;
  transition: transform .65s var(--e-spring), border-color .4s, box-shadow .6s;
}
.site-preview__browser {
  display: flex; align-items: center; gap: 4px; height: 28px; padding: 0 .55rem;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.site-preview__browser > i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.site-preview__browser > i:first-child { background: var(--brand); }
.site-preview__browser span {
  min-width: 0; margin-left: .3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink-3); font-family: "JetBrains Mono", monospace; font-size: .44rem;
}
.site-preview__page { height: calc(100% - 28px); padding: .7rem; background: linear-gradient(145deg, rgb(var(--brand-glow) / .06), transparent 55%), var(--bg-2); }
.site-preview__nav { display: flex; align-items: center; height: 20px; transition: opacity .5s, transform .65s var(--e-spring); }
.site-preview__nav > b { margin-right: auto; color: var(--ink); font-size: .52rem; letter-spacing: .06em; }
.site-preview__nav > b span { color: var(--brand); }
.site-preview__nav > i { width: 14px; height: 2px; margin-left: 5px; border-radius: 3px; background: var(--line-2); }
.site-preview__nav > i:last-child { width: 9px; background: var(--brand); }
.site-preview__hero { display: grid; grid-template-columns: 1.22fr .78fr; gap: .55rem; align-items: center; min-height: 190px; }
.site-preview__copy { transition: opacity .5s, transform .65s var(--e-spring); }
.site-preview__copy > span { color: var(--brand); font-size: .42rem; font-weight: 800; letter-spacing: .1em; }
.site-preview__copy h3 { margin-top: .5rem; color: var(--ink); font-size: clamp(.88rem, 1.45vw, 1.15rem); line-height: 1.04; }
.site-preview__copy p { margin-top: .55rem; color: var(--ink-3); font-size: .49rem; line-height: 1.5; }
.site-preview__copy > b {
  display: inline-flex; gap: .25rem; align-items: center; margin-top: .7rem; padding: .38rem .5rem;
  border-radius: 999px; background: var(--brand); color: #1a1008; font-size: .45rem;
}
.site-preview__copy > b i { font-style: normal; }
.site-preview__visual {
  position: relative; height: 120px; border-radius: 999px 999px 1rem 1rem;
  background: linear-gradient(150deg, #e6bfa4, #975d42); overflow: hidden;
  transition: opacity .5s, transform .65s var(--e-spring);
}
.site-preview__visual::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 12%; top: 25%;
  border-radius: 48% 52% 30% 70%; background: linear-gradient(145deg, #f0d4c0, #73432f); transform: rotate(-10deg);
}
.site-preview__visual span { position: absolute; width: 46%; height: 62%; left: 28%; bottom: -10%; border-radius: 50% 50% 15% 15%; background: #f5e9df; }
.site-preview__visual i { position: absolute; width: 29%; aspect-ratio: 1; left: 38%; top: 31%; border-radius: 50%; background: #6c3c29; }
.site-preview__visual b {
  position: absolute; right: .35rem; bottom: .35rem; display: grid; place-items: center;
  width: 23px; height: 23px; border-radius: 50%; background: var(--brand); color: #1a1008; font-size: .75rem;
}
.site-preview__services { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; transition: opacity .5s, transform .65s var(--e-spring); }
.site-preview__services span {
  min-width: 0; padding: .45rem .25rem; border: 1px solid var(--line); border-radius: .45rem;
  overflow: hidden; color: var(--ink-2); font-size: .42rem; font-weight: 700; text-align: center; white-space: nowrap;
}
.site-preview__cursor {
  position: absolute; z-index: 4; right: 12%; top: 38%; color: var(--brand); font-size: .9rem;
  filter: drop-shadow(0 2px 5px rgb(0 0 0 / .4)); opacity: 0;
}
.site-preview__publish {
  position: absolute; z-index: 5; right: .55rem; bottom: .55rem; display: flex; align-items: center; gap: .35rem;
  padding: .38rem .55rem; border: 1px solid rgb(73 217 139 / .35); border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2) 90%, transparent); box-shadow: 0 12px 25px -15px #49d98b;
  backdrop-filter: blur(8px); color: var(--ink); font-size: .49rem; font-weight: 800;
  transition: opacity .5s, transform .65s var(--e-spring);
}
.site-preview__publish i { width: 6px; height: 6px; border-radius: 50%; background: #49d98b; box-shadow: 0 0 0 4px rgb(73 217 139 / .1); }
.creation-demo.is-animated .site-preview__nav,
.creation-demo.is-animated .site-preview__copy,
.creation-demo.is-animated .site-preview__visual,
.creation-demo.is-animated .site-preview__services { opacity: .08; transform: translateY(6px); }
.creation-demo.is-animated .site-preview__publish { opacity: 0; transform: translateY(9px) scale(.92); }
.creation-demo.is-design .site-preview__nav,
.creation-demo.is-design .site-preview__visual,
.creation-demo.is-content .site-preview__nav,
.creation-demo.is-content .site-preview__visual,
.creation-demo.is-content .site-preview__copy,
.creation-demo.is-publishing .site-preview__nav,
.creation-demo.is-publishing .site-preview__visual,
.creation-demo.is-publishing .site-preview__copy,
.creation-demo.is-publishing .site-preview__services,
.creation-demo.is-live .site-preview__nav,
.creation-demo.is-live .site-preview__visual,
.creation-demo.is-live .site-preview__copy,
.creation-demo.is-live .site-preview__services { opacity: 1; transform: none; }
.creation-demo.is-design .site-preview__cursor,
.creation-demo.is-content .site-preview__cursor,
.creation-demo.is-publishing .site-preview__cursor { opacity: 1; animation: creationCursor 3s var(--e-inout) infinite; }
.creation-demo.is-live .site-preview {
  transform: translateY(-3px); border-color: rgb(73 217 139 / .34);
  box-shadow: 0 20px 50px -25px rgb(73 217 139 / .35), 0 24px 50px -30px rgb(0 0 0 / .7);
}
.creation-demo.is-live .site-preview__publish { opacity: 1; transform: none; }

.creation-demo__foot { padding: 0 .9rem .85rem; }
.creation-progress { height: 3px; border-radius: 999px; background: var(--line); overflow: hidden; }
.creation-progress i {
  display: block; width: 100%; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-2)); box-shadow: 0 0 12px rgb(var(--brand-glow) / .5);
  transition: width .7s var(--e-out);
}
.creation-demo.is-animated .creation-progress i { width: 0; }
.creation-demo__foot ul { display: flex; justify-content: space-between; margin-top: .45rem; color: var(--ink-3); font-size: .46rem; }

@keyframes creationAura { 50% { transform: translate3d(-6%, -3%, 0) scale(1.12); opacity: .65; } }
@keyframes creationStatus { 50% { box-shadow: 0 0 0 7px rgb(73 217 139 / 0); } }
@keyframes creationCaret { 50% { opacity: 0; } }
@keyframes creationRoute { 0% { transform: translateX(0) scale(.7); opacity: 0; } 20%, 78% { opacity: 1; } 100% { transform: translateX(29px) scale(1); opacity: 0; } }
@keyframes creationCursor { 0%, 100% { transform: translate(0, 0) rotate(-12deg); } 45% { transform: translate(-58px, 55px) rotate(-12deg); } 70% { transform: translate(-20px, 95px) rotate(-12deg); } }

.outcome-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
}
.outcome-card {
  position: relative; min-height: 260px; display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2.3rem); border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--surface), transparent 62%), var(--bg-2); overflow: hidden;
  transition: transform .5s var(--e-out), border-color .3s, box-shadow .3s;
}
.outcome-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.outcome-card--wide { grid-column: span 2; }
.outcome-card--accent { background: linear-gradient(145deg, rgb(var(--brand-glow) / .14), transparent 58%), var(--bg-2); }
.outcome-card__n { color: var(--brand); font-family: "JetBrains Mono", monospace; font-size: .72rem; }
.outcome-card h3 { margin-top: auto; font-size: clamp(1.35rem, 1rem + .8vw, 2rem); }
.outcome-card p { max-width: 54ch; margin-top: .65rem; color: var(--ink-2); }
.outcome-card small { margin-top: .7rem; color: var(--ink-3); line-height: 1.5; }
.outcome-card__result { width: fit-content; margin-top: 1.25rem; padding: .35rem .6rem; border-radius: 999px; background: rgb(var(--brand-glow) / .1); color: var(--brand); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

.process-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.simple-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.simple-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 3.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.simple-step { position: relative; z-index: 1; padding: 2rem; border-top: 1px solid var(--line-2); }
.simple-step:not(:last-child)::after {
  content: ""; position: absolute; z-index: -1; top: 3.45rem; left: 3.5rem; width: calc(100% - 2.5rem); height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent); transform: translateX(-35%);
  animation: simpleFlow 4.8s var(--e-inout) infinite; opacity: .65;
}
.simple-step:nth-child(2)::after { animation-delay: 1.6s; }
.simple-step b { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 2rem; border-radius: 50%; background: rgb(var(--brand-glow) / .12); color: var(--brand); font-size: 1.1rem; }
.simple-step h3 { font-size: 1.25rem; }
.simple-step p { margin-top: .7rem; color: var(--ink-2); }
@keyframes simpleFlow { 0% { transform: translateX(-45%) scaleX(.25); opacity: 0; } 25%, 68% { opacity: .72; } 100% { transform: translateX(70%) scaleX(.25); opacity: 0; } }

.demo-simple { padding-top: clamp(5rem, 8vw, 8rem); }
.demo-examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.demo-example {
  position: relative; display: flex; flex-direction: column; min-height: 420px;
  padding: clamp(1.5rem, 3vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--r-xl);
  background: linear-gradient(145deg, var(--surface), transparent 55%), var(--bg-2); overflow: hidden;
}
.demo-example::before {
  content: ""; position: absolute; width: 50%; aspect-ratio: 1; right: -22%; top: -30%; border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--brand-glow) / .12), transparent 70%); pointer-events: none;
}
.demo-example__head { display: flex; align-items: center; gap: .65rem; }
.demo-example__channel {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: #28c76f; color: #071b10; font-size: .6rem; font-weight: 900;
}
.demo-example__channel--platform { background: linear-gradient(145deg, var(--brand-2), var(--brand-deep)); color: #1a1008; }
.demo-example__from { color: var(--ink-3); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.demo-example blockquote {
  position: relative; width: fit-content; max-width: 27ch; margin: clamp(2rem, 5vw, 3.5rem) auto 2.2rem;
  padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 1rem 1rem .25rem 1rem;
  background: var(--surface); font-size: clamp(1.08rem, .9rem + .7vw, 1.55rem); font-weight: 700; letter-spacing: -.035em; text-align: center;
}
.demo-flow {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem;
  width: 100%; margin-top: auto; padding-top: 1.1rem;
}
.demo-flow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: .4rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
.demo-flow::after {
  content: ""; position: absolute; left: 5%; top: .18rem; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 5px rgb(var(--brand-glow) / .1), 0 0 15px var(--brand);
  animation: demoSignal 7.2s var(--e-inout) infinite;
}
.demo-flow--site::after { animation-delay: -3.6s; }
.demo-flow > b { display: none; }
.demo-flow__node {
  display: grid; place-items: center; align-content: center; min-height: 60px; padding: .5rem .25rem;
  border: 1px solid var(--line); border-radius: .75rem; background: var(--surface);
  color: var(--ink-2); font-size: .58rem; font-weight: 700; text-align: center;
  animation: demoNode 7.2s var(--e-inout) infinite;
}
.demo-flow__node i { display: block; margin-bottom: .18rem; color: var(--brand); font-size: .45rem; font-style: normal; letter-spacing: .08em; }
.demo-flow__node:nth-of-type(2) { animation-delay: 1.8s; }
.demo-flow__node:nth-of-type(3) { animation-delay: 3.6s; }
.demo-flow__node:nth-of-type(4) { animation-delay: 5.4s; }
.demo-flow--site .demo-flow__node:nth-of-type(1) { animation-delay: -3.6s; }
.demo-flow--site .demo-flow__node:nth-of-type(2) { animation-delay: -1.8s; }
.demo-flow--site .demo-flow__node:nth-of-type(3) { animation-delay: 0s; }
.demo-flow--site .demo-flow__node:nth-of-type(4) { animation-delay: 1.8s; }
.demo-example__result {
  display: flex; align-items: center; justify-content: center; gap: .38rem; width: 100%;
  margin-top: .8rem; padding: .7rem; border-radius: .8rem; background: rgb(var(--brand-glow) / .075);
  color: var(--ink-2); font-size: .7rem; text-align: center;
}
.demo-example__result > i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #49d98b; box-shadow: 0 0 0 4px rgb(73 217 139 / .1); }
.demo-example__result b { color: var(--brand); }
@keyframes demoSignal { 0% { left: 5%; opacity: 0; } 7%, 93% { opacity: 1; } 100% { left: 94%; opacity: 0; } }
@keyframes demoNode { 0%, 14%, 100% { border-color: var(--line); background: var(--surface); transform: none; } 4%, 10% { border-color: rgb(var(--brand-glow) / .45); background: rgb(var(--brand-glow) / .11); transform: translateY(-3px); box-shadow: 0 12px 25px -18px rgb(var(--brand-glow) / .9); } }

.pricing-sec { border-top: 1px solid var(--line); }
.plans__included {
  width: fit-content; margin: 1rem auto 0; padding: .45rem .75rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink-2); font-size: .76rem; font-weight: 700;
}
.plans:empty { min-height: 520px; }
.price__dec { margin-left: -.2rem; font-size: 1rem; font-weight: 800; color: var(--ink-2); align-self: flex-start; margin-top: .6rem; }
.plan--pop { transform: translateY(-12px); }
.plan--pop:hover { transform: translateY(-18px); }
.plan .btn { margin-top: .35rem; }
.plan .feats { flex: 1; }

.credits-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.credits-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.credits-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); max-width: 55ch; }
.credits-copy .credits-note { color: var(--ink-3); font-size: .88rem; }
.credits-details { margin-top: 1.35rem; border-top: 1px solid var(--line); }
.credits-details summary {
  padding: 1rem 1.5rem 1rem 0; color: var(--ink-3); cursor: pointer;
  font-size: .75rem; font-weight: 700; letter-spacing: .01em;
}
.credits-details p { max-width: 55ch; padding: 0 0 1rem; color: var(--ink-3); font-size: .82rem; line-height: 1.65; }
.credit-table-wrap { padding: clamp(1.2rem, 2.4vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.credit-table { width: 100%; border-collapse: collapse; }
.credit-table caption { margin-bottom: 1rem; text-align: left; color: var(--ink); font-weight: 800; }
.credit-table th, .credit-table td { padding: .85rem .5rem; border-bottom: 1px solid var(--line); text-align: left; font-size: .86rem; }
.credit-table th { color: var(--ink-3); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.credit-table td:last-child, .credit-table th:last-child { text-align: right; white-space: nowrap; }
.credit-table-wrap > p { margin-top: 1rem; color: var(--ink-3); font-size: .75rem; }

.included-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: center; padding: clamp(1.8rem, 4vw, 3.5rem); border: 1px solid rgb(var(--brand-glow) / .3); border-radius: var(--r-xl); background: linear-gradient(140deg, rgb(var(--brand-glow) / .14), transparent 60%), var(--bg-2); }
.included-band h2 { margin-top: .45rem; font-size: clamp(1.6rem, 1.1rem + 1vw, 2.4rem); }
.included-band__copy { max-width: 48ch; margin-top: .8rem; color: var(--ink-2); }
.included-band ul { display: flex; flex-wrap: wrap; gap: .65rem; }
.included-band li { padding: .5rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .78rem; font-weight: 700; }
.differentials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.differentials article { padding: clamp(1.5rem, 2.4vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-2); }
.differentials article > span { color: var(--brand); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.differentials h3 { margin-top: 1.2rem; font-size: 1.25rem; }
.differentials p { margin-top: .7rem; color: var(--ink-2); }
.differentials small { display: block; margin-top: 1rem; color: var(--ink-3); line-height: 1.5; }
.api-flow { margin-top: 1.2rem; padding: .8rem; border-radius: .8rem; background: rgb(var(--brand-glow) / .08); font-family: "JetBrains Mono", monospace; font-size: .7rem; line-height: 1.8; }
.api-flow i { color: var(--brand); font-style: normal; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.case-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--bg-2); }
.case-card__media { aspect-ratio: 16 / 10; margin-bottom: 1.1rem; border-radius: var(--r-lg); background: var(--surface); }
.case-card__type { color: var(--brand); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.case-card__title { margin-top: .55rem; font-size: 1.25rem; }
.case-card__summary { margin-top: .6rem; color: var(--ink-2); }
.case-card__link { display: inline-block; margin-top: 1rem; color: var(--brand); font-size: .8rem; font-weight: 800; }

@media (max-width: 960px) {
  .creation-demo { width: min(88vw, 620px); }
  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome-card--wide { grid-column: span 1; }
  .outcome-card--accent { grid-column: 1 / -1; }
  .differentials { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero--commercial { min-height: auto; padding-top: calc(var(--nav-h) + 3rem); }
  .commercial-title { max-width: 14ch; }
  .hero__in--commercial { gap: 2.4rem; }
  .hero__art { width: 100%; max-width: none; }
  .creation-demo { width: 100%; }
  .outcome-grid, .simple-steps, .demo-examples, .credits-layout, .included-band { grid-template-columns: 1fr; }
  .outcome-card--accent { grid-column: auto; }
  .outcome-card { min-height: 230px; }
  .simple-steps::before { left: 1.95rem; right: auto; top: 3.5rem; bottom: 3.5rem; width: 1px; height: auto; background: linear-gradient(transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
  .simple-step { padding: 1.25rem .5rem 1.25rem 4.7rem; border-top: 0; min-height: 7.5rem; }
  .simple-step b { position: absolute; left: .5rem; top: 1.2rem; margin: 0; }
  .simple-step:not(:last-child)::after {
    top: 3.7rem; left: 1.94rem; width: 2px; height: calc(100% - 1.7rem);
    background: linear-gradient(transparent, var(--brand), transparent);
    animation-name: simpleFlowMobile;
  }
  .demo-example { min-height: 360px; }
  .plan--pop, .plan--pop:hover { transform: none; }
  .plans .plan--pop { order: -1; }
  .included-band { gap: 1.5rem; }
  .hero__primary-action { width: 100%; }
  .hero__primary-action > .btn { width: 100%; }
  .hero__primary-action > small { max-width: none; text-align: center; }
}

@keyframes simpleFlowMobile { 0% { transform: translateY(-45%) scaleY(.25); opacity: 0; } 25%, 68% { opacity: .72; } 100% { transform: translateY(70%) scaleY(.25); opacity: 0; } }

@media (max-width: 560px) {
  .creation-demo__body { grid-template-columns: 1fr; min-height: 0; padding: .65rem; }
  .creation-demo__route { width: 1px; height: 30px; justify-self: center; align-self: auto; }
  .creation-demo__route::before, .creation-demo__route::after { left: 50%; top: auto; translate: -50% 0; }
  .creation-demo__route::before { top: -1px; }
  .creation-demo__route::after { right: auto; bottom: -1px; }
  .creation-demo__route span, .creation-demo__route i, .creation-demo__route b { top: 0; left: 50%; margin: 0 0 0 -3.5px; }
  .creation-demo.is-received .creation-demo__route span { animation-name: creationRouteMobile; }
  .creation-demo.is-building .creation-demo__route i,
  .creation-demo.is-building .creation-demo__route b { animation-name: creationRouteMobile; }
  .creation-chat { min-height: 0; }
  .creation-build { margin-top: .1rem; }
  .site-preview { min-height: 295px; }
  .site-preview__hero { min-height: 185px; }
  .site-preview__copy h3 { font-size: 1.1rem; }
  .site-preview__visual { height: 125px; }
  .creation-demo__foot { padding-inline: .65rem; }
}

@keyframes creationRouteMobile { 0% { transform: translateY(0) scale(.7); opacity: 0; } 20%, 78% { opacity: 1; } 100% { transform: translateY(23px) scale(1); opacity: 0; } }

@media (max-width: 430px) {
  .value-strip { gap: .35rem; }
  .value-strip li { padding: .38rem .56rem; font-size: .66rem; }
  .creation-demo { border-radius: 1.1rem; }
  .creation-demo__head { min-height: 60px; padding: .65rem; }
  .creation-demo__status { padding-inline: .45rem; }
  .creation-demo__status b { max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
  .creation-chat { min-height: 0; padding: .65rem; }
  .creation-message p { font-size: .61rem; }
  .creation-build li { font-size: .53rem; }
  .site-preview { min-height: 280px; }
  .site-preview__page { padding: .6rem; }
  .site-preview__hero { min-height: 175px; }
  .site-preview__visual { height: 112px; }
  .demo-example { padding: 1.25rem; }
  .demo-flow { gap: .25rem; }
  .demo-flow__node { min-height: 56px; padding-inline: .15rem; font-size: .52rem; }
  .demo-example__result { font-size: .63rem; }
  .credit-table th, .credit-table td { padding-inline: .2rem; font-size: .77rem; }
}

@media (prefers-reduced-motion: reduce) {
  .creation-demo__route span, .creation-demo__route i, .creation-demo__route b,
  .site-preview__cursor { display: none; }
  .creation-demo::before, .creation-demo__status i, .simple-step::after,
  .demo-flow::after, .demo-flow__node { animation: none !important; }
}

/* =============================================================
   FLOXIA — APRESENTAÇÃO EDITORIAL
   Camada visual; sequências, keyframes e contratos originais preservados.
   ============================================================= */
:root {
  --wrap: min(1180px, 100% - clamp(2rem, 6vw, 6rem));
  --sec-y: clamp(4.5rem, 7.6vw, 7.5rem);
}
[data-theme="dark"] {
  --ink-3: #9b989f;
  --fx-card: #111114;
}
[data-theme="light"] {
  --ink-3: #69636c;
  --fx-card: #fff;
}

/* Navegação e tipografia */
.nav__in { gap: 1rem; }
.nav__links { gap: .05rem; }
.nav__links a { padding-inline: .65rem; font-size: .78rem; }
.nav__actions { gap: .5rem; }
.nav .brand__logo { width: 110px; }
.nav__login { border-width: 1px; border-color: var(--line-2); background: var(--surface); box-shadow: none; border-radius: 12px; }
.nav__login-kicker { font-size: .6rem; }
.nav .btn--primary { border-radius: 12px; }
.eyebrow { font-family: inherit; font-size: .7rem; letter-spacing: .14em; font-weight: 700; }
.h2 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.5rem); line-height: 1.13; letter-spacing: -.055em; font-weight: 650; }
.sec__head { max-width: 780px; margin-bottom: 3.25rem; }
.sec__sub { max-width: 610px; font-size: 1rem; line-height: 1.8; }
.sec__head--center .eyebrow { margin-bottom: 1rem; }

/* Primeira dobra e a demonstração original, em destaque */
.hero.hero--commercial { min-height: auto; padding: 142px 0 70px; isolation: isolate; }
.hero__in.hero__in--commercial { grid-template-columns: minmax(0, 1fr); gap: 3.6rem; }
.hero__copy { width: 100%; text-align: center; max-width: 1080px; margin-inline: auto; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent), color-mix(in srgb, var(--bg) 68%, transparent) 45%, color-mix(in srgb, var(--bg) 30%, transparent) 80%, var(--bg)); }
.hero .kin-eyebrow { margin-bottom: 1.6rem; gap: .6rem; font-size: .69rem; letter-spacing: .15em; }
.hero .kin-eyebrow__live { padding: .5rem .85rem; background: rgb(var(--brand-glow) / .055); border-color: rgb(var(--brand-glow) / .28); }
.hero .kin-eyebrow::before { width: 22px; }
.hero .commercial-title { max-width: 1020px; margin-inline: auto; font-size: clamp(3rem, 2.1rem + 3.25vw, 5.15rem); font-weight: 650; line-height: 1.065; letter-spacing: -.065em; }
.hero .commercial-title em { display: inline; }
.hero .lede { max-width: 650px; margin: 1.65rem auto 0; font-size: 1.06rem; line-height: 1.85; text-wrap: pretty; }
.hero .hero__cta { justify-content: center; margin-top: 1.85rem; gap: .85rem; }
.hero .hero__cta .btn { min-height: 54px; padding: .95rem 1.7rem; border-radius: 12px; font-size: .88rem; }
.hero .hero__primary-action { justify-items: center; }
.hero .hero__primary-action small { max-width: none; font-size: .64rem; }
.hero .value-strip { justify-content: center; gap: 1.15rem; margin-top: 1.4rem; }
.hero .value-strip li { display: inline-flex; align-items: center; gap: .45rem; padding: 0; border: 0; background: transparent; font-size: .7rem; font-weight: 500; }
.hero .value-strip li::before { content: "✓"; color: var(--brand); font-size: .7rem; }
.hero .value-strip li:not(:last-child)::after { content: none; }
.hero .hero__art { width: 100%; max-width: 960px; margin: 0 auto; }
.demo-intro { display: flex; align-items: center; justify-content: center; gap: 1.15rem; margin-bottom: 1.3rem; color: var(--ink-2); font-size: .72rem; letter-spacing: .025em; }
.demo-intro__line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.demo-intro__line:last-child { rotate: 180deg; }
.hero .creation-demo { width: 100%; border-radius: 22px; border-color: rgb(var(--brand-glow) / .25); background: linear-gradient(135deg, rgb(var(--brand-glow) / .025), transparent 45%), var(--bg-2); box-shadow: 0 0 0 7px var(--surface), 0 35px 100px -55px rgb(var(--brand-glow) / .7); }
.hero .creation-demo__head { min-height: 64px; padding-inline: 1.4rem; }
.hero .creation-demo__head p b { font-size: .88rem; }
.hero .creation-demo__head p small { font-size: .66rem; }
.hero .creation-demo__status { font-size: .62rem; padding: .45rem .75rem; }
.hero .creation-demo__body { padding: 1.15rem; min-height: 350px; }
.hero .creation-chat { padding: 1rem; gap: .7rem; }
.hero .creation-chat__label { font-size: .6rem; }
.hero .creation-message { padding: .8rem; }
.hero .creation-message > span { font-size: .6rem; }
.hero .creation-message p { font-size: .78rem; }
.hero .creation-build li { font-size: .68rem; }
.hero .creation-demo__foot { padding: 0 1.2rem 1rem; }
.hero .creation-demo__foot ul { font-size: .57rem; }
.demo-caption { text-align: center; color: var(--ink-3); font-size: .7rem; margin-top: 1.25rem; }
.hero .scroll-hint { right: 2rem; left: auto; bottom: 4.5rem; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.marquee { padding-block: 1.3rem; }
.marquee__track { font-size: .85rem; letter-spacing: .04em; }

/* Benefícios com hierarquia e pequenos exemplos visuais */
#recursos > .wrap > .sec__head { margin-inline: auto; text-align: center; }
.outcome-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.15rem; }
.outcome-card, .outcome-card--wide, .outcome-card--accent { grid-column: span 2; min-height: 285px; padding: 1.75rem; border-radius: 20px; background: linear-gradient(145deg, var(--surface), transparent 65%), var(--fx-card); }
.outcome-card:nth-child(-n+2) { grid-column: span 3; min-height: 460px; }
.outcome-card__n { position: absolute; right: 1.75rem; top: 1.9rem; color: var(--ink-3); font-size: .65rem; }
.outcome-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.65rem; border: 1px solid rgb(var(--brand-glow) / .2); border-radius: 12px; color: var(--brand); background: rgb(var(--brand-glow) / .065); }
.outcome-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.outcome-card h3 { margin-top: 0; font-size: 1.4rem; letter-spacing: -.04em; font-weight: 650; }
.outcome-card p { font-size: .88rem; line-height: 1.75; max-width: 48ch; }
.outcome-card small { font-size: .7rem; }
.outcome-card__result { padding: 0; border-radius: 0; background: transparent; text-transform: none; letter-spacing: 0; font-size: .75rem; font-weight: 600; }
.outcome-card__result::after { content: " ↗"; padding-left: .3rem; }
.outcome-visual { margin-top: auto; padding-top: 1.8rem; }
.mini-browser { position: relative; width: 90%; margin: 0 auto -3.7rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px 12px 0 0; box-shadow: 0 -15px 60px -35px rgb(var(--brand-glow) / .5); }
.mini-browser__bar { display: flex; align-items: center; gap: 4px; padding: .65rem .8rem; border-bottom: 1px solid var(--line); }
.mini-browser__bar > i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .65; }
.mini-browser__bar > i:first-child { background: var(--brand); opacity: 1; }
.mini-browser__bar > span { margin-left: .65rem; color: var(--ink-3); font-size: .48rem; }
.mini-browser__page { min-height: 184px; padding: 1.6rem; background: radial-gradient(ellipse at 100% 50%, rgb(var(--brand-glow) / .2), transparent 70%); }
.mini-browser__eyebrow { display: block; font-size: .46rem; letter-spacing: .14em; color: var(--brand); margin-bottom: .6rem; }
.mini-browser__page > b { display: block; font-size: 1.3rem; font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.mini-browser__button { display: inline-flex; gap: .75rem; margin-top: .9rem; padding: .45rem .65rem; background: var(--brand); color: #180f07; border-radius: 5px; font-size: .48rem; font-weight: 700; }
.mini-browser__button i { font-style: normal; }
.mini-browser__tiles { position: absolute; right: 1.2rem; top: 6rem; width: 24%; display: grid; gap: .5rem; }
.mini-browser__tiles i { height: 22px; border: 1px solid rgb(var(--brand-glow) / .2); border-radius: 5px; background: rgb(var(--brand-glow) / .06); }
.mini-browser__tiles i:nth-child(2) { width: 80%; }
.mini-browser__status { position: absolute; top: 0; right: -.85rem; display: flex; align-items: center; gap: .45rem; padding: .5rem .75rem; border: 1px solid var(--line-2); border-radius: 7px; background: var(--bg-3); color: var(--ink); font-size: .58rem; box-shadow: 0 8px 20px rgb(0 0 0 / .1); }
.mini-browser__status i { width: 5px; height: 5px; background: #49d98b; border-radius: 50%; }
.mini-conversation { display: grid; gap: 1rem; padding: 1rem 1rem .25rem; }
.mini-conversation__prompt { justify-self: end; padding: .7rem 1rem; border: 1px solid var(--line-2); border-radius: 10px 10px 2px 10px; color: var(--ink-2); font-size: .74rem; background: var(--surface); }
.mini-conversation__answer { display: flex; align-items: center; gap: .85rem; }
.mini-conversation__answer > i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgb(var(--brand-glow) / .35); border-radius: 14px; background: rgb(var(--brand-glow) / .12); color: var(--brand); font-size: 1.4rem; font-style: normal; }
.mini-conversation__answer div { display: grid; gap: .3rem; }
.mini-conversation__answer b { font-size: .8rem; font-weight: 600; }
.mini-conversation__answer span { color: var(--ink-3); font-size: .65rem; }
.mini-conversation__roles { display: flex; flex-wrap: wrap; gap: .45rem; margin-left: 3.5rem; }
.mini-conversation__roles span { padding: .4rem .6rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; font-size: .6rem; }

/* As quatro assistentes, com os retratos aprovados do projeto */
.team-sec { border-block: 1px solid var(--line); background: radial-gradient(ellipse 70% 40% at 50% 0%, rgb(var(--brand-glow) / .055), transparent 80%), var(--bg-2); }
.team-sec .sec__sub { max-width: 575px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.team-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--fx-card); }
.team-card__portrait { position: relative; aspect-ratio: 1 / 1.14; overflow: hidden; border-bottom: 1px solid var(--line); background: #392519; }
.team-card__portrait::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgb(12 9 8 / .6)); pointer-events: none; }
.team-card__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.team-card__tag { position: absolute; z-index: 1; left: 1rem; bottom: 1rem; padding: .3rem .7rem; border: 1px solid rgb(255 255 255 / .3); border-radius: 6px; color: #fff; background: rgb(18 12 8 / .7); backdrop-filter: blur(10px); font-size: .62rem; font-weight: 600; letter-spacing: .04em; }
.team-card__body { padding: 1.35rem; }
.team-card__eyebrow { color: var(--ink-3); font-size: .53rem; letter-spacing: .11em; text-transform: uppercase; }
.team-card h3 { margin: .45rem 0 .1rem; font-size: 1.9rem; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.team-card__role { color: var(--brand); font-size: .7rem; font-weight: 600; }
.team-card__description { margin-top: .85rem; color: var(--ink-2); font-size: .76rem; line-height: 1.75; }
.team-next { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 2.4rem; }
.team-next p { color: var(--ink-2); font-size: .82rem; }
.team-next .btn { border-radius: 10px; font-size: .78rem; }

/* Infraestrutura, processo e exemplos: o conteúdo permanece completo */
.included-band { border-radius: 22px; grid-template-columns: 1fr 1fr; padding: 3rem; gap: 4rem; background: radial-gradient(ellipse at 100% 0%, rgb(var(--brand-glow) / .09), transparent 65%), var(--fx-card); }
.included-band h2 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.5rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 600; }
.included-band .eyebrow { font-size: .61rem; letter-spacing: .1em; }
.included-band__copy { font-size: .86rem; line-height: 1.8; }
.included-band ul { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.included-band li { display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; border-radius: 9px; font-size: .7rem; font-weight: 500; background: var(--surface); border-color: var(--line); }
.included-band li::before { content: "✓"; color: var(--brand); }
.differentials { gap: 1.15rem; margin-top: 1.15rem; }
.differentials article { border-radius: 18px; padding: 1.75rem; background: var(--fx-card); }
.differentials article > span { font-size: .6rem; }
.differentials h3 { font-size: 1.12rem; line-height: 1.4; letter-spacing: -.025em; font-weight: 600; }
.differentials p { font-size: .84rem; line-height: 1.8; }
.differentials small { font-size: .7rem; }
.api-flow { font-size: .61rem; padding: .65rem; }
.simple-step h3 { font-weight: 600; font-size: 1.13rem; }
.simple-step p { font-size: .9rem; line-height: 1.8; }
.simple-step b { border: 1px solid rgb(var(--brand-glow) / .28); border-radius: 13px; background: var(--bg-3); font-weight: 500; }
.demo-examples { gap: 1.15rem; }
.demo-example { border-radius: 20px; background: var(--fx-card); }
.demo-example blockquote { font-weight: 500; letter-spacing: -.04em; }

/* Comparação dos planos, sem alterar preços, limites ou benefícios */
.pricing-sec { border-block: 1px solid var(--line); background: radial-gradient(ellipse 55% 45% at 50% 50%, rgb(var(--brand-glow) / .045), transparent 85%), var(--bg-2); }
.plans { align-items: stretch; gap: 1.2rem; }
.plan { border-radius: 18px; padding: 2rem; background: var(--fx-card); }
.plan--pop { border-color: rgb(var(--brand-glow) / .7); background: linear-gradient(160deg, rgb(var(--brand-glow) / .1), transparent 43%), var(--fx-card); box-shadow: 0 24px 70px -40px rgb(var(--brand-glow) / .55); }
.plan header { min-height: 111px; }
.plan header h3 { font-size: .93rem; font-weight: 700; letter-spacing: .12em; }
.plan header p { margin-top: 1.2rem; font-size: .8rem; line-height: 1.7; }
.plan__badge { top: 1.85rem; right: 1.4rem; border-radius: 5px; font-size: .48rem; padding: .3rem .5rem; letter-spacing: .065em; }
.plan .price { margin-top: .5rem; }
.plan .price__val { font-size: 3.5rem; font-weight: 600; }
.plan .price__cur, .plan .price__dec { font-weight: 500; }
.plan .price__per { font-size: .8rem; }
.plan .price__note { font-size: .65rem; }
.plan .btn { border-radius: 10px; font-size: .8rem; padding-block: .9rem; }
.plan .feats { align-content: start; gap: .8rem; }
.plan .feats li { font-size: .78rem; }
.plans__included { font-size: .76rem; color: var(--ink-2); }
.plans__foot { font-size: .73rem; }
.credits-layout { gap: 4rem; }
.credits-copy > p { font-size: .92rem; line-height: 1.85; }
.credit-table-wrap { border-radius: 18px; background: var(--fx-card); }
.credit-table { font-size: .87rem; }
.credit-table caption { font-weight: 600; }
.credits-details { font-size: .83rem; }

/* Perguntas e fechamento */
#faq { border-top: 1px solid var(--line); }
.faq-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.acc__btn { font-size: .9rem; padding-block: 1.5rem; font-weight: 500; }
.acc__panel p { font-size: .85rem; line-height: 1.85; }
.cta { margin: 0 auto 4rem; width: var(--wrap); padding: 5rem 2rem; border: 1px solid rgb(var(--brand-glow) / .25); border-radius: 24px; background: linear-gradient(145deg, rgb(var(--brand-glow) / .08), transparent 60%); }
.cta .h-display { font-weight: 600; font-size: clamp(2rem, 1.2rem + 2.9vw, 3.7rem); line-height: 1.12; letter-spacing: -.055em; max-width: 760px; }
.cta__in { width: 100%; }
.cta__in > p { font-size: .97rem; }
.cta .btn { border-radius: 12px; font-size: .85rem; }
.foot__brand p { font-size: .85rem; }
.foot__cols a { font-size: .8rem; }
.foot__bar { gap: 2rem; font-size: .63rem; }
.foot__legal { max-width: 720px; }

/* Tons da marca com contraste para a opção de tema claro */
[data-theme="light"] .outcome-card__result,
[data-theme="light"] .team-card__role,
[data-theme="light"] .eyebrow,
[data-theme="light"] .differentials article > span { color: #aa4107; }
[data-theme="light"] .team-sec { background: linear-gradient(180deg, #f4efe8, var(--bg-2)); }
[data-theme="light"] .hero .creation-demo { box-shadow: 0 0 0 7px rgb(255 122 24 / .035), 0 25px 75px -45px rgb(108 57 21 / .35); }

/* Tablet */
@media (max-width: 1100px) and (min-width: 861px) {
  .nav__in { gap: .65rem; }
  .nav__links a { font-size: .7rem; padding-inline: .45rem; }
  .nav .brand__logo { width: 90px; }
  .nav .btn--primary { padding-inline: .9rem; font-size: .76rem; }
  .nav .icon-btn { width: 32px; height: 36px; }
  .nav__login { padding-inline: .65rem; }
  .plan { padding: 1.5rem; }
  .plan__badge { top: 1.5rem; right: 1rem; font-size: .43rem; }
  .team-card__body { padding: 1.05rem; }
  .team-card__role { font-size: .64rem; }
  .included-band { gap: 2rem; padding: 2rem; }
}
@media (max-width: 860px) {
  .hero.hero--commercial { padding-top: 115px; padding-bottom: 3rem; }
  .hero .commercial-title { max-width: 720px; font-size: clamp(2.6rem, 1.2rem + 5vw, 4.1rem); }
  .hero .hero__art { max-width: 720px; }
  .hero .lede { font-size: .98rem; max-width: 590px; }
  .hero .creation-demo__body { padding: .8rem; }
  .hero .creation-chat { padding: .75rem; }
  .hero .creation-message p { font-size: .68rem; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card__portrait { aspect-ratio: 1 / 1.02; }
  .team-card__body { padding: 1.5rem; }
  .team-card__eyebrow { font-size: .61rem; }
  .team-card__role { font-size: .8rem; }
  .team-card__description { font-size: .83rem; }
  .included-band { gap: 2rem; padding: 2rem; }
  .differentials { grid-template-columns: 1fr; }
  .differentials h3 { margin-top: .7rem; }
  .plan header { min-height: 0; }
  .plan header p { margin-top: .7rem; }
  .plan .price__val { font-size: 3.6rem; }
  .credits-layout { gap: 2rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
  .faq-grid__side { max-width: 520px; }
  .foot__bar { gap: 1.25rem; }
}
@media (max-width: 760px) {
  .outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outcome-card, .outcome-card--wide, .outcome-card--accent,
  .outcome-card:nth-child(-n+2) { grid-column: span 1; }
  .outcome-card:last-child { grid-column: 1 / -1; min-height: 235px; }
  .included-band { grid-template-columns: 1fr; }
  .hero .value-strip { gap: .6rem 1rem; }
  .hero .scroll-hint { right: 1rem; }
  .credits-layout { grid-template-columns: 1fr; }
  .team-next { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Celular: leitura, comparação e todas as interações disponíveis */
@media (max-width: 560px) {
  :root { --wrap: calc(100% - 36px); --sec-y: 4rem; }
  .nav .brand__logo { width: 96px; }
  .nav__in { gap: .5rem; }
  .nav__actions { gap: .35rem; }
  .nav .icon-btn, .nav .burger { width: 38px; height: 40px; }
  .hero.hero--commercial { padding-top: 108px; padding-bottom: 2.4rem; }
  .hero__in.hero__in--commercial { gap: 2.5rem; }
  .hero .kin-eyebrow { font-size: .57rem; letter-spacing: .1em; margin-bottom: 1.4rem; gap: .35rem; }
  .hero .kin-eyebrow::before { width: 14px; }
  .hero .kin-eyebrow__live { padding: .4rem .65rem; }
  .hero .commercial-title { font-size: clamp(2.4rem, 10.1vw, 3.5rem); line-height: 1.09; letter-spacing: -.065em; }
  .hero .lede { font-size: .9rem; line-height: 1.8; margin-top: 1.3rem; max-width: 410px; }
  .hero .hero__cta { gap: .7rem; margin-top: 1.6rem; }
  .hero .hero__cta .btn { width: auto; min-height: 48px; font-size: .77rem; padding: .8rem 1rem; }
  .hero .hero__primary-action { max-width: 50%; }
  .hero .hero__primary-action small { max-width: 23ch; font-size: .57rem; }
  .hero .value-strip { margin-top: 1.15rem; gap: .5rem .8rem; }
  .hero .value-strip li { font-size: .61rem; }
  .demo-intro { font-size: .64rem; gap: .65rem; margin-bottom: 1rem; }
  .demo-intro__line { width: 22px; }
  .hero .creation-demo { border-radius: 16px; box-shadow: 0 0 0 4px var(--surface), 0 20px 60px -40px rgb(var(--brand-glow) / .6); }
  .hero .creation-demo__head { padding: .65rem .8rem; min-height: 61px; gap: .5rem; }
  .hero .creation-demo__head p b { font-size: .75rem; }
  .hero .creation-demo__head p small { font-size: .55rem; }
  .hero .creation-demo__status { padding: .4rem .5rem; font-size: .48rem; }
  .hero .creation-demo__status b { max-width: 118px; }
  .hero .creation-demo__body { min-height: 0; padding: .65rem; grid-template-columns: 1fr; }
  .hero .creation-chat { padding: .7rem; }
  .hero .creation-message { padding: .65rem; }
  .hero .creation-message p { font-size: .7rem; }
  .hero .creation-build li { font-size: .6rem; }
  .hero .creation-demo__foot { padding: 0 .7rem .8rem; }
  .hero .creation-demo__foot ul { font-size: .49rem; }
  .demo-caption { font-size: .6rem; }
  .sec__head { margin-bottom: 2rem; }
  .h2 { font-size: clamp(1.95rem, 8vw, 2.7rem); letter-spacing: -.05em; }
  .sec__sub { font-size: .88rem; }
  .eyebrow { font-size: .62rem; letter-spacing: .1em; }
  .outcome-grid { grid-template-columns: 1fr; gap: 1rem; }
  .outcome-card, .outcome-card--wide, .outcome-card--accent,
  .outcome-card:nth-child(-n+2), .outcome-card:last-child { grid-column: auto; padding: 1.5rem; min-height: 260px; }
  .outcome-card:nth-child(-n+2) { min-height: 430px; }
  .outcome-card h3 { font-size: 1.3rem; }
  .outcome-icon { margin-bottom: 1.2rem; }
  .outcome-card p { font-size: .85rem; }
  .mini-browser { width: 92%; }
  .mini-browser__page { padding: 1.3rem 1.1rem; }
  .mini-browser__page > b { font-size: 1.08rem; }
  .mini-browser__tiles { width: 20%; right: .8rem; }
  .mini-conversation { padding: .8rem 0; }
  .mini-conversation__roles { margin-left: 0; justify-content: center; }
  .team-grid { gap: 1rem; }
  .team-card { border-radius: 13px; }
  .team-card__portrait { aspect-ratio: 1 / 1.3; }
  .team-card__body { padding: 1rem .8rem; }
  .team-card__eyebrow { font-size: .46rem; letter-spacing: .06em; }
  .team-card h3 { font-size: 1.7rem; margin-top: .35rem; }
  .team-card__role { font-size: .65rem; line-height: 1.6; min-height: 2.1rem; }
  .team-card__description { font-size: .72rem; line-height: 1.7; margin-top: .6rem; }
  .team-card__tag { left: .65rem; bottom: .65rem; padding: .25rem .45rem; font-size: .52rem; }
  .team-next { margin-top: 1.6rem; }
  .team-next p { font-size: .75rem; }
  .included-band { padding: 1.5rem; border-radius: 18px; gap: 1.5rem; }
  .included-band .eyebrow { font-size: .57rem; letter-spacing: .06em; }
  .included-band h2 { font-size: 1.8rem; }
  .included-band ul { gap: .5rem; }
  .included-band li { padding: .65rem .6rem; font-size: .65rem; gap: .4rem; }
  .differentials article { padding: 1.5rem; }
  .simple-step p { font-size: .84rem; }
  .simple-step h3 { font-size: 1.02rem; }
  .plan { padding: 1.65rem; }
  .plan .feats li { font-size: .81rem; }
  .plan__badge { top: 1.7rem; right: 1.3rem; }
  .plans__included { font-size: .68rem; }
  .credits-copy > p { font-size: .87rem; }
  .credit-table th, .credit-table td { font-size: .76rem; }
  .acc__btn { font-size: .85rem; padding-block: 1.3rem; }
  .cta { margin-bottom: 2.5rem; padding: 3rem 1.4rem; border-radius: 18px; }
  .cta .h-display { font-size: 2rem; }
  .cta__in > p { font-size: .86rem; }
  .foot__in { gap: 2rem; }
  .foot__cols { gap: 1.7rem 1rem; }
  .foot__bar { padding-bottom: 6.5rem; }
  .foot__legal { text-align: left; }
}
@media (max-width: 360px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card__portrait { aspect-ratio: 1 / 1; }
  .team-card__body { padding: 1.3rem; }
  .team-card__description { font-size: .84rem; }
  .team-card__role { font-size: .75rem; min-height: 0; }
  .team-card__eyebrow { font-size: .58rem; }
  .hero .hero__cta .btn { font-size: .7rem; padding-inline: .8rem; }
  .hero .creation-demo__head { padding-inline: .6rem; }
  .hero .creation-demo__status { font-size: .43rem; padding-inline: .4rem; }
  .hero .creation-demo__status b { max-width: 99px; }
  .included-band li { padding-inline: .45rem; font-size: .6rem; }
}
@media print {
  .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team-card { break-inside: avoid; }
}

/* Carrossel de IAs — estilos e movimento exclusivos deste componente. */
.ai-carousel {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0, rgb(var(--brand-glow) / .045), transparent 68%);
}
.ai-carousel__intro { text-align: center; margin-bottom: 2rem; }
.ai-carousel__intro .eyebrow { justify-content: center; margin-bottom: 1rem; }
.ai-carousel__intro h2 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: -.055em;
}
.ai-carousel__intro h2 em { font-style: normal; white-space: nowrap; }
.ai-carousel__copy { margin-top: 1rem; color: var(--ink-2); font-size: .95rem; }
.ai-carousel__viewport {
  overflow: hidden;
  padding-block: .5rem;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ai-carousel__track {
  display: flex;
  width: max-content;
  animation: floxiaAiCarousel 30s linear infinite;
  animation-play-state: paused;
}
.ai-carousel[data-running="true"] .ai-carousel__track { animation-play-state: running; }
.ai-carousel__group {
  display: flex;
  flex: none;
  gap: 1rem;
  padding-inline-end: 1rem;
}
.ai-model {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: clamp(220px, 24vw, 294px);
  min-height: 184px;
  padding: 1.6rem 1.2rem;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 120%, rgb(var(--brand-glow) / .09), transparent 70%), var(--bg-2);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.ai-model::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24%;
  right: 24%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--brand-glow) / .65), transparent);
}
.ai-model__provider { color: var(--ink-2); font-size: .66rem; letter-spacing: .13em; }
.ai-model__name { color: var(--ink); font-size: 2.5rem; font-weight: 650; line-height: 1.15; letter-spacing: -.055em; }
.ai-model__caption { display: inline-flex; align-items: center; gap: .4rem; margin-top: .15rem; color: var(--ink-2); font-size: .64rem; }
.ai-model__caption i { width: 4px; height: 4px; background: var(--brand); border-radius: 50%; }
.ai-carousel__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.ai-carousel__footer > p { color: var(--ink-2); font-size: .72rem; }
.ai-carousel__toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-width: 106px;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: .72rem;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.ai-carousel__toggle[hidden] { display: none; }
.ai-carousel__toggle svg { width: 16px; height: 16px; stroke-width: 1.8; }
.ai-carousel__toggle:hover { color: var(--ink); border-color: var(--brand); }
@keyframes floxiaAiCarousel { to { transform: translateX(-50%); } }
@media (hover: hover) {
  .ai-carousel__viewport:hover .ai-carousel__track { animation-play-state: paused; }
  .ai-model:hover { border-color: rgb(var(--brand-glow) / .55); background-color: var(--bg-3); }
}
@media (max-width: 560px) {
  .ai-carousel { padding-block: 3rem; }
  .ai-carousel__intro { margin-bottom: 1.5rem; }
  .ai-carousel__intro h2 { max-width: 350px; margin-inline: auto; font-size: 2rem; }
  .ai-carousel__copy { max-width: 31ch; margin-inline: auto; font-size: .84rem; }
  .ai-model { min-height: 164px; border-radius: 16px; }
  .ai-model__name { font-size: 2.25rem; }
  .ai-carousel__footer { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .ai-carousel__footer > p { font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce), print {
  .ai-carousel__viewport { overflow: visible; mask-image: none; }
  .ai-carousel .ai-carousel__track { width: 100%; animation: none; transform: none; }
  .ai-carousel__group { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
  .ai-carousel__group[aria-hidden="true"], .ai-carousel__toggle { display: none; }
  .ai-model { min-width: 0; width: auto; break-inside: avoid; }
  .ai-model__name { font-size: clamp(1.4rem, 3vw, 2.5rem); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .ai-carousel__group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .ai-model { min-height: 142px; padding: 1.1rem .6rem; }
  .ai-model__name { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

/* Refinamento visual: fotografia do acervo e composição dos cards de IA.
   A simulação, os efeitos e os controles de movimento permanecem originais. */
.hero.has-showcase .hero__in--commercial {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 3.6rem 4.25rem;
}
.hero.has-showcase .hero__copy { max-width: none; text-align: left; }
.hero.has-showcase .kin-eyebrow { justify-content: flex-start; font-size: .62rem; letter-spacing: .11em; }
.hero.has-showcase .commercial-title { font-size: clamp(2.7rem, 1.65rem + 2.75vw, 4.15rem); line-height: 1.1; letter-spacing: -.06em; }
.hero.has-showcase .lede { margin-inline: 0; max-width: 530px; font-size: 1rem; line-height: 1.8; }
.hero.has-showcase .hero__cta { justify-content: flex-start; gap: .75rem; }
.hero.has-showcase .hero__cta .btn { padding-inline: 1.25rem; }
.hero.has-showcase .hero__primary-action { justify-items: start; }
.hero.has-showcase .hero__primary-action small { font-size: .59rem; }
.hero.has-showcase .value-strip { justify-content: flex-start; gap: .7rem 1rem; }
.hero.has-showcase .value-strip li { font-size: .65rem; }
.hero.has-showcase .hero__art { grid-column: 1 / -1; margin-top: .5rem; }

/* Funcionalidades empilhadas, com o contêiner acompanhando o tema. */
.feature-showcase {
  position: relative; min-width: 0; padding: clamp(.75rem, 1.3vw, 1rem); overflow: hidden;
  border: 1px solid rgb(255 255 255 / .11); border-radius: 28px;
  background: linear-gradient(145deg, rgb(255 122 24 / .045), transparent 38%), #050505;
  box-shadow: 0 34px 90px -44px rgb(0 0 0 / .92), 0 24px 64px -48px rgb(255 122 24 / .24);
  color-scheme: dark;
}
.feature-showcase::before {
  content: ""; position: absolute; width: 260px; aspect-ratio: 1; right: -105px; top: -135px;
  border-radius: 50%; background: radial-gradient(circle, rgb(255 122 24 / .1), transparent 68%); pointer-events: none;
}
.feature-showcase__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .25rem .85rem; }
.feature-showcase__top p { display: inline-flex; align-items: center; gap: .5rem; color: #f2f2f2; font-size: .68rem; font-weight: 650; }
.feature-showcase__top p i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgb(255 122 24 / .12); }
.feature-showcase__top > span { color: #929292; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .56rem; letter-spacing: .04em; white-space: nowrap; }
.feature-showcase__list { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(.55rem, 1vw, .8rem); }
.feature-showcase__card { margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); border-radius: 18px; background: #080808; box-shadow: 0 14px 40px -28px rgb(0 0 0 / .95); }
.feature-showcase__card img { display: block; width: 100%; height: auto; aspect-ratio: 2105 / 747; object-fit: cover; }

[data-theme="light"] .feature-showcase {
  border-color: rgb(91 116 210 / .18);
  background: linear-gradient(145deg, rgb(143 159 232 / .16), transparent 38%), #f4f6ff;
  box-shadow: 0 34px 90px -44px rgb(62 72 116 / .28), 0 24px 64px -48px rgb(70 93 255 / .34);
  color-scheme: light;
}
[data-theme="light"] .feature-showcase::before { background: radial-gradient(circle, rgb(112 135 255 / .16), transparent 68%); }
[data-theme="light"] .feature-showcase__top p { color: #25345f; }
[data-theme="light"] .feature-showcase__top p i { background: #526fe3; box-shadow: 0 0 0 5px rgb(82 111 227 / .11); }
[data-theme="light"] .feature-showcase__top > span { color: #68749a; }
[data-theme="light"] .feature-showcase__card {
  border-color: rgb(91 116 210 / .16);
  background: #eef1ff;
  box-shadow: 0 14px 40px -28px rgb(62 72 116 / .32);
}

.hero-team-link { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.7rem; padding-top: 1.25rem; border-top: 1px solid var(--line); text-decoration: none; }
.hero-team-link__avatar { flex: none; width: 43px; height: 43px; overflow: hidden; border: 1px solid rgb(var(--brand-glow) / .45); border-radius: 50%; background: #392519; }
.hero-team-link__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; scale: 1.65; }
.hero-team-link > span:nth-child(2) { display: grid; gap: .2rem; }
.hero-team-link small { color: var(--ink-3); font-size: .65rem; }
.hero-team-link b { color: var(--ink); font-size: .78rem; font-weight: 550; }
.hero-team-link > svg { width: 19px; height: 19px; margin-left: .8rem; color: var(--brand); }
.hero-team-link:hover b { color: var(--brand); }
.hero-portrait { width: 100%; min-width: 0; margin: 0; }
.hero-portrait__frame { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 1.12; border: 1px solid rgb(var(--brand-glow) / .3); border-radius: 28px; background: #442d20; box-shadow: 0 24px 80px -38px rgb(var(--brand-glow) / .4); }
.hero-portrait__frame::after { content: ""; position: absolute; z-index: 0; inset: 45% 0 0; background: linear-gradient(transparent 5%, rgb(22 13 8 / .28) 40%, rgb(22 13 8 / .93)); pointer-events: none; }
.hero-portrait__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-portrait__label { position: absolute; top: 1.15rem; right: 1.15rem; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .7rem; border: 1px solid rgb(255 255 255 / .27); border-radius: 30px; background: rgb(31 20 12 / .68); color: #fff5eb; backdrop-filter: blur(12px); font-size: .6rem; letter-spacing: .025em; }
.hero-portrait__label i { color: #ffb476; font-style: normal; font-size: 1rem; }
.hero-portrait__caption { position: absolute; z-index: 1; inset: auto 1.75rem 1.65rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; color: #fff8f0; }
.hero-portrait__caption > div { min-width: 0; }
.hero-portrait__caption span { display: block; font-size: .58rem; letter-spacing: .13em; color: #eed5bf; }
.hero-portrait__caption strong { display: block; margin-top: .4rem; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 550; line-height: 1.2; letter-spacing: -.055em; }
.hero-portrait__caption p { margin-top: .45rem; font-size: .8rem; color: #f6dfca; }
.hero-portrait__chat { display: grid; place-items: center; align-self: center; flex: none; width: 51px; height: 51px; border: 1px solid rgb(255 191 132 / .8); border-radius: 50%; background: var(--brand); color: #251207; }
.hero-portrait__chat svg { width: 23px; height: 23px; rotate: -35deg; }
.hero-portrait__chat:hover { background: var(--brand-2); }
.hero-portrait__note { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .9rem; color: var(--ink-3); font-size: .65rem; }
.hero-portrait__note > span { color: var(--brand); font-size: 1rem; }

/* A apresentação da Luna aparece depois dos planos e mantém o retrato aprovado. */
.luna-spotlight { position: relative; background: radial-gradient(ellipse 65% 70% at 12% 50%, rgb(var(--brand-glow) / .07), transparent 78%); }
.luna-spotlight__shell {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); padding: clamp(1.4rem, 2.4vw, 2.35rem);
  overflow: hidden; border: 1px solid var(--line); border-radius: 30px;
  background: linear-gradient(145deg, rgb(var(--brand-glow) / .075), transparent 47%), var(--fx-card);
  box-shadow: 0 30px 90px -66px rgb(var(--brand-glow) / .65);
}
.luna-spotlight__shell::after { content: ""; position: absolute; z-index: -1; width: 440px; aspect-ratio: 1; right: -235px; bottom: -300px; border: 1px solid rgb(var(--brand-glow) / .12); border-radius: 50%; box-shadow: 0 0 0 64px rgb(var(--brand-glow) / .025), 0 0 0 128px rgb(var(--brand-glow) / .018); pointer-events: none; }
.luna-spotlight__visual { min-width: 0; }
.luna-spotlight .hero-portrait { max-width: 540px; margin-inline: auto; }
.luna-spotlight .hero-portrait__frame { aspect-ratio: 1; border-radius: 24px; }
.luna-spotlight .hero-portrait__image { object-position: 50% 50%; }
.luna-spotlight__copy { position: relative; z-index: 1; max-width: 570px; }
.luna-spotlight__copy .eyebrow { margin-bottom: 1.35rem; }
.luna-spotlight__copy .h2 { max-width: 11.5ch; }
.luna-spotlight__lede { max-width: 53ch; margin-top: 1.5rem; color: var(--ink-2); font-size: .95rem; line-height: 1.85; }
.luna-spotlight__points { display: grid; gap: .65rem; margin-top: 1.5rem; }
.luna-spotlight__points li { display: flex; align-items: center; gap: .65rem; color: var(--ink-2); font-size: .76rem; }
.luna-spotlight__points li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 21px; height: 21px; border: 1px solid rgb(var(--brand-glow) / .28); border-radius: 50%; background: rgb(var(--brand-glow) / .07); color: var(--brand); font-size: .62rem; }
.luna-spotlight__copy .btn { margin-top: 1.8rem; border-radius: 12px; font-size: .82rem; }

.ai-carousel { padding-block: clamp(4rem, 7vw, 6.5rem); background: radial-gradient(ellipse 75% 60% at 50% 5%, rgb(var(--brand-glow) / .075), transparent 90%), var(--bg); }
.ai-carousel__intro { margin-bottom: 2.75rem; }
.ai-carousel__intro h2 { font-size: clamp(2rem, 1.4rem + 2.25vw, 3.5rem); }
.ai-carousel__copy { font-size: 1rem; }
.ai-carousel__viewport { padding-block: .75rem 1rem; mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent); }
.ai-carousel__group { gap: 1.25rem; padding-inline-end: 1.25rem; }
.ai-model { align-items: stretch; justify-content: flex-start; gap: 0; width: clamp(280px, 25.5vw, 326px); min-height: 0; padding: 0; overflow: hidden; border-radius: 24px; background: var(--fx-card); box-shadow: 0 8px 25px -18px rgb(0 0 0 / .25); }
.ai-model::before { z-index: 2; }
.ai-model__visual { position: relative; isolation: isolate; display: grid; place-items: center; height: 190px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 110%, #ffd4a2, transparent 70%), #eadcc8; color: #754222; }
.ai-model__visual::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); background-size: 32px 32px; opacity: .045; mask-image: linear-gradient(transparent, #000); }
.ai-model__orbit { position: absolute; z-index: -1; width: 310px; height: 310px; border: 1px solid currentColor; border-radius: 50%; rotate: -28deg; scale: 1 .48; opacity: .16; }
.ai-model__orbit::before, .ai-model__orbit::after { content: ""; position: absolute; inset: 27px; border: 1px solid currentColor; border-radius: 50%; }
.ai-model__orbit::after { inset: -30px; }
.ai-model__seal { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; background: linear-gradient(145deg, #fff9ef, #f9c492); color: #78381b; box-shadow: 0 17px 23px -10px rgb(48 21 6 / .42), inset 0 2px 2px rgb(255 255 255 / .7); }
.ai-model__logo { display: block; width: 64px; height: 64px; object-fit: contain; }
.ai-model--deepseek .ai-model__logo { width: 74px; }
.ai-model__visual-label { position: absolute; right: 1rem; bottom: .8rem; font-size: .53rem; text-transform: uppercase; letter-spacing: .13em; opacity: .7; }
.ai-model--grok .ai-model__visual { background: radial-gradient(ellipse at 50% 110%, #70503a, transparent 75%), #252321; color: #ffe5cb; }
.ai-model--grok .ai-model__seal { background: linear-gradient(145deg, #34312e, #131210); color: #fff8ee; border-color: #76614f; box-shadow: 0 17px 23px -10px rgb(0 0 0 / .7), inset 0 1px 2px rgb(255 255 255 / .17); }
.ai-model--gemini .ai-model__visual { background: radial-gradient(ellipse at 85% 100%, #eabd91, transparent 68%), #f1e8db; color: #aa4a19; }
.ai-model--gemini .ai-model__seal { background: linear-gradient(145deg, #fffdf7, #ffe8ce); color: #dc6d29; }
.ai-model--gpt .ai-model__visual { background: radial-gradient(ellipse at 50% 0%, #efb785, transparent 85%), #bd794b; color: #4e2916; }
.ai-model--gpt .ai-model__seal { background: linear-gradient(145deg, #38302a, #161310); color: #fff6e9; border-color: #705644; box-shadow: 0 17px 23px -10px rgb(48 21 6 / .65), inset 0 1px 2px rgb(255 255 255 / .25); }
.ai-model--gpt .ai-model__logo { width: 72px; height: 72px; color-scheme: dark; }
.ai-model__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-height: 244px; padding: 1.5rem; }
.ai-model__provider { color: var(--ink-3); font-size: .61rem; letter-spacing: .09em; }
.ai-model__name { margin-top: .35rem; font-size: 1.9rem; font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
.ai-model__description { margin-top: .8rem; margin-bottom: 1.1rem; color: var(--ink-2); font-size: .85rem; line-height: 1.75; }
.ai-model__caption { width: 100%; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .65rem; gap: .45rem; }
.ai-model__caption i { width: 5px; height: 5px; }
.ai-carousel__footer { padding-top: .7rem; }
.ai-carousel__footer > p { font-size: .77rem; }
.ai-carousel__toggle { border-radius: 30px; }
.team-card { border-radius: 22px; }
.team-card__portrait { aspect-ratio: 1 / 1.06; }
.team-card__body { padding: 1.45rem; }

@media (max-width: 1100px) and (min-width: 861px) {
  .hero.has-showcase .hero__in--commercial { gap: 3rem 2rem; }
  .hero.has-showcase .commercial-title { font-size: clamp(2.7rem, 4.7vw, 3.6rem); }
  .hero.has-showcase .hero__cta .btn { font-size: .76rem; padding-inline: .9rem; }
  .hero.has-showcase .hero__primary-action small { max-width: 25ch; }
  .feature-showcase { padding: .8rem; border-radius: 23px; }
  .feature-showcase__top p { font-size: .61rem; }
  .feature-showcase__card { border-radius: 15px; }
  .hero-portrait__caption { inset-inline: 1.25rem; }
  .luna-spotlight__shell { gap: 2.5rem; }
}
@media (max-width: 860px) {
  .hero.has-showcase .hero__in--commercial { grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
  .hero.has-showcase .hero__copy { max-width: 690px; text-align: center; }
  .hero.has-showcase .kin-eyebrow, .hero.has-showcase .hero__cta, .hero.has-showcase .value-strip { justify-content: center; }
  .hero.has-showcase .commercial-title { font-size: clamp(2.65rem, 6.4vw, 4rem); }
  .hero.has-showcase .lede { margin-inline: auto; max-width: 590px; }
  .hero.has-showcase .hero__primary-action { justify-items: center; }
  .hero-team-link { text-align: left; }
  .feature-showcase { width: min(100%, 690px); margin-inline: auto; }
  .hero-portrait { max-width: 530px; margin-inline: auto; }
  .hero-portrait__frame { aspect-ratio: 1 / 1.02; }
  .hero-portrait__caption strong { font-size: 2.5rem; }
  .hero.has-showcase .hero__art { margin-top: .6rem; }
  .luna-spotlight__shell { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 1.5rem 1.5rem 2.5rem; }
  .luna-spotlight__copy { width: min(100%, 590px); margin-inline: auto; text-align: center; }
  .luna-spotlight__copy .h2, .luna-spotlight__lede { margin-inline: auto; }
  .luna-spotlight__copy .eyebrow { justify-content: center; }
  .luna-spotlight__points { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
}
@media (max-width: 560px) {
  .hero.has-showcase .hero__in--commercial { gap: 2.25rem; }
  .hero.has-showcase .commercial-title { font-size: clamp(2.4rem, 10.1vw, 3.5rem); }
  .hero.has-showcase .lede { font-size: .9rem; }
  .hero.has-showcase .kin-eyebrow { font-size: .57rem; letter-spacing: .1em; }
  .hero.has-showcase .hero__cta .btn { padding-inline: 1rem; }
  .hero.has-showcase .hero__primary-action small { font-size: .57rem; }
  .hero.has-showcase .value-strip { gap: .5rem .8rem; }
  .hero.has-showcase .value-strip li { font-size: .61rem; }
  .hero-team-link { margin-top: 1.25rem; padding-top: 1rem; gap: .65rem; }
  .hero-team-link small { font-size: .61rem; }
  .hero-team-link b { font-size: .73rem; }
  .feature-showcase { padding: .65rem; border-radius: 19px; }
  .feature-showcase__top { padding: .15rem .2rem .65rem; }
  .feature-showcase__top p { font-size: .57rem; }
  .feature-showcase__top > span { font-size: .49rem; }
  .feature-showcase__list { gap: .5rem; }
  .feature-showcase__card { border-radius: 12px; }
  .hero-portrait__frame { aspect-ratio: 1 / 1.08; border-radius: 23px; }
  .hero-portrait__caption { inset: auto 1.25rem 1.25rem; }
  .hero-portrait__caption strong { font-size: 2.15rem; }
  .hero-portrait__caption p { font-size: .74rem; }
  .hero-portrait__caption span { font-size: .52rem; }
  .hero-portrait__label { top: .8rem; right: .8rem; font-size: .55rem; }
  .hero-portrait__chat { width: 46px; height: 46px; }
  .hero-portrait__note { font-size: .59rem; }
  .luna-spotlight__shell { gap: 2rem; padding: .85rem .85rem 2rem; border-radius: 21px; }
  .luna-spotlight .hero-portrait__frame { aspect-ratio: 1; border-radius: 17px; }
  .luna-spotlight__copy { padding-inline: .5rem; }
  .luna-spotlight__copy .eyebrow { margin-bottom: 1rem; }
  .luna-spotlight__lede { margin-top: 1.1rem; font-size: .86rem; line-height: 1.75; }
  .luna-spotlight__points { gap: .55rem; margin-top: 1.2rem; }
  .luna-spotlight__points li { font-size: .7rem; }
  .luna-spotlight__copy .btn { margin-top: 1.5rem; }
  .ai-carousel { padding-block: 3.5rem; }
  .ai-carousel__intro { margin-bottom: 1.7rem; }
  .ai-carousel__intro h2 { font-size: 2rem; max-width: 350px; }
  .ai-carousel__intro h2 em { white-space: normal; }
  .ai-carousel__copy { font-size: .87rem; }
  .ai-carousel__group { gap: 1rem; padding-inline-end: 1rem; }
  .ai-model { width: 280px; border-radius: 21px; }
  .ai-model__visual { height: 174px; }
  .ai-model__body { min-height: 246px; padding: 1.3rem; }
  .ai-model__name { font-size: 1.8rem; }
  .ai-model__description { font-size: .84rem; }
  .ai-carousel__footer { flex-direction: row; align-items: center; gap: 1rem; }
  .ai-carousel__footer > p { max-width: 27ch; font-size: .65rem; line-height: 1.7; }
  .ai-carousel__toggle { min-width: 96px; font-size: .66rem; }
  .team-card { border-radius: 17px; }
  .team-card__body { padding: 1rem .8rem; }
  .team-card__portrait { aspect-ratio: 1 / 1.3; }
}
@media (max-width: 360px) {
  .hero.has-showcase .hero__cta .btn { font-size: .7rem; padding-inline: .8rem; }
  .hero.has-showcase .hero__primary-action small { max-width: 23ch; }
  .feature-showcase__top p { max-width: 27ch; line-height: 1.4; text-align: left; }
  .feature-showcase__top > span { display: none; }
  .hero-portrait__caption strong { font-size: 1.95rem; }
  .hero-portrait__caption p { font-size: .65rem; }
  .hero-portrait__note { font-size: .54rem; }
  .ai-model { width: 258px; }
  .ai-model__body { min-height: 251px; padding: 1.2rem; }
  .team-card__portrait { aspect-ratio: 1; }
  .team-card__body { padding: 1.3rem; }
}
@media (prefers-reduced-motion: reduce), print {
  .ai-carousel__viewport { mask-image: none; }
  .ai-carousel__group { gap: 1rem; padding: 0; }
  .ai-model { width: auto; min-width: 0; padding: 0; }
  .ai-model__body { min-height: 265px; padding: 1.2rem; }
  .ai-model__name { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1000px) {
  .ai-carousel__group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 560px) {
  .ai-carousel__group { grid-template-columns: minmax(0, 1fr); }
  .ai-model__body { min-height: 230px; padding: 1.4rem; }
}

/* Rede de inteligências integradas */
.ai-network {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 50% 54%, rgb(var(--brand-glow) / .12), transparent 31%),
    linear-gradient(180deg, var(--bg), var(--bg-2, var(--bg)) 52%, var(--bg));
}
.ai-network::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(circle, rgb(var(--brand-glow) / .2) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000, transparent 73%);
}
.ai-network__intro { position: relative; z-index: 2; text-align: center; }
.ai-network__intro .eyebrow { justify-content: center; margin-bottom: 1.1rem; }
.ai-network__intro h2 { font-size: clamp(2.25rem, 1.55rem + 2.7vw, 4.35rem); font-weight: 520; line-height: 1.04; letter-spacing: -.06em; }
.ai-network__intro h2 em { font-style: normal; }
.ai-network__intro > p:last-child { max-width: 570px; margin: 1.25rem auto 0; color: var(--ink-2); font-size: .96rem; line-height: 1.75; }
.ai-network__stage-wrap { position: relative; z-index: 1; }
.ai-network__stage {
  position: relative;
  width: min(100%, 920px);
  height: clamp(570px, 55vw, 690px);
  margin: 2.25rem auto 0;
}
.ai-network__ambient {
  position: absolute;
  top: 50%; left: 50%;
  width: min(68vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgb(var(--brand-glow) / .13);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}
.ai-network__ambient--one { animation: ai-net-ambient 18s linear infinite; }
.ai-network__ambient--two { width: min(48vw, 440px); opacity: .7; animation: ai-net-ambient 14s linear infinite reverse; }
.ai-network__ambient::before,
.ai-network__ambient::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 18px 5px rgb(var(--brand-glow) / .3);
}
.ai-network__ambient::before { top: 9%; left: 23%; }
.ai-network__ambient::after { right: 6%; bottom: 28%; }
.ai-network__connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ai-network__line {
  stroke: rgb(var(--brand-glow) / .35);
  stroke-width: .22;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke .3s, stroke-width .3s, opacity .3s;
  animation: ai-net-draw .9s cubic-bezier(.22, 1, .36, 1) calc(.38s + var(--line-delay, 0s)) forwards;
}
.ai-network__line:nth-child(1) { --line-delay: 0s; }
.ai-network__line:nth-child(2) { --line-delay: .13s; }
.ai-network__line:nth-child(3) { --line-delay: .26s; }
.ai-network__line:nth-child(4) { --line-delay: .39s; }
.ai-network__line:nth-child(5) { --line-delay: .52s; }
.ai-network.has-focus .ai-network__line { opacity: .2; }
.ai-network .ai-network__line.is-active { opacity: 1; stroke: var(--brand); stroke-width: 2.4; filter: drop-shadow(0 0 5px rgb(var(--brand-glow) / .8)); }
.ai-network__core {
  position: absolute;
  z-index: 4;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: clamp(150px, 19vw, 190px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgb(var(--brand-glow) / .55);
  border-radius: 50%;
  background: linear-gradient(145deg, rgb(var(--brand-glow) / .24), rgb(var(--brand-glow) / .06)), var(--fx-card);
  box-shadow: 0 0 0 12px rgb(var(--brand-glow) / .035), 0 30px 90px -28px rgb(var(--brand-glow) / .75), inset 0 1px rgb(255 255 255 / .13);
  animation: ai-net-core .75s cubic-bezier(.16, 1, .3, 1) both, ai-net-breathe 5s ease-in-out .75s infinite;
}
.ai-network__core-seal { display: grid; place-items: center; width: 72%; height: 72%; padding: 1.15rem; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 28px rgb(var(--brand-glow) / .11); }
.ai-network__core-seal img { display: block; width: 100%; height: auto; }
.ai-network__core > small { position: absolute; bottom: 17%; color: var(--ink-3); font-size: .48rem; text-transform: uppercase; letter-spacing: .16em; }
.ai-network__pulse { position: absolute; inset: -1px; border: 1px solid rgb(var(--brand-glow) / .38); border-radius: 50%; animation: ai-net-pulse 3s ease-out 1s infinite; }
.ai-network__nodes { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ai-network__node {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  width: clamp(118px, 15vw, 150px);
  aspect-ratio: 1;
  translate: -50% -50%;
  opacity: 0;
  scale: .2;
  animation:
    ai-net-emerge .72s cubic-bezier(.16, 1, .3, 1) calc(.48s + var(--i) * .13s) forwards,
    ai-net-float calc(6.8s + var(--i) * .45s) ease-in-out calc(1.2s + var(--i) * .13s) infinite;
}
.ai-network__node button { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ai-network__node-ring { position: absolute; inset: 2px; border: 1px solid rgb(var(--brand-glow) / .22); border-radius: 50%; transition: scale .35s, border-color .35s, box-shadow .35s; }
.ai-network__node-ring::before { content: ""; position: absolute; inset: 9px; border: 1px dashed rgb(var(--brand-glow) / .16); border-radius: inherit; animation: ai-net-spin 16s linear infinite; }
.ai-network__node-seal { display: grid; place-items: center; width: 66%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--fx-card); box-shadow: 0 15px 35px -22px rgb(0 0 0 / .7), inset 0 1px rgb(255 255 255 / .1); transition: transform .35s, border-color .35s, background .35s; }
.ai-network__node-seal img { display: block; width: 48%; height: 48%; object-fit: contain; }
.ai-network__node--deepseek .ai-network__node-seal img { width: 58%; }
.ai-network__monogram { font: 500 clamp(1.8rem, 3.2vw, 2.4rem)/1 Georgia, serif; color: #c66b47; }
.ai-network__node-copy { position: absolute; top: calc(100% + .45rem); display: grid; gap: .15rem; min-width: 130px; text-align: center; }
.ai-network__node-copy b { font-size: .78rem; font-weight: 650; letter-spacing: -.02em; }
.ai-network__node-copy small { color: var(--ink-3); font-size: .52rem; letter-spacing: .06em; }
.ai-network__node button:hover .ai-network__node-ring,
.ai-network__node button:focus-visible .ai-network__node-ring,
.ai-network__node.is-selected .ai-network__node-ring { scale: 1.12; border-color: rgb(var(--brand-glow) / .7); box-shadow: 0 0 35px rgb(var(--brand-glow) / .16); }
.ai-network__node button:hover .ai-network__node-seal,
.ai-network__node button:focus-visible .ai-network__node-seal,
.ai-network__node.is-selected .ai-network__node-seal { transform: scale(1.08); border-color: var(--brand); background: rgb(var(--brand-glow) / .09); }
.ai-network__node button:focus-visible { outline: 2px solid var(--brand); outline-offset: 6px; }
.ai-network__hint { position: absolute; left: 50%; bottom: 1rem; display: flex; align-items: center; gap: .6rem; translate: -50% 0; color: var(--ink-3); font-size: .57rem; text-transform: uppercase; letter-spacing: .13em; white-space: nowrap; }
.ai-network__hint span { width: 18px; height: 1px; background: var(--brand); }
.ai-network__footer { display: flex; align-items: center; justify-content: space-between; width: min(100%, 920px); margin: .5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.ai-network__footer > p { display: flex; align-items: center; gap: .55rem; color: var(--ink-3); font-size: .68rem; }
.ai-network__footer > p i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px rgb(var(--brand-glow) / .6); }
.ai-network__toggle { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 102px; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 30px; background: var(--fx-card); color: var(--ink-2); font: inherit; font-size: .68rem; cursor: pointer; transition: color .2s, border-color .2s; }
.ai-network__toggle:hover { color: var(--ink); border-color: var(--brand); }
.ai-network__toggle[hidden] { display: none; }
.ai-network__toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ai-network[data-running="false"] .ai-network__ambient,
.ai-network[data-running="false"] .ai-network__line,
.ai-network[data-running="false"] .ai-network__core,
.ai-network[data-running="false"] .ai-network__pulse,
.ai-network[data-running="false"] .ai-network__node,
.ai-network[data-running="false"] .ai-network__node-ring::before { animation-play-state: paused; }

@keyframes ai-net-core { from { opacity: 0; scale: .45; filter: blur(8px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes ai-net-breathe { 50% { scale: 1.035; box-shadow: 0 0 0 19px rgb(var(--brand-glow) / .025), 0 35px 100px -28px rgb(var(--brand-glow) / .85), inset 0 1px rgb(255 255 255 / .13); } }
@keyframes ai-net-pulse { 0% { opacity: .8; scale: 1; } 85%, 100% { opacity: 0; scale: 1.55; } }
@keyframes ai-net-draw { to { stroke-dashoffset: 0; } }
@keyframes ai-net-emerge { from { opacity: 0; scale: .2; filter: blur(7px); } to { opacity: 1; scale: 1; filter: blur(0); } }
@keyframes ai-net-float { 0%, 100% { margin-top: 0; margin-left: 0; } 35% { margin-top: -8px; margin-left: 4px; } 70% { margin-top: 4px; margin-left: -5px; } }
@keyframes ai-net-spin { to { rotate: 1turn; } }
@keyframes ai-net-ambient { to { rotate: 1turn; } }

@media (max-width: 680px) {
  .ai-network { padding-block: 4.2rem; }
  .ai-network__intro h2 { max-width: 10ch; margin-inline: auto; font-size: clamp(2.35rem, 10vw, 3.25rem); }
  .ai-network__intro > p:last-child { max-width: 35ch; font-size: .87rem; }
  .ai-network__stage { height: 570px; margin-top: 1.5rem; }
  .ai-network__ambient--one { width: 430px; }
  .ai-network__ambient--two { width: 310px; }
  .ai-network__core { width: 132px; }
  .ai-network__node { width: 102px; }
  .ai-network__node--chatgpt { --y: 10% !important; }
  .ai-network__node--gemini { --x: 82% !important; --y: 33% !important; }
  .ai-network__node--claude { --x: 72% !important; --y: 79% !important; }
  .ai-network__node--deepseek { --x: 28% !important; --y: 79% !important; }
  .ai-network__node--grok { --x: 18% !important; --y: 33% !important; }
  .ai-network__node-copy { top: calc(100% + .28rem); min-width: 106px; }
  .ai-network__node-copy b { font-size: .68rem; }
  .ai-network__node-copy small { font-size: .47rem; }
  .ai-network__core > small { bottom: 14%; font-size: .39rem; }
  .ai-network__hint { bottom: .25rem; }
  .ai-network__footer { margin-top: 0; }
}
@media (max-width: 380px) {
  .ai-network__stage { height: 530px; }
  .ai-network__node { width: 88px; }
  .ai-network__core { width: 118px; }
  .ai-network__node-copy { min-width: 92px; }
  .ai-network__hint { display: none; }
}
@media (prefers-reduced-motion: reduce), print {
  .ai-network__ambient,
  .ai-network__line,
  .ai-network__core,
  .ai-network__pulse,
  .ai-network__node,
  .ai-network__node-ring::before { animation: none !important; }
  .ai-network__line { stroke-dashoffset: 0; }
  .ai-network__node { opacity: 1; scale: 1; }
  .ai-network__pulse { display: none; }
}
