/* ============================================================
   FlyMind — Design System v2
   Fonte: Space Grotesk (Google Fonts)
   Temas: azul · noturno · verde · roxo · ambar
   ============================================================ */

/* ── 1. Variáveis de tema ────────────────────────────────── */

/* Azul — Navy profundo (padrão) */
:root {
  --p:        #3B82F6;
  --p-hover:  #2563EB;
  --p-soft:   rgba(59,130,246,.12);
  --p-light:  #93C5FD;

  --bg:       #07101F;
  --bg-card:  #0E1C30;
  --bg-side:  #050D18;
  --border:   #1A2E48;
  --border-s: #102038;

  --txt:      #DDE9F8;
  --txt-dim:  #6B8BAE;
  --txt-faint:#2D4460;

  --green:    #34D399;
  --green-s:  rgba(52,211,153,.11);
  --red:      #F87171;
  --red-s:    rgba(248,113,113,.11);
  --yellow:   #FBBF24;
  --yellow-s: rgba(251,191,36,.11);

  --grid-dot: rgba(59,130,246,.09);

  --side-w:   248px;
  --side-w-c: 64px;
  --tr:       .2s ease;
  --radius:   12px;
}

/* Azul Claro — modo dia */
[data-tema="claro"] {
  --p:        #2563EB;
  --p-hover:  #1D4ED8;
  --p-soft:   rgba(37,99,235,.10);
  --p-light:  #1E40AF;

  --bg:       #F0F4F8;
  --bg-card:  #FFFFFF;
  --bg-side:  #E8EEF6;
  --border:   #D1DCF0;
  --border-s: #E2EAF4;

  --txt:      #0F172A;
  --txt-dim:  #475569;
  --txt-faint:#94A3B8;

  --green:    #059669;
  --green-s:  rgba(5,150,105,.12);
  --red:      #DC2626;
  --red-s:    rgba(220,38,38,.12);
  --yellow:   #D97706;
  --yellow-s: rgba(217,119,6,.12);

  --grid-dot: rgba(37,99,235,.06);
}

/* ── 2. Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: var(--p-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── 3. Padrão de fundo (grade de pontos) ────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--grid-dot) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ── 4. Layout principal ─────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── 5. Sidebar ──────────────────────────────────────────── */
.sidebar {
  width: var(--side-w);           /* expandida por padrão */
  background: var(--bg-side);
  border-right: 1px solid var(--border-s);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: width .25s ease;
  overflow: hidden;
}

/* Estado retraído */
.sidebar.collapsed { width: var(--side-w-c); }

/* ── Logo ── */
.sidebar-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border-s);
  flex-shrink: 0;
}

.sidebar-logo-img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 1;
  transition: opacity .2s ease, max-width .25s ease;
}
.sidebar.collapsed .sidebar-logo-img {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
}

.sidebar-logo-link { display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.sidebar-logo-link:hover .sidebar-logo-img { opacity: .8; }

/* Botão toggle — absoluto para não deslocar a logo */
.sidebar-toggle {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--txt-dim);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: color var(--tr), border-color var(--tr);
  outline: none;
}
.sidebar-toggle:hover { color: var(--txt); border-color: var(--p); }
.sidebar-toggle svg { width: 15px; height: 15px; transition: transform .25s ease; }
/* Expandido: seta aponta para esquerda (retrair) */
.sidebar-toggle svg { transform: rotate(0deg); }
/* Retraído: seta aponta para direita (expandir) */
.sidebar.collapsed .sidebar-toggle svg { transform: rotate(180deg); }

/* ── Perfil ── */
.sidebar-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem 1.25rem;
  border-bottom: 1px solid var(--border-s);
  text-align: center;
  gap: .3rem;
  flex-shrink: 0;
  overflow: hidden;
  transition: padding .25s;
}
.sidebar.collapsed .sidebar-profile { padding: .875rem .5rem; }

