:root {
  --navy: #0D1B2A;
  --blue: #1B263B;
  --orange: #F28C28;
  --gray: #6B7280;
  --white: #ffffff;
  --soft-white: rgba(255,255,255,.82);
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.12);
  --panel: rgba(27,38,59,.72);
  --panel-2: rgba(13,27,42,.82);
  --shadow: 0 24px 80px rgba(0,0,0,.32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 12%, rgba(242,140,40,.18), transparent 28%),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.06), transparent 30%),
    linear-gradient(135deg, #081421 0%, var(--navy) 42%, var(--blue) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sprite { display: none; }
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,27,42,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img { width: 224px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  margin-left: auto;
  font-weight: 700;
  font-size: 15px;
}
.main-nav a {
  position: relative;
  color: var(--soft-white);
  padding: 32px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 24px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: var(--white);
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 999px;
  transition: all .3s ease;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 34px rgba(242,140,40,.25);
}
.btn-primary:hover { background: #ff942d; box-shadow: 0 18px 42px rgba(242,140,40,.32); }
.btn-outline {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: rgba(242,140,40,.7); background: rgba(242,140,40,.08); }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/map-routes.svg') center / cover no-repeat;
  opacity: .34;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(13,27,42,.96));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 30px;
  padding: 64px 0 48px;
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.hero h1 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(42px, 6.2vw, 74px);
  line-height: .98;
  letter-spacing: -0.06em;
}
.hero h1 strong {
  color: var(--orange);
  display: block;
}
.hero p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--soft-white);
  font-size: 20px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  max-width: 720px;
}
.hero-highlights div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
.hero-highlights div:last-child { border-right: 0; }
.hero-highlights svg { width: 34px; height: 34px; color: var(--soft-white); flex: 0 0 auto; }
.hero-highlights span { color: var(--soft-white); font-weight: 650; font-size: 14px; line-height: 1.25; }
.hero-visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 440px;
}
.hero-visual picture {
  position: relative;
  width: min(760px, 100%);
  filter: drop-shadow(0 38px 55px rgba(0,0,0,.44));
}
.hero-visual picture::before {
  content: "";
  position: absolute;
  inset: -12% -6% -12% -22%;
  z-index: -1;
  background: radial-gradient(circle at 58% 55%, rgba(242,140,40,.28), transparent 38%);
  filter: blur(16px);
}
.hero-visual img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 100%);
}

/* PAINÉIS E ELEMENTOS GERAIS */
.panel {
  padding: 0;
  background: transparent !important;
  border: none !important;
}
.panel h2,
.process-copy h2,
.contact-heading h2,
.trust-clients-header h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.panel p {
  color: var(--soft-white);
  line-height: 1.6;
  font-size: 15px;
  margin: 24px 0 0;
}

/* ==========================================================================
   TRUST SECTION (Efeito Flutuante / Clean)
   ========================================================================== */
.trust-section { 
  padding: 60px 0 30px; 
}

.trust-card {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.trust-clients-header {
  padding: 0;
  margin-bottom: 28px;
  text-align: center;
}

.trust-clients-header .section-kicker { 
  margin-bottom: 8px; 
}

/* Carrossel de Logos Flutuante */
.logo-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* padding: 32px 0; */
  background: transparent;
  /* border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); */
}

.logo-slider-container::before,
.logo-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.logo-slider-container::before { 
  left: 0; 
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%); 
}
.logo-slider-container::after { 
  right: 0; 
  background: linear-gradient(-90deg, var(--navy) 0%, transparent 100%); 
}

.logo-slider-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: scrollInfinite 30s linear infinite;
}

.logo-slider-container:hover .logo-slider-track { 
  animation-play-state: paused; 
}

.logo-slider-track img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.6;
  transition: all .3s ease;
}

.logo-slider-track img:hover {
  filter: grayscale(0%) brightness(1) !important;
  opacity: 1 !important;
  transform: scale(1.1);
}

@keyframes scrollInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Métricas Flutuantes */
.trust-metrics-bottom { 
  display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  width: 100%; 
  margin-top: 40px;
  background: transparent;
}

.trust-metrics-bottom .metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 12px;
  border-right: 1px solid var(--line);
}

.trust-metrics-bottom .metric-item:last-child { 
  border-right: none; 
}

.trust-metrics-bottom .metric-item svg { 
  width: 36px; 
  height: 36px; 
  color: var(--orange); 
  flex-shrink: 0; 
}

.trust-metrics-bottom .metric-item strong { 
  display: block; 
  font-size: 32px; 
  font-weight: 800; 
  line-height: 1;
  color: var(--white);
}

.trust-metrics-bottom .metric-item span { 
  color: var(--soft-white); 
  font-size: 14px; 
  margin-top: 6px; 
}

/* ==========================================================================
   SLIDER DE CONTEÚDO (SOBRE / SOLUÇÕES CLEAN)
   ========================================================================== */
