/* ==========================================================================
   Futebol Virtual — Login Page
   Tema: navy #0c1526 · verde #88ca52 · textos brancos
   ========================================================================== */

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

html.login-page,
body.login-page {
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    color: #f0f4f8;
    background: #0c1526;
    overflow-x: hidden;
}

/* ── Fundo decorativo ───────────────────────────────────────────── */
.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lp-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
}
.lp-bg__orb--1 {
    width: 600px; height: 600px;
    top: -180px; left: -120px;
    background: radial-gradient(circle, #88ca52, transparent 70%);
    animation: orbFloat 14s ease-in-out infinite alternate;
}
.lp-bg__orb--2 {
    width: 480px; height: 480px;
    bottom: -140px; right: -80px;
    background: radial-gradient(circle, #88ca52, transparent 70%);
    opacity: 0.1;
    animation: orbFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 20px) scale(1.05); }
}

.lp-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(136,202,82,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(136,202,82,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── Layout principal ────────────────────────────────────────────── */
.lp-wrap {
    position: relative;
    z-index: 1;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 420px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* ── Coluna esquerda ─────────────────────────────────────────────── */
.lp-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Marca */
.lp-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.lp-brand__icon {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(136,202,82,0.5));
}
.lp-brand__name {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f0f4f8;
    line-height: 1.15;
}
.lp-brand__name span { color: #88ca52; }
.lp-brand__tag {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(200,200,215,0.55);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Pitch / headline */
.lp-pitch__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.18;
    color: #f0f4f8;
    margin-bottom: 0.65rem;
}
.lp-pitch__title em {
    font-style: normal;
    color: #88ca52;
}
.lp-pitch__sub {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(200,200,215,0.7);
    max-width: 42ch;
}

/* Features */
.lp-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.lp-features__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(136,202,82,0.07);
    transition: background 0.2s, border-color 0.2s;
}
.lp-features__item:hover {
    background: rgba(136,202,82,0.04);
    border-color: rgba(136,202,82,0.14);
}
.lp-features__ico {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136,202,82,0.1);
    color: #88ca52;
    font-size: 0.9rem;
}
.lp-features__item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 2px;
}
.lp-features__item span {
    font-size: 0.76rem;
    line-height: 1.45;
    color: rgba(180,180,200,0.8);
}

/* Trust bar */
.lp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.lp-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(180,180,200,0.6);
    letter-spacing: 0.02em;
}
.lp-trust span i {
    color: #88ca52;
    font-size: 0.7rem;
}

/* ── Coluna direita — card ─────────────────────────────────────── */
.lp-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-card {
    background: #132035;
    border: 1px solid rgba(136,202,82,0.12);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2rem);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 24px 60px rgba(0,0,0,0.55),
        0 0 80px rgba(136,202,82,0.03);
    position: relative;
    overflow: hidden;
}

/* Linha dourada no topo */
.lp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(136,202,82,0.7), transparent);
}

/* Cabeçalho do card */
.lp-card__head {
    text-align: center;
    margin-bottom: 1.5rem;
}
.lp-card__logo {
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 20px rgba(136,202,82,0.45));
    display: block;
}
.lp-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f0f4f8;
    margin-bottom: 0.3rem;
}
.lp-card__sub {
    font-size: 0.83rem;
    color: rgba(180,180,200,0.7);
    line-height: 1.45;
}
.lp-card__sub strong { color: rgba(136,202,82,0.85); font-weight: 600; }

/* Alertas */
.lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}
.lp-alert i { flex-shrink: 0; margin-top: 1px; }
.lp-alert--warn {
    background: rgba(136,202,82,0.08);
    border: 1px solid rgba(136,202,82,0.22);
    color: #ffe066;
}
.lp-alert--error {
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.22);
    color: #fca5a5;
}

/* Formulário */
.lp-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lp-field { display: flex; flex-direction: column; gap: 0.35rem; }

.lp-field__label {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(180,180,200,0.7);
}

.lp-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lp-field__ico {
    position: absolute;
    left: 0.9rem;
    color: rgba(180,180,200,0.45);
    font-size: 0.82rem;
    pointer-events: none;
    transition: color 0.2s;
}

.lp-field__input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 11px;
    padding: 0.72rem 2.8rem 0.72rem 2.5rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #f0f4f8;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    min-height: 46px;
}
.lp-field__input::placeholder { color: rgba(160,160,180,0.4); }
.lp-field__input:hover {
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
}
.lp-field__input:focus {
    border-color: rgba(136,202,82,0.5);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(136,202,82,0.08);
}
.lp-field__wrap:focus-within .lp-field__ico { color: rgba(136,202,82,0.7); }

