/* ==========================================================================
   F12 | landing page
   Hero: copia do template creative-agency (luz Unicorn Studio, elementos centralizados,
         badge com borda em gradiente, titulo em gradiente, shiny-cta e botao com feixe).
   Corpo: referencia Relay (pilulas, titulo com palavra em serifa italica, paineis de vidro,
          linha de tiles, metricas com mini graficos, colunas com fio, fios de luz).
   Paleta: preto, vermelho e branco. Formas: pilula para interativos, 24px para superficies,
           20px para tiles. Nada quadrado.
   z-index: conteudo 1, desfoque do topo 40, nav 50.
   ========================================================================== */

:root {
  --bg: #020102;
  --text: #f4f1f1;
  --muted: rgba(244, 241, 241, 0.64);
  --dim: rgba(244, 241, 241, 0.46);
  --gray: #9ca3af;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --red: #dc2626;
  --red-2: #ef233c;
  --red-hi: #ff4d4d;

  --r-card: 24px;
  --r-tile: 20px;
  --r-pill: 999px;

  --display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gut: clamp(20px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }

/* ---------------------------------------------------------------- copiado do template */
[style*="--border-gradient"] { position: relative; }
[style*="--border-gradient"]::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: var(--border-radius-before, inherit);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  background: var(--border-gradient);
  pointer-events: none;
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.fade { animation: fadeSlideIn 1s ease-out var(--delay, 0s) both; }

.gradient-blur { position: fixed; z-index: 40; inset: 0 0 auto 0; height: 120px; pointer-events: none; }
.gradient-blur > div, .gradient-blur::before, .gradient-blur::after { position: absolute; inset: 0; }
.gradient-blur::before { content: ""; z-index: 1; backdrop-filter: blur(0.5px); mask: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 37.5%); }
.gradient-blur > div:nth-of-type(1) { z-index: 2; backdrop-filter: blur(1px); mask: linear-gradient(to top, rgba(0,0,0,0) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,0) 50%); }
.gradient-blur > div:nth-of-type(2) { z-index: 3; backdrop-filter: blur(2px); mask: linear-gradient(to top, rgba(0,0,0,0) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 62.5%); }
.gradient-blur > div:nth-of-type(3) { z-index: 4; backdrop-filter: blur(4px); mask: linear-gradient(to top, rgba(0,0,0,0) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,0) 75%); }
.gradient-blur > div:nth-of-type(4) { z-index: 5; backdrop-filter: blur(8px); mask: linear-gradient(to top, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 87.5%); }
.gradient-blur > div:nth-of-type(5) { z-index: 6; backdrop-filter: blur(16px); mask: linear-gradient(to top, rgba(0,0,0,0) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,0) 100%); }
.gradient-blur > div:nth-of-type(6) { z-index: 7; backdrop-filter: blur(32px); mask: linear-gradient(to top, rgba(0,0,0,0) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,1) 100%); }
.gradient-blur::after { content: ""; z-index: 8; backdrop-filter: blur(64px); mask: linear-gradient(to top, rgba(0,0,0,0) 87.5%, rgba(0,0,0,1) 100%); }