.sidebar-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--p);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  transition: width .25s, height .25s, font-size .25s;
}
.sidebar.collapsed .sidebar-avatar {
  width: 32px; height: 32px;
  font-size: .82rem;
}
.sidebar-avatar-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.sidebar-avatar-emoji {
  font-size: 1.5rem;
  line-height: 1;
}
.sidebar.collapsed .sidebar-avatar-emoji { font-size: 1rem; }

.sidebar-profile-name {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--txt);
  white-space: nowrap;
  transition: opacity .2s, max-height .25s;
  max-height: 2rem;
  opacity: 1;
}
.sidebar-profile-email {
  font-size: .7rem;
  color: var(--txt-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  transition: opacity .2s, max-height .25s;
  max-height: 2rem;
  opacity: 1;
}
.sidebar.collapsed .sidebar-profile-name,
.sidebar.collapsed .sidebar-profile-email {
  max-height: 0;
  opacity: 0;
}

/* ── Nav ── */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: .875rem 0;
}
.sidebar-nav::-webkit-scrollbar { width: 2px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.nav-section-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--txt-faint);
  padding: .875rem 1.125rem .3rem;
  white-space: nowrap;
  transition: opacity .2s ease, max-height .25s ease;
  max-height: 2rem;
  opacity: 1;
  overflow: hidden;
}
.sidebar.collapsed .nav-section-label {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 1rem;
  margin: .1rem .625rem;
  border-radius: 9px;
  color: var(--txt-dim);
  font-size: .85rem;
  font-weight: 500;
  transition: all var(--tr);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
  width: calc(100% - 1.25rem);
  text-align: left;
  text-decoration: none;
}
.sidebar.collapsed .nav-link {
  padding: .75rem;
  justify-content: center;
}

.nav-link svg { width: 17px; height: 17px; flex-shrink: 0; stroke-width: 1.8; }

.nav-link span {
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity .2s ease, max-width .25s ease;
  max-width: 160px;
}
.sidebar.collapsed .nav-link span { max-width: 0; opacity: 0; }

.nav-link:hover {
  color: var(--txt);
  background: var(--p-soft);
  text-decoration: none;
}
.nav-link.active {
  color: var(--p-light);
  background: var(--p-soft);
  font-weight: 600;
}

/* ── Footer ── */
.sidebar-footer {
  padding: .875rem;
  border-top: 1px solid var(--border-s);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* Tema toggle */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .3rem .25rem;
}

.theme-toggle-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--txt-dim);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
  flex-shrink: 0;
  outline: none;
}
.theme-toggle-btn:hover { color: var(--txt); border-color: var(--p); }
.theme-toggle-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* Ícones de tema: mostra o DESTINO ao clicar */
.icon-moon { display: none; }
[data-tema="claro"] .icon-moon { display: block; }
[data-tema="claro"] .icon-sun  { display: none; }

.theme-toggle-lbl {
  font-size: .78rem;
  color: var(--txt-dim);
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity .2s, max-width .25s;
  max-width: 120px;
}
.sidebar.collapsed .theme-toggle-lbl { max-width: 0; opacity: 0; }

/* Logout */
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .625rem;
  border-radius: 8px;
  color: var(--txt-dim);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.sidebar-logout:hover { color: var(--txt); border-color: var(--txt-dim); text-decoration: none; }
.sidebar-logout svg { width: 15px; height: 15px; flex-shrink: 0; }
.logout-txt {
  white-space: nowrap;
  overflow: hidden;
  opacity: 1;
  transition: opacity .2s, max-width .25s;
  max-width: 100px;
}
.sidebar.collapsed .sidebar-logout { justify-content: center; }
.sidebar.collapsed .logout-txt { max-width: 0; opacity: 0; }

/* ── 6. Conteúdo principal ───────────────────────────────── */
.main-content {
  flex: 1;
  margin-left: var(--side-w);     /* segue a sidebar expandida por padrão */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left .25s ease;
  position: relative;
  z-index: 1;
}
.sidebar.collapsed ~ .main-content { margin-left: var(--side-w-c); }

