/* ==================== */
/* DESIGN SYSTEM TOKENS */
/* ==================== */

:root {
  color-scheme: dark light;

  /* Colors */
  --pulse-primary: #d4af37;
  --pulse-primary-light: #e8c547;
  --pulse-primary-dark: #a0852e;
  --pulse-secondary: #0a0a0a;
  --pulse-dark: #050505;
  --pulse-slate: #2a2a2a;
  --pulse-slate-light: #3d3d3d;
  --pulse-slate-lighter: #505050;
  --pulse-ink: #f5f5f5;
  --pulse-ink-secondary: #d4d4d4;
  --pulse-ink-tertiary: #a8a8a8;
  --pulse-line: rgba(212, 175, 55, 0.2);
  --pulse-line-dark: rgba(212, 175, 55, 0.1);
  --pulse-success: #10b981;
  --pulse-error: #ef4444;
  --pulse-warning: #f59e0b;
  --pulse-info: #3b82f6;
  
  /* Light Mode Overrides */
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #1a1612;
  --color-bg-tertiary: #2a2420;
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #d4d4d4;
  --color-text-tertiary: #a8a8a8;
  --color-border: rgba(212, 175, 55, 0.2);
  
  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-family-mono: 'Courier New', monospace;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font sizes */
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 32px;
  --font-size-4xl: 40px;
  
  /* Line heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing scale (4px base) */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 18px 42px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.55);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 400ms ease;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;

  /* Repeated opacity variants */
  --pulse-primary-005: rgba(212, 175, 55, 0.05);
  --pulse-primary-008: rgba(212, 175, 55, 0.08);
  --pulse-primary-012: rgba(212, 175, 55, 0.12);
  --pulse-primary-015: rgba(212, 175, 55, 0.15);
  --card-bg: rgba(26, 22, 18, 0.88);
  --card-bg-solid: rgba(15, 15, 15, 0.95);
}

/* Light Mode */
html.light-mode {
  --color-bg-primary: #f8f8f8;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f0f0f0;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-tertiary: #707070;
  --color-border: rgba(74, 74, 74, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--pulse-ink);
  background: #0a0a0a;
}

/* ==================== */
/* TYPOGRAPHY SYSTEM    */
/* ==================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--pulse-ink);
  margin-bottom: var(--space-2);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pulse-primary);
}

p {
  margin-bottom: var(--space-3);
  color: var(--pulse-ink-secondary);
}

p.lead {
  font-size: var(--font-size-lg);
  color: var(--pulse-ink);
}

small, .small {
  font-size: var(--font-size-sm);
  color: var(--pulse-ink-tertiary);
}

strong, .bold {
  font-weight: var(--font-weight-semibold);
  color: var(--pulse-ink);
}

.text-primary {
  color: var(--pulse-primary) !important;
}

.text-secondary {
  color: var(--pulse-ink-secondary) !important;
}

.text-tertiary {
  color: var(--pulse-ink-tertiary) !important;
}

.text-muted {
  color: var(--pulse-ink-tertiary) !important;
}

/* ==================== */
/* BUTTON SYSTEM        */
/* ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary button */
.btn-primary {
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-light));
  color: var(--pulse-secondary);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

/* Secondary button */
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--pulse-primary);
  color: var(--pulse-primary);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  color: var(--pulse-primary);
  border: 1px solid var(--pulse-line);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.08);
}

/* Large button */
.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--font-size-base);
}

/* Small button */
.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
}

/* ==================== */
/* FORM SYSTEM          */
/* ==================== */

.form-group {
  margin-bottom: var(--space-6);
}

label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-medium);
  color: var(--pulse-ink);
  font-size: var(--font-size-sm);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  background: rgba(10, 10, 10, 0.75);
  color: var(--pulse-ink);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: var(--pulse-ink-tertiary);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--pulse-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: rgba(10, 10, 10, 0.85);
}

textarea {
  resize: vertical;
}

select {
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--pulse-primary);
}

.form-check label {
  margin-bottom: 0;
  cursor: pointer;
  font-size: var(--font-size-sm);
}

/* ==================== */
/* CARD SYSTEM          */
/* ==================== */

.card {
  background: linear-gradient(165deg, rgba(26, 22, 18, 0.85), rgba(15, 15, 15, 0.92));
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--pulse-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.card-body {
  padding: var(--space-6);
}

.card-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--pulse-line);
  background: rgba(0, 0, 0, 0.3);
}

.card-header h5 {
  margin-bottom: 0;
  color: var(--pulse-primary);
}

.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--pulse-line);
  background: rgba(0, 0, 0, 0.2);
}

/* ==================== */
/* BADGE & PILL SYSTEM  */
/* ==================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  background: rgba(212, 175, 55, 0.15);
  color: var(--pulse-primary);
  border: 1px solid var(--pulse-line);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-primary {
  background: rgba(212, 175, 55, 0.15);
  color: var(--pulse-primary);
  border-color: var(--pulse-line);
}

.badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: var(--pulse-success);
  border-color: rgba(16, 185, 129, 0.2);
}

.badge-error {
  background: rgba(239, 68, 68, 0.15);
  color: var(--pulse-error);
  border-color: rgba(239, 68, 68, 0.2);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--pulse-warning);
  border-color: rgba(245, 158, 11, 0.2);
}

/* ==================== */
/* SPACE UTILITIES      */
/* ==================== */

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-1 { padding-left: var(--space-1); padding-right: var(--space-1); }
.px-2 { padding-left: var(--space-2); padding-right: var(--space-2); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }

