/* ==========================================================================
   REI DAS JOIAS - SEMANA DO CLIENTE | ESQUENTA BLACK
   Design System & Luxury Stylesheet
   ========================================================================== */

/* 1. Root Design Tokens & Variables */
:root {
  --bg-dark: #09090b;
  --bg-dark-surface: #121216;
  --bg-dark-card: #18181f;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold-glow: rgba(212, 175, 55, 0.25);
  
  --primary-gold: #d4af37;
  --primary-gold-light: #f5e6a8;
  --primary-gold-dark: #aa861c;
  --gold-gradient: linear-gradient(135deg, #f5e6a8 0%, #d4af37 50%, #aa861c 100%);
  --silver-gradient: linear-gradient(135deg, #ffffff 0%, #d0d5dd 50%, #98a2b3 100%);
  --chrome-gradient: linear-gradient(180deg, #ffffff 0%, #b8c1ec 40%, #5b6578 100%);
  
  --accent-orange: #ff6b00;
  --accent-green: #00e676;
  --accent-purple: #b33951;
  --accent-pink: #e91e63;

  --text-main: #ffffff;
  --text-muted: #e2e8f0;
  --text-gold: #f3e5ab;

  --font-heading: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Resets & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Selection */
::selection {
  background: var(--primary-gold);
  color: var(--bg-dark);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

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

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-silver-gradient {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* 3. Top Announcement Bar & Countdown Timer */
.announcement-bar {
  background: linear-gradient(90deg, #111115 0%, #1a160d 50%, #111115 100%);
  border-bottom: 1px solid var(--border-gold-glow);
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  z-index: 1050;
}

.countdown-box {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.timer-digit {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--primary-gold-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 32px;
  text-align: center;
}

/* 4. Luxury Navbar */
.navbar-custom {
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  background: rgba(9, 9, 11, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  padding: 10px 0;
}

.navbar-brand img {
  max-height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.2));
  transition: var(--transition);
}

.nav-link-custom {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  margin: 0 14px;
  transition: var(--transition);
  position: relative;
}

.nav-link-custom:hover {
  color: var(--primary-gold-light);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link-custom:hover::after {
  width: 100%;
}

/* 5. Custom Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.btn-gold:hover::before {
  transform: rotate(30deg) translateY(100%);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
  color: #000000;
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary-gold-light);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #ffffff;
  border-color: var(--primary-gold-light);
  transform: translateY(-2px);
}

.btn-lg-action {
  font-size: 1.1rem;
  padding: 18px 40px;
  width: 100%;
  max-width: 420px;
}

/* 6. Badges & Pills */
.badge-event {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--primary-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tag-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* 7. Hero Section */
.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(180deg, #09090b 0%, #121217 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  margin-top: 15px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-card-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-gold-glow);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
}

.hero-card-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-glass);
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img-wrapper:hover img {
  transform: scale(1.03);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid var(--border-gold-glow);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-gold-light);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* 8. Benefits Bar */
.benefits-section {
  background: #0f0f13;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 35px 0;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefit-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* 9. Section General Components */
.section-padding {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Glass Card */
.glass-card {
  background: rgba(24, 24, 31, 0.6);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-gold-glow);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Video Frame Container Styling */
.video-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-gold-glow);
  background: radial-gradient(circle at center, #1a1a24 0%, #0a0a0e 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.video-frame-wrapper:hover {
  border-color: var(--primary-gold);
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(212, 175, 55, 0.3);
}

.video-play-btn {
  width: 80px;
  height: 80px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 2.5rem;
  padding-left: 5px;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  transition: var(--transition);
  margin-bottom: 16px;
}

.video-frame-wrapper:hover .video-play-btn {
  transform: scale(1.15);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.7);
}

.video-placeholder-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f3e5ab 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 10. Offers & Category Cards (Real Prices) */
.offer-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.offer-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.offer-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-orange);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.offer-card-badge.badge-green {
  background: #00c853;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.4);
}

.offer-card-badge.badge-purple {
  background: #9c27b0;
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.4);
}

.offer-img-box {
  width: 100%;
  height: 240px;
  background: #0c0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
  position: relative;
}

.offer-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-img-box img {
  transform: scale(1.08);
}

.offer-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.offer-category-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.offer-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.offer-price-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.price-old {
  font-size: 0.88rem;
  color: #71717a;
  text-decoration: line-through;
  margin-bottom: 2px;
  display: block;
}

.price-new {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1;
}

.price-discount-tag {
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 8px;
}

/* 11. Interactive Profit Simulator */
.simulator-box {
  background: linear-gradient(145deg, #14141c 0%, #0d0d12 100%);
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.sim-input-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.sim-input-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.range-slider {
  accent-color: var(--primary-gold);
  height: 6px;
  border-radius: 3px;
}

.result-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(18, 18, 22, 0.8) 100%);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.result-value {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-gold-light);
  line-height: 1.1;
  margin: 10px 0;
}

/* 12. Why Choose Us (5 Pillars) */
.pillar-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  height: 100%;
}

.pillar-card:hover {
  border-color: var(--border-gold-glow);
  transform: translateY(-5px);
  background: rgba(212, 175, 55, 0.04);
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold-light);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
}

/* 13. Step by Step Guide */
.steps-wrapper {
  position: relative;
}

.step-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: 15px;
  right: 20px;
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  padding-right: 40px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* 14. FAQ Accordion */
.faq-accordion .accordion-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 22px 28px;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-gold-light);
  background: rgba(212, 175, 55, 0.05);
}

.faq-accordion .accordion-button::after {
  filter: invert(1);
}

.faq-accordion .accordion-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  padding: 0 28px 24px;
  line-height: 1.7;
}

/* 15. Closing Banner / Hero Footer */
.closing-banner {
  background: linear-gradient(180deg, #121217 0%, #050507 100%);
  border-top: 1px solid var(--border-gold-glow);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.closing-badge-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0;
}

.closing-badge-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
}

/* 16. Registration Modal & Forms */
.custom-modal .modal-content {
  background: #111116;
  border: 1px solid var(--border-gold-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  color: var(--text-main);
}

.custom-modal .modal-header {
  border-bottom: 1px solid var(--border-glass);
  padding: 24px 30px;
}

.custom-modal .btn-close {
  filter: invert(1);
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 12px 16px;
  font-size: 0.98rem;
  transition: var(--transition);
}

.form-control-custom:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-gold);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.form-control-custom::placeholder {
  color: #64748b;
}

/* 17. Floating WhatsApp CTA */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* 18. Footer */
.footer-custom {
  background: #050507;
  border-top: 1px solid var(--border-glass);
  padding: 50px 0 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .benefit-card {
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .closing-banner {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .btn-gold, .btn-outline-gold {
    width: 100%;
  }

  .simulator-box {
    padding: 24px 18px;
  }

  .result-value {
    font-size: 2rem;
  }
}
