@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Hanken+Grotesk:ital,wght@0,300..800;1,300..800&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  /* ── Paleta pedra & circuito — extraída da marca Wisestone ── */
  --canvas:        #f4f6ef;   /* face clara da pedra — cor fixa, usada também como texto claro sobre seções dark */
  --canvas-soft:   #e8ebe0;   /* seções alternadas */
  --surface:       #dde3d2;   /* superfícies elevadas */
  --onyx:          #0c110d;   /* preto-verde da marca — seções sempre dark (footer, cta, ticker...) */
  --onyx-2:        #171e18;   /* cartões dark elevados */
  --ink:           #10150f;   /* títulos */
  --ink-muted:     #4a5545;   /* corpo de texto */
  --ink-subtle:    #6b7562;   /* secundário */
  --accent:        #2f6fce;   /* azul do "W" — único acento */
  --accent-rgb:    47, 111, 206;
  --accent-deep:   #1f4f9e;   /* azul profundo — hover/ênfase */
  --accent-soft:   #dde8f8;   /* azul pálido — fundos de ícone */
  --line:          rgba(20, 40, 25, .14);
  --line-strong:   rgba(20, 40, 25, .28);

  /* ── Tokens de tema (únicos que trocam no modo escuro) ── */
  --bg:            #f4f6ef;   /* fundo da página */
  --card-bg:       #f8faf3;   /* superfície de cards */
  --glass-rgb:     244, 246, 239;   /* base rgb p/ fundos translúcidos (nav) */

  /* ── Tipografia ── */
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;
  --mono:  'JetBrains Mono', 'SF Mono', monospace;

  /* ── Forma & sombra ── */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-soft:
    0 2px 6px rgba(10, 18, 12, .06),
    0 12px 32px rgba(10, 18, 12, .10);
  --shadow-lift:
    0 4px 10px rgba(10, 18, 12, .08),
    0 24px 56px rgba(10, 18, 12, .16);
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
}

/* ── Modo escuro — só os tokens de "fundo/texto de página" trocam; --canvas/--onyx continuam fixos pois são usados como cor de texto sobre seções sempre-dark ── */
:root[data-theme="dark"] {
  --bg:            #0d120e;
  --canvas-soft:   #141b15;
  --surface:       #1c241d;
  --card-bg:       #171e18;
  --ink:           #f2f5ee;
  --ink-muted:     #b7c2b2;
  --ink-subtle:    #8b9686;
  --accent-deep:   #5b9eef;
  --accent-soft:   rgba(47, 111, 206, .16);
  --line:          rgba(244, 246, 239, .12);
  --line-strong:   rgba(244, 246, 239, .24);
  --glass-rgb:     15, 20, 16;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .1px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s, color .4s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

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

/* animações infinitas param quando a seção sai da tela (atributo posto via IntersectionObserver) */
[data-pausa] *,
[data-pausa] *::before,
[data-pausa] *::after { animation-play-state: paused !important; }

/* ── Film grain overlay ── */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 999;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Cortina de entrada ── */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--onyx);
  animation: curtain-out .7s var(--ease-spring) .35s forwards;
  pointer-events: none;
}
.page-curtain__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  opacity: 0;
  transform: scale(.82);
  animation: curtain-mark .5s var(--ease-spring) .05s forwards;
}
@keyframes curtain-out {
  to { opacity: 0; }
}
@keyframes curtain-mark {
  to { opacity: 1; transform: scale(1); }
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  top: -210px; left: -210px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 206, .10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ── Typography ── */
.label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  display: block;
}
.label--light { color: rgba(244, 246, 239, .75); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.label--accent  { color: var(--accent-deep); }
.scramble-char  { color: var(--ink-subtle); opacity: .55; }

.t-lead {
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-muted);
}

.t-body {
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-muted);
}

h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -.5px;
  color: var(--ink);
}
h2 em {
  font-style: italic;
  font-weight: 480;
  color: var(--accent-deep);
}

h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.2px;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Buttons — pill ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--onyx);
  color: var(--canvas);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(10, 18, 12, .18);
  transition: background .25s, transform .3s var(--ease-spring), box-shadow .3s;
}
.btn-primary svg { transition: transform .3s var(--ease-spring); }
:root[data-theme="dark"] .btn-primary { background: var(--accent); color: #fff; }

:root[data-theme="dark"] .compare__col--ours {
  border-color: var(--line-strong);
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(31, 79, 158, .32);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary--lg { padding: 16px 32px; font-size: 15px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line-strong);
  padding: 14.5px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: border-color .25s, color .25s, background .25s, transform .3s var(--ease-spring);
}
.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(var(--glass-rgb), .6);
  transform: translateY(-2px);
}

/* ── Frame marks (camera viewfinder corners) ── */
.frame-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.fm {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(247, 249, 244, .6);
  border-style: solid;
}
.fm--tl { top: 18px; left: 18px; border-width: 1.5px 0 0 1.5px; border-top-left-radius: 6px; }
.fm--tr { top: 18px; right: 18px; border-width: 1.5px 1.5px 0 0; border-top-right-radius: 6px; }
.fm--bl { bottom: 18px; left: 18px; border-width: 0 0 1.5px 1.5px; border-bottom-left-radius: 6px; }
.fm--br { bottom: 18px; right: 18px; border-width: 0 1.5px 1.5px 0; border-bottom-right-radius: 6px; }

/* ── Glow — anel de borda em gradiente nos cards principais ── */
.hero__card,
.feat-card,
.process-step {
  position: relative;
}
.hero__card::before,
.feat-card::before,
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 2;
}
.hero__card:hover::before,
.feat-card:hover::before,
.process-step:hover::before {
  opacity: 1;
}

.feat-card:hover,
.process-step:hover {
  box-shadow: var(--shadow-lift), 0 0 40px -14px rgba(var(--accent-rgb), .55);
}
.hero__card:hover {
  box-shadow:
    0 6px 14px rgba(10, 18, 12, .10),
    0 36px 80px rgba(10, 18, 12, .22),
    0 0 48px -12px rgba(var(--accent-rgb), .45);
}

/* ── Nav — pill flutuante ── */
.nav {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 100;
  height: auto;
  pointer-events: none;
  transition: top .3s var(--ease-spring);
}
.nav__inner {
  pointer-events: auto;
  max-width: 1080px;
  margin: 0 auto;
  width: calc(100% - 32px);
  padding: 0 10px 0 22px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(var(--glass-rgb), .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 14px rgba(10, 18, 12, .07);
  transition: box-shadow .35s, background .35s;
}
.nav--scrolled .nav__inner {
  background: rgba(var(--glass-rgb), .94);
  box-shadow: 0 8px 32px rgba(10, 18, 12, .14);
}

.nav__logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.2px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
  transition: transform .4s var(--ease-spring), box-shadow .3s;
}
.nav__logo:hover .nav__logo-mark {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 0 0 2px var(--accent);
}

.nav__links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 550;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); background: rgba(47, 111, 206, .12); }

.nav__actions { flex-shrink: 0; }
.nav__actions .btn-primary { padding: 11px 22px; font-size: 13.5px; }

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger svg { width: 22px; height: 22px; }

.nav__theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s, color .25s, border-color .25s, transform .4s var(--ease-spring);
}
.nav__theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: rotate(-14deg);
}
.nav__theme-icon { width: 17px; height: 17px; }
.nav__theme-icon--moon { display: none; }
:root[data-theme="dark"] .nav__theme-icon--sun { display: none; }
:root[data-theme="dark"] .nav__theme-icon--moon { display: block; }