.py-1 { padding-top: var(--space-1); padding-bottom: var(--space-1); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* ==================== */
/* ANIMATION SYSTEM     */
/* ==================== */

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

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.animate-fadeIn {
  animation: fadeIn var(--transition-base);
}

.animate-slideInUp {
  animation: slideInUp var(--transition-slow);
}

.animate-slideInDown {
  animation: slideInDown var(--transition-slow);
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.lp-body {
  background: radial-gradient(circle at 8% 0%, rgba(212, 175, 55, 0.22), transparent 35%), radial-gradient(circle at 100% 10%, rgba(10, 10, 10, 0.85), transparent 38%), linear-gradient(160deg, #0a0a0a 0%, #1a1612 44%, #0f0f0f 100%);
  color: var(--pulse-ink);
  overflow-x: hidden;
}

.lp-header {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--pulse-line);
}

/* Mobile hamburger */
.lp-mobile-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-mobile-toggle:hover {
  border-color: var(--pulse-primary);
  color: var(--pulse-primary);
}

/* Mobile dropdown menu */
.lp-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(8, 8, 8, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-mobile-menu.is-open {
  max-height: 400px;
}

.lp-mobile-nav {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lp-mobile-nav > a {
  display: block;
  padding: 12px 14px;
  color: rgba(245, 245, 245, 0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.lp-mobile-nav > a:hover {
  color: var(--pulse-primary);
  background: rgba(212, 175, 55, 0.06);
}

.lp-mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-hero {
  position: relative;
  min-height: 520px;
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #050505;
  overflow: hidden;
}

.lp-brand i {
  color: var(--pulse-secondary);
}

.lp-nav a {
  text-decoration: none;
  color: var(--pulse-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
}

.lp-nav a:hover {
  color: var(--pulse-primary-light);
}

.lp-btn-primary {
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-light));
  border: 0;
  color: var(--pulse-secondary);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.35);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.lp-btn-primary:hover {
  color: var(--pulse-secondary);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(212, 175, 55, 0.42);
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pulse-line);
  background: rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3);
  color: var(--pulse-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
}

.lp-kicker:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--pulse-primary);
}

.lp-proof span {
  border-radius: var(--radius-full);
  border: 1px solid var(--pulse-line);
  background: rgba(10, 10, 10, 0.65);
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

.lp-proof i {
  color: var(--pulse-secondary);
}

.lp-hero-card {
  background: linear-gradient(160deg, rgba(26, 22, 18, 0.9), rgba(15, 15, 15, 0.85));
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.lp-hero-card:hover {
  border-color: var(--pulse-primary);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lp-event-item {
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: rgba(10, 10, 10, 0.45);
  transition: all var(--transition-base);
}

.lp-event-item:hover {
  border-color: var(--pulse-primary);
  background: rgba(10, 10, 10, 0.65);
  transform: translateY(-2px);
}

.lp-event-item small {
  display: block;
  color: var(--pulse-primary);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.lp-event-item strong {
  color: var(--pulse-ink);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.lp-glow {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(22px);
  pointer-events: none;
  opacity: 0.6;
}

.lp-glow.g1 {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -50px;
  background: rgba(212, 175, 55, 0.28);
}

.lp-glow.g2 {
  width: 460px;
  height: 460px;
  left: -140px;
  bottom: -200px;
  background: rgba(212, 175, 55, 0.18);
}

.lp-surface-1 {
  background: #1a1612;
  color: #d4af37;
}

.lp-surface-2 {
  background: linear-gradient(180deg, #0a0a0a, #151512);
}

.lp-mini-card {
  border: 1.5px solid var(--pulse-primary);
  border-radius: var(--radius-md);
  background: rgba(26, 22, 18, 0.7);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 112px;
  padding: var(--space-4);
  transition: all var(--transition-base);
}

.lp-mini-card:hover {
  border-color: var(--pulse-primary-light);
  background: rgba(26, 22, 18, 0.9);
  transform: translateY(-2px);
}

.lp-mini-card i {
  font-size: 24px;
  color: var(--pulse-primary);
}

.lp-about-photo {
  background: linear-gradient(145deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: var(--pulse-secondary);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 44px rgba(212, 175, 55, 0.35);
}

.lp-photo {
  height: 430px;
  object-fit: cover;
}

.lp-photo-sm {
  height: 208px;
  object-fit: cover;
}

.lp-girl-card {
  background: rgba(26, 22, 18, 0.9);
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.lp-girl-card:hover {
  border-color: var(--pulse-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.lp-girl-card img {
  height: 260px;
  object-fit: cover;
}

.lp-adv-card {
  border-radius: 16px;
  transition: transform .24s ease, box-shadow .24s ease;
}

.lp-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12) !important;
}

.lp-adv-card,
.lp-girl-card,
.lp-mini-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.lp-adv-card.is-in,
.lp-girl-card.is-in,
.lp-mini-card.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Sistema (app e cliente) */
.sys-body {
  background: radial-gradient(circle at 5% 0%, rgba(212, 175, 55, 0.18), transparent 26%), radial-gradient(circle at 95% 12%, rgba(10, 10, 10, 0.9), transparent 30%), linear-gradient(160deg, #0a0a0a, #1a1612 48%, #0f0f0f);
  color: #f5f5f5;
  min-height: 100vh;
}

.sys-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-4);
}

.sys-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.sys-card {
  background: linear-gradient(165deg, rgba(26, 22, 18, 0.85), rgba(15, 15, 15, 0.92));
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.sys-card:hover {
  border-color: var(--pulse-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.sys-left {
  border-radius: var(--radius-xl);
  border: 1px solid var(--pulse-line);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12), rgba(10, 10, 10, 0.8));
  padding: var(--space-6);
}

.sys-left h2 {
  color: var(--pulse-ink);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.sys-left p {
  color: var(--pulse-primary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.sys-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  border: 1px solid var(--pulse-line);
  padding: var(--space-2) var(--space-3);
  font-size: var(--font-size-xs);
  margin-bottom: var(--space-3);
  font-weight: var(--font-weight-medium);
  color: var(--pulse-primary);
}

.sys-pill i {
  color: var(--pulse-primary);
}

.sys-input {
  border-radius: var(--radius-md);
  border: 1px solid var(--pulse-line);
  background: rgba(10, 10, 10, 0.75);
  color: var(--pulse-ink);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sys-input::placeholder {
  color: var(--pulse-ink-tertiary);
}

.sys-input:focus {
  outline: none;
  border-color: var(--pulse-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: rgba(10, 10, 10, 0.85);
  color: var(--pulse-ink);
}

.sys-link {
  color: var(--pulse-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-base);
}

.sys-link:hover {
  color: var(--pulse-primary-light);
  text-decoration: underline;
}

.sys-stat {
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: rgba(10, 10, 10, 0.48);
  border: 1px solid var(--pulse-line);
  font-size: var(--font-size-sm);
  color: var(--pulse-ink-secondary);
  transition: all var(--transition-base);
}

.sys-stat:hover {
  border-color: var(--pulse-primary);
  background: rgba(10, 10, 10, 0.65);
}

/* ==================== */
/* RESPONSIVE DESIGN    */
/* ==================== */

/* Tablet and up */
@media (min-width: 768px) {
  .sys-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .sys-split.side-panel {
    grid-template-columns: 2fr 1fr;
  }
}

/* Tablet and down */
@media (max-width: 991px) {
  :root {
    --font-size-4xl: 32px;
    --font-size-3xl: 24px;
    --space-10: 32px;
  }

  .sys-split {
    grid-template-columns: 1fr;
  }

  .lp-photo {
    height: 280px;
  }

  .lp-photo-sm {
    height: 170px;
  }

  .sys-shell {
    padding: var(--space-6) var(--space-3);
  }

  .sys-topbar {
    padding: var(--space-2) var(--space-3);
  }

  .card-body,
  .sys-card,
  .sys-left {
    padding: var(--space-4);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

/* Mobile and down */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 28px;
    --font-size-3xl: 20px;
    --font-size-2xl: 20px;
    --space-10: 24px;
    --space-6: 16px;
  }

  body {
    font-size: var(--font-size-sm);
  }

  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  .container {
    padding: var(--space-3);
  }

  .sys-shell {
    padding: var(--space-6) var(--space-3);
  }

  .card {
    border-radius: var(--radius-lg);
  }

  .card-body,
  .sys-card,
  .sys-left {
    padding: var(--space-4);
  }

  .btn {
    width: 100%;
    padding: var(--space-3) var(--space-4);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-md);
  }

  .sys-kpi {
    padding: var(--space-3);
  }

  .sys-kpi h2 {
    font-size: var(--font-size-2xl);
  }
}

/* Small mobile */
@media (max-width: 576px) {
  :root {
    --font-size-lg: 16px;
    --font-size-base: 14px;
    --space-4: 12px;
  }

  .container-fluid {
    padding: var(--space-2);
  }

  h1,
  h2,
  h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-2);
  }

  .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }

  .sys-kpi {
    padding: var(--space-2);
  }

  .sys-kpi h2 {
    font-size: var(--font-size-xl);
  }

  .gap-6 {
    gap: var(--space-3) !important;
  }
}

.sys-topbar {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pulse-line);
  padding: var(--space-3) var(--space-4);
}

.sys-topbar .nav-link {
  color: var(--pulse-primary);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
}

.sys-topbar .nav-link:hover {
  color: var(--pulse-primary-light);
}

.sys-kpi {
  border-radius: var(--radius-lg);
  border: 1px solid var(--pulse-line);
  background: linear-gradient(170deg, rgba(26, 22, 18, 0.82), rgba(15, 15, 15, 0.88));
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  transition: all var(--transition-base);
}

.sys-kpi:hover {
  border-color: var(--pulse-primary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.sys-kpi small {
  color: var(--pulse-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

.sys-kpi h2 {
  margin: var(--space-2) 0 var(--space-1);
  color: var(--pulse-ink);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

.sys-kpi p {
  margin: 0;
  color: var(--pulse-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

/* ==================== */
/* LOGIN PAGES         */
/* ==================== */

.login-container {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, #1a1612 100%);
  transition: background var(--transition-slow);
}

html.light-mode .login-container {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

/* Left side - illustration/showcase */
.login-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
}

.login-panel-left::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.login-panel-left::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.login-brand {
  position: relative;
  z-index: 1;
}

.login-brand h1 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--pulse-primary);
  margin-bottom: var(--space-2);
}

.login-brand p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  max-width: 450px;
}

html.light-mode .login-brand p {
  color: var(--color-text-secondary);
}

.login-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.login-feature-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.login-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pulse-primary);
  font-size: 24px;
  flex-shrink: 0;
}

.login-feature-content h3 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.login-feature-content p {
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
  margin: 0;
}

/* Right side - form */
.login-panel-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-12);
  position: relative;
  background: var(--color-bg-secondary);
  border-left: 1px solid var(--color-border);
}

html.light-mode .login-panel-right {
  background: #ffffff;
  border-left-color: rgba(212, 175, 55, 0.1);
}

.login-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.login-form-header {
  margin-bottom: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-form-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0;
}

/* Theme toggle button */
.theme-toggle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-size: 20px;
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--pulse-primary);
}

.login-form-group {
  margin-bottom: var(--space-5);
}

.login-form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.login-form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-text-primary);
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  transition: all var(--transition-base);
}

html.light-mode .login-form-input {
  background: #f5f5f5;
  border-color: rgba(74, 74, 74, 0.15);
}

.login-form-input::placeholder {
  color: var(--color-text-tertiary);
}

.login-form-input:focus {
  outline: none;
  border-color: var(--pulse-primary);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

html.light-mode .login-form-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.login-form-helper {
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

.login-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  gap: var(--space-3);
}

.login-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.login-checkbox input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--pulse-primary);
}

.login-checkbox label {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
  font-weight: var(--font-weight-normal);
}

.login-forgot-link {
  font-size: var(--font-size-sm);
  color: var(--pulse-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-base);
}

.login-forgot-link:hover {
  color: var(--pulse-primary-light);
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-light));
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.login-divider-line {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.login-divider-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.login-footer {
  margin-top: var(--space-6);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-tertiary);
}

.login-footer a {
  color: var(--pulse-primary);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: color var(--transition-base);
}

.login-footer a:hover {
  color: var(--pulse-primary-light);
}

/* Tabs for login (app-login) */
.login-tabs {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.login-tab {
  padding: var(--space-3) var(--space-4);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  transition: color var(--transition-base);
}

.login-tab:hover {
  color: var(--color-text-primary);
}

.login-tab.active {
  color: var(--pulse-primary);
}

.login-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pulse-primary);
}

.login-tab-content {
  display: none;
}

.login-tab-content.active {
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr;
  }

  .login-panel-left {
    display: none;
  }

  .login-panel-right {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .login-form-wrapper {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .login-container {
    overflow-y: auto;
  }

  .login-panel-right {
    padding: var(--space-6) var(--space-4);
  }

  .login-form-wrapper {
    max-width: 100%;
  }

  .login-panel-left {
    padding: var(--space-8) var(--space-4);
  }

  .login-brand h1 {
    font-size: var(--font-size-3xl);
  }

  .login-brand p {
    font-size: var(--font-size-base);
  }
}

/* ==================== */
/* ==================== */
/* BACKOFFICE FINAL UI  */
/* ==================== */

/* Light mode: full-page application (body, cards, text, inputs, tables) */
html.light-mode .sys-body {
  background: linear-gradient(160deg, #f4f2ee 0%, #ede9e2 100%);
  color: #1a1a1a;
}
html.light-mode .sys-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  color: #1a1a1a;
}
html.light-mode .sys-card:hover { border-color: var(--pulse-primary); }
html.light-mode .sys-kpi {
  background: #ffffff;
  border-color: rgba(0,0,0,0.09);
  color: #1a1a1a;
}
html.light-mode .sys-kpi h2 { color: #1a1a1a; }
html.light-mode .sys-stat {
  background: rgba(212,175,55,0.07);
  border-color: rgba(0,0,0,0.09);
  color: #3a3a3a;
}
html.light-mode .sys-pill { border-color: rgba(0,0,0,0.12); color: var(--pulse-primary-dark); }
html.light-mode .sys-input {
  background: #f7f7f7;
  border-color: rgba(0,0,0,0.15);
  color: #1a1a1a;
}
html.light-mode .sys-input:focus { background: #fff; border-color: var(--pulse-primary); color: #1a1a1a; }
html.light-mode .text-secondary { color: #5a5a5a !important; }
html.light-mode .text-white { color: #1a1a1a !important; }
html.light-mode .table-dark {
  --bs-table-bg: #f8f6f2;
  --bs-table-striped-bg: #f1ede6;
  --bs-table-color: #1a1a1a;
  --bs-table-border-color: rgba(0,0,0,0.09);
}
html.light-mode .modal-content.sys-card { background: #ffffff; }
html.light-mode .btn-close-white { filter: invert(1); }
html.light-mode .alert-warning { background: #fff9e6; color: #7a5a00; border-color: #e8c84a; }
html.light-mode .badge.bg-success { background-color: #16a34a !important; }
html.light-mode .badge.bg-secondary { background-color: #6b7280 !important; }

/* ==================== */
/* TABLE OVERRIDES      */
/* ==================== */

/* Dark mode: ALL tables get dark-friendly vars (not just table-dark)           */
/* This fixes any table using table-hover without table-dark in dark mode        */
html:not(.light-mode) .table {
  --bs-table-bg: transparent;
  --bs-table-color: #d8d5d0;
  --bs-table-border-color: rgba(255,255,255,0.06);
  --bs-table-striped-bg: rgba(255,255,255,0.03);
  --bs-table-striped-color: #d8d5d0;
  --bs-table-hover-bg: rgba(212,175,55,0.07);
  --bs-table-hover-color: #ffffff;
  --bs-table-active-bg: rgba(212,175,55,0.1);
}

/* Explicit table-dark also gets our refined palette — and we reset Bootstrap's
   forced color-scheme:dark which causes cells to look bright when transparent */
.table-dark {
  color-scheme: unset;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(255,255,255,0.03);
  --bs-table-hover-bg: rgba(212,175,55,0.07);
  --bs-table-color: #d8d5d0;
  --bs-table-border-color: rgba(212,175,55,0.1);
  --bs-table-striped-color: #d8d5d0;
  --bs-table-hover-color: #ffffff;
}

/* Cell-level hard override — ensures transparent cells in both dark-mode approaches */
html:not(.light-mode) .sys-card .table > :not(caption) > * > * {
  background-color: transparent !important;
}
html:not(.light-mode) .sys-card .table-hover > tbody > tr:hover > * {
  background-color: rgba(212,175,55,0.07) !important;
  color: #ffffff !important;
}

.table thead th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(212,175,55,0.75);
  padding: 13px 16px;
  border-bottom: 1px solid rgba(212,175,55,0.15) !important;
  white-space: nowrap;
}

.table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  vertical-align: middle;
}

.table tfoot td {
  padding: 12px 16px;
  border-top: 1px solid rgba(212,175,55,0.2) !important;
}

/* ---- BADGE RESET ---- */
/* Our base .badge adds gold text — Bootstrap's bg-* variants must override to white */
.badge[class*="bg-"] {
  color: #fff !important;
  border: none;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  letter-spacing: 0.3px;
}

/* Keep our custom pulse badges as-is (no bg-* class) */
.badge:not([class*="bg-"]) {
  background: rgba(212,175,55,0.13);
  color: var(--pulse-primary);
  border: 1px solid var(--pulse-line);
}

/* ==================== */
/* SYS-MODAL            */
/* Dark-themed modal    */
/* ==================== */

/* Base: dark background, gold border, rounded */
.sys-modal {
  background: linear-gradient(165deg, rgba(26, 22, 18, 0.97), rgba(12, 11, 10, 0.99));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-xl);
  color: #f5f5f5;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.sys-modal .modal-header {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: transparent;
  padding: 18px 24px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.sys-modal .modal-title {
  color: #f5f5f5;
  font-weight: 600;
}

.sys-modal .modal-body {
  background: transparent;
  padding: 20px 24px;
  color: #f5f5f5;
}

.sys-modal .modal-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  background: transparent;
  padding: 14px 24px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Labels inside sys-modal inherit light color */
.sys-modal .form-label {
  color: #d4d4d4;
}

/* Light mode: white modal, dark text */
html.light-mode .sys-modal {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
html.light-mode .sys-modal .modal-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
html.light-mode .sys-modal .modal-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}
html.light-mode .sys-modal .modal-title {
  color: #1a1a1a;
}
html.light-mode .sys-modal .form-label {
  color: #3a3a3a;
}

/* Scrollable modal body limit for mobile/small screens */
.sys-modal .modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

/* ==================== */
/* NAV TABS (bo-tabs)   */
/* ==================== */
.bo-tabs .nav-link {
  color: var(--pulse-ink-tertiary);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 0;
  transition: all var(--transition-base);
}

.bo-tabs .nav-link:hover {
  color: var(--pulse-ink);
  border-bottom-color: rgba(212,175,55,0.4);
}

.bo-tabs .nav-link.active {
  color: var(--pulse-primary);
  border-bottom-color: var(--pulse-primary);
  background: transparent;
}

html.light-mode .bo-tabs .nav-link { color: #5a5a5a; }
html.light-mode .bo-tabs .nav-link.active { color: var(--pulse-primary-dark); border-bottom-color: var(--pulse-primary-dark); }

/* Stock badge pills */
.stock-ok   { color: #10b981; font-size: 11px; font-weight: 700; }
.stock-low  { color: #f59e0b; font-size: 11px; font-weight: 700; }
.stock-zero { color: #ef4444; font-size: 11px; font-weight: 700; }
.stock-null { color: #6b7280; font-size: 11px; }
.bo-shell {
  min-height: 100vh;
  display: flex;
}

/* ---- LEFT SIDEBAR ---- */
.bo-sidebar {
  width: 256px;
  flex-shrink: 0;
  background: #080705;
  border-right: 1px solid var(--pulse-line);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  transition: background var(--transition-slow), border-color var(--transition-slow);
  z-index: var(--z-sticky);
  scrollbar-width: thin;
  scrollbar-color: var(--pulse-line) transparent;
}

html.light-mode .bo-sidebar {
  background: #1a1712;
  border-right-color: rgba(0,0,0,0.18);
}

.bo-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--pulse-line);
  margin-bottom: 4px;
}

.bo-sidebar-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--pulse-primary), var(--pulse-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #0a0a0a;
  font-weight: 800;
  flex-shrink: 0;
}

.bo-sidebar-brand-text span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pulse-primary);
  line-height: 1.1;
}

.bo-sidebar-brand-text small {
  font-size: 10px;
  color: var(--pulse-ink-tertiary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.bo-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--pulse-line);
  border-radius: var(--radius-lg);
  background: rgba(212,175,55,0.07);
  margin-bottom: 4px;
}

.bo-profile strong {
  display: block;
  font-size: 13px;
  color: var(--pulse-ink);
  font-weight: 600;
  line-height: 1.2;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.light-mode .bo-profile strong { color: #f5f5f5; }

.bo-profile p {
  font-size: 10px;
  color: var(--pulse-ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
}

.bo-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.bo-menu-section {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--pulse-ink-tertiary);
  padding: 14px 10px 4px;
}

.bo-menu {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.bo-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  color: rgba(200,200,200,0.65);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.bo-menu-item i {
  color: var(--pulse-primary);
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.bo-menu-item:hover,
.bo-menu-item.active {
  color: #fff;
  border-color: rgba(212,175,55,0.2);
  background: rgba(212,175,55,0.1);
}

.bo-menu-item.active { color: var(--pulse-primary); }

.bo-sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--pulse-line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---- MAIN AREA ---- */
.bo-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bo-topbar {
  border-bottom: 1px solid var(--pulse-line);
  background: rgba(8,7,5,0.97);
  backdrop-filter: blur(8px);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  position: sticky;
  top: 0;
  z-index: calc(var(--z-sticky) - 1);
  transition: background var(--transition-slow), border-color var(--transition-slow);
}

html.light-mode .bo-topbar {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(0,0,0,0.1);
}

.bo-topbar-label {
  color: var(--pulse-primary);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.bo-topbar-title {
  font-size: var(--font-size-lg);
  color: var(--pulse-ink);
  font-weight: 700;
  line-height: 1.2;
}

html.light-mode .bo-topbar-title { color: #1a1a1a; }

.bo-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bo-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--pulse-line);
  background: transparent;
  color: var(--pulse-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 15px;
}

html.light-mode .bo-theme-toggle { border-color: rgba(0,0,0,0.15); color: var(--pulse-primary-dark); }

.bo-theme-toggle:hover { background: rgba(212,175,55,0.1); }

.bo-sidebar-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--pulse-line);
  background: transparent;
  color: var(--pulse-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.bo-content {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
}

/* ---- MOBILE SIDEBAR ---- */
@media (max-width: 1024px) {
  .bo-sidebar {
    position: fixed;
    left: -270px;
    top: 0;
    height: 100vh;
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-2xl);
    transition: left var(--transition-slow);
  }

  .bo-sidebar.open { left: 0; }

  .bo-sidebar-toggle { display: inline-flex; }

  .bo-content { padding: 20px 16px; }
}

@media (max-width: 768px) {
  .bo-content { padding: 14px 12px; }
  .bo-topbar { padding: 10px 14px; }
}

/* ==================== */
/* PAGINATION (dark)    */
/* ==================== */

.pagination .page-link {
  background: rgba(26, 22, 18, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--pulse-ink-tertiary);
  border-radius: var(--radius-sm) !important;
  font-size: 12px;
  padding: 4px 9px;
  transition: all var(--transition-base);
  line-height: 1.5;
}

.pagination .page-link:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--pulse-primary);
}

.pagination .page-item.active .page-link {
  background: var(--pulse-primary);
  border-color: var(--pulse-primary);
  color: #0a0a0a;
  font-weight: 700;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.35;
  pointer-events: none;
}

html.light-mode .pagination .page-link {
  background: #f0ede8;
  border-color: rgba(0, 0, 0, 0.12);
  color: #555;
}

html.light-mode .pagination .page-link:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--pulse-primary-dark);
}

/* ==================== */
/* UTILITIES            */
/* ==================== */

.x-small { font-size: 11px; }

/* Input group dark theming */
.input-group-text {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--pulse-primary);
}

/* Table dark: force transparent bg so sys-card gradient shows */
.table-dark { color-scheme: unset; }
.table-dark th,
.table-dark td { background: transparent !important; }
.table-dark thead th {
  background: rgba(0, 0, 0, 0.3) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pulse-ink-tertiary);
  font-weight: 700;
  border-bottom: 1px solid rgba(212,175,55,0.15) !important;
}

/* Dropdown dark theming */
.dropdown-menu {
  background: #111009;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
}

.dropdown-item {
  color: #d4d4d4;
  font-size: 13px;
  padding: 8px 16px;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #fff;
}

/* =============================== */
/* BO-PROFILE: clickable link      */
/* =============================== */

a.bo-profile {
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base);
}

a.bo-profile:hover {
  background: rgba(212, 175, 55, 0.13);
  border-color: rgba(212, 175, 55, 0.4);
}

/* =============================== */
/* TOPBAR USER BUTTON              */
/* =============================== */

.bo-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  background: rgba(212,175,55,0.06);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.bo-user-btn:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

.bo-user-btn .bo-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.bo-user-btn span {
  font-size: 12px;
  font-weight: 600;
  color: var(--pulse-ink);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ===================================================== */
/* LP EXTENDED — hero overlay, gallery, events, map etc  */
/* ===================================================== */

/* Hero background overlay */
.lp-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.82) 0%,
    rgba(5, 5, 5, 0.68) 40%,
    rgba(5, 5, 5, 0.55) 100%
  );
  z-index: 1;
}

.lp-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Trust badges in hero */
.lp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(245, 245, 245, 0.55);
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-trust-item i {
  color: var(--pulse-primary);
  font-size: 13px;
}

/* ── About Section (modern) ── */
.lp-about-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(170deg, #0a0a0a 0%, #111 50%, #0d0b09 100%);
  overflow: hidden;
  overflow-x: hidden;
}

.lp-about-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

.lp-about-glow-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: rgba(212, 175, 55, 0.08);
}

.lp-about-glow-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -60px;
  background: rgba(212, 175, 55, 0.06);
}

.lp-about-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.lp-about-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 245, 245, 0.55);
  margin-bottom: 28px;
  max-width: 540px;
}

