/* ============ Tokens ============ */
:root {
  --bg: #05060a;
  --surface: #0b0d14;
  --surface-2: #10131c;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f4f8;
  --text-2: #a4abbd;
  --text-3: #6b7288;
  --violet: #7c6cff;
  --green: #00d68f;
  --radius: 20px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.mono { font-family: "Geist Mono", ui-monospace, "SFMono-Regular", monospace; }

::selection { background: color-mix(in srgb, var(--violet) 45%, transparent); }

/* ============ Fundo ============ */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

.bg-aurora {
  position: absolute;
  top: -40vh;
  left: 50%;
  width: min(1400px, 160vw);
  height: 90vh;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(124, 108, 255, 0.35), transparent 70%),
    radial-gradient(35% 45% at 70% 40%, rgba(0, 214, 143, 0.18), transparent 70%),
    radial-gradient(30% 40% at 50% 70%, rgba(74, 92, 245, 0.25), transparent 70%);
  filter: blur(40px);
  animation: aurora 18s var(--ease) infinite alternate;
}

@keyframes aurora {
  to { transform: translateX(-50%) translateY(4vh) scale(1.08) rotate(3deg); }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 30%, transparent 80%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Navegação ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(5, 6, 10, 0.72);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark { width: 22px; height: 22px; color: var(--text); }
.brand-thin { color: var(--text-3); font-weight: 500; }

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font: 600 0.95rem/1 "Geist", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.25s, filter 0.2s;
}

.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.88rem; border-radius: 10px; }

.btn-light {
  background: var(--text);
  color: #07080c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 8px 30px -8px rgba(255, 255, 255, 0.35);
}

.btn-light:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 10px 40px -6px rgba(255, 255, 255, 0.5); }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-block { width: 100%; }
.front .btn-ghost:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 60%, transparent); }

.btn-brand {
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 1px color-mix(in srgb, var(--brand) 70%, #000),
    0 10px 30px -10px var(--brand);
}

.btn-brand:hover { filter: brightness(1.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 0 1px var(--brand), 0 14px 40px -8px var(--brand); }

/* ============ Hero ============ */
.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(56px, 11vw, 120px) var(--gutter) clamp(48px, 7vw, 80px);
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text-2);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  transition: background 0.2s, color 0.2s;
}

.pill:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

.pill-tag {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #07080c;
  background: linear-gradient(90deg, var(--violet), var(--green));
}

.hero-title {
  margin-top: 28px;
  font-size: clamp(2.5rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero-grad {
  background: linear-gradient(90deg, #a99cff, var(--violet) 35%, #4ad6ff 70%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 620px;
  margin: 24px auto 0;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 640px;
  margin: 64px auto 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: inset 0 0 0 1px var(--border);
}

.metrics div { padding: 20px 12px; }
.metrics div + div { border-left: 1px solid var(--border); }
.metrics dt { font-size: 0.8rem; color: var(--text-3); }

.metrics dd {
  margin: 6px 0 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  font-size: 0.85rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: marquee 40s linear infinite;
}

.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: 0.6;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Seções ============ */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter) 0;
}

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }

.eyebrow {
  font-size: 0.8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-head h2,
.cta h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-lead { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--text-2); }

/* ============ Fronts (cards) ============ */
.fronts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.front {
  --brand: var(--violet);
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* Borda com brilho na cor da marca */
.front::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand) 90%, #fff), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.front-spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(500px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand) 16%, transparent), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.front:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--border-strong), 0 30px 80px -30px color-mix(in srgb, var(--brand) 60%, transparent); }
.front:hover::before,
.front:hover .front-spot,
.front:focus-within::before { opacity: 1; }

.front-media {
  position: relative;
  z-index: 1;
  display: block;
  margin: 8px 8px 0;
  border-radius: 14px;
  overflow: hidden;
}

.front-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.front-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.front:hover .front-media img { transform: scale(1.04); }

.front-body { position: relative; z-index: 1; flex: 1; padding: 22px 22px 0; }

.front-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.front-num { color: var(--text-3); }

.front-tag {
  padding: 3px 9px;
  border-radius: 6px;
  color: color-mix(in srgb, var(--brand) 70%, #fff);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent);
}

.front-body h3 {
  margin-top: 14px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.front-body p { margin-top: 8px; line-height: 1.6; color: var(--text-2); }

.front-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 24px 22px 22px;
}

.front-site {
  font-size: 0.85rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}

.front-site:hover { color: var(--text); }
.front-site:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* Patrocínio (ex.: Instituto COG.IA) */
.sponsor { font-size: 0.78rem; color: var(--text-3); }
.front-body .sponsor { margin-top: 14px; }
.sponsor a {
  color: color-mix(in srgb, var(--brand) 70%, #fff);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.sponsor a:hover { color: var(--text); border-color: var(--text); }

/* Placeholder enquanto a imagem do card não foi gerada */
.media-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, var(--surface-2)), var(--surface-2));
}
.media-ph span {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--brand) 35%, #fff);
}
.soon-media .media-ph { height: 100%; }

