:root {
  --primary-color: #1b4965;
  --accent-color: #dbb13c;
  --white-color: #ffffff;
  --muted-bg: #f8f9fa;
  --secondary-text: #6b7280;
  --light-accent: rgba(219, 177, 60, 0.1);
}

body {
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

.hero-section {
  background: linear-gradient(
      135deg,
      rgba(27, 73, 101, 0.9) 0%,
      rgba(27, 73, 101, 0.7) 100%
    );
    
  min-height: 100vh;
  color: white;
}


/*  */

/* ---- Trust Bar: auto-scroll suave (versión final) ---- */
.trust-bar {
  background: linear-gradient(135deg, #1b4965, #2b637f);
  padding: 0.75rem 0;
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* desvanecidos en los bordes */
.trust-bar::before,
.trust-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
}
.trust-bar::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(27, 73, 101, 1),
    rgba(27, 73, 101, 0)
  );
}
.trust-bar::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(43, 99, 127, 1),
    rgba(43, 99, 127, 0)
  );
}

/* carril que el JS crea y anima */
.trust-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

/* tu lista original */
.trust-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.trust-list i {
  font-size: 1rem;
  color: #d4a319;
}
.trust-list span {
  opacity: 0.95;
}

/* activar animación (duración la calcula el JS) */
.trust-bar.is-animating .trust-track {
  animation: trust-scroll var(--scroll-duration, 22s) linear infinite;
}

/* desplazamos exactamente el ancho de UNA lista */
@keyframes trust-scroll {
  to {
    transform: translate3d(calc(-1 * var(--loop-distance, 600px)), 0, 0);
  }
}

/* pausa al hover/focus */
.trust-bar:hover .trust-track,
.trust-bar:focus-within .trust-track {
  animation-play-state: paused;
}

/* si no animamos, oculta clones (sin duplicados) */
.trust-bar:not(.is-animating) .trust-list[aria-hidden="true"] {
  display: none;
}

/* accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .trust-bar.is-animating .trust-track {
    animation: none;
  }
}

/* end */

.btn-primary-custom {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn-primary-custom:hover {
  background-color: #c49d35;
  border-color: #c49d35;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
  min-height: 280px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(27, 73, 101, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon i {
  color: var(--primary-color) !important;
}

/* Adicionando ícones azuis para reduzir excesso de amarelo */
.service-icon-blue {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon-blue i {
  color: white !important;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.section-title {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.testimonial-card {
  background: var(--muted-bg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

.contact-form {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(27, 73, 101, 0.1);
}

.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a7a 100%);
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.process-section {
  background: linear-gradient(
    135deg,
    rgba(219, 177, 60, 0.08) 0%,
    rgba(27, 73, 101, 0.05) 100%
  );
}

.process-step {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(27, 73, 101, 0.1);
  transition: transform 0.3s ease;
  min-height: 160px;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-number {
  position: absolute;
  top: -15px;
  left: 30px;
  background: var(--accent-color);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.services-key-section {
  background: linear-gradient(
    135deg,
    rgba(27, 73, 101, 0.08) 0%,
    rgba(219, 177, 60, 0.03) 100%
  );
}

.services-column {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(27, 73, 101, 0.1);
  height: 100%;
  min-height: 300px;
}

/* Adicionando seções com gradientes mais atrativos */
#sobre {
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    rgba(27, 73, 101, 0.02) 100%
  ) !important;
}

#servicos {
  background: linear-gradient(135deg, white 0%, rgba(219, 177, 60, 0.03) 100%);
}

#projetos {
  background: linear-gradient(
    135deg,
    rgba(27, 73, 101, 0.03) 0%,
    #f8f9fa 100%
  ) !important;
}

#vantagens {
  background: linear-gradient(
    135deg,
    rgba(219, 177, 60, 0.05) 0%,
    rgba(27, 73, 101, 0.03) 100%
  ) !important;
}

#contato {
  background: linear-gradient(
    135deg,
    #f8f9fa 0%,
    rgba(27, 73, 101, 0.05) 100%
  ) !important;
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.project-thumb {
  aspect-ratio: 16/9; /* 4/3, 1/1, etc. */
  width: 100%;
  object-fit: cover;
  display: block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .hero-section h1 {
    font-size: 2.5rem !important;
  }

  .hero-section .lead {
    font-size: 1.1rem !important;
  }

  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .services-column {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .contact-form {
    padding: 2rem !important;
  }
}

@media (max-width: 576px) {
  .btn-primary-custom {
    width: 100%;
    margin-bottom: 1rem;
  }

  .btn-outline-light {
    width: 100%;
  }

  .process-number {
    left: 20px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}

.text-success,
.bi-check-circle-fill {
  color: var(--accent-color) !important;
}

footer.bg-dark {
  background-color: var(--primary-color) !important;
}

footer .text-primary {
  color: var(--accent-color) !important;
}
