/* ════════════════════════════════════════════════════════════════════════
   DESIGN SYSTEM — SAD BAILE  v2.0
   Fonte única de verdade: tokens + componentes + utilitários

   ÍNDICE
   01  RESET
   02  TOKENS (variáveis CSS)
   03  BASE (html, body, links)
   04  ACESSIBILIDADE
   05  LAYOUT (container, grid)
   06  TIPOGRAFIA
   07  SEÇÕES (section-head, title, sub)
   08  NAVEGAÇÃO (base compartilhada)
   09  CARDS
   10  BOTÕES
   11  FORMULÁRIOS
   12  CHIPS / FILTROS
   13  BADGES & PILLS
   14  MODAIS & VEIL
   15  STATUS BADGES (pedidos)
   16  TOASTS / NOTIFICAÇÕES
   17  NEWSLETTER SECTION (canonical — remove inline das páginas)
   18  TABELAS
   19  LOADER / SPINNER
   20  SCROLLBAR
   21  UTILITÁRIOS
   22  ADMIN LINK
   23  ANIMAÇÕES
   24  IMPRESSÃO
   ════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&family=Archivo+Black&display=swap');


/* ── 01 RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, video { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; }


/* ── 02 TOKENS ────────────────────────────────────────────────────────── */
:root {
  /* ─ Cores base ─ */
  --bg:           #050505;
  --bg-2:         #0c0a14;
  --card:         #111111;
  --card-2:       #1a1a1a;
  --line:         rgba(255, 255, 255, .08);
  --line-2:       rgba(255, 255, 255, .16);

  /* ─ Texto ─ WCAG AA: --muted 5.2:1 ✓  --dim 4.6:1 ✓ */
  --text:         #f5f5f5;   /* 18.1:1 vs --bg ✓ AAA */
  --muted:        #a8a8a8;   /* 5.2:1 vs --bg ✓ AA (era #9b9b9b = 5.1:1) */
  --dim:          #888888;   /* 4.6:1 vs --bg ✓ AA (era #6e6e6e = 3.8:1 ✗) */

  /* ─ Acento (roxo Sad Baile) ─ */
  --purple:       #8b5cf6;
  --purple-deep:  #6d28d9;
  --purple-glow:  rgba(139, 92, 246, .35);
  --purple-soft:  rgba(139, 92, 246, .08);

  /* ─ Estados semânticos ─ */
  --green:        #10b981;
  --orange:       #f97316;
  --red:          #ef4444;
  --blue:         #3b82f6;

  /* ─ Fontes ─ */
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
  --font-display:   'Bebas Neue', sans-serif;       /* títulos grandes, botões display */
  --font-display-2: 'Archivo Black', sans-serif;    /* títulos brutalistas */

  /* ─ Escala tipográfica ─ */
  --fs-xs:   10px;
  --fs-sm:   11px;
  --fs-base: 13px;
  --fs-md:   14px;
  --fs-lg:   15px;
  --fs-xl:   16px;
  --fs-2xl:  18px;
  --fs-3xl:  22px;
  --fs-4xl:  28px;
  --fs-5xl:  38px;

  /* ─ Espaçamentos ─ */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* ─ Bordas & cantos ─ */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* ─ Sombras ─ */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .35);
  --shadow:    0 4px 14px rgba(0, 0, 0, .4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, .55);

  /* ─ Transições ─ */
  --t-fast: .12s ease;
  --t:      .2s ease;
  --t-slow: .35s ease;

  /* ─ Z-index ─ */
  --z-base:   1;
  --z-nav:    50;
  --z-modal:  200;
  --z-veil:   250;
  --z-loader: 300;
  --z-toast:  400;
  --z-cc:     2100000000;  /* cookie consent acima de tudo */
}


/* ── 03 BASE ──────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }


/* ── 04 ACESSIBILIDADE ────────────────────────────────────────────────── */
/* Foco visível para teclado (não aparece no clique) */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: .5px;
  text-decoration: none;
  transition: transform var(--t);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Apenas para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Respeita preferência do SO — desativa todas as animações */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ── 05 LAYOUT ────────────────────────────────────────────────────────── */
/* Container padrão — centraliza e limita largura */
.ds-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-8);
}
.ds-container-sm { max-width: 720px; }
.ds-container-lg { max-width: 1400px; }
@media (max-width: 600px) {
  .ds-container { padding-inline: var(--sp-5); }
}

