/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM — jeffersonandrade.com
   Dark mode tech-forward · Violeta elétrico + Teal
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* CORES */
  --bg: #0A0A0F;
  --bg-1: #111118;
  --bg-2: #18181F;
  --bg-3: #22222C;
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.14);

  --white: #FFFFFF;
  --smoke: #E8E8F0;
  --muted: #6B6B80;
  --faint: #38384A;

  --primary: #7C6BFF;
  --primary-dim: #5A4BE0;
  --primary-glow: rgba(124, 107, 255, 0.2);
  --green: #22D3A5;
  --green-dim: rgba(34, 211, 165, 0.12);
  --red: #FF4D6A;

  /* TIPOGRAFIA */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ESPAÇAMENTO */
  --section-gap: 120px;
  --container: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--smoke);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.mobile-only {
  display: none;
}

ul {
  list-style: none;
}

/* ═══════════ CONTAINER ═══════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '//';
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-title .accent {
  color: var(--primary);
}

.section-title .green {
  color: var(--green);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 12px;
}

/* Hamburger mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: all 0.3s;
  border-radius: 1px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════ BOTÕES ═══════════ */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 13px 28px;
}

.btn-primary:hover {
  background: var(--primary-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 107, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--smoke);
  padding: 12px 27px;
  border: 1px solid var(--border-hi);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: rgba(124, 107, 255, 0.08);
  color: var(--primary);
  padding: 13px 28px;
  border: 1px solid rgba(124, 107, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(124, 107, 255, 0.15);
}

.btn-green {
  background: var(--green-dim);
  color: var(--green);
  padding: 13px 28px;
  border: 1px solid rgba(34, 211, 165, 0.25);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.btn-green:hover {
  background: rgba(34, 211, 165, 0.2);
}

.btn-mono {
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border: none;
}

.btn-mono:hover {
  color: var(--white);
}

.btn-mono::after {
  content: ' →';
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 20px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 720px;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero h1 .green {
  color: var(--green);
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-num span {
  color: var(--primary);
}

.hero-stat-lbl {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ═══════════ GRIDS ═══════════ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ═══════════ SERVICE CARDS ═══════════ */
.card-s {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.card-s:hover {
  border-color: rgba(124, 107, 255, 0.35);
  transform: translateY(-4px);
}

.card-s::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card-s:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(124, 107, 255, 0.1);
  border: 1px solid rgba(124, 107, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.card-s .card-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--faint);
}

.card-s h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card-s p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════ BLOG CARDS ═══════════ */
.card-b {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.card-b:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.card-b-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-b-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.tag-isp {
  background: rgba(124, 107, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(124, 107, 255, 0.2);
}

.tag-gest {
  background: rgba(34, 211, 165, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 211, 165, 0.2);
}

.tag-tech {
  background: rgba(255, 77, 106, 0.1);
  color: var(--red);
  border: 1px solid rgba(255, 77, 106, 0.2);
}

.tag-mkt {
  background: rgba(124, 107, 255, 0.08);
  color: #9B8FFF;
  border: 1px solid rgba(124, 107, 255, 0.15);
}

.card-b-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.card-b-body {
  padding: 24px;
}

.card-b-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.35;
}

.card-b-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-b-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.card-b-title {
  text-decoration: none;
  display: block;
}

.card-b-title h3 {
  transition: color 0.2s ease;
}

.card-b-title:hover h3 {
  color: var(--primary);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 8px 16px;
}

/* ═══════════ STATS ═══════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stat-cell {
  background: var(--bg-1);
  padding: 36px 32px;
  position: relative;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num span {
  color: var(--primary);
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.stat-mono {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}

/* ═══════════ TERMINAL ═══════════ */
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.terminal-bar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-r {
  background: #FF5F57;
}

.dot-y {
  background: #FFBD2E;
}

.dot-g {
  background: #28CA41;
}

.terminal-body {
  padding: 28px 32px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
}

.terminal-line {
  display: flex;
  gap: 12px;
}

.t-prompt {
  color: var(--primary);
}

.t-cmd {
  color: var(--white);
}

.t-comment {
  color: var(--faint);
}

.t-output {
  color: var(--green);
  padding-left: 24px;
}

/* ═══════════ TAGS ═══════════ */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.tag:hover {
  transform: translateY(-1px);
}

.tag-a {
  background: rgba(124, 107, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(124, 107, 255, 0.2);
}

.tag-b {
  background: rgba(34, 211, 165, 0.08);
  color: var(--green);
  border: 1px solid rgba(34, 211, 165, 0.18);
}

.tag-c {
  background: var(--bg-3);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ═══════════ TIMELINE ═══════════ */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--green));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 56px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -42px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 12px rgba(124, 107, 255, 0.4);
}

.timeline-item .step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-item .duration {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.timeline-item ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.timeline-item li::before {
  content: '→';
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ═══════════ ACCORDION ═══════════ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.accordion-item.open {
  border-color: rgba(124, 107, 255, 0.25);
}

.accordion-header {
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}

.accordion-header:hover {
  color: var(--primary);
}

.accordion-chevron {
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.3s;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-body-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ═══════════ PILAR CARDS ═══════════ */
.pilar-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.pilar-card:hover {
  border-color: rgba(124, 107, 255, 0.4);
  transform: translateY(-4px);
}

.pilar-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.pilar-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pilar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.pilar-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

.pilar-items {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pilar-items li {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 6px 14px;
  background: var(--bg-2);
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ═══════════ CASE HERO ═══════════ */
.case-hero {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.case-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 211, 165, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.case-metric {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.case-metric .from {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: line-through;
}

.case-metric .arrow {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 1.2rem;
}

.case-metric .to {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green);
}

/* ═══════════ FORM ═══════════ */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--smoke);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-2);
}

/* ═══════════ DIAGNOSTIC ═══════════ */
.diagnostic-question {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 12px;
}

.diagnostic-question p {
  font-size: 0.9rem;
  color: var(--smoke);
  margin-bottom: 16px;
  line-height: 1.5;
}

.rating-options {
  display: flex;
  gap: 8px;
}

.rating-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.rating-btn.selected {
  background: rgba(124, 107, 255, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.diagnostic-result {
  background: var(--bg-1);
  border: 1px solid rgba(124, 107, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  display: none;
}

.diagnostic-result.visible {
  display: block;
}

.pilar-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pilar-score-letter {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  width: 48px;
  text-align: center;
}

.pilar-score-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-3);
  border-radius: 4px;
  overflow: hidden;
}

.pilar-score-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--green));
  transition: width 0.8s ease;
}

.pilar-score-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--smoke);
  width: 40px;
  text-align: right;
}

/* ═══════════ ABOUT TIMELINE ═══════════ */
.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.career-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.career-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  min-width: 80px;
  padding-top: 4px;
}

.career-content {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  flex: 1;
}

.career-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.career-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--faint);
  letter-spacing: 0.06em;
}

/* ═══════════ PAGE HEADER ═══════════ */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 107, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-header .section-label {
  margin-bottom: 24px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

/* ═══════════ SVG CONTAINER ═══════════ */
.svg-container {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-container img,
.svg-container object {
  max-width: 100%;
  height: auto;
}

/* ═══════════ BLOG FILTER ═══════════ */
.blog-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: rgba(124, 107, 255, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

/* ═══════════ FORM SUCCESS ═══════════ */
.form-success {
  background: var(--green-dim);
  border: 1px solid rgba(34, 211, 165, 0.3);
  border-radius: 10px;
  padding: 24px 28px;
  color: var(--green);
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 12px;
}

.form-success.visible {
  display: flex;
}

/* ═══════════ AREA TAGS ═══════════ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.area-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.area-card:hover {
  border-color: rgba(124, 107, 255, 0.3);
  transform: translateY(-2px);
}

.area-card .area-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.area-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

/* ═══════════ SCROLL ANIMATIONS ═══════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ STEP FLOW (CONTATO) ═══════════ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.4s ease;
}

.step-dot.active .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 20px rgba(124, 107, 255, 0.4);
}

.step-dot.done .step-number {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 0 16px rgba(34, 211, 165, 0.35);
}

.step-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.step-dot.active .step-label,
.step-dot.done .step-label {
  color: var(--smoke);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 16px;
  margin-bottom: 24px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.step-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--green));
  border-radius: 2px;
  transition: width 0.6s ease;
}

/* Step sections show/hide */
.step-section {
  display: none;
  animation: stepFadeIn 0.5s ease forwards;
}

.step-section.step-active {
  display: block;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Confirmation box */
.confirmation-box {
  text-align: center;
  margin-bottom: 48px;
}

.confirmation-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(34, 211, 165, 0.3);
  animation: confirmPulse 2s ease infinite;
}

@keyframes confirmPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 211, 165, 0.25);
  }

  50% {
    box-shadow: 0 0 40px rgba(34, 211, 165, 0.5);
  }
}

/* Green button */
.btn-green {
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
}

.btn-green:hover {
  background: #2BE8B5;
  box-shadow: 0 0 24px rgba(34, 211, 165, 0.4);
}

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  .container {
    padding: 0 20px;
  }

  .navbar-inner {
    padding: 0 20px;
  }

  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0A0A0F;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: #0A0A0F !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    gap: 32px;
  }

  .case-hero {
    padding: 36px;
  }

  .cta-section {
    padding: 48px 28px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .career-item {
    flex-direction: column;
    gap: 8px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .svg-container {
    margin-left: -40px;
    margin-right: -40px;
  }

  .svg-container img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rating-options {
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════════
   CORE ORBIT DIAGRAM — SVG Animated
   ═══════════════════════════════════════════════════ */

.core-orbit {
  flex-shrink: 0;
  width: 100%;
  max-width: 480px;
  margin: -40px auto 0;
}

.orbit-svg {
  width: 100%;
  height: auto;
}

.core-orbit-mobile {
  display: none;
}

.orbit-svg-mobile {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .core-orbit {
    display: none;
  }

  .core-orbit-mobile {
    display: block;
    max-width: 360px;
    margin: 24px auto 0;
  }
}