*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    user-select: none;
}
body{
    background: #f4f7fb;
    min-height: 100vh;
    color: #333;
    line-height: 1.5;
    word-spacing: 0.16em;
}
header{
    width: 100%;
    margin: 0;
}
nav{
    width: 100%;
    background: #1e3a5f;
    padding: 18px 40px;
    display: flex;
    gap: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}
nav a:hover{
    color: #d2e8ff;
}
.lado-a-lado{
    display: flex;
}
.centralizar{
    text-align: center;
}
#form{
    max-width: 900px;
    width: 95%;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
#form h1{
    margin-bottom: 35px;
    color: #1e3a5f;
    font-size: 34px;
}
#rosto{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 25px;
}
#rosto img{
    width: 135px;
    height: 135px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #1e3a5f;
}
#rosto input{
    width: 180px;
}
label{
    font-size: 14px;
    font-weight: bold;
    color: #444;
}
input{
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 2px solid #d6dce5;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-size: 15px;
}
input:focus{
    border-color: #1e3a5f;
    box-shadow: 0 0 8px rgba(30,58,95,0.2);
}
#nome,
#sobrenome{
    width: 260px;
}
#endereco{
    margin-top: 15px;
}
.regiao-div{
    flex: 1;
    margin-right: 25px;
}
.regiao-input{
    width: 100%;
}
.contato-div{
    flex: 1;
    margin-right: 25px;
}
.contato-input{
    width: 100%;
}
.botoes{
    justify-content: center;
    margin-top: 30px;
}
button{
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    background: #1e3a5f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
button:hover{
    background: #295284;
    transform: translateY(-2px);
}
#curriculo{
    height: auto;
    width: 210mm;
    min-height: 297mm;
    aspect-ratio: 1 / 1.4142;
    background: white;
    margin: 40px;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
@media(max-width: 950px){
    .lado-a-lado{
        flex-direction: column;
    }
    #form{
        width: 95%;
        padding: 25px;
    }
    #nome, #sobrenome{
        width: 100%;
    }
    nav{
        justify-content: center;
    }
}
.botao{
    padding: 14px 28px;
    margin-right: 25px;
    border-radius: 12px;
    background: #1e3a5f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.botao:hover{
    background: #295284;
    transform: translateY(-2px);
}
#dados_pessoas-div{
    margin-top: 10px;
    width: 100%;
}
#nome{
    width: 100%;
    margin-right: 25px;
}
#sobrenome{
    width: 100%;
}
#foto{
    border: 0;
    margin-top: 0;
    display: none;
}
#foto-button{
    color: #ffffff;
    background-color: #1e3a5f;
    border: #1e3a5f, 1px, solid;
    padding: 5px;
    border-radius: 6px;
    margin-bottom: 25px;
    user-select: none;
}
#foto-button:hover{
    background: #295284;
    transform: translateY(-2px);
}
footer{
    background: #1e3a5f;
    color: #ffffff;
    text-align: center;
    padding: 20px 10px;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
p{
    width: 70%;
    max-width: 850px;
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 2em;
}
footer p{
    margin: 6px auto;
    font-size: 15px;
    line-height: 1.5;
}
footer p:last-child{
    font-weight: bold;
    color: #d6e4f0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}
footer p:last-child a{
    color: #d6e4f0;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
}
footer p:last-child a:hover{
    position: relative;
    bottom: 2px;
    left: 2px;
}
.esconder{
    visibility: hidden;
}
#curriculo{
    height: auto;
    max-width: 95%;
    width: 70.707vh;
    aspect-ratio: 1 / 1.4142;
    background: white;
    margin: 40px;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.curriculo-topo{
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

#foto-curriculo{
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1e3a5f;
}

.curriculo-titulo{
    flex: 1;
    min-width: 0;
}

.curriculo-titulo .lado-a-lado{
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    row-gap: 0;
}

.curriculo-titulo #nome-curriculo,
.curriculo-titulo #sobrenome-curriculo{
    width: auto;
    max-width: 100%;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    color: #1e3a5f;
    margin-bottom: 0;
    overflow-wrap: break-word;
}

.curriculo-titulo .esconder{
    width: auto;
    max-width: none;
    margin-bottom: 0;
}

#curriculo .esconder{
    visibility: hidden;
}

.curriculo-secao{
    border-top: 2px solid #d6dce5;
    padding-top: 15px;
}

.curriculo-secao h3{
    color: #1e3a5f;
    margin-bottom: 10px;
}

.curriculo-secao p{
    width: auto;
    max-width: none;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
}
#curriculo.gerando-pdf{
    width: 210mm !important;
    min-height: 297mm !important;
    margin: 0 auto !important;
    padding: 20mm !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    aspect-ratio: auto !important;
}
.icones {
  filter: invert(100%);
}
#sign{
    flex-grow: 1;
    text-align: right;
}
#login{
    padding: auto;
    text-align: right;
}