/* About features list */
.lp-about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-about-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.lp-about-feat:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.lp-about-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-about-feat-icon i {
  font-size: 18px;
  color: var(--pulse-primary);
}

.lp-about-feat-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
}

/* About visual (right side) */
.lp-about-visual {
  position: relative;
}

.lp-about-photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.lp-about-visual-placeholder {
  background: linear-gradient(160deg, #1a1612 0%, #0d0b08 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.lp-about-visual-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.lp-about-visual-icon i {
  font-size: 30px;
  color: #0a0a0a;
}

.lp-about-visual-placeholder h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.lp-about-visual-placeholder p {
  font-size: 13px;
  color: var(--pulse-primary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.lp-about-float-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: #0a0a0a;
  padding: 10px 22px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.lp-about-float-badge i {
  font-size: 16px;
}

/* ── Meninas Section v2 ── */
.lp-meninas-section {
  padding: 80px 0;
  background: linear-gradient(175deg, #0d0b09 0%, #0a0a0a 100%);
  overflow: hidden;
}

.lp-meninas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-menina-col {
  animation: lp-menina-in 0.4s ease forwards;
}

.lp-menina-hidden {
  display: none;
}

.lp-menina-hidden.is-visible {
  display: block;
  animation: lp-menina-in 0.5s ease forwards;
}

@keyframes lp-menina-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lp-girl-card-v2 {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.lp-girl-card-v2:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lp-girl-card-v2.is-destaque {
  border-color: rgba(212, 175, 55, 0.2);
}

/* Girl photo wrap */
.lp-girl-photo-wrap {
  position: relative;
  overflow: hidden;
}

.lp-girl-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.lp-girl-card-v2:hover .lp-girl-photo {
  transform: scale(1.06);
}

.lp-girl-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lp-girl-overlay i {
  font-size: 28px;
  color: var(--pulse-primary);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.lp-girl-card-v2:hover .lp-girl-overlay {
  opacity: 1;
}

.lp-girl-destaque-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.lp-girl-media-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--pulse-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.lp-girl-info {
  padding: 12px 14px 16px;
  text-align: center;
}

.lp-girl-info h3 {
  font-size: 14px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0;
}

.lp-girl-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--pulse-primary);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 99px;
  padding: 2px 8px;
  margin-top: 6px;
}

/* Ver mais button */
.lp-btn-ver-mais {
  background: transparent;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  color: var(--pulse-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 32px;
  border-radius: 99px;
  transition: all 0.25s ease;
}

.lp-btn-ver-mais:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--pulse-primary);
  color: var(--pulse-primary);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .lp-meninas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .lp-girl-photo {
    height: 220px;
  }
  .lp-about-features {
    grid-template-columns: 1fr;
  }
  .lp-hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .lp-meninas-section {
    padding: 50px 0;
  }
}

@media (max-width: 576px) {
  .lp-meninas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lp-girl-photo {
    height: 180px;
  }
  .lp-about-section {
    padding: 40px 0;
  }
  .lp-about-title {
    font-size: 22px;
  }
  .lp-about-text {
    font-size: 14px;
  }
  .lp-about-visual-placeholder {
    padding: 40px 24px;
  }
  .lp-about-float-badge {
    font-size: 11px;
    padding: 8px 16px;
  }
  .lp-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .lp-hero .display-4 {
    font-size: 1.6rem;
  }
  .lp-hero .lead {
    font-size: 14px;
  }
  .lp-hero .btn-lg {
    padding: 10px 18px;
    font-size: 14px;
  }
  .lp-trust-item {
    font-size: 10px;
    padding: 4px 10px;
  }
  .lp-kicker {
    font-size: 10px;
  }
  .lp-meninas-section {
    padding: 40px 0;
  }
  .lp-btn-ver-mais {
    font-size: 13px;
    padding: 10px 24px;
  }
}

/* ── Footer ── */
.lp-footer {
  padding: 0;
  background: #060606;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.lp-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 50px 0 36px;
}

.lp-footer-brand {
  max-width: 300px;
}

.lp-footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.4);
  margin-top: 14px;
  margin-bottom: 0;
}

.lp-footer-links h6 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--pulse-primary);
  margin-bottom: 14px;
}

