:root {
  --bs-body-bg: #ffffff;
  --bs-body-color: #212529;
  --muted: #6c757d;

  /* Cor principal = chumbo */
  --bs-primary: #3a3a3a;
  --bs-primary-rgb: 58,58,58;
}

html, body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}

.bg-gradient {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-bottom: 1px solid #edf2f7;
}

.card { background: #fff; }

.feature-light { opacity: .95; }

.pricing-card .price {
  font-size: 1.9rem;
  font-weight: 800;
}

.rounded-4 { border-radius: 1rem !important; }

/* Footer year helper */
#year::before { content: attr(data-year); }

/* ======================
   NAVBAR
====================== */
.navbar {
  min-height: 56px !important;
  padding: 0 !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.navbar-brand img {
  max-height: 38px !important;
  height: auto !important;
  width: auto !important;
}

.navbar-nav {
  gap: 12px;
}

.navbar-nav .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 56px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

/* Media query: tablets (iPad etc.) */
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 6px;
  }
  .navbar-nav .nav-link {
    font-size: 0.85rem !important;
    line-height: 48px !important;
  }
}

/* ======================
   BOTÕES
====================== */
.btn-primary {
  background-color: #3a3a3a !important;
  border-color: #3a3a3a !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #2e2e2e !important;
  border-color: #2e2e2e !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: #3a3a3a !important;
  border: 2px solid #3a3a3a !important;
}

.btn-outline-primary:hover {
  background-color: #3a3a3a !important;
  border-color: #3a3a3a !important;
  color: #fff !important;
}

/* ======================
   NAV PILLS (abas)
====================== */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #3a3a3a !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: .5rem;
}

.nav-pills .nav-link {
  color: #3a3a3a !important;
}

.nav-pills .nav-link:hover {
  background-color: #e9ecef !important;
}

/* ======================
   BADGES
====================== */
.badge.bg-primary {
  background-color: #3a3a3a !important;
  border: 1px solid #2e2e2e !important;
  color: #fff !important;
}

.badge-soft {
  background-color: #f1f1f1 !important;
  border: 1px solid #ddd !important;
  color: #3a3a3a !important;
}

/* ======================
   PRICING CARDS
====================== */
.pricing-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: #212121;
  margin-bottom: 1rem;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card ul li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #444;
  border-bottom: 1px dashed #e5e5e5;
}

.pricing-card ul li:last-child {
  border-bottom: none;
}

.pricing-card .badge {
  background: #f1f1f1 !important;
  color: #3a3a3a !important;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50rem;
  padding: 4px 10px;
  border: 1px solid #ddd !important;
}

.pricing-card .btn-primary {
  background: #3a3a3a !important;
  border: none !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 0.5rem;
  padding: 10px;
  transition: all 0.2s ease-in-out;
}

.pricing-card .btn-primary:hover {
  background: #2a2a2a !important;
  transform: scale(1.03);
}

.pricing-card .btn-outline-primary {
  border: 2px solid #3a3a3a !important;
  color: #3a3a3a !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 10px;
  transition: all 0.2s ease-in-out;
}

.pricing-card .btn-outline-primary:hover {
  background: #3a3a3a !important;
  color: #fff !important;
}

/* ======================
   BANNERS (Trial + Cookies)
====================== */
.trial-banner {
  background: #3a3a3a;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 15px;
  border-bottom: 1px solid #2a2a2a;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.trial-banner a.btn {
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 14px;
}

.trial-banner .btn-close {
  filter: invert(1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #3a3a3a;
  color: #fff;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  z-index: 1050;
}

.cookie-banner a {
  color: #0d6efd;
  text-decoration: underline;
}

.cookie-banner button {
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 12px;
}

/* ======================
   TEXT PAGES (Privacy & Terms)
====================== */
.privacy-page h1,
.terms-page h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.privacy-page h2,
.terms-page h2 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.privacy-page p,
.privacy-page li,
.terms-page p,
.terms-page li {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

/* ======================
   STATUS PAGE
====================== */
.status-page h1 {
  font-size: 1.8rem;
}

.status-page h2 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.status-page p,
.status-page li,
.status-page table {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #555;
}

/* Cards principais (Network/DC/Update) */
.status-page .status-card {
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.status-page .status-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.status-page .status-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.status-page .status-card p {
  font-size: 0.85rem;
  margin: 0;
}

/* Cards regionais */
.status-page #regionStatus .card {
  border-radius: 0.75rem;
  border: 1px solid #eee;
  background: #fff;
  padding: 1rem;
  text-align: center;
  transition: transform .2s ease;
}

.status-page #regionStatus .card:hover {
  transform: scale(1.03);
}

.status-page #regionStatus .card h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

/* Histórico */
.status-page #statusHistory {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 0.5rem;
  padding: 1rem;
}

.status-page #statusHistory li {
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.status-page #statusHistory li:last-child {
  border-bottom: none;
}

.status-page .card a.btn {
  min-width: 140px;   /* garante largura mínima igual */
  font-weight: 600;
}
