/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-glow: #60a5fa;
    --primary-dark: #1e3a8a;
    --gold: #f59e0b;
    --gold-dark: #d97706;
    --gold-light: #fcd34d;
    --bg-dark: #05080f;
    --bg-card: #0d1526;
    --bg-card2: #0f1a2e;
    --bg-section: #080c18;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --bg-soft: #05080f;
    --text-dark: #f1f5f9;
}

/* ===== RESET BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    background: var(--bg-dark);
    color: var(--text-light);
}

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

/* ===== 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(59,130,246,0.5), 0 0 40px rgba(59,130,246,0.25); }
    50%       { box-shadow: 0 0 40px rgba(59,130,246,0.8), 0 0 80px rgba(59,130,246,0.4); }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.5), 0 0 40px rgba(245,158,11,0.25); }
    50%       { box-shadow: 0 0 40px rgba(245,158,11,0.8), 0 0 80px rgba(245,158,11,0.4); }
}

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

@keyframes shimmer {
    0%   { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes ripple {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

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

/* ===== HERO ===== */
.hero-bg {
    background: linear-gradient(135deg, #020510 0%, #05080f 30%, #071228 60%, #05080f 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,64,175,0.35) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== BOTÃO PRIMÁRIO ===== */
.btn-primary {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse-wa 2.5s ease-in-out infinite;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-100%) skewX(-15deg);
    animation: shimmer 3s infinite;
}

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

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.btn-secondary:hover {
    background: rgba(59,130,246,0.15);
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card-glass {
    background: rgba(13, 21, 38, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(59,130,246,0.2);
    transition: all 0.35s ease;
}

.card-glass:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(59,130,246,0.2);
    border-color: rgba(59,130,246,0.5);
}

.card-gold {
    background: rgba(13, 21, 38, 0.9);
    border: 1px solid rgba(245,158,11,0.25);
    transition: all 0.35s ease;
}

.card-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(245,158,11,0.2);
    border-color: rgba(245,158,11,0.5);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SEÇÃO ESCURA ===== */
.section-dark {
    background: var(--bg-dark);
}

.section-darker {
    background: var(--bg-section);
}

.section-card {
    background: var(--bg-card);
}

/* ===== GLOW DECORATIVO ===== */
.glow-blue {
    position: absolute;
    border-radius: 50%;
    background: rgba(59,130,246,0.15);
    filter: blur(80px);
    pointer-events: none;
}

.glow-gold {
    position: absolute;
    border-radius: 50%;
    background: rgba(245,158,11,0.12);
    filter: blur(80px);
    pointer-events: none;
}

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

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

/* ===== FLOATING WHATSAPP ===== */
.float-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    animation: pulse-wa 2s ease-in-out infinite;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.float-whatsapp:hover {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    a.float-whatsapp,
    a.float-whatsapp:link,
    a.float-whatsapp:visited {
        display: none !important;
    }
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
    50%       { box-shadow: 0 4px 40px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== BADGE / TAG ===== */
.badge-alert {
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.4);
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
}

/* ===== DIVISOR ===== */
.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border: none;
    margin: 0;
}

/* ===== CHECK ITEMS ===== */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.check-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== DEPOIMENTOS ===== */
.stars { color: #f59e0b; letter-spacing: 2px; }

/* ===== PROGRESS BAR ===== */
.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
    transition: width 1.5s ease;
}

/* ===== PROTEÇÃO DE BOTÕES (GLOBAL) ===== */
button,
input[type="button"],
input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    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;
    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;
    }
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3.5s ease-in-out infinite;
}

/* ===== MAPA ===== */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59,130,246,0.25);
}
