:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #A07830;
    --navy: #1A1F2E;
    --navy-light: #252D40;
    --navy-mid: #2E3A52;
    --cream: #FAF6EE;
    --cream-dark: #F0E8D8;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { font-family: 'Inter', sans-serif; background-color: var(--cream); color: var(--navy); overflow-x: hidden; max-width: 100vw; }

  .font-playfair { font-family: 'Playfair Display', serif; }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.3); }
    50% { box-shadow: 0 0 40px rgba(201,168,76,0.6), 0 0 80px rgba(201,168,76,0.2); }
  }
  @keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
  .animate-float { animation: float 4s ease-in-out infinite; }
  .animate-glow { animation: glowPulse 2.5s ease-in-out infinite; }

  .shimmer-btn { position: relative; overflow: hidden; }
  .shimmer-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: shimmer 2.5s infinite;
  }

  .gold-gradient { background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark)); }
  .gold-text { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .navy-bg { background-color: var(--navy); }
  .navy-light-bg { background-color: var(--navy-light); }

  .glass-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201,168,76,0.2);
  }

  .hero-bg {
    background: linear-gradient(135deg, #0D1117 0%, #1A1F2E 40%, #252D40 70%, #1A1F2E 100%);
  }

  .verse-ticker { 
    white-space: nowrap; 
    animation: scrollText 25s linear infinite; 
  }

  .service-card { transition: all 0.4s ease; }
  .service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(201,168,76,0.15); }

  .diff-card { transition: all 0.35s ease; }
  .diff-card:hover { transform: translateY(-5px); }

  .depo-card { transition: all 0.3s ease; }
  .depo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }

  .nav-link { transition: color 0.3s; }
  .nav-link:hover { color: var(--gold); }

  .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
  .accordion-content.open { max-height: 300px; }

  .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }

  .cross-icon {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    border-radius: 99px;
    margin: 0 auto 1.5rem auto;
  }

  @media (max-width: 640px) {
    .hero-photo { max-height: 320px; }
  }

/* ── Botões: proteção global ── */
button,
input[type="button"],
input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

/* ── WhatsApp links: alinhamento ícone+texto em todas as resoluções ── */
a[href*="wa.me"],
a[href*="whatsapp.com"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}


/* ── Navbar ≤ 767px: remove CTA/WhatsApp no mobile ── */
@media (max-width: 767px) {
    nav a[href*="wa.me"],
    nav a[href*="whatsapp.com"] {
        display: none !important;
    }
}

/* ── Ebook cards ── */
.ebook-card img {
    transition: transform 0.5s ease;
}
.ebook-card:hover img {
    transform: scale(1.05);
}
.ebook-card:hover {
    box-shadow: 0 24px 48px rgba(201,168,76,0.18), 0 0 0 1px rgba(201,168,76,0.18);
}