/* Reset e configurações gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
}

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f8bff;
  --accent-hover: #0a6bc7;
  --light: #f9f9f9;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--primary);
  line-height: 1.6;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-direction: column;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.btn-portal {
  background-color: var(--accent);
  padding: 10px;
  color: var(--light) !important;
  border: solid var(--accent) 2px;
  border-radius: 10px;
}

.btn-portal:hover {
  background-color: var(--light);
  padding: 10px;
  color: var(--accent) !important;
  border-radius: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 139, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: white;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  width: 45%;
  display: flex;
}

.logo span {
  color: var(--accent);
}

.hero-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 90%;
  border-radius: 12px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-group {
  display: flex;
  gap: 15px;
}

/* Features Section */
.features {
  background-color: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(15, 139, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

/* Map Section */
.map-section {
  background-color: #f8fafc;
}

.map-container {
  position: relative;
  height: 400px;
  margin-bottom: 60px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-background {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 12px;
}

.map-roads {
  position: absolute;
  width: 100%;
  height: 100%;
}

.road {
  position: absolute;
  background-color: #90a4ae;
  border-radius: 2px;
}

.road.horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
}

.road.vertical {
  left: 50%;
  top: 0;
  height: 100%;
  width: 4px;
  transform: translateX(-50%);
}

.road.diagonal {
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  transform: rotate(45deg);
  transform-origin: top left;
}

.location-point {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(15, 139, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.moving-vehicle {
  position: absolute;
  top: 30%;
  left: 20%;
  font-size: 24px;
  color: var(--primary);
  animation: moveVehicle 8s infinite linear;
}

.map-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.map-feature {
  text-align: center;
  padding: 20px;
}

.map-feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.map-feature h4 {
  margin-bottom: 10px;
}

/* How It Works */
.how-it-works {
  background-color: white;
}

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--light-gray);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 15px;
}

.step-number {
  width: 80px;
  height: 80px;
  background-color: white;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Pricing */
.pricing {
  background-color: #f8fafc;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 500px;
  align-self: center;
  align-items: stretch;
  position: relative;
}

.pricing-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: scale(0.95);
}

.pricing-card:hover {
  filter: blur(0);
  opacity: 1;
  transform: scale(1);
  z-index: 3;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  background-color: var(--primary);
  color: white;
  padding: 30px;
  text-align: center;
}

.pricing-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price span {
  font-size: 1rem;
  color: var(--gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--accent);
  margin-right: 10px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animações */
@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  70% {
    transform: scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes moveVehicle {
  0% {
    top: 30%;
    left: 20%;
  }
  25% {
    top: 40%;
    left: 50%;
  }
  50% {
    top: 60%;
    left: 70%;
  }
  75% {
    top: 40%;
    left: 50%;
  }
  100% {
    top: 30%;
    left: 20%;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-content {
    flex-direction: column;
  }

  .btn-group {
    flex-direction: column;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .btn {
    text-align: center;
  }

  .map-container {
    height: 300px;
  }

  /* Remover efeito de blur nos cards no mobile */
  .pricing-card {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }

  .pricing-card:nth-child(2) {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}
