/* ============================================================
   components.css — Botões, badges, cards reutilizáveis
   ============================================================ */

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px); }

.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

.btn-primary {
  background: var(--accent);
  color: var(--primary-deep);
  box-shadow: 0 8px 22px rgba(255, 210, 21, 0.32);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 210, 21, 0.45);
}

/* Botão "fantasma" para hero/fundos escuros */
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--text-light); transform: translateY(-2px); }

.btn--whatsapp { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.25); }

/* Seta que desliza no hover */
.btn .btn__arrow { transition: transform 0.25s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Card base ---------- */
.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Moldura de acento (quadrado amarelo atrás de imagem) ---------- */
.framed { position: relative; }
.framed::before {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: 0;
}
.framed > img {
  position: relative;
  z-index: 1;
}
