@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap%27');

:root {
    --bg: #f3f4f7;
    --bg-soft: #f5f5f5;
    --surface: #e9ebee;
    --surface-strong: #d8e6e7;
    --surface-alt: #f7f9fa;
    --card: #ffffff;
    --text: #222222;
    --heading: #111111;
    --muted: #777777;
    --muted-dark: #555555;
    --muted-light: #b5b5b5;
    --border: #dce5e9;
    --hover: #eef3f4;
    --primary: #355f63;
    --primary-dark: #264d50;
    --primary-strong: #126166;
    --accent: #518d93;
    --accent-dark: #3f777c;
    --accent-strong: #0b9995;
    --accent-strong-dark: #087f7b;
    --footer-text: #d5e5e5;
}

body.dark-mode {
    --bg: #101719;
    --bg-soft: #151d20;
    --surface: #202a2d;
    --surface-strong: #26373a;
    --surface-alt: #1b2528;
    --card: #202a2d;
    --text: #e9f0f1;
    --heading: #ffffff;
    --muted: #aebabc;
    --muted-dark: #c1ccce;
    --muted-light: #6f7c7f;
    --border: #364447;
    --hover: #2b393c;
    --primary: #518d93;
    --primary-dark: #3d7378;
    --primary-strong: #28767b;
    --accent: #65a5aa;
    --accent-dark: #4b8d92;
    --accent-strong: #35aaa5;
    --accent-strong-dark: #258d89;
    --footer-text: #d8e6e7;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
html{
    scroll-behavior: smooth;
}
html,
body {
    overflow-x: hidden;
}
body{
      background-image: url(../img/banners/fundo03.png);
      font-family: 'Plus Jakarta Sans', sans-serif;
      margin: 0;
    padding: 0;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}
body.dark-mode{
      background-image: url(../img/banners/fundo03darkmode.png);
      font-family: 'Plus Jakarta Sans', sans-serif;
      margin: 0;
    padding: 0;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.total {
    display: flex;
    padding: 110px 60px 0 60px;
    gap: 120px;
}
.container {
    width: 50%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 0 0 60px;
}
.container h1 {
    width: 60%;
    font-size: 50px;
    color: white;
    margin: 0 0 20px 0;
}
.container p {
    width: 100%;
    font-size: 35px;
    color: white;
    margin: 0;
}
.cadastro{
   height: 90vh;
   width: 55%;
   border-radius: 10px;
   background-color: var(--bg-soft);
   align-items: center;
   padding: 30px 35px 30px 35px;
}
.cadastro {
    height: 82vh;
    width: 52%;
    background: var(--bg-soft);
    border: 1px solid rgba(81, 141, 147, 0.18);
    border-radius: 16px;
    padding: 25px 32px;
    box-sizing: border-box;
    box-shadow:
        0 12px 30px rgba(7, 59, 64, 0.11);
    position: relative;
    overflow: hidden;
}
.cadastro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #073b40,
        #518d93,
        #7ab6bb
    );
}
.cadastro h1 {
    width: 100%;
    font-size: 35px;
    color: var(--text);
    margin: 0 0 3px 0;
    font-weight: 700;
}
.cadastro > p:not(.fazerLogin) {
    width: 100%;
    font-size: 18px;
    color: var(--text);
    margin: 0 0 20px 0;
}
.linha {
    width: 100%;
    height: auto;
    margin-top: 9px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: visible;
}
.campo {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.campo label {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 4px;
}
.campo input {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    border: 1px solid #d5e0e1;
    background: var(--card);
    outline: none;
    padding: 0 13px;
    color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    box-sizing: border-box;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}
.campo input::placeholder {
    color: #a1abad;
}
.campo input:focus {
    background: var(--card);
    border-color: #518d93;
    box-shadow:
        0 0 0 3px rgba(81, 141, 147, 0.12);
}
.campo-senha {
    position: relative;
    width: 100%;
}
.campo-senha input {
    width: 100%;
    height: 40px;
    border-radius: 7px;
    border: 1px solid #d5e0e1;
    background: var(--card);
    outline: none;
    padding: 0 68px 0 13px;
    box-sizing: border-box;
    color: var(--text);
    caret-color: var(--text);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}
.campo-senha input::placeholder {
    color: #a1abad;
}
.campo-senha input:focus {
    background: var(--card);
    border-color: #518d93;
    box-shadow:
        0 0 0 3px rgba(81, 141, 147, 0.12);
}
.mostrar-senha {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6c8587;
    cursor: pointer;
    min-width: 54px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px;
    transition: .2s;
}
body.dark-mode .campo-senha input {
    color: #fff;
    caret-color: #fff; 
}
body.dark-mode .mostrar-senha {
    color: #fff; 
}
.mostrar-senha:hover {
    color: #073b40;
}
.opcoes {
    width: 100%;
    height: auto;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #dce5e5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.opcoes input {
    display: none;
}
.opcoes label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    font-weight: 500;
}
.opcoes label::before {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid #a9babb;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
    transition: .2s;
}
.opcoes input:checked + label::before {
    background: #518d93;
    border-color: #518d93;
}
.opcoes label span {
    color: #518d93;
    font-weight: 600;
}
.link-documento { color: #518d93; font-weight: 600; cursor: pointer; text-decoration: underline; }
.modal-documento { width: min(620px, calc(100vw - 32px)); max-height: min(80vh, 720px); margin: auto; padding: 0; border: 1px solid var(--border); border-radius: 18px; color: var(--text); background: var(--card); box-shadow: 0 24px 70px #0005; }
.modal-documento::backdrop { background: #071719aa; backdrop-filter: blur(3px); }
.conteudo-documento { position: relative; padding: 30px; overflow: auto; }
.conteudo-documento h2 { margin: 0 35px 18px 0; color: var(--heading); }
.conteudo-documento p { margin: 0 0 14px; color: var(--text); line-height: 1.65; }
.fechar-documento { position: absolute; top: 10px; right: 15px; border: 0; background: transparent; color: var(--text); font-size: 30px; cursor: pointer; }
.btnCadastro {
    width: 100%;
    height: 40px;
    margin: 25px 0 20px 0;
    padding: 10px 15px;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(
        135deg,
        #073b40,
        #518d93
    );
    color: #ffffff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow:
        0 5px 12px rgba(7, 59, 64, 0.15);
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}
.btnCadastro:hover {
    background: linear-gradient(
        135deg,
        #0a4b50,
        #3f777c
    );
    transform: translateY(-2px);
    box-shadow:
        0 8px 18px rgba(7, 59, 64, 0.20);
}
.fazerLogin {
    width: 100% !important;
    font-size: 13px !important;
    color: var(--text) !important;
    text-align: center;
    margin: 0 !important;
}
.fazerLogin a {
    color: #518d93;
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
    transition: .2s;
}
.fazerLogin a:hover {
    color: #073b40;
    text-decoration: underline;
}

body, .cadastro, .linha, .campo, .campo input, .campo-senha, 
.campo-senha input, .mostrar-senha, .opcoes, .btnCadastro,
.fazerLogin {
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.login.login-compacto {
    min-height: auto;
    padding: 35px 30px 28px;
}

.login .msg-erro {
    min-height: 18px;
    margin: 2px 0 0;
    font-size: 12px;
    color: #d64545;
}

.aviso-icone {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
}

.aviso-icone.erro {
    background: #d64545;
}
