:root{
  --brand-red:#b91c1c;
  --brand-orange:#f59e0b;
  --bg:#f7f7fb;
  --surface:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:rgba(17,24,39,.10);
}

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(245,158,11,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(185,28,28,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), #ffffff);
  color: var(--text);
  min-height: 100vh;
}

.brand-name{
  font-weight: 950;
  letter-spacing: .2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar-actions{ flex-wrap: wrap; }

.navbar-actions .btn{
  white-space: nowrap;
}

.navbar{
  background: rgba(255,255,255,.85)!important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .nav-link, .navbar .navbar-text{ color: rgba(17,24,39,.78)!important; }
.navbar .nav-link:hover{ color: rgba(17,24,39,.95)!important; }

.navbar-brand{
  display:flex; align-items:center; gap:.6rem;
  font-weight:900; letter-spacing:.4px;
  color: rgba(17,24,39,.95)!important;
}

.brand-logo{
  width:40px; height:40px; max-width:40px; max-height:40px;
  object-fit:contain;
  /* logo “limpo” (sem caixa/“modal” ao redor) */
  border-radius:0;
  background: transparent;
  border: none;
  padding:0;
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(17,24,39,.08);
}

.btn-primary{
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  border: none;
}
.btn-primary:hover{ filter: brightness(1.03); }

.btn-outline-light{
  color: rgba(17,24,39,.80);
  border-color: rgba(17,24,39,.18);
}
.btn-outline-light:hover{
  background: rgba(17,24,39,.04);
  border-color: rgba(17,24,39,.22);
  color: rgba(17,24,39,.92);
}

.badge-soft{
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.22);
  color: rgba(120,53,15,.95);
}

.hero{ padding: 28px 0 14px; }
.hero h1{ font-weight: 950; letter-spacing: -0.5px; }
.hero .lead{ color: rgba(17,24,39,.70); }

footer.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
}

footer.site-footer a{ color: rgba(17,24,39,.78); }
footer.site-footer a:hover{ color: rgba(17,24,39,.95); }

@media (max-width: 575px) {
  .navbar-actions{ width: 100%; justify-content: flex-start; }
  .navbar-actions .btn{ flex: 1 1 auto; justify-content: center; }
}

.hero-card{
  border-radius: 18px;
  background:
    radial-gradient(420px 240px at 10% 0%, rgba(245,158,11,.18), transparent 60%),
    radial-gradient(420px 240px at 100% 10%, rgba(185,28,28,.18), transparent 55%),
    var(--surface);
}

.hero-ico{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(185,28,28,.10);
  border: 1px solid rgba(185,28,28,.18);
  color: rgba(120,53,15,.95);
}

.form-control, .form-select, textarea{
  background: #fff!important;
  border: 1px solid rgba(17,24,39,.14)!important;
  color: rgba(17,24,39,.92)!important;
  border-radius: 12px!important;
}
.form-control::placeholder{ color: rgba(107,114,128,.85); }

.table{ color: rgba(17,24,39,.92); }
.table thead th{ color: rgba(17,24,39,.70); border-bottom-color: rgba(17,24,39,.10); }
.table td, .table th{ border-top-color: rgba(17,24,39,.08); }

.auth-wrap{
  min-height: calc(100vh - 76px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px 0;
}
.auth-card{ width: min(520px, 92vw); }

.small-muted{ color: rgba(107,114,128,.92); }

/* ===== Modern UI extras ===== */
.btn{ border-radius: 12px; font-weight: 600; }
.btn-sm{ border-radius: 10px; }
.btn-primary{ box-shadow: 0 10px 22px rgba(185,28,28,.18); }
.btn-primary:active{ transform: translateY(1px); }
.btn-icon{ display:inline-flex; align-items:center; gap:.5rem; }
.kpi{ display:flex; align-items:center; gap:12px; }
.kpi .kpi-ico{
  width:44px; height:44px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.22);
  color: rgba(120,53,15,.95);
  font-size: 20px;
}
.kpi .kpi-val{ font-size: 26px; font-weight: 900; line-height: 1; }
.kpi .kpi-lbl{ color: rgba(107,114,128,.95); font-weight: 600; font-size: 13px; }
.section-title{ font-weight: 950; letter-spacing: -.3px; }
.product-card{ position: relative; overflow: hidden; }
.product-card::before{
  content:"";
  position:absolute; inset:-120px -120px auto auto;
  width:240px; height:240px;
  background: radial-gradient(circle, rgba(245,158,11,.22), transparent 60%);
  transform: rotate(18deg);
}
.product-price{ font-weight: 900; font-size: 22px; }
.feature-list li{ margin-bottom: 6px; color: rgba(17,24,39,.72); }
.feature-list i{ color: rgba(185,28,28,.85); }

/* ===== CORREÇÃO MENU MOBILE ===== */
@media (max-width: 991px) {
  .navbar { background: #ffffff !important; }
  .navbar .nav-link, .navbar .navbar-text { color: #111827 !important; font-weight: 700; }
  .navbar-toggler { border-color: rgba(0,0,0,.25); }
  .navbar-toggler-icon { filter: invert(1); }
  .navbar-actions{ width:100%; justify-content:flex-start; margin-top:10px; }
  .navbar-actions .btn{ flex: 1 1 auto; }
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 40px;
  color: rgba(107,114,128,.95);
}
.site-footer a{ color: rgba(17,24,39,.75); text-decoration: none; }
.site-footer a:hover{ color: rgba(17,24,39,.92); text-decoration: underline; }

.product-icon{
  width: 26px; height: 26px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.18);
  padding: 4px;
  margin-right: .35rem;
  vertical-align: -5px;
}

/* Pix modal (claro) */
.pix-modal .modal-content{
  background:#fff !important;
  color:#111 !important;
  border:0;
  border-radius:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.pix-modal .modal-header{ border-bottom:1px solid rgba(0,0,0,.08); }
.pix-modal .modal-footer{ border-top:1px solid rgba(0,0,0,.08); }
.pix-modal .btn-close{ filter:none; opacity:.8; }

/* Backdrop mais claro */
.modal-backdrop{ background-color: rgba(0,0,0,.35) !important; }

/* Pix modal claro */
.pix-modal .modal-content{
  background:#fff !important;
  color:#111 !important;
  border:0;
  border-radius:18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.pix-modal .modal-header{ background:#fff !important; border-bottom:1px solid rgba(0,0,0,.08); }
.pix-modal .modal-footer{ background:#fff !important; border-top:1px solid rgba(0,0,0,.08); }
.pix-modal textarea, .pix-modal input{ background:#f9fafb !important; color:#111 !important; }