/* ── Seletor de idioma ── */
.nav__lang { position: relative; flex-shrink: 0; }
.nav__lang-btn {
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.nav__lang-btn:hover { color: var(--ink); border-color: var(--ink); }
.nav__lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 150px;
  background: rgba(var(--glass-rgb), .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .25s var(--ease-spring), transform .25s var(--ease-spring);
  z-index: 110;
}
.nav__lang-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nav__lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  background: none;
  border-radius: var(--r-sm);
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 550;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav__lang-menu button:hover { background: var(--accent-soft); color: var(--ink); }
.nav__lang-menu button.is-active { color: var(--accent-deep); font-weight: 650; }
.nav__lang-menu button[dir="rtl"] { text-align: right; }

/* ── RTL (árabe) — inverte apenas as setas "avançar" dos botões ── */
[dir="rtl"] .btn-primary svg { transform: scaleX(-1); }
[dir="rtl"] .btn-primary:hover svg { transform: scaleX(-1) translateX(3px); }
/* árabe é cursivo: letter-spacing separa as letras e quebra a ligação entre elas */
html[lang="ar"] * { letter-spacing: 0 !important; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}

/* fundo: mesh gradient orgânico — tons de pedra e azul da marca */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero__mesh-blob--1 {
  width: 620px; height: 620px;
  top: -180px; right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(47, 111, 206, .30), transparent 70%);
  animation: mesh-drift-1 17s ease-in-out infinite alternate;
}
.hero__mesh-blob--2 {
  width: 520px; height: 520px;
  bottom: -200px; left: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(107, 146, 110, .26), transparent 70%);
  animation: mesh-drift-2 21s ease-in-out infinite alternate-reverse;
}
.hero__mesh-blob--3 {
  width: 420px; height: 420px;
  top: 18%; left: 36%;
  background: radial-gradient(circle at 50% 50%, rgba(140, 180, 224, .20), transparent 70%);
  animation: mesh-drift-3 25s ease-in-out infinite alternate;
}
.hero__mesh-blob--4 {
  width: 360px; height: 360px;
  bottom: 6%; right: 16%;
  background: radial-gradient(circle at 40% 60%, rgba(232, 235, 224, .55), transparent 70%);
  animation: mesh-drift-4 19s ease-in-out infinite alternate-reverse;
}
@keyframes mesh-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, 60px) scale(1.15); }
}
@keyframes mesh-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.1); }
}
@keyframes mesh-drift-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, -50px) scale(1.2); }
}
@keyframes mesh-drift-4 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 50px) scale(.9); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero__kicker {
  opacity: 0;
  animation: fade-up .8s var(--ease-spring) .05s forwards;
}

.hero__headline {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(48px, 6.6vw, 104px);
  font-weight: 580;
  line-height: 1.02;
  letter-spacing: -1.5px;
  margin: 22px 0 26px;
  color: var(--ink);
}
.hero__headline em {
  font-style: italic;
  font-weight: 460;
  color: var(--accent-deep);
}

/* máscara de revelação palavra-por-linha */
.hw { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hw__in {
  display: inline-block;
  transform: translateY(112%);
  animation: hw-up 1s var(--ease-spring) var(--d, 0s) forwards;
}
@keyframes hw-up { to { transform: translateY(0); } }

.hero__lead {
  max-width: 440px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up .8s var(--ease-spring) .55s forwards;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up .8s var(--ease-spring) .7s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__minispecs {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  opacity: 0;
  animation: fade-up .8s var(--ease-spring) .85s forwards;
}
.hero__minispec strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -.4px;
  color: var(--ink);
  line-height: 1.1;
}
.hero__minispec span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.hero__minispec-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* cartão polaroid do hero */
.hero__visual {
  position: relative;
  opacity: 0;
  animation: card-in 1.1s var(--ease-spring) .45s forwards;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(40px) rotate(4deg); }
  to   { opacity: 1; transform: translateY(0) rotate(1.6deg); }
}

.hero__card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--r-lg);
  padding: 14px 14px 0;
  box-shadow: var(--shadow-lift);
  transform: rotate(1.6deg) translateY(var(--py, 0px));
  transition: transform .5s var(--ease-spring), box-shadow .5s;
}
.hero__card:hover {
  transform: rotate(0deg) translateY(calc(var(--py, 0px) - 6px));
  box-shadow:
    0 6px 14px rgba(10, 18, 12, .10),
    0 36px 80px rgba(10, 18, 12, .22);
}

.hero__card-img {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: var(--surface);
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-spring);
}
.hero__card:hover .hero__image { transform: scale(1.04); }

.hero__card-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8px 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.hero__card-rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b3402a;
  font-weight: 600;
}
.hero__card-rec i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c4452c;
  animation: pulse 1.6s ease-in-out infinite;
}

/* data strip sobre a imagem */
.hero__data {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 20px 16px;
  background: linear-gradient(to top, rgba(8, 12, 9, .72) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
}
.hero__data-item {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: rgba(244, 246, 239, .55);
  text-transform: uppercase;
  line-height: 1.4;
}
.hero__data-item .hero__data-val {
  display: block;
  color: rgba(244, 246, 239, .92);
  font-size: 11px;
  font-weight: 500;
}
.hero__data-live { color: #6ee7a0 !important; }

/* scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  opacity: 0;
  animation: fade-up .8s var(--ease-spring) 1.2s forwards;
}
.hero__scroll-line {
  width: 1.5px;
  height: 34px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: var(--accent-deep);
  transform: translateY(-100%);
  animation: scroll-drip 1.8s ease-in-out infinite;
}
@keyframes scroll-drip {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ── Ticker ── */
.ticker {
  background: var(--onyx);
  overflow: hidden;
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 3;
}
.ticker__status {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  color: rgba(244, 246, 239, .4);
  white-space: nowrap;
  padding: 0 22px;
  border-right: 1px solid rgba(244, 246, 239, .12);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.ticker__dot-live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }

.ticker__scroll { overflow: hidden; flex: 1; }
.ticker__track {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
  padding-left: 30px;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 246, 239, .55);
  flex-shrink: 0;
  text-transform: uppercase;
}
.ticker__sep {
  color: rgba(47, 111, 206, .55);
  font-size: 9px;
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Split sections ── */
.split { padding: 120px 0; }
.split--bg { background: var(--canvas-soft); }

/* Scroll-trigger variant */
.split--scroll {
  padding: 0;
  height: 280vh;
  position: relative;
}
.split__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
}

/* Canvas inside split image-wrap */
.vs2-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.vs2-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity .4s;
}
.vs2-placeholder.hidden { opacity: 0; }

.split__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split__inner--reverse .split__visual { order: 2; }
.split__inner--reverse .split__text   { order: 1; }

/* Image wrapper arredondado */
.split__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.split__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease-spring);
}
.split__image-wrap:hover img { transform: scale(1.04); }

.split__text { display: flex; flex-direction: column; }
.split__text .label { margin-bottom: 16px; }

/* Feature list inside split */
.feat-list { list-style: none; margin-top: 38px; display: flex; flex-direction: column; gap: 22px; }
.feat-list__item { display: flex; gap: 16px; align-items: flex-start; }
.feat-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-deep);
  margin-top: 2px;
  transition: background .3s, color .3s, transform .4s var(--ease-spring);
}
.feat-list__item:hover .feat-list__icon {
  background: var(--accent-deep);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.feat-list__item strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.1px;
  margin-bottom: 3px;
}











