.page-header {
  padding: 1.75rem 2.25rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.page-title   { font-size: 1.3rem; font-weight: 700; letter-spacing: -.4px; }
.page-sub     { font-size: .82rem; color: var(--txt-dim); margin-top: .2rem; }

.page-body { padding: 1.5rem 2.25rem 2.5rem; flex: 1; }

/* ── 7. Cards ────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card-sm { padding: .875rem 1rem; }
.card-lg { padding: 1.75rem; }

/* ── 8. Botões ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -.1px;
  font-family: inherit;
}

.btn-primary { background: var(--p); color: #fff; }
.btn-primary:hover { background: var(--p-hover); transform: translateY(-1px); box-shadow: 0 4px 16px var(--p-soft); }

.btn-ghost {
  background: transparent;
  color: var(--txt-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--txt); border-color: var(--txt-dim); }
.btn-full { width: 100%; justify-content: center; }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #DC2626; }

.btn-success { background: var(--green); color: #1a1a1a; font-weight: 700; }

.btn-sm { padding: .35rem .75rem; font-size: .78rem; border-radius: 6px; }
.btn-lg { padding: .75rem 1.75rem; font-size: 1rem; border-radius: 10px; }

.btn:disabled { opacity: .38; cursor: not-allowed; }
.btn:disabled:hover { transform: none; box-shadow: none; }

/* ── 9. Formulários ──────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .375rem; }

.form-label {
  font-size: .775rem;
  font-weight: 600;
  color: var(--txt-dim);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.form-input, .form-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .65rem .875rem;
  color: var(--txt);
  font-family: inherit;
  font-size: .875rem;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
}

.form-input:focus, .form-select:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-soft);
}

.form-input::placeholder { color: var(--txt-faint); }
.form-select option { background: var(--bg-card); }

/* ── 10. Badges ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.badge-blue   { background: var(--p-soft);   color: var(--p-light); }
.badge-green  { background: var(--green-s);  color: var(--green); }
.badge-red    { background: var(--red-s);    color: var(--red); }
.badge-yellow { background: var(--yellow-s); color: var(--yellow); }
.badge-gray   { background: rgba(148,163,184,.08); color: var(--txt-dim); }

/* ── 11. Alerts / Toasts ─────────────────────────────────── */
.alerts-container {
  position: fixed;
  top: 1.25rem; right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-width: 340px;
  pointer-events: none;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 500;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: slideIn .25s ease forwards;
  pointer-events: all;
  border: 1px solid;
}

.alert-success { background: rgba(34,197,94,.1);  border-color: rgba(34,197,94,.28);  color: #4ADE80; }
.alert-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.28);  color: #F87171; }
.alert-info    { background: var(--p-soft);        border-color: rgba(59,130,246,.3); color: var(--p-light); }

/* ── 12. Modais ──────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  max-width: 460px;
  width: 100%;
  transform: scale(.96) translateY(8px);
  transition: transform .22s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}

.modal-backdrop.open .modal { transform: scale(1) translateY(0); }

.modal-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.3px; margin-bottom: .35rem; }
.modal-sub   { font-size: .84rem; color: var(--txt-dim); margin-bottom: 1.5rem; line-height: 1.5; }
.modal-actions { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1rem; }

/* Opções de modo visual */
.vis-options { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; }

.vis-option {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--tr);
}

.vis-option:hover { border-color: var(--p); background: var(--p-soft); }
.vis-option.selected { border-color: var(--p); background: var(--p-soft); }
.vis-option input[type=radio] { margin-top: .15rem; accent-color: var(--p); }

.vis-option-txt strong { font-size: .875rem; font-weight: 600; display: block; margin-bottom: .2rem; }
.vis-option-txt span   { font-size: .78rem; color: var(--txt-dim); line-height: 1.5; }

/* Dividers */
.divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

