/* ==========================================================================
   TV Sim 360 | Página comercial
   Preto + verde da marca (#17CB84) usado como acento: botões, palavras em
   destaque e ícones. Poppins nos títulos (combina com o logo), Inter no texto.
   Fundo preto contínuo: as seções não têm cor própria, então uma emenda na
   outra sem faixas nem cortes.
   ========================================================================== */

:root {
  --black: #000;
  --surface: #0b0b0b;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --green: #17cb84;
  --green-light: #3ef0a6;
  --green-dark: #0c8a59;
  --green-a10: rgba(23, 203, 132, 0.1);
  --green-a45: rgba(23, 203, 132, 0.45);

  --white: #fff;
  --text-soft: rgba(255, 255, 255, 0.68);
  --text-mute: rgba(255, 255, 255, 0.46);
  --error: #ff6b6b;

  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(80px, 9vw, 120px);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  background: var(--black);
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

[hidden] { display: none !important; }

img, video, iframe, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--black); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--black);
  background: var(--green);
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

/* Luz ambiente fixa, bem sutil, atrás de todo o conteúdo */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 203, 132, 0.07), transparent 65%);
}

.ambient span:nth-child(1) {
  left: -30vmax;
  top: 20vh;
  width: 75vmax;
  height: 75vmax;
  animation: amb-a 28s ease-in-out infinite alternate;
}

.ambient span:nth-child(2) {
  right: -28vmax;
  top: -10vh;
  width: 65vmax;
  height: 65vmax;
  animation: amb-b 32s ease-in-out infinite alternate;
}

@keyframes amb-a { to { transform: translate(18vw, -12vh) scale(1.1); } }
@keyframes amb-b { to { transform: translate(-14vw, 20vh) scale(0.9); } }

/* ---------- Tipografia ---------- */

.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hl {
  color: var(--green);
  background: linear-gradient(100deg, var(--green) 0%, var(--green-light) 45%, var(--green) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hl-shift 6s ease-in-out infinite alternate;
}

@keyframes hl-shift {
  to { background-position: 100% 0; }
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  color: var(--text-soft);
  max-width: 34em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 7px 16px;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.live-dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green);
  animation: ping 1.8s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3); opacity: 0; }
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s;
}
.link svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.link:hover { color: var(--green-light); background-size: 100% 2px; }
.link:hover svg { transform: translate(2px, -2px); }

/* ---------- Botões ---------- */

.btn {
  --btn-bg: var(--green);
  --btn-bg-hover: var(--green-light);
  --btn-fg: var(--black);
  --icon-bg: var(--black);
  --icon-fg: var(--green);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 7px 7px 7px 26px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 12px 32px -14px rgba(23, 203, 132, 0.6);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.4s var(--ease),
    color 0.3s;
}

/* Brilho que atravessa o botão no hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.6) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 0 6px rgba(23, 203, 132, 0.14),
    0 22px 48px -16px rgba(23, 203, 132, 0.75);
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

/* Brilho automático de tempos em tempos (CTAs principais) */
.btn--shine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: idle-shine 5s var(--ease) 2.2s infinite;
}

@keyframes idle-shine {
  0% { transform: translateX(-130%); }
  30%, 100% { transform: translateX(130%); }
}

.btn__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  color: var(--icon-fg);
  background: var(--icon-bg);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.btn__icon svg { width: 18px; height: 18px; }
.btn:hover .btn__icon svg { animation: arrow-loop 0.6s var(--ease); }

