/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #005CCA;
    --primary-dark: #004aa3;
    --primary-light: #3380d6;
    --primary-glow: rgba(0, 92, 202, 0.3);
    --secondary: #FFD029;
    --secondary-dark: #e6bb00;
    --secondary-glow: rgba(255, 208, 41, 0.3);
    --dark: #111111;
    --bg-soft: #F5F5F5;
    --text-dark: #111111;
    --text-muted: #6b7280;
    --border-light: #D9D9D9;
    --white: #FFFFFF;
}

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

/* ===== TIPOGRAFIA ===== */
.font-display {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ===== BOTÃO PRIMÁRIO ===== */
.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    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-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: none;
    outline: none;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    animation: shimmer-slide 2.8s ease-in-out infinite;
    pointer-events: none;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 92, 202, 0.5);
}

/* ===== BOTÃO SECUNDÁRIO ===== */
.btn-secondary {
    background: var(--secondary);
    color: #111111;
    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-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: none;
    outline: none;
}
.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(255, 208, 41, 0.5);
}

/* ===== GLASS CARD (dark sections) ===== */
.card-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: 20px;
}
.card-glass:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 208, 41, 0.35);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

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

/* ===== HERO BACKGROUND ===== */
.hero-bg {
    background-color: #001428;
    background-image:
        radial-gradient(ellipse 110% 65% at 50% -5%, rgba(0, 65, 170, 0.5) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 85% 90%, rgba(0, 28, 75, 0.35) 0%, transparent 70%);
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,92,202,0.12) 1px, transparent 0);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}

/* ===== DARK SECTION ===== */
.section-dark {
    background: linear-gradient(160deg, #080e1c 0%, #001428 45%, #001f52 100%);
    position: relative;
    overflow: hidden;
}

/* ===== AGITAÇÃO SECTION ===== */
.section-agit {
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
}

/* ===== DIAGONAL STRIPE OVERLAY ===== */
.diagonal-stripe {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 48px,
        rgba(255, 208, 41, 0.022) 48px,
        rgba(255, 208, 41, 0.022) 50px
    );
    pointer-events: none;
    z-index: 1;
}
.diagonal-stripe-light {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(0, 92, 202, 0.03) 40px,
        rgba(0, 92, 202, 0.03) 42px
    );
    pointer-events: none;
    z-index: 1;
}

/* ===== GLOW ORBS ===== */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    z-index: 0;
}

/* ===== SECTION TAGS ===== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 92, 202, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 92, 202, 0.22);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-family: 'Montserrat', sans-serif;
}
.section-tag-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 208, 41, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(255, 208, 41, 0.32);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-family: 'Montserrat', sans-serif;
}
.section-tag-light {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-family: 'Montserrat', sans-serif;
}

/* ===== PROBLEM CARD ===== */
.problem-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fffbfb 100%);
    border-left: 4px solid #ef4444;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.07);
    transition: all 0.3s ease;
}
.problem-card:hover {
    transform: translateX(7px);
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, #fff8e6 0%, #fffdf5 100%);
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.14);
}

/* ===== BENEFIT CARD ===== */
.benefit-card {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1.5px solid var(--border-light);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 28px 55px rgba(0, 92, 202, 0.16);
    border-color: rgba(0, 92, 202, 0.28);
}
.benefit-card:hover::before { opacity: 1; }

/* ===== ICON CIRCLE ===== */
.icon-circle {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 92, 202, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
}
.benefit-card:hover .icon-circle {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* ===== STEP INDICATOR ===== */
.step-number {
    min-width: 54px;
    min-height: 54px;
    width: 54px;
    height: 54px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0, 92, 202, 0.35);
    transition: all 0.3s ease;
}
.step-item:hover .step-number {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 6px 20px rgba(255, 208, 41, 0.45);
    transform: scale(1.1);
}
.step-connector {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(0,92,202,0.4), rgba(0,92,202,0.1));
    margin-left: 26px;
    min-height: 32px;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 208, 41, 0.32);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

/* ===== FAQ ===== */
.faq-item {
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 12px;
}
.faq-item:hover,
.faq-item.open {
    border-color: rgba(0, 92, 202, 0.3);
    box-shadow: 0 6px 24px rgba(0, 92, 202, 0.08);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-content.open {
    max-height: 600px;
}
.faq-icon {
    transition: transform 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(0, 92, 202, 0.08);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1;
}

/* ===== NAVBAR ===== */
.navbar-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: color 0.2s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    position: relative;
}
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.2s ease;
}
.navbar-link:hover { color: var(--secondary); }
.navbar-link:hover::after { width: 100%; }

/* ===== TRUST BADGE ===== */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    padding: 5px 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.73rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== PULSE GLOW ===== */
.pulse-glow {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ===== FLOAT ANIMATIONS ===== */
.float-slow { animation: float-slow 5.5s ease-in-out infinite; }
.float-medium { animation: float-medium 4s ease-in-out infinite; }
.float-fast { animation: float-fast 3s ease-in-out infinite; }

/* ===== STAR RATING ===== */
.stars { color: var(--secondary); letter-spacing: 2px; font-size: 1rem; }

/* ===== MARQUEE ===== */
.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}
.marquee-dot {
    color: var(--secondary);
    font-size: 0.45rem;
    flex-shrink: 0;
    opacity: 0.65;
    line-height: 1;
    user-select: none;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== APLICAÇÕES BADGE ===== */
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.25s ease;
}
.app-badge:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0,92,202,0.04);
}

/* ===== DECORATIVE ELEMENTS ===== */
.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
    pointer-events: none;
    opacity: 0.08;
}
.deco-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* ===== NÚMERO IMPACTO ===== */
.number-impact {
    font-family: 'Bebas Neue', cursive;
    line-height: 1;
    color: var(--secondary);
}

/* ===== KEYFRAMES ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer-slide {
    0% { left: -120%; }
    55% { left: 200%; }
    100% { left: 200%; }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(1.5deg); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.82); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0,92,202,0.4), 0 0 0 0 rgba(0,92,202,0.18);
    }
    50% {
        box-shadow: 0 8px 42px rgba(0,92,202,0.65), 0 0 0 9px rgba(0,92,202,0);
    }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes particle-float {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100px) translateX(30px); opacity: 0; }
}
@keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

/* ===== PARTICLES ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255, 208, 41, 0.3);
    animation: particle-float linear infinite;
}

/* ===== ORBS ANIMATED ===== */
.orb-animated {
    animation: orb-pulse 4s ease-in-out infinite;
}

/* ===== PROTEÇÃO GLOBAL BOTÕES ===== */
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;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}

/* Ocultar CTA WhatsApp no header/nav no mobile */
@media (max-width: 767px) {
    header .desktop-cta { display: none !important; }
    section, footer, nav, header { overflow-x: hidden; }
    h1, h2, h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    img { max-width: 100%; height: auto; }
}