/* ── Gallery carrossel ── */
.gallery { padding: 28px 0; background: var(--canvas-soft); }
.gallery__frame {
  max-width: calc(100% - 48px);
  margin: 0 auto;
}
.gallery__carousel {
  position: relative;
  height: 580px;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lift);
  background: var(--onyx);
}
.gallery__track {
  display: flex;
  height: 100%;
  transition: transform .7s var(--ease-spring);
  will-change: transform;
}
.gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gallery__slide-label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(8, 12, 9, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 246, 239, .88);
}
.gallery__slide-num {
  color: var(--accent);
  font-weight: 600;
}
/* Nav arrows */
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244, 246, 239, .14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 246, 239, .22);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .3s var(--ease-spring);
  z-index: 5;
}
.gallery__nav:hover {
  background: rgba(244, 246, 239, .92);
  color: var(--ink);
  transform: translateY(-50%) scale(1.08);
}
.gallery__nav--prev { left: 22px; }
.gallery__nav--next { right: 22px; }
/* Dots */
.gallery__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(244, 246, 239, .4);
  cursor: pointer;
  transition: background .3s, width .35s var(--ease-spring);
  padding: 0;
}
.gallery__dot.is-active {
  background: var(--accent);
  width: 22px;
}
/* Caption & frame marks */
.gallery__caption {
  position: absolute;
  bottom: 38px;
  right: 44px;
  text-align: right;
  z-index: 4;
  pointer-events: none;
}
.gallery__caption-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 540;
  font-style: italic;
  line-height: 1.45;
  color: #fff;
  margin-top: 8px;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
}
.gallery__empty {
  display: none; /* mostrado via JS apenas quando pasta está vazia */
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(244, 246, 239, .3);
  line-height: 2;
  background: var(--onyx);
  z-index: 0;
}
.gallery__carousel .fm { border-color: rgba(255,255,255,.35); width: 24px; height: 24px; }
.gallery__carousel .fm--tl { top: 24px; left: 24px; }
.gallery__carousel .fm--tr { top: 24px; right: 24px; }
.gallery__carousel .fm--bl { bottom: 24px; left: 24px; }
.gallery__carousel .fm--br { bottom: 24px; right: 24px; }








/* mockup de navegador */












/* etiqueta flutuante "encaminhe para o cliente" */







/* ── Features grid ── */
.features {
  padding: 120px 0;
  background: var(--canvas-soft);
}
.features__header { max-width: 520px; margin-bottom: 64px; }
.features__header .label { margin-bottom: 12px; }

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

.feat-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  will-change: transform;
  transition: transform .45s var(--ease-spring), box-shadow .45s;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.feat-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 22px;
  transition: background .3s, color .3s, transform .45s var(--ease-spring);
}
.feat-card:hover .feat-card__icon {
  background: var(--accent-deep);
  color: #fff;
  transform: rotate(-6deg) scale(1.1);
}

/* ── Comparativo ── */
.compare { padding: 120px 0; background: var(--bg); }
.compare__header { max-width: 560px; margin-bottom: 64px; }
.compare__header .label { margin-bottom: 12px; }

.compare__visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 56px;
}
.compare__img-col { display: flex; flex-direction: column; gap: 0; }
.compare__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.compare__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-spring);
}
.compare__img-wrap:hover img { transform: scale(1.03); }
.compare__img-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}
.compare__img-label--good { color: #3f9e5f; }
.compare__img-label--bad  { color: var(--ink-subtle); }
.compare__img-wrap .fm { border-color: rgba(255,255,255,.4); width: 16px; height: 16px; }
.compare__img-wrap .fm--tl { top: 14px; left: 14px; }
.compare__img-wrap .fm--tr { top: 14px; right: 14px; }
.compare__img-wrap .fm--bl { bottom: 14px; left: 14px; }
.compare__img-wrap .fm--br { bottom: 14px; right: 14px; }

.compare__divider {
  padding: 0 28px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 650;
  font-style: italic;
  letter-spacing: .1em;
  color: var(--accent-deep);
  align-self: center;
}

.compare__table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare__col {
  padding: 44px 48px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.compare__col--ours {
  background: var(--onyx);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.compare__col--ours::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 206, .18), transparent 70%);
  pointer-events: none;
}
.compare__col--theirs { background: var(--canvas-soft); }
.compare__col-head { margin-bottom: 32px; }
.compare__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
}
.compare__badge--good { background: rgba(74, 222, 128, .14); color: #6ee7a0; border: 1px solid rgba(74, 222, 128, .3); }
.compare__badge--bad  { background: rgba(20, 40, 25, .1); color: var(--ink-muted); border: 1px solid var(--line-strong); }
.compare__list { list-style: none; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.compare__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
}
.compare__item::before {
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
  font-size: 13px;
}
.compare__item--yes { color: rgba(244, 246, 239, .88); }
.compare__item--yes::before { content: '✓'; color: #6ee7a0; }
.compare__item--no  { color: var(--ink-muted); }
.compare__item--no::before  { content: '✗'; color: var(--ink-subtle); }

@media (max-width: 810px) {
  .compare__visual { grid-template-columns: 1fr; }
  .compare__divider { padding: 16px 0; text-align: center; }
  .compare__table { grid-template-columns: 1fr; }
  .compare__col { padding: 32px 24px; }
}

/* ── Process ── */
.process {
  padding: 120px 0;
  background: var(--bg);
}
.process__header { max-width: 540px; margin-bottom: 72px; }
.process__header .label { margin-bottom: 12px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.process-step {
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform .45s var(--ease-spring), box-shadow .45s;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.process-step__num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 560;
  font-style: italic;
  letter-spacing: -1px;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
  line-height: 1;
}

/* ── CTA ── */
.cta {
  padding: 60px 0 120px;
  background: var(--canvas-soft);
}
.cta__box {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  background: var(--onyx);
  border-radius: var(--r-xl);
  padding: 96px 40px;
  box-shadow: var(--shadow-lift);
}
.cta__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 206, .26), transparent 65%);
  pointer-events: none;
  animation: cta-breathe 6s ease-in-out infinite alternate;
}
@keyframes cta-breathe {
  from { opacity: .7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1; transform: translateX(-50%) scale(1.12); }
}
.cta__label {
  margin-bottom: 20px;
  color: rgba(47, 111, 206, .85);
  position: relative;
}
.cta__box h2 {
  color: var(--canvas);
  margin-bottom: 18px;
  position: relative;
}
.cta__box h2 em { color: var(--accent); }
.cta__lead {
  max-width: 420px;
  margin: 0 auto 40px;
  color: rgba(244, 246, 239, .55);
  font-size: 16.5px;
  position: relative;
}
.btn-primary--light {
  background: var(--canvas);
  color: var(--onyx);
  position: relative;
}
.btn-primary--light:hover { background: var(--accent); color: var(--onyx); }

/* ── Footer ── */
.footer {
  background: var(--onyx);
  padding: 80px 0 32px;
  color: var(--canvas);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 80px;
  margin-bottom: 56px;
}
.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.2px;
  color: var(--canvas);
}
.footer__logo-mark {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 9px;
  flex-shrink: 0;
}
.footer__tagline {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(244, 246, 239, .38);
  max-width: 280px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(47, 111, 206, .7);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 11px; }
