:root {
  --gold: #D4AF37;
  --gold-light: #FFD700;
  --gold-dim: rgba(212,175,55,0.15);
  --red: #E50914;
  --red-dim: rgba(229,9,20,0.15);
  --bg: #060608;
  --surface: #0D0D12;
  --surface2: #13131A;
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(212,175,55,0.2);
  --text: #EEEEF5;
  --text-muted: #6B6B80;
  --text-sub: #9999B0;
  --sidebar-w: 240px;
  --sidebar-collapsed: 64px;
  --header-h: 0px;
}
.light {
  --bg: #F0F0F5;
  --surface: #FFFFFF;
  --surface2: #F7F7FC;
  --border: rgba(0,0,0,0.07);
  --border-gold: rgba(212,175,55,0.3);
  --text: #0A0A18;
  --text-muted: #888899;
  --text-sub: #555568;
}

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

/* ── FIX 1: overflow-x no html E body para evitar scroll lateral ── */
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1,h2,h3,h4,h5,.syne { font-family: 'Syne', sans-serif; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 4px; }

/* ── SIDEBAR ── */
#sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-collapsed);
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 100;
  display: flex; flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
#sidebar:hover, #sidebar.expanded { width: var(--sidebar-w); }

.sidebar-logo {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 14px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0; min-height: 70px;
  text-decoration: none;
  cursor: pointer;
}
.sidebar-logo-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(229,9,20,0.3);
}
.sidebar-logo-text { white-space: nowrap; overflow: hidden; }
.sidebar-logo-text .brand { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: 0.1em; color: var(--text); line-height: 1; }
.sidebar-logo-text .sub { font-size: 9px; font-weight: 700; letter-spacing: 0.4em; color: var(--gold); }

.sidebar-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 0; }
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  color: var(--text-sub);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-item:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.nav-item.active { color: var(--gold); background: var(--gold-dim); }
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 2px; background: var(--gold); border-radius: 0 2px 2px 0;
}
.nav-item-icon { width: 32px; height: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; transition: background 0.2s; }
.nav-item:hover .nav-item-icon, .nav-item.active .nav-item-icon { background: rgba(255,255,255,0.05); }
.nav-item-label { flex: 1; transition: opacity 0.2s ease; }
#sidebar:not(:hover):not(.expanded):not(.mobile-open) .nav-item-label { opacity: 0; }

.sidebar-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
  padding: 14px 16px 6px;
  white-space: nowrap; overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.3s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
  max-height: 40px;
}
#sidebar:not(:hover):not(.expanded):not(.mobile-open) .sidebar-section-label {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.sidebar-footer {
  padding: 12px; border-top: 1px solid var(--border); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border-radius: 8px;
  background: #22C55E; color: #fff;
  font-weight: 700; font-size: 11px; letter-spacing: 0.05em;
  text-decoration: none; white-space: nowrap; overflow: hidden;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #16A34A; }
.btn-whatsapp-icon { flex-shrink: 0; font-size: 16px; }

