/* Abanalysis 2.0 · Em breve */

:root {
  --ink: #1d0930;
  --ink-2: #140621;
  --plum: #3b0764;
  --plum-700: #581c87;
  --plum-500: #7e22ce;
  --lilac: #f3e8ff;
  --lilac-200: #e9d5ff;

  /* Tintas da mão do logo */
  --amber: #fbab0c;
  --coral: #f75b2b;
  --rose: #d7426c;
  --leaf: #8eb15e;

  /* Semântica dos gráficos, igual ao app */
  --hit: #16a34a;
  --hit-help: #2563eb;
  --miss: #dc2626;

  --text: #fff;
  --text-2: rgb(255 255 255 / 0.74);
  --text-3: rgb(255 255 255 / 0.52);
  --line: rgb(255 255 255 / 0.1);
  --glass: rgb(255 255 255 / 0.06);

  --font-display: "Bricolage Grotesque", "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Public Sans", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --paint: linear-gradient(100deg, var(--amber), var(--coral) 35%, var(--rose) 65%, var(--plum-500));

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Fundo vivo ---------- */

#paint {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% -10%, var(--plum) 0%, transparent 60%),
    radial-gradient(90% 70% at -10% 110%, #2a0a47 0%, transparent 60%),
    var(--ink);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}

.blob--violet {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -120px;
  background: var(--plum-500);
}

.blob--rose {
  width: 420px;
  height: 420px;
  top: 35%;
  left: -180px;
  background: var(--rose);
  opacity: 0.3;
  animation-duration: 26s;
  animation-delay: -6s;
}

.blob--amber {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: 25%;
  background: var(--amber);
  opacity: 0.22;
  animation-duration: 30s;
  animation-delay: -12s;
}

.blob--leaf {
  width: 280px;
  height: 280px;
  top: 55%;
  right: -80px;
  background: var(--leaf);
  opacity: 0.16;
  animation-duration: 24s;
  animation-delay: -3s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

.dots {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

/* ---------- Header ---------- */

.header {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__mark {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--ease-back);
}

.logo:hover .logo__mark {
  transform: rotate(-14deg) scale(1.08);
}

.logo__word {
  display: block;
  height: 36px;
  width: auto;
  aspect-ratio: 1073 / 226;
  filter: brightness(0) invert(1);
}

.header__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.header__link:hover {
  color: #fff;
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.1);
}

.header__link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.rise {
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 120ms + 100ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgb(251 171 12 / 0.35);
  background: rgb(251 171 12 / 0.1);
  color: #ffd98a;
  font-size: 14px;
  font-weight: 600;
}

.badge__pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.badge__pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  animation: ping 1.8s var(--ease) infinite;
}

@keyframes ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.hero__title {
  margin-top: 24px;
  font-size: clamp(2.8rem, 6.6vw, 5.4rem);
  font-weight: 800;
}

.paint-word {
  position: relative;
  display: inline-block;
  background: var(--paint);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: paint-flow 6s ease-in-out infinite alternate;
  padding-right: 0.04em;
}

@keyframes paint-flow {
  to { background-position: 100% 0; }
}

.paint-word__stroke {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.26em;
  overflow: visible;
}

.paint-word__stroke path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw 1.1s var(--ease) 1s forwards;
}

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

.hero__lead {
  margin-top: 26px;
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--text-2);
}

.rotator {
  display: inline-block;
  color: #fff;
  font-weight: 600;
}

.rotator__word {
  display: inline-block;
  background: linear-gradient(transparent 62%, rgb(251 171 12 / 0.38) 62%);
}

.rotator__word.is-out {
  animation: word-out 0.35s var(--ease) forwards;
}

.rotator__word.is-in {
  animation: word-in 0.45s var(--ease-back) both;
}

@keyframes word-out {
  to {
    opacity: 0;
    transform: translateY(-0.5em);
    filter: blur(4px);
  }
}

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.5em);
    filter: blur(4px);
  }
}

/* Botões */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-back);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  overflow: hidden;
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 14px 34px -12px rgb(251 171 12 / 0.75);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out 2s infinite;
}

.btn--primary > * {
  position: relative;
}

@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.btn--primary:hover {
  box-shadow: 0 18px 40px -10px rgb(251 171 12 / 0.9);
}

.btn--primary:active {
  transform: scale(0.97);
}

.btn--ghost {
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
  background: rgb(255 255 255 / 0.04);
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 0.1);
}

/* ---------- Prévia ---------- */

.preview {
  position: relative;
  perspective: 1400px;
}

