:root {
  --blue: #1E40AF;
  --cyan: #22D3EE;
  --navy: #111827;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-700: #374151;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* ── Scroll Progress ── */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 9999;
  transition: width .08s linear;
}

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 990;
  padding: 22px 0;
  transition: padding .3s, background .3s, box-shadow .3s;
}

#navbar.scrolled {
  padding: 14px 0;
  background: rgba(17, 24, 39, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(34, 211, 238, .12), 0 4px 32px rgba(0, 0, 0, .35);
}

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  padding-bottom: 3px;
  position: relative;
  transition: color .2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 1.5px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

#mobile-menu {
  display: none;
  background: rgba(17, 24, 39, .98);
  border-top: 1px solid rgba(34, 211, 238, .15);
  padding: 20px 24px 28px;
}

#mobile-menu.open {
  display: block;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
  border-radius: 8px;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 13px 28px;
  font-size: .9rem;
}

.btn-primary:hover {
  background: #1a37a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 64, 175, .4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 12px 24px;
  font-size: .9rem;
  border: 1.5px solid rgba(255, 255, 255, .25);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 211, 238, .06);
}

.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
  padding: 15px 36px;
  font-size: 1rem;
  font-weight: 700;
}

.btn-cyan:hover {
  background: #1be8ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, .35);
}

/* ── Layout ── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  padding: 96px 0;
  background: var(--gray-50);
}

/* ── Labels & Headings ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  display: block;
}

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--navy);
}

.lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 14px;
}

.cyan-bar {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  margin-top: 20px;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .045) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow-r {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 64, 175, .22) 0%, transparent 60%);
  pointer-events: none;
}

.hero-glow-l {
  position: absolute;
  bottom: -25%;
  left: 0%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .2
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #fff;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--cyan) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-card-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Pain Cards ── */
.pain-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px 24px;
  transition: all .3s ease;
}

.pain-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(30, 64, 175, .1);
  transform: translateY(-5px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── Steps ── */
.step-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all .3s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(30, 64, 175, .08);
}

.step-num {
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connector {
  position: absolute;
  left: 47px;
  bottom: -28px;
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, var(--blue), var(--gray-200));
}

/* ── Services ── */
.service-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all .3s ease;
  overflow: hidden;
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, .04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(30, 64, 175, .1);
  transform: translateY(-5px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #EEF2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* ── Stats ── */
#stats {
  background: var(--navy);
}

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--cyan), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA Band ── */
#cta-band {
  background: linear-gradient(135deg, #0c1a56 0%, var(--blue) 55%, #0891B2 100%);
  position: relative;
  overflow: hidden;
}

#cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .14) 0%, transparent 65%);
}

/* ── Parceiros Carrossel ── */
#parceiros {
  padding: 72px 0;
  background: #fff;
  overflow: hidden;
}

.parceiros-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Trilha do carrossel */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  /* fades nas bordas */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Cada item do carrossel */
.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  height: 80px;
  flex-shrink: 0;
}

/* Logo placeholder — substitua por <img> quando tiver os arquivos */
.partner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity .3s ease, filter .3s ease;
  white-space: nowrap;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partner-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.partner-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-logo-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: -.02em;
}

/* Separador entre itens */
.marquee-sep {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
  flex-shrink: 0;
  align-self: center;
}

/* ── Form ── */
.field-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, .1);
}

.field-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ── Footer ── */
footer {
  background: #0d1117;
}

.f-link {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  font-size: .875rem;
  transition: color .2s;
}

.f-link:hover {
  color: var(--cyan);
}

/* ── Floating CTA ── */
#fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 880;
  opacity: 0;
  transform: translateY(20px);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

#fab.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Toast ── */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: #065f46;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  pointer-events: none;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

/* ── Logo placeholder ── */
.logo-img-white {
  width: 40px;
  height: 40px;
  background: url("/app/src/images/logo-white.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img-black{
  width: 40px;
  height: 40px;
  background: url("/app/src/images/logo-black.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  #cta-band .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  #cta-band .cta-inner .btn-cyan {
    width: 100%;
    justify-content: center;
  }
}