/* Grids utilitários */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Stats */
.stat-block { text-align: center; }
.stat-val   { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.stat-lbl   { font-size: .75rem; color: var(--txt-dim); margin-top: .2rem; }

/* ── 13. Página de Login ─────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.login-hero {
  background: linear-gradient(155deg, var(--bg-side) 0%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  border-right: 1px solid var(--border-s);
  position: relative;
  overflow: hidden;
}

/* Manchas de luz no hero */
.login-hero::before {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  background: var(--p-soft);
  border-radius: 50%;
  top: -160px; left: -160px;
  filter: blur(90px);
  pointer-events: none;
}

.login-hero::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: var(--p-soft);
  border-radius: 50%;
  bottom: -100px; right: -80px;
  filter: blur(70px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 360px;
}

.hero-mark {
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

.hero-mark svg { width: 40px; height: 40px; fill: #fff; }
.hero-logo-img { width: auto; height: 64px; object-fit: contain; }

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.1;
}

.hero-tagline {
  color: var(--txt-dim);
  margin-top: .6rem;
  font-size: .9rem;
  letter-spacing: .02em;
}

.hero-features {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.hero-feat {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}

.feat-icon {
  width: 32px; height: 32px;
  background: var(--p-soft);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--p-light);
  margin-top: .05rem;
}

.feat-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.feat-txt { font-size: .84rem; color: var(--txt-dim); line-height: 1.5; }
.feat-txt strong { color: var(--txt); display: block; font-size: .875rem; font-weight: 600; }

/* Formulário */
.login-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: var(--bg);
}

.login-box { width: 100%; max-width: 380px; }

.login-box h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.4px;
  margin-bottom: .3rem;
}

.login-box > p { font-size: .875rem; color: var(--txt-dim); margin-bottom: 2rem; }

.login-form { display: flex; flex-direction: column; gap: 1.125rem; }

.input-wrap { position: relative; }

.input-icon {
  position: absolute;
  left: .875rem; top: 50%;
  transform: translateY(-50%);
  color: var(--txt-faint);
  pointer-events: none;
  display: flex; align-items: center;
}

.input-icon svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.input-wrap .form-input { padding-left: 2.6rem; }

.btn-login {
  width: 100%;
  justify-content: center;
  padding: .8rem;
  font-size: .95rem;
  margin-top: .25rem;
  border-radius: 10px;
}

.login-footer {
  text-align: center;
  margin-top: 1.75rem;
  font-size: .75rem;
  color: var(--txt-faint);
}

/* ── 14. Dashboard ───────────────────────────────────────── */

/* Card de boas-vindas */
.welcome-card {
  background: linear-gradient(140deg, var(--bg-card) 0%, var(--bg-side) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.welcome-card::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 220px; height: 220px;
  background: var(--p-soft);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.welcome-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.3px;
  line-height: 1.2;
}

.welcome-card p {
  font-size: .875rem;
  color: var(--txt-dim);
  margin-top: .35rem;
  line-height: 1.5;
}

.welcome-mark {
  width: 56px; height: 56px;
  background: var(--p-soft);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--p-light);
  position: relative; z-index: 1;
}

.welcome-mark svg { width: 30px; height: 30px; fill: currentColor; }

/* Seção de modos */
.modos-section-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--txt-faint);
  margin-bottom: 1.125rem;
}

.modos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.125rem;
}

.modo-card-basico  { --modo-cor: #0EA5E9; --modo-cor-soft: #0EA5E91f; }
.modo-card-gmp1    { --modo-cor: #8B5CF6; --modo-cor-soft: #8B5CF61f; }
.modo-card-gmp2    { --modo-cor: #10B981; --modo-cor-soft: #10B9811f; }
.modo-card-gmp12   { --modo-cor: #F59E0B; --modo-cor-soft: #F59E0B1f; }
.modo-card-completo{ --modo-cor: #EF4444; --modo-cor-soft: #EF44441f; }

.modo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  position: relative;
  overflow: hidden;
  animation: fadeUp .4s ease both;
}

.modo-card:nth-child(1) { animation-delay: .04s; }
.modo-card:nth-child(2) { animation-delay: .09s; }
.modo-card:nth-child(3) { animation-delay: .14s; }
.modo-card:nth-child(4) { animation-delay: .19s; }

/* Borda de cor no topo */
.modo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--modo-cor, var(--p));
  border-radius: 14px 14px 0 0;
}

/* Glow sutil no hover */
.modo-card:hover {
  border-color: var(--modo-cor, var(--p));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3), 0 0 0 1px var(--modo-cor, var(--p)) inset;
}

.modo-card.locked { opacity: .5; cursor: default; }
.modo-card.locked:hover { transform: none; border-color: var(--border); box-shadow: none; }

.modo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.modo-icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--modo-cor-soft, var(--p-soft));
  border: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}

