/* ============================================
   VITTARE — Diagnóstico Financeiro Profissional
   style.css | Paleta Dourada + Dark/Light Mode
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Lato:wght@300;400;700;900&display=swap');

/* ── Dark Mode (default) ── */
:root,
[data-theme="dark"] {
  --bg:           #0f0e0c;
  --bg-2:         #161410;
  --bg-card:      #1e1b15;
  --bg-card-alt:  #252018;
  --border:       rgba(201,169,110,0.18);
  --border-strong:rgba(201,169,110,0.4);

  --gold-100: #FBF0DC;
  --gold-200: #F0D99A;
  --gold-300: #E2BE6E;
  --gold:     #C9A96E;
  --gold-500: #A8883F;
  --gold-600: #7D6220;

  --text-primary:  #F5EDD8;
  --text-secondary:#C4B08A;
  --text-muted:    #7D6E52;

  --white:    #F5EDD8;
  --red:      #E85050;
  --green:    #5DB87A;

  --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --shadow-gold: 0 4px 24px rgba(201,169,110,0.15);
}

/* ── Light Mode ── */
[data-theme="light"] {
  --bg:           #FDF8EE;
  --bg-2:         #F5EDD8;
  --bg-card:      #FFFFFF;
  --bg-card-alt:  #FBF4E4;
  --border:       rgba(168,136,63,0.22);
  --border-strong:rgba(168,136,63,0.5);

  --gold-100: #3D2A00;
  --gold-200: #5C400A;
  --gold-300: #7D5C1A;
  --gold:     #A8883F;
  --gold-500: #C9A96E;
  --gold-600: #E2BE6E;

  --text-primary:  #1a1400;
  --text-secondary:#4a3a18;
  --text-muted:    #8a7040;

  --white:    #1a1400;
  --red:      #C0392B;
  --green:    #27743E;

  --shadow: 0 8px 40px rgba(100,80,20,0.12);
  --shadow-gold: 0 4px 24px rgba(168,136,63,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s, color 0.35s;
}

/* ── Layout ── */
.container       { max-width: 860px;  margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ── Type helpers ── */
.label-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 18px;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.12; }
.gold-italic { color: var(--gold); font-style: italic; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold) 50%, var(--gold-500) 100%);
  color: #0f0e0c;
  font-family: 'Lato', sans-serif;
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 18px 44px; border-radius: 10px;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(201,169,110,0.28);
}
.btn-primary:hover {
  opacity: 0.88; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,0.4);
}
.btn-outline {
  display: inline-block; background: transparent;
  color: var(--gold); font-family: 'Lato', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 16px 36px; border-radius: 10px; border: 1.5px solid var(--gold);
  cursor: pointer; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--gold); color: #0f0e0c; }
.btn-center { text-align: center; margin-top: 40px; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(15,14,12,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  transition: background 0.35s, border-color 0.35s;
}
[data-theme="light"] .navbar {
  background: rgba(253,248,238,0.95);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
}
.navbar__logo-wrap { display: flex; align-items: center; gap: 10px; }
.navbar__logo { height: 44px; width: auto; display: block; object-fit: contain; }
.navbar__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900; color: var(--gold);
  letter-spacing: 0.06em;
}
.navbar__actions { display: flex; align-items: center; gap: 16px; }

/* Theme toggle */
.theme-toggle {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 24px; width: 54px; height: 28px;
  cursor: pointer; position: relative; transition: all 0.3s;
  flex-shrink: 0;
}
.theme-toggle::before {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s;
}
[data-theme="light"] .theme-toggle::before { transform: translateX(26px); }
.theme-toggle__icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 12px;
}
.theme-toggle__icon--dark { right: 6px; }
.theme-toggle__icon--light { left: 6px; }

