/* ================================================
   DIAMANTE BLACK — GALVÃO CORTES
   Sistema de assinaturas premium
   ================================================ */

:root {
  /* Paleta */
  --bg-0: #07070a;
  --bg-1: #0d0d11;
  --bg-2: #131318;
  --bg-3: #1b1b22;
  --surface: #16161c;
  --surface-elev: #1e1e26;
  --line: #26262f;
  --line-soft: #1f1f27;

  --text: #f5f5f7;
  --text-2: #c9c9d1;
  --text-3: #8a8a96;
  --text-4: #5a5a66;

  /* Dourado (gold) */
  --gold: #d4af37;
  --gold-2: #e8c766;
  --gold-3: #b8941f;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-line: rgba(212, 175, 55, 0.28);

  /* Estados */
  --danger: #e63946;
  --danger-soft: rgba(230, 57, 70, 0.14);
  --danger-line: rgba(230, 57, 70, 0.35);
  --warning: #f4a261;
  --warning-soft: rgba(244, 162, 97, 0.12);
  --success: #6dc78a;
  --success-soft: rgba(109, 199, 138, 0.12);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.55);
  --shadow-gold: 0 6px 24px rgba(212, 175, 55, 0.25);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sidebar-w: 260px;
  --topbar-h: 76px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(212,175,55,0.05), transparent 60%),
    radial-gradient(800px 500px at -10% 100%, rgba(212,175,55,0.04), transparent 60%),
    var(--bg-0);
  min-height: 100vh;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 100%; height: 100%; }
img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #353541; }

/* ================================================
   SIDEBAR
   ================================================ */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #0a0a0e 0%, #08080b 100%);
  border-right: 1px solid var(--line-soft);
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 10px 28px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 22px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.brand-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
  font-weight: 500;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  color: var(--text-3);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  position: relative;
  text-align: left;
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-item:hover {
  background: var(--bg-2);
  color: var(--text);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(212,175,55,0.15) 0%, rgba(212,175,55,0.05) 100%);
  color: var(--gold-2);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  background: var(--gold);
  border-radius: 0 4px 4px 0;
}

.sidebar-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-3) 100%);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.user-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}
.user-info span {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.3px;
}

/* ================================================
   MAIN
   ================================================ */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding-bottom: 40px;
}

/* TOPBAR */
.topbar {
  height: var(--topbar-h);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(13, 13, 17, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }

.page-title h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  line-height: 1.1;
}
.page-title p {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.3px;
  margin-top: 3px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  width: 280px;
  transition: all 0.2s;
}
.search-box:focus-within {
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.search-box svg { width: 16px; height: 16px; color: var(--text-3); flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text);
}
.search-box input::placeholder { color: var(--text-3); }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  display: grid;
  place-items: center;
  transition: all 0.2s;
  position: relative;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--bg-3); color: var(--gold-2); border-color: var(--gold-line); }

.notif-dot {
  position: absolute;
  top: 9px; right: 9px;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--bg-2);
  display: none;
}
.notif-dot.show { display: block; animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.mobile-only { display: none; }

/* PAGE CONTAINER */
.page-container { padding: 32px 36px; }

.page { display: none; animation: fadeUp 0.45s ease; }
.page.active { display: block; }

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

/* ================================================
   STATS GRID
   ================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.stat-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: #303039;
  box-shadow: var(--shadow-md);
}

.stat-card.highlight {
  background:
    radial-gradient(150% 80% at 100% 0%, rgba(212,175,55,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border-color: var(--gold-line);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-2);
  flex-shrink: 0;
}
.stat-icon svg { width: 20px; height: 20px; }
.stat-icon.gold {
  background: var(--gold-soft);
  border-color: var(--gold-line);
  color: var(--gold-2);
}
.stat-icon.warning {
  background: var(--warning-soft);
  border-color: rgba(244,162,97,0.3);
  color: var(--warning);
}

.stat-info { flex: 1; min-width: 0; }
.stat-label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 6px;
}
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.3px;
}
.stat-meta {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--text-3);
}
.trend {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  margin-right: 4px;
}
.trend.up { background: var(--success-soft); color: var(--success); }
.trend.down { background: var(--danger-soft); color: var(--danger); }

/* ================================================
   SECTION HEADER
   ================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
}
.section-sub {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 3px;
  letter-spacing: 0.2px;
}

.section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.pill {
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 999px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.pill:hover { color: var(--text); }
.pill.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-3) 100%);
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(212,175,55,0.3);
}

/* Botões */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-3) 100%);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.4);
  filter: brightness(1.05);
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  padding: 10px 18px;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--bg-2); color: var(--text); border-color: #353541; }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger-line);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}
.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}
.btn-danger svg { width: 16px; height: 16px; }

