/* ==========================================================================
   EspaçoInvisível.cv - Folha de Estilo Global Human-Crafted (assets/css/style.css)
   Zero CLS (Cumulative Layout Shift = 0.00) | Ergonomia Mobile 48px+ | Dark/Light
   ========================================================================== */

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #070a12;
  --bg-card: #111827;
  --bg-card-hover: #161f33;
  --bg-elevated: #1e293b;
  --bg-input: #080b12;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Paleta Editorial & Gamer (Emerald, Cyan, Pink, Violet) */
  --accent-emerald: #10b981;
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.35);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.35);
  --accent-pink: #ec4899;
  --accent-amber: #f59e0b;
  --accent-danger: #ef4444;

  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.5);
  --shadow-card: 0 12px 30px -8px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 24px rgba(16, 185, 129, 0.18), 0 0 16px rgba(6, 182, 212, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   LIGHT MODE COLOR & CONTRAST OVERHAUL (ALTO CONTRASTE & SUPERFÍCIES LIMPAS)
   ========================================================================== */
html[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-elevated: #f1f5f9;
  --bg-input: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;

  --accent-emerald: #059669;
  --accent-green: #059669;
  --accent-green-glow: rgba(5, 150, 105, 0.2);
  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.18);
  --accent-purple: #6d28d9;
  --accent-purple-glow: rgba(109, 40, 217, 0.18);
  --accent-pink: #be185d;
  --accent-amber: #b45309;
  --accent-danger: #dc2626;

  --border-subtle: #cbd5e1;
  --border-card: #e2e8f0;
  --border-highlight: rgba(5, 150, 105, 0.45);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

/* ==========================================================================
   2. RESET & LAYOUT GLOBAL (ZERO OVERFLOW HORIZONTAL & ZERO CLS)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.64;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(16, 185, 129, 0.12) 0%, transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(6, 182, 212, 0.12) 0%, transparent 32%);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.22s ease, color 0.22s ease;
}

html[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 12% 4%, rgba(16, 185, 129, 0.05) 0%, transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(2, 132, 199, 0.05) 0%, transparent 28%);
}

main#app-content {
  flex: 1 0 auto;
  transition: opacity 0.15s ease;
}

main#app-content.pjax-Transitioning {
  opacity: 0.65;
}

a {
  color: var(--accent-emerald);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 0.85rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.35rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 1.75rem;
  }
}

/* ==========================================================================
   3. CABEÇALHO GLOBAL FIXO (ALTURA EXATA 64PX PARA ZERO CLS) & LOGOS
   ========================================================================== */
#site-header, .site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 64px;
  background: rgba(11, 15, 25, 0.96);
  border-bottom: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

html[data-theme="light"] #site-header,
html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.inline-apple-icon {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
  fill: currentColor;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 900;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--text-primary);
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-dark-only {
  display: block;
}

.logo-light-only {
  display: none;
}

html[data-theme="light"] .logo-dark-only {
  display: none;
}

html[data-theme="light"] .logo-light-only {
  display: block;
}

.logo-icon-box {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  color: var(--text-primary);
}

.brand-text strong {
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.cv-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.38rem;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid var(--border-highlight);
  margin-left: 0.2rem;
  font-family: var(--font-mono);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.18rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  padding: 0.24rem;
  border-radius: 999px;
}

html[data-theme="light"] .desktop-nav {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.38rem 0.74rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.83rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active-route {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
  box-shadow: 0 2px 10px var(--accent-green-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Botão Alternar Tema com Pure SVG Sun & Moon */
.theme-toggle-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .theme-toggle-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-green-glow);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle-btn:hover svg {
  transform: rotate(15deg) scale(1.08);
}

@media (max-width: 560px) {
  .theme-label-text {
    display: none;
  }
  .theme-toggle-btn {
    padding: 0;
    width: 42px;
    height: 42px;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .mobile-menu-btn {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.mobile-menu-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   SLIM RIGHT-SIDE SLIDE-OVER DRAWER MENU (REQUIREMENT 3)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 10, 18, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.side-nav-drawer {
  width: 25vw;
  min-width: 280px;
  max-width: 320px;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  background: #0f172a;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
  overflow-y: auto;
}

html[data-theme="light"] .side-nav-drawer {
  background: #ffffff;
  border-left: 1px solid #cbd5e1;
  box-shadow: -10px 0 32px rgba(15, 23, 42, 0.12);
}

.side-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  min-height: 64px;
  border-bottom: 1px solid var(--border-card);
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .drawer-close-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.drawer-close-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: scale(1.04);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 1rem 0.9rem;
  flex: 1;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.drawer-nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-card);
}

.drawer-nav-item:hover svg {
  color: var(--accent-emerald);
  transform: translateX(2px);
}

.drawer-nav-item.active-route {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

html[data-theme="light"] .drawer-nav-item.active-route {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.drawer-nav-item.active-route svg {
  color: var(--accent-emerald);
}

.drawer-footer-note {
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--border-card);
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   4. HERO SECTION GAMER & HIGH-CONTRAST PILLS (REQUIREMENT 2)
   ========================================================================== */
.hero-section {
  padding: 1.75rem 0 1.25rem;
  text-align: center;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.95rem;
}

.gamer-pill,
.plat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  line-height: 1.2;
  transition: all var(--transition-fast);
}

.gamer-pill svg,
.plat-tag svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Dark Mode Hero Badges */
.gamer-pill {
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.plat-ff {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.plat-ig {
  background: rgba(236, 72, 153, 0.14);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.plat-wa {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.plat-rb {
  background: rgba(139, 92, 246, 0.16);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.38);
}

/* Light Mode High-Contrast Hero Badges (#ffffff surface, #cbd5e1 border, deep text colors) */
html[data-theme="light"] .gamer-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0369a1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .plat-ff {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #b45309;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .plat-ig {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #be185d;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .plat-wa {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #047857;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .plat-rb {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #4338ca;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hero-title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.hero-title .highlight-gradient {
  background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 740px;
  margin: 0 auto 1.25rem;
  font-size: clamp(0.94rem, 1.8vw, 1.08rem);
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-quick-cta {
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   5. BOTÕES & ALINHAMENTO SIMÉTRICO CENTRALIZADO (REQUIREMENT 6)
   ========================================================================== */
.btn-neon {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast), filter var(--transition-fast);
  user-select: none;
}

.btn-neon.btn-cyber-blue {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.28);
}

.btn-neon.btn-insta-pink {
  background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.28);
}

.btn-neon.btn-royal-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #0284c7 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.28);
}

.btn-neon:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-neon:active {
  transform: scale(0.97);
}

.btn-neon.copied-state {
  background: linear-gradient(135deg, #047857 0%, #10b981 100%) !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.45) !important;
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .btn-secondary {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* Centralização Simétrica de Botões Únicos e Duplos (Requirement 6) */
.action-buttons-centered,
.nick-actions-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ripple-circle {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.5s linear;
  background-color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   6. RECURSO 1: 4 CARTÕES DE TAMANHO INSTANTÂNEO (1-CLICK COPY CARDS)
   ========================================================================== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.05rem;
  margin-bottom: 1.85rem;
  text-align: left;
}

.copy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.copy-card.card-ff { border-top: 3px solid #10b981; }
.copy-card.card-small { border-top: 3px solid #06b6d4; }
.copy-card.card-insta { border-top: 3px solid #ec4899; }
.copy-card.card-ios { border-top: 3px solid #8b5cf6; }

.copy-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-emerald);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.52rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  white-space: nowrap;
}

.card-badge.cyan {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.35);
}

.card-badge.pink {
  background: rgba(236, 72, 153, 0.14);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.35);
}

.card-badge.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.38);
}

/* Light Mode Card Badges High Contrast */
html[data-theme="light"] .card-badge {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

html[data-theme="light"] .card-badge.cyan {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

html[data-theme="light"] .card-badge.pink {
  background: #fdf2f8;
  color: #be185d;
  border-color: #fbcfe8;
}

html[data-theme="light"] .card-badge.purple {
  background: #f5f3ff;
  color: #4338ca;
  border-color: #ddd6fe;
}

.compact-preview-row {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: 6px;
  padding: 0.16rem 0.44rem;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.visual-brackets {
  color: var(--accent-emerald);
  font-weight: 900;
}

.unicode-code {
  color: var(--text-muted);
  font-weight: 700;
}

.copy-card h2 {
  font-size: 1.03rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.copy-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 1.05rem;
  flex-grow: 1;
  line-height: 1.54;
}

.copy-card .card-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.copy-card .btn-neon {
  width: 100%;
}

/* ==========================================================================
   7. PAINÉIS DE FERRAMENTAS AVANÇADAS & GRADE DE 24 SÍMBOLOS SEM BURACOS
   ========================================================================== */
.tools-section {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 2.1rem;
}

.tool-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .tool-panel {
    padding: 1.7rem 1.9rem;
  }
}

.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.tool-title-group h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-emerald);
  padding-left: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.09) 0%, transparent 100%);
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.tool-title-group p {
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.nick-builder-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.nick-input-wrapper {
  width: 100%;
}

.nick-input {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.nick-input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.nick-counter-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .nick-counter-group {
    align-items: flex-start;
  }
}

.nick-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent-emerald);
  transition: all var(--transition-fast);
}

.nick-counter-badge.limit-warning {
  color: var(--accent-amber);
  border-color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
}

.nick-counter-badge.limit-exceeded {
  color: #ffffff;
  border-color: var(--accent-danger);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.ff-limit-warning-alert {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid var(--accent-danger);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-align: center;
}

html[data-theme="light"] .ff-limit-warning-alert {
  color: #b91c1c;
  background: #fef2f2;
}

.ff-limit-warning-alert.visible {
  display: flex;
}

.char-progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.15rem;
}

.char-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4, #8b5cf6);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.quick-insert-group {
  margin-bottom: 1rem;
}

.quick-insert-label {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  display: block;
}

.space-insert-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Grade Simétrica de 24 Símbolos Gamer (Zero Empty Gaps - Requirement 6) */
.symbols-grid-24 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.symbol-chip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.4rem 0.35rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

html[data-theme="light"] .symbol-chip {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.symbol-chip.space-insert {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
  background: rgba(16, 185, 129, 0.14);
  border-color: var(--border-highlight);
  color: var(--accent-emerald);
}

html[data-theme="light"] .symbol-chip.space-insert {
  background: #ecfdf5;
  border-color: #059669;
  color: #047857;
}

.symbol-chip:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.15);
}

.styled-nicks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-card);
}

.styled-nick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-card);
}

