/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #F5B800;
    --primary-dark: #C8940A;
    --primary-light: #FFD700;
    --secondary: #F5B800;
    --bg-soft: #080808;
    --text-dark: #ffffff;
    --text-muted: #9ca3af;
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #080808;
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* ===== CORES UTILITÁRIAS ===== */
.text-gold { color: var(--primary); }
.bg-gold { background-color: var(--primary); }

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

/* ===== COMPONENTES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    font-weight: 900;
}

.btn-primary:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

.shimmer-btn { position: relative; overflow: hidden; }
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shimmer 2.2s infinite;
}

.glow-btn { animation: pulseGlow 2.5s ease-in-out infinite; }

.glass {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245,184,0,0.15);
}

.glass-dark {
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06);
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,184,0,0.4), transparent);
    width: 100%;
}

/* ===== FAQ ===== */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-content.open { max-height: 400px; }

/* Compatibilidade com classe legada */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-body.open { max-height: 400px; }

/* ===== NAVBAR ===== */
.navbar-link {
    color: #9ca3af;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
    font-size: 0.875rem;
}
.navbar-link:hover { color: #ffffff; }

/* ===== ANIMAÇÕES ===== */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(245,184,0,0.4), 0 0 40px rgba(245,184,0,0.1); }
    50% { box-shadow: 0 0 40px rgba(245,184,0,0.7), 0 0 80px rgba(245,184,0,0.3); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(245,184,0,0.4), 0 0 40px rgba(245,184,0,0.2); }
    50% { box-shadow: 0 0 40px rgba(245,184,0,0.7), 0 0 80px rgba(245,184,0,0.4); }
}

@keyframes driftA {
    0%,100% { transform: translate(0,0) rotate(0deg); opacity:.04; }
    33% { transform: translate(15px,-20px) rotate(10deg); opacity:.06; }
    66% { transform: translate(-10px,10px) rotate(-5deg); opacity:.03; }
}

@keyframes driftB {
    0%,100% { transform: translate(0,0) rotate(0deg); opacity:.03; }
    50% { transform: translate(-20px,-15px) rotate(-8deg); opacity:.07; }
}

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

.float-a { animation: float 3.5s ease-in-out infinite; }
.float-b { animation: float 4s ease-in-out infinite 0.6s; }
.float-c { animation: float 3.8s ease-in-out infinite 1.2s; }
.float2  { animation: float2 4.5s ease-in-out infinite; }
.drift-icon-a { animation: driftA 12s ease-in-out infinite; }
.drift-icon-b { animation: driftB 16s ease-in-out infinite; }
.drift-icon-c { animation: driftA 20s ease-in-out infinite 3s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #080808; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* ===== 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*="cakto.com"],
a[href*="pay."] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
    text-decoration: none;
}

/* Ocultar CTA da navbar no mobile */
@media (max-width: 767px) {
    nav a[href*="cakto.com"],
    nav a[href*="pay."] {
        display: none !important;
    }
}
