/* ======================================================
   TEMA CLARO ELEGANTE · PROFISSIONAL · CORPORATE STYLE
   (Base + Index + Ames + Sales)
   ====================================================== */

/* Fundo geral em cinza muito suave */
body {
  background-color: #f5f7fa !important;
  color: #1e293b !important;
  font-family: "Inter", system-ui, sans-serif;
}

/* -------------------------------
   NAVBAR clara e elegante
----------------------------------*/
.navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.navbar-brand {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.navbar .nav-link {
  color: #475569 !important;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
}

.dropdown-menu {
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
}


/* Corrigir toggler */
.navbar-toggler-icon {
  filter: invert(0.2);
}

/* -------------------------------
   CARDS · Painéis
----------------------------------*/
.card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0.8rem;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.05),
    0 0 0 1px rgba(0,0,0,0.03);
}

.card h2,
.card h3 {
  color: #0f172a !important;
}

/* -------------------------------
   TEXTOS
----------------------------------*/
h1, .h1,
h2, .h2,
h3, .h3 {
  color: #0f172a !important;
}

.text-muted,
.muted {
  color: #6b7280 !important;
}

/* -------------------------------
   FORMULÁRIOS (globais)
----------------------------------*/
.form-control,
.form-select,
textarea,
input[type="number"],
input[type="text"],
input[type="date"] {
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #1e293b !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.65rem;
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="date"]:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 0.15rem rgba(14,165,233,0.25) !important;
}

.form-text {
  color: #6b7280 !important;
}

/* -------------------------------
   BOTÕES
----------------------------------*/
.btn-primary,
.button {
  background-color: #0ea5e9 !important;
  border-color: #0ea5e9 !important;
  font-weight: 600;
  color: white !important;
  border-radius: 8px !important;
  padding: 0.45rem 1.2rem !important;
}

.btn-primary:hover {
  background-color: #0284c7 !important;
  border-color: #0284c7 !important;
}

.btn-outline-secondary,
.button.ghost,
.btn-secondary {
  background: transparent !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  border-radius: 8px !important;
}

.btn-outline-secondary:hover,
.button.ghost:hover,
.btn-secondary:hover {
  border-color: #0ea5e9 !important;
  color: #0ea5e9 !important;
  background-color: #f0f9ff !important;
}

/* -------------------------------
   LINKS
----------------------------------*/
a {
  color: #0284c7 !important;
}

a:hover {
  color: #0369a1 !important;
}

/* -------------------------------
   TABELAS
----------------------------------*/
.table {
  color: #1e293b !important;
}

.table thead {
  background: #e2e8f0 !important;
}

.table tbody tr:nth-child(2n) {
  background: #f8fafc !important;
}

/* -------------------------------
   ALERTAS
----------------------------------*/
.alert {
  border-radius: 10px !important;
}

.alert-danger {
  background-color: #fee2e2 !important;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}

/* -------------------------------
   RODAPÉ
----------------------------------*/
.app-footer {
  color: #6b7280 !important;
}

/* -------------------------------
   Animação suave · Fade-in Up
----------------------------------*/
.fade-in-up {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeInUp 0.45s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   INDEX / HERO
   ====================================================== */

.hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.hero p {
  max-width: 640px;
  color: #6b7280;
}

/* Cards usados como botões do index */
.portfolio-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.07);
}

/* ======================================================
   AMES PAGE · PREMIUM STYLE
   ====================================================== */

