/* ============================================================
   ZÊNITE PARTNERS — Design System
   Fonte: HK Grotesk (Fontshare)
   Conceito: trajetória ascendente até o "zênite" (ponto mais alto)
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=hk-grotesk@400,500,600,700,800&display=swap');

:root {
  /* Cores */
  --bg-0: #0A0C10;         /* fundo base, quase preto azulado */
  --bg-1: #101319;         /* elevação sutil */
  --bg-2: #15181F;         /* elevação maior */
  --bg-warm: #171009;      /* fundo com leve calor para transições */
  --line: rgba(244, 123, 32, 0.14);
  --line-soft: rgba(255,255,255,0.08);

  --orange-700: #C2410C;
  --orange-600: #E0631A;
  --orange-500: #F47B20;   /* accent principal */
  --orange-400: #FF9A4D;
  --orange-300: #FFB35C;
  --orange-200: #FFD9AD;

  --text-0: #F6F4EF;       /* branco quente */
  --text-1: #C9CCD3;       /* corpo secundário */
  --text-2: #868C98;       /* muted */

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: 'HK Grotesk', -apple-system, sans-serif;
  --font-body: 'HK Grotesk', -apple-system, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22,.9,.32,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--text-0);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--orange-500); color: #0A0C10; }

:focus-visible {
  outline: 2px solid var(--orange-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-400);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--orange-500);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-0);
}

h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.12; }
h3 { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.3; }

p { color: var(--text-1); }

.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.section-head p { margin-top: 14px; font-size: 16.5px; }

.grad { background: linear-gradient(120deg, var(--orange-300), var(--orange-500) 55%, var(--orange-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  color: #150C05;
  box-shadow: 0 8px 30px -8px rgba(244,123,32,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(244,123,32,0.7); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text-0);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--orange-500); color: var(--orange-300); }
.btn svg { width: 18px; height: 18px; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10,12,16,0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text-0);
}
.brand-name b { color: var(--orange-400); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-1);
  transition: color .25s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--text-0); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn-primary { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after { content:''; }
.hamburger {
  position: relative;
  width: 18px; height: 12px;
}
.hamburger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--text-0); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.hamburger span:nth-child(1){ top: 0; }
.hamburger span:nth-child(2){ top: 5px; }
.hamburger span:nth-child(3){ top: 10px; }
.nav-open .hamburger span:nth-child(1){ top:5px; transform: rotate(45deg); }
.nav-open .hamburger span:nth-child(2){ opacity: 0; }
.nav-open .hamburger span:nth-child(3){ top:5px; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  top: 66px;
  background: rgba(9,11,15,0.98);
  backdrop-filter: blur(10px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 90;
}
.mobile-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-panel a {
  padding: 16px 4px;
  font-size: 19px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-0);
}
.mobile-panel .btn { margin-top: 20px; width: 100%; }

/* ---------------- Trajectory (signature element) ---------------- */
.trajectory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.trajectory path {
  fill: none;
  stroke: url(#trajGrad);
  stroke-width: 1.6;
  stroke-dasharray: 6 10;
  opacity: 0.55;
}
.trajectory circle.apex {
  fill: var(--orange-400);
  filter: drop-shadow(0 0 10px rgba(244,123,32,0.9));
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 170px 0 130px;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 82% -10%, rgba(244,123,32,0.20), transparent 60%),
    radial-gradient(600px 500px at -10% 30%, rgba(194,65,12,0.14), transparent 60%),
    var(--bg-0);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 780px; }
.hero h1 { font-size: clamp(36px, 6.2vw, 68px); line-height: 1.05; margin-top: 22px; }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--text-1);
  max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px;
}
.chip {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-1);
}
.chip svg { width: 15px; height: 15px; color: var(--orange-400); }

/* ---------------- Section shells + gradient transitions ---------------- */
section { position: relative; }

.s-methodology {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pillar {
  background: var(--bg-1);
  padding: 34px 26px 30px;
  transition: background .35s var(--ease);
}
.pillar:hover { background: var(--bg-2); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-400);
  letter-spacing: 0.05em;
}
.pillar-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(244,123,32,0.18), rgba(244,123,32,0.04));
  border: 1px solid rgba(244,123,32,0.22);
  margin: 16px 0 18px;
}
.pillar-icon svg { width: 21px; height: 21px; color: var(--orange-400); }
.pillar h3 { margin-bottom: 8px; }
.pillar p { font-size: 14.5px; }

.pillar-connector {
  display: none;
}

/* ---------------- Segments ---------------- */
.s-segments {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-warm) 55%, var(--bg-0) 100%);
}
.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.segment-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.segment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244,123,32,0.35);
  background: rgba(244,123,32,0.04);
}
.segment-card .seg-tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange-400); margin-bottom: 12px; display: block;
}
.segment-card h3 { margin-bottom: 8px; }
.segment-card p { font-size: 14px; }

/* ---------------- Why / differentiators ---------------- */
.s-why {
  padding: 120px 0;
  background: var(--bg-0);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(160deg, rgba(244,123,32,0.10), rgba(255,255,255,0.015));
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,123,32,0.12);
  border: 1px solid rgba(244,123,32,0.24);
}
.why-icon svg { width: 18px; height: 18px; color: var(--orange-400); }
.why-item h4 { font-size: 16.5px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; }

/* ---------------- Form / Lead section ---------------- */
.s-lead {
  padding: 130px 0 140px;
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(244,123,32,0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-0), #0d0906 60%, var(--bg-0));
}
.lead-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.lead-head .eyebrow { justify-content: center; }
.lead-head::before { display: none; }

.lead-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px; font-weight: 700;
  color: var(--text-1);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--orange-400); }
.field input, .field select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder { color: var(--text-2); }
.field input:focus, .field select:focus {
  border-color: var(--orange-500);
  background: rgba(244,123,32,0.05);
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23F47B20' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select option { background: #14171D; color: var(--text-0); }

.form-note {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 18px;
}
.form-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--orange-400); }

.lead-card .btn-primary {
  width: 100%;
  margin-top: 28px;
  padding: 17px 28px;
  font-size: 16px;
}

.field-error {
  font-size: 12px;
  color: var(--orange-300);
  min-height: 0;
  display: none;
}
.field.invalid input, .field.invalid select { border-color: #E0631A; }
.field.invalid .field-error { display: block; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--text-1); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--orange-400); }

.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-1);
  transition: all .25s var(--ease);
}
.social-icon:hover {
  color: #150C05;
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-2px);
}
.social-icon svg { width: 19px; height: 19px; }

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-2);
}
.footer-bottom span { white-space: nowrap; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-2);
  border: 1px solid rgba(244,123,32,0.35);
  color: var(--text-0);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 200;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .segment-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 130px 0 90px; }
  .s-methodology, .s-segments, .s-why { padding: 84px 0; }
  .s-lead { padding: 90px 0 100px; }
  .pillars { grid-template-columns: 1fr; }
  .segment-grid { grid-template-columns: 1fr; }
  .lead-card { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
}