.modo-icon-box svg {
  width: 20px; height: 20px;
  stroke: var(--modo-cor, var(--p));
  fill: none;
  stroke-width: 2;
}
.modo-icon-box .modo-icon-star {
  fill: var(--modo-cor, var(--p));
  stroke: none;
}

.modo-nome { font-size: .975rem; font-weight: 700; letter-spacing: -.2px; }
.modo-desc { font-size: .78rem; color: var(--txt-dim); line-height: 1.45; margin-top: .2rem; }

.modo-meta { display: flex; gap: .875rem; flex-wrap: wrap; }

.modo-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  color: var(--txt-dim);
}

.modo-meta-item svg {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}

.modo-actions { margin-top: auto; }

.btn-iniciar-modo {
  width: 100%;
  justify-content: center;
  background: var(--modo-cor, var(--p));
  color: #fff;
  padding: .65rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: .875rem;
  border: none;
  cursor: pointer;
  transition: opacity var(--tr), transform var(--tr);
  font-family: inherit;
  letter-spacing: -.1px;
}

.btn-iniciar-modo:hover { opacity: .88; transform: translateY(-1px); }

.lock-overlay {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--txt-faint);
  justify-content: center;
  padding: .5rem;
  text-decoration: none;
  transition: color .15s;
}
.lock-overlay:hover {
  color: var(--p-light);
  text-decoration: none;
}

/* ── 15. Simulado ────────────────────────────────────────── */
.simulado-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.sim-header {
  background: var(--bg-side);
  border-bottom: 1px solid var(--border-s);
  padding: .875rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0; z-index: 100;
}

.sim-header-left  { display: flex; align-items: center; gap: .875rem; }
.sim-header-center { display: flex; align-items: center; gap: 1.5rem; }
.sim-header-right  { display: flex; align-items: center; gap: .875rem; }

.sim-brand {
  font-weight: 700;
  font-size: .9rem;
  color: var(--p-light);
  display: flex; align-items: center; gap: .4rem;
  letter-spacing: -.2px;
}

.sim-brand svg { width: 16px; height: 16px; fill: var(--p-light); }
.sim-brand-logo { height: 34px; width: auto; object-fit: contain; }

.materia-badge {
  padding: .2rem .7rem;
  border-radius: 99px;
  font-size: .7rem;
  font-weight: 700;
  background: var(--p-soft);
  color: var(--p-light);
  border: 1px solid rgba(255,255,255,.06);
  letter-spacing: .02em;
}

.timer-wrap {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.timer-wrap svg { width: 16px; height: 16px; stroke: var(--txt-dim); fill: none; stroke-width: 2; flex-shrink: 0; }
.timer-wrap.urgente { color: var(--red); animation: blink 1s step-end infinite; }
.timer-wrap.urgente svg { stroke: var(--red); }

.erros-wrap { display: flex; align-items: center; gap: .35rem; font-size: .875rem; }
.erros-num  { font-weight: 700; font-size: 1rem; }
.erros-num.danger { color: var(--red); }
.erros-num.warn   { color: var(--yellow); }

.progresso-txt { font-size: .8rem; color: var(--txt-dim); }

.btn-encerrar {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: .45rem 1rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all var(--tr);
  font-family: inherit;
}

.btn-encerrar:hover { background: var(--red); color: #fff; }

.progress-strip { height: 2px; background: var(--border-s); }
.progress-fill  { height: 100%; background: var(--p); transition: width .5s ease; }

/* ── Grade de questões ──────────────────────────────────── */
.quest-grid-wrap {
  padding: .625rem 1.5rem .5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-s);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.quest-grid-group { display: flex; flex-direction: column; gap: .3rem; }
.quest-grid-lbl {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--txt-faint);
}
.quest-grid-row { display: flex; flex-wrap: wrap; gap: .25rem; }
.qsq {
  width: 24px; height: 24px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: .62rem;
  font-weight: 700;
  color: var(--txt-faint);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, transform .1s;
  font-family: inherit;
}
.qsq:hover { border-color: var(--p); color: var(--p-light); transform: scale(1.12); }
.qsq.atual { border-color: var(--p); background: var(--p); color: #fff; }
.qsq.acerto {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 20%, transparent);
  color: var(--green);
}
.qsq.erro {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 20%, transparent);
  color: var(--red);
}
.qsq.respondida-final { border-color: var(--p); background: var(--p-soft); color: var(--p-light); }
.qsq.pulada   { border-color: #F59E0B; background: color-mix(in srgb, #F59E0B 15%, transparent); color: #F59E0B; }
.qsq.pendente { border-color: var(--p); background: var(--p-soft); color: var(--p-light); border-style: dashed; }

.sim-body {
  flex: 1;
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
  padding: 2.25rem 1.75rem;
}

.questao-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.375rem;
}

