:root {
  --bg-main: #1A1A1A;
  --bg-card: #2C2C2C;
  --bg-card-alt: #323232;
  --bg-section: #242424;
  --accent: #F2A81D;
  --accent-light: #F7C55A;
  --accent-dark: #B8801A;
  --text-main: #F5F5F5;
  --text-muted: #9A9A9A;
  --border: rgba(242, 168, 29, 0.12);
  --border-hover: rgba(242, 168, 29, 0.35);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* === NAVBAR === */
.navbar {
  background: rgba(26, 26, 26, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 168, 29, 0.12);
  box-shadow: none;
}

.navbar-brand img {
  height: 64px;
  width: auto;
}

.navbar-brand span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted) !important;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* === BOTÕES === */
.btn-brand {
  display: inline-block;
  background: var(--accent);
  color: #1A1A1A !important;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-brand:hover {
  background: var(--accent-light);
  color: #1A1A1A !important;
  transform: translateY(-1px);
}

.btn-outline-brand {
  display: inline-block;
  background: transparent;
  color: var(--text-main) !important;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline-brand:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

/* === HERO === */
.hero {
  background: var(--bg-main);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 168, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 168, 29, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(242, 168, 29, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
}

.hero .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.hero .tags span {
  display: inline-block;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(242, 168, 29, 0.25);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-actions .btn-brand,
.hero-actions .btn-outline-brand {
  padding: 0.7rem 1.75rem;
  font-size: 0.95rem;
}

/* === HERO DASHBOARD CARD === */
.hero-dashboard {
  background: var(--bg-card);
  border: 1px solid rgba(242, 168, 29, 0.18);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(242, 168, 29, 0.06);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.dash-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-bottom: 1.25rem;
}

.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barGrow 0.9s ease-out forwards;
  opacity: 0;
}

.dash-bar:nth-child(1) { background: rgba(242, 168, 29, 0.35); height: 45%; animation-delay: 0.10s; }
.dash-bar:nth-child(2) { background: rgba(242, 168, 29, 0.45); height: 70%; animation-delay: 0.20s; }
.dash-bar:nth-child(3) { background: rgba(242, 168, 29, 0.35); height: 55%; animation-delay: 0.30s; }
.dash-bar:nth-child(4) { background: var(--accent);             height: 90%; animation-delay: 0.40s; }
.dash-bar:nth-child(5) { background: rgba(242, 168, 29, 0.50); height: 65%; animation-delay: 0.50s; }
.dash-bar:nth-child(6) { background: rgba(242, 168, 29, 0.40); height: 75%; animation-delay: 0.60s; }
.dash-bar:nth-child(7) { background: rgba(242, 168, 29, 0.55); height: 50%; animation-delay: 0.70s; }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.dash-metric {
  background: #1A1A1A;
  border: 1px solid rgba(242, 168, 29, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  text-align: center;
}

.dash-metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.dash-metric-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.dash-pipeline {
  display: flex;
  align-items: center;
  background: #1A1A1A;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.dash-pipe-node {
  flex: 1;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.dash-pipe-node.active {
  color: var(--accent);
}

.dash-pipe-arrow {
  font-size: 0.6rem;
  color: rgba(242, 168, 29, 0.4);
  flex-shrink: 0;
}

.dash-packet {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dashFlow 2.5s linear infinite;
  opacity: 0;
  z-index: 2;
}

.dash-packet:nth-child(1) { animation-delay: 0s; }
.dash-packet:nth-child(2) { animation-delay: 0.83s; }
.dash-packet:nth-child(3) { animation-delay: 1.66s; }

@keyframes dashFlow {
  0%   { left: 0;              opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}

/* === SECTION LABELS & TITLES === */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Syne', 'Inter', system-ui, sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* === SERVICE CARDS === */
.service-card {
  border: 1px solid rgba(242, 168, 29, 0.1);
  border-radius: 14px;
  padding: 1.75rem;
  background: var(--bg-card);
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
  border-color: rgba(242, 168, 29, 0.35);
}

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(242, 168, 29, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card h5 {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.05rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === TECH LOGOS === */
.tech-card {
  border: 1px solid rgba(242, 168, 29, 0.1);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  background: var(--bg-card);
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.tech-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(242, 168, 29, 0.35);
}

.tech-card img {
  height: 34px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  display: block;
  margin: 0 auto 0.5rem;
  transition: opacity 0.2s, filter 0.2s;
  filter: brightness(1.1) saturate(0.85);
}

.tech-card:hover img {
  opacity: 1;
  filter: brightness(1.2) saturate(1);
}

.tech-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === PRODUCT CARDS === */
.product-card {
  border: 1px solid rgba(242, 168, 29, 0.1);
  border-radius: 14px;
  padding: 2rem;
  background: var(--bg-card);
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
  border-color: rgba(242, 168, 29, 0.35);
}

.product-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card h5 {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1rem;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.badge-soon {
  display: inline-block;
  background: rgba(242, 168, 29, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(242, 168, 29, 0.25);
}

/* === PIPELINE SECTION === */
.pipeline-section {
  background: var(--bg-main);
  padding: 56px 0 52px;
  border-top: 1px solid rgba(242, 168, 29, 0.08);
  border-bottom: 1px solid rgba(242, 168, 29, 0.08);
}

.pipeline-section .section-badge {
  display: inline-block;
  background: rgba(242, 168, 29, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.pipeline-section h2 {
  font-family: 'Syne', 'Inter', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.pipeline-section .subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.pipeline-track {
  position: relative;
  height: 130px;
  margin-bottom: 20px;
}

.track-line {
  position: absolute;
  top: 50%;
  left: 40px;
  right: 40px;
  height: 3px;
  background: rgba(242, 168, 29, 0.15);
  transform: translateY(-50%);
  border-radius: 2px;
}

.packet {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: flowPacket linear infinite;
}

.packet-1 { background: var(--accent);       animation-duration: 3.5s; animation-delay: 0s; }
.packet-2 { background: var(--accent-light);  animation-duration: 3.5s; animation-delay: 1.15s; }
.packet-3 { background: var(--accent-dark);   animation-duration: 3.5s; animation-delay: 2.3s; }

.pipeline-nodes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

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

.pipe-node-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 2px solid rgba(242, 168, 29, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.2s ease;
}

.pipe-node-icon:hover { transform: translateY(-3px); }
.pipe-node-icon.accent  { border-color: var(--accent); animation: pulseRing 2.5s infinite; }
.pipe-node-icon.primary { border-color: rgba(242, 168, 29, 0.4); }

.pipe-node-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

.pipe-node-sub {
  font-size: 9px;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
}

.pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pipeline-steps .step  { font-size: 15px; font-weight: 600; color: var(--text-main); }
.pipeline-steps .arrow { font-size: 15px; color: var(--accent); font-weight: 700; }

.icon-db, .icon-gear, .icon-brain, .icon-chart {
  width: 24px;
  height: 24px;
  display: block;
}

/* === CTA SECTION === */
.cta-section {
  background: var(--bg-card);
  padding: 5rem 0;
  color: var(--text-main);
  border-top: 1px solid rgba(242, 168, 29, 0.2);
}

.cta-section h2 {
  font-family: 'Syne', 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-cta-white {
  display: inline-block;
  background: var(--accent);
  color: #1A1A1A !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.75rem 2.25rem;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta-white:hover {
  background: var(--accent-light);
  color: #1A1A1A !important;
  transform: translateY(-1px);
}

/* === FOOTER === */
footer {
  background: #3C3C3C;
  color: #9A9A9A;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(242, 168, 29, 0.1);
}

footer .footer-brand {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
}

footer .footer-tagline {
  font-size: 0.88rem;
  color: #9A9A9A;
  margin-top: 0.25rem;
}

footer a {
  color: #9A9A9A;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent);
}

footer .footer-heading {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

footer .footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
  margin: 2rem 0 1rem;
}

footer .footer-copy {
  font-size: 0.82rem;
  color: #666;
}

/* === FADE-UP ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.18s; }
.fade-up-3 { animation-delay: 0.31s; }
.fade-up-4 { animation-delay: 0.44s; }
.fade-up-5 { animation-delay: 0.57s; }

/* === PIPELINE KEYFRAMES === */
@keyframes flowPacket {
  0%   { left: 0;                  opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: calc(100% - 12px);  opacity: 0; }
}

@keyframes pulseRing {
  0%,100% { box-shadow: 0 0 0 0   rgba(242, 168, 29, 0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(242, 168, 29, 0); }
}

/* === SOLUTION FILTERS === */
.sol-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.sol-filter-btn {
  background: transparent;
  border: 1px solid rgba(242, 168, 29, 0.2);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 0.35rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', system-ui, sans-serif;
}

.sol-filter-btn:hover,
.sol-filter-btn.active {
  background: rgba(242, 168, 29, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

/* === SOLUTION CARDS === */
.sol-card {
  border: 1px solid rgba(242, 168, 29, 0.1);
  border-radius: 16px;
  padding: 2rem;
  background: var(--bg-card);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sol-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
  border-color: rgba(242, 168, 29, 0.3);
}

.sol-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sol-sector-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
}

.badge-live {
  display: inline-block;
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-dev {
  display: inline-block;
  background: rgba(99, 179, 237, 0.1);
  color: #63b3ed;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 179, 237, 0.25);
}

.sol-card h4 {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.sol-problem {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.sol-differentials {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.sol-differentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  line-height: 1.5;
}

.sol-differentials li::before {
  content: '';
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.48rem;
}

.sol-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sol-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sol-stack-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.15rem 0.55rem;
}

/* === ACESSIBILIDADE === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