.preview__glow {
  position: absolute;
  inset: 10% 5%;
  border-radius: 40px;
  background: var(--paint);
  filter: blur(80px);
  opacity: 0.28;
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: 0.16;
    transform: scale(0.94);
  }
}

.window {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: linear-gradient(160deg, rgb(64 22 100 / 0.85), rgb(29 9 48 / 0.92));
  backdrop-filter: blur(22px);
  box-shadow:
    0 50px 100px -40px rgb(0 0 0 / 0.8),
    inset 0 1px 0 rgb(255 255 255 / 0.15);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

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

.window__bar > span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
}

.window__bar > span:nth-child(1) { background: var(--coral); }
.window__bar > span:nth-child(2) { background: var(--amber); }
.window__bar > span:nth-child(3) { background: var(--leaf); }

.window__bar p {
  margin-left: auto;
  margin-right: auto;
  padding: 4px 14px;
  border-radius: 8px;
  background: rgb(0 0 0 / 0.2);
  font-size: 12px;
  color: var(--text-3);
}

.window__bar em {
  font-style: normal;
  color: var(--amber);
  font-weight: 700;
}

.window__body {
  padding: 22px;
}

.window__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.window__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.chip {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.chip--live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgb(22 163 74 / 0.18);
  color: #86efac;
}

.chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.4s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

.chart {
  width: 100%;
  height: auto;
  margin-top: 18px;
  overflow: visible;
}

.chart__grid line {
  stroke: rgb(255 255 255 / 0.08);
  stroke-dasharray: 3 5;
}

.chart__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2s var(--ease) 0.9s forwards;
}

.chart__line--hit { stroke: #22c55e; }
.chart__line--help {
  stroke: #60a5fa;
  stroke-width: 2;
  opacity: 0.7;
  animation-delay: 1.2s;
}

.chart__area {
  opacity: 0;
  animation: fade 1.2s ease 2s forwards;
}

@keyframes fade {
  to { opacity: 1; }
}

.chart__dots circle {
  fill: var(--ink);
  stroke: #22c55e;
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: pop 0.5s var(--ease-back) forwards;
  animation-delay: calc(var(--d) * 170ms + 1s);
}

.chart__dots .chart__last {
  fill: #22c55e;
  animation:
    pop 0.5s var(--ease-back) calc(var(--d) * 170ms + 1s) forwards,
    halo 2s ease-out 3s infinite;
}

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

@keyframes halo {
  0% { filter: drop-shadow(0 0 0 rgb(34 197 94 / 0.9)); }
  100% { filter: drop-shadow(0 0 10px rgb(34 197 94 / 0)); }
}

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

.tally__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 6px;
  border-radius: 14px;
  border: 1px solid transparent;
  font: inherit;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s var(--ease-back);
}

.tally__btn b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.tally__btn span {
  font-size: 12px;
  opacity: 0.8;
}

.tally__btn--hit { background: rgb(22 163 74 / 0.2); border-color: rgb(22 163 74 / 0.4); }
.tally__btn--help { background: rgb(37 99 235 / 0.2); border-color: rgb(37 99 235 / 0.4); }
.tally__btn--miss { background: rgb(220 38 38 / 0.18); border-color: rgb(220 38 38 / 0.38); }

.tally__btn.is-pressed {
  animation: press 0.32s var(--ease);
}

@keyframes press {
  50% { transform: scale(0.9); }
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(36 12 58 / 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.7);
  font-size: 14px;
  animation: float 6s ease-in-out infinite;
}

.float-card b,
.float-card small {
  display: block;
  line-height: 1.3;
}

.float-card small {
  color: var(--text-3);
}

.float-card--a {
  left: -44px;
  bottom: 112px;
  animation-delay: -2s;
}

.float-card--b {
  right: -32px;
  top: -30px;
  animation-delay: -4s;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--hit);
  font-weight: 800;
}

.float-card__avatars {
  display: flex;
}

.float-card__avatars i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  border: 2px solid #2a0d44;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  background: var(--lilac-200);
}

.float-card__avatars i:first-child { margin-left: 0; background: var(--amber); }
.float-card__avatars i:nth-child(2) { background: #f9a8c3; }

@keyframes float {
  50% { transform: translateY(-12px); }
}

.preview__hand {
  position: absolute;
  top: -48px;
  left: -40px;
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.45));
  animation: wave 4s ease-in-out infinite;
  transform-origin: 60% 90%;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(-12deg); }
  70% { transform: rotate(8deg); }
  80% { transform: rotate(-18deg); }
  90% { transform: rotate(6deg); }
}

