:root {
  --brand-dark: #071B4D;
  --brand-blue: #126DFF;
  --brand-light: #EAF5FF;
  --brand-orange: #FF6B1A;
  --brand-orange-light: #FF9B32;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --bg: #FAFCFF;
  --shadow: 0 24px 60px rgba(7, 27, 77, 0.08);
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-body-color: #071B4D;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, #EAF5FF 0, transparent 34%),
    radial-gradient(circle at top right, rgba(255, 107, 26, .12), transparent 28%),
    var(--bg);
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}

/* HEADER CUSTOMIZADO */
.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7,27,77,.05);
}

.navbar-brand img {
  width: 230px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark) !important;
  position: relative;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--brand-orange) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.btn-header-cta {
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(255,107,26,.25);
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(255,107,26,.32);
}

/* HERO SECTION */
.hero {
  padding: 72px 0 64px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand-blue);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 28px;
}

.tag span {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
  font-weight: 900;
}

.hero h1 strong {
  background: linear-gradient(90deg, var(--brand-blue), #8B5CF6, var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 30px;
}

.hero-robot {
  width: 100%;
  max-width: 430px;
  height: auto;
  filter: drop-shadow(0 28px 55px rgba(18, 109, 255, 0.22));
  animation: floatRobot 5.5s ease-in-out infinite;
}

.hero-dashboard {
  width: 100%;
  max-width: 390px;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

@keyframes floatRobot {
  0% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
  100% { transform: translateY(0); }
}

/* BOTÕES */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-light));
  color: white !important;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 18px 32px rgba(255, 107, 26, .24);
  transition: all .25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  color: white !important;
}

.btn-secondary-custom {
  background: white;
  color: var(--brand-dark) !important;
  border: 1px solid var(--border);
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* STATS SECTION */
.stats-section {
  background: rgba(255,255,255,.74);
  border-top: 1px solid #EEF2F7;
  border-bottom: 1px solid #EEF2F7;
  padding: 34px 0;
}

.stats-item strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--brand-dark);
}

.stats-item span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin-bottom: 42px;
}

.section-header span {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.section-header h2 {
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 12px 0 10px;
  font-weight: 900;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* SOLUTIONS CARDS */
.solutions-section {
  padding: 84px 0 52px;
}

.solution-card {
  min-height: 382px;
  background: linear-gradient(180deg, #fff, rgba(234,245,255,.42));
  border: 1px solid rgba(18,109,255,.14);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 18px 42px rgba(7,27,77,.055);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card img {
  height: 150px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 25px;
  font-weight: 900;
  margin: 0 0 10px;
}

.solution-card h3 span {
  color: var(--brand-blue);
}

.solution-card h3 em {
  color: var(--brand-orange);
  font-style: normal;
}

.solution-card h4 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.solution-card a {
  margin-top: auto;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

/* SEGMENTS */
.segments-section {
  padding: 58px 0;
  background: white;
  border-top: 1px solid #EEF2F7;
  border-bottom: 1px solid #EEF2F7;
}

.segment-item {
  text-align: center;
  position: relative;
  background: white;
  padding: 15px;
}

.segment-item i {
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 30px;
  background: white;
  box-shadow: 0 10px 28px rgba(7,27,77,.05);
}

.segment-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  font-weight: 700;
}

.segment-item p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

/* CASE + CTA */
.case-cta-section {
  padding: 60px 0;
}

.case-box,
.cta-box {
  background: linear-gradient(180deg, #fff, rgba(234,245,255,.38));
  border-radius: 24px;
  border: 1px solid rgba(18,109,255,.12);
  box-shadow: 0 18px 42px rgba(7,27,77,.06);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.case-box span,
.cta-box span {
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 14px;
}

.case-box h3,
.cta-box h3 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 14px;
}

.case-box p,
.cta-box p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.case-box a {
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}

.case-photo-box {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.78), rgba(255,255,255,.08)),
    url("https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center right;
  min-height: 250px;
  border-radius: 24px;
}

.case-metrics {
  position: absolute;
  inset: 0;
  width: 50%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.case-metrics strong {
  display: block;
  color: var(--brand-dark);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.case-metrics small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

.cta-features div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cta-features i {
  color: var(--brand-orange);
  font-size: 15px;
}

/* PARTNERS CAROUSEL */
.partners-section {
  background: white;
  padding: 54px 0 64px;
  border-top: 1px solid #EEF2F7;
  text-align: center;
  overflow: hidden;
}

.partners-carousel {
  overflow: hidden;
  position: relative;
  margin: 0 auto 28px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track img {
  height: 72px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
  mix-blend-mode: multiply;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-btn {
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  background: white;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  text-decoration: none;
}

/* FOOTER */
.footer {
  background: #F7FBFF;
  border-top: 1px solid #EEF2F7;
  padding: 42px 0 18px;
}

.footer-logo {
  width: 155px;
  margin-bottom: 16px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 14px;
}

.footer p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer p a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer p a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.footer a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 9px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: var(--brand-blue);
}

.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  text-decoration: none;
  transition: all 0.3s;
}

.socials a:hover {
  background: var(--brand-blue);
  color: white;
  border-color: var(--brand-blue);
}

.footer-copy {
  border-top: 1px solid #E2E8F0;
  padding-top: 16px;
  margin-top: 28px;
  text-align: center;
  color: #94A3B8;
  font-size: 12px;
}

/* PLACEHOLDER PAGES */
.page-placeholder {
  min-height: calc(100vh - 96px);
  padding: 150px 24px 80px;
  text-align: center;
}

.page-placeholder span {
  display: inline-block;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.page-placeholder h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 900;
}

.page-placeholder p {
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
}

/* RESPONSIVO MOBILE */
@media (max-width: 768px) {
  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .case-metrics {
    width: 100%;
    background: rgba(255,255,255,.82);
  }

  .cta-features {
    grid-template-columns: 1fr;
  }

  .partners-track img {
    height: 58px;
    max-width: 150px;
  }

  .partners-track {
    gap: 36px;
    animation-duration: 24s;
  }
}