.footer__col a {
  font-size: 13.5px;
  color: rgba(244, 246, 239, .5);
  transition: color .2s, padding-left .25s var(--ease-spring);
}
.footer__col a:hover { color: var(--canvas); padding-left: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(244, 246, 239, .08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(244, 246, 239, .25);
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  color: rgba(244, 246, 239, .3);
  display: flex;
  transition: color .25s, transform .35s var(--ease-spring);
}
.footer__social a:hover { color: var(--accent); transform: translateY(-3px); }

/* ── Video Scroll ── */
.video-scroll {
  height: 400vh;
  position: relative;
}

.video-scroll__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #070a08;
}

/* Canvas — full viewport, object-fit cover */
.vs-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Gradient: fades bottom so text is legible */
.video-scroll__sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(6, 9, 7, .76) 0%, transparent 52%),
    linear-gradient(to bottom, rgba(6, 9, 7, .3) 0%, transparent 28%);
  z-index: 1;
  pointer-events: none;
}

/* Placeholder when no frames */
.vs-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #070a08;
  transition: opacity .4s;
}
.vs-placeholder.hidden { opacity: 0; pointer-events: none; }
.vs-placeholder__inner { text-align: center; }
.vs-placeholder__icon { margin: 0 auto 20px; display: block; }
.vs-placeholder__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(244, 246, 239, .3);
  line-height: 1.8;
}

/* HUD — top right */
.vs-hud {
  position: absolute;
  top: 96px;
  right: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}
.vs-hud__row { display: flex; align-items: center; gap: 10px; }
.vs-hud__key {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244, 246, 239, .42);
}
.vs-hud__dot-wrap { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.vs-hud__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

/* Frame marks */
.video-scroll__sticky .frame-marks { z-index: 3; }
.video-scroll__sticky .fm { border-color: rgba(244, 246, 239, .25); }

/* Chapters — overlay bottom left */
.vs-chapters {
  position: absolute;
  bottom: 72px;
  left: 64px;
  z-index: 3;
  max-width: 600px;
  display: grid;
}

.vs-chapter {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-spring), transform .6s var(--ease-spring);
  pointer-events: none;
}
.vs-chapter.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.vs-chapter__label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(47, 111, 206, .85);
  margin-bottom: 14px;
}
.vs-chapter__text {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 82px);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -1px;
  color: #f5f8f1;
}
.vs-chapter__text em {
  font-style: italic;
  font-weight: 460;
  color: var(--accent);
}

/* Progress bar */
.vs-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(244, 246, 239, .12);
  z-index: 4;
}
.vs-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (max-width: 810px) {
  .video-scroll { height: 350vh; }
  .vs-chapters { left: 24px; bottom: 56px; max-width: calc(100vw - 48px); }
  .vs-chapter__text { font-size: clamp(32px, 8.6vw, 54px); letter-spacing: -.5px; }
  .vs-hud { top: 92px; right: 24px; }
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s var(--ease-spring),
    transform .9s var(--ease-spring);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hw__in { transform: none; }
  .hero__kicker, .hero__lead, .hero__actions, .hero__minispecs,
  .hero__visual, .hero__scroll-hint { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; }
  
  
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  
}

@media (max-width: 810px) {
  .nav { top: 10px; }
  .nav__inner { gap: 8px; padding: 0 8px 0 16px; }
  .nav__lang-btn { min-width: 34px; padding: 0 8px; font-size: 10px; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 84px; left: 16px; right: 16px;
    background: rgba(var(--glass-rgb), .97);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    padding: 28px;
    gap: 8px;
    z-index: 99;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .nav__links.is-open a {
    font-size: 19px;
    font-weight: 650;
    color: var(--ink);
    padding: 10px 14px;
  }
  .nav__hamburger { display: block; }
  .nav__actions { display: none; }

  .hero { padding: 110px 0 90px; min-height: auto; }
  .hero__inner { padding: 0 24px; }
  .hero__headline { letter-spacing: -1px; }
  .hero__minispecs { flex-wrap: wrap; gap: 14px; }
  .hero__card { transform: rotate(1deg); }

  .split { padding: 80px 0; }
  .split--scroll { padding: 0; height: 220vh; }
  .split__sticky { height: 100vh; height: 100dvh; }
  .split__inner { grid-template-columns: 1fr !important; gap: 40px; padding: 0 24px; }
  .split__inner--reverse .split__visual { order: 1; }
  .split__inner--reverse .split__text   { order: 2; }

  
  
  
  
  
  

  
  

  .features { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }

  .compare { padding: 80px 0; }

  .process { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; }

  .gallery__frame { max-width: calc(100% - 24px); }
  .gallery__carousel { height: 400px; border-radius: var(--r-lg); }
  .gallery__caption { right: 24px; bottom: 60px; }

  .cta { padding: 40px 0 80px; }
  .cta__box { padding: 64px 24px; border-radius: var(--r-lg); }

  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .container { padding: 0 24px; }
  
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
  .ticker__track { animation-duration: 24s; }
  .hero__minispec strong { font-size: 19px; }
  .gallery__nav { width: 40px; height: 40px; }
}




/* a foto é retrato (1122×1402): fora do fluxo, quem define a altura é a coluna da direita */



/* ═══════════════════════════════════════════════════════════════════
   #dados — da imagem ao dado (scrollytelling, 5 fases)
   A altura da seção é o único botão de ritmo: o progresso 0–1 sai de
   offsetHeight - innerHeight. Mexer aqui muda a duração do pin.
   ═══════════════════════════════════════════════════════════════════ */
.flow {
  position: relative;
  height: 480vh;
  background: var(--onyx);
  color: var(--canvas);
}
.flow__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --dir: 1;
}
[dir="rtl"] .flow__sticky { --dir: -1; }

/* a nav flutuante ocupa ~90px no topo: capítulos e contador começam abaixo dela */
.flow__counter {
  position: absolute;
  top: 116px;
  inset-inline-end: 64px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(244, 246, 239, .38);
}
.flow__counter-n { color: var(--accent); }

/* ── Capítulos: mesma mecânica de .vs-chapter (grid empilhado + is-active) ── */
.flow__chapters {
  flex: none;
  display: grid;
  list-style: none;
  margin: 0;
  padding: 110px 64px 18px;
  min-height: 212px;
}
.flow__chapter {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-spring), transform .6s var(--ease-spring);
  pointer-events: none;
}
.flow__chapter.is-active { opacity: 1; transform: none; pointer-events: auto; }
.flow__chapter-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(47, 111, 206, .9);
  margin-bottom: 10px;
}
.flow__chapter-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -.6px;
  color: #f5f8f1;
  margin: 0;
}
.flow__chapter-text em { font-style: italic; font-weight: 460; color: var(--accent); }

/* ── Palco: cartão, rede e portal empilhados na mesma célula ── */
.flow__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding: 0 64px 44px;
}
.flow__card,
.flow__net,
.flow__portal { grid-area: 1 / 1; }

