/* ==================== */
/* HERO SECTION STYLES */
/* ==================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 74, 173, 0.05) 0%, rgba(0, 255, 204, 0.05) 100%);
  z-index: -1;
  animation: pulse 15s infinite alternate;
}

.hero-content {
    margin: 20px;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--text-5xl);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out;
  line-height: 1.2;
}

.hero p {
  font-size: var(--text-xl);
  margin-bottom: 4rem;
  color: var(--text-dark);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* ==================== */
/* ABOUT SECTION STYLES */
/* ==================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-normal);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-normal);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* ======================= */
/* SERVICES SECTION STYLES */
/* ======================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Uma coluna para empilhar os itens */
    gap: 1rem; /* Espaçamento entre os itens */
    padding: 5px; /* Espaçamento interno */
    width: 105%; /* Ocupa toda a largura disponível */
    box-sizing: border-box; /* Garante que padding não ultrapasse os limites */
  }
}

.services, .process, .benefits {
    color: black;
}

.service-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.1) 0%, rgba(0, 255, 204, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  font-size: 2.4rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(15deg);
}

.service-content h3 {
  margin-bottom: 1.5rem;
  position: relative;
}

.service-content h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

.service-card:hover .service-content h3::after {
  width: 80px;
}

/* ======================= */
/* PROCESS SECTION STYLES */
/* ======================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  counter-reset: step-counter;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  z-index: 0;
}

.process-step {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: var(--transition-normal);
  text-align: center;
}

.process-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5rem;
  height: 5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* ======================== */
/* BENEFITS SECTION STYLES */
/* ======================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.benefit-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:hover::after {
  transform: scaleX(1);
}

.benefit-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, rgba(0, 74, 173, 0.1) 0%, rgba(0, 255, 204, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

/* ======================= */
/* CLIENTS SECTION STYLES */
/* ======================= */
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-top: 4rem;
}

.client-logo {
  max-width: 180px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-normal);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* ================== */
/* CTA SECTION STYLES */
/* ================== */
.cta {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.cta h2 {
  color: white;
}

.cta h2::after {
  background: white;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* ===================== */
/* ANIMATIONS AND EFFECTS */
/* ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* ===================== */
/* RESPONSIVE ADJUSTMENTS */
/* ===================== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: var(--text-4xl);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero p {
    font-size: var(--text-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    text-align: left;
    padding-left: 8rem;
  }
  
  .process-step::before {
    left: 2rem;
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }
  
  .clients-logos {
    gap: 2rem;
  }
  
  .client-logo {
    max-width: 120px;
  }
}

/* Fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap');

a.btn-primary,
a.btn-outline {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Botão preenchido - Primário */
a.btn-primary {
  background: linear-gradient(135deg, #01314f, #0277bd);
  color: #ffffff;
  border: none;
}

a.btn-primary:hover {
  background: linear-gradient(135deg, #01273f, #0269a3);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(1, 49, 79, 0.3);
}

/* Botão contornado - Secundário */
a.btn-outline {
  background: transparent;
  color: #01314f;
  border: 2px solid #01314f;
}

a.btn-outline:hover {
  background: #e3f2fd;
  border-color: #01273f;
  color: #01273f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 49, 79, 0.2);
}

/* Responsivo para telas menores */
@media (max-width: 480px) {
  a.btn-primary,
  a.btn-outline {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
  }
}