.lp-footer-links a {
  display: block;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.45);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lp-footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.lp-footer-address {
  font-size: 13px;
  color: rgba(245, 245, 245, 0.45);
  line-height: 1.6;
  margin: 0;
}

.lp-footer-address i {
  color: var(--pulse-primary);
}

.lp-footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.15), transparent);
}

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.lp-footer-bottom small {
  font-size: 12px;
  color: rgba(245, 245, 245, 0.3);
}

.lp-footer-made {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lp-footer-dom {
  color: var(--pulse-primary);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.lp-footer-dom:hover {
  color: var(--pulse-primary-light);
  opacity: 0.85;
}

@media (max-width: 991px) {
  .lp-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 0 28px;
  }
}

@media (max-width: 576px) {
  .lp-footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 20px;
  }
  .lp-footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* About image */
.lp-about-img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}

/* ── Gallery grid ── */
.lp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.lp-gallery-item {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  cursor: zoom-in;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lp-gallery-item:hover {
  border-color: var(--pulse-primary);
  transform: scale(1.01);
}

.lp-gallery-main {
  grid-column: span 2;
  grid-row: span 2;
}

.lp-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.lp-gallery-main .lp-gallery-img {
  min-height: 360px;
}

@media (max-width: 768px) {
  .lp-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lp-gallery-main {
    grid-column: span 2;
    grid-row: span 1;
  }
  .lp-gallery-main .lp-gallery-img {
    min-height: 220px;
  }
}

/* ── Event cards ── */
.lp-event-card {
  background: linear-gradient(165deg, rgba(26, 22, 18, 0.88), rgba(15, 15, 15, 0.95));
  border: 1px solid var(--pulse-line);
  border-radius: 14px;
  padding: 20px;
  color: var(--pulse-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-event-card:hover {
  border-color: var(--pulse-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* Date badge inside hero event widget */
.lp-event-date-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--pulse-primary);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 6px;
  text-align: center;
}

/* Event section card date badge */
.lp-event-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--pulse-primary), var(--pulse-primary-dark));
  color: #0a0a0a;
  padding: 4px;
  text-align: center;
}