.styled-nick-text {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Grade Dupla: Recurso 3 e Recurso 4 */
.dual-tools-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.3rem;
}

@media (max-width: 860px) {
  .dual-tools-grid {
    grid-template-columns: 1fr;
  }
}

.multiplier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 540px) {
  .multiplier-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.multiplier-btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  padding: 0.68rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

html[data-theme="light"] .multiplier-btn {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.multiplier-btn:hover {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  transform: translateY(-1px);
}

.bio-break-centered-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.multiplier-btn.bio-break {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(236, 72, 153, 0.14);
  border-color: rgba(236, 72, 153, 0.4);
  color: #f472b6;
}

html[data-theme="light"] .multiplier-btn.bio-break {
  background: #fdf2f8;
  border-color: #f472b6;
  color: #be185d;
}

.manual-box-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.6rem;
}

.manual-input {
  width: 100%;
  min-height: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1.5px dashed var(--accent-emerald);
  color: var(--accent-emerald);
}

.manual-steps-note {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.test-textarea {
  width: 100%;
  min-height: 92px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  resize: vertical;
  margin-bottom: 0.9rem;
}

.test-textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.detector-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.95rem;
  flex-wrap: wrap;
}

.detector-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 0.75rem;
}

.metric-box {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.metric-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-primary);
}

