/* ============================================================
   GO2RUN — CADASTRO — NIGHT SPEED THEME
   ============================================================ */

:root {
    --bg-base:        #06070D;
    --bg-surface:     #0F1220;
    --bg-elevated:    #171B28;
    --fire:           #EE00EE;
    --fire-mid:       #BB00BB;
    --fire-glow:      rgba(238,0,238,0.25);
    --fire-subtle:    rgba(238,0,238,0.08);
    --fire-border:    rgba(238,0,238,0.35);
    --neon:           #00D0FF;
    --red:            #ef4444;
    --red-subtle:     rgba(239,68,68,0.1);
    --red-border:     rgba(239,68,68,0.4);
    --text-primary:   #EEF1FF;
    --text-secondary: #8A92B0;
    --border-subtle:  rgba(255,255,255,0.06);
    --border-mid:     rgba(255,255,255,0.12);
    --transition:     all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-base);
    min-height: 100vh;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── LAYOUT ── */
.cadastro-outer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 1rem;
}
.cadastro-outer-inner {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ── CONTAINER ── */
.cadastro-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    min-height: 520px;
    align-items: stretch;
}

/* ── LEFT PANEL ── */
.cadastro-left {
    flex: 0 0 300px;
    background: var(--bg-elevated);
    border-right: 1px solid var(--fire-border);
    color: var(--text-primary);
    padding: 50px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.cadastro-left::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--fire-glow);
    filter: blur(50px);
    pointer-events: none;
}
.cadastro-left::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(238,0,238,0.1);
    filter: blur(60px);
    pointer-events: none;
}
.cadastro-left h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    position: relative;
    z-index: 1;
}
.cadastro-left p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    position: relative;
    z-index: 1;
}
.features-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}
.features-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.86rem;
    color: var(--text-secondary);
}
.features-list i {
    background: var(--fire-subtle);
    border: 1px solid var(--fire-border);
    color: var(--fire);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.74rem;
    flex-shrink: 0;
}
.floating {
    position: relative;
    z-index: 1;
    color: var(--fire);
    opacity: 0.7;
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(10px); }
}

/* ── RIGHT PANEL ── */
.cadastro-right {
    flex: 1;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 0;
}
.logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}
.logo-container img {
    height: 26px;
    max-width: 130px;
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.logo-container img:hover { transform: scale(1.05); }

.cadastro-header { text-align: center; margin-bottom: 1.5rem; }
.cadastro-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.cadastro-header p { color: var(--text-secondary); font-size: 0.88rem; }

/* ── FORM ── */
.form-group { margin-bottom: 0.9rem; position: relative; }
.form-control {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border-radius: 8px;
    border: 1px solid var(--border-mid);
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    transition: var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-control::placeholder { color: var(--text-secondary); }
.form-control:focus {
    border-color: var(--fire);
    box-shadow: 0 0 0 3px var(--fire-subtle);
}
select.form-control {
    cursor: pointer;
    padding-left: 46px;
}
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s;
}

/* ── EQUIPE INFO BOX ── */
.equipe-info {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 0.9rem;
}
.equipe-info b { color: var(--fire); font-weight: 700; }
.equipe-info-sub { font-size: 0.8rem; color: var(--text-secondary); }
.equipe-info-destaque { font-size: 0.84rem; color: var(--neon); font-weight: 600; }

/* ── DIVIDER ── */
.section-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 1.2rem 0;
}
.section-title-sm {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.9rem;
}

/* ── BUTTON ── */
.btn-cadastro {
    width: 100%;
    padding: 13px;
    background: var(--fire);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}
.btn-cadastro:hover {
    background: var(--fire-mid);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--fire-glow);
}
.pulse { animation: pulse 2.5s infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(238,0,238,0.4); }
    60%       { box-shadow: 0 0 0 10px rgba(238,0,238,0); }
}

/* ── ALERTS ── */
.alert {
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.alert-danger { background: var(--red-subtle); color: var(--red); border-left: 3px solid var(--red-border); }

/* ── LINKS & TEXT ── */
.cadastro-right a { color: var(--fire); text-decoration: none; transition: color 0.2s; }
.cadastro-right a:hover { color: var(--fire-mid); }
.cadastro-right > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.6rem;
    text-align: center;
}
.cadastro-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .cadastro-container { flex-direction: column; max-width: 480px; }
    .cadastro-left { flex: none; padding: 28px 24px; border-right: none; border-bottom: 1px solid var(--fire-border); text-align: center; }
    .cadastro-left h2 { font-size: 1.5rem; }
    .features-list li { justify-content: center; }
    .cadastro-right { padding: 28px 24px; }
    .cadastro-header h3 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .cadastro-outer { padding: 1.5rem 0.5rem; }
    .cadastro-left, .cadastro-right { padding: 20px 14px; }
    .cadastro-left h2 { font-size: 1.25rem; }
    .form-control { font-size: 0.9rem; }
}