.lp-event-badge-day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.lp-event-badge-mon {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: block;
  opacity: 0.75;
}

/* ── Reservation form wrapper ── */
.lp-reserva-form {
  background: linear-gradient(165deg, rgba(26, 22, 18, 0.88), rgba(10, 8, 5, 0.92));
  border: 1px solid var(--pulse-line);
  border-radius: 16px;
  padding: 28px;
}

/* ── Map ── */
.lp-map-wrapper {
  overflow: hidden;
  border: 1px solid var(--pulse-line);
}

.lp-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.lp-map-placeholder {
  height: 420px;
  background: #0d0d0b;
  border: 1px dashed rgba(212, 175, 55, 0.25);
  color: var(--pulse-ink-tertiary);
}

@media (max-width: 768px) {
  .lp-map-wrapper iframe { height: 280px; }
  .lp-map-placeholder     { height: 280px; }
  .lp-reserva-form        { padding: 18px; }
}

/* ── Lightbox ── */
.lp-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
}

.lp-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}

/* ── Admin: gallery slots ── */
.lp-gallery-slot {
  background: rgba(26, 22, 18, 0.7);
  border: 1px solid var(--pulse-line);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.lp-gallery-slot:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

/* ── Admin: menina checkbox label ── */
.lp-menina-check {
  background: rgba(26, 22, 18, 0.7);
  border: 1.5px solid var(--pulse-line);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lp-menina-check:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.lp-menina-check.selected {
  border-color: var(--pulse-primary);
  background: rgba(212, 175, 55, 0.1);
}

.lp-menina-check.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── Admin: event row ── */
.lp-event-row {
  background: rgba(26, 22, 18, 0.6);
  border: 1px solid var(--pulse-line);
  border-radius: 10px;
  padding: 14px;
}

/* ══════════════════════════════════════════════ */
/* GLOBAL: Focus visible for accessibility       */
/* ══════════════════════════════════════════════ */
*:focus-visible {
  outline: 2px solid var(--pulse-primary);
  outline-offset: 2px;
}
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--pulse-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* ══════════════════════════════════════════════ */
/* GLOBAL: Safe-area for notched phones (PWA)    */
/* ══════════════════════════════════════════════ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .ma-bottom-nav,
  .ca-bottom-nav {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ══════════════════════════════════════════════ */
/* GLOBAL: Loading state for buttons             */
/* ══════════════════════════════════════════════ */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
  color: transparent !important;
}
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btnSpin .6s linear infinite;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ══════════════════════════════════════════════ */
/* GLOBAL: Smooth transitions                    */
/* ══════════════════════════════════════════════ */
a, button, .btn, input, select, textarea {
  transition: color var(--transition-fast),
              background-color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              opacity var(--transition-fast);
}

/* ══════════════════════════════════════════════ */
/* QUALITY PATCH: Touch targets, contrast, mobile*/
/* ══════════════════════════════════════════════ */

/* ── Menu item: increase hit area to 44px (WCAG) ── */
.bo-menu-item {
  min-height: 40px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: rgba(220,220,220,0.72);
}
html.light-mode .bo-menu-item {
  color: #444;
}
html.light-mode .bo-menu-item:hover,
html.light-mode .bo-menu-item.active {
  color: #1a1a1a;
  background: rgba(212,175,55,.12);
}

/* ── Mobile sidebar: backdrop overlay ── */
.bo-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-fixed) - 1);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.bo-sidebar-backdrop.show {
  display: block;
}