/* ================================================
   CLIENTS GRID
   ================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.client-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-lg);
}
.client-card:hover::before { opacity: 1; }

.client-card.expired {
  border-color: rgba(230,57,70,0.25);
}
.client-card.expired:hover {
  border-color: var(--danger-line);
}

.cc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.cc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--gold-line);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-family: var(--font-display);
  flex-shrink: 0;
  position: relative;
}
.cc-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), transparent);
  opacity: 0.15;
  z-index: -1;
}

.cc-name-wrap { flex: 1; min-width: 0; }
.cc-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-plan {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-2);
  font-weight: 600;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.status-badge.active {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(109,199,138,0.25);
}
.status-badge.active::before { background: var(--success); box-shadow: 0 0 6px var(--success); }

.status-badge.expired {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid var(--danger-line);
}
.status-badge.expired::before { background: var(--danger); box-shadow: 0 0 6px var(--danger); }

.status-badge.soon {
  background: var(--warning-soft);
  color: var(--warning);
  border: 1px solid rgba(244,162,97,0.3);
}
.status-badge.soon::before { background: var(--warning); }

.cc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 18px;
}
.cc-meta-item span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.cc-meta-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}
.cc-meta-item.danger strong { color: var(--danger); }

/* Indicador de cortes (4 círculos) */
.cuts-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cuts-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  font-weight: 600;
}
.cuts-count {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-2);
}
.cuts-dots {
  display: flex;
  gap: 8px;
}
.cut-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  position: relative;
  transition: all 0.3s ease;
}
.cut-dot.filled {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-3) 100%);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}
.cut-dot.filled::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.5), transparent 60%);
}

.cc-actions {
  display: flex;
  gap: 8px;
}
.cc-actions .btn-primary,
.cc-actions .btn-ghost,
.cc-actions .btn-danger {
  flex: 1;
  justify-content: center;
  padding: 11px;
  font-size: 12.5px;
}

/* ================================================
   TABELA DE CLIENTES
   ================================================ */
.clients-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  overflow-x: auto;
}

.clients-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.clients-table thead th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 600;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.clients-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--text-2);
  vertical-align: middle;
}

.clients-table tbody tr {
  transition: background 0.15s;
  cursor: pointer;
}
.clients-table tbody tr:hover { background: var(--bg-2); }
.clients-table tbody tr:last-child td { border-bottom: none; }

.tbl-client {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tbl-client .cc-avatar {
  width: 38px;
  height: 38px;
  font-size: 13px;
}
.tbl-client strong {
  display: block;
  color: var(--text);
  font-size: 13.5px;
}
.tbl-client span {
  font-size: 11.5px;
  color: var(--text-3);
}

.mini-cuts {
  display: flex;
  gap: 4px;
  align-items: center;
}
.mini-cuts .cut-dot {
  width: 12px; height: 12px;
  border-width: 1px;
}
.mini-cuts .cut-dot.filled::after { display: none; }

/* ================================================
   AGENDA
   ================================================ */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  transition: all 0.2s;
}
.agenda-item:hover {
  border-color: var(--gold-line);
  transform: translateX(4px);
}