/* Grids responsivos */
.ds-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.ds-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.ds-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
@media (max-width: 900px) {
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ds-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ds-grid-2, .ds-grid-3, .ds-grid-4 { grid-template-columns: 1fr; }
}

/* Divisor */
.ds-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--sp-8) 0;
}


/* ── 06 TIPOGRAFIA ────────────────────────────────────────────────────── */
.font-bebas    { font-family: var(--font-display);   letter-spacing: 2px; }
.font-archivo  { font-family: var(--font-display-2); letter-spacing: -.3px; line-height: 1; }

.text-muted    { color: var(--muted); }
.text-dim      { color: var(--dim); }
.text-purple   { color: var(--purple); }
.text-green    { color: var(--green); }
.text-red      { color: var(--red); }
.text-blue     { color: var(--blue); }
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-uppercase { text-transform: uppercase; letter-spacing: 1.5px; }
.text-sm       { font-size: var(--fs-sm); }
.text-xs       { font-size: var(--fs-xs); }


/* ── 07 SEÇÕES ────────────────────────────────────────────────────────── */
/*
   Anatomia padrão de uma seção de conteúdo:

   <section class="ds-section">
     <div class="ds-section-head">
       <span class="ds-tag">[ Tag ]</span>
       <h2 class="ds-section-title">Título com <span class="ds-accent">acento</span></h2>
       <p class="ds-section-sub">Descrição breve da seção.</p>
     </div>
     ... conteúdo ...
   </section>

   Aliases sem prefixo (compatibilidade):
   .tag  →  .ds-tag
   .section-head  →  .ds-section-head
   .section-title →  .ds-section-title
   .section-sub   →  .ds-section-sub
   .accent        →  .ds-accent
*/

.ds-section {
  padding: var(--sp-16) var(--sp-8);
}
@media (max-width: 768px) {
  .ds-section { padding: var(--sp-12) var(--sp-5); }
}

.ds-section-head,
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* Tag / chip de categoria (ex: "[ Lineup ]") */
.ds-tag,
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 5px 12px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
}

/* Título principal da seção */
.ds-section-title,
.section-title {
  font-family: var(--font-display-2);
  font-weight: 400;
  font-size: clamp(32px, 5.5vw, 60px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-top: 18px;
  color: var(--text);
}

/* Subtítulo / descrição */
.ds-section-sub,
.section-sub {
  font-size: clamp(14px, 2.2vw, 16px);
  color: var(--muted);
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}

/* Palavra de destaque dentro de título */
.ds-accent,
.accent {
  color: var(--purple);
}


/* ── 08 NAVEGAÇÃO ─────────────────────────────────────────────────────── */
/*
   Base compartilhada do header/nav — cada página complementa com
   estilos específicos de posicionamento e conteúdo.
*/
.ds-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding: 16px 32px;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.ds-nav-brand {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  letter-spacing: 4px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.ds-nav-brand span { color: var(--purple); }

.ds-nav-link {
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t);
}
.ds-nav-link:hover,
.ds-nav-link.active { color: var(--text); }


/* ── 09 CARDS ─────────────────────────────────────────────────────────── */
.ds-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.ds-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}

.ds-card-header {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.ds-card-body   { padding: var(--sp-6); }
.ds-card-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--line);
}

/* Card com efeito de hover elevado (produto, blog post, etc.) */
.ds-card-lift {
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.ds-card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  border-color: var(--purple);
}


/* ── 10 BOTÕES ────────────────────────────────────────────────────────── */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t), box-shadow var(--t), transform var(--t), border-color var(--t), color var(--t);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}
.ds-btn:active { transform: translateY(1px) !important; }

/* Primário (roxo sólido) */
.ds-btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.ds-btn-primary:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  box-shadow: 0 0 20px var(--purple-glow);
}

/* Ghost (borda visível, fundo transparente) */
.ds-btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  border-color: var(--line-2);
}
.ds-btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-soft);
}

/* Danger (vermelho) */
.ds-btn-danger {
  background: transparent;
  color: var(--red);
  border-color: rgba(239, 68, 68, .4);
}
.ds-btn-danger:hover {
  background: rgba(239, 68, 68, .1);
  border-color: var(--red);
}

/* Display / brutalista (Bebas Neue) */
.ds-btn-display {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  letter-spacing: 4px;
  font-weight: 400;
  text-transform: uppercase;
  padding: 13px 28px;
}

