/* ═══════════════════════════════════════
   FEATURES + SERVIÇOS
═══════════════════════════════════════ */

/* ── FEATURES GRID ── */
#features {
  background: var(--c-bg1);
}

.features-head {
  max-width: 560px;
  margin-bottom: 3.5rem;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.fcard {
  background: var(--c-bg2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base);
}

.fcard:hover {
  background: var(--c-bg3);
}

.fcard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--g-brand-s);
  opacity: 0;
  transition: opacity var(--t-base);
}

.fcard:hover::after {
  opacity: 1;
}

.fcard-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  font-size: 1.2rem;
  background: rgba(91, 33, 182, 0.1);
  border: 1px solid rgba(91, 33, 182, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.fcard-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-roxo-l);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fcard h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--c-text-1);
}

.fcard p {
  font-size: 0.82rem;
  color: var(--c-text-3);
  line-height: 1.65;
}

/* ── SERVIÇOS ── */
#servicos {
  background: var(--c-bg);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.scard {
  background: var(--c-bg1);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: border-color var(--t-base), transform var(--t-base);
  position: relative;
}

.scard:hover {
  border-color: var(--c-border-p);
  transform: translateY(-2px);
}

.scard.destaque {
  border-color: var(--c-border-p);
  background: var(--c-bg2);
  box-shadow: var(--s-glow);
}

.scard.destaque::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-brand);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.scard-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(91, 33, 182, 0.08);
  border: 1px solid rgba(91, 33, 182, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.scard-ico svg {
  width: 20px;
  height: 20px;
  stroke: var(--c-roxo-l);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scard h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-text-1);
  margin-bottom: 0.4rem;
}

.scard p {
  font-size: 0.8rem;
  color: var(--c-text-3);
  line-height: 1.6;
}

.scard-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  margin-top: 0.75rem;
}

.scard-badge.ativo {
  background: rgba(34, 197, 94, 0.1);
  color: var(--c-green);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.scard-badge.breve {
  background: rgba(168, 160, 200, 0.08);
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .grid-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-features {
    grid-template-columns: 1fr;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }
}