.agenda-date {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
  border-right: 1px solid var(--line-soft);
  padding-right: 18px;
}
.agenda-date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-2);
  font-weight: 600;
  line-height: 1;
}
.agenda-date span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-top: 4px;
  font-weight: 600;
}

.agenda-info { flex: 1; min-width: 0; }
.agenda-info h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}
.agenda-info p {
  font-size: 12px;
  color: var(--text-3);
}

/* ================================================
   RELATÓRIOS
   ================================================ */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.report-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.report-card.large {
  grid-column: span 2;
  grid-row: span 2;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(212,175,55,0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border-color: var(--gold-line);
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.report-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 600;
}
.report-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.report-badge.gold {
  background: var(--gold-soft);
  color: var(--gold-2);
  border: 1px solid var(--gold-line);
}

.report-value {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
  line-height: 1;
  margin-top: 8px;
}
.report-card.large .report-value {
  font-size: 48px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.report-value.danger { color: var(--danger); }

.report-meta {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
}

.progress {
  margin-top: 16px;
  height: 6px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.progress.danger span {
  background: linear-gradient(90deg, var(--danger) 0%, #ff6b75 100%);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 30px;
  height: 140px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold-3) 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  min-height: 14px;
  opacity: 0.85;
  transition: all 0.3s;
}
.bar:hover { opacity: 1; }
.bar span {
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================================
   ÁREA DO CLIENTE
   ================================================ */
.client-portal {
  max-width: 720px;
  margin: 0 auto;
}

.portal-header {
  text-align: center;
  padding: 28px 0 32px;
}
.portal-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-2);
  border: 1px solid var(--gold-line);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 14px;
}
.portal-header h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.portal-header p {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 18px;
}
.portal-select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  cursor: pointer;
  outline: none;
}
.portal-select:focus { border-color: var(--gold-line); }

.portal-card {
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(212,175,55,0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.pc-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 24px;
}
.pc-top .cc-avatar { width: 64px; height: 64px; font-size: 20px; }
.pc-top h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pc-top .plan-line {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-2);
  font-weight: 600;
}

.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.pc-item {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 14px;
}
.pc-item span {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 6px;
}
.pc-item strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.pc-history h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 12px;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.history-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.history-item .dot.renew { background: var(--success); }
.history-item span { color: var(--text-3); margin-left: auto; }

.portal-expired-msg {
  background: var(--danger-soft);
  border: 1px solid var(--danger-line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: var(--danger);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.portal-expired-msg svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ================================================
   MODALS
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}
.modal-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: linear-gradient(180deg, var(--surface-elev) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
.modal-lg { max-width: 720px; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: var(--surface-elev);
  z-index: 2;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.modal-head p {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
}

.modal-body {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-3);
  font-weight: 600;
}
.field input,
.field select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.field input:focus,
.field select:focus {
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field input::placeholder { color: var(--text-4); }

.modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

/* Detalhes do cliente */
.det-head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(120% 80% at 0% 0%, rgba(212,175,55,0.06), transparent 60%);
}
.det-head .cc-avatar { width: 70px; height: 70px; font-size: 22px; }
.det-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 4px;
}
.det-head .phone {
  color: var(--text-3);
  font-size: 13px;
  margin-bottom: 8px;
}

.det-body { padding: 24px 28px 28px; }
.det-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.det-grid .pc-item strong { font-size: 16px; }

.det-section {
  margin-bottom: 22px;
}
.det-section h5 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 10px;
}

.det-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.det-actions button { flex: 1; min-width: 130px; justify-content: center; }

/* ================================================
   DRAWER NOTIFICAÇÕES
   ================================================ */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.drawer.open { transform: translateX(0); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }

.drawer-head {
  padding: 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}
.drawer-head p {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 3px;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notif-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: all 0.2s;
}
.notif-card:hover { background: var(--bg-3); }
.notif-card.danger { border-left-color: var(--danger); }
.notif-card.warning { border-left-color: var(--warning); }
.notif-card.success { border-left-color: var(--success); }

.notif-card h6 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.notif-card p {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}
.notif-card .time {
  font-size: 10.5px;
  color: var(--text-4);
  margin-top: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.notif-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
  font-size: 13px;
}

/* ================================================
   TOAST
   ================================================ */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--surface-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: var(--shadow-md);
  animation: toastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.toast.danger { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--success); }
