/* ellae — estilo das páginas legais (privacidade, termos, diretrizes).
   v323 (2026-06-13) — realinhado ao site KR8. Carrega DEPOIS de
   assets/css/style.css, reaproveitando os mesmos tokens (--roxo, --creme,
   --preto, --amarelo, sombras, radius) pra as páginas legais parecerem
   "uma aba do site" e não um documento à parte. */

.legal-shell {
  padding: 116px 0 72px; /* 116px = folga pra navbar fixa */
}

.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.back-link,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
}

.back-link {
  background: var(--roxo);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--easing), box-shadow .2s var(--easing);
}
.back-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.pill {
  background: rgba(100, 75, 240, 0.10);
  color: var(--roxo-dark);
}

.hero-card,
.legal-card {
  background: var(--branco);
  border: 1px solid rgba(100, 75, 240, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.hero-card {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
}

.brand-mark-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.brand-mark-img {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1); /* "e" roxo vira branco no gradient */
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--preto);
}
.hero-card p {
  margin: 10px 0 0;
  color: #5b5168;
  line-height: 1.6;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 24px;
}
.legal-card h2 {
  margin: 0 0 12px;
  color: var(--roxo);
  font-size: 1.35rem;
}
.legal-card h3 {
  margin: 16px 0 6px;
  font-size: 1.05rem;
  color: var(--preto);
}
.legal-card p,
.legal-card li {
  color: #514a5c;
  line-height: 1.7;
}
/* style.css zera list-style globalmente — restaura os bullets aqui */
.legal-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.legal-card li {
  margin-bottom: 6px;
}
.legal-card a {
  color: var(--roxo);
  font-weight: 600;
  text-decoration: underline;
}

.notice {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 57, 0, 0.10);
  color: var(--coral);
  font-weight: 700;
}

.footer-note {
  margin: 24px 0 0;
  text-align: center;
  color: #6b6277;
}
.footer-note a {
  color: var(--roxo);
  font-weight: 700;
}

@media (max-width: 680px) {
  .hero-grid { grid-template-columns: 1fr; justify-items: start; }
  .legal-shell { padding-top: 96px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
