﻿:root {
    --bg: #0e0e0e;
    --ink: #f5f5f5;
    --muted: #cfcfcf;
    --brand: #8b7b70; /* marrom do botão do mock */
    --brand-600: #6f6259;
    --input-bg: rgba(255,255,255,.12);
    --input-bd: #D2D2D2;
    --card-bg: rgba(0,0,0,.45);
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --focus: #4cc3ff;
    --container: 1230px;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Lato",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    color: var(--ink);
    background: #000;
}

/* ---------- Helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Background ---------- */
.login-bg {
    background: url("../assets/images/background.png") center/cover no-repeat fixed;
    background-position-y: bottom;
}

/* ---------- Header ---------- */
.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 135px;
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
}

    /* camada do gradiente */
    .lp-header::before {
        content: "";
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        background: linear-gradient( to right, #000000 0%, #4f4f4f 30%, #8a8a8a 50%, #4f4f4f 70%, #000000 100% );
        opacity: 0; /* começa invisível */
        transition: opacity 0.5s ease; /* animação de 2s */
        z-index: -1; /* fica atrás do conteúdo do header */
    }

/* quando der scroll, só muda a opacidade */
.lp-header--scrolled::before {
    opacity: 1;
}


.lp-header__wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px
}

.lp-header__brand img {
    height: 50px
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    margin-right: auto;
}

    .lp-nav a {
        color: #ADADAD;
        text-decoration: none;
        font-weight: 400;
        opacity: .9;
        transition: opacity 0.2s;
    }

        .lp-nav a:hover {
            opacity: 1
        }

/* telefone */
.lp-phone {
    color: #FFFFFF;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

    /* BARRINHA antes do "Fale Conosco" */
    .lp-phone::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 16px;
        background-color: rgba(255, 255, 255, 0.6);
        margin-right: 12px;
    }

/* burger (mobile) */
.lp-burger {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer
}

    .lp-burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 5px 0
    }

/* ---------- Main / Card ---------- */
.lp-main {
    display: grid;
    min-height: calc(100vh - 160px)
}

.lp-hero {
    width: 100%;
    padding: 0 0 48px 0
}

.lp-card {
    width: min(425px,100%);
    margin-inline: auto;
    padding: 28px 28px 22px;
}

.lp-title {
    padding: 16px 8px;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
}

/* ---------- Tabs ---------- */
.lp-tabs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 8px 0 22px;
    position: relative;
}

    /* linha base contínua */
    .lp-tabs::after {
        content: "";
        position: absolute;
        bottom: -1px;
        height: 1px;
        background: rgba(255, 255, 255, 0.3);
        width: 200px; /* largura total da linha */
        left: 50%;
        transform: translateX(-50%);
    }

/* abas iguais */
.lp-tab {
    position: relative;
    width: 100px; /* mesma largura para ambas */
    text-align: center;
    padding-bottom: 6px;
    color: #D0D0D0;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
}

    .lp-tab:hover {
        opacity: 1;
    }

    .lp-tab.is-active {
        font-weight: 700;
        color: #FFFFFF;
        cursor: default;
    }

        /* sublinha da aba ativa */
        .lp-tab.is-active::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%; /* ocupa toda a largura da aba */
            height: 2px;
            background: #fff;
        }


/* ---------- Form ---------- */
.lp-form {
    display: grid;
    gap: 14px
}

.lp-field label {
    display: block;
    margin: 0 0 6px;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 400;
    opacity: .9;
}

.lp-input {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid var(--input-bd);
    background: #FFFFFF;
    outline: none
}

    .lp-input:focus {
        border-color: var(--focus);
        box-shadow: 0 0 0 3px rgba(76,195,255,.25)
    }

        .lp-input:focus::placeholder {
            color: #e5e5e5;
            vertical-align: middle;
        }

    .lp-input::placeholder {
        color: #D2D2D2;
        opacity: 1;
        font-weight: 400;
        font-size: 16px;
    }

.lp-input-icon {
    position: relative
}

    .lp-input-icon .lp-input {
        padding-right: 44px
    }

.lp-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

    .lp-eye::before {
        content: "";
        display: inline-block;
        width: 22px;
        height: 22px;
        background: no-repeat center/contain url("../assets/images/login-eye.svg");
        opacity: 0.9;
    }

    .lp-eye.is-closed::before {
        background-image: url("../assets/images/login-eye-fechado.svg");
    }

