/* ============================================================
   TZO — Componentes: trilha do processo, time, tecnologias e
   widget de conversa.
   ============================================================ */

/* ---------- Trilha do processo (8 passos) ---------- */

.stepper {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-2);
}

.stepper__step {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  row-gap: var(--space-4);
  text-align: center;
}

.stepper__label { padding-inline: var(--space-1); }
.stepper__label--top { grid-row: 1; align-self: end; }
.stepper__label--bottom { grid-row: 3; align-self: start; }
.stepper__step:nth-child(odd) .stepper__label--bottom,
.stepper__step:nth-child(even) .stepper__label--top { visibility: hidden; }

.stepper__name {
  display: block;
  font-size: var(--text-label);
  font-weight: var(--weight-title);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}
.stepper__text {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--text-muted);
}
.stepper__text strong { color: var(--text-strong); font-weight: var(--weight-subtitle); }

/* Linha do trilho + marcador */
.stepper__marker {
  grid-row: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper__marker::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-border);
}
.stepper__step:first-child .stepper__marker::before { left: 50%; }
.stepper__step:last-child .stepper__marker::before { right: 50%; }

.stepper__circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  font-size: var(--text-h4);
  font-weight: var(--weight-display);
  color: var(--text-strong);
}

.stepper__note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-top: var(--space-10);
  padding: var(--space-5);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-base);
}
.stepper__note strong { color: var(--text-strong); }

/* ---------- Time ---------- */

.team {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
}

.team__count {
  font-size: 4.5rem;
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  color: var(--accent);
}
.team__count-label {
  margin-top: var(--space-2);
  font-size: var(--text-label);
  font-weight: var(--weight-title);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}
.team__text { font-size: var(--text-lead); line-height: var(--leading-normal); color: var(--text-muted); }
.team__text strong { color: var(--text-strong); font-weight: var(--weight-subtitle); }

/* Parede de logos — cada célula tem proporção fixa para a grade não pular */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.logo-wall__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: var(--space-4);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-subtitle);
  color: var(--text-base);
  text-align: center;
}
.logo-wall__cell img { max-height: 100%; width: auto; object-fit: contain; }

.logo-wall__empty {
  grid-column: 1 / -1;
  padding: var(--space-6);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

.subheading {
  margin-bottom: var(--space-4);
  font-size: var(--text-label);
  font-weight: var(--weight-title);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Tecnologias ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: var(--space-3);
}

.tech-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 92px;
  padding: var(--space-5) var(--space-3);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tech-cell:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }


.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.cloud-cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-8);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cloud-cell__name {
  font-size: var(--text-h3);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-title);
  color: var(--text-strong);
}
.cloud-cell__text { font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--text-muted); }

/* ---------- Utilitários mínimos ----------
   O CSP servido pelo site não permite `style=` inline; o que seria uma
   regra pontual no HTML vira classe aqui. */

.stack-lg { margin-top: var(--space-12); }
.shrink-0 { flex-shrink: 0; }