/* Theme toggle */
.theme-btn {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent; cursor: pointer;
  color: var(--text-muted); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.theme-btn:hover { color: var(--gold); border-color: var(--border-gold); }

/* ── MAIN CONTENT ── */
#main {
  margin-left: var(--sidebar-collapsed);
  transition: margin-left 0.3s cubic-bezier(0.4,0,0.2,1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#sidebar:hover ~ #main, #sidebar.expanded ~ #main { margin-left: var(--sidebar-w); }

/* ── MOBILE HEADER ── */
#mobile-header {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  align-items: center; justify-content: space-between;
}

/* ── FIX 2: BACKDROP MOBILE (fecha sidebar ao clicar fora) ── */
#mobile-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 299;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#mobile-backdrop.open { display: block; }

/* ── SECTIONS ── */
.page-section { display: none; }
.page-section.active { display: block; }

/* ── AMBIENT BG ── */
.ambient-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient-blob {
  position: absolute; border-radius: 50%; filter: blur(100px);
  opacity: 0.12;
  animation: blobFloat 14s infinite ease-in-out;
}
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-60px) scale(1.1); }
  66% { transform: translate(-30px,30px) scale(0.9); }
}
.grid-texture {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(212,175,55,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(212,175,55,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ── CONTENT WRAPPER ── */
.content-wrap {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 48px 40px 80px;
}

/* ── PAGE HEADER ── */
.page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.page-eyebrow::before {
  content: ''; width: 20px; height: 1px; background: var(--gold);
}
.page-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-desc {
  font-size: 15px; line-height: 1.7;
  color: var(--text-sub);
  max-width: 600px;
}

/* ── GRADIENT TEXT ── */
.g-gold { background: linear-gradient(135deg, #D4AF37, #FFD700 50%, #C8A920); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.g-red  { background: linear-gradient(135deg, #E50914, #FF2030 60%, #CC0010); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 0 1px rgba(212,175,55,0.08);
}
.card-featured {
  background: linear-gradient(135deg, rgba(212,175,55,0.06) 0%, transparent 60%);
  border: 1px solid rgba(212,175,55,0.4) !important;
  box-shadow: 0 0 40px rgba(212,175,55,0.08), 0 20px 60px rgba(0,0,0,0.3);
}
.card-featured:hover {
  border-color: rgba(212,175,55,0.6) !important;
}

/* ── STATS GRID ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  margin-bottom: 40px;
}
.stat-item {
  background: var(--surface); padding: 24px 20px; text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.5rem; line-height: 1; margin-bottom: 4px;
}
.stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ── PRICING TABLE ── */
.price-table {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: rgba(255,255,255,0.02); }
.price-label { font-size: 14px; color: var(--text-sub); }
.price-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: var(--gold); }

/* ── PLAN CARDS ── */
.plans-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.plan-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: all 0.25s;
}
.plan-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.plan-card.featured {
  background: linear-gradient(160deg, rgba(212,175,55,0.07) 0%, var(--surface) 60%);
  border-color: rgba(212,175,55,0.45);
  box-shadow: 0 0 50px rgba(212,175,55,0.1);
}
.plan-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 0 0 10px 10px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase;
}
.plan-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.05em; color: var(--text-sub); margin-bottom: 4px; }
.plan-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 38px; color: var(--text); margin-bottom: 24px; line-height: 1; }
.plan-features { list-style: none; flex: 1; space-y: 8px; margin-bottom: 28px; text-align: left; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-sub); padding: 5px 0; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features li i { color: var(--gold); margin-top: 2px; font-size: 10px; flex-shrink: 0; }
.plan-features li strong { color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 20px rgba(229,9,20,0.2); }
.btn-red:hover { background: #CC0010; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(229,9,20,0.3); }
.btn-gold-solid { background: var(--gold); color: #000; box-shadow: 0 4px 20px rgba(212,175,55,0.2); }
.btn-gold-solid:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--gold); border: 1px solid rgba(212,175,55,0.4); }
.btn-outline-gold:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn-outline-muted { background: transparent; color: var(--text-sub); border: 1px solid var(--border); }
.btn-outline-muted:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 13px; border-radius: 10px; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; }
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim); color: var(--gold); font-size: 14px;
}
.feature-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.feature-desc { font-size: 12px; color: var(--text-sub); line-height: 1.5; }

