:root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --navy: #0D1B2A;
    --navy-mid: #162236;
    --navy-light: #1E3050;
    --cream: #F8F5EF;
    --cream-dark: #EDE9E0;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { overflow-x: hidden; font-family: 'EB Garamond', serif; background-color: var(--cream); color: var(--navy); }

  .font-playfair { font-family: 'EB Garamond', serif; }

  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.4); }
    50% { box-shadow: 0 0 40px rgba(201,168,76,0.8); }
  }
  @keyframes scaleIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
  }

  .animate-fadeInUp { animation: fadeInUp 0.9s ease-out forwards; }
  .animate-fadeIn { animation: fadeIn 1.2s ease-out forwards; }
  .animate-float { animation: float 4s ease-in-out infinite; }
  .animate-pulse-glow { animation: pulse-glow 2.5s ease-in-out infinite; }
  .animate-shimmer { animation: shimmer 2.5s infinite; }
  .animate-scaleIn { animation: scaleIn 0.8s ease-out forwards; }

  .delay-100 { animation-delay: 0.1s; }
  .delay-200 { animation-delay: 0.2s; }
  .delay-300 { animation-delay: 0.3s; }
  .delay-400 { animation-delay: 0.4s; }

  .gold-text {
    background: linear-gradient(135deg, #C9A84C 0%, #E8C97A 50%, #C9A84C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .navbar-glass {
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }

  .btn-gold {
    background: linear-gradient(135deg, #C9A84C, #E8C97A, #C9A84C);
    background-size: 200% auto;
    color: #0D1B2A;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  .btn-gold:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  }
  .btn-gold .shimmer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
  }
  .btn-gold .shimmer-overlay.active {
    animation: shimmer 2.5s infinite;
  }

  .btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
  }

  .hero-bg {
    background: linear-gradient(135deg, #0D1B2A 0%, #162236 40%, #1E3050 70%, #0D1B2A 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    border-radius: 50%;
  }

  .section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #E8C97A);
    border-radius: 2px;
  }

  .card-service {
    background: #fff;
    border: 1px solid rgba(201,168,76,0.15);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
  }
  .card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C9A84C, #E8C97A);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: left;
  }
  .card-service:hover::before { transform: scaleX(1); }
  .card-service:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13,27,42,0.12);
    border-color: rgba(201,168,76,0.35);
  }

  .card-diferencial {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(201,168,76,0.2);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
  }
  .card-diferencial:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(201,168,76,0.5);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  }

  .card-depoimento {
    background: #fff;
    border: 1px solid rgba(201,168,76,0.12);
    transition: all 0.3s ease;
  }
  .card-depoimento:hover {
    box-shadow: 0 15px 40px rgba(13,27,42,0.1);
    transform: translateY(-3px);
  }

  .quote-icon {
    color: rgba(201,168,76,0.3);
    font-size: 4rem;
    line-height: 1;
    font-family: 'EB Garamond', serif;
    font-weight: 900;
  }

  .geometric-line {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.5), transparent);
  }

  .cta-section {
    background: linear-gradient(135deg, #0D1B2A 0%, #162236 50%, #0D1B2A 100%);
    position: relative;
    overflow: hidden;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  }

  .contact-section {
    background: var(--cream);
  }

  .footer-bg {
    background: linear-gradient(135deg, #080F17 0%, #0D1B2A 100%);
    border-top: 1px solid rgba(201,168,76,0.2);
  }

  .sobre-accent {
    background: linear-gradient(135deg, #0D1B2A 0%, #1E3050 100%);
    position: relative;
    overflow: hidden;
  }
  .sobre-accent::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    border-radius: 50%;
  }

  .nav-link {
    position: relative;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #C9A84C, #E8C97A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .nav-link:hover { color: #E8C97A; }
  .nav-link:hover::after { transform: scaleX(1); }

  .balanca-svg { filter: drop-shadow(0 0 20px rgba(201,168,76,0.3)); }

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

  .accordion-item { border-bottom: 1px solid rgba(201,168,76,0.15); }
  .accordion-btn { transition: all 0.3s ease; }
  .accordion-content { transition: all 0.4s ease; }

  .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
  }

  @media (max-width: 640px) {
    .btn-gold, .btn-whatsapp {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 16px;
    }
  }

/* ── 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;
    }
}