/* ── 1–3 · o cartão da chapa ── */
.flow__card {
  /* cabe na altura do palco: largura ≤ altura disponível × proporção da imagem */
  width: min(1000px, 100%, calc((100dvh - 300px) * 1.546));
  display: flex;
  align-items: stretch;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: #0a0e0a;
  transition: transform .9s var(--ease-spring), opacity .55s ease, width .9s var(--ease-spring);
  will-change: transform, opacity;
}
/* fase 4: a chapa encolhe para dentro da nuvem (a nuvem está no centro do palco) */
@media (min-width: 811px) {
  [data-phase="3"] .flow__card,
  [data-phase="4"] .flow__card,
  [data-phase="5"] .flow__card { width: min(1000px, 100%, calc((100dvh - 300px) * 1.546 + 320px)); }
}
[data-phase="4"] .flow__card,
[data-phase="5"] .flow__card {
  transform: scale(.06);
  opacity: 0;
  pointer-events: none;
}

.flow__slab {
  position: relative;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;              /* sem isto o flex estica a caixa e o overlay sai de cima da pedra */
  aspect-ratio: 2000 / 1294;
  overflow: hidden;
}
.flow__slab img { width: 100%; height: 100%; object-fit: cover; display: block; }

.flow__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
/* fora da área útil escurece, como no produto */
.flow__fora {
  fill: rgba(6, 10, 7, .55);
  opacity: 0;
  transition: opacity .6s ease .9s;
}
.flow__contour {
  fill: none;
  stroke: rgba(244, 246, 239, .9);
  stroke-width: 5;
  stroke-dasharray: 22 16;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .5s ease;
}
/* o retângulo útil se desenha (pathLength=1 → dashoffset 1→0) */
.flow__util {
  fill: rgba(47, 111, 206, 0);
  stroke: var(--accent);
  stroke-width: 8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--ease-spring) .35s, fill .6s ease 1.1s;
}
[data-phase="2"] .flow__fora,
[data-phase="2"] .flow__contour,
[data-phase="3"] .flow__fora,
[data-phase="3"] .flow__contour { opacity: 1; }
[data-phase="2"] .flow__util,
[data-phase="3"] .flow__util { stroke-dashoffset: 0; fill: rgba(47, 111, 206, .1); }

.flow__tag {
  position: absolute;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 7px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s ease, transform .5s var(--ease-spring);
}
.flow__tag--rect {
  inset-block-start: 7%;
  inset-inline-start: 10%;
  background: var(--accent);
  color: #fff;
  transition-delay: 1.2s;
}
.flow__tag--contour {
  inset-block-end: 7%;
  inset-inline-end: 6%;
  background: rgba(10, 15, 11, .82);
  color: var(--canvas);
  border: 1px dashed rgba(244, 246, 239, .5);
  transition-delay: .25s;
}
[data-phase="2"] .flow__tag,
[data-phase="3"] .flow__tag { opacity: 1; transform: none; }

/* ── 3 · a coluna de dados nasce da imagem ── */
.flow__specs {
  flex: 0 0 0px;
  overflow: hidden;
  margin: 0;
  opacity: 0;
  background: rgba(244, 246, 239, .05);
  border-inline-start: 1px solid rgba(244, 246, 239, .1);
  transition: flex-basis .9s var(--ease-spring), opacity .5s ease;
}
[data-phase="3"] .flow__specs,
[data-phase="4"] .flow__specs,
[data-phase="5"] .flow__specs { flex-basis: 320px; opacity: 1; }

.flow__id { padding: 18px 22px 12px; border-bottom: 1px solid rgba(244, 246, 239, .1); }
.flow__id-code {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: rgba(244, 246, 239, .42);
  margin-bottom: 5px;
  white-space: nowrap;
}
.flow__id-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 580;
  color: #f5f8f1;
  white-space: nowrap;
}
.flow__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 22px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(calc(16px * var(--dir, 1)));
  transition: opacity .5s ease calc(.22s + var(--i) * .07s),
              transform .6s var(--ease-spring) calc(.22s + var(--i) * .07s);
}
[data-phase="3"] .flow__row,
[data-phase="4"] .flow__row,
[data-phase="5"] .flow__row { opacity: 1; transform: none; }
.flow__row dt {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 246, 239, .45);
}
.flow__row dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 580;
  color: #f5f8f1;
}
.flow__row dd i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(244, 246, 239, .45);
  margin-inline-start: 3px;
}
.flow__row--hi { background: rgba(47, 111, 206, .16); }
.flow__row--hi dd { color: var(--accent); }

/* ═══ 4 · a rede: studios → nuvem → portal ═══════════════════════════
   Tudo posicionado em % da caixa, e os fios num SVG 100×100 esticado
   (preserveAspectRatio=none): nós, fios e pacotes ficam alinhados em
   qualquer proporção de tela, sem JS. */
.flow__net {
  container-type: size;
  will-change: transform, opacity;
  position: relative;
  width: min(900px, 100%);
  height: min(100%, 580px);
  opacity: .001;               /* não 0: assim a camada já está pintada quando a fase 4 começa */
  transform: scale(.94);
  transition: opacity .6s ease, transform .9s var(--ease-spring);
  pointer-events: none;
}
[data-phase="4"] .flow__net { opacity: 1; transform: none; transition-delay: .25s; }

.net__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.net__wires line {
  stroke: rgba(47, 111, 206, .55);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  vector-effect: non-scaling-stroke;
}