/* Login button in navbar */
.btn-login-nav {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px;
  transition: all 0.2s;
}
.btn-login-nav:hover { background: var(--gold); color: #0f0e0c; }

/* ── Hero ── */
.hero { padding: 140px 0 80px; text-align: center; }
.hero__label { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.hero__headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 900; color: var(--text-primary); margin-bottom: 14px;
}
.hero__headline .gold-italic { font-size: clamp(40px, 6vw, 76px); }
.hero__sub {
  font-size: 16px; color: var(--text-secondary);
  max-width: 540px; margin: 28px auto 0; line-height: 1.75;
}
.hero__sub strong { color: var(--text-primary); }

/* ── Video Section ── */
.video-section { padding: 10px 0 80px; text-align: center; }
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;  /* 9:16 portrait max width */
  margin: 0 auto 40px;
  border: 2px solid var(--border-strong);
  border-radius: 18px; overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow-gold);
}
.video-wrapper video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Custom play overlay */
.video-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.45);
  cursor: pointer; transition: background 0.25s;
}
.video-overlay:hover { background: rgba(0,0,0,0.3); }
.video-play-btn {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #0f0e0c;
  box-shadow: 0 0 0 12px rgba(201,169,110,0.18);
  margin-bottom: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-overlay:hover .video-play-btn { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(201,169,110,0.14); }
.video-overlay p { color: #fff; font-size: 13px; letter-spacing: 0.08em; }
.video-overlay.hidden { display: none; }

/* ── Pain list / Check list ── */
.card-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 34px 36px;
  list-style: none;
}
.card-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 13px 0; font-size: 15px; color: var(--text-secondary);
  border-bottom: 1px solid rgba(201,169,110,0.07);
}
.card-list li:last-child { border-bottom: none; }
.icon-x  { color: var(--red); font-size: 17px; margin-top: 2px; flex-shrink: 0; }
.icon-chk {
  background: var(--green); color: #fff; border-radius: 5px;
  width: 22px; height: 22px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0; margin-top: 2px;
}
.icon-dot { color: var(--gold); font-size: 22px; line-height: 1.2; flex-shrink: 0; }

/* ── Section headings ── */
.section-h2 { font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--text-muted); margin-bottom: 40px; }

/* ── Notice box ── */
.notice-box {
  border-left: 4px solid var(--gold);
  background: var(--bg-card); border-radius: 0 12px 12px 0;
  padding: 26px 30px;
}
.notice-box .notice-title { font-weight: 700; color: var(--gold); margin-bottom: 12px; font-size: 15px; }
.notice-box p { font-size: 14.5px; color: var(--text-primary); line-height: 1.7; margin-bottom: 10px; }
.notice-box .fine { font-size: 13px; color: var(--text-muted); margin-bottom: 0; }

/* ── Pricing ── */
.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: 18px; padding: 48px 40px;
  max-width: 480px; margin: 0 auto;
  box-shadow: var(--shadow-gold);
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold); border-radius: 20px;
  padding: 6px 18px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.price-value {
  font-family: 'Playfair Display', serif;
  font-size: 84px; font-weight: 900;
  background: linear-gradient(135deg, var(--gold-300), var(--gold), var(--gold-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 8px;
}

/* ── Steps ── */
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 28px;
  display: flex; align-items: flex-start; gap: 18px;
}
.step__num {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: #0f0e0c; font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 7px; font-family: 'Lato', sans-serif; }
.step p  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text-primary);
  font-family: 'Lato', sans-serif; font-size: 15.5px; font-weight: 400;
  text-align: left; padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-arr {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--bg-card-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gold); flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-arr { transform: rotate(180deg); }
.faq-ans { display: none; padding: 0 0 18px; font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-ans { display: block; }

/* ── Footer / Security ── */
.security-box {
  border-left: 4px solid var(--gold);
  background: var(--bg-card); border-radius: 0 12px 12px 0;
  padding: 24px 28px;
}
.security-box .sec-title { font-weight: 700; color: var(--gold); margin-bottom: 8px; font-size: 15px; }
.security-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 36px 24px; text-align: center; margin-top: 0;
}
footer .foot-brand { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
footer p { font-size: 12px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.6; }
footer p+p { margin-top: 6px; }
.trust-bar { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; letter-spacing: 0.03em; }

/* ── Login Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  border-radius: 18px; padding: 44px 40px;
  width: 100%; max-width: 400px;
  transform: translateY(24px); transition: transform 0.3s;
  box-shadow: var(--shadow);
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-box h2 { font-size: 24px; color: var(--text-primary); margin-bottom: 8px; }
.modal-box .modal-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 30px; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--text-muted);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--gold); }
.modal-box { position: relative; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; }
.form-group input {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 13px 16px; font-size: 15px; color: var(--text-primary);
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s, background 0.35s;
  outline: none;
}
.form-group input:focus { border-color: var(--gold); }
.form-error { font-size: 13px; color: var(--red); margin-top: 12px; display: none; }
.form-error.show { display: block; }
.btn-full { width: 100%; text-align: center; display: block; padding: 16px; font-size: 13px; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px 24px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-gold);
}
.testimonial-card--wide {
  grid-column: 1 / -1;
}
.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  line-height: 0.7;
  margin-bottom: 16px;
  opacity: 0.7;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.testimonial-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.testimonial-closing {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  margin-top: 8px;
}
.testimonial-closing p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}
.testimonial-closing strong {
  color: var(--gold);
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card--wide { grid-column: 1; }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 120px 0 50px; }
  .card-list { padding: 22px 18px; }
  .pricing-card { padding: 32px 22px; }
  .step { padding: 20px 18px; }
  .video-wrapper { max-width: 320px; }
  .modal-box { padding: 32px 22px; margin: 16px; }
  .navbar__actions .btn-login-nav span { display: none; }
}