/* shiny-cta do template (borda vermelha girando + brilho), em pilula */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 20%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: #dc2626; inherits: false; }
.shiny-cta {
  --gradient-angle: 0deg;
  --gradient-angle-offset: 0deg;
  --gradient-percent: 20%;
  --gradient-shine: #dc2626;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  padding: 1.25rem 3rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  background:
    linear-gradient(#000, #000) padding-box,
    conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent 0%, #dc2626 5%, var(--gradient-shine) 15%, #dc2626 30%, transparent 40%, transparent 100%) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px #1a1818;
  outline: none;
  transition: --gradient-angle-offset 800ms cubic-bezier(0.25, 1, 0.5, 1), --gradient-percent 800ms cubic-bezier(0.25, 1, 0.5, 1), --gradient-shine 800ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s, transform 0.2s;
  cursor: pointer;
  isolation: isolate;
  outline-offset: 4px;
  z-index: 0;
  animation: border-spin 2.5s linear infinite;
}
@keyframes border-spin { to { --gradient-angle: 360deg; } }
.shiny-cta:active { transform: translateY(1px); }
.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: #ff8a8a;
  box-shadow: inset 0 0 0 1px #1a1818, 0 0 40px -10px rgba(220, 38, 38, 0.7);
}
.shiny-cta::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  --size: calc(100% - 6px);
  --position: 2px;
  --space: 4px;
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle at var(--position) var(--position), white 0.5px, transparent 0) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit;
  opacity: 0.4;
}
.shiny-cta::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, #dc2626, transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
  animation: shimmer 4s linear infinite;
}
.shiny-cta span { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; }
.shiny-cta span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: calc(100% + 3.5rem);
  height: calc(100% + 1.6rem);
  border-radius: 999px;
  background: radial-gradient(60% 75% at 50% 100%, rgba(220, 38, 38, 0.55), rgba(220, 38, 38, 0) 72%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.25, 1, 0.5, 1);
  animation: breathe 4.5s ease-in-out infinite;
}
.shiny-cta:is(:hover, :focus-visible) span::before { opacity: 1; }
.shiny-cta--block { display: flex; width: 100%; padding: 1.1rem 1.5rem; font-size: 1rem; }
.shiny-cta i { font-size: 1.25rem; }
@keyframes shimmer { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.08); } }

/* botao com feixe vermelho (Contact me / Book call do template), em pilula */
.btn-beam {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 64px;
  padding: 0 30px;
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 0.2s;
}
.btn-beam:active { transform: scale(0.95); }
.btn-beam--sm { min-width: 0; height: 44px; padding: 0 22px; }
.bb-beam {
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 90deg at 50% 50%, transparent 0%, transparent 75%, var(--red-2) 100%);
  animation: spin 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.bb-edge { position: absolute; inset: 0; border-radius: inherit; background: #27272a; transition: opacity 0.3s; }
.bb-fill { position: absolute; inset: 1px; z-index: 1; border-radius: inherit; background: #000; }
.bb-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(50% 50% at 50% 100%, rgba(239, 35, 60, 0.22) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.bb-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bb-label i { font-size: 0.95rem; transition: transform 0.3s; }
.btn-beam:is(:hover, :focus-visible) .bb-beam,
.btn-beam:is(:hover, :focus-visible) .bb-glow { opacity: 1; }
.btn-beam:is(:hover, :focus-visible) .bb-edge { opacity: 0; }
.btn-beam:is(:hover, :focus-visible) .bb-label i { transform: translateX(2px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- nav (template, arredondada) */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 24px 16px 0; }
.nav {
  width: 100%;
  max-width: 64rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.brand { display: inline-flex; }
.mark { display: block; width: 40px; height: 40px; }
.nav .mark { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { position: relative; padding: 4px 0; color: var(--gray); font-size: 0.875rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-links a span {
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  box-shadow: 0 0 10px rgba(239, 35, 60, 0.8);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 0.3s ease-out, opacity 0.3s ease-out;
}
.nav-links a:hover span { width: 100%; opacity: 1; }

/* ---------------------------------------------------------------- hero (template) */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, black 0%, black 95%, transparent);
  mask-image: linear-gradient(180deg, transparent, black 0%, black 95%, transparent);
}
.hero-light {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 800px;
  background: #000;
  /* mesma altura do template; so a borda final esvai com curva suave */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,0.7) 87%, rgba(0,0,0,0.32) 93%, rgba(0,0,0,0.08) 97.5%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,0.7) 87%, rgba(0,0,0,0.32) 93%, rgba(0,0,0,0.08) 97.5%, transparent 100%);
}
.hero-light > div { position: absolute; inset: 0; }
/* sem JS ou com "reduzir movimento": versao estatica da cortina de luz */
html:not(.js) .hero-light {
  background:
    radial-gradient(ellipse 26% 60% at 50% 48%, transparent 0%, #000 100%),
    repeating-linear-gradient(90deg, rgba(255, 70, 100, 0.34) 0 3px, rgba(255, 50, 80, 0.06) 3px 22px),
    #000;
}

.hero-in {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 64rem);
  margin: 96px auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.1));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px rgba(220, 38, 38, 0.5); }
