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

html {
    min-height: 100%;
    background: #071019;
}

     body {
    font-family: Arial, sans-serif;

    background-color: #071019;

    background-image:
        radial-gradient(circle at top, rgba(251,191,36,0.10), transparent 30%),
        linear-gradient(rgba(7,16,25,0.6), rgba(7,16,25,0.85)),
        url('/imagens/background_petrominer.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #fff;
}

body.loaded {
    opacity: 1;
}

.cadastro-page {
    position: relative;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    overflow: hidden;
}

.bg-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(120deg, transparent, rgba(255,255,255,0.025), transparent),
        radial-gradient(circle at 20% 30%, rgba(250,204,21,0.10), transparent 25%);

    pointer-events: none;
}

.hero-panel {
    position: relative;
    z-index: 1;

    padding: 70px 60px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(250,204,21,0.12);
    border: 1px solid rgba(250,204,21,0.24);

    color: #facc15;

    font-size: 14px;
    font-weight: 900;

    margin-bottom: 24px;

    box-shadow:
        0 0 18px rgba(250,204,21,0.08);
}

.hero-panel h1 {
    max-width: 700px;

    color: #ffffff;

    font-size: 52px;
    line-height: 1.05;
    font-weight: 900;

    margin-bottom: 20px;
}

.hero-panel p {
    max-width: 620px;

    color: #cbd5e1;

    font-size: 18px;
    line-height: 1.7;

    margin-bottom: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 220px));
    gap: 16px;

    margin-bottom: 28px;
}

.stat-card,
.form-box {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(15,23,42,0.96),
            rgba(11,22,34,0.96)
        );

    border: 1px solid rgba(148,163,184,0.14);

    backdrop-filter: blur(12px);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.35);
}

.stat-card::before,
.form-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #facc15,
            #22c55e,
            #38bdf8
        );
}

.stat-card {
    border-radius: 18px;
    padding: 18px;
}

.stat-label {
    display: block;

    color: #94a3b8;

    font-size: 14px;

    margin-bottom: 6px;
}

.stat-value {
    color: #facc15;

    font-size: 22px;
    font-weight: 900;
}

.hero-footer {
    max-width: 560px;

    color: #94a3b8;

    font-size: 15px;
    line-height: 1.6;
}

.form-panel {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 24px;
}

.form-box {
    width: 100%;
    max-width: 460px;

    border-radius: 24px;

    padding: 34px 30px;
}

.form-top {
    margin-bottom: 26px;
}

.form-top h2 {
    color: #facc15;

    font-size: 34px;
    font-weight: 900;

    margin-bottom: 10px;
}

.form-top p {
    color: #94a3b8;

    line-height: 1.6;

    font-size: 15px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: #e2e8f0;

    font-size: 14px;
    font-weight: 800;
}

.input-group input {
    width: 100%;
    height: 54px;

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;

    background: rgba(2,6,23,0.82);

    color: #ffffff;

    padding: 0 16px;

    font-size: 15px;
    font-weight: 700;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input-group input::placeholder {
    color: #64748b;
}

.input-group input:focus {
    border-color: rgba(250,204,21,0.35);

    background: rgba(2,6,23,0.96);

    box-shadow:
        0 0 0 4px rgba(250,204,21,0.10);
}

.input-group small {
    color: #64748b;

    font-size: 12px;
}

.captcha-box {
    display: flex;
    justify-content: center;

    padding-top: 4px;
}

.submit-btn {
    height: 56px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #facc15,
            #eab308
        );

    color: #111827;

    font-size: 16px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .2s ease,
        filter .2s ease,
        box-shadow .2s ease;

    box-shadow:
        0 12px 25px rgba(250,204,21,0.24);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    filter: brightness(1.03);

    box-shadow:
        0 16px 30px rgba(250,204,21,0.30);
}

.submit-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.form-links {
    margin-top: 22px;

    text-align: center;

    color: #94a3b8;

    font-size: 14px;
}

.form-links a {
    color: #facc15;

    text-decoration: none;

    font-weight: 800;

    margin-left: 6px;
}

.form-links a:hover {
    text-decoration: underline;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 16px 20px;

    color: #fff;

    font-size: 22px;
    font-weight: 900;
}

.logo-icon {
    width: 38px;
    height: 38px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 8px rgba(250,204,21,0.35));
}

@media (max-width: 980px) {
    .cadastro-page {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding: 50px 24px 20px;
    }

    .hero-panel h1 {
        font-size: 38px;
    }

    .hero-panel p {
        font-size: 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-panel {
        padding: 10px 16px 40px;
    }

    .form-box {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .hero-panel {
        padding: 40px 16px 10px;
    }

    .hero-badge {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-panel h1 {
        font-size: 30px;
    }

    .hero-panel p {
        font-size: 15px;
    }

    .form-box {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .form-top h2 {
        font-size: 28px;
    }

    .input-group input {
        height: 52px;
        font-size: 16px;
    }

    .submit-btn {
        height: 52px;
        font-size: 15px;
    }
}