/* ═══════════════════════════════════════════════════════════
   HERO — padrão usado nas páginas Frontend / Tatuagem /
   Aquarela / Filme. Grid 2 colunas: texto + showcase.
═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
}

/* "Bloom" — círculo borrado no fundo, na cor do accent.
   Mistura em screen no tema escuro, multiply no claro. */
.hbloom {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: .24;
  top: -200px;
  right: -60px;
  mix-blend-mode: screen;
  animation: heroFloat 22s ease-in-out infinite;
}

html[data-theme="light"] .hbloom {
  mix-blend-mode: multiply;
  opacity: .18;
}

@keyframes heroFloat {
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

/* SVG decorativo de fundo (linhas, malhas) — opcional por página */
.hero-svg,
.sec-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .14;
}

html[data-theme="light"] .hero-svg,
html[data-theme="light"] .sec-svg {
  mix-blend-mode: multiply;
  opacity: .07;
}

/* Grid 2 colunas: texto à esquerda, showcase à direita */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 6.4vw, 86px);
  line-height: .98;
  letter-spacing: -.01em;
}

.hero h1 .it {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero p.lead {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--dim);
  max-width: 480px;
}

.hero p.lead b {
  color: var(--fg);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SHOWCASE — card terminal/janela do lado direito do hero
   Usado em Frontend (terminal), Tatuagem (canvas 2x2),
   Filme (player), com pequenas variações.
═══════════════════════════════════════════════════════════ */

.showcase,
.terminal {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .7);
}

/* Barra de janela tipo macOS: 3 bolinhas + filename */
.term-bar,
.sc-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.term-bar i,
.sc-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.term-bar i:first-child,    .sc-bar i:first-child    { background: var(--red); }
.term-bar i:nth-child(2),   .sc-bar i:nth-child(2)   { background: var(--c-film); }
.term-bar i:nth-child(3),   .sc-bar i:nth-child(3)   { background: var(--c-aqua); }

.term-bar .fn,
.sc-bar .fn {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

/* Linha de métricas no rodapé do card */
.metrics {
  display: flex;
  border-top: 1px solid var(--line);
}

.metrics .m {
  flex: 1;
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metrics .m:last-child { border-right: 0; }

.metrics .m .v {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent);
}

.metrics .m .l {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 3px;
}
