/*
 * style.css
 * Estilos complementares ao TailwindCSS
 */

/* ── Paleta da marca (substitui o tailwind.config que não roda em produção) ──── */
:root {
  --brand-50:  #fef2f2;
  --brand-100: #F8BCBE;
  --brand-200: #F2777B;
  --brand-500: #ED3237;
  --brand-600: #ED3237;
  --brand-700: #B72721;
  --brand-800: #7D1E13;
  --brand-900: #5a1510;
}

/* backgrounds */
.bg-brand-50  { background-color: var(--brand-50);  }
.bg-brand-600 { background-color: var(--brand-600); }
.bg-brand-700 { background-color: var(--brand-700); }
.bg-brand-800 { background-color: var(--brand-800); }
.bg-brand-900 { background-color: var(--brand-900); }

.hover\:bg-brand-700:hover  { background-color: var(--brand-700); }
.hover\:bg-brand-800:hover  { background-color: var(--brand-800); }
.active\:bg-brand-800:active { background-color: var(--brand-800); }

/* textos */
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-brand-800 { color: var(--brand-800); }

/* bordas */
.border-brand-500          { border-color: var(--brand-500); }
.hover\:border-brand-500:hover { border-color: var(--brand-500); }
.border-brand-700\/30      { border-color: rgba(183, 39, 33, 0.30); }

/* hover no grupo do campo de arquivo */
.group:hover .group-hover\:text-brand-700 { color: var(--brand-700); }
.group:hover .hover\:bg-red-50            { background-color: #fff1f2; }

/* ── Fonte base ─────────────────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Hero com imagem de fundo ────────────────────────────────────────────────── */
.hero-bg {
  position: relative;
  background-image: url('../img/bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Overlay escuro avermelhado para efeito cinematográfico */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(60, 10, 8, 0.68);
  pointer-events: none;
}

/* Garante que o conteúdo fique acima do overlay */
.hero-bg > * {
  position: relative;
  z-index: 1;
}

/* ── Botões das lojas ────────────────────────────────────────────────────────── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-btn:active {
  transform: translateY(0);
}

/* ── Remove outline azul padrão do navegador ─────────────────────────────────── */
input:focus,
textarea:focus,
select:focus,
button:focus {
  outline: none;
}

/* ── Inputs ──────────────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 0.95rem;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(237, 50, 55, 0.15);
}

/* ── Scrollbar sutil ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── Animação de entrada ─────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.6s ease both; }

/* ── Links — sem sublinhado ──────────────────────────────────────────────────── */
a { text-decoration: none; }

/* ── Rodapé: link BW7 ────────────────────────────────────────────────────────── */
.footer-bw7 {
  color: inherit;
  font-weight: 600;
  transition: color 0.18s ease;
}
.footer-bw7:hover { color: #ffffff; }