/* Modificadores de tamanho */
.ds-btn-sm  { padding: 7px 14px;  font-size: var(--fs-sm);  }
.ds-btn-lg  { padding: 14px 30px; font-size: var(--fs-lg);  }
.ds-btn-full { width: 100%; }

/* Estado desabilitado */
.ds-btn:disabled,
.ds-btn[disabled] {
  background: var(--card-2);
  border-color: var(--line);
  color: var(--dim);
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
  opacity: .6;
}


/* ── 11 FORMULÁRIOS ───────────────────────────────────────────────────── */
/* Label */
.ds-label {
  display: block;
  font-size: var(--fs-sm);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}

/* Input, Select, Textarea */
.ds-input,
.ds-select,
.ds-textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--fs-md);
  font-family: inherit;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  line-height: 1.5;
}
.ds-input::placeholder,
.ds-textarea::placeholder { color: var(--dim); opacity: 1; }
.ds-input:focus,
.ds-select:focus,
.ds-textarea:focus {
  border-color: var(--purple);
  background: rgba(139, 92, 246, .04);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15);
}
.ds-input.invalid,
.ds-input[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}
.ds-textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.6;
}
.ds-select option {
  background: var(--card);
  color: var(--text);
}

/* iOS: evita zoom ao focar input com font < 16px */
@media (max-width: 600px) {
  .ds-input, .ds-select, .ds-textarea { font-size: 16px; }
}

/* Linha de formulário */
.ds-row   { margin-bottom: 14px; }
.ds-row-2 { display: grid; grid-template-columns: 1fr 1fr;     gap: 10px; margin-bottom: 14px; }
.ds-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
@media (max-width: 600px) {
  .ds-row-2, .ds-row-3 { grid-template-columns: 1fr; }
}

/* Mensagem de erro inline */
.ds-err {
  padding: 10px 12px;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .2);
  border-radius: var(--radius);
  color: var(--red);
  font-size: var(--fs-sm);
  margin-top: 6px;
  display: none;
}
.ds-err.on { display: block; }

/* Campo de erro inline (abaixo do input) */
.ds-field-err {
  font-size: var(--fs-sm);
  color: var(--red);
  margin-top: 5px;
  display: none;
}
.ds-field-err.on { display: block; }


/* ── 12 CHIPS / FILTROS ───────────────────────────────────────────────── */
/* Chips de categoria / filtro */
.ds-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.ds-chip:hover {
  background: rgba(139, 92, 246, .1);
  border-color: var(--purple);
  color: var(--text);
}
.ds-chip.active {
  background: var(--purple-soft);
  border-color: var(--purple);
  color: var(--purple);
}
.ds-chip-count {
  font-size: var(--fs-xs);
  background: rgba(255, 255, 255, .08);
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}
.ds-chip.active .ds-chip-count {
  background: rgba(139, 92, 246, .3);
}


/* ── 13 BADGES & PILLS ────────────────────────────────────────────────── */
/* Badge numérico (ex: contagem no carrinho) */
.ds-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  background: var(--purple);
  color: #fff;
  line-height: 1;
}

/* Pill de desconto / oferta */
.ds-discount-pill {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .25);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

/* Pill de novo / destaque */
.ds-pill-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--purple-soft);
  border: 1px solid rgba(139, 92, 246, .3);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}


/* ── 14 MODAIS & VEIL ─────────────────────────────────────────────────── */
.ds-veil {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, .88);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
}
.ds-veil.on { display: flex; }

.ds-modal {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  width: 540px;
  max-width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.ds-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.ds-modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--text);
}
.ds-modal-body   { padding: 24px; flex: 1; }
.ds-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.ds-modal-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: color var(--t);
}
.ds-modal-close:hover { color: var(--text); }


/* ── 15 STATUS BADGES ─────────────────────────────────────────────────── */
/* Usados em pedidos, estoque, etc. */
.ds-status {
  font-size: var(--fs-xs);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-align: center;
  display: inline-block;
  white-space: nowrap;
}
.ds-status-pendente  { background: rgba(249,115, 22,.15); color: var(--orange); border: 1px solid rgba(249,115, 22,.3); }
.ds-status-pago      { background: rgba( 59,130,246,.15); color: var(--blue);   border: 1px solid rgba( 59,130,246,.3); }
.ds-status-enviado   { background: rgba(139, 92,246,.15); color: var(--purple); border: 1px solid rgba(139, 92,246,.3); }
.ds-status-entregue  { background: rgba( 16,185,129,.15); color: var(--green);  border: 1px solid rgba( 16,185,129,.3); }
.ds-status-cancelado { background: rgba(239, 68, 68,.15); color: var(--red);    border: 1px solid rgba(239, 68, 68,.3); }
.ds-status-low       { background: rgba(249,115, 22,.15); color: var(--orange); border: 1px solid rgba(249,115, 22,.3); }
.ds-status-out       { background: rgba(239, 68, 68,.15); color: var(--red);    border: 1px solid rgba(239, 68, 68,.3); }
.ds-status-ok        { background: rgba( 16,185,129,.12); color: var(--green);  border: 1px solid rgba( 16,185,129,.3); }