.toast.warning { border-left-color: var(--warning); }

.toast-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-2);
  flex-shrink: 0;
}
.toast.danger .toast-icon { background: var(--danger-soft); color: var(--danger); }
.toast.success .toast-icon { background: var(--success-soft); color: var(--success); }
.toast.warning .toast-icon { background: var(--warning-soft); color: var(--warning); }
.toast-icon svg { width: 18px; height: 18px; }

.toast strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}
.toast p {
  font-size: 12px;
  color: var(--text-3);
}

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ================================================
   BOTTOM NAV (Mobile)
   ================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  z-index: 90;
}

.bn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  color: var(--text-3);
  transition: color 0.2s;
}
.bn-item svg { width: 22px; height: 22px; }
.bn-item span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.bn-item.active { color: var(--gold-2); }

.bn-center { margin-top: -22px; }
.bn-fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-3) 100%);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(212,175,55,0.4);
  margin-bottom: 4px;
}
.bn-fab svg { width: 22px; height: 22px; }
.bn-center span { color: var(--gold-2); }

/* ================================================
   RESPONSIVO
   ================================================ */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .report-card.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 1024px) {
  :root { --sidebar-w: 220px; }
  .topbar { padding: 0 24px; }
  .page-container { padding: 28px 24px; }
  .search-box { width: 220px; }
}

@media (max-width: 860px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
    z-index: 200;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 30px 0 60px rgba(0,0,0,0.5); }
  .main { margin-left: 0; padding-bottom: 90px; }
  .mobile-only { display: grid; }
  .bottom-nav { display: flex; }
  .topbar { padding: 0 16px; height: 64px; }
  .page-title h2 { font-size: 20px; }
  .page-title p { display: none; }
  .search-box { display: none; }
  .page-container { padding: 22px 16px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-value { font-size: 24px; }
  .reports-grid { grid-template-columns: 1fr; }
  .report-card.large { grid-column: span 1; }
  .section-header { flex-direction: column; align-items: stretch; gap: 14px; }
  .section-actions { justify-content: space-between; }
  .filter-pills { flex: 1; overflow-x: auto; }
  .clients-grid { grid-template-columns: 1fr; }
  .drawer { width: 100%; max-width: 380px; }
  .modal-body { grid-template-columns: 1fr; padding: 20px; }
  .modal-head { padding: 20px; }
  .det-grid { grid-template-columns: 1fr 1fr; }
  .pc-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .topbar { padding: 0 14px; }
  .page-container { padding: 18px 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; gap: 10px; }
  .stat-icon { width: 36px; height: 36px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 10px; }
  .stat-meta { font-size: 10.5px; }
  .client-card { padding: 18px; }
  .cc-meta { gap: 10px; }
  .cuts-dots { gap: 6px; }
  .cut-dot { width: 18px; height: 18px; }
  .portal-header h3 { font-size: 26px; }
  .portal-card { padding: 22px; }
  .pc-grid { grid-template-columns: 1fr; }
  .det-grid { grid-template-columns: 1fr; }
  .det-head { padding: 20px; gap: 14px; }
  .det-head .cc-avatar { width: 56px; height: 56px; }
  .det-head h3 { font-size: 20px; }
  .det-body { padding: 20px; }
  .toast-stack { left: 14px; right: 14px; bottom: 84px; }
  .toast { min-width: 0; max-width: none; }
  .filter-pills { width: 100%; }
  .pill { padding: 7px 11px; font-size: 11.5px; flex: 1; text-align: center; }
  .modal { border-radius: var(--r-lg); }
  .agenda-item { padding: 14px; gap: 14px; }
  .agenda-date { width: 50px; padding-right: 12px; }
  .agenda-date strong { font-size: 22px; }
}