/* ── TAG / BADGE ── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
}
.tag-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,175,55,0.25); }
.tag-red { background: var(--red-dim); color: #FF4455; border: 1px solid rgba(229,9,20,0.25); }

/* ── DIVIDER ── */
.divider {
  display: flex; align-items: center; gap: 16px;
  margin: 40px 0; color: var(--text-muted); font-size: 10px;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.divider::before,.divider::after { content:''; flex:1; height:1px; background:var(--border); }

/* ── TERMINAL ── */
.terminal {
  background: #050508; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 18px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 2;
}

/* ── SECTION DIVIDER ── */
.s-divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; background: none; border: none; cursor: pointer;
  text-align: left; color: var(--text); font-weight: 600; font-size: 13px;
  gap: 12px;
}
.faq-btn i { color: var(--gold); transition: transform 0.3s; flex-shrink: 0; font-size: 11px; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.faq-body-inner { padding: 0 0 16px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.data-table thead th { padding: 14px 18px; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
.data-table tbody td { padding: 13px 18px; font-size: 13px; border-top: 1px solid var(--border); color: var(--text-sub); }
.data-table tbody td:first-child { color: var(--text); font-weight: 600; }
.data-table tbody td:last-child { text-align: right; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--gold); }
.data-table tbody tr:hover td { background: rgba(255,255,255,0.015); }

/* ── TABS ── */
.tab-strip {
  display: flex; gap: 4px; padding: 4px; background: var(--surface2);
  border-radius: 10px; margin-bottom: 24px; overflow-x: auto;
}
.tab-strip::-webkit-scrollbar { display: none; }
.tab-pill {
  flex-shrink: 0; padding: 8px 18px; border-radius: 7px;
  font-size: 12px; font-weight: 700; cursor: pointer; transition: all 0.2s;
  color: var(--text-muted); background: transparent; border: none;
}
.tab-pill.active { background: var(--gold); color: #000; }

/* ── GRID UTILS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

/* ── INFO BOX ── */
.info-box {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 10px; margin-bottom: 24px;
}
.info-box-red { background: rgba(229,9,20,0.06); border: 1px solid rgba(229,9,20,0.2); }
.info-box-gold { background: var(--gold-dim); border: 1px solid rgba(212,175,55,0.25); }
.info-box i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.info-box p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.info-box strong { color: var(--text); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border-gold); border-radius: 16px;
  padding: 48px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 60%);
}
.cta-banner > * { position: relative; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.1s; }
.d3 { transition-delay: 0.15s; }
.d4 { transition-delay: 0.2s; }

/* ── BACK TO TOP ── */
.btn-back-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: #000; border: none;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(212,175,55,0.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
}
.btn-back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.btn-back-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; border: none;
  font-size: 26px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulseWpp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float .badge-online {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #4ade80; border: 2px solid var(--bg);
  animation: blink 1.5s infinite;
}
@keyframes pulseWpp { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); } }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* ── VIDEO ── */
.video-wrap { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.video-wrap video { width: 100%; height: auto; display: block; }

/* ── GALLERY GRID ── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item {
  border-radius: 10px; overflow: hidden; position: relative;
  height: 180px; border: 1px solid var(--border);
  background: var(--surface);
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 14px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { font-size: 12px; font-weight: 600; color: #fff; }

/* ── APP GRID ── */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.app-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 10px; text-align: center; transition: all 0.2s; cursor: pointer;
}
.app-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.app-card img { height: 42px; width: auto; object-fit: contain; margin: 0 auto 8px; display: block; opacity: 0.8; transition: opacity 0.2s; }
.app-card:hover img { opacity: 1; }
.app-card span { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* ── SCROLL MARQUEE ── */
.marquee-wrap { position: relative; overflow: hidden; height: 72px; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track {
  display: flex; gap: 12px; position: absolute; left: 0;
  animation: marquee 35s linear infinite;
  width: max-content;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ch-card {
  width: 110px; height: 56px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; padding: 8px;
}
.ch-card img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(70%) opacity(0.75); transition: filter 0.3s; }
.ch-card:hover img { filter: none; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999; display: none;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border-gold);
  border-radius: 16px; width: 100%; max-width: 900px; height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 0 80px rgba(212,175,55,0.12);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header span { font-size: 13px; font-weight: 600; color: var(--text); }
.modal-close {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer; font-size: 12px;
}
.modal-body { flex: 1; position: relative; }
.modal-iframe { width: 100%; height: 100%; border: none; }
.modal-loader {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: var(--surface);
}
.modal-loader i { font-size: 28px; color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }

/* ── PHONE MOCKUP ── */
.phone-mockup {
  width: 220px; height: 440px; background: #111;
  border: 12px solid #1a1a1a; border-radius: 36px;
  overflow: hidden; position: relative; margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.phone-screen {
  width: 100%; height: 100%; background: #000;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 20px;
  position: relative;
}
.phone-screen::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(229,9,20,0.2), rgba(0,0,0,0.8));
}
.phone-screen > * { position: relative; z-index: 1; }

/* ── NOTICE BANNER ── */
.notice-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  background: rgba(229,9,20,0.1); border: 1px solid rgba(229,9,20,0.3);
  color: #FF4455; margin-top: 16px;
}

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.testimonial p { font-size: 13px; font-style: italic; color: var(--text-sub); line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-author img { width: 38px; height: 38px; border-radius: 50%; }
.testimonial-author-name { font-size: 13px; font-weight: 600; color: var(--text); }
.testimonial-author-role { font-size: 11px; color: var(--text-muted); }

/* ── PRINTS CAROUSEL ── */
.prints-carousel-wrap { overflow: hidden; width: 100%; }
.prints-carousel { overflow: hidden; position: relative; padding: 20px 0; }
.prints-carousel:hover .prints-track { animation-play-state: paused; }
.prints-track { display: flex; gap: 24px; animation: printsScroll 35s linear infinite; width: max-content; }
@keyframes printsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.phone-frame { position: relative; flex-shrink: 0; width: 180px; padding: 10px; background: linear-gradient(145deg, #1a1a2e, #2d2d44); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.06); transition: transform 0.3s; }
.phone-frame:hover { transform: scale(1.05); }
.phone-frame img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 16px; display: block; }
.phone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 50px; height: 5px; background: #000; border-radius: 10px; z-index: 2; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .phone-frame { width: 140px; padding: 8px; border-radius: 20px; }
  .phone-frame img { border-radius: 13px; }
  .phone-notch { width: 40px; height: 4px; top: 5px; }
  .prints-track { gap: 14px; }
  /* ── FIX 3: Sidebar mobile - ocultar por padrão, mostrar só quando .mobile-open ── */
  #sidebar {
    display: none;
    width: var(--sidebar-w) !important; /* sempre largura full quando visível */
    
  }
  /* ── FIX 4: Quando mobile-open, mostrar sidebar e labels ── */
  #sidebar.mobile-open {
    display: flex !important;
    z-index: 300;
    box-shadow: 8px 0 40px rgba(0,0,0,0.5);
  }
  /* Labels sempre visíveis quando sidebar mobile está aberta */
  #sidebar.mobile-open .nav-item-label { opacity: 1 !important; }
  #sidebar.mobile-open .sidebar-section-label {
    opacity: 1 !important;
    max-height: 40px !important;
    padding-top: 14px !important;
    padding-bottom: 6px !important;
  }

  #mobile-header { display: flex; }
  #main { margin-left: 0 !important; padding-top: 60px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .plans-grid { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 16px; 
    margin: 0 -20px; 
    padding: 0 20px 24px; 
  }
  .plans-grid::-webkit-scrollbar { display: none; }
  .plan-card { flex: 0 0 85%; scroll-snap-align: center; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .content-wrap { padding: 28px 20px 60px; }
  .page-title { font-size: clamp(22px, 8vw, 36px); }
  .page-desc { margin-bottom: 20px !important; }
  .page-header { margin-bottom: 0 !important; }

  /* Grids mobile - forçar 1 coluna */
  .mob-1col { display: grid !important; grid-template-columns: 1fr !important; gap: 16px !important; }
  .mob-2col { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* Reduzir espaços no mobile */
  .mob-compact { margin-bottom: 24px !important; }

  /* Video wrap mobile */
  .video-wrap { margin-bottom: 12px; }

  /* Esconder phone mockup no mobile pra não ficar apertado */
  .phone-mockup { transform: scale(0.8); }

  /* ANTI-OVERFLOW GLOBAL - nada vaza no mobile */
  .content-wrap { overflow-x: hidden !important; }
  .content-wrap * { max-width: 100% !important; box-sizing: border-box !important; }
  .content-wrap img { max-width: 100% !important; height: auto !important; }
  .content-wrap video { max-width: 100% !important; height: auto !important; }
  .content-wrap iframe { max-width: 100% !important; }

  /* Forçar qualquer grid inline a 1 coluna se não tiver classe específica */
  .page-section [style*="grid-template-columns:1fr 1fr"][style*="gap:20px"] { grid-template-columns: 1fr !important; }
  .page-section [style*="grid-template-columns: 1fr 1fr"][style*="gap:20px"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .grid-4, .app-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 20px; }
}

/* ── FOOTER ── */
.app-footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .brand-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand .brand-icon {
  width: 36px; height: 36px; background: var(--red); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(229,9,20,0.3);
}
.footer-brand .brand-text {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.1em; color: var(--text);
}
.footer-brand .brand-sub { color: var(--gold); font-size: 10px; letter-spacing: 0.4em; }
.footer-brand p {
  font-size: 12px; color: var(--text-sub); line-height: 1.7; max-width: 280px; margin-bottom: 20px;
}
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all 0.2s;
}
.social-btn:hover { color: #fff; border-color: var(--gold); background: var(--gold-dim); }

.footer-links h4, .footer-contact h4 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 20px;
}
.footer-links a {
  display: block; color: var(--text-sub); text-decoration: none; font-size: 13px; margin-bottom: 12px; transition: color 0.2s; cursor: pointer;
}
.footer-links a:hover { color: var(--gold); }
.contact-item {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-sub); text-decoration: none; margin-bottom: 12px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border);
}
.copyright { font-size: 12px; color: var(--text-muted); }
.footer-legal { display: flex; align-items: center; gap: 12px; }
.footer-legal a { color: var(--text-muted); font-size: 12px; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

.hero-block-main { max-width: 760px; padding: 20px 0 48px; margin: 0 auto; text-align: center; }
.hero-desc-main { font-size: 16px; line-height: 1.8; color: var(--text-sub); margin: 20px auto 32px; max-width: 560px; }

@media (max-width: 900px) {
  .hero-block-main { padding-bottom: 8px; }
  .hero-desc-main { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
  .footer-brand, .footer-contact { grid-column: span 2; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .brand-logo { justify-content: center; }
  .footer-wrap { padding: 40px 20px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