/* checkbox */
.lp-row {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.lp-check input[type="checkbox"] {
    appearance: none; /* remove o estilo padrão */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #D2D2D2; /* borda branca */
    border-radius: 3px; /* leve arredondado */
    background-color: transparent; /* fundo transparente */
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    /* ícone de check */
    .lp-check input[type="checkbox"]:checked::after {
        content: "";
        position: absolute;
        left: 4px;
        top: 0px;
        width: 5px;
        height: 9px;
        border: solid #D2D2D2;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

    /* efeito de foco (opcional) */
    .lp-check input[type="checkbox"]:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
    }

/* espaço e texto */
.lp-check span {
    color: #FFFFFF;
    font-size: 16px;
    user-select: none;
    font-weight: 400;
    opacity: .9;
}


/* buttons */
.lp-btn {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .2px;
    font-size: 16px;
}

.lp-btn--primary {
    background: #817972;
    color: #fff
}

    .lp-btn--primary:hover {
        background: #817972
    }

.lp-links {
    margin-top: 10px;
    text-align: center
}

    .lp-links a {
        color: #fff;
        text-decoration: none;
        opacity: .9;
        font-size: 16px;
        font-weight: 400;
    }

        .lp-links a:hover {
            opacity: 1
        }

/* validation */
.lp-validation {
    color: #ffd2d2;
    background: rgba(255,0,0,.08);
    border: 1px solid rgba(255,0,0,.25);
    padding: 10px 12px;
    border-radius: 8px;
    display: none
}

/*.validation-summary-errors, .input-validation-error + span {
    display: block
}*/

.input-validation-error {
    border-color: #ff7a7a
}

.lp-error {
    display: block;
    color: #ffd2d2;
    font-size: .9rem;
    margin-top: 4px
}

/* ---------- Footer ---------- */
.lp-footer {
    padding: 24px 0 40px
}

    .lp-footer img {
        height: 26px;
        opacity: .85
    }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
    .lp-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        background: rgba(0,0,0,.9);
        backdrop-filter: blur(6px);
        padding: 16px 24px;
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .lp-burger {
        display: inline-block
    }

    .lp-header {
        padding: 8px 16px;
    }

    .lp-header__wrap {
        padding-right: 0;
    }

    .login-bg {
        background: url("../assets/images/background.png") center no-repeat fixed;
        background-position-x: center;
        background-position-y: center;
    }

    .lp-phone::before {
        content: "";
        display: none;
    }
}

@media (max-width: 560px) {
    .lp-card {
        padding: 22px 18px
    }

    .lp-title {
        font-size: 22px
    }
}


.lp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.lp-field--inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

    .lp-field--inline .lp-error {
        flex-basis: 100%;
        display: block;
        margin-top: 6px;
    }

        /* opcional: reserva um espacinho pra não "pular" quando aparece */
        .lp-field--inline .lp-error:empty {
            display: block;
            min-height: 18px; /* ajusta conforme seu font-size */
            margin-top: 6px;
        }

.lp-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    line-height: 1;
}

    /* Oculta o radio original */
    .lp-radio input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .lp-radio span {
        display: flex;
        align-items: center;
    }

        /* Círculo externo */
        .lp-radio span::before {
            content: "";
            width: 18px;
            height: 18px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            display: inline-block;
            box-sizing: border-box;
            transition: 0.2s;
            margin-right: 6px;
            vertical-align: middle;
        }

    /* Círculo interno quando selecionado */
    .lp-radio input[type="radio"]:checked + span::before {
        background-color: #ffffff;
        box-shadow: inset 0 0 0 4px #868686; /* fundo escuro interno */
    }

.lp-section-title {
    margin: 20px 0 6px;
    text-align: center;
    font-size: .9rem;
    color: var(--muted);
}

.lp-card-register {
    width: min(782px,100%);
    margin-inline: auto;
    padding: 28px 28px 22px;
}

/* reaproveita o visual do input */
.choices__inner {
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--input-bd);
    background: #ffffff;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

    /* texto selecionado */
    .choices__inner .choices__item {
        font-size: 16px;
        color: #000;
    }

    /* placeholder (quando nada foi escolhido) */
    .choices__inner .choices__placeholder {
        color: #D2D2D2;
        opacity: 1;
    }

/* borda em foco */
.choices.is-focused .choices__inner {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(76,195,255,.25);
}

/* dropdown */
.choices__list--dropdown {
    border-radius: 0 0 8px 8px;
    border-color: var(--input-bd);
}

    /* itens do dropdown */
    .choices__list--dropdown .choices__item--selectable {
        color: #000;
    }

        /* item selecionado/hover */
        .choices__list--dropdown .choices__item--selectable.is-highlighted {
            background-color: #e5e5e5;
        }


.link-termo {
    color: #FFFFFF;
}

.lp-sub-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0px;
    text-align: center;
}

.choices {
     margin-bottom: 0; 
}

.choices__inner {
    min-height: 50px;
}

.field-optional {
    font-size: 0.75em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 0.25rem;
}