.net__studio,
.net__cloud,
.net__portal {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  z-index: 2;
  text-align: center;
}
.net__studio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 9px;
  border-radius: 14px;
  background: #121912;
  border: 1px solid rgba(244, 246, 239, .12);
}
.net__studio--main { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 111, 206, .16); }
.net__thumb {
  display: block;
  width: clamp(76px, 12vw, 132px);
  aspect-ratio: 2000 / 1294;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.net__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.net__studio b {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244, 246, 239, .7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.net__studio b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fd18b;
  box-shadow: 0 0 0 3px rgba(79, 209, 139, .18);
}

.net__cloud { width: clamp(120px, 18vw, 180px); }
.net__cloud-shape { width: 100%; height: auto; display: block; overflow: visible; }
.net__cloud-shape path {
  fill: #0f1d2e;
  stroke: var(--accent);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.net__cloud::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 36%;
  width: 150%;
  aspect-ratio: 1.6;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(47, 111, 206, .55), rgba(47, 111, 206, 0));
  opacity: 0;
  pointer-events: none;
}
[data-phase="4"] .net__cloud::before { animation: net-brilho 2.4s ease-in-out infinite; }
@keyframes net-brilho { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.net__cloud b {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 6px;
  background: var(--onyx);
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 580;
  color: #f5f8f1;
  white-space: nowrap;
}

.net__portal {
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 34px rgba(47, 111, 206, .35);
  white-space: nowrap;
}
.net__portal b { display: block; font-family: var(--serif); font-size: clamp(15px, 1.6vw, 19px); font-weight: 580; }
.net__portal span { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.net__portal i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .78;
}

/* pacotes: a imagem sobe dos studios para a nuvem; o dado desce para o portal */
.net__pkt {
  position: absolute;
  left: 0;
  top: 0;
  translate: calc(var(--fx) * 1cqw - 50%) calc(var(--fy) * 1cqh - 50%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.net__pkt img {
  display: block;
  width: 34px;
  height: 21px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.net__pkt--data {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  background: #121912;
  border: 1px solid var(--accent);
  color: var(--accent);
}
[data-phase="4"] .net__pkt { animation: net-pkt 2.6s cubic-bezier(.45, 0, .55, 1) var(--d) infinite; }
@keyframes net-pkt {
  0%   { translate: calc(var(--fx) * 1cqw - 50%) calc(var(--fy) * 1cqh - 50%); opacity: 0; scale: 1; }
  12%  { opacity: 1; }
  80%  { opacity: 1; scale: 1; }
  100% { translate: calc(var(--tx) * 1cqw - 50%) calc(var(--ty) * 1cqh - 50%); opacity: 0; scale: .45; }
}

/* ── 5 · o portal ── */
.flow__portal {
  will-change: transform, opacity;
  width: min(1000px, 100%);
  opacity: .001;               /* idem: pintada antes da fase 5 */
  transform: translateY(26px) scale(.97);
  transition: opacity .7s ease .12s, transform .9s var(--ease-spring) .12s;
  pointer-events: none;
}
[data-phase="5"] .flow__portal { opacity: 1; transform: none; }

/* ── Moldura de navegador: reforça que o portal é acessado via web ── */
.browser-mock {
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(244, 246, 239, .03);
  border: 1px solid rgba(244, 246, 239, .12);
  box-shadow: var(--shadow-lift);
}
.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 40px;
  padding-inline: 14px;
  background: rgba(244, 246, 239, .06);
  border-bottom: 1px solid rgba(244, 246, 239, .1);
}
.browser-mock__dots { display: flex; gap: 6px; flex: none; }
.browser-mock__dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.browser-mock__dots i:nth-child(1) { background: #ef5f57; }
.browser-mock__dots i:nth-child(2) { background: #f6bd3b; }
.browser-mock__dots i:nth-child(3) { background: #61c454; }
.browser-mock__url {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 320px;
  margin-inline: auto;
  background: rgba(244, 246, 239, .07);
  border: 1px solid rgba(244, 246, 239, .1);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(244, 246, 239, .55);
}
.browser-mock__lock { width: 11px; height: 11px; fill: rgba(244, 246, 239, .45); flex: none; }
.browser-mock__body { padding: 18px 18px 20px; }

.flow__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.flow__kpi {
  background: rgba(244, 246, 239, .06);
  border: 1px solid rgba(244, 246, 239, .1);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}
.flow__kpi b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 580;
  color: var(--accent);
  line-height: 1.1;
}
.flow__kpi > span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(244, 246, 239, .45);
}

.flow__grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.flow__cell {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(244, 246, 239, .06);
}
.flow__cell img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .55; }
.flow__cell--new { outline: 2px solid var(--accent); outline-offset: -2px; }
.flow__cell--new img { opacity: 1; }
.flow__cell--new i {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  font-style: normal;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-align: center;
  padding: 3px 0;
  background: var(--accent);
  color: #fff;
}
.flow__cell--more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(244, 246, 239, .45);
}

.flow__progress {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 3px;
  background: rgba(244, 246, 239, .12);
  z-index: 4;
}
.flow__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════════════
   #portal — o portal unificado
   ═══════════════════════════════════════════════════════════════════ */
.portal { padding: 120px 0; background: var(--bg); }
.portal__head { max-width: 640px; margin-bottom: 44px; }
.portal__head .label { margin-bottom: 12px; }
.portal__head h2 { font-size: clamp(30px, 3.6vw, 50px); }
.portal__head .t-lead { margin-top: 18px; }
/* chamariz para a IA logo na entrada do portal */
.portal__chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 6px 16px 6px 6px;
  border-radius: 99px;
  border: 1px solid rgba(47, 111, 206, .45);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .3s, transform .45s var(--ease-spring), box-shadow .3s;
}
.portal__chip b {
  padding: 5px 11px;
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
}
.portal__chip span > span:first-child { color: var(--accent); }
.portal__chip i { font-style: normal; color: var(--accent); transition: translate .3s var(--ease-spring); }
[dir="rtl"] .portal__chip i { scale: -1 1; }
.portal__chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(47, 111, 206, .25); }
.portal__chip:hover i { translate: 4px 0; }

.portal-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}
.portal-frame__bar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 54px;
  padding-inline: 20px;
  background: var(--onyx);
  color: var(--canvas);
}
.portal-frame__mark {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  flex: none;
}
.portal-frame__tabs { display: flex; gap: 4px; min-width: 0; overflow: hidden; }
.portal-tab {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  color: rgba(244, 246, 239, .42);
}
.portal-tab.is-active {
  color: var(--canvas);
  background: rgba(244, 246, 239, .1);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.portal-frame__meta {
  margin-inline-start: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(244, 246, 239, .4);
  white-space: nowrap;
}
.portal-frame__body {
  background: var(--canvas-soft);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.portal-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--r-md);
  padding: 38px 34px;
}
.portal-block--flip .portal-block__text { order: 2; }
.portal-block__n {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.portal-block__text h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 580;
  line-height: 1.2;
  letter-spacing: -.3px;
  margin-bottom: 12px;
}

/* ── Painéis de dados reconstruídos (pv = portal visual) ── */
.pv { display: flex; flex-direction: column; gap: 12px; }
.pv__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv__kpi {
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 15px 14px;
}
.pv__kpi b {
  display: block;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 580;
  color: var(--ink);
  line-height: 1.15;
}
.pv__kpi span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.pv__yield {
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 16px 14px;
}
.pv__yield-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}
.pv__yield-head span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .09em;
  color: var(--ink-subtle);
}
.pv__yield-head b { font-family: var(--serif); font-size: 22px; color: var(--accent); }
.pv__bar {
  height: 10px;
  border-radius: 99px;
  background: var(--line-strong);
  overflow: hidden;
}
.pv__bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
}
.pv__yield-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-subtle);
}

.pv__bundle {
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px;
}
.pv__bundle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pv__bundle-head span { font-family: var(--serif); font-size: 17px; font-weight: 580; }
.pv__bundle-head em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 4px 9px;
  border-radius: 99px;
}
.pv__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 13px; }
.pv__thumbs span { display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.pv__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv__rows { display: flex; flex-direction: column; gap: 7px; }
.pv__rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.pv__rows span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.pv__rows b { font-family: var(--serif); font-size: 15px; font-weight: 580; }

.pv__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv__pane {
  background: var(--canvas-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 15px 14px;
}
.pv__pane--alt { border-style: dashed; }
.pv__pane-tag {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 11px;
}
.pv__pane--alt .pv__pane-tag { color: var(--ink-subtle); }
.pv__pane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pv__pane li { display: flex; flex-direction: column; gap: 2px; }
.pv__pane li span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-subtle); }
.pv__pane li b { font-family: var(--serif); font-size: 14.5px; font-weight: 580; }

/* ═══════════════════════════════════════════════════════════════════
   ✦ IA dentro do portal — o bloco que tem que chamar atenção
   ═══════════════════════════════════════════════════════════════════ */
.portal-tab--ai { color: var(--accent) !important; position: relative; }
.portal-tab--ai::after {
  content: "";
  position: absolute;
  top: 5px;
  inset-inline-end: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.portal-ai {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-md);
  padding: 46px 38px 38px;
  background: rgba(47, 111, 206, .22);
  color: var(--canvas);
}
/* borda luminosa: um disco de gradiente cônico gira atrás (só transform, roda no compositor)
   e o ::after cobre o miolo com o fundo, deixando 1,5 px de borda à mostra */
