:root {
  --primary: #6a38ff;
  --primary-dark: #4d22d9;
  --secondary: #00d4ff;
  --dark: #081126;
  --dark-soft: #111a33;
  --text: #243047;
  --muted: #6b7280;
  --light: #f6f8ff;
  --white: #ffffff;
  --border: rgba(8, 17, 38, .1);
  --shadow: 0 24px 70px rgba(8, 17, 38, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { text-decoration: none; }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

.navbar {
  padding: 1rem 0;
  transition: .25s ease;
  background: rgba(8, 17, 38, .66);
  backdrop-filter: blur(16px);
}
.navbar.nav-scrolled {
  padding: .65rem 0;
  background: rgba(8, 17, 38, .96);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.navbar-brand { font-weight: 800; letter-spacing: -.03em; }
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.nav-link { font-weight: 600; color: rgba(255,255,255,.82) !important; }
.nav-link:hover { color: #fff !important; }

.btn {
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: 0;
  box-shadow: 0 14px 30px rgba(106, 56, 255, .28);
}
.btn-outline-light { border-color: rgba(255,255,255,.35); }

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 145px 0 90px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,212,255,.28), transparent 30%),
    radial-gradient(circle at 20% 40%, rgba(106,56,255,.38), transparent 30%),
    linear-gradient(135deg, #071027 0%, #111a44 52%, #2b166b 100%);
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -25% -10%;
  height: 220px;
  background: var(--white);
  transform: rotate(-3deg);
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.06em;
  margin: 1rem 0;
}
.hero-text { max-width: 650px; font-size: 1.18rem; color: rgba(255,255,255,.78); }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(106,56,255,.1);
  font-weight: 800;
  font-size: .86rem;
}
.section-badge.light { color: #fff; background: rgba(255,255,255,.14); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 620px;
}
.hero-stats div {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
}
.hero-stats strong { display: block; font-size: 1.55rem; }
.hero-stats span { color: rgba(255,255,255,.72); font-size: .9rem; }

.hero-card {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.hero-card-header, .growth-box { background: rgba(255,255,255,.1); border-radius: 22px; }
.hero-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.growth-box { padding: 1.25rem; }
.growth-box strong { display: block; font-size: 3rem; line-height: 1.1; }
.progress { height: 10px; background: rgba(255,255,255,.16); border-radius: 999px; }
.progress-bar { background: linear-gradient(90deg, var(--secondary), var(--primary)); }
.mini-card {
  min-height: 145px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
}
.mini-card i { color: var(--secondary); font-size: 1.3rem; }
.mini-card strong { display: block; margin-top: .75rem; font-size: 1.35rem; }
.mini-card span { color: rgba(255,255,255,.72); font-size: .9rem; }

.logo-strip { background: #fff; }
.logo-strip p { color: var(--muted); font-weight: 700; }
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.logos-grid span {
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: #7b8497;
  font-weight: 900;
  background: #fff;
}

.section-padding { padding: 96px 0; }
.section-title { max-width: 760px; }
.section-title h2, #sobre h2, #contato h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.05em;
  color: var(--dark);
}
.section-title p, #sobre p, #contato p { color: var(--muted); font-size: 1.05rem; }
.bg-soft { background: var(--light); }
.bg-dark-blue { background: linear-gradient(135deg, var(--dark), #1b1552); }
.bg-dark-blue .section-title h2, .bg-dark-blue .section-title p { color: #fff; }
.bg-dark-blue .section-title p { opacity: .74; }

.service-card, .step-card, .testimonial-card, .case-card, .contact-form {
  height: 100%;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 16px 40px rgba(8,17,38,.06);
}
.service-card {
  padding: 2rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 1.3rem;
}
.service-card h3, .step-card h3, .case-card h3 { margin: 1.2rem 0 .7rem; font-size: 1.35rem; font-weight: 900; color: var(--dark); }
.service-card p, .step-card p, .testimonial-card p { color: var(--muted); }
.service-card a { color: var(--primary); font-weight: 900; }

.check-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.check-list span { display: flex; align-items: center; gap: .7rem; font-weight: 800; }
.check-list i { color: var(--primary); }

.step-card { padding: 2rem; }
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.case-card {
  padding: 2rem;
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.case-card h3 { color: #fff; }
.case-card p { color: rgba(255,255,255,.72); }
.case-card ul { padding-left: 1.1rem; margin: 1rem 0 0; }
.case-card li { margin-bottom: .5rem; }

.testimonial-card { padding: 2rem; }
.testimonial-card p { font-size: 1.05rem; }
.testimonial-card strong { display: block; color: var(--dark); }
.testimonial-card span { color: var(--muted); }

.contact-info { display: grid; gap: .8rem; margin-top: 1.5rem; }
.contact-info span { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.contact-info i { color: var(--primary); }
.contact-form { padding: 2rem; }
.form-control, .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: var(--border);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(106,56,255,.16);
}
.form-feedback { margin: 0; min-height: 24px; font-weight: 800; color: var(--primary); }

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 18px !important;
  overflow: hidden;
  margin-bottom: 1rem;
}
.accordion-button { font-weight: 900; color: var(--dark); }
.accordion-button:focus { box-shadow: none; }
.accordion-button:not(.collapsed) { color: var(--primary); background: rgba(106,56,255,.08); }

.footer {
  padding: 70px 0 30px;
  color: rgba(255,255,255,.75);
  background: var(--dark);
}
.footer h2, .footer h3 { color: #fff; font-weight: 900; }
.footer h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.footer a { display: block; color: rgba(255,255,255,.72); margin-bottom: .55rem; }
.footer a:hover { color: #fff; }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.footer hr { border-color: rgba(255,255,255,.12); margin: 2rem 0; }
.copyright { margin: 0; font-size: .92rem; }

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
  z-index: 10;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(8,17,38,.96);
  }
  .hero-section { min-height: auto; padding-top: 125px; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
  .section-padding { padding: 72px 0; }
  .hero-stats { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card, .contact-form, .service-card, .step-card, .testimonial-card, .case-card { border-radius: 22px; padding: 1.3rem; }
}