.lp-field__eye {
    position: absolute;
    right: 0.65rem;
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    color: rgba(160,160,180,0.55);
    font-size: 0.82rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.lp-field__eye:hover {
    color: #88ca52;
    background: rgba(136,202,82,0.08);
}

.lp-field__hint {
    font-size: 0.71rem;
    color: rgba(160,160,180,0.55);
    line-height: 1.4;
}
.lp-field__hint a {
    color: rgba(136,202,82,0.7);
    text-decoration: none;
    font-weight: 500;
}
.lp-field__hint a:hover { text-decoration: underline; color: #88ca52; }

/* Botão principal */
.lp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.78rem 1.25rem;
    min-height: 48px;
    background: linear-gradient(135deg, #88ca52 0%, #6faa3f 100%);
    color: #0c1526;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(136,202,82,0.25), 0 1px 0 rgba(255,255,255,0.12) inset;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    margin-top: 0.2rem;
}
.lp-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(136,202,82,0.38);
    filter: brightness(1.06);
}
.lp-btn:active:not(:disabled) { transform: translateY(0); }
.lp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Divisor */
.lp-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 0.75rem;
    color: rgba(160,160,180,0.35);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lp-divider::before,
.lp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

/* Botão cadastro */
.lp-signup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.72rem 1.25rem;
    min-height: 44px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(200,200,215,0.85);
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 11px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.lp-signup-btn:hover {
    background: rgba(136,202,82,0.06);
    border-color: rgba(136,202,82,0.2);
    color: #88ca52;
    transform: translateY(-1px);
}
.lp-signup-btn i { font-size: 0.82rem; }

/* Texto fine print */
.lp-fine {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(140,140,160,0.55);
    margin-top: 0.75rem;
    line-height: 1.5;
}
.lp-age {
    display: inline-flex;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 1px 5px;
    border-radius: 4px;
    background: linear-gradient(135deg, #88ca52, #6faa3f);
    color: #0c1526;
    vertical-align: middle;
}

/* Nota inferior */
.lp-note {
    font-size: 0.73rem;
    color: rgba(140,140,160,0.55);
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
}
.lp-note i { color: rgba(136,202,82,0.5); margin-top: 1px; flex-shrink: 0; }
.lp-note a {
    color: rgba(136,202,82,0.65);
    text-decoration: none;
    font-weight: 500;
}
.lp-note a:hover { text-decoration: underline; color: #88ca52; }

/* ── Responsivo ──────────────────────────────────────────────────── */

/* Tablet: esconde coluna esquerda, centraliza card */
@media (max-width: 860px) {
    .lp-wrap {
        grid-template-columns: 1fr;
        max-width: 460px;
        padding: 1.5rem 1rem;
        gap: 0;
        align-items: flex-start;
    }

    .lp-side {
        display: none;
    }

    .lp-main {
        padding-top: max(1.5rem, env(safe-area-inset-top, 0px));
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    }
}

/* Mobile */
@media (max-width: 480px) {
    .lp-wrap { padding: 1rem 0.75rem; }

    .lp-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }

    .lp-field__input {
        font-size: 16px;
    }
}

/* Desktop largo: mostra a lateral */
@media (min-width: 861px) {
    .lp-wrap {
        min-height: 100dvh;
        align-items: center;
    }
}

/* ── Modal 18+ ───────────────────────────────────────────────────── */
.lp-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lp-modal.active {
    display: flex;
}

.lp-modal__box {
    width: 100%;
    max-width: 420px;
    background: #132035;
    border: 1px solid rgba(136, 202, 82, 0.18);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    animation: lpModalIn 0.22s ease-out;
}

@keyframes lpModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lp-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lp-modal__head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f0f4f8;
    margin: 0;
}

.lp-modal__close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(180, 180, 200, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.lp-modal__close:hover {
    background: rgba(136, 202, 82, 0.1);
    color: #88ca52;
}

.lp-modal__body {
    padding: 1.25rem 1.15rem 0.5rem;
    text-align: center;
}

.lp-modal__icon {
    font-size: 2.2rem;
    color: #88ca52;
    margin-bottom: 0.75rem;
}

.lp-modal__body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0f4f8;
    margin: 0 0 0.6rem;
}

.lp-modal__body p {
    font-size: 0.84rem;
    line-height: 1.55;
    color: rgba(180, 180, 200, 0.85);
    margin: 0 0 0.5rem;
}

.lp-modal__warn {
    margin-top: 0.75rem !important;
    color: rgba(136, 202, 82, 0.85) !important;
}

.lp-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.15rem 1.15rem;
}

.lp-modal__cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.65rem 1rem;
    min-height: 42px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    color: rgba(180, 180, 200, 0.75);
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lp-modal__cancel:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: #f0f4f8;
}