@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 22px; }
  .cuts-dots { gap: 5px; }
  .cut-dot { width: 16px; height: 16px; }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #08090b;
  color: #f7f3ea;
  font-family: Arial, Helvetica, sans-serif;
}

.app {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 96px;
  background:
    radial-gradient(circle at top right, rgba(212, 164, 74, 0.15), transparent 32%),
    linear-gradient(180deg, #101113 0%, #08090b 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow {
  color: #d4a44a;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  font-size: 28px;
  margin-top: 4px;
  letter-spacing: 1px;
}

.status-pill {
  padding: 8px 14px;
  border: 1px solid rgba(212, 164, 74, 0.55);
  border-radius: 999px;
  color: #d4a44a;
  background: rgba(212, 164, 74, 0.09);
  font-size: 14px;
  font-weight: 700;
}

.hero-card,
.progress-card,
.history-card,
.alert-card,
.info-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(28, 29, 32, 0.92);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  margin-bottom: 16px;
}

.hello {
  color: #d4a44a;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.muted {
  color: #b8b8b8;
  line-height: 1.5;
}

.diamond {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f1c66d, #a87623);
  display: grid;
  place-items: center;
  color: #111;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 12px 35px rgba(212, 164, 74, 0.35);
}

.progress-card,
.history-card,
.alert-card {
  padding: 22px;
  margin-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title h3 {
  font-size: 18px;
}

.section-title span {
  color: #d4a44a;
  font-weight: 700;
  font-size: 14px;
}

.cuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.cut {
  height: 64px;
  border-radius: 20px;
  border: 1px solid rgba(212, 164, 74, 0.7);
  display: grid;
  place-items: center;
  color: #d4a44a;
  font-weight: 900;
  font-size: 22px;
}

.cut.done {
  background: linear-gradient(135deg, #f1c66d, #b7812d);
  color: #111;
  box-shadow: 0 10px 24px rgba(212, 164, 74, 0.28);
}

.progress-line {
  width: 100%;
  height: 10px;
  background: #111214;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.progress-line div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d4a44a, #f1d18a);
  border-radius: inherit;
  transition: width 0.4s ease;
}

.center {
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.info-card {
  padding: 18px;
}

.info-card span {
  display: block;
  color: #9e9e9e;
  font-size: 13px;
  margin-bottom: 8px;
}

.info-card strong {
  font-size: 16px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 14px;
}

.timeline-item > span {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: #d4a44a;
  box-shadow: 0 0 0 6px rgba(212, 164, 74, 0.12);
}

.timeline-item strong {
  display: block;
  margin-bottom: 4px;
}

.timeline-item p {
  color: #a8a8a8;
  font-size: 14px;
}

.alert-card h3 {
  margin-bottom: 8px;
}

.alert-card p {
  color: #b8b8b8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.alert-card a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #111;
  background: linear-gradient(135deg, #f1c66d, #b7812d);
  padding: 15px;
  border-radius: 18px;
  font-weight: 900;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(17, 18, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.bottom-nav button {
  border: none;
  background: transparent;
  color: #9e9e9e;
  font-weight: 700;
  font-size: 13px;
}

.bottom-nav button.active {
  color: #d4a44a;
}

@media (max-width: 425px) {
  .app {
    padding: 20px 14px 92px;
  }

  h1 {
    font-size: 23px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-card h2 {
    font-size: 21px;
  }

  .diamond {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 20px;
  }

  .cuts {
    gap: 10px;
  }

  .cut {
    height: 56px;
    border-radius: 18px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .app {
    max-width: 760px;
    padding-inline: 28px;
  }

  .bottom-nav {
    max-width: 760px;
  }

  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}