/* ==========================================================================
   COMPONENTE: Process (process.css)
   ========================================================================== */

.process-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-soft, #eaeaea);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  width: 100%;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

/* CONTAINER DE ALINHAMENTO */
.process-section .wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 0 !important;
  padding: 0 1.5rem;
  box-sizing: border-box;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Parte 1: Como Funciona (Steps)
   -------------------------------------------------------------------------- */
.process-flow {
  text-align: left;
  width: 100%;
}

.process-main-title {
  font-size: clamp(32px, 10vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 14px;
  color: #000000;
}

.process-subt {
  margin-top: 16px;
  font-size: 20px;
  color: var(--ink-soft, #666666);
  font-weight: 400;
}

.process-steps-grid {
  margin-top: 48px;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 40px;
  width: 100%;
}

.step-col {
  position: relative;
  text-align: left;
}

.step-num {
  font-family: var(--mono, monospace);
  font-size: 54px;
  font-weight: 500;
  color: #e2e1da;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.step-col h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink, #000000);
  margin-bottom: 8px;
}
.step-col p {
  font-size: 14px;
  color: var(--ink-soft, #666666);
  line-height: 1.6;
}
.step-arrow {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft, #666666);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   ESTILOS EXCLUSIVOS: Card Horizontal
   -------------------------------------------------------------------------- */
.process-horizontal-card {
  margin-top: 56px;
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

.horiz-card-info {
  flex: 1;
  max-width: 500px;
}
.horiz-card-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 8px 0;
}
.horiz-card-info p {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin: 0;
}

.horiz-card-metrics {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-shrink: 0;
}
.horiz-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.horiz-metric-item .metric-val {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.val-blue {
  color: #2f80ed;
}
.val-orange {
  color: #f2994a;
}
.val-green {
  color: #27ae60;
}
.horiz-metric-item .metric-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888888;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Parte 2: Os Pilares (Nova Classe)
   -------------------------------------------------------------------------- */
.process-pillars-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.pillars-text-side {
  width: 100%;
  max-width: 600px;
}
.pillars-main-title {
  font-size: clamp(32px, 10vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  
  color: #000000;
  margin: 0 0 16px 0;
}
.pillars-grid-side {
  width: 100%;
  max-width: 1100px; /* Garante que ele tenha o mesmo limite de largura do seu container .wrap */
  margin: 40px auto 0 auto; /* O 'auto' aqui centraliza o container grid na página */
  display: flex;
  justify-content: space-between; /* Força o espalhamento total entre esquerda e direita */
  align-items: flex-start;
}
.pillar-item {
  flex: 0 0 30%; /* Define que cada item ocupa exatamente 30% do espaço, garantindo que sobre espaço para os espaçamentos */
  border-left: 1px solid #e27838;
  padding-left: 16px;
  box-sizing: border-box;
  margin-top: 30px;
}
.pillar-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 12px 0;
}
.pillar-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Parte 3: Recursos
   -------------------------------------------------------------------------- */
.process-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  align-items: flex-start;
}
.features-text-side {
  width: 100%;
  text-align: left;
  margin-bottom: 0;
}
.features-main-title {
  font-size: clamp(32px, 10vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;

  color: #111111;
  margin: 0 0 16px 0;
}
.features-subt {
  margin-top: 16px;
  font-size: 20px;
  color: var(--ink-soft, #666666);
  font-weight: 400;
}
.features-card-side {
  width: 100%;
}
.features-apple-card {
  width: 100%;
  margin-top: 70px;
  padding: 24px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
}
.features-apple-card .cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
  align-items: center;
}
.features-apple-card .cap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  padding: 0;
}
.features-apple-card .cap-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f2f1ec;
  border-radius: 10px;
  color: #4a4a4a;
  flex-shrink: 0;
}
.features-apple-card .cap-item span {
  font-size: 14px;
  font-weight: 550;
  color: #0d0d0d;
  line-height: 1.3;
}

/* DESIGN TIMELINE */
.proc-container {
  position: relative;
  width: 100%;
  padding-left: 56px;
  box-sizing: border-box;
}
.proc-block {
  position: relative;
  width: 100%;
  padding: 56px 0;
  box-sizing: border-box;
  margin-left: -84px;
  padding-left: 84px;
}
.proc-block:first-child {
  padding-top: 52px;
}
.proc-block:last-child {
  padding-bottom: 56px;
}
.proc-block + .proc-block {
  border-top: 1px solid #e5e5e5;
}
.proc-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
}
.proc-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #e5e5e5;
  transform: translateX(-50%);
  z-index: 1;
}
.proc-block:last-child .proc-rail::before {
  bottom: 30%;
}
.proc-num {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 12px;
  font-weight: 500;
  color: #888888;
  margin-top: 32px;
  box-sizing: border-box;
}

/* Responsividade */
@media (max-width: 1024px) {
  .process-features {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 40px;
  }
  .features-text-side {
    flex: 1 1 100% !important;
    width: 100%;
  }
  .features-card-side {
    width: 100%;
  }
  .features-apple-card .cap-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .process-horizontal-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
  }
  .horiz-card-metrics {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .features-apple-card .cap-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .features-apple-card {
    padding: 32px 20px !important;
  }
  .horiz-card-metrics {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
