<?php
// style.css - VERSÃO SUPER DEFINITIVA - FUNCIONA 100%
header('Content-Type: text/css');
?>

/* ===== RESET TOTAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== BACKGROUND QUE FUNCIONA ===== */
body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.pexels.com/photos/2156/sky-earth-space-working.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    min-height: 100vh;
}

/* Remove o pseudo-elemento que tava atrapalhando */
body::before {
    display: none;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    position: relative;
    z-index: 2;
}

/* ===== CARDS COM FUNDO ===== */
.benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
}

.benefit {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
    border-color: #00b4ff;
}

.benefit h3 {
    color: #00b4ff;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.benefit p {
    font-size: 0.95em;
    color: #ddd;
    line-height: 1.4;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #00b4ff, #0066ff);
    padding: 25px 15px;
    border-radius: 20px;
    margin: 25px 0;
    border: none;
}

.cta h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: white;
}

.cta p {
    font-size: 1em;
    margin-bottom: 5px;
    color: rgba(255,255,255,0.9);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: white;
    color: #0066ff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 350px;
    margin: 5px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

/* ===== COUNTDOWN ===== */
.countdown {
    text-align: center;
    font-size: 1.1em;
    margin: 25px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

#timer {
    font-size: 2.2em;
    font-weight: bold;
    color: #00b4ff;
    margin-top: 5px;
    text-shadow: 0 0 10px #00b4ff;
}

/* ===== FORMULÁRIOS ===== */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #00b4ff;
    font-weight: bold;
    font-size: 0.95em;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #00b4ff;
    box-shadow: 0 0 0 3px rgba(0,180,255,0.2);
}

/* ===== SELEÇÃO CPF/CNPJ ===== */
.document-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.doc-option {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-weight: bold;
}

.doc-option.selected {
    border-color: #00b4ff;
    background: rgba(0,180,255,0.2);
}

/* ===== BOTÃO WHATSAPP ===== */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    margin: 10px 0;
    width: 100%;
    max-width: 350px;
}

.btn-whatsapp:hover {
    transform: scale(1.02);
    background: #20b859;
}

.btn-whatsapp img {
    height: 22px;
    width: 22px;
    filter: brightness(0) invert(1);
}

/* ===== AVISOS ===== */
.aviso-verde {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 2px solid #00ff00;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.aviso-verde p {
    color: #00ff00;
    font-size: 1.1em;
    font-weight: bold;
}

.urgente-badge {
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.vagas-counter {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 2px solid #ffc107;
    padding: 15px;
    border-radius: 15px;
    margin: 20px 0;
    font-size: 1.1em;
    text-align: center;
}

.msg-maio {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-left: 4px solid #00b4ff;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 1em;
}

.msg-maio strong {
    color: #00b4ff;
    font-size: 1.1em;
}

/* ===== LOADING ===== */
.spinner {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    border: 5px solid rgba(0,180,255,0.2);
    border-top: 5px solid #00b4ff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00b4ff, #0066ff);
    animation: progress 3s infinite ease-in-out;
}

@keyframes progress {
    0% { width: 0%; margin-left: 0%; }
    50% { width: 80%; margin-left: 10%; }
    100% { width: 0%; margin-left: 100%; }
}

/* ===== CARDS DE INFORMAÇÃO ===== */
.info-card {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 15px;
    margin: 15px 0;
    border-left: 4px solid #00b4ff;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.1);
}

.info-card p {
    margin: 5px 0;
    color: #ddd;
}

.info-card strong {
    color: #00b4ff;
}

/* ===== MODAL VBV ===== */
.vbv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.vbv-content {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    padding: 25px 20px;
    border-radius: 25px;
    max-width: 500px;
    width: 100%;
    border: 2px solid #00b4ff;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.vbv-header {
    text-align: center;
    margin-bottom: 20px;
}

.vbv-header img {
    height: 30px;
    margin: 5px;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.vbv-input {
    width: 100%;
    padding: 15px;
    font-size: 22px;
    text-align: center;
    letter-spacing: 5px;
    background: rgba(255,255,255,0.1);
    border: 2px solid #00b4ff;
    color: white;
    border-radius: 15px;
    margin: 20px 0;
    font-weight: bold;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.close-btn:hover {
    color: white;
}

.btn-vbv {
    background: linear-gradient(135deg, #00b4ff, #0066ff);
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin: 5px;
    font-size: 1em;
    transition: transform 0.3s;
    flex: 1;
    min-width: 100px;
}

.btn-vbv:hover {
    transform: scale(1.02);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== RESPONSIVIDADE ===== */
@media (min-width: 768px) {
    .benefits {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .btn {
        width: auto;
        min-width: 250px;
    }
    
    .form-container {
        padding: 30px;
    }
    
    #timer {
        font-size: 3em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .form-container {
        padding: 15px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 1em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .document-selector {
        gap: 5px;
    }
    
    .doc-option {
        padding: 10px;
        font-size: 0.9em;
    }
    
    .vbv-input {
        font-size: 20px;
        padding: 12px;
    }
    
    #timer {
        font-size: 2em;
    }
}