.metric-value.status-valid { color: var(--accent-emerald); }
.metric-value.status-invalid { color: var(--accent-danger); }

.inspector-xray-bar {
  margin-top: 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px dashed var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.xray-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.16rem 0.44rem;
  border-radius: 5px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.xray-chip.is-invisible {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Ergonomia Touch Obrigatória para Telas Mobile (<= 768px) */
@media (max-width: 768px) {
  .btn-neon,
  .btn-secondary,
  .symbol-chip,
  .multiplier-btn,
  .table-copy-btn,
  .drawer-nav-item {
    min-height: 46px;
  }
}

/* ==========================================================================
   8. HEADING LEFT ACCENT BAR DESIGN & ARTIGO EDITORIAL (REQUIREMENT 1)
   ========================================================================== */
.article-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--accent-emerald);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.05rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2.2rem;
}

@media (min-width: 768px) {
  .article-wrapper {
    padding: 2.2rem 2.4rem;
  }
}

.eeat-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-bottom: 1.35rem;
  font-size: 0.81rem;
  color: var(--text-secondary);
}

.eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.article-toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.85rem;
}

.article-toc ol {
  padding-left: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.42rem 1.25rem;
  margin-top: 0.65rem;
  margin-bottom: 0;
}

.article-toc a {
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.article-toc a:hover {
  color: var(--accent-emerald);
}

.seo-article h1.legal-page-title {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.24;
}

/* Requirement 1: Sleek Vertical Left Accent Bar on ALL H2 & H3 in Content/Articles/Legal/FAQ */
.seo-article h2,
.article-wrapper h2,
.legal-page-section h2,
.section-heading h2 {
  font-size: clamp(1.22rem, 2.4vw, 1.58rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 2rem 0 0.85rem;
  border-left: 4px solid var(--accent-emerald);
  padding: 0.42rem 0.85rem 0.42rem 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.11) 0%, rgba(6, 182, 212, 0.03) 65%, transparent 100%);
  line-height: 1.32;
}

