/* =========================================================================
   PENSE OFFGRID - DESIGN SYSTEM (GLOBAL CSS)
   ========================================================================= */

:root {
  --orange: #F7931E;
  --orange2: #FFC078;
  --line: rgba(255, 255, 255, 0.09);
  --muted: #B8BAC4;
  --bg: #030303;
  --panel: #101116;
  --shell-pad: clamp(20px, 4vw, 48px);
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --blue: #3b82f6;
  --purple: #a855f7;
}

[v-cloak] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #F5F5F5;
  background-color: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(247,147,30,0.14) 0%, transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }

/* Tipografia Universal */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Montserrat', sans-serif !important;
  text-transform: uppercase;
}

.font-body {
  font-family: 'Inter', sans-serif !important;
}

/* Layout Wrappers Padronizados */
.shell, .wrap {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Brand e Menu Global */
.brand {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  font-size: 24px;
}
.brand span {
  color: var(--orange);
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nav a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.nav a:hover {
  border-color: rgba(247, 147, 30, 0.45);
  background: rgba(247, 147, 30, 0.1);
  color: #fff !important;
}

/* Glass Card Premium */
.glass-card, .glass {
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.6) 0%, rgba(15, 15, 18, 0.8) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.glass-card:hover, .glass:hover {
  border-left-color: rgba(247,147,30,0.4);
  border-top-color: rgba(247,147,30,0.4);
  box-shadow: 0 20px 40px -10px rgba(247,147,30,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* CTAs e Botões (Sobrescreve Tailwind bg-orange e padroniza botões) */
.cta, .btn, .btn-comprar, .bg-orange-500, .bg-orange-600, .whatsapp-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 18px;
  font-weight: 900 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(.25,1,.5,1);
  cursor: pointer;
  border: none !important;
  text-shadow: none !important;
  text-decoration: none;
}

.cta-primary, .primary, .btn-comprar, .bg-orange-500, .bg-orange-600, .whatsapp-cta-button {
  background: linear-gradient(90deg, #F7931E 0%, #FFC078 100%) !important;
  color: #120A02 !important;
  box-shadow: 0 10px 25px -5px rgba(247,147,30,.48), inset 0 2px 0 rgba(255,255,255,.28) !important;
}

.cta-primary:hover, .primary:hover, .btn-comprar:hover, .bg-orange-500:hover, .bg-orange-600:hover, .whatsapp-cta-button:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 15px 35px -5px rgba(247,147,30,.62), inset 0 2px 0 rgba(255,255,255,.4) !important;
}

.cta-secondary, .ghost {
  border: 1px solid rgba(255,255,255,.1) !important;
  color: #F2F2F4 !important;
  background: rgba(255,255,255,.035) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02) !important;
}

.cta-secondary:hover, .ghost:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(247,147,30,.5) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

/* Badges e Status */
.badge, .info-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #E8E8EA;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
}

.dot, .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(247,147,30,.75);
}

.difficulty-badge, .level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.difficulty-iniciante, .green { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #86efac; }
.difficulty-intermediario, .yellow { background: rgba(234,179,8,.12); border: 1px solid rgba(234,179,8,.35); color: #fde68a; }
.difficulty-avancado, .red { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); color: #fca5a5; }
.difficulty-referencia, .orange { background: rgba(247,147,30,.15); border: 1px solid rgba(247,147,30,.45); color: #ffd08a; }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}
.modal.active { display: flex; }
.modal-box {
  width: min(900px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 30px;
  padding: 30px;
  background: linear-gradient(145deg, rgba(30, 30, 35, 0.95), rgba(15, 15, 18, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.close-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s;
}
.close-btn:hover { background: rgba(247,147,30,.2); border-color: rgba(247,147,30,.4); color: #F7931E; transform: rotate(90deg); }

/* Scrollbars */
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-track { background: transparent; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 10px; }
.custom-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(247,147,30,.5); }

/* Animações Premium */
.fade-in-up { animation: fadeInUp 0.6s ease-in-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Formulários */
.form-input, .form-select { 
  background-color: rgba(0,0,0,0.5); 
  color: #e2e8f0; 
  border: 1px solid rgba(255,255,255,0.1); 
  border-radius: 0.75rem; 
  padding: 0.75rem 1rem; 
  width: 100%; 
  transition: all 0.2s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  font-family: 'Inter', sans-serif;
}
.form-input:focus, .form-select:focus { 
  outline: none; 
  border-color: #F7931E; 
  background-color: rgba(0,0,0,0.7);
  box-shadow: 0 0 0 2px rgba(247, 147, 30, 0.2), inset 0 2px 4px rgba(0,0,0,0.5); 
}
button:disabled { cursor: not-allowed; opacity: 0.5 !important; filter: grayscale(100%); transform: none !important; box-shadow: none !important; }

/* Premium Gate - Novo Visual Consulting */
.premium-overlay-backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
}
.premium-blur-content {
  opacity: 0.3;
  pointer-events: none;
  filter: blur(4px);
  transition: all 0.5s ease;
}
