/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── tokens ── */
:root {
  --bg:      #08080c;
  --fg:      #eeebe7;
  --accent:  #f06220;
  --muted:   rgba(238,235,231,0.4);
  --dim:     rgba(238,235,231,0.12);
  --line:    rgba(238,235,231,0.07);
  --dp: 'Syne', 'Arial Black', sans-serif;
  --bd: 'Space Grotesk', system-ui, sans-serif;
}

/* ── base ── */
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--bd);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* grade de fundo */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}

/* ── cursor personalizado ── */
#cursor {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(240,98,32,0.09) 0%,
    transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: left .12s linear, top .12s linear;
  left: 50%;
  top: 50%;
}

/* ── header ── */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 60px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(8,8,12,0.88);
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--dp);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--fg);
  text-decoration: none;
}

.logo-box {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 4px;
  flex-shrink: 0;
}

header nav {
  display: flex;
  gap: 2rem;
}

header nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

header nav a:hover { color: var(--fg); }

/* ── hero ── */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hero {
  width: 100%;
  min-height: 100vh;
  padding: 60px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* topo: eyebrow + título */
.hero-top {
  padding-top: 80px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}

.eyebrow.visible { opacity: 1; transform: none; }

/* título com overflow intencional */
.title {
  font-family: var(--dp);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 13rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--fg);
  overflow: hidden;
}

/* cada letra animada via JS */
.title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity .5s ease, transform .6s cubic-bezier(0.22, 1, 0.36, 1);
}

.title .letter.visible {
  opacity: 1;
  transform: none;
}

/* ── parte inferior: texto + CTA ── */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 52px 0 48px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.hero-text {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s .65s ease, transform .6s .65s ease;
}

.hero-text.visible { opacity: 1; transform: none; }

.tagline {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(238,235,231,0.6);
  margin-bottom: 14px;
}

.desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  align-items: flex-start;

  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s .8s ease, transform .6s .8s ease;
}

.hero-cta.visible { opacity: 1; transform: none; }

/* ── botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--bd);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #d9561c;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,98,32,0.32);
}

.btn-primary svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--fg);
  border-color: var(--dim);
  background: rgba(255,255,255,0.03);
}

/* ── footer ── */
footer {
  position: relative;
  z-index: 1;
  padding: 18px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;

  opacity: 0;
  transition: opacity .5s 1s ease;
}

footer.visible { opacity: 1; }

footer span {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(238,235,231,0.18);
  letter-spacing: 0.05em;
}

/* ── mobile ── */
@media (max-width: 700px) {
  header { padding: 0 24px; }

  .hero {
    padding: 60px 24px 0;
  }

  .hero-top { padding-top: 48px; }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0 40px;
  }

  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  footer { padding: 16px 24px; }

  .footer-domain { display: none; }
}
