/* ============================================
   Growth Solutions — Premium Typography
   Neue Haas Grotesk Display Pro · Helvetica Now
   Fallback: Neue Montreal (web) · Inter · SF Pro
   ============================================ */

/* Fontes licenciadas — coloque os .woff2 em assets/fonts/ */
@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src:
    local("Neue Haas Grotesk Display Pro"),
    local("NeueHaasGroteskDisplayPro-Medium"),
    url("assets/fonts/NeueHaasGroteskDisplayPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src:
    local("Neue Haas Grotesk Display Pro Bold"),
    local("NeueHaasGroteskDisplayPro-SemiBold"),
    url("assets/fonts/NeueHaasGroteskDisplayPro-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src:
    local("Helvetica Now Display"),
    local("Helvetica Now Display Medium"),
    local("Helvetica Neue");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Helvetica Now Display";
  src:
    local("Helvetica Now Display Bold"),
    local("Helvetica Now Display SemiBold");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display:
    "Neue Haas Grotesk Display Pro",
    "Helvetica Now Display",
    "Neue Montreal",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Inter",
    system-ui,
    sans-serif;
  --font-body:
    "Inter",
    "SF Pro Text",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    sans-serif;

  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.45);

  --gradient-text: linear-gradient(
    135deg,
    #ffffff 0%,
    #b8c6ff 32%,
    #7b61ff 62%,
    #00d9ff 100%
  );
  --gradient-title: linear-gradient(
    135deg,
    #ffffff 0%,
    #b8c6ff 28%,
    #7b61ff 58%,
    #00d9ff 100%
  );

  --hero-title-size: clamp(3.25rem, 5.8vw + 1.25rem, 6.875rem);
  --hero-subtitle-size: clamp(1.25rem, 0.45vw + 1.1rem, 1.5rem);
  --section-title-size: clamp(2rem, 3.2vw, 3rem);
  --tracking-display: -0.04em;
  --leading-display: 0.96;
  --leading-tight: 0.92;
}

/* Renderização premium */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.011em;
  line-height: 1.65;
  color: var(--text);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Display — editorial / cinematográfico */
h1,
h2,
h3,
h4,
.hero-title,
.section-title,
.nav-logo span,
.stat-num,
.card-num,
.cta-panel .section-title {
  font-family: var(--font-display);
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 1;
  color: var(--text);
  text-wrap: balance;
}

h1,
.hero-title {
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
}

h2,
.section-title {
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
}

h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Hero */
.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -8%;
  left: -12%;
  width: 125%;
  height: 75%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 20% 35%, rgba(123, 97, 255, 0.09), transparent 68%),
    radial-gradient(ellipse 50% 45% at 80% 60%, rgba(0, 217, 255, 0.06), transparent 65%);
  filter: blur(52px);
  opacity: 0.85;
}

.hero-title {
  font-size: var(--hero-title-size);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  max-width: 11.5em;
  margin-bottom: 1.5rem;
  text-rendering: geometricPrecision;
}

.hero--cinematic .hero-title {
  font-size: var(--hero-title-size);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
}

.hero-subtitle,
.hero--cinematic .hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--hero-subtitle-size);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  max-width: 36rem;
}

.section-desc,
.about-text,
.card p,
.card-premium p,
.faq-answer,
.contact-card-premium p,
.testimonial p {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: clamp(1.0625rem, 1.1vw, 1.125rem);
  line-height: 1.65;
}

.section-title {
  font-size: var(--section-title-size);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Destaque — gradient neon refinado */
.gradient-text,
.shimmer-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: none;
  filter: drop-shadow(0 0 32px rgba(0, 217, 255, 0.08));
}

.title-glow {
  position: relative;
  display: inline;
}

.title-glow::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: var(--gradient-title);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(18px);
  opacity: 0.2;
  pointer-events: none;
}

/* Navbar */
.nav-logo span {
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.03em;
}

.nav-links a:not(.btn) {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Botões — corpo legível */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Métricas hero */
.hero-metric strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
  line-height: 1;
}

.hero-metric span {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.hero-badge {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Contraste e legibilidade */
.section-header .section-title {
  color: var(--text);
}

.legal-content h1,
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-display);
}

@media (max-width: 768px) {
  .hero-title,
  .hero--cinematic .hero-title {
    font-size: clamp(3.25rem, 12vw, 4.25rem);
    line-height: 0.94;
    max-width: none;
  }

  .hero-subtitle,
  .hero--cinematic .hero-subtitle {
    font-size: clamp(1.25rem, 4.5vw, 1.5rem);
    line-height: 1.5;
  }
}

@media (min-width: 1200px) {
  .hero-title,
  .hero--cinematic .hero-title {
    font-size: clamp(5.5rem, 6.2vw, 6.875rem);
  }
}
