/* ==========================================================================
   Zyzz Locação — Style (Bootstrap 5)
   - Tema moderno com variáveis CSS
   - Navbar glassy, cards com hover, botões com gradiente
   - Formulários aprimorados
   - Componentes do Admin (hero + tiles)
   ========================================================================== */

/* ===== Core tokens ===== */
:root{
  --brand: #2563eb;
  --brand-600: #1d4fd8;
  --brand-700: #1e40af;
  --accent: #22c55e;

  --surface: #ffffff;
  --muted: #f3f4f6;
  --text: #0f172a;
  --text-muted: #6b7280;

  --radius: 1rem;
  --shadow: 0 8px 24px rgba(2, 6, 23, .08);
}

/* ===== Base ===== */
html, body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 600px at 50% -10%, #eff6ff 0%, #f8fafc 45%, #f8fafc 100%);
  color: var(--text);
}
a { text-decoration: none; }

/* ===== Navbar ===== */
.navbar {
  --bs-navbar-padding-y: .75rem;
  backdrop-filter: saturate(1.2) blur(6px);
  background: rgba(255,255,255,.85) !important;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.navbar-brand { font-weight: 800; letter-spacing: .3px; color: var(--brand) !important; }
.nav-link { color: #334155 !important; }
.nav-link:hover { color: var(--brand) !important; }

/* ===== Buttons ===== */
.btn { border-radius: .75rem; box-shadow: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-700) 100%) !important;
  border-color: var(--brand-700) !important;
}
.btn-outline-primary { color: var(--brand); border-color: var(--brand); }
.btn-outline-primary:hover { color:#fff; background:var(--brand); border-color:var(--brand); }
.btn:focus { box-shadow: 0 0 0 .15rem rgba(37,99,235,.18) !important; }

/* ===== Headings ===== */
h1,h2,h3,h4,.h1,.h2,.h3,.h4 { letter-spacing: .2px; }

/* ===== Product cards (Home) ===== */
.product-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .2s ease;
  background: var(--surface);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(2,6,23,.10);
}
.product-card .card-img-top { height: 200px; object-fit: cover; }
.product-card .card-title { font-weight: 700; }
.price { font-weight: 800; color: var(--brand-700); }

/* ===== Tables ===== */
.table {
  --bs-table-striped-bg: #f8fafc;
  --bs-table-hover-bg: #f1f5f9;
  border-radius: var(--radius);
  overflow: hidden;
}
.table-sm td, .table-sm th { padding: .65rem .75rem; }

/* ===== Badges ===== */
.badge-status {
  padding: .45rem .6rem;
  border-radius: .75rem;
  font-weight: 600;
  letter-spacing: .2px;
}

/* ===== Forms ===== */
.form-control, .form-select {
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .15rem rgba(37, 99, 235, .15);
}
label.form-label { font-weight: 600; color: #334155; }

/* ===== Footer ===== */
footer { font-size: .95rem; color: var(--text-muted); }

/* ===== Hero bar (home/qualquer página) ===== */
.hero-bar {
  background: linear-gradient(90deg, rgba(37,99,235,.12) 0%, rgba(34,197,94,.10) 100%);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ===== Utilities ===== */
.shadow-soft { box-shadow: var(--shadow); }
.rounded-xl { border-radius: var(--radius); }
.text-muted { color: var(--text-muted) !important; }
.quantity-input { max-width: 120px; }

/* ===== Cart / Pedido ===== */
.summary dt { color: #475569; }
.summary dd { font-weight: 700; }

/* ==========================================================================
   ADMIN — Painel (hero + tiles)
   ========================================================================== */
.hero-admin{
  background: linear-gradient(120deg, rgba(37,99,235,.10), rgba(34,197,94,.08));
  border: 1px solid rgba(37,99,235,.16);
}
.tile-admin .tile-admin-body{
  border: 1px solid rgba(2,6,23,.06);
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile-admin:hover .tile-admin-body{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(2,6,23,.12);
  border-color: rgba(37,99,235,.25);
}
.tile-admin .tile-icon{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(37,99,235,.10);
  color: var(--brand-700); font-size: 1.15rem;
}

/* ==========================================================================
   Optional theming overrides (copy to theme.css if prefer separate file)
   ========================================================================== */
/* :root{
   --brand: #7c3aed;
   --brand-600: #6d28d9;
   --brand-700: #5b21b6;
   --accent: #10b981;
} */

/* ===== Footer estilo “LocaFesta” ===== */
.site-footer{
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color:#0f172a;
  border-top:1px solid #eef2f7;
}
.site-footer .footer-muted{ color:#667085; }
.site-footer .footer-divider{ border-color:#e7edf6; opacity:1; }

/* Logo quadradinho arredondado */
.site-footer .footer-logo-pill{
  width:54px; height:54px; border-radius:16px;
  background:#e5efff; color:#3b82f6; font-size:1.3rem;
  box-shadow: 0 6px 18px rgba(59,130,246,.25);
}

/* Ícones em pill suave */
.site-footer .icon-pill{
  width:44px; height:44px; border-radius:12px;
  background:#eef4ff; color:#3b82f6;
  display:inline-flex; align-items:center; justify-content:center;
  box-shadow: 0 4px 12px rgba(59,130,246,.15);
}

/* Links com marcadores discretos */
.site-footer .footer-links li a{
  color:#0f172a;
}
.site-footer .footer-links li a:hover{
  color:#3b82f6;
}
.site-footer .footer-links li{
  position:relative; padding-left:1rem;
}
.site-footer .footer-links li::before{
  content:"•"; position:absolute; left:0; top:0; color:#9aa4b2;
  line-height:1.2;
}

/* Botão WhatsApp */
.site-footer .footer-wa{
  border-radius:12px;
  box-shadow: 0 10px 24px rgba(16,185,129,.20);
}

/* Responsividade */
@media (max-width: 576px){
  .site-footer .footer-logo-pill{ width:48px; height:48px; font-size:1.15rem; }
}

