/**
 * ========================================
 * ✅ ESTILIZAÇÃO CSS FINAL E COMPLETA (V5)
 * ========================================
 */

:root { --primary-neon: #00ff88; --secondary-neon: #00d4ff; --accent-neon: #ff3860; --bg-dark: #0a0e27; --bg-darker: #050810; --text-primary: #ffffff; --text-secondary: #b8c5d6; --text-muted: #6c7a8e; --shadow-primary: 0 0 20px var(--primary-neon); --font-primary: 'Poppins', sans-serif; --font-heading: 'Orbitron', sans-serif; }
* { box-sizing: border-box; }
.registration-section { position: relative; padding: 100px 0; overflow-x: hidden; }
.registration-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.registration-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('https://joyforge.com.br/wp-content/uploads/2025/10/background-formulario.webp'); background-size: cover; background-position: center; }
.registration-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 0, 0, 0.90) 0%, rgba(10, 14, 39, 0.88) 50%, rgba(0, 0, 0, 0.90) 100%); z-index: 2; }
.registration-section .container { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary-neon); margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 15px; font-family: var(--font-heading); }
.section-subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.registration-wrapper { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }
.registration-form { background: rgba(10, 14, 39, 0.8); border: 2px solid rgba(0, 255, 136, 0.2); border-radius: 20px; padding: 40px; backdrop-filter: blur(10px); display: flex; flex-direction: column; }
.form-section { margin-bottom: 35px; }
.form-section-title { font-size: clamp(1.1rem, 2.5vw, 1.3rem); color: var(--primary-neon); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid rgba(0, 255, 136, 0.2); font-family: var(--font-heading); }
.form-row { display: grid; gap: 20px; }
.form-row:not(:last-child) { margin-bottom: 20px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 0; }
.form-label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-weight: 500; font-size: clamp(0.8rem, 2vw, 0.95rem); }
.form-control { width: 100%; padding: 15px 20px; font-size: 1rem; color: var(--text-primary); background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(0, 255, 136, 0.2); border-radius: 10px; transition: all 0.3s ease; font-family: var(--font-primary); -webkit-appearance: none; appearance: none; min-width: 0; min-height: 53px; }
.form-control:focus { outline: none; border-color: var(--primary-neon); box-shadow: 0 0 15px rgba(0, 255, 136, 0.3); background: rgba(255, 255, 255, 0.08); }
.form-control option { background: var(--bg-dark); color: var(--text-primary); }
.required { color: var(--accent-neon); }
.link { color: var(--secondary-neon); text-decoration: none; transition: color 0.3s ease; }
.link:hover { color: var(--primary-neon); text-decoration: underline; }
.custom-checkbox { display: flex; align-items: flex-start; cursor: pointer; user-select: none; }
.custom-checkbox input[type="checkbox"] { position: absolute; opacity: 0; }
.custom-checkbox .checkmark { position: relative; height: 24px; width: 24px; min-width: 24px; background-color: rgba(255, 255, 255, 0.05); border: 2px solid rgba(0, 255, 136, 0.2); border-radius: 6px; transition: all 0.3s ease; margin-right: 12px; flex-shrink: 0; }
.custom-checkbox:hover .checkmark { border-color: var(--primary-neon); }
.custom-checkbox input:checked ~ .checkmark { background-color: var(--primary-neon); border-color: var(--primary-neon); }
.custom-checkbox .checkmark::after { content: ''; position: absolute; display: none; left: 7px; top: 3px; width: 6px; height: 10px; border: solid var(--bg-darker); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-checkbox input:checked ~ .checkmark::after { display: block; }
.checkbox-label { color: var(--text-secondary); font-size: 0.9rem; }
.alert { padding: 15px; border-radius: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: clamp(0.85rem, 2vw, 0.95rem); }
.alert-info { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.3); color: var(--secondary-neon); }
.alert i { font-size: 1.2rem; flex-shrink: 0; }
.form-value { display: flex; align-items: center; justify-content: space-between; padding: 20px; background: rgba(0, 255, 136, 0.05); border: 2px solid var(--primary-neon); border-radius: 15px; margin: 25px 0; }
.form-value-label { font-size: clamp(1rem, 2vw, 1.1rem); color: var(--text-secondary); }
.form-value-amount { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--primary-neon); font-family: var(--font-heading); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; font-size: 1.1rem; font-weight: 600; text-decoration: none; text-align: center; border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; }
.btn span { flex-shrink: 1; white-space: normal; word-break: break-word; }
.btn-primary { background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon)); color: var(--bg-darker); box-shadow: var(--shadow-primary); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 0 30px rgba(0, 255, 136, 0.9), 0 0 50px rgba(0, 212, 255, 0.5); transform: translateY(-2px); }
.btn-primary:active:not(:disabled) { transform: translateY(0); box-shadow: 0 0 15px rgba(0, 255, 136, 0.4); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn i { margin-right: 10px; flex-shrink: 0; }
.btn-block { width: 100%; display: flex; }
.btn-lg { padding-top: 18px; padding-bottom: 18px; font-size: 1.2rem; }
.form-footer { text-align: center; margin-top: 20px; color: var(--text-muted); font-size: clamp(0.8rem, 2vw, 0.9rem); display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-footer i { color: var(--primary-neon); }
.registration-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.sidebar-card { background: rgba(10, 14, 39, 0.8); border: 2px solid rgba(0, 255, 136, 0.1); border-radius: 15px; padding: 25px; text-align: center; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.sidebar-card:hover { border-color: var(--primary-neon); transform: translateY(-5px); }
.sidebar-icon { width: 60px; height: 60px; margin: 0 auto 15px; background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--bg-darker); }
.sidebar-card h4 { font-size: clamp(1rem, 2.5vw, 1.2rem); margin-bottom: 10px; color: var(--text-primary); }
.sidebar-card p { color: var(--text-secondary); font-size: clamp(0.8rem, 2vw, 0.9rem); line-height: 1.5; margin-bottom: 15px; }
.btn-secondary { background: transparent; color: var(--primary-neon); border: 2px solid var(--primary-neon); }
.btn-secondary:hover { background: rgba(0, 255, 136, 0.1); box-shadow: 0 0 15px rgba(0, 255, 136, 0.3); }
.btn-sm { padding: 10px 20px; font-size: clamp(0.8rem, 2vw, 0.9rem); }
body.modal-open { overflow: hidden; height: 100vh; }
.overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--bg-dark); border: 2px solid var(--primary-neon); border-radius: 20px; padding: 40px; max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; box-shadow: 0 0 40px rgba(0, 255, 136, 0.3), inset 0 0 40px rgba(0, 255, 136, 0.1); transform: scale(0.9) translateY(20px); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }
.overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; transition: all 0.3s ease; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.modal-close:hover { color: var(--primary-neon); background: rgba(0, 255, 136, 0.1); }
.modal-header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid rgba(0, 255, 136, 0.2); }
.modal-header h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--primary-neon); margin: 0; font-family: var(--font-heading); }
.modal-body { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; }
.modal-body p { margin-bottom: 15px; }
.modal-body strong { color: var(--primary-neon); }
.modal-content-block { background: rgba(0, 255, 136, 0.05); border: 1px solid rgba(0, 255, 136, 0.2); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.modal-content-block h3 { color: var(--primary-neon); margin-top: 0; margin-bottom: 10px; font-size: 1.2rem; }
.modal-actions { display: flex; gap: 15px; margin-top: 30px; justify-content: center; flex-wrap: wrap; }
.modal-actions .btn { min-width: 200px; }
.jtr-pix-payment-block { text-align: center; padding: 20px 0; }
.jtr-pix-payment-block h3 { color: var(--primary-neon); margin-bottom: 20px; font-size: 1.8rem; }
.jtr-pix-qr-code { max-width: 280px; margin: 0 auto 30px; border: 5px solid white; border-radius: 15px; box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
.jtr-pix-key-wrapper { margin-bottom: 30px; }
.jtr-pix-key-wrapper p { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-muted); }
.jtr-pix-key { background: rgba(0, 0, 0, 0.5); padding: 15px; border-radius: 10px; font-family: 'Courier New', monospace; font-size: 0.95rem; color: var(--primary-neon); word-break: break-all; border: 1px solid rgba(0, 255, 136, 0.3); margin-bottom: 10px; }
#jtr-copy-pix-key { width: 100%; max-width: 100%; margin-top: 10px; }
.modal.modal-fullscreen { max-width: 100%; width: 100%; height: 100vh; max-height: 100vh; border-radius: 0; border: none; box-shadow: none; display: flex; flex-direction: column; justify-content: center; }
.modal.modal-fullscreen .modal-body { overflow-y: auto; padding-right: 15px; }
.modal.modal-fullscreen .modal-close { top: 25px; right: 30px; transform: scale(1.2); }
.modal.modal-fullscreen .jtr-pix-payment-block { max-width: 450px; margin-left: auto; margin-right: auto; }
.payment-timer { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 3.5rem); color: var(--primary-neon); text-shadow: 0 0 15px var(--primary-neon); margin: 10px 0 20px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.final-step-overlay { background: var(--bg-darker); }
.final-step-content { text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.final-step-icon { font-size: 7rem; color: #25D366; margin-bottom: 30px; text-shadow: 0 0 20px #25D366; }
@media (max-width: 1024px) { .registration-wrapper { grid-template-columns: 1fr; } .registration-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
@media (max-width: 768px) { .registration-section .container { padding: 0 15px; } .registration-form { padding: 25px; } .form-row-2 { grid-template-columns: 1fr; } .form-value { flex-direction: column; text-align: center; gap: 10px; } .registration-sidebar { grid-template-columns: 1fr; } .modal { width: 95%; padding: 25px; max-height: 90vh; margin: 20px; } .modal-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 1.5rem; } .modal-actions { flex-direction: column; } .modal-actions .btn { width: 100%; min-width: unset; } }