.ames-page {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.ames-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.ames-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.ames-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.ames-h1 {
  margin: 6px 0 6px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ames-subtitle {
  margin: 0;
  max-width: 860px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.ames-hero-chip {
  margin-top: 2px;
}

.ames-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ames-chip {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.65);
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ames-panel {
  border-radius: 16px !important;
}

.ames-label {
  font-weight: 600;
  color: #475569;
}

.ames-badge {
  border-radius: 999px !important;
  padding: 8px 10px !important;
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.ames-badge-primary {
  background: rgba(14, 165, 233, 0.10) !important;
  color: #0369a1 !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
}

.ames-badge-neutral {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #475569 !important;
}

.ames-kpi {
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden;
}

.ames-kpi .card-body {
  padding: 14px 16px;
}

.ames-kpi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}

.ames-kpi-value {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.ames-kpi-foot {
  margin-top: 6px;
}

.ames-card {
  border-radius: 16px !important;
  padding: 0 !important;
}

.ames-card .card-body {
  padding: 16px 16px;
}

.ames-h2 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.ames-h3 {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.ames-hr {
  border: none;
  height: 1px;
  background: rgba(148, 163, 184, 0.45);
  margin: 14px 0;
}

.ames-test {
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.ames-mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.ames-chart {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.ames-plot {
  width: 100%;
  min-height: 360px;
}

.ames-plot-tall {
  min-height: 560px;
}

.ames-plot-map {
  min-height: 520px;
}

@media (max-width: 992px) {
  .ames-chip-row { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .ames-plot { min-height: 320px; }
  .ames-plot-tall { min-height: 420px; }
}

/* ======================================================
   SALES DASHBOARD · PREMIUM STYLE
   ====================================================== */

.sales-page {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.sales-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.sales-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.sales-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

.sales-h1 {
  margin: 6px 0 6px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sales-subtitle {
  margin: 0;
  max-width: 900px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.5;
}

.sales-hero-chip { margin-top: 2px; }

.sales-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.sales-chip {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.65);
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.sales-panel,
.sales-card {
  border-radius: 16px !important;
  padding: 0 !important;
}

.sales-panel .card-body,
.sales-card .card-body {
  padding: 16px 16px;
}

.sales-label {
  font-weight: 600;
  color: #475569;
}

.sales-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sales-badge {
  border-radius: 999px !important;
  padding: 8px 10px !important;
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.sales-badge-primary {
  background: rgba(14, 165, 233, 0.10) !important;
  color: #0369a1 !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
}

.sales-badge-neutral {
  background: rgba(15, 23, 42, 0.04) !important;
  color: #475569 !important;
}

.sales-hr {
  border: none;
  height: 1px;
  background: rgba(148, 163, 184, 0.45);
  margin: 14px 0;
}

.sales-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 14px;
}

.sales-kpi {
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden;
}

.sales-kpi .card-body {
  padding: 14px 16px;
}

.sales-kpi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}

.sales-kpi-value {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.sales-kpi-foot {
  margin-top: 6px;
}

.sales-mono {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.sales-h2 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.sales-h3 {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.sales-chart {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.sales-plot {
  width: 100%;
  min-height: 360px;
}

/* Preview table */
.sales-table-wrap {
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.sales-table-inner {
  max-height: 340px;
  overflow: auto;
}

.sales-td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Comparison */
.sales-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sales-compare-card {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 12px 14px;
}

.sales-compare-title {
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 8px;
}

.sales-compare-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.sales-compare-kpi:first-of-type { border-top: none; }

/* ======================================================
   INDEX PAGE · PREMIUM HERO + SECTIONS
   (Add-on ao teu tema claro)
   ====================================================== */

.index-page {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Hero premium (mesma linguagem do sales-hero / ames-hero) */
.index-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.index-hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.index-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.index-h1 {
  margin: 6px 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.index-subtitle {
  margin: 0;
  max-width: 820px;
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Chips premium */
.index-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.index-chip {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.70);
  color: #475569;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Cards de "What I deliver" com mini-ícone */
.index-deliver-item {
  display: flex;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.index-deliver-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.10);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: #0369a1;
  flex-shrink: 0;
}

.index-hr {
  border: none;
  height: 1px;
  background: rgba(148, 163, 184, 0.45);
  margin: 14px 0;
}

/* Grid mais estável para os 3 projetos */
.index-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* ======================================================
   INDEX · COLOR ACCENTS (elegant, not flashy)
   Scoped to .index-page to avoid affecting other pages
   ====================================================== */

.index-page {
  --accent: #0ea5e9;      /* sky */
  --accent2: #6366f1;     /* indigo */
  --accent3: #22c55e;     /* green */
  --accent4: #f97316;     /* orange */
  --accent5: #ec4899;     /* pink */
}

/* Give the index a slightly richer background without changing global body */
.index-page .index-hero {
  background:
    radial-gradient(900px 400px at 15% 10%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(900px 420px at 80% 90%, rgba(34,197,94,0.10), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  border-radius: 18px;
}

/* Section title styling (subtle color accent line) */
.index-page .section-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.index-page .section-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* Chips a bit more lively */
.index-page .index-chip {
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(255,255,255,0.75);
  color: #334155;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.index-page .index-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(14,165,233,0.55);
  box-shadow: 0 6px 16px rgba(15,23,42,0.06);
}

/* Add a thin gradient highlight to key cards */
.index-page .accent-card {
  position: relative;
  overflow: hidden;
}

.index-page .accent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}

/* Make project cards more colorful but still elegant */
.index-page a.card.portfolio-card {
  position: relative;
  overflow: hidden;
}

.index-page a.card.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(14,165,233,0.95), rgba(99,102,241,0.95));
}

.index-page a.card.portfolio-card:hover::before {
  background: linear-gradient(90deg, rgba(34,197,94,0.95), rgba(14,165,233,0.95));
}

/* Social icon buttons: slightly richer */
.index-page .social-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px !important;
  border: 1px solid rgba(148,163,184,0.55) !important;
  background: rgba(255,255,255,0.75) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.index-page .social-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(14,165,233,0.55) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

/* Slightly stronger headings for index */
.index-page .index-h1 {
  background: linear-gradient(90deg, #0f172a 0%, #0f172a 50%, rgba(99,102,241,0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* Make the "deliver" items feel like pills/cards */
.index-page .index-deliver-item {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(148,163,184,0.35);
}

.index-page .index-deliver-ico {
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.28);
  color: #0369a1;
  font-weight: 800;
}

/* Small colorful badges */
.index-page .badge-soft {
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(255,255,255,0.7);
}

.index-page .badge-sky {
  background: rgba(14,165,233,0.12);
  border-color: rgba(14,165,233,0.25);
  color: #0369a1;
}

.index-page .badge-indigo {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.22);
  color: #3730a3;
}

.index-page .badge-green {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.22);
  color: #166534;
}

/* ======================================================
   COLOR ACCENTS · AMES / SALES / CLEANER (elegant)
   Scoped by page class to avoid side effects
   ====================================================== */

/* Reusable section head (pill + dot) */
.page-section-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(255,255,255,0.70);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.page-section-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
}

/* Accent top border for important cards */
.accent-card {
  position: relative;
  overflow: hidden;
}
.accent-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(14,165,233,0.95), rgba(99,102,241,0.95), rgba(34,197,94,0.95));
}

/* -------------------------------
   AMES · color + centered headings
----------------------------------*/
.ames-page .ames-hero {
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(900px 420px at 86% 10%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(900px 420px at 82% 92%, rgba(34,197,94,0.10), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
}

.ames-page .ames-hero-title {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.ames-page .ames-chip-row {
  justify-content: center !important;
}

.ames-page .ames-chart {
  border-radius: 16px;
}

.ames-page .ames-test {
  background: rgba(255,255,255,0.75);
}

/* -------------------------------
   SALES · color + centered headings
----------------------------------*/
.sales-page .sales-hero {
  background:
    radial-gradient(900px 420px at 16% 12%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(900px 420px at 86% 10%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(900px 420px at 80% 92%, rgba(249,115,22,0.10), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
}

.sales-page .sales-hero-inner > div:first-child {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.sales-page .sales-chip-row {
  justify-content: center !important;
}

.sales-page .sales-chart {
  border-radius: 16px;
}

/* -------------------------------
   CLEANER · premium look (Bootstrap)
----------------------------------*/
.cleaner-page .cleaner-hero {
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(900px 420px at 86% 10%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(900px 420px at 80% 92%, rgba(34,197,94,0.10), transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 45%, #eef2ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.cleaner-page .cleaner-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.cleaner-page .tabBtn {
  border-radius: 999px !important;
}

.cleaner-page .tabBtn.is-active {
  background: rgba(14,165,233,0.10) !important;
  border-color: rgba(14,165,233,0.35) !important;
  color: #0369a1 !important;
}


@media (max-width: 992px) {
  .index-chip-row { justify-content: flex-start; }
  .index-project-grid { grid-template-columns: 1fr; }
}


@media (max-width: 1200px) {
  .sales-kpi-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 992px) {
  .sales-chip-row { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .sales-kpi-grid { grid-template-columns: 1fr; }
  .sales-compare-grid { grid-template-columns: 1fr; }
  .sales-plot { min-height: 320px; }
}
