/* ---------- HERO ---------- */
#inicio {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  min-height: 92vh;
}
.hero-copy {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  padding: 48px 24px 48px;
}
.hero-copy h1 {
  line-height: 0.9;
  letter-spacing: -2px;
}
.hero-copy h1 span {
  display: block;
  font-weight: 800;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 0.9;
}
.hero-copy p.lead {
  margin-top: 20px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-copy .btn-cta { align-self: center; width: fit-content; margin-top: 32px; }

.stats-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 380px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-top { display: flex; align-items: center; gap: 6px; }
.stat-top svg { width: 16px; height: 16px; color: var(--accent); }
.stat-top span { font-size: 13px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-dim); }

/* Hero portrait: fixed-box + object-fit:cover keeps the crop deterministic —
   no intrinsic-ratio math, so the face position never drifts with viewport size. */
.hero-media {
  position: relative;
  width: 100%;
  height: 380px;
  z-index: 2;
  overflow: hidden;
}
.hero-glow {
  pointer-events: none;
  position: absolute;
  left: 52%;
  top: -8%;
  width: 460px;
  height: 460px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(178, 102, 255, 0.75) 0%, rgba(147, 51, 234, 0.35) 45%, transparent 72%);
  filter: blur(55px);
  z-index: 1;
}
.hero-rim {
  pointer-events: none;
  position: absolute;
  right: -10%;
  top: 15%;
  width: 60%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(216, 180, 254, 0.55) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: contrast(1.18) saturate(0.82) brightness(0.9) drop-shadow(0 0 45px rgba(168, 85, 247, 0.4));
}
.hero-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(85% 75% at 50% 32%, transparent 42%, rgba(10, 10, 10, 0.94) 100%),
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%),
    linear-gradient(to top, transparent 88%, var(--bg) 100%);
}

@media (min-width: 1024px) {
  #inicio { flex-direction: row; }
  .hero-copy {
    width: 50%;
    align-items: flex-start;
    text-align: left;
    padding-top: 110px;
    padding-right: 64px;
    padding-bottom: 80px;
    /* Match .catalog-inner's left edge exactly (24px .catalog pad + the
       1280px-max centered container's own gap + its 36px inner pad), not a
       fixed guess — a flat 100px only lined up with "NOSSAS EXPERIÊNCIAS"
       at one specific viewport width and drifted at every other one. */
    padding-left: max(60px, calc(50vw - 604px));
    z-index: 5;
  }
  .hero-copy p.lead { margin-left: 0; margin-right: 0; }
  .hero-copy .btn-cta { align-self: flex-start; }
  .hero-media {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
  }
  .hero-glow { left: 58%; top: 4%; width: 640px; height: 640px; }
  .hero-rim { right: -15%; top: 10%; width: 70%; height: 65%; }
  .hero-media img { object-position: 50% 8%; }
  .hero-vignette {
    background:
      radial-gradient(75% 90% at 62% 32%, transparent 40%, rgba(10, 10, 10, 0.94) 100%),
      linear-gradient(to right, var(--bg) 0%, transparent 24%),
      linear-gradient(to top, var(--bg) 0%, transparent 34%);
  }
}

/* ---------- CATALOG ---------- */
.catalog {
  position: relative;
  width: 100%;
  background: var(--bg);
  padding: 80px 24px;
}
.catalog-inner { max-width: 1280px; margin: 0 auto; }
.catalog-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.eyebrow-line { width: 24px; height: 1px; background: var(--accent); }
.eyebrow span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
}
.catalog-head h2 {
  color: var(--text);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
  font-size: clamp(28px, 3.5vw, 44px);
}
.catalog-head p {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  position: relative;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-accent);
  transition: all 0.3s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
}
.card-top { display: flex; align-items: center; gap: 8px; }
.card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}
.card:hover .card-icon { background: rgba(168, 85, 247, 0.15); border-color: rgba(168, 85, 247, 0.2); }
.card-icon svg { width: 18px; height: 18px; color: var(--accent); }
.card-tag {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent);
  border: 1px solid rgba(168, 85, 247, 0.15);
  white-space: nowrap;
}
.card h3 { color: var(--text); font-weight: 600; font-size: 16px; letter-spacing: -0.2px; }
.card p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--text-dim); }
.card-cta {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--text-faint);
  transition: color 0.2s;
}
.card:hover .card-cta { color: var(--accent); }
.card-cta .arrow { transition: transform 0.2s; }
.card:hover .card-cta .arrow { transform: translateX(4px); }
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(400px at 0% 0%, rgba(168, 85, 247, 0.08), transparent 60%);
}
.card:hover .card-glow { opacity: 1; }

@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .catalog-grid { grid-template-columns: repeat(4, 1fr); }
  .catalog-head { flex-direction: row; align-items: flex-end; }
  .catalog-inner { padding: 0 36px; }
}
