/* ===== VARIÁVEIS DE COR — MERF (dourado sobre grafite) ===== */
:root {
    --primary: #C9A84C;          /* dourado principal */
    --primary-dark: #A88732;
    --primary-light: #F0D98A;
    --secondary: #E8CA7C;        /* dourado claro (gradiente) */
    --secondary-dark: #C9A84C;
    --bg-soft: #0B0C0E;          /* fundo base do site */
    --bg-surface: #14161A;       /* fundo de cards/seções alternadas */
    --border-soft: #23262E;
    --text-dark: #EDEBE3;        /* cor principal de texto (claro sobre fundo escuro) */
    --text-muted: #9A9CA8;
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: var(--bg-soft);
    color: var(--text-dark);
}
::selection { background: var(--primary); color: var(--bg-soft); }

/* ===== TIPOGRAFIA ===== */
.font-display { font-family: 'Montserrat', sans-serif; }

/* ===== COMPONENTES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse-glow 3.5s ease-in-out infinite;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.card-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 168, 76, 0.18);
    transition: all 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(201, 168, 76, 0.2);
    border-color: rgba(232, 202, 124, 0.4);
}

.card-surface {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.14), transparent 60%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201,168,76,0.35);
    box-shadow: 0 24px 48px rgba(0,0,0,0.35), 0 0 40px rgba(201,168,76,0.14);
}
.pricing-card:hover::before { opacity: 1; }

.pricing-card.featured {
    border: 1px solid transparent;
    background:
        linear-gradient(180deg, #14161A, #14161A) padding-box,
        linear-gradient(135deg, var(--primary), var(--secondary), var(--primary)) border-box;
    background-size: 100% 100%, 200% 200%;
    animation: gradientShift 6s ease infinite;
    box-shadow: 0 20px 50px rgba(201,168,76,0.2);
}
.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 28px 60px rgba(201,168,76,0.28);
}

.pricing-badge {
    display: inline-block;
    align-self: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-soft);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(201,168,76,0.4);
    white-space: nowrap;
}

.pricing-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.pricing-price {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.01em;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.pricing-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bg {
    background-image:
        radial-gradient(circle at 15% -10%, rgba(201,168,76,0.22), transparent 45%),
        radial-gradient(circle at 90% 25%, rgba(91,143,212,0.14), transparent 45%),
        linear-gradient(180deg, rgba(11,12,14,0.55) 0%, rgba(11,12,14,0.72) 45%, rgba(11,12,14,0.96) 100%),
        url('banner.jpg');
    background-position: center, center, center, center bottom;
    background-size: cover, cover, cover, cover;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

@media (max-width: 767px) {
    .hero-bg {
        background-position: center, center, center, right bottom;
    }
}

.section-dark {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
}
.navbar-link:hover { color: var(--primary); }

/* ===== FAQ ===== */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-content.open {
    max-height: 400px;
}
.faq-icon.open-icon {
    transform: rotate(45deg);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.35), 0 0 40px rgba(201,168,76,0.15); }
    50%       { box-shadow: 0 0 40px rgba(201,168,76,0.6), 0 0 70px rgba(201,168,76,0.3); }
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes pulseGlowSoft {
    0%, 100% { opacity: .5; }
    50%       { opacity: 1; }
}

.animate-shimmer { animation: shimmer 2.2s infinite; }
.animate-float-el { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float 6s ease-in-out infinite; }
.glow-pulse { animation: pulseGlowSoft 3.5s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== PROTEÇÃO DE BOTÕES (GLOBAL) ===== */
button,
input[type="button"],
input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}

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;
}

/* Ocultar CTA da navbar no mobile */
@media (max-width: 767px) {
    nav a[href*="wa.me"],
    nav a[href*="whatsapp.com"] {
        display: none !important;
    }
    #mobile-menu a[href*="wa.me"] {
        display: inline-flex !important;
    }
}
