﻿:root {
  --primary: #1b84ff;
  --primary-dark: #0e5fc0;
  --accent: #72c7ff;
  --light: #f4faff;
  --white: #ffffff;
  --text: #17324f;
  --muted: #5d7894;
  --border: #d7e8f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.section-space {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#mainNav {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}

#mainNav.scrolled {
  border-color: var(--border);
  box-shadow: 0 8px 24px rgba(16, 86, 157, 0.09);
}

.navbar-brand {
  letter-spacing: 0.3px;
  color: var(--primary-dark);
}

.nav-link {
  color: #245784;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero-section {
  padding-top: 9rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #eaf5ff 0%, #d7eeff 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::before {
  width: 360px;
  height: 360px;
  background: rgba(114, 199, 255, 0.24);
  top: -120px;
  right: -90px;
}

.hero-section::after {
  width: 280px;
  height: 280px;
  background: rgba(27, 132, 255, 0.13);
  bottom: -100px;
  left: -60px;
}

.hero-mockup {
  background: #f7fbff;
  border: 1px solid #cbe4fb;
  border-radius: 20px;
  overflow: hidden;
}

.mockup-topbar {
  background: #eff8ff;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #dbeeff;
}

.mockup-topbar span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
  background: #a9cfee;
}

.mockup-content {
  padding: 1.5rem;
}

.mockup-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 70px;
}

.mini-chart div {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.mini-chart div:nth-child(1) { height: 38%; }
.mini-chart div:nth-child(2) { height: 70%; }
.mini-chart div:nth-child(3) { height: 52%; }
.mini-chart div:nth-child(4) { height: 88%; }

.metric-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d6e9f8;
  border-radius: 14px;
  padding: 0.75rem;
  text-align: center;
}

.metric-card strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.service-card,
.step-card,
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card,
.step-card {
  padding: 1.4rem;
}

.service-card:hover,
.step-card:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(19, 106, 192, 0.12);
}

.service-card h3,
.step-card h3,
.portfolio-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.service-card p,
.step-card p,
.portfolio-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--primary-dark);
  background: #e9f5ff;
  margin-bottom: 0.9rem;
}

.bg-soft {
  background: #f6fbff;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-thumb {
  height: 180px;
  border-bottom: 1px solid var(--border);
}

.thumb-1 {
  background: linear-gradient(145deg, #d2ecff, #9fd4ff);
}

.thumb-2 {
  background: linear-gradient(145deg, #cfe7ff, #6bb2ff);
}

.thumb-3 {
  background: linear-gradient(145deg, #e2f4ff, #93cbff);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e8f4ff;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.cta-section {
  background: linear-gradient(125deg, #1d86ff, #5eb8ff);
}

.cta-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

footer {
  background: #f5fbff;
  border-top: 1px solid var(--border);
  color: #4f6d8c;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7rem;
    padding-bottom: 4.5rem;
  }

  .section-space {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767.98px) {
  .display-5 {
    font-size: 2rem;
  }

  .metrics .metric-card {
    padding: 0.6rem;
  }

  .portfolio-thumb {`r`n    height: 150px;`r`n  }`r`n`r`n  .portfolio-image {`r`n    height: 150px;`r`n  }
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(140deg, #1b84ff, #58b6ff);
  color: #fff;
  text-decoration: none;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 12px 22px rgba(17, 105, 191, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: waPulse 1.9s infinite;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.02);
}

.wa-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
}

.wa-text {
  font-weight: 700;
  font-size: 0.9rem;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 132, 255, 0.45), 0 12px 22px rgba(17, 105, 191, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(27, 132, 255, 0), 0 12px 22px rgba(17, 105, 191, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(27, 132, 255, 0), 0 12px 22px rgba(17, 105, 191, 0.35); }
}

@media (max-width: 576px) {
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 0.58rem 0.8rem;
  }

  .wa-text {
    font-size: 0.82rem;
  }
}