/* ---------- Faixa ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / 0.03);
  transform: rotate(-1.5deg);
  margin: 0 -20px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber);
}

.marquee i:nth-of-type(4n + 2) { background: var(--coral); }
.marquee i:nth-of-type(4n + 3) { background: var(--leaf); }
.marquee i:nth-of-type(4n) { background: var(--rose); }

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

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

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 40px;
}

.section__head {
  max-width: 680px;
}

.section__head h2,
.status h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
}

.section__head > p:last-child,
.status__intro > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--text-2);
}

.cards {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 28px 24px 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgb(255 255 255 / 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgb(251 171 12 / 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgb(255 255 255 / 0.2);
}

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

.card > * {
  position: relative;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  transition: transform 0.5s var(--ease-back);
}

.card:hover .card__icon {
  transform: rotate(-8deg) scale(1.1);
}

.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__icon--amber { background: rgb(251 171 12 / 0.16); color: var(--amber); }
.card__icon--leaf { background: rgb(142 177 94 / 0.18); color: #b5d68a; }
.card__icon--rose { background: rgb(215 66 108 / 0.18); color: #f58aa8; }
.card__icon--violet { background: rgb(126 34 206 / 0.25); color: #d8b4fe; }

.card h3 {
  margin-top: 22px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 0.97rem;
}

/* Status */

.section--status {
  padding-top: 100px;
}

.status {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding: 48px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgb(126 34 206 / 0.25), transparent 60%),
    rgb(255 255 255 / 0.03);
}

.meter {
  margin-top: 36px;
  padding: 22px;
  border-radius: 20px;
  background: rgb(0 0 0 / 0.22);
  border: 1px solid var(--line);
}

.meter__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  color: var(--text-2);
}

.meter__top b {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.meter__track {
  margin-top: 12px;
  height: 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}

.meter__fill {
  position: relative;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--paint);
  transition: width 2.2s var(--ease);
  overflow: hidden;
}

.meter__fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 0.18) 0 10px, transparent 10px 20px);
  animation: stripes 1s linear infinite;
}

@keyframes stripes {
  to { background-position: 28px 0; }
}

.meter__log {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  color: var(--text-3);
}

.meter__cursor {
  width: 8px;
  height: 14px;
  background: var(--amber);
  animation: blink 1s steps(2) infinite;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 26px;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 2px;
  width: 2px;
  background: rgb(255 255 255 / 0.12);
}

.step--done::before {
  background: var(--leaf) !important;
}

.step__dot {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / 0.2);
  background: var(--ink);
}

.step--done .step__dot {
  border-color: var(--leaf);
  background: var(--leaf);
}

.step--done .step__dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.step--now .step__dot {
  border-color: var(--amber);
}

.step--now .step__dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--amber);
  animation: ping-soft 1.6s ease-in-out infinite;
}

@keyframes ping-soft {
  50% { transform: scale(0.6); opacity: 0.6; }
}

.step b {
  display: block;
  font-size: 1.08rem;
}

.step small {
  font-size: 13px;
  color: var(--text-3);
}

.step--done small { color: #b5d68a; }
.step--now small { color: var(--amber); font-weight: 600; }

/* Fechamento */

.closing {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 24px 120px;
  text-align: center;
}

.closing__hand {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgb(247 91 43 / 0.35));
}

.closing.is-revealed .closing__hand {
  animation: stamp 0.8s var(--ease) 0.15s both;
}

@keyframes stamp {
  0% { opacity: 0; transform: scale(1.8) rotate(-20deg); }
  55% { opacity: 1; transform: scale(0.88) rotate(4deg); }
  100% { transform: scale(1) rotate(-6deg); }
}

.closing h2 {
  margin-top: 28px;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 800;
}

.paint-text {
  background: var(--paint);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: paint-flow 6s ease-in-out infinite alternate;
}

.closing p {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.1rem;
  color: var(--text-2);
}

.closing__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 14px;
  color: var(--text-3);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

/* ---------- Entradas no scroll (só com JS) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease),
    transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 100ms);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js .card[data-reveal].is-revealed:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

/* ---------- Responsivo ---------- */

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

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-top: 24px;
  }

  .preview {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .status {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 16px;
  }

  .header__link {
    padding: 8px 12px;
    font-size: 13px;
  }

  .logo__word {
    display: none;
  }

  .hero,
  .section,
  .closing,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding-top: 88px;
  }

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

  .float-card--a {
    left: auto;
    right: -4px;
    bottom: -34px;
  }

  .float-card--b {
    display: none;
  }

  .preview__hand {
    width: 76px;
    height: 76px;
    top: -42px;
    left: -8px;
  }

  .window__body {
    padding: 18px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::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;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee__track {
    animation: none;
  }
}
