:root {
  --bg-deep: #020617;
  --bg-mid: #0b1220;
  --bg-soft: #111827;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.18);
  --text-main: #e5f2ff;
  --text-muted: #9ca3af;
  --border-glass: rgba(148, 163, 184, 0.25);
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 0% 0%, #1e293b 0, #020617 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== LAYOUT GERAL ===== */

.page-wrapper {
  position: relative;
  min-height: 100vh;
  padding-bottom: 80px;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.12) 0, transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(30, 64, 175, 0.5) 0, transparent 60%);
  z-index: -2;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.25) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.75), transparent 70%);
  -webkit-mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 0.75), transparent 70%);
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== NAVBAR (DESKTOP) ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.75),
    transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #38bdf8, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.8);
  font-weight: 700;
  font-size: 18px;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* links – desktop */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.4);
  font-size: 13px;
  text-decoration: none;
  color: var(--white);
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.6), rgba(15,23,42,0.95));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.5);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.8);
}

/* botão hamburguer */
.nav-toggle {
  display: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 4px 0;
  border-radius: 2px;
}

/* ===== HERO ===== */

.hero {
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #15803d);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.8);
}

.hero-highlight {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 480px;
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, #38bdf8, #0ea5e9, #22d3ee);
  color: var(--bg-deep);
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.05);
  box-shadow: 0 0 32px rgba(56, 189, 248, 1);
}

.btn-primary .arrow {
  font-size: 18px;
}

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-metrics {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
}

.hero-metrics-item {
  display: flex;
  flex-direction: column;
}

.hero-metrics-item strong {
  font-size: 15px;
  color: var(--accent);
}

/* Hero Visual */

.hero-visual {
  position: relative;
}

.hero-carousel {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.hero-carousel img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SEÇÕES GENÉRICAS ===== */

section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Cards especialidades */

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-glass {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.6));
  border: 1px solid var(--border-glass);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.card-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.38), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.card-inner {
  position: relative;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 20%, #e0f2fe, #0ea5e9);
  color: #0f172a;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.8);
}

.card-title {
  font-size: 15px;
  margin-bottom: 6px;
}

.card-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== METODOLOGIA (TIMELINE) ===== */

.timeline-wrapper {
  background: radial-gradient(circle at 0% 0%, rgba(30, 64, 175, 0.8), rgba(15, 23, 42, 0.98));
  border-radius: 24px;
  padding: 20px 18px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.1),
    rgba(56, 189, 248, 0.75),
    rgba(56, 189, 248, 0.1)
  );
  transform: translateY(-50%);
  opacity: 0.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.timeline-step {
  text-align: center;
  position: relative;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
  font-size: 18px;
}

.timeline-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SEÇÃO CLIENTES/EQUIPE ===== */

.box-team {
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.box-team:hover {
  transform: translateY(-5px);
}

.box-team img {
  border-radius: 12px;
  margin-bottom: 15px;
  border: 2px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5);
}

.box-team h4 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.box-team h4 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.box-team h4 a:hover {
  color: var(--accent);
}

.box-team p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Controles do carrossel de clientes */
.carousel-control {
  background: none;
}

.carousel-control .glyphicon {
  color: var(--accent);
  font-size: 24px;
}

.carousel-control:hover .glyphicon {
  color: var(--white);
}

/* ===== FOOTER ===== */

footer {
  background: radial-gradient(circle at 50% -50%, rgba(56, 189, 248, 0.2), #020617);
  padding: 40px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-main-text {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-sub-text {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-separator {
  margin: 0 8px;
  color: var(--text-muted);
}

/* ===== RESPONSIVO ===== */

/* tablet */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 12px;
  }

  .hero {
    padding-top: 32px;
  }

  .cards-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-line {
    display: none;
  }
}

/* mobile – MENU IGUAL AO DO SITE ANTIGO */
@media (max-width: 720px) {
  /* NAVBAR MOBILE */
  .navbar {
    position: relative;
    background: #020617;
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
  }

  .navbar-inner {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
  }

  /* menu fechado por padrão */
  .nav-links {
    width: 100%;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    background: #020617;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-radius: 0 0 16px 16px;
    padding: 8px 0 10px;
  }

  /* aberto (quando o JS adiciona .show) */
  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 18px;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin-top: 4px;
    align-self: flex-start;
  }

  /* HERO / SEÇÕES */
  .hero-metrics {
    gap: 12px;
  }

  section {
    padding: 46px 0;
  }
}
