:root {
  /* Paleta Azul Tone-on-Tone */
  --midnight-blue: #0a1628;
  --deep-blue: #0f2744;
  --navy-blue: #1a3a5c;
  --royal-blue: #2563eb;
  --electric-blue: #3b82f6;
  --sky-blue: #60a5fa;
  --light-blue: #93c5fd;
  --pale-blue: #dbeafe;

  /* Textos */
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;

  /* Sombras e Efeitos */
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.1);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.15);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.2);
  --shadow-xl: 0 16px 48px rgba(37, 99, 235, 0.25);
  --glow: 0 0 24px rgba(37, 99, 235, 0.6);

  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--midnight-blue);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== LAYOUT GERAL ===== */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--midnight-blue) 0%, var(--deep-blue) 100%);
}

.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 30%, var(--royal-blue) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--electric-blue) 0%, transparent 50%);
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: 
    linear-gradient(to right, var(--sky-blue) 1px, transparent 1px),
    linear-gradient(to bottom, var(--sky-blue) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.95),
    rgba(10, 22, 40, 0.8)
  );
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-white);
  box-shadow: var(--glow);
}

.logo-text-main {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

.logo-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--electric-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
  color: var(--text-white) !important;
  font-weight: 600;
  box-shadow: var(--glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(37, 99, 235, 0.8);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ===== SEÇÕES ===== */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--electric-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== PROBLEMA ===== */
.problema-section {
  background: linear-gradient(180deg, var(--deep-blue), var(--navy-blue));
}

.problema-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.problema-lead {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 20px;
  line-height: 1.5;
}

.problema-text p {
  margin-bottom: 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

.problema-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.problema-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.problema-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.problema-item strong {
  display: block;
  color: var(--text-white);
  margin-bottom: 4px;
  font-weight: 600;
}

.problema-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.problema-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.problema-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== SOLUÇÃO ===== */
.solucao-section {
  background: var(--midnight-blue);
}

.solucao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.solucao-card {
  padding: 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.02));
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: var(--transition);
}

.solucao-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--shadow-md);
}

.solucao-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.solucao-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.solucao-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== ENTREGÁVEIS ===== */
.entregaveis-section {
  background: linear-gradient(180deg, var(--navy-blue), var(--deep-blue));
}

.entregaveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.entregavel-card {
  padding: 32px 24px;
  background: rgba(10, 22, 40, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: var(--transition);
}

.entregavel-card:hover {
  transform: translateY(-4px);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-lg);
}

.entregavel-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--electric-blue);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.entregavel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.entregavel-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== PORTFÓLIO ===== */
.portfolio-section {
  background: var(--midnight-blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--deep-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-item a {
  display: block;
  text-decoration: none;
}

.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95), transparent);
  transform: translateY(100%);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.portfolio-arrow {
  font-size: 24px;
  color: var(--electric-blue);
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, var(--royal-blue), var(--electric-blue));
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  opacity: 0.3;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.cta-form {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 39, 68, 0.6);
  color: var(--text-white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--electric-blue);
  background: rgba(15, 39, 68, 0.8);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  background: var(--midnight-blue);
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-main p {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--electric-blue);
}

.footer-separator {
  color: rgba(148, 163, 184, 0.3);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--electric-blue);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--electric-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problema-content {
    grid-template-columns: 1fr;
  }

  .solucao-grid,
  .entregaveis-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 0 80px;
  }

  section {
    padding: 60px 0;
  }

  .solucao-grid,
  .entregaveis-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-form {
    padding: 24px;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--royal-blue), transparent);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(100px);
}

/* Layout do Grid Hero - IMAGEM ESQUERDA + TEXTO DIREITA */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* imagem maior à esquerda */
  gap: 60px;
  align-items: center;
}

/* COLUNA ESQUERDA: CARROSSEL */
.hero-visual {
  position: relative;
}

.hero-carousel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: var(--deep-blue);
  position: relative;
}

.hero-carousel .carousel-inner {
  border-radius: 24px;
}

.hero-carousel .item {
  transition: transform 0.6s ease-in-out;
}

.hero-carousel .hero-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 725;
  overflow: hidden;
}

.hero-carousel .hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Indicadores do carrossel */
.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.hero-carousel .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
}

.hero-carousel .carousel-indicators .active {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  box-shadow: 0 0 12px var(--electric-blue);
  width: 12px;
  height: 12px;
}

.hero-carousel .carousel-indicators li:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-visual-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* COLUNA DIREITA: CONTEÚDO */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--electric-blue);
  margin-bottom: 24px;
  width: fit-content;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
  box-shadow: 0 0 12px var(--electric-blue);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--electric-blue), var(--sky-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* CTA do Hero */
.hero-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

/* Botão principal do hero */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.7);
  background-image: linear-gradient(
    135deg,
    var(--royal-blue),
    var(--electric-blue),
    var(--sky-blue)
  );
  color: var(--text-white);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  overflow: hidden;
}

/* brilho passando por cima do botão */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.12),
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.12)
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.9);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.9);
}

/* setinha do CTA */
.btn-primary .arrow {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* Métricas do Hero */
.hero-metrics {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-metrics-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.hero-metrics-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--electric-blue);
  line-height: 1;
}

.hero-metrics-item span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Ajuste para tablets */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-content {
    order: 2;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-carousel .carousel-indicators {
    bottom: 12px;
    gap: 6px;
  }

  .hero-carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
  }

  .hero-carousel .carousel-indicators .active {
    width: 10px;
    height: 10px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .hero-metrics-item {
    text-align: left;
    align-items: flex-start;
  }
}