.questao-num-lbl { font-size: .78rem; color: var(--txt-dim); }

.modulo-tag {
  padding: .15rem .5rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  background: var(--p-soft);
  color: var(--p-light);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.questao-txt {
  font-size: 1.025rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  color: var(--txt);
  font-weight: 450;
}

.opcoes-lista { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.625rem; }

.opcao {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .9rem 1.1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--tr);
  -webkit-user-select: none;
  user-select: none;
}

.opcao:hover:not(.disabled) {
  border-color: var(--p);
  background: var(--p-soft);
  transform: translateX(2px);
}

.opcao.selected {
  border-color: var(--p);
  border-width: 2px;
  background: color-mix(in srgb, var(--p) 12%, var(--bg-card));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 25%, transparent),
              0 2px 8px color-mix(in srgb, var(--p) 15%, transparent);
  transform: translateX(4px);
}
.opcao.selected .opcao-texto { color: var(--txt); font-weight: 600; }

.opcao.correct   { border-color: var(--green);  background: var(--green-s); }
.opcao.wrong     { border-color: var(--red);    background: var(--red-s); }
.opcao.disabled  { cursor: default; }

.opcao-letra {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--tr);
}

.opcao.selected .opcao-letra { background: var(--p); border-color: var(--p); color: #fff; font-weight: 800; }
.opcao.correct  .opcao-letra { background: var(--green); border-color: var(--green); color: #fff; }
.opcao.wrong    .opcao-letra { background: var(--red);   border-color: var(--red);   color: #fff; }

.opcao-texto { font-size: .9rem; line-height: 1.55; flex: 1; padding-top: .05rem; }
.opcao-check { margin-left: auto; font-size: .9rem; flex-shrink: 0; padding-top: .1rem; }

.sim-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }

.btn-confirmar {
  background: var(--p); color: #fff;
  padding: .65rem 1.75rem;
  border-radius: 8px;
  font-weight: 700; font-size: .9rem;
  cursor: pointer; border: none;
  transition: all var(--tr);
  font-family: inherit;
}

.btn-confirmar:disabled { opacity: .32; cursor: not-allowed; }
.btn-confirmar:not(:disabled):hover { background: var(--p-hover); }

.btn-anterior, .btn-pular {
  background: transparent;
  color: var(--txt-dim);
  border: 1.5px solid var(--border);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600; font-size: .82rem;
  cursor: pointer;
  transition: all var(--tr);
  font-family: inherit;
  display: none;
}
.btn-anterior:hover { border-color: var(--p); color: var(--p-light); background: var(--p-soft); }
.btn-pular { color: #F59E0B; border-color: #F59E0B33; }
.btn-pular:hover { border-color: #F59E0B; background: color-mix(in srgb, #F59E0B 10%, transparent); }

.btn-explicar {
  background: transparent;
  color: var(--p-light);
  border: 1.5px solid var(--border);
  padding: .6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600; font-size: .875rem;
  cursor: pointer;
  transition: all var(--tr);
  display: none;
  font-family: inherit;
}

.btn-explicar:hover { border-color: var(--p); background: var(--p-soft); }

.btn-proxima {
  margin-left: auto;
  background: var(--bg-card);
  color: var(--txt);
  border: 1.5px solid var(--border);
  padding: .6rem 1.5rem;
  border-radius: 8px;
  font-weight: 700; font-size: .875rem;
  cursor: pointer;
  transition: all var(--tr);
  display: none;
  font-family: inherit;
}

.btn-proxima:hover { background: var(--p); border-color: var(--p); color: #fff; }

.btn-ver-resultado {
  margin-left: auto;
  background: var(--p);
  color: #fff;
  border: 1.5px solid var(--p);
  padding: .6rem 1.5rem;
  border-radius: 8px;
  font-weight: 700; font-size: .875rem;
  cursor: pointer;
  transition: all var(--tr);
  font-family: inherit;
}
.btn-ver-resultado:hover { background: var(--p-light); border-color: var(--p-light); }
.btn-ver-resultado.hidden { display: none; }

.btn-bloquear {
  background: transparent;
  color: var(--txt-faint);
  border: 1.5px solid var(--border-s);
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600; font-size: .8rem;
  cursor: pointer;
  transition: all var(--tr);
  display: none;
  font-family: inherit;
}
.btn-bloquear:hover { border-color: #f87171; color: #f87171; background: color-mix(in srgb, #f87171 8%, transparent); }
.btn-bloquear.bloqueada-ok { color: var(--txt-faint); border-color: var(--border-s); cursor: default; opacity: .6; }
.btn-bloquear:disabled { opacity: .5; cursor: not-allowed; }

.btn-reportar {
  background: transparent;
  color: var(--txt-faint);
  border: 1.5px solid var(--border-s);
  padding: .6rem .875rem;
  border-radius: 8px;
  font-weight: 600; font-size: .78rem;
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  align-items: center;
  gap: .35rem;
  font-family: inherit;
}
.btn-reportar:hover { border-color: var(--p); color: var(--p-light); background: var(--p-soft); }

/* ── Modal reportar ───────────────────────────────────────── */
.reportar-tipos {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 1rem 0;
}
.reportar-tipo-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .625rem 1rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--txt-dim);
  cursor: pointer;
  text-align: left;
  transition: all var(--tr);
  font-family: inherit;
}
.reportar-tipo-btn:hover { border-color: var(--p); color: var(--txt); }
.reportar-tipo-btn.ativo { border-color: var(--p); background: var(--p-soft); color: var(--p-light); font-weight: 600; }
.reportar-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .75rem;
  font-size: .84rem;
  color: var(--txt);
  font-family: inherit;
  resize: vertical;
  margin-top: .5rem;
  box-sizing: border-box;
  transition: border-color var(--tr);
}
.reportar-textarea:focus { outline: none; border-color: var(--p); }
.reportar-feedback { font-size: .8rem; margin-top: .5rem; }
.reportar-feedback.ok  { color: var(--green); }
.reportar-feedback.erro { color: var(--red); }

.explicacao-box {
  margin-top: 1.375rem;
  padding: 1.125rem 1.375rem;
  background: rgba(59,130,246,.05);
  border-left: 3px solid var(--p);
  border-radius: 0 10px 10px 0;
  font-size: .875rem;
  line-height: 1.75;
  color: var(--txt-dim);
  display: none;
}

.explicacao-box strong {
  color: var(--p-light);
  display: block;
  margin-bottom: .4rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── 16. Resultado ───────────────────────────────────────── */
.resultado-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 1rem;
}

.resultado-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  margin-bottom: 1.75rem;
}

.resultado-hero .big-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.resultado-hero h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.5px;
}

.resultado-hero p { color: var(--txt-dim); margin-top: .4rem; font-size: .9rem; }

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.125rem;
  margin-bottom: 1.75rem;
}