.info-panels {
  padding: 40px 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto 30px;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.slider-arrow:hover { 
  background: var(--orange); 
  border-color: var(--orange); 
  transform: scale(1.05); 
}
.slider-arrow.prev svg { transform: rotate(180deg); }

.slider-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--line);
}

.slider-tab-btn {
  background: #00000000;
  border: none;
  color: var(--soft-white);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-tab-btn.active { 
  background: var(--orange); 
  color: var(--white); 
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 400px;
  border: none !important;
  background: transparent !important;
}

.slider-track { position: relative; width: 100%; height: 100%; }

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  transform: translateY(12px);
  padding: 10px 0 !important;
  background: transparent !important;
  border: none !important;
}

.slide-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Métricas internas (Sobre) */
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: center;
}
.mini-metrics svg {
  width: 64px;
  height: 64px;
  color: var(--orange);
  margin: 0 auto 12px;
  display: block;
}
.mini-metrics span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

/* Grid de Serviços */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.service-card {
  padding: 24px 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: rgba(242,140,40,.06);
}
.service-card svg {
  width: 32px;
  height: 32px;
  color: var(--orange);
  margin-bottom: 16px;
}
.service-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.service-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Diferenciais */
.differentials-panel {
  padding-top: 40px !important;
}
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft-white);
  font-size: 15px;
}
.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex: 0 0 auto;
}

/* PROCESSO */
.process-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  z-index: 1;
}
.step-card {
  position: relative;
  text-align: center;
  z-index: 2;
}
.step-header { margin-bottom: 24px; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border: 4px solid var(--navy);
}
.step-card > svg {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--soft-white);
  margin: 0 auto 16px;
}
.step-card h3 { margin: 0; font-size: 15px; font-weight: 700; }
.step-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }

/* CONTATO */
.contact-section { padding: 64px 0; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: rgba(27,38,59,.4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.contact-heading { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  color: var(--orange);
  background: rgba(242,140,40,.08);
  border: 1px solid rgba(242,140,40,.2);
  flex: 0 0 auto;
}
.contact-icon svg { width: 32px; height: 32px; }
.contact-heading h2 { font-size: 28px; }
.contact-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details a { display: flex; align-items: center; gap: 16px; color: var(--white); }
.contact-details svg { width: 24px; height: 24px; color: var(--orange); flex: 0 0 auto; }
.contact-details div { display: flex; flex-direction: column; }
.contact-details strong { font-size: 15px; font-weight: 600; }
.contact-details span { color: var(--muted); font-size: 12px; }
.contact-button { min-height: 54px; padding-inline: 32px; border-radius: 8px; }

/* FOOTER */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  background: rgba(8,20,33,.84);
}
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand img { width: 180px; }
.social-links { display: flex; align-items: center; gap: 12px; }
.social-links a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all .3s ease;
}
.social-links a:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: rgba(242,140,40,.12);
  box-shadow: 0 10px 25px rgba(242,140,40,.25);
}
.social-links svg { width: 20px; height: 20px; stroke: currentColor; fill: none; color: #fff; }

/* REVEAL ANIMATIONS */
.reveal { animation: fadeUp .78s ease both; }
.reveal-delay { animation-delay: .12s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* MEDIA QUERIES RESPONSIVAS */
@media (max-width: 1180px) {
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-visual { min-height: auto; justify-content: flex-start; }
  .hero-visual picture { width: 100%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .check-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .contact-button { justify-self: start; }
}

@media (max-width: 1100px) {
  .trust-metrics-bottom { grid-template-columns: repeat(3, 1fr); }
  .trust-metrics-bottom .metric-item:nth-child(3) { border-right: none; }
  .trust-metrics-bottom .metric-item { border-bottom: 1px solid var(--line); }
  .trust-metrics-bottom .metric-item:nth-child(4),
  .trust-metrics-bottom .metric-item:nth-child(5) { border-bottom: none; }
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-block; margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(13,27,42,.98);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 16px; border-radius: 12px; }
  .main-nav a::after { display: none; }
  .hero-highlights { grid-template-columns: repeat(2, 1fr); }
  .hero-highlights div { border-right: 0; }
}

@media (max-width: 768px) {
  .mini-metrics { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-card { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.01); }
  .step-header { grid-row: span 3; margin-bottom: 0; }
  .step-card > svg { margin: 0 0 12px 0; }
  .footer-wrap { flex-direction: column; text-align: center; }
  .trust-clients-header { padding: 0; }
  .trust-metrics-bottom { grid-template-columns: 1fr; }
  .trust-metrics-bottom .metric-item { border-right: none !important; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .trust-metrics-bottom .metric-item:last-child { border-bottom: none; }
  .trust-metrics-bottom .metric-item strong { font-size: 26px; }
  .slider-controls { gap: 10px; }
  .slider-tab-btn { padding: 8px 12px; font-size: 12px; }
  .slide-item { padding: 10px 0 !important; }
}

[id] { scroll-margin-top: 110px; }