.badge:hover .badge-dot { animation: pulse 1.2s ease-in-out infinite; }
.badge span:last-child { color: rgba(254, 226, 226, 0.95); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.025em; transition: color 0.3s; }
.badge:hover span:last-child { color: #fff; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.25em;
  row-gap: 8px;
  margin-bottom: 32px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.2vw, 5.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.05em;
  cursor: default;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.w {
  display: inline-block;
  line-height: 1.3;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.w--on { opacity: 1; }
.w .serif { font-size: 1.08em; padding-right: 0.06em; }
.hero-sub {
  max-width: 50rem;
  margin-bottom: 48px;
  color: rgba(244, 241, 241, 0.86);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.6);
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.4vw, 1.375rem);
  font-weight: 500;
  line-height: 1.625;
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; margin-bottom: 48px; }

/* ---------------------------------------------------------------- tipografia de secao (Relay) */
.sec { position: relative; overflow: clip; padding-block: clamp(88px, 11vw, 152px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  margin-bottom: 24px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 241, 241, 0.86);
  font-size: 0.95rem;
}
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px rgba(255, 77, 77, 0.8); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.sec-head--solo { grid-template-columns: 1fr; }
.h2 {
  max-width: 18em;
  padding-bottom: 0.06em;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3vw + 0.6rem, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 0%, #fff 45%, rgba(255, 255, 255, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -0.01em; }
.sec-sub { justify-self: end; max-width: 40ch; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; }

/* vidro escuro (paineis do Relay) */
.glass {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0.035));
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

/* feixe de luz continuo (flow.js): dois canvas fixos atras de todo o conteudo */
.flow, .flow-glow { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.flow-glow { filter: blur(38px) saturate(130%); opacity: 0.85; }
main, .foot { position: relative; z-index: 1; }

/* revelar ao entrar na tela (mesma entrada do template) */
.js .rv {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition: opacity 1s ease-out var(--d, 0s), transform 1s ease-out var(--d, 0s), filter 1s ease-out var(--d, 0s);
}
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------------------------------------------------------------- faixa: caminho do lead */
.connect { position: relative; overflow: clip; padding: 64px 0 96px; border-bottom: 1px solid var(--line); }
.connect-cap { color: var(--muted); font-family: var(--mono); font-size: 0.95rem; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 56px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tile:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 92px;
  right: 12px;
  border-top: 2px dotted rgba(255, 255, 255, 0.14);
  transition: border-color 0.5s;
}
.tile-box {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-tile);
  background: linear-gradient(180deg, #151213, #0a0809);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: rgba(244, 241, 241, 0.72);
  font-size: 1.85rem;
  transition: border-color 0.5s, color 0.5s, background 0.5s, box-shadow 0.5s;
}
.tile-label { display: flex; justify-content: center; width: 80px; white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: 0.95rem; }
.tile.is-pass::after { border-color: rgba(239, 35, 60, 0.6); }
.tile.is-on .tile-box {
  border-color: rgba(239, 35, 60, 0.7);
  background: linear-gradient(180deg, rgba(239, 35, 60, 0.2), rgba(239, 35, 60, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 44px -8px rgba(239, 35, 60, 0.75);
  color: #ff7a7a;
}

/* ---------------------------------------------------------------- problema: comparativo */
.compare { margin-top: 56px; overflow: hidden; }
.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.compare-head span { padding: 20px 32px; color: var(--dim); }
.compare-head span:last-child { color: var(--red-hi); border-left: 1px solid var(--line); }
.compare-rows li { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare-rows li:last-child { border-bottom: 0; }
.compare-rows p { display: flex; align-items: flex-start; gap: 14px; padding: 24px 32px; line-height: 1.5; }
.compare-rows i { flex: none; margin-top: 2px; font-size: 1.1rem; }
.c-before { color: var(--dim); }
.c-before i { color: rgba(244, 241, 241, 0.32); }
.c-after { border-left: 1px solid var(--line); background: linear-gradient(90deg, rgba(239, 35, 60, 0.07), transparent 65%); color: var(--text); }
.c-after i { color: var(--red-hi); }

/* ---------------------------------------------------------------- o que a f12 monta */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 20px; margin-top: 64px; }
.trio .card:nth-child(2) { margin-top: 72px; }
.card { display: flex; flex-direction: column; min-height: 340px; padding: 32px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.card-ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--red-hi);
  font-size: 1.4rem;
}
.card-meta { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }
.card-meta img { height: 18px; width: auto; opacity: 0.85; }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px rgba(255, 77, 77, 0.9); animation: pulse 1.8s ease-in-out infinite; }
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); line-height: 1.6; }
.card-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.card-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.3);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.card-list i { color: var(--red-hi); }

