/*
==================================================
RotaBras Framework CSS
Arquivo: sections.css
Versão: 1.0
Descrição: Estilos das seções principais (Recursos, Tecnologia, etc.)
==================================================
*/

/* Seção genérica */
.section {
  padding: var(--rb-space-xl) var(--rb-space-md);
  background: var(--rb-surface);
  color: var(--rb-text);
}

.section-title {
  font-size: var(--font-3xl);
  font-weight: var(--fw-bold);
  color: var(--rb-primary);
  text-align: center;
  margin-bottom: var(--rb-space-lg);
}

.section-subtitle {
  font-size: var(--font-lg);
  color: var(--rb-text-light);
  text-align: center;
  margin-bottom: var(--rb-space-xl);
}

/* Blocos de recursos */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--rb-space-lg);
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--rb-radius-md);
  padding: var(--rb-space-md);
  text-align: center;
  box-shadow: var(--rb-shadow-sm);
  transition: var(--rb-transition);
}

.feature-card:hover {
  box-shadow: var(--rb-shadow-md);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--rb-primary);
  margin-bottom: var(--rb-space-sm);
}

.feature-title {
  font-size: var(--font-xl);
  font-weight: var(--fw-semibold);
  color: var(--rb-white);
  margin-bottom: var(--rb-space-sm);
}

.feature-text {
  font-size: var(--font-md);
  color: var(--rb-text-light);
}

/* Seção de tecnologia */
.tech-section {
  background: var(--gradient-dark);
  padding: var(--rb-space-xl) var(--rb-space-md);
  text-align: center;
}

.tech-section h2 {
  font-size: var(--font-3xl);
  font-weight: var(--fw-bold);
  color: var(--rb-primary);
  margin-bottom: var(--rb-space-md);
}

.tech-section p {
  font-size: var(--font-lg);
  color: var(--rb-text-light);
  margin-bottom: var(--rb-space-lg);
}

.tech-section .rb-button-primary {
  padding: var(--rb-space-sm) var(--rb-space-md);
  border-radius: var(--rb-radius-sm);
  font-weight: var(--fw-semibold);
}
