/* ============================================
   COMO FUNCIONA - HERO DE PÁGINA INTERNA
   ============================================ */
.hero-page {
  padding: 80px 0;
  text-align: center;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero-page .tag {
  margin-bottom: 16px;
}

.hero-page h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-page .subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   COMO FUNCIONA - SEÇÃO IMAGEM E TEXTO
   ============================================ */
.image-text-section {
  padding: 100px 0;
  background-color: var(--surface);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
}

.text-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.text-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.image-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   COMO FUNCIONA - SEÇÃO DE PASSOS
   ============================================ */
.passos-section {
  padding: 100px 0;
  background-color: var(--background);
}

.passos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

.passo-card {
  /* Extends .card */
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.passo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.passo-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.passo-numero {
  font-size: 48px;
  font-weight: 800;
  color: var(--ice-blue);
  line-height: 1;
}

.passo-icone {
  background-color: var(--ice-blue);
  color: var(--blue);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.passo-icone svg {
  width: 28px;
  height: 28px;
}

.passo-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.passo-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   COMO FUNCIONA - FLUXO OPERACIONAL DE BLINDAGEM
   ============================================ */
.fluxo-section {
  padding: 100px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.flow-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flow-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--ice-blue);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 18px;
  border: 2px solid var(--border);
  transition: background-color 0.3s, color 0.3s;
}

.flow-step:hover .flow-icon {
  background-color: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.flow-step-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: var(--border);
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 992px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    height: 30px;
  }
}

/* ============================================
   COMO FUNCIONA - SEÇÃO DE CTA
   ============================================ */
.cta-section {
  background-color: var(--surface);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}