@keyframes arrow-loop {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(160%); opacity: 0; }
  46% { transform: translateX(-160%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.btn--sm {
  min-height: 46px;
  gap: 12px;
  padding: 5px 5px 5px 20px;
  font-size: 0.875rem;
}
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--sm .btn__icon svg { width: 16px; height: 16px; }

.btn--lg {
  min-height: 64px;
  padding: 8px 8px 8px 30px;
  font-size: 1.0625rem;
}
.btn--lg .btn__icon { width: 48px; height: 48px; }

.btn--block { display: flex; width: 100%; }
.btn--block > span:first-child { flex: 1; text-align: center; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(255, 255, 255, 0.04);
  --btn-fg: var(--white);
  --icon-bg: rgba(255, 255, 255, 0.08);
  --icon-fg: var(--white);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}
.btn--ghost::after {
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.12) 50%, transparent 75%);
}
.btn--ghost:hover {
  --icon-bg: var(--green);
  --icon-fg: var(--black);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* ---------- Animações de entrada ---------- */

[data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    translate 0.9s var(--ease) var(--d, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

.hero__in {
  opacity: 0;
  translate: 0 28px;
  animation: rise 1s var(--ease) var(--d, 0ms) forwards;
}

@keyframes rise {
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Barra de progresso e topo ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 2px;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s, border-color 0.4s, -webkit-backdrop-filter 0.4s, backdrop-filter 0.4s;
}

.topbar.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: var(--border);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

@media (min-width: 900px) {
  .topbar__inner { height: 84px; }
}

.topbar__logo img { width: auto; height: 26px; }

@media (min-width: 900px) {
  .topbar__logo img { height: 30px; }
}

.topbar__nav {
  display: none;
  gap: 36px;
  margin-left: auto;
}

.topbar__nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.3s;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.topbar__nav a:hover { color: var(--white); }
.topbar__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (min-width: 1000px) {
  .topbar__nav { display: flex; }
}

.topbar .btn { display: none; }

@media (min-width: 600px) {
  .topbar .btn { display: inline-flex; }
}

/* ---------- 1. Abertura (centralizada) ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -320px;
  left: calc(50% - 520px);
  width: 1040px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23, 203, 132, 0.28), transparent);
  animation: glow-breathe 8s ease-in-out infinite;
}

@keyframes glow-breathe {
  50% { opacity: 0.7; transform: scale(0.95); }
}

/* Refletores: dois de cada lado apontando para o centro e um central */
.beams {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}

.beams i {
  position: absolute;
  top: -60px;
  width: 340px;
  height: 120%;
  filter: blur(20px);
  transform-origin: 50% 0;
  animation: sway var(--sw, 11s) ease-in-out infinite alternate;
}

/* O cone é recortado no ::before e o desfoque fica no <i>, para as bordas ficarem suaves */
.beams i::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(140, 255, 205, 0.5) 0%, rgba(23, 203, 132, 0.16) 40%, transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
}

.beams i:nth-child(1) { left: calc(8% - 170px);  --r: -28deg; --sw: 12s; opacity: 0.5; }
.beams i:nth-child(2) { left: calc(26% - 170px); --r: -14deg; --sw: 10s; opacity: 0.3; }
.beams i:nth-child(3) { left: calc(50% - 170px); --r: 0deg;   --sw: 14s; opacity: 0.4; }
.beams i:nth-child(4) { left: calc(74% - 170px); --r: 14deg;  --sw: 9s;  opacity: 0.3; }
.beams i:nth-child(5) { left: calc(92% - 170px); --r: 28deg;  --sw: 13s; opacity: 0.5; }

@keyframes sway {
  from { transform: rotate(calc(var(--r) - 6deg)); }
  to { transform: rotate(calc(var(--r) + 6deg)); }
}

@media (max-width: 599px) {
  .beams { opacity: 0.6; }
  .beams i { width: 220px; }
  .beams i:nth-child(1) { left: calc(4% - 110px); }
  .beams i:nth-child(3) { left: calc(50% - 110px); }
  .beams i:nth-child(5) { left: calc(96% - 110px); }
  .beams i:nth-child(2),
  .beams i:nth-child(4) { display: none; }
}

/* Partículas de luz subindo */
.dust i {
  position: absolute;
  bottom: 12%;
  left: var(--x);
  width: var(--z, 3px);
  height: var(--z, 3px);
  border-radius: 50%;
  background: #b9ffe0;
  box-shadow: 0 0 10px 2px rgba(62, 240, 166, 0.6);
  opacity: 0;
  animation: dust var(--s, 10s) linear var(--t, 0s) infinite;
}

@keyframes dust {
  0% { transform: translate(0, 0); opacity: 0; }
  15% { opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { transform: translate(40px, -70vh); opacity: 0; }
}

/* Luz baixa atrás do letreiro */
.hero__horizon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140%;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 100%, rgba(23, 203, 132, 0.28), transparent 72%);
}

.hero__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 128px;
  padding-bottom: 88px;
  text-align: center;
}

@media (min-width: 900px) {
  .hero__inner { padding-top: 168px; padding-bottom: 112px; }
}

