:root {
    --royal: #1a3a8f;
    --royal-dark: #0f2460;
    --royal-light: #2a54c4;
    --gold: #c9a227;
    --gold-light: #e8bc35;
    --gold-dark: #a07c10;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { overflow-x: hidden; max-width: 100vw; }

  @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 glow {
    0%, 100% { box-shadow: 0 0 20px rgba(201,162,39,0.4); }
    50% { box-shadow: 0 0 40px rgba(201,162,39,0.8); }
  }
  @keyframes pulse-gold {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }

  .shimmer-btn { position: relative; overflow: hidden; }
  .shimmer-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
  }
  .float-card { animation: float 4s ease-in-out infinite; }
  .fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
  .glow-btn { animation: glow 2s ease-in-out infinite; }

  .bg-royal { background-color: #1a3a8f; }
  .bg-royal-dark { background-color: #0f2460; }
  .bg-gold { background-color: #c9a227; }
  .text-gold { color: #c9a227; }
  .text-royal { color: #1a3a8f; }
  .border-gold { border-color: #c9a227; }

  .hero-bg {
    background: linear-gradient(135deg, #0f2460 0%, #1a3a8f 40%, #0f2460 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
    border-radius: 50%;
  }
  .hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42,84,196,0.3) 0%, transparent 70%);
    border-radius: 50%;
  }

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

  .gold-gradient-text {
    background: linear-gradient(to right, #c9a227, #e8bc35, #c9a227);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .service-card {
    transition: all 0.35s ease;
    border: 1px solid rgba(201,162,39,0.18);
  }
  .service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201,162,39,0.55);
    box-shadow: 0 28px 56px rgba(201,162,39,0.13), 0 0 0 1px rgba(201,162,39,0.22);
  }
  .service-card:hover .svc-icon-wrap {
    box-shadow: 0 12px 40px rgba(201,162,39,0.55);
    transform: scale(1.08);
  }
  .svc-icon-wrap {
    transition: all 0.35s ease;
    box-shadow: 0 8px 28px rgba(201,162,39,0.35);
  }
  .svc-header-glow {
    background: radial-gradient(circle at 50% 65%, rgba(201,162,39,0.22) 0%, transparent 62%);
  }

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

  .section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #c9a227, transparent);
    margin: 0 auto;
    width: 80px;
  }

  nav.sticky-nav {
    background: rgba(15, 36, 96, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201,162,39,0.3);
  }

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