/* ── 16 TOASTS / NOTIFICAÇÕES ─────────────────────────────────────────── */
.ds-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.ds-toast {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 500;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: ds-slideInRight var(--t-slow) ease forwards;
  max-width: 320px;
}
.ds-toast-ok  { border-color: rgba(16,185,129,.4); color: var(--green); }
.ds-toast-err { border-color: rgba(239,68,68,.4);  color: var(--red); }

/* Status de formulário simples (nl-status, comentários, etc.) */
.ds-form-status {
  margin-top: 12px;
  font-size: var(--fs-sm);
  min-height: 18px;
  color: var(--dim);
}
.ds-form-status.ok  { color: var(--green); }
.ds-form-status.err { color: var(--red); }


/* ── 17 NEWSLETTER SECTION ────────────────────────────────────────────── */
/*
   Fonte canônica — importada por TODAS as páginas.
   Não duplicar este bloco em nenhuma página HTML.

   Markup esperado:
   <section class="nl-section" id="newsletter">
     <div class="section-head">
       <span class="tag">[ Newsletter ]</span>
       <h2 class="section-title">Fique por <span class="accent">dentro</span></h2>
       <p class="section-sub">…</p>
     </div>
     <form class="nl-form" id="nlForm" onsubmit="nlSubmit(event,'PAGE')" novalidate>
       <input name="website" style="display:none" tabindex="-1" autocomplete="off">
       <div class="nl-row">
         <input id="nlName"  class="nl-input"  placeholder="Seu nome">
         <input id="nlEmail" class="nl-input"  placeholder="seu@email.com" required type="email">
         <button id="nlBtn"  class="nl-btn"    type="submit">Me avisar</button>
       </div>
       <div class="nl-status" id="nlStatus" role="status" aria-live="polite"></div>
     </form>
   </section>
*/
.nl-section {
  position: relative;
  padding: 88px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Halo roxo decorativo */
.nl-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(640px, 92%);
  height: 260px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 100% at 50% 0%, var(--purple-glow), transparent 70%);
  opacity: .22;
  pointer-events: none;
}
.nl-section > * { position: relative; z-index: 1; }

.nl-section .section-head { text-align: center; margin: 0; width: min(680px, 100%); }

