@charset "utf-8";

/* ==========================================================================
   NOVAQ — Identidade Visual Oficial (Preto Grafite, Branco Marfim e Dourado)
   ========================================================================== */

:root {
  --bg-main: #080b0a;
  --bg-surface: #0f1412;
  --bg-card: rgba(248, 245, 239, 0.03);
  --border-subtle: rgba(217, 174, 94, 0.14);
  --border-hover: rgba(217, 174, 94, 0.48);
  --fg-primary: #f8f5ef;
  --fg-secondary: #c3c5bf;
  --fg-muted: #858a83;
  --gold: #d9ae5e;
  --gold-light: #f0cb85;
  --gold-dark: #9b702e;
  --scene-surface: #121815;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--fg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Navegação do site institucional
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  padding: 0 max(36px, calc((100vw - 1340px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 11, 10, 0.78);
  border-bottom: 1px solid rgba(217, 174, 94, 0.12);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  position: relative;
}

#header-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: invert(1) hue-rotate(180deg) brightness(1.25) contrast(1.08);
}

#header-logo-img.hidden-by-canvas {
  display: none;
}

#header-logo-canvas {
  display: none;
  height: 44px;
  width: auto;
}

#header-logo-canvas.ready {
  display: block;
  filter: drop-shadow(0 2px 14px rgba(217, 174, 94, 0.22));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13.5px;
  font-weight: 500;
}

.site-nav > a {
  color: var(--fg-secondary);
  transition: color 0.2s;
}

.site-nav > a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Hero Scroll Stage (3D NOVAQ -> Logo Completa + Paleta Preto, Branco e Ouro)
   ========================================================================== */

.hero-scroll-stage {
  position: relative;
  height: 240vh;
}

.hero-sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080b0a;
}

.hero-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 45%, rgba(217, 174, 94, 0.15) 0%, rgba(155, 112, 46, 0.05) 38%, transparent 66%),
    radial-gradient(circle at 48% 48%, rgba(248, 245, 239, 0.05) 0%, transparent 46%),
    radial-gradient(circle at 18% 82%, rgba(217, 174, 94, 0.08) 0%, transparent 48%);
  z-index: 0;
}

.hero-3d-stage {
  position: relative;
  z-index: 1;
  width: min(980px, 90vw);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

#nq-hero-frame {
  width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.88));
  user-select: none;
}

/* Big Split Typography */
.hero-typography-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-col {
  position: absolute;
  font-size: clamp(46px, 5.8vw, 86px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.82);
  will-change: transform, opacity;
}

.hero-col span {
  display: block;
}

.hero-col-left {
  right: 52%;
  margin-top: -7vh;
  text-align: right;
}

.hero-col-right {
  left: 51%;
  margin-top: 13vh;
  text-align: left;
  color: var(--gold-light);
}

/* Bottom Cards (Aparecem quando a logo completa se forma no final) */
.hero-bottom-info {
  position: absolute;
  bottom: 7vh;
  left: 0;
  right: 0;
  padding: 0 max(48px, calc((100vw - 1220px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  z-index: 3;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.info-card-left {
  max-width: 450px;
  position: relative;
  padding-left: 22px;
}

.info-card-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(180deg, #f3d48b 0%, #d9ae5e 55%, #8c6223 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(217, 174, 94, 0.45);
}

.info-card-left h2 {
  font-size: clamp(20px, 1.85vw, 25px);
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.info-card-left p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-secondary);
}

.info-card-right {
  max-width: 450px;
  text-align: left;
}

.info-card-right p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin-bottom: 22px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(217, 174, 94, 0.55);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Content Sections (Identidade NOVAQ: Grafite, Marfim e Dourado)
   ========================================================================== */

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.intro {
  padding: 120px max(36px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  background: #0b0f0e;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.intro h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
}

.intro-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--fg-secondary);
}

.story {
  display: flex;
  flex-direction: column;
}

.scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 100px max(36px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 75% 50%, rgba(217, 174, 94, 0.045), transparent 60%);
}

.scene-copy h3 {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--fg-primary);
  margin-bottom: 18px;
}

.scene-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-secondary);
  max-width: 46ch;
}

.scene-visual {
  display: flex;
  justify-content: center;
}

.scene-art {
  width: 100%;
  max-width: 480px;
  height: auto;
  color: var(--gold);
}

.depth-back {
  opacity: 0.35;
}

.solutions {
  padding: 120px max(36px, calc((100vw - 1280px) / 2));
  background: #090d0b;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}

.section-heading h2 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 30px;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover {
  border-color: var(--border-hover);
  background: rgba(217, 174, 94, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(217, 174, 94, 0.12);
}

.solution-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(217, 174, 94, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(217, 174, 94, 0.28);
}

.solution-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.solution-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-secondary);
}

.closing {
  text-align: center;
  padding: 130px 24px 140px;
  background: radial-gradient(ellipse at 50% 50%, rgba(217, 174, 94, 0.10) 0%, transparent 65%);
  border-top: 1px solid var(--border-subtle);
}

.closing h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--fg-primary);
  max-width: 820px;
  margin: 0 auto 20px;
}

.closing p {
  color: var(--fg-secondary);
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 36px;
}

footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px max(36px, calc((100vw - 1280px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-muted);
  font-size: 13px;
  background: #060807;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .hero-col {
    font-size: clamp(32px, 6.5vw, 48px);
  }
  .hero-col-left {
    right: 50%;
    margin-top: -18vh;
  }
  .hero-col-right {
    left: 50%;
    margin-top: 18vh;
  }
  .intro, .scene {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 24px;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .hero-bottom-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    bottom: 4vh;
    padding: 0 24px;
  }
}
/* Equipe */
.team { padding: 112px max(36px, calc((100vw - 1280px) / 2)); background: #101512; scroll-margin-top: 82px; }
.team-intro { max-width: 740px; margin-bottom: 50px; }
.team-intro h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.12; letter-spacing: -.04em; margin-bottom: 20px; }
.team-intro > p:last-child { color: var(--fg-secondary); font-size: 17px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card { overflow: hidden; background: #171d18; border: 1px solid var(--border-subtle); border-radius: 12px; }
.team-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 28%; display: block; }
.team-card-copy { padding: 24px; }
.team-card-copy span { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.team-card-copy h3 { margin: 8px 0 12px; font-size: 26px; }
.team-card-copy p { color: var(--fg-secondary); font-size: 14px; line-height: 1.65; }
@media (max-width: 1050px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { padding: 72px 24px; } .team-grid { grid-template-columns: 1fr; } .team-card img { aspect-ratio: 1 / 1; } }
