/* ============================================================
   PREMIUM COMPONENTS — Modicas
============================================================ */

/* ------------------------------------------------------------
   BOTÕES
------------------------------------------------------------ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

/* Primário */
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Secundário */
.btn-secondary {
  background: var(--color-dark);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--color-dark-soft);
  transform: translateY(-2px);
}

/* Contorno */
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Botão pequeno */
.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

/* ------------------------------------------------------------
   CARDS
------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.card-text {
  font-size: 0.98rem;
  color: var(--color-text-light);
  line-height: 1.55;
}

/* ------------------------------------------------------------
   BADGES
------------------------------------------------------------ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-bg-soft);
  color: var(--color-dark);
}

.badge-primary {
  background: #e6f0ff;
  color: var(--color-primary-dark);
}

.badge-green {
  background: #e7f7ed;
  color: #067a3b;
}

.badge-orange {
  background: #fff3e0;
  color: #c86400;
}

/* ------------------------------------------------------------
   LISTAS VISUAIS
------------------------------------------------------------ */
.list-check {
  list-style: none;
  padding-left: 0;
  margin-top: var(--space-3);
}

.list-check li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  font-weight: 700;
  color: var(--color-primary);
}

.list-emoji {
  list-style: none;
  padding-left: 0;
}
.list-emoji li {
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
}

/* ------------------------------------------------------------
   CTA BOX
------------------------------------------------------------ */
.cta-box {
  border-radius: 14px;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-soft);
  margin: var(--space-4) 0;
}

.cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.cta-info {
  border-left: 4px solid var(--color-primary);
}

.cta-warning {
  border-left: 4px solid #ffa000;
  background: #fff8e1;
}

.cta-success {
  border-left: 4px solid #36ad6c;
  background: #e7f7ed;
}

.cta-with-btn {
  text-align: center;
}
.cta-with-btn .btn {
  margin-top: var(--space-3);
}

/* ------------------------------------------------------------
   GRIDS
------------------------------------------------------------ */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-4);
}

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

@media (max-width: 820px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
