/* =========================================================
   RESET GLOBAL CORRIGIDO (SAFE SCROLL)
========================================================= */
/* 1. O HTML deve ser livre para definir o viewport */
html {
    scroll-behavior: smooth;

    /* Nativo suave */
    -webkit-text-size-adjust: 100%;
}

/* 2. O Body controla o overflow horizontal, mas NUNCA o vertical */
body {
    width: 100%;
    min-height: 100vh;

    /* Garante altura mínima */
    margin: 0;
    padding: 0;
    overflow-x: hidden;

    /* Previne scroll horizontal indesejado */
    overflow-y: auto;

    /* Garante explicitamente o scroll vertical */
    background-color: #05050A !important;

    /* Removemos o overscroll-behavior-y pois ele pode travar JS de scroll */
    /* overscroll-behavior-y: none; <--- REMOVIDO POR SEGURANÇA */
}

/* Compensação header fixo (Mantido) */
body {
    padding-top: 80px;
}

@media (max-width: 1248px) {
    body {
        padding-top: 64px;
    }
}

/* =========================================================
   BRAND ORBIT (LOGOS)
========================================================= */
.brand-orbit-wrapper {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
    background: transparent;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brand-orbit-track {
    display: flex;
    width: max-content;
    animation: brand-orbit-scroll 45s linear infinite;
}

.brand-orbit-slide {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
}

.brand-orbit-slide img {
    height: 50px;
    width: auto;
    opacity: 0.5;
    transition: all 0.4s ease;
    object-fit: contain;
    user-select: none;
}

@media (min-width: 1024px) {
    .brand-orbit-slide {
        gap: 100px;
        padding-right: 100px;
    }

    .brand-orbit-slide img {
        height: 90px;
    }
}

.brand-orbit-slide img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes brand-orbit-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================
   METODOLOGIA / TIMELINE
========================================================= */
.section-metodo {
    padding: 100px 0;
    background: transparent;
    overflow: visible;
}

.metodo-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.timeline-beam {
    position: absolute;
    top: 22px;
    left: 0;
    height: 2px;
    background: #A855F7;
    box-shadow: 0 0 12px #A855F7;
}

.timeline-item {
    width: 25%;
    text-align: center;
}

.dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #08060A;
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.timeline-item.active .dot {
    background: #A855F7;
    border-color: #A855F7;
    box-shadow: 0 0 20px #A855F7;
}

@media (max-width: 768px) {
    .timeline {
        flex-direction: column;
        gap: 48px;
    }

    .timeline::before,
    .timeline-beam {
        left: 22px;
        top: 0;
        width: 2px;
        height: 100%;
    }

    .timeline-item {
        width: 100%;
        text-align: left;
        padding-left: 64px;
    }

    .dot {
        position: absolute;
        left: 0;
    }
}

/* =========================================
   FIX MOBILE REAL - ORBIX CTA
========================================= */
/* === CSS ISOLADO (NAMESPACE: neon-pill) === */
.neon-pill-section {
    width: 100%;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Container do botão para centralizar */
.neon-pill-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
}

/* O Botão "Ghost" (apenas container lógico) */
.neon-pill-button {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.neon-pill-button:hover {
    transform: scale(1.02);
}

/* O Glow (Atrás da capsula) */
.neon-pill-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(90deg, #a855f7, #06b6d4);

    /* Roxo para Ciano */
    filter: blur(12px);

    /* O desfoque "Neon" */
    border-radius: 9999px;
    opacity: 0.6;
    z-index: 1;

    /* Fica atrás */
    animation: neon-pulse 3s infinite ease-in-out;
}

/* A Cápsula Preta (Frente) */
.neon-pill-capsule {
    position: relative;
    z-index: 2;

    /* Fica na frente do glow */
    background-color: #000000;

    /* PRETO ABSOLUTO */
    border: 1px solid rgba(255, 255, 255, 0.15);

    /* Borda sutil */
    border-radius: 9999px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5);

    /* Reforço visual */
}

/* Texto */
.neon-pill-text {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Divisória Vertical */
.neon-pill-divider {
    width: 1px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Seta */
.neon-pill-arrow {
    color: #06b6d4;

    /* Ciano */
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.neon-pill-button:hover .neon-pill-arrow {
    transform: translateX(4px);
    color: #a855f7;

    /* Muda para Roxo no hover */
}

/* Animação do Glow */
@keyframes neon-pulse {
    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* Responsivo Mobile */
@media (max-width: 768px) {
    .neon-pill-capsule {
        padding: 12px 24px;
        gap: 10px;
    }

    .neon-pill-text {
        font-size: 0.65rem;
    }
}

/* =========================================================
   HEADER
========================================================= */
.publi-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(3, 0, 20, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =========================================================
   FIX OVERFLOW MOBILE (SEGURO)
========================================================= */
.brand-orbit-wrapper,
#orbix-cta-component {
    max-width: 100%;
    overflow: hidden;
}

/* Container do WhatsApp */
.whatsapp-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Balão de Mensagem */
.whatsapp-message {
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.3);

    /* Borda roxa subtil */
    padding: 12px 18px;
    border-radius: 18px 18px 0 18px;
    color: white;
    max-width: 240px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-message.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Botão Fechar (X) */
.close-chat {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 18px;
    height: 18px;
    background: #a855f7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
}

/* O Botão Verde com Pulso */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #201134;
    color: #fffffffffffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    position: relative;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    background-color: #470d73;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-wave 2s infinite;
}

@keyframes whatsapp-wave {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