.nl-section .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  padding: 5px 12px;
  border: 1px solid rgba(139, 92, 246, .35);
  border-radius: var(--radius-sm);
  background: var(--purple-soft);
}
.nl-section .section-title {
  font-family: var(--font-display-2);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 18px 0 0;
  color: var(--text);
}
.nl-section .section-title .accent { color: var(--purple); }
.nl-section .section-sub {
  font-size: clamp(14px, 2.2vw, 16px);
  color: var(--muted);
  max-width: 520px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.nl-section .nl-form { width: min(540px, 100%); max-width: 540px; margin-top: 34px; text-align: left; }

.nl-section .nl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: stretch;
}
.nl-section .nl-input {
  flex: 1 1 0 !important;
  min-width: 180px;
  width: auto !important;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.3;
  color: var(--text);
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.nl-section .nl-input::placeholder { color: var(--dim); opacity: 1; }
.nl-section .nl-input:focus {
  border-color: var(--purple);
  background: rgba(139, 92, 246, .06);
  box-shadow: 0 0 0 3px var(--purple-glow);
}
.nl-section .nl-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  background: var(--purple);
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.nl-section .nl-btn:hover {
  background: var(--purple-deep);
  box-shadow: 0 0 24px var(--purple-glow);
  transform: translateY(-2px);
}
.nl-section .nl-btn:active { transform: translateY(0); }
.nl-section .nl-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.nl-section .nl-status {
  margin-top: 14px;
  font-size: 13px;
  min-height: 18px;
  color: var(--dim);
}
.nl-section .nl-status.ok  { color: #4ade80; }
.nl-section .nl-status.err { color: #f87171; }

@media (max-width: 600px) {
  .nl-section            { padding: 60px 18px; }
  .nl-section .nl-row    { flex-direction: column; }
  .nl-section .nl-input  { width: 100%; min-width: 0; font-size: 16px; }
  .nl-section .nl-btn    { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-section .nl-input,
  .nl-section .nl-btn    { transition: none; }
  .nl-section .nl-btn:hover { transform: none; }
}


/* ── 18 TABELAS ───────────────────────────────────────────────────────── */
.ds-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
}
.ds-table th {
  font-size: var(--fs-xs);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  white-space: nowrap;
}
.ds-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}
.ds-table tr:last-child td { border-bottom: none; }
.ds-table tr:hover td { background: rgba(255,255,255,.025); }


/* ── 19 LOADER / SPINNER ──────────────────────────────────────────────── */
.ds-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--purple);
  animation: ds-spin .8s linear infinite;
  flex-shrink: 0;
}
.ds-spinner-sm {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
@keyframes ds-spin { to { transform: rotate(360deg); } }

/* Skeleton loading (placeholder cinza pulsante) */
.ds-skeleton {
  background: linear-gradient(90deg, var(--card-2) 25%, rgba(255,255,255,.05) 50%, var(--card-2) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius);
  animation: ds-shimmer 1.6s infinite;
}
@keyframes ds-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ── 20 SCROLLBAR ─────────────────────────────────────────────────────── */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
*::-webkit-scrollbar       { width: 5px; height: 5px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
*::-webkit-scrollbar-track { background: transparent; }


/* ── 21 UTILITÁRIOS ───────────────────────────────────────────────────── */
/* Display */
.ds-flex        { display: flex; }
.ds-flex-center { display: flex; align-items: center; justify-content: center; }
.ds-flex-between{ display: flex; align-items: center; justify-content: space-between; }
.ds-flex-gap-2  { gap: var(--sp-2); }
.ds-flex-gap-4  { gap: var(--sp-4); }
.ds-flex-gap-6  { gap: var(--sp-6); }

/* Espaçamento */
.ds-mt-2  { margin-top: var(--sp-2);  }
.ds-mt-4  { margin-top: var(--sp-4);  }
.ds-mt-6  { margin-top: var(--sp-6);  }
.ds-mt-8  { margin-top: var(--sp-8);  }
.ds-mb-2  { margin-bottom: var(--sp-2); }
.ds-mb-4  { margin-bottom: var(--sp-4); }
.ds-mb-6  { margin-bottom: var(--sp-6); }
.ds-mb-8  { margin-bottom: var(--sp-8); }

/* Visibilidade responsiva */
.ds-hide-mobile  { display: inherit !important; }
.ds-hide-desktop { display: none !important; }
@media (max-width: 768px) {
  .ds-hide-mobile  { display: none !important; }
  .ds-hide-desktop { display: inherit !important; }
}

/* Truncar texto com reticências */
.ds-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Linha de separação com texto centralizado */
.ds-divider-label {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--dim);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: var(--sp-8) 0;
}
.ds-divider-label::before,
.ds-divider-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}


/* ── 22 ADMIN LINK ────────────────────────────────────────────────────── */
/* Link discreto no canto inferior direito (visível só no hover) */
.ds-adm-link {
  position: fixed;
  bottom: 14px;
  right: 16px;
  z-index: var(--z-nav);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .08);
  text-decoration: none;
  transition: color var(--t);
}
.ds-adm-link:hover { color: var(--purple); }


/* ── 23 ANIMAÇÕES ─────────────────────────────────────────────────────── */
@keyframes ds-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ds-fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ds-slideInRight {
  from { transform: translateX(24px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes ds-slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes ds-pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.4); }
}
@keyframes ds-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(139,92,246,0); }
  50%       { box-shadow: 0 0 20px var(--purple-glow); }
}

/* Classes de entrada rápida */
.ds-fade-in    { animation: ds-fadeIn    .3s ease forwards; }
.ds-fade-in-up { animation: ds-fadeInUp  .35s ease forwards; }
.ds-slide-right { animation: ds-slideInRight .3s ease forwards; }


/* ── 24 IMPRESSÃO ─────────────────────────────────────────────────────── */
@media print {
  body { background: #fff; color: #000; }
  .ds-adm-link,
  .no-print { display: none !important; }
  .ds-card { border-color: #ccc; box-shadow: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 11px; color: #666; }
}