.modulo-card-res {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeUp .4s ease both;
}

.modulo-card-res:nth-child(1) { animation-delay: .06s; }
.modulo-card-res:nth-child(2) { animation-delay: .12s; }
.modulo-card-res:nth-child(3) { animation-delay: .18s; }

.modulo-card-res.aprovado  { border-color: var(--green); }
.modulo-card-res.reprovado { border-color: var(--red); }

.modulo-card-res::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}

.modulo-card-res.aprovado::after  { background: var(--green); }
.modulo-card-res.reprovado::after { background: var(--red); }

.res-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.375rem;
}

.res-card-header h3 { font-size: .975rem; font-weight: 700; }

.score-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  margin: 0 auto 1.25rem;
  border: 3px solid;
}

.score-ring.aprovado  { border-color: var(--green); color: var(--green); background: var(--green-s); }
.score-ring.reprovado { border-color: var(--red);   color: var(--red);   background: var(--red-s); }

.res-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

.res-stat-val { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.res-stat-val.ac { color: var(--green); }
.res-stat-val.er { color: var(--red); }
.res-stat-val.to { color: var(--p-light); }
.res-stat-lbl { font-size: .7rem; color: var(--txt-dim); margin-top: .25rem; text-transform: uppercase; letter-spacing: .06em; }

.resultado-actions {
  display: flex; gap: .875rem;
  justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── 17. Admin ───────────────────────────────────────────── */
.admin-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; align-items: start; }

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: .84rem; }