/* ── Safe area for notched devices ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .ma-bottom-nav {
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    height: calc(64px + env(safe-area-inset-bottom));
  }
  .bo-content {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

/* ── Input zoom prevention on iOS (16px min) ── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  textarea,
  select,
  .form-control,
  .form-select {
    font-size: 16px !important;
  }
}

/* ── Table mobile: horizontal scroll visual cue ── */
.table-responsive {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.table-responsive::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.15));
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
@media (max-width: 768px) {
  .table-responsive {
    position: relative;
  }
  .table-responsive::after {
    opacity: 1;
  }
}

/* ── Focus visible: stronger ring ── */
*:focus-visible {
  outline: 2px solid var(--pulse-primary) !important;
  outline-offset: 2px !important;
}

/* ── Flash alerts: auto-dismiss animation ── */
.alert[data-auto-dismiss] {
  animation: alertFadeOut .5s ease 5s forwards;
}
@keyframes alertFadeOut {
  to { opacity: 0; max-height: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* ── Loading skeleton animation ── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.04) 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
  min-height: 20px;
}
@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
html.light-mode .skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,.04) 25%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.04) 75%);
  background-size: 200% 100%;
}

/* ── Empty state styling ── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--pulse-ink-secondary);
}
.empty-state i {
  font-size: 2.5rem;
  opacity: .4;
  margin-bottom: .75rem;
  display: block;
}

/* ── Print media ── */
@media print {
  .bo-sidebar,
  .bo-topbar,
  .bo-sidebar-backdrop,
  .bo-sidebar-toggle,
  .btn,
  .modal,
  .alert { display: none !important; }
  .bo-main { margin: 0; }
  .bo-content { padding: 0; }
  body { background: #fff !important; color: #111 !important; }
}

/* === Shared dashboard-style cards (db-*) — used em dashboard, colaboradores, etc. === */
.db-section-label {
  font-size:11px; text-transform:uppercase; letter-spacing:.8px;
  color:var(--pulse-primary); font-weight:800; margin-bottom:10px;
  display:flex; align-items:center; gap:6px;
}
.db-card {
  background:linear-gradient(160deg,rgba(30,24,18,.85),rgba(18,14,11,.92));
  border:1px solid rgba(212,175,55,.18); border-radius:14px; overflow:hidden;
}
.db-card-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid rgba(212,175,55,.12);
  background:rgba(0,0,0,.18);
}
.db-card-head h6 { margin:0; font-size:13px; font-weight:700; color:#fff; display:flex; align-items:center; gap:8px; }
.db-card-head h6 i { color:var(--pulse-primary); font-size:15px; }
.db-empty {
  padding:30px 16px; text-align:center; color:rgba(245,245,245,.45); font-size:12px;
  display:flex; flex-direction:column; gap:6px; align-items:center;
}
.db-empty i { font-size:30px; opacity:.5; color:var(--pulse-primary); }