.portal-ai::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: 170%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, rgba(47, 111, 206, 0) 0deg, var(--accent) 60deg, rgba(47, 111, 206, 0) 140deg, rgba(47, 111, 206, 0) 360deg);
  will-change: transform;
  animation: ai-gira 6s linear infinite;
}
.portal-ai::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.5px;
  border-radius: calc(var(--r-md) - 1.5px);
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(47, 111, 206, .34), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(47, 111, 206, .16), transparent 70%),
    var(--onyx);
}
@keyframes ai-gira { to { rotate: 360deg; } }

.portal-ai__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px 24px;
  margin-bottom: 32px;
}
.portal-ai__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.portal-ai__head .badge-dev {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 7px 14px;
  font-size: 10px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(47, 111, 206, .18);
}
.portal-ai__title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -1px;
  color: #f5f8f1;
}
.portal-ai__title em { font-style: italic; font-weight: 460; color: var(--accent); }
.portal-ai__lead {
  grid-column: 1 / -1;
  max-width: 640px;
  margin: 4px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(244, 246, 239, .72);
}

.portal-ai__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-card {
  border-radius: var(--r-md);
  padding: 12px 12px 24px;
  background: rgba(244, 246, 239, .04);
  border: 1px solid rgba(244, 246, 239, .1);
  transition: border-color .4s, transform .45s var(--ease-spring);
}
.ai-card:hover { border-color: rgba(47, 111, 206, .6); transform: translateY(-4px); }
.ai-card h4 {
  margin: 22px 12px 8px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 580;
  color: #f5f8f1;
}
.ai-card p { margin: 0 12px; font-size: 14.5px; line-height: 1.6; color: rgba(244, 246, 239, .66); }
.ai-card__out {
  display: inline-flex;
  gap: 8px;
  margin: 16px 12px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.ai-card__out::before { content: "→"; }
[dir="rtl"] .ai-card__out::before { content: "←"; }

/* ── demo 1: varredura e caixas sobre os defeitos ── */
.ai-page { container-type: size; }
.ai-scan,
.ai-page {
  position: relative;
  aspect-ratio: 2000 / 1294;
  border-radius: 12px;
  overflow: hidden;
  background: #070a08;
}
.ai-scan img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-scan__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px 4px rgba(47, 111, 206, .7);
  opacity: 0;
}
.ai-scan__line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 70px;
  background: linear-gradient(to top, rgba(47, 111, 206, .28), transparent);
}
.ai-box {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 2px solid #ff5a4f;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 0 18px rgba(255, 90, 79, .5);
  opacity: 0;
}
.ai-box i {
  position: absolute;
  left: -2px;
  bottom: 100%;
  margin-bottom: 4px;
  padding: 3px 6px;
  border-radius: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
  background: #ff5a4f;
  color: #fff;
}
/* trinca e inclusão são vizinhas: o rótulo da trinca vai ao lado para não encavalar */
.ai-box--lado i { left: calc(100% + 4px); bottom: auto; top: -2px; margin: 0; }
.ai-box--esq i { left: auto; right: calc(100% + 4px); bottom: auto; top: -2px; margin: 0; }
/* a linha desce em 3,2 s e o ciclo dura 6,4 s: cada caixa acende quando a linha chega na sua altura */
.ai-card.is-visible .ai-scan__line { animation: ai-linha 6.4s linear infinite; }
.ai-card.is-visible .ai-box { animation: ai-caixa 6.4s var(--ease-spring) var(--d) infinite; }
@keyframes ai-linha {
  0%       { top: 0;    opacity: 1; }
  50%      { top: 100%; opacity: 1; }
  56%, 100% { top: 100%; opacity: 0; }
}
@keyframes ai-caixa {
  0%        { opacity: 0; scale: .7; }
  6%        { opacity: 1; scale: 1; }
  50%       { opacity: 1; scale: 1; }
  58%, 100% { opacity: 0; scale: 1; }
}

/* ── demo 2: as peças chegam embaralhadas e se ordenam pelo veio ── */
.ai-tile {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% / 3);
  height: 50%;
  padding: 3px;
  translate: calc(var(--px) * 1cqw) calc(var(--py) * 1cqh);
  rotate: var(--rot);
  will-change: transform;
}
.ai-tile > span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: url("assets/images/chapa-cristallo.jpg") var(--bx) var(--by) / 300% 200% no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
}
.ai-tile i {
  position: absolute;
  top: 6px;
  left: 6px;
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 4px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  text-align: center;
  background: rgba(10, 15, 11, .78);
  color: #fff;
}
.ai-page__state { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: grid; }
.ai-page__state b {
  grid-area: 1 / 1;
  padding: 5px 9px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  white-space: nowrap;
}
.ai-page__state b:first-child { background: rgba(10, 15, 11, .85); color: rgba(244, 246, 239, .8); }
.ai-page__state b:last-child { background: var(--accent); color: #fff; opacity: 0; }
.ai-card.is-visible .ai-tile { animation: ai-ordena 7s cubic-bezier(.65, 0, .35, 1) infinite; }
.ai-card.is-visible .ai-page__state b:first-child { animation: ai-antes 7s infinite; }
.ai-card.is-visible .ai-page__state b:last-child { animation: ai-depois 7s infinite; }
@keyframes ai-ordena {
  0%, 28%  { translate: calc(var(--px) * 1cqw) calc(var(--py) * 1cqh); rotate: var(--rot); }
  42%, 86% { translate: calc(var(--sx) * 1cqw) calc(var(--sy) * 1cqh); rotate: 0deg; }
  100%     { translate: calc(var(--px) * 1cqw) calc(var(--py) * 1cqh); rotate: var(--rot); }
}
@keyframes ai-antes  { 0%, 34% { opacity: 1; } 40%, 90% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes ai-depois { 0%, 34% { opacity: 0; } 40%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }

.badge-dev {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.badge-dev::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   Comparações com imagem real (cor em #diferenciais, zoom em #comparativo)
   ═══════════════════════════════════════════════════════════════════ */
/* a foto tem dois painéis: nada de zoom no hover, senão os rótulos saem do lugar */
.cmp-cor img, .cmp-cor:hover img { transform: none; }
.cmp-tag {
  position: absolute;
  bottom: 26px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
/* posições físicas: a imagem não espelha em RTL */
.cmp-tag--good { left: 28px; background: var(--accent); color: #fff; }
.cmp-tag--bad  { left: calc(var(--div) + 16px); background: rgba(10, 15, 11, .78); color: rgba(244, 246, 239, .85); }

/* o par original mantém o 16:9 de sempre; o par de zoom usa a proporção dos recortes */
.compare__visual--zoom { margin-bottom: 0; }
.compare__visual--zoom .compare__img-wrap { aspect-ratio: 1235 / 1022; }
.compare__same {
  margin: 18px 0 56px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-subtle);
}

/* ═══════════════════════════════════════════════════════════════════
   #detalhe — rolar = aproximar (zoom real na captura de 161 MP)
   ═══════════════════════════════════════════════════════════════════ */
.zoomx {
  position: relative;
  height: 340vh;
  background: var(--onyx);
  color: var(--canvas);
}
.zoomx__sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.zoomx__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 40px 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.zoomx__frame {
  position: relative;
  height: min(calc(100dvh - 150px), 820px);
  aspect-ratio: 2531 / 3055;
  max-width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0a0f0b;
  box-shadow: var(--shadow-lift);
}
.zoomx__poster,
.zoomx__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.zoomx__poster { object-fit: cover; }
.zoomx__canvas { opacity: 0; transition: opacity .4s ease; }
.zoomx__canvas.is-ready { opacity: 1; }
.zoomx__frame .frame-marks { z-index: 2; }
.zoomx__frame .fm { border-color: rgba(244, 246, 239, .35); }

.zoomx__lvl {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(244, 246, 239, .7);
  background: rgba(10, 15, 11, .72);
  backdrop-filter: blur(6px);
}
.zoomx__lvl b { color: #fff; font-weight: 500; margin-left: 6px; }

.zoomx__map {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 62px;
  aspect-ratio: 2531 / 3055;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 239, .45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.zoomx__map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zoomx__map i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 200px rgba(6, 10, 7, .45);   /* escurece o que ficou fora da lente */
}

.zoomx__orig {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 11px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  background: var(--accent);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .5s var(--ease-spring);
}
.zoomx__orig.is-on { opacity: 1; transform: none; }

.zoomx__text .label { margin-bottom: 16px; }
.zoomx__text h2 { color: #f5f8f1; }
.zoomx__text h2 em { color: var(--accent); }
.zoomx__text .t-lead { margin-top: 18px; color: rgba(244, 246, 239, .7); max-width: 480px; }
.zoomx__steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  max-width: 480px;
}
.zoomx__steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 246, 239, .1);
  opacity: .32;
  transition: opacity .5s ease;
}
.zoomx__steps li.is-active { opacity: 1; }
.zoomx__steps span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent); }
.zoomx__steps p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 540;
  color: #f5f8f1;
}
.zoomx__progress {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 3px;
  background: rgba(244, 246, 239, .12);
}
.zoomx__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
[dir="rtl"] .vs-progress-bar,
[dir="rtl"] .flow__bar,
[dir="rtl"] .zoomx__progress span { transform-origin: right center; }

@media (max-width: 1024px) {
  .zoomx__inner { gap: 40px; }
}
@media (max-width: 810px) {
  .zoomx { height: 300vh; }
  .zoomx__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 84px 20px 24px;
  }
  .zoomx__frame { height: min(56dvh, calc((100vw - 40px) * 3055 / 2531)); }
  .zoomx__text { width: 100%; }
  .zoomx__text .label, .zoomx__text .t-lead { display: none; }
  .zoomx__text h2 { font-size: clamp(26px, 7vw, 34px); }
  /* só o passo ativo, empilhado no mesmo lugar */
  .zoomx__steps { display: grid; margin-top: 12px; }
  .zoomx__steps li { grid-area: 1 / 1; opacity: 0; border-top: none; padding: 4px 0; }
  .zoomx__steps li.is-active { opacity: 1; }
  .zoomx__steps p { font-size: 16px; }
  .cmp-tag { font-size: 8px; padding: 4px 7px; bottom: 8px; }
  .cmp-tag--good { left: 8px; }
  .cmp-tag--bad { left: calc(var(--div) + 8px); }
}