/* ---------------------------------------------------------------- como funciona: painel em execucao */
.how { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-head { position: sticky; top: 128px; }
.how-head .h2 { margin-bottom: 20px; }
.how-head .sec-sub { justify-self: start; }
.how-count { margin-top: 56px; color: rgba(255, 77, 77, 0.55); font-family: var(--mono); font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
.how-of { margin-left: 6px; color: var(--dim); font-size: 0.3em; letter-spacing: 0; }
.run { overflow: hidden; }
.run-progress { position: absolute; top: 0; left: 24px; right: 24px; height: 1px; background: var(--line); }
.run-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: linear-gradient(90deg, transparent, var(--red-hi));
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.8);
  transition: width 0.8s var(--ease);
}
.run-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 20px;
  padding: 30px 32px;
  border-top: 1px solid var(--line);
  transition: opacity 0.6s, background 0.6s;
}
.run-row:first-child { border-top: 0; }
.js .run-row { opacity: 0.42; }
.js .run-row.is-done { opacity: 1; }
.run-row.is-active { background: linear-gradient(90deg, rgba(239, 35, 60, 0.09), transparent 70%); }
.run-n { padding-top: 4px; color: var(--dim); font-family: var(--mono); font-size: 0.95rem; transition: color 0.6s; }
.run-row.is-done .run-n { color: var(--red-hi); }
.run-row .h3 { margin-bottom: 8px; font-size: 1.35rem; }
.run-row p { color: var(--muted); line-height: 1.6; }
.run-tag {
  align-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(255, 77, 77, 0.5);
  border-radius: var(--r-pill);
  color: var(--red-hi);
  font-family: var(--mono);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- diagnostico */
.diag { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.diag-main .h2 { margin-bottom: 20px; }
.diag-main .sec-sub { justify-self: start; }
.diag-label { margin: 44px 0 6px; color: var(--dim); font-family: var(--mono); font-size: 0.85rem; font-weight: 400; text-transform: lowercase; }
.diag-list li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 1.05rem; line-height: 1.5; }
.diag-n { color: var(--red-hi); font-family: var(--mono); font-size: 0.9rem; padding-top: 2px; }
.diag-card { position: sticky; top: 128px; padding: 36px; }
.diag-card .h3 { font-size: 1.75rem; }
.diag-card p { margin: 14px 0 30px; color: var(--muted); line-height: 1.6; }

/* ---------------------------------------------------------------- resultados (Relay: numeros) */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 56px; }
.metric-label { margin-bottom: 22px; color: var(--dim); font-family: var(--mono); font-size: 0.9rem; }
.stat {
  display: flex;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(3.2rem, 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.num { font-variant-numeric: tabular-nums; }
.unit { color: var(--red-hi); }
.cur { margin-right: 0.14em; color: var(--red-hi); font-size: 0.42em; letter-spacing: -0.02em; }
.stat-text { max-width: 36ch; margin-top: 18px; color: var(--muted); font-family: var(--mono); font-size: 0.85rem; line-height: 1.65; }

.viz { height: 72px; margin-top: 32px; }
.viz--spark svg { display: block; width: 100%; height: 100%; overflow: visible; clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) 0.3s; }
.metric.in .viz--spark svg { clip-path: inset(0 -2px 0 0); }
.viz--bars { display: flex; align-items: flex-end; gap: 6px; }
.viz--bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px;
  background: linear-gradient(to top, rgba(239, 35, 60, 0.35), #ff6a6a);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease) calc(0.3s + var(--n, 0) * 60ms);
}
.metric.in .viz--bars i { transform: none; }
.viz--dots { height: auto; display: grid; grid-template-columns: repeat(20, 1fr); gap: 7px; align-content: start; }
.viz--dots i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.6s, box-shadow 0.6s;
  transition-delay: calc(0.4s + var(--n, 0) * 22ms);
}
.metric.in .viz--dots i { background: var(--red-hi); box-shadow: 0 0 10px rgba(255, 77, 77, 0.55); }
.metric.in .viz--dots i:nth-child(3n) { background: rgba(255, 77, 77, 0.55); box-shadow: none; }
.metric.in .viz--dots i:nth-child(7n) { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }

