/* ═══════════════════════════════════════════════════════════
   BIASO DIGITAL — what.css
   Seção "O que fazemos"
═══════════════════════════════════════════════════════════ */

/* ── SECTION ── */
#o-que-fazemos {
  padding: var(--space-28) 0;
  background: linear-gradient(180deg, #040810 0%, #060c1c 100%);
  position: relative;
  overflow: hidden;
}

/* Orb decorativo de fundo */
#o-que-fazemos::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 204, 255, 0.05), transparent 65%);
  pointer-events: none;
}

/* ── GRID 2 COLUNAS ── */
.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

/* ── COLUNA ESQUERDA ── */
.what-left h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  color: #ffffff;
  margin: 12px 0 18px;
  line-height: var(--leading-tight);
}

.what-left h2 em {
  font-style: normal;
  color: var(--cyan);
}

.what-lead {
  font-size: var(--text-md);
  color: var(--muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

/* Features */
.what-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.what-feat {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color var(--duration-md) var(--ease),
    background var(--duration-md) var(--ease);
}

.what-feat:hover {
  border-color: rgba(0, 204, 255, 0.2);
  background: rgba(0, 204, 255, 0.03);
}

.what-feat__ico {
  flex-shrink: 0;
  margin-top: 1px;
}

.what-feat__text h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.what-feat__text p {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--leading-normal);
}

/* ── COLUNA DIREITA — Fluxo ── */
.what-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Flow card base */
.flow-card {
  background: var(--deep-space);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  transition:
    border-color var(--duration-md) var(--ease),
    background var(--duration-md) var(--ease);
}

.flow-card:hover {
  border-color: rgba(0, 204, 255, 0.18);
}

/* Card ativo — destaque visual */
.flow-card--active {
  border-color: rgba(0, 204, 255, 0.22);
  background: linear-gradient(
    135deg,
    rgba(0, 204, 255, 0.05),
    var(--deep-space)
  );
  position: relative;
}

/* Linha superior colorida no card ativo */
.flow-card--active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Cabeçalho do card */
.flow-card__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

/* Número da etapa */
.flow-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
  border-radius: var(--r-sm);
  padding: 3px 9px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.flow-card__head h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ffffff;
  line-height: var(--leading-snug);
}

.flow-card > p {
  font-size: var(--text-xs);
  color: var(--muted);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

/* Tags no rodapé do card */
.flow-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .what-lead {
    font-size: var(--text-base);
  }
}

@media (max-width: 640px) {
  #o-que-fazemos {
    padding: var(--space-20) 0;
  }
}