html[data-theme="light"] .seo-article h2,
html[data-theme="light"] .article-wrapper h2,
html[data-theme="light"] .legal-page-section h2,
html[data-theme="light"] .section-heading h2 {
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.09) 0%, rgba(2, 132, 199, 0.02) 65%, transparent 100%);
}

.seo-article h2:first-of-type {
  margin-top: 0.5rem;
}

.section-heading h2 {
  margin-top: 0;
  margin-bottom: 0.45rem;
}

.seo-article h3,
.article-wrapper h3,
.legal-page-section h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.4rem 0 0.55rem;
  border-left: 4px solid var(--accent-emerald);
  padding-left: 14px;
  border-radius: 2px;
  line-height: 1.35;
}

.article-toc h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
}

.seo-article p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  margin-bottom: 1.05rem;
  line-height: 1.74;
}

.seo-article ul, .seo-article ol {
  margin: 0 0 1.2rem 1.25rem;
  color: var(--text-secondary);
}

.seo-article li {
  margin-bottom: 0.48rem;
  line-height: 1.68;
  font-size: 0.96rem;
}

.seo-article code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.14rem 0.4rem;
  border-radius: 5px;
  background: var(--bg-elevated);
  color: var(--accent-emerald);
  border: 1px solid var(--border-card);
  font-weight: 700;
}

.callout-tip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(6, 182, 212, 0.07));
  border: 1px solid var(--border-highlight);
  border-left: 4px solid var(--accent-emerald);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin: 1.35rem 0;
}

.callout-tip strong {
  color: var(--accent-emerald);
}

/* Indicador Mobile de Deslizar Horizontal para a Tabela Unicode */
.table-swipe-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .table-swipe-hint {
    display: flex;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.35rem 0 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.unicode-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  text-align: left;
  background: var(--bg-card);
}

.unicode-table th {
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 800;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 0.95rem;
  border-bottom: 2px solid var(--border-card);
}

.unicode-table td {
  padding: 0.78rem 0.95rem;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.89rem;
  vertical-align: middle;
}

.unicode-table tr:last-child td {
  border-bottom: none;
}

.table-copy-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.72rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-highlight);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.79rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

html[data-theme="light"] .table-copy-btn {
  background: #ecfdf5;
  color: #047857;
  border-color: #059669;
}

.table-copy-btn:hover {
  background: var(--accent-emerald);
  color: #ffffff;
}

/* ==========================================================================
   9. ESTILOS DAS PÁGINAS LEGAIS DEDICADAS E FORMULÁRIO DE CONTATO (/contato)
   ========================================================================== */
.legal-page-section {
  padding: 1.75rem 0 2.5rem;
}

.breadcrumb-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.breadcrumb-bar a {
  color: var(--accent-emerald);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px var(--accent-green-glow);
}

.form-status-box {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-status-box.visible {
  display: block;
}

/* ==========================================================================
   10. SEÇÃO 6: 10 PERGUNTAS FREQUENTES (FAQ ACORDEÃO)
   ========================================================================== */
.faq-section {
  margin-bottom: 2.8rem;
}

.section-heading {
  text-align: left;
  margin-bottom: 1.25rem;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item[open] {
  border-color: var(--accent-emerald);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  min-height: 54px;
  padding: 1rem 1.15rem;
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--accent-emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-emerald);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.15rem 1.05rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.68;
  border-top: 1px solid var(--border-card);
  padding-top: 0.9rem;
}

/* ==========================================================================
   11. HUMAN-CRAFTED EDITORIAL FOOTER (STRIPE/VERCEL/LINEAR STYLE - REQ 5)
   ========================================================================== */
#site-footer, .site-footer {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 3rem 0 1.85rem;
  margin-top: 2rem;
}

/* Clean Top Border with Subtle Gradient Line */
#site-footer::before, .site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-emerald) 30%, var(--accent-cyan) 70%, transparent 100%);
  opacity: 0.85;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h3 {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.95rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  line-height: 1.65;
  max-width: 420px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  width: 100%;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: block;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0;
  background: transparent;
  border: none;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links a::after {
  content: "→";
  font-size: 0.82rem;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  color: var(--accent-emerald);
}

.footer-links a:hover,
.footer-links a.active-route {
  color: var(--accent-emerald);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.footer-links a:hover::after,
.footer-links a.active-route::after {
  opacity: 1;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.4rem;
}

.copyright-text {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.disclaimer-text {
  color: var(--text-muted);
  font-size: 0.76rem;
  max-width: 780px;
}

/* ==========================================================================
   12. NOTIFICAÇÃO TOAST EM CÁPSULA FINA, NATURAL E COMPACTA
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(80px) scale(0.95);
  z-index: 9999;
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  border: 1px solid var(--accent-emerald);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
  white-space: nowrap;
  max-width: 92vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}
