
:root {
    --purple-dark: #4811BF;
    --purple: #682ABF;
    --purple-light: #4811BF;
    --purple-soft: rgba(72, 17, 191, 0.08);
    --orange: #F26A1B;
    --orange-soft: rgba(242, 106, 27, 0.08);
    --pink: #BF4B8B;
    --pink-soft: rgba(191, 75, 139, 0.08);
    --white: #FDFDFD;
    --bg: #FDFDFD;
    --bg-alt: #F8F7FC;
    --text: #4811BF;
    --muted: #682ABF;
    --border: rgba(72, 17, 191, 0.18);
    --shadow: 0 12px 32px rgba(72, 17, 191, 0.12);
}

#homenagem {
    color: rgba(0, 0, 0, 0);
    font-size: medium;
    margin-top: 5%;
}

html {
    font-size: 62.5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg);
    min-height: 100vh;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #fdfdfd;
}

.lado-esquerdo {
    flex: 0.95;
    color: #fdfdfd;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.bg-imagem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lado-esquerdo > *:not(.bg-imagem) {
    position: relative;
    z-index: 1;
}

.rodape-esquerdo {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    font-weight: 500;
    margin-top: auto;
}

.conteudo-esquerdo {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 2rem;
}

.conteudo-esquerdo h1 {
    color: #fdfdfd;
    font-size: 5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.conteudo-esquerdo h1 span {
    color: #F26A1B;
}

.conteudo-esquerdo p {
    color: #94a3b8;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.4rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #a5b4fc;
    margin-bottom: 2rem;
}

#city {
    color: #F26A1B;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: 0.05rem;
}

.logo-nome {
    display: flex;
    gap: 0.5rem;
}

.lado-direito {
    background: #FDFDFD;
    flex: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.08);
}

.card {
    background: #fdfdfd;
    width: 100%;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 2.4rem;
    box-shadow: 0 1px 2.5px #00000008;
    border: 0.1rem solid #d5cccc;
}

.subtitulo {
    color: #4811bf;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
}

.descricao {
    color: #7c8496;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.linha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

.input-box {
    display: flex;
    flex-direction: column;
}

label {
    color: #36435c;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-container svg {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8e9db7;
    width: 1.8rem;
    height: 1.8rem;
    z-index: 10;
    pointer-events: none;
}

.input-container svg:first-child {
    left: 1.4rem;
    right: auto;
}

.input-container svg:last-child:not(:first-child) {
    right: 1.4rem;
    left: auto;
    cursor: pointer;
    pointer-events: auto;
}

input:not([type="checkbox"]) {
    width: 100%;
    height: 4.8rem;
    background: #f2f3ee;
    border: 0.1rem solid #fdfdfd;
    border-radius: 1rem;
    padding-left: 4.4rem;
    font-size: 1.3rem;
    outline: none;
    color: #1f2937;
    transition: all 0.2s;
}

input:not([type="checkbox"]):focus {
    border-color: #4811bf;
    background: #fdfdfd;
    box-shadow: 0 0 0 0.4rem rgba(72, 17, 191, 0.1);
}

.termos {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0 2.5rem;
    color: #858b99;
    font-size: 1.2rem;
}

.termos input[type="checkbox"] {
    width: 1.8rem;
    height: 1.8rem;
    accent-color: #4811bf;
    cursor: pointer;
    flex: 0 0 1.8rem;
}

.termos a {
    color: #4811bf;
    text-decoration: none;
    font-weight: 600;
}

#mensagemErro {
    color: red;
}

.btn-submit {
    width: 100%;
    height: 5rem;
    border: none;
    border-radius: 1rem;
    background: #4811bf;
    color: #fdfdfd;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: #3b0d9d;
}

.btn-submit:active {
    transform: scale(0.99);
}

.login {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
}

.logo-icon {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    background: transparent;
}

.links_genericos {
    text-decoration: none;
    transition: color 0.2s ease;
}

.links_genericos:hover {
    color: orange;
}

#entrar_link {
    text-decoration: none;
}

#entrar_link:hover {
    color: orange;
}

.voltar-inicio {
    text-align: center;
    font-size: 1.3rem;
}

.voltar-inicio a {
    color: #6b7280;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

#volto_inicio:hover {
    color: orange;
}

/* =========================
   RESPONSIVIDADE
   ========================= */

/* Telas médias / notebooks menores */
@media (max-width: 68.75rem) {

    .lado-esquerdo {
        flex: 0.8;
        padding: 3.5rem;
    }

    .lado-direito {
        flex: 1.2;
        padding: 2.5rem;
    }

    .card {
        max-width: 100%;
        padding: 3.2rem;
        margin: 0;
    }

    .conteudo-esquerdo h1 {
        font-size: 4.6rem;
    }

    .conteudo-esquerdo p {
        max-width: 43rem;
        line-height: 1.6;
    }
}

/* Tablets */
@media (max-width: 53.125rem) {

    .container {
        min-height: 100vh;
        height: auto;
    }

    .logo {
        display: flex;
        flex-direction: column;
    }

    .lado-esquerdo {
        flex: 0.75;
        padding: 3rem;
    }

    .lado-direito {
        flex: 1.25;
        padding: 2rem;
    }

    .card {
        padding: 2.8rem;
        border-radius: 2rem;
    }

    .conteudo-esquerdo h1 {
        font-size: 4rem;
        line-height: 1.1;
    }

    .conteudo-esquerdo p {
        font-size: 1.3rem;
    }

    .linha {
        gap: 1.2rem;
    }

    input:not([type="checkbox"]) {
        height: 4.6rem;
    }
}

/* Celulares */
@media (max-width: 820px) {

    .container {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
    }

    .conteudo-esquerdo,
    .rodape-esquerdo {
        display: none;
    }

    .lado-esquerdo {
        flex: none;
        width: 100%;
        min-height: 8rem;
        padding: 2.8rem 2.5rem;
    }

    .logo {
        justify-content: center;
        font-size: 1.7rem;
    }

    .logo-icon {
        display: none;
    }

    .lado-direito {
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
        padding: 2.5rem 1.8rem;
        align-items: flex-start;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        box-shadow: none;
    }

    .card {
        width: 100%;
        max-width: 60rem;
        max-height: none;
        padding: 2.5rem 2rem;
        margin: 0;
        border-radius: 1.8rem;
    }

    .subtitulo {
        margin-top: 0;
    }

    .card > h1 {
        font-size: 2.7rem;
    }

    .descricao {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }

    .linha {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        margin-bottom: 1.6rem;
    }

    label {
        font-size: 1.2rem;
    }

    input:not([type="checkbox"]) {
        height: 4.7rem;
        font-size: 1.3rem;
    }

    .termos {
        align-items: flex-start;
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .btn-submit {
        height: 4.8rem;
    }
}

@media (max-width: 480px) {
    .lado-direito { padding: 1.5rem 1rem; }
    .card { padding: 2rem 1.4rem; }
    .termos { flex-wrap: wrap; }
}

/* Telas grandes */
@media (min-width: 87.5rem) {

    .lado-esquerdo {
        padding: 6rem;
    }

    .conteudo-esquerdo h1 {
        font-size: 6.2rem;
    }

    .lado-direito {
        padding: 4rem;
    }

    .card {
        max-width: 72rem;
        padding: 4.5rem;
    }
}
