/* Estilos da pagina de entrada (hero, autenticacao e lista de cursos). */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  padding-top: 26px;
}

.hero-title { font-size: 40px; letter-spacing: -0.028em; margin-bottom: 14px; }
.hero-sub { color: var(--text-soft); font-size: 15.5px; max-width: 52ch; margin-bottom: 26px; }
.hero-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.hero-list span { font-size: 17px; line-height: 1.35; }

.auth-card { padding: 22px; box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 10px; margin-bottom: 18px; }
.tab {
  flex: 1; padding: 8px; border: none; background: transparent; border-radius: 7px;
  font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text-soft); cursor: pointer;
}
.tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.course-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.course-card {
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-sm); transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s;
}
.course-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.course-emoji { font-size: 30px; line-height: 1; }
.course-name { font-size: 16.5px; font-weight: 650; }
.course-desc { font-size: 13.5px; color: var(--text-soft); flex: 1; }
.course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.toast-box { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 9px; z-index: 200; }
.toast {
  padding: 11px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 550;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  transition: opacity 0.25s, transform 0.25s; max-width: 340px;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-info { border-left: 3px solid var(--primary); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { font-size: 30px; }
}
