/* ============================================================
   RADAR DIVAP — Style System
   Precision-Dark | Horistic Financial Architecture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --bg:           #000000;
  --surface:      #0A0A0A;
  --elevated:     #121212;

  --brand:        #F5A623;
  --brand-glow:   #FF8C00;
  --brand-muted:  rgba(245, 166, 35, 0.12);
  --brand-border: rgba(245, 166, 35, 0.28);

  --buy:          #FFFFFF;
  --sell:         #F5A623;
  --neutral:      #2A2A2A;

  --text-1:       #FFFFFF;
  --text-2:       #A1A1A1;
  --text-3:       #555555;

  --border:       rgba(255, 255, 255, 0.08);
  --border-md:    rgba(255, 255, 255, 0.14);
  --glass:        linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  --ease:         cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo:    cubic-bezier(0.19, 1, 0.22, 1);

  --serif:        'Instrument Serif', Georgia, serif;
  --sans:         'Plus Jakarta Sans', system-ui, sans-serif;

  --max-w:        1160px;
  --px:           clamp(20px, 5vw, 40px);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

section {
  position: relative;
  overflow: hidden;
}

.section-pad { padding-block: clamp(80px, 12vw, 140px); }
.section-pad-sm { padding-block: clamp(60px, 8vw, 100px); }
.surface-bg { background: var(--surface); }

/* ============================================================
   4. ORB GLOW
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}
.orb-hero {
  width: min(700px, 90vw);
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.18) 0%, transparent 70%);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}
.orb-section {
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.10) 0%, transparent 70%);
}
.orb-left  { left: -100px; top: 50%; transform: translateY(-50%); }
.orb-right { right: -100px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   5. TYPOGRAPHY
   ============================================================ */
.t-display {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.t-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.t-sub {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.25;
}
.t-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--text-2);
}
.t-body {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--text-2);
}
.t-em { font-family: var(--serif); font-style: italic; color: var(--brand); }
.text-brand { color: var(--brand); }

/* ============================================================
   6. BADGE / EYEBROW
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--brand-muted);
  border: 1px solid var(--brand-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-glow) 100%);
  color: #000;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  box-shadow: 0 0 0 rgba(245,166,35,0);
}
.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 50px rgba(245,166,35,0.35);
}
.btn-primary:active { transform: scale(0.97); }
.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.4s var(--ease);
}
.btn-primary:hover .btn-icon { transform: translate(2px,-1px) scale(1.1); }

.btn-primary-lg {
  padding: 20px 40px;
  font-size: 17px;
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

/* ============================================================
   8. GLASS CARD (DOUBLE-BEZEL)
   ============================================================ */
.card-outer {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 6px;
  transition: border-color 0.6s var(--ease);
}
.card-outer:hover { border-color: var(--brand-border); }
.card-inner {
  background: var(--glass);
  border-radius: calc(2rem - 6px);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.07);
}

/* ============================================================
   9. TESTIMONIAL
   ============================================================ */
.testimonial {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  transition: background 0.4s var(--ease);
}
.testimonial:hover { background: rgba(245,166,35,0.04); }
.testimonial-text {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.05em;
}

/* ============================================================
   10. CANDLE DECORATIVO
   ============================================================ */
.candle-group {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
}
.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.candle-wick {
  width: 2px;
  background: currentColor;
  border-radius: 1px;
}
.candle-body {
  border-radius: 3px;
  width: 16px;
}
.candle.buy  { color: var(--buy); }
.candle.sell { color: var(--sell); }
.candle.neutral { color: var(--neutral); }
.candle.buy .candle-body  { background: var(--buy); box-shadow: 0 0 14px rgba(255,255,255,0.3); }
.candle.sell .candle-body { background: var(--sell); box-shadow: 0 0 14px rgba(245,166,35,0.45); }
.candle.neutral .candle-body { background: var(--neutral); }

/* ============================================================
   11. PILLAR CHIPS (4 Pilares)
   ============================================================ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pillar-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.pillar-chip:hover {
  border-color: var(--brand-border);
  background: var(--brand-muted);
}
.pillar-number {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--brand);
  flex-shrink: 0;
  opacity: 0.7;
}
.pillar-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.pillar-text p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   12. DELIVERABLES / CHECKLIST
   ============================================================ */
.deliverable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.4s var(--ease);
}
.deliverable-item:hover { border-color: var(--brand-border); }
.deliverable-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-muted);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--brand);
}
.deliverable-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 3px;
}
.deliverable-content p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   13. PRICE SECTION
   ============================================================ */
.price-display {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  color: var(--text-1);
}
.price-installment {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-3);
  margin-top: 6px;
}
.price-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-muted);
  border: 1px solid var(--brand-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   14. GUARANTEE SEAL
   ============================================================ */
.guarantee-seal {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.seal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-muted);
  border: 2px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.seal-text h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 4px;
}
.seal-text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============================================================
   15. NAV
   ============================================================ */
.nav-pill {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 24px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: opacity 0.4s var(--ease);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 20px;
  width: auto;
  display: block;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--brand-muted);
  border: 1px solid var(--brand-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  transition: background 0.4s var(--ease);
  white-space: nowrap; /* Prevent wrapping on mobile */
  flex-shrink: 0;
}
.nav-cta:hover { background: rgba(245,166,35,0.2); }

/* ============================================================
   16. DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-block: 0;
}

/* ============================================================
   17. QUOTE HIGHLIGHT
   ============================================================ */
.highlight-block {
  border-left: 3px solid var(--brand);
  padding: 8px 0 8px 24px;
  margin-block: 24px;
}
.highlight-block p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.4;
  color: var(--text-1);
}

/* ============================================================
   18. TWO-COL GRID
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ============================================================
   19. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(4px);
  transition:
    opacity  800ms var(--ease-expo),
    transform 800ms var(--ease-expo),
    filter 800ms var(--ease-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; direction: ltr; }
  .two-col.reverse { direction: ltr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .nav-pill { top: 12px; padding: 9px 18px; gap: 14px; }
  .guarantee-seal { flex-direction: column; text-align: center; }
  .candle-group { height: 80px; }
  .candle-body { width: 12px; }
}

@media (max-width: 480px) {
  .btn-primary-lg { padding: 18px 28px; font-size: 15px; }
}