/* ── Responsivo ── */
@media (max-width: 1024px) {
  .portal-block { grid-template-columns: 1fr; gap: 26px; }
  .portal-block--flip .portal-block__text { order: 0; }
  .portal-ai__grid { grid-template-columns: 1fr; }
  .flow__chapters, .flow__stage { padding-inline: 40px; }
  .flow__counter { inset-inline-end: 40px; }
}

@media (max-width: 810px) {
  
  

  .flow { height: 420vh; }
  .flow__chapters { padding: 92px 24px 12px; min-height: 180px; }
  .flow__counter { top: 96px; inset-inline-end: 24px; }
  .flow__stage { padding: 0 20px 36px; }

  /* A coluna de dados nasce por baixo da imagem, não ao lado */
  .flow__card { flex-direction: column; width: min(100%, calc((100dvh - 500px) * 1.546)); }
  .flow__slab { flex: none; align-self: stretch; }
  .flow__specs { border-inline-start: none; border-top: 1px solid rgba(244, 246, 239, .1); }
  [data-phase="3"] .flow__specs,
  [data-phase="4"] .flow__specs,
  [data-phase="5"] .flow__specs { flex-basis: 292px; }
  .flow__row { transform: translateY(10px); padding: 6px 16px; }
  .flow__row dd { font-size: 15px; }
  .flow__id { padding: 11px 16px 8px; }
  .flow__id-name { font-size: 17px; }
  .flow__tag { font-size: 8px; padding: 4px 7px; }

  .net__studio { padding: 6px 6px 7px; gap: 6px; border-radius: 10px; }
  .net__studio b { font-size: 8px; letter-spacing: .08em; }
  .net__portal { padding: 10px 14px; }
  .net__portal span { gap: 6px; }
  .net__portal i { font-size: 7.5px; letter-spacing: .04em; }
  .net__pkt img { width: 26px; height: 16px; }

  .flow__grid { grid-template-columns: repeat(5, 1fr); }
  .flow__cell:nth-child(n+10) { display: none; }
  .flow__cell.flow__cell--more { display: flex; }   /* vence o :nth-child acima */
  .browser-mock__body { padding: 14px 14px 16px; }
  .browser-mock__url { max-width: 210px; font-size: 10px; }

  .portal { padding: 80px 0; }
  .portal-block { padding: 26px 20px; }
  .pv__pair { grid-template-columns: 1fr; }
  .portal-ai { padding: 30px 18px 22px; }
  .portal-ai::before { width: 460%; }
  .portal-ai__head { grid-template-columns: 1fr; }
  .portal-ai__head .badge-dev { grid-column: 1; justify-self: start; }
  .portal-ai__lead { font-size: 15px; }
  .ai-box i { font-size: 7.5px; padding: 2px 4px; letter-spacing: .04em; }
}

@media (max-width: 480px) {
  .flow__kpis { grid-template-columns: 1fr; gap: 8px; }
  .flow__kpi { padding: 11px 13px; }
  .flow__grid { display: none; }
  .pv__kpis { grid-template-columns: 1fr; }
  .pv__thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ── Movimento reduzido: mostra o estado final, sem depender do scrub ── */
@media (prefers-reduced-motion: reduce) {
  .flow { height: auto; }
  .flow__sticky { position: static; height: auto; padding-bottom: 48px; }
  .flow__chapters { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
  .flow__counter { display: none; }
  .flow__chapter { opacity: 1; transform: none; }
  .flow__chapter-text { font-size: clamp(22px, 3vw, 30px); }
  .flow__stage { display: flex; flex-direction: column; gap: 40px; }
  .flow__card, .flow__net, .flow__portal { opacity: 1; transform: none; }
  .flow__card { width: min(1000px, 100%); }
  .flow__net { height: 520px; }
  .flow__specs { flex-basis: 320px; opacity: 1; }
  .flow__row, .flow__tag, .flow__fora, .flow__contour { opacity: 1; transform: none; }
  .flow__util { stroke-dashoffset: 0; fill: rgba(47, 111, 206, .1); }
  .net__pkt, .flow__progress { display: none; }
  /* IA: estado final parado — caixas acesas, peças já ordenadas */
  .ai-box { animation: none !important; opacity: 1; }
  .ai-scan__line { display: none; }
  .ai-tile { animation: none !important; translate: calc(var(--sx) * 1cqw) calc(var(--sy) * 1cqh); rotate: 0deg; }
  .ai-page__state b { animation: none !important; }
  .ai-page__state b:first-child { opacity: 0; }
  .ai-page__state b:last-child { opacity: 1; }
}