th {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--txt-dim);
  padding: .625rem .875rem; text-align: left;
  border-bottom: 1px solid var(--border);
}

td { padding: .75rem .875rem; border-bottom: 1px solid var(--border-s); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.015); }

.section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -.2px; }

.admin-narrow { max-width: 480px; }
.admin-card-mb { margin-bottom: 1.5rem; }
.admin-card-hint { font-size: .85rem; color: var(--txt-dim); margin-bottom: 1.25rem; }

.admin-form { display: flex; flex-direction: column; gap: .875rem; }

.senha-requisitos {
  background: var(--bg-3);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

.req-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--txt-dim);
  margin-bottom: .5rem;
}

.senha-requisitos ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.senha-requisitos li {
  font-size: .8rem;
  color: var(--txt-dim);
  padding-left: 1.25rem;
  position: relative;
}

.senha-requisitos li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-size: .7rem;
  color: var(--danger, #ef4444);
}

.senha-requisitos li.req-ok { color: var(--txt); }
.senha-requisitos li.req-ok::before { content: '✓'; color: var(--success, #10b981); }

/* ── 18. Scroll to top ───────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--p);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px var(--p-soft);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top-btn:hover { background: var(--p-hover); transform: translateY(-2px); }
.scroll-top-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* ── 19. Animações ───────────────────────────────────────── */
@keyframes slideIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes blink { 50% { opacity: .35; } }

/* ── 20. Responsivo ──────────────────────────────────────── */
/* ── Mobile header ────────────────────────────────────────── */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 52px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 200;
}
.mobile-header-logo {
  height: 26px;
  width: auto;
}
.mobile-theme-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  color: var(--txt-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-theme-btn svg { width: 18px; height: 18px; }

/* ── Mobile bottom nav ────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav {
  display: none;
  align-items: stretch;
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  color: var(--txt-faint);
  text-decoration: none;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .15s;
  padding: .5rem 0;
}
.mobile-nav-item svg {
  width: 20px; height: 20px;
  stroke-width: 1.8;
}
.mobile-nav-item.active,
.mobile-nav-item:hover { color: var(--p-light); }

@media (max-width: 768px) {
  .admin-grid { grid-template-columns: 1fr; }
  .sim-header { padding: .75rem 1rem; }
  .sim-body { padding: 1.375rem 1rem; }
  .page-header, .page-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sidebar { display: none; }
  .main-content { margin-left: 0; margin-top: 52px; padding-bottom: 70px; }
  .scroll-top-btn { bottom: 4.75rem; right: 1.25rem; }
  .mobile-header { display: flex; }
  .mobile-nav { display: flex; }
  .modos-grid { grid-template-columns: 1fr; }
}