.hero__title {
  max-width: 12.5em;
  font-family: var(--display);
  font-size: clamp(2.375rem, 1.1rem + 4.8vw, 5.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 38em;
  margin-top: 28px;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  color: var(--text-soft);
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 44px;
}

.hero__hint {
  max-width: 30em;
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--text-mute);
}

/* CTA da abertura com luz pulsando */
.hero__cta .btn { animation: pulse-glow 3s ease-in-out infinite; }
.hero__cta .btn:hover { animation: none; }

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 12px 32px -14px rgba(23, 203, 132, 0.6),
      0 0 0 0 rgba(23, 203, 132, 0);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 14px 40px -10px rgba(23, 203, 132, 0.8),
      0 0 40px 2px rgba(23, 203, 132, 0.28);
  }
}

/* Letreiro de credibilidade */

.ticker {
  position: relative;
  overflow: hidden;
  color: var(--black);
  background: var(--green);
  box-shadow: 0 0 60px -10px rgba(23, 203, 132, 0.55);
}

.ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: sweep 7s ease-in-out 1s infinite;
}

@keyframes sweep {
  0% { transform: translateX(-100%); }
  40%, 100% { transform: translateX(100%); }
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__list {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker__list li {
  display: flex;
  align-items: center;
  padding-block: 18px;
  font-family: var(--display);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ticker__list li strong { font-weight: 800; }

.ticker__list li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: clamp(24px, 3vw, 44px);
  background: var(--black);
  border-radius: 2px;
  transform: rotate(45deg);
}

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

/* ---------- Seções ---------- */

.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
}

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 72px;
    align-items: end;
  }
}

.section-head--center {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

/* ---------- Cards (base) ---------- */

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #101010 0%, #090909 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    translate 0.9s var(--ease) var(--d, 0ms),
    transform 0.6s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}

/* Luz que segue o mouse */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(23, 203, 132, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}

/* Anel de luz que corre pela borda no hover */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes spin {
  to { --angle: 360deg; }
}

.card::after,
.app::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0deg, transparent 230deg, var(--green) 300deg, #c6ffe6 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  animation: spin 4s linear infinite;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -40px rgba(23, 203, 132, 0.45);
}

.card:hover::before,
.card:hover::after,
.app:hover::after { opacity: 1; }

/* ---------- 2. Como funciona ---------- */

.steps {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .steps {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 40px;
  }

  /* Trilho ligando os três passos, com um ponto de luz percorrendo */
  .steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 15%, rgba(255, 255, 255, 0.16) 85%, transparent);
  }

  .steps::after {
    content: "";
    position: absolute;
    top: -11px;
    left: 0;
    width: 200px;
    height: 23px;
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9) 0%, rgba(62, 240, 166, 0.7) 20%, rgba(23, 203, 132, 0.25) 55%, transparent 100%);
    filter: blur(2px);
    animation: travel 5s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  }
}

@keyframes travel {
  from { left: -4%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { left: 94%; opacity: 0; }
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: saturate(0.85);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(9, 9, 9, 0.92) 100%);
}

.card:hover .card__media img { transform: scale(1.08); filter: saturate(1.05); }

.step__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 14px;
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.card:hover .step__num { color: var(--black); background: var(--green); border-color: var(--green); }

.card__body {
  position: relative;
  z-index: 3;
  padding: 8px 28px 32px;
}

.step__bar {
  display: block;
  width: 0;
  height: 3px;
  margin-bottom: 22px;
  background: var(--green);
  border-radius: 3px;
  transition: width 1s var(--ease) calc(var(--d, 0ms) + 400ms);
}

.step.is-visible .step__bar { width: 40px; }
.step.is-visible:hover .step__bar { width: 100%; transition-delay: 0ms; }

.card__title {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.card__text {
  font-size: 1rem;
  color: var(--text-soft);
}

/* ---------- 3. Aplicações ---------- */

.apps {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

.app {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  isolation: isolate;
  transition:
    opacity 0.9s var(--ease) var(--d, 0ms),
    translate 0.9s var(--ease) var(--d, 0ms),
    transform 0.6s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.6s var(--ease);
}

@media (min-width: 900px) {
  .app { aspect-ratio: 1 / 1.08; }
}

.app__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.app__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.92) 100%);
}

.app__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 203, 132, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.app:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 90px -45px rgba(23, 203, 132, 0.5);
}