/* ============ Filtros da vitrine ============ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.filter:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.filter:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.filter[aria-pressed="true"] {
  color: #07080c;
  background: var(--text);
  box-shadow: none;
}

.filter-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
}
.filter[aria-pressed="true"] .filter-count { background: rgba(0, 0, 0, 0.1); }

.front[hidden] { display: none; }

/* ============ Como funciona ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.step { position: relative; padding: clamp(24px, 3.5vw, 40px); }
.step + .step { border-left: 1px solid var(--border); }
.step-num { font-size: 0.8rem; color: var(--text-3); }

.step-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-top: 28px;
  padding: 10px;
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.step h3 { margin-top: 20px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 8px; line-height: 1.6; color: var(--text-2); }

/* ============ Patentes ============ */
.ranks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rank {
  --tone: color-mix(in srgb, var(--violet) calc(100% - var(--lvl) * 12%), var(--green));
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}

.rank:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 50%, transparent); }

.rank-badge {
  flex: none;
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--tone) 50%, transparent));
}

.rank-badge svg { width: 100%; height: 100%; }
.rank-hex { fill: color-mix(in srgb, var(--tone) 18%, #0b0d14); stroke: var(--tone); stroke-width: 1.4; }
.rank-chev { fill: none; stroke: var(--tone); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.rank-star { fill: #ffd166; }

.rank-info { flex: 1; min-width: 0; }
.rank-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rank-top h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.rank-xp { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; }
.rank-info p { margin-top: 6px; font-size: 0.9rem; line-height: 1.5; color: var(--text-2); }

.rank-bar {
  height: 4px;
  margin-top: 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rank-bar span {
  display: block;
  height: 100%;
  width: calc(var(--lvl, 6) / 6 * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--tone, var(--green)));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease) 0.2s;
}

.in .rank-bar span,
.soon-progress .rank-bar span { transform: scaleX(1); }

/* ============ CTA final ============ */
.cta {
  position: relative;
  max-width: calc(var(--max) - 2 * 32px);
  margin: clamp(80px, 11vw, 140px) var(--gutter) 0;
  padding: clamp(56px, 9vw, 110px) var(--gutter);
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

@media (min-width: 1265px) { .cta { margin-inline: auto; } }

.cta-glow {
  position: absolute;
  inset: auto 0 -60% 0;
  z-index: -1;
  height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 108, 255, 0.45), rgba(0, 214, 143, 0.12) 50%, transparent 75%);
  filter: blur(30px);
}

.cta h2 { margin: 16px auto 36px; max-width: 760px; }

/* ============ Rodapé ============ */
.footer {
  max-width: var(--max);
  margin: clamp(80px, 10vw, 120px) auto 0;
  padding: 0 var(--gutter);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-brand p { margin-top: 12px; font-size: 0.9rem; color: var(--text-3); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.footer-col a { font-size: 0.9rem; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-3);
}

.dot-live {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  vertical-align: 1px;
}

/* ============ Página da comunidade ============ */
.soon {
  --brand: var(--violet);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) 0;
}

.soon-media {
  border-radius: var(--radius);
  padding: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border-strong), 0 40px 100px -40px color-mix(in srgb, var(--brand) 70%, transparent);
}

.soon-media img { display: block; width: 100%; border-radius: 14px; }

.soon h1 {
  margin-top: 16px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.soon-name { color: color-mix(in srgb, var(--brand) 75%, #fff); }
.soon .hero-lead { margin-left: 0; }
.soon .hero-ctas { justify-content: flex-start; }
.soon .btn-brand { width: auto; }

.soon-progress { max-width: 420px; margin-top: 28px; }
.soon-progress-top { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-3); }
.soon-progress .rank-bar span { background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 60%, #fff), var(--brand)); }

/* ============ Animação de entrada ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease) var(--delay, 0ms), transform 0.9s var(--ease) var(--delay, 0ms);
}

.reveal.in { opacity: 1; transform: none; }
.front.reveal.in:hover { transform: translateY(-6px); }

/* ============ Responsivo ============ */
@media (max-width: 1024px) {
  .fronts { grid-template-columns: repeat(2, 1fr); }
  .ranks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav .brand { font-size: 0.92rem; }

  .fronts,
  .ranks { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--border); }

  .soon { grid-template-columns: 1fr; }
  .soon .hero-ctas .btn { flex: 1; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .metrics { margin-top: 48px; }
  .metrics div { padding: 16px 8px; }
  .metrics dt { font-size: 0.72rem; }

  .pill { font-size: 0.8rem; }
  .front-body { padding: 18px 18px 0; }
  .front-actions { padding: 20px 18px 18px; }
  .rank { padding: 16px; }
}

/* Sem hover real (celular): mostra o brilho de leve, sem levantar o card */
@media (hover: none) {
  .front:hover { transform: none; }
  .front::before { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .rank-bar span { transform: none; }
}