/* ---------------------------------------------------------------- consultoria (Relay: colunas com fio) */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 56px; }
.col { position: relative; padding-top: 32px; border-top: 1px solid var(--line); }
.col::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 1px; background: var(--red-hi); }
.col-label { color: var(--dim); font-family: var(--mono); font-size: 0.9rem; font-weight: 400; text-transform: lowercase; }
.col-text { max-width: 30ch; margin-top: 18px; color: var(--text); font-size: 1.3rem; line-height: 1.45; letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- chamada final */
.final { position: relative; overflow: clip; min-height: 820px; padding-top: clamp(96px, 11vw, 152px); text-align: center; }
.final-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
/* F12 gigante ao fundo: baixa opacidade, contorno vermelho e um reflexo de luz passando */
.final-mark {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 0;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(13rem, 34vw, 34rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.045) 42%,
      rgba(255, 150, 130, 0.32) 50%,
      rgba(255, 255, 255, 0.045) 58%, rgba(255, 255, 255, 0.045) 100%) 0 0 / 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 77, 77, 0.26);
  filter: drop-shadow(0 0 30px rgba(239, 35, 60, 0.35));
  animation: markSheen 8s linear infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes markSheen { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.final-title {
  max-width: 14em;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
  padding-bottom: 0.06em;
}
.final-sub { max-width: 44ch; margin: 24px auto 40px; color: var(--muted); font-size: 1.2rem; line-height: 1.6; }

/* ---------------------------------------------------------------- rodape */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--muted); font-size: 0.92rem; }
.foot-links a:hover { color: var(--text); }
.foot-copy { color: var(--dim); font-size: 0.88rem; }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .trio { grid-template-columns: 1fr; }
  .trio .card:nth-child(2) { margin-top: 0; }
  .card { min-height: 0; }
  .card-top { margin-bottom: 32px; }
}

@media (max-width: 899px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .sec-sub { justify-self: start; }
  .how, .diag { grid-template-columns: 1fr; }
  .how-head, .diag-card { position: static; }
  .how-count { display: none; }
  .metrics, .cols { grid-template-columns: 1fr; gap: 48px; }
  .tiles { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .tile::after { display: none; }
}

@media (max-width: 767px) {
  /* leitura no celular: a cortina fica atras de todo o texto, entao escurece a faixa do texto */
  .hero-light { opacity: 0.8; }
  .hero-light::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 22%, rgba(0, 0, 0, 0.62) 70%, rgba(0, 0, 0, 0.25) 100%);
  }
  .w { opacity: 1; }
  .hero-title { font-weight: 600; filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.85)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9)); }
  .hero-sub { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.9); }
  .nav { gap: 12px; }
  .hero { min-height: 720px; padding-top: 56px; }
  .hero-light { height: 720px; }
  .hero-in { margin-top: 80px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 14px; }
  .hero-cta > a { width: 100%; }
  .shiny-cta { padding: 1.15rem 1.5rem; font-size: 1rem; }
  .compare-head { display: none; }
  .compare-rows li { grid-template-columns: 1fr; }
  .compare-rows p { padding: 18px 22px; }
  .c-after { border-left: 0; border-top: 1px dashed var(--line); }
  .run-row { grid-template-columns: 40px 1fr; padding: 24px 22px; }
  .run-tag { grid-column: 2; justify-self: start; }
  .final { min-height: 680px; }
}

@media (prefers-reduced-transparency: reduce) {
  .glass, .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0e0b0c; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .fade { animation: none; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  .hero-light {
    background:
      radial-gradient(ellipse 26% 60% at 50% 48%, transparent 0%, #000 100%),
      repeating-linear-gradient(90deg, rgba(255, 70, 100, 0.34) 0 3px, rgba(255, 50, 80, 0.06) 3px 22px),
      #000;
  }
}