.app:hover .app__img { transform: scale(1.06); }
.app:hover .app__shade::after { opacity: 1; }

.app__go {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: transform 0.6s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s;
}

.app__go svg { width: 22px; height: 22px; transform: rotate(-45deg); transition: transform 0.6s var(--ease); }

.app:hover .app__go {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.08);
}

.app:hover .app__go svg { transform: rotate(0deg); }

.app__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(24px, 4vw, 44px);
}

.app__kicker {
  padding: 5px 14px;
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.app__title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.app__text {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 30em;
}

/* Formatos: painel com cabeçalho e grade de ícones */

.formats {
  margin-top: clamp(56px, 7vw, 88px);
  overflow: hidden;
  background: linear-gradient(180deg, #0f0f0f 0%, #090909 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.formats__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 44px);
  border-bottom: 1px solid var(--border);
}

.formats__title {
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.formats__note {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--text-mute);
}

/* Divisórias de 1px feitas com o gap da grade */
.formats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

@media (min-width: 900px) {
  .formats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.format {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.4vw, 28px) clamp(26px, 3vw, 36px);
  background: #0a0a0a;
  transition: background-color 0.4s;
}

.format:last-child { grid-column: 1 / -1; }

@media (min-width: 900px) {
  .format:last-child { grid-column: auto; }
}

/* Linha verde que cresce no topo do item no hover */
.format::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.format:hover { background: #101010; }
.format:hover::before { transform: scaleX(1); }

.format__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green);
  background: rgba(23, 203, 132, 0.08);
  border: 1px solid rgba(23, 203, 132, 0.2);
  border-radius: 16px;
  transition: transform 0.5s var(--ease), background-color 0.4s, color 0.4s, border-color 0.4s;
}

.format__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.format:hover .format__icon {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-4px) rotate(-6deg);
}

.format__name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ---------- 4. Prova social ---------- */

.feature {
  position: relative;
  isolation: isolate;
  margin: 0;
}

/* Luz suave atrás do vídeo */
.feature::before {
  content: "";
  position: absolute;
  inset: 10% 8% 12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(23, 203, 132, 0.3), transparent);
  filter: blur(50px);
}

.feature__video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  transition: border-color 0.5s, box-shadow 0.6s var(--ease);
}

.feature__video > img,
.feature__video > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  transition: transform 1.4s var(--ease);
}

.feature__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.85) 100%);
}

.feature__video:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 50px 100px -50px rgba(23, 203, 132, 0.5);
}

.feature__video:hover > img { transform: scale(1.05); }

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  color: var(--black);
  background: var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 50px -10px var(--green);
  transition: transform 0.5s var(--ease), background-color 0.4s;
}

.play svg { width: 38%; height: 38%; margin-left: 6%; }

.play::before,
.play::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: ring 2.4s var(--ease) infinite;
}

.play::after { animation-delay: 1.2s; }

@keyframes ring {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.8); opacity: 0; }
}

.feature__video:hover .play {
  background: var(--green-light);
  transform: translate(-50%, -50%) scale(1.1);
}

/* GC: tarja de identificação de TV */
.gc {
  position: absolute;
  left: clamp(24px, 4vw, 44px);
  bottom: clamp(24px, 4vw, 44px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: calc(100% - 48px);
  text-align: left;
}

.gc__name {
  padding: 8px 16px;
  font-family: var(--display);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  background: var(--green);
  border-radius: 8px 8px 8px 0;
}

.gc__role {
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  background: rgba(0, 0, 0, 0.78);
  border-radius: 0 0 8px 8px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.feature__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 4px 0;
  color: var(--text-soft);
}

.feature__caption strong { font-family: var(--display); font-weight: 600; color: var(--white); }

.proof {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .proof {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
}

.browser { display: flex; flex-direction: column; }

.browser__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }

.browser__url {
  flex: 1;
  padding: 6px 14px;
  font-size: 0.8125rem;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.browser__shot {
  position: relative;
  flex: 1;
  min-height: 240px;
  overflow: hidden;
}

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

.browser:hover .browser__shot img { transform: scale(1.05); }

.browser__caption {
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(32px, 4vw, 48px);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(23, 203, 132, 0.12), transparent 60%),
    linear-gradient(180deg, #101010 0%, #090909 100%);
}

.quote__mark {
  width: 48px;
  height: auto;
  fill: var(--green);
}

.quote__text {
  flex: 1;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.9375rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

.quote__author strong { color: var(--white); font-weight: 600; }

.quote__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #222, #0c0c0c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* ---------- 5. Pedido de proposta ---------- */

/* Uma única luz suave atrás do formulário, sem cortes nas bordas da seção */
.lead__glow {
  position: absolute;
  right: 0;
  top: calc(50% - 400px);
  z-index: -1;
  width: min(900px, 100%);
  height: 800px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(23, 203, 132, 0.16), transparent);
  animation: glow-breathe 9s ease-in-out infinite;
}

.lead__grid {
  position: relative;
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .lead__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 80px;
    align-items: center;
  }
}

.lead__intro .lede { margin-top: 24px; }

.next {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.next li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-soft);
}

