/* master.css - DESIGN SYSTEM CLIX NEURAL - COMPLETO */
:root {
    --primary: #f97316;
    --primary-hover: #ea580c;
    --dark: #020617;
    --glass: rgba(5, 10, 24, 0.98);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { 
    font-family: 'Outfit', sans-serif; 
    scroll-behavior: smooth; 
    -webkit-tap-highlight-color: transparent; 
    box-sizing: border-box; 
}

body { 
    background-color: var(--dark); 
    color: #f8fafc; 
    margin: 0; 
    overflow-x: hidden; 
}

section { scroll-margin-top: 120px; }

/* Header Master */
.glass-header { 
    background: var(--glass); 
    backdrop-filter: blur(30px); 
    border-bottom: 1px solid var(--glass-border); 
}

/* Nav Links */
.nav-link { 
    font-size: 10px; 
    font-weight: 900; 
    text-transform: uppercase; 
    color: #94a3b8; 
    transition: 0.3s; 
    letter-spacing: 1px; 
    cursor: pointer;
    padding: 10px 18px; 
    border-radius: 12px; 
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
}
.nav-link.active { 
    border-color: var(--primary); 
    color: var(--primary); 
    background: rgba(249, 115, 22, 0.05); 
}

/* Antes e Depois (Slider) */
.comparison-slider { 
    position: relative; 
    width: 100%; 
    max-width: 320px; 
    aspect-ratio: 3 / 4.2; 
    overflow: hidden; 
    border-radius: 2rem; 
    border: 1px solid var(--glass-border); 
    margin: 0 auto; 
    user-select: none; 
    touch-action: none;
}

.img-before { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.img-after-container { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 50%; 
    height: 100%; 
    overflow: hidden; 
    z-index: 2; 
}

.img-after { 
    display: block; 
    height: 100%; 
    object-fit: cover; 
    max-width: none; 
}

/* Barra do slider */
.slider-handle { 
    position: absolute; 
    top: 0; 
    bottom: 0; 
    left: 50%; 
    width: 4px; 
    background: white; 
    z-index: 5; 
    transform: translateX(-50%); 
    cursor: ew-resize; 
}

/* Botão circular (setas) */
.comparison-slider .slider-handle::after { 
    content: '↔'; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 40px; 
    height: 40px; 
    background: var(--primary); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-weight: 900; 
    border: 3px solid #fff; 
    box-shadow: 0 0 15px rgba(0,0,0,0.5); 
    pointer-events: none;
    z-index: 6;
}

/* TABELA DE PLANOS */
.plan-table-card { 
    background: #050a18; 
    border: 1px solid var(--glass-border); 
    border-radius: 3rem; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: 0.4s; 
}
.plan-table-card:hover { border-color: var(--primary); transform: translateY(-10px); }
.plan-header { 
    padding: 35px 20px; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
}
.plan-header h4 { 
    font-weight: 900; 
    line-height: 1; 
    margin: 0; 
    font-style: italic; 
    text-transform: uppercase; 
    letter-spacing: -2px; 
}
.plan-header p { 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-top: 8px; 
    opacity: 0.9; 
    letter-spacing: 2px; 
}
.price-container { 
    display: flex; 
    align-items: baseline; 
    justify-content: center; 
    gap: 4px; 
    padding: 25px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.03); 
}
.price-tag { font-size: 72px; font-weight: 900; line-height: 1; color: white; }
.price-cents { font-size: 24px; font-weight: 700; opacity: 0.8; color: white; }
.plan-features { padding: 20px 30px 30px 30px; flex-grow: 1; }
.feature-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    margin-bottom: 10px; 
    font-size: 13px; 
    color: white; 
    text-align: left; 
}
.feature-item svg { width: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* BOTOES GERAIS */
.btn-cta-pill { 
    border-radius: 9999px; 
    transition: 0.4s; 
    font-weight: 900; 
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.3); 
}

/* BOTAO CARRINHO PEQUENO */
.btn-cart-small { 
    background: var(--primary); 
    color: white; 
    padding: 12px 24px; 
    border-radius: 9999px; 
    font-size: 11px; 
    font-weight: 900; 
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    transition: 0.3s; 
    border: 1px solid rgba(255,255,255,0.1); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.4); 
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item { 
    background: #050a18; 
    border: 1px solid var(--glass-border); 
    border-radius: 1.2rem; 
    cursor: pointer; 
    transition: 0.3s; 
}
.faq-item.active { background: var(--primary); border-color: white; }
.faq-item.active .faq-q, .faq-item.active .faq-a { color: white; }
.faq-q { 
    padding: 20px; 
    font-weight: 900; 
    font-size: 13px; 
    color: #94a3b8; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    text-transform: uppercase; 
}
.faq-a { 
    padding: 0 25px 20px 25px; 
    font-size: 14px; 
    line-height: 1.6; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    padding-top: 15px; 
    display: none; 
}
.faq-item.active .faq-a { display: block; }

/* 
   AJUSTE DE LOGIN - PORTAL CLIX
   Mata o fundo branco/azul do Chrome em senhas salvas
*/
.input-black-glass {
    display: block !important;
    width: 100% !important;
    background-color: #000000 !important; /* Fundo Preto */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1.2rem !important;
    padding: 18px 20px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* Remove a cor branca/azul automática do navegador */
.input-black-glass:-webkit-autofill,
.input-black-glass:-webkit-autofill:hover, 
.input-black-glass:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.input-black-glass:focus {
    border-color: var(--primary) !important;
}

@media (max-width: 900px) { 
    .faq-grid { grid-template-columns: 1fr; } 
}


@media (max-width: 900px) { 
    #clix-lightbox .lb-arrow,
    #clix-lightbox .lb-prev,
    #clix-lightbox .lb-next {
        display: none !important;
    }
}