.next span {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

/* Painel com borda de luz girando */
.lead__panel {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 50px 100px -60px rgba(23, 203, 132, 0.45);
}

.lead__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0deg, transparent 230deg, var(--green) 310deg, var(--green-light) 335deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: spin 6s linear infinite;
}

.form {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}

.field > label:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  color-scheme: dark;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.field select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
}

.field select:invalid { color: rgba(255, 255, 255, 0.4); }
.field select option { color: var(--white); background: #111; }

.field input::placeholder { color: rgba(255, 255, 255, 0.32); }

.field input:hover,
.field select:hover { border-color: rgba(255, 255, 255, 0.24); }

.field input:focus,
.field select:focus {
  outline: none;
  background-color: rgba(0, 0, 0, 0.85);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 203, 132, 0.16);
}

.field input:user-invalid,
.field select:user-invalid { border-color: var(--error); }

.field input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Checkbox "A definir" */

.check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}

.check input {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}

.check__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: background-color 0.3s, border-color 0.3s;
}

.check__box svg {
  width: 14px;
  height: 14px;
  color: var(--black);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}

.check:hover .check__box { border-color: rgba(255, 255, 255, 0.6); }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--green); outline-offset: 3px; }

.form__actions { padding-top: 8px; }

.form__note {
  margin-top: 16px;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-mute);
}

.form__error {
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  color: var(--error);
}

/* Confirmação */

.form__success {
  padding-block: clamp(24px, 5vw, 56px);
  text-align: center;
  animation: rise 0.8s var(--ease) both;
}

.form__success:focus { outline: none; }

.form__success-icon svg {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
}

.form__success-icon circle {
  fill: var(--green);
  transform-origin: center;
  animation: pop 0.6s var(--ease) both;
}

.form__success-icon path {
  fill: none;
  stroke: var(--black);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw 0.6s var(--ease) 0.35s forwards;
}

@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.form__success-title {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.form__success-text {
  max-width: 28em;
  margin-inline: auto;
  color: var(--text-soft);
}

/* ---------- Rodapé ---------- */

.footer {
  padding-block: 56px 32px;
  font-size: 0.9375rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__logo { width: auto; height: 30px; }

.footer__social {
  display: flex;
  gap: 12px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
}

.icon-btn svg { width: 20px; height: 20px; }

.icon-btn:hover {
  color: var(--black);
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -10px rgba(23, 203, 132, 0.7);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.875rem;
  color: var(--text-mute);
  border-top: 1px solid var(--border);
}

.footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__privacy svg { width: 18px; height: 18px; }
.footer__privacy:hover { color: var(--white); }

/* ---------- CTA fixo no celular ---------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  padding: 24px var(--gutter) calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 40%, #000 100%);
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.sticky-cta .btn { pointer-events: auto; font-size: 0.9375rem; }

.sticky-cta.is-hidden {
  opacity: 0;
  transform: translateY(110%);
}

@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* ---------- Celular ---------- */

@media (max-width: 599px) {
  .btn--lg { font-size: 0.9375rem; padding-left: 24px; }
  .hero__cta { align-self: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .btn > span:first-child { flex: 1; text-align: center; }
  .card__body { padding: 4px 22px 26px; }
  .app__go { top: 18px; right: 18px; width: 48px; height: 48px; }
  .gc--feature { display: none; }
  .formats__head .btn { width: 100%; }
  .formats__head .btn > span:first-child { flex: 1; text-align: center; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal],
  .hero__in { opacity: 1; translate: 0 0; }
  .ticker__track { animation: none; }
}
