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


body {
    font-family: Arial, Helvetica, sans-serif;

    background:
        linear-gradient(
            rgba(15, 15, 15, 0.88),
            rgba(15, 15, 15, 0.94)
        ),
        url("/static/images/oce.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: white;
}


body.modal-aberto {
    overflow: hidden;
}


/* =========================
   PÁGINA
========================= */

.pagina {
    min-height: 100vh;

    padding: 50px 6% 70px;
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {
    position: relative;

    max-width: 1200px;

    margin: 0 auto 55px;
}


.voltar {
    position: absolute;

    top: 5px;
    left: 0;

    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 2px;

    transition: 0.3s;
}


.voltar:hover {
    color: white;
}


.titulo {
    text-align: center;
}


.titulo h1 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(2.2rem, 5vw, 3.8rem);

    font-weight: normal;

    letter-spacing: 4px;
}


.titulo p {
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    letter-spacing: 1px;
}


/* =========================
   OFICINAS
========================= */

.oficinas {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


.oficina-card {
    padding: 30px;

    min-height: 250px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 10px;

    background:
        rgba(0, 0, 0, 0.42);

    backdrop-filter: blur(4px);

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.oficina-card:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.45);
}


.numero {
    margin-bottom: 15px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 11px;

    letter-spacing: 2px;
}


.oficina-card h2 {
    margin-bottom: 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 25px;

    font-weight: normal;
}


.informacoes {
    display: flex;

    flex-direction: column;

    gap: 8px;

    color:
        rgba(255, 255, 255, 0.72);

    font-size: 13px;

    line-height: 1.5;
}


.informacoes strong {
    color: white;
}


.oficina-card button {
    margin-top: 25px;

    padding: 11px 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 8px;

    background:
        rgba(0, 0, 0, 0.25);

    color: white;

    font-size: 11px;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.3s;
}


.oficina-card button:hover {
    background:
        rgba(255, 255, 255, 0.15);
}


/* =========================
   MODAL
========================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    background:
        rgba(0, 0, 0, 0.78);

    opacity: 0;

    visibility: hidden;

    transition: 0.25s;
}


.modal.ativo {
    opacity: 1;

    visibility: visible;
}


.modal-conteudo {
    position: relative;

    width: 100%;

    max-width: 720px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 42px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    background:
        #171717;

    box-shadow:
        0 25px 80px
        rgba(0, 0, 0, 0.55);

    transform: translateY(20px);

    transition: 0.25s;

    /* Barra de rolagem discreta */
    scrollbar-width: thin;

    scrollbar-color:
        rgba(255, 255, 255, 0.25)
        transparent;
}


/* Barra de rolagem para Chrome e Edge */

.modal-conteudo::-webkit-scrollbar {
    width: 5px;
}


.modal-conteudo::-webkit-scrollbar-track {
    background: transparent;
}


.modal-conteudo::-webkit-scrollbar-thumb {
    background:
        rgba(255, 255, 255, 0.25);

    border-radius: 10px;
}


.modal-conteudo::-webkit-scrollbar-thumb:hover {
    background:
        rgba(255, 255, 255, 0.45);
}


.modal.ativo .modal-conteudo {
    transform: translateY(0);
}


.fechar {
    position: absolute;

    top: 17px;
    right: 20px;

    border: none;

    background: none;

    color:
        rgba(255, 255, 255, 0.65);

    font-size: 30px;

    font-weight: 200;

    cursor: pointer;

    line-height: 1;
}


.fechar:hover {
    color: white;
}


/* =========================
   CABEÇALHO MODAL
========================= */

.modal-cabecalho span {
    color:
        rgba(255, 255, 255, 0.5);

    font-size: 11px;

    letter-spacing: 2px;
}


.modal-cabecalho h2 {
    margin-top: 8px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 32px;

    font-weight: normal;
}


/* =========================
   DETALHES
========================= */

.detalhes {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 30px;

    padding: 22px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.12);
}


.detalhes div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.detalhes strong {
    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color:
        rgba(255, 255, 255, 0.45);
}


.detalhes span {
    font-size: 14px;
}


/* =========================
   DESCRIÇÃO
========================= */

.descricao {
    margin-top: 28px;
}


.descricao h3,
form h3 {
    margin-bottom: 12px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 19px;

    font-weight: normal;
}


.descricao p {
    color:
        rgba(255, 255, 255, 0.68);

    font-size: 14px;

    line-height: 1.7;
}


.vagas {
    display: inline-block;

    margin-top: 22px;

    padding: 8px 12px;

    border-radius: 6px;

    background:
        rgba(255, 255, 255, 0.07);

    color:
        rgba(255, 255, 255, 0.75);

    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================
   FORMULÁRIO
========================= */

.divisoria {
    height: 1px;

    margin: 30px 0;

    background:
        rgba(255, 255, 255, 0.12);
}


.campo {
    display: flex;

    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;
}


.campo label {
    font-size: 11px;

    letter-spacing: 1px;

    color:
        rgba(255, 255, 255, 0.65);
}


.campo input,
.campo select {
    width: 100%;

    height: 46px;

    padding: 0 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 7px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.05);

    color: white;

    font-size: 13px;

    transition: 0.2s;
}


.campo input:focus,
.campo select:focus {
    border-color:
        rgba(255, 255, 255, 0.55);

    background:
        rgba(255, 255, 255, 0.08);
}


.campo input::placeholder {
    color:
        rgba(255, 255, 255, 0.35);
}


.campo select option {
    background: #171717;

    color: white;
}


.linha {
    display: grid;

    grid-template-columns: 1fr 150px;

    gap: 15px;
}


/* =========================
   BOTÃO CONFIRMAR
========================= */

.confirmar {
    width: 100%;

    height: 50px;

    margin-top: 8px;

    border: none;

    border-radius: 8px;

    background:
        rgba(255, 255, 255, 0.92);

    color: #111;

    font-size: 11px;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.3s;
}


.confirmar:hover {
    background: white;

    transform: translateY(-1px);
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 800px) {
    .pagina {
        padding: 35px 20px 50px;
    }


    .cabecalho {
        margin-bottom: 40px;
    }


    .voltar {
        position: static;

        display: inline-block;

        margin-bottom: 30px;
    }


    .oficinas {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {
    .modal {
        padding: 12px;
    }


    .modal-conteudo {
        padding: 30px 22px;

        max-height: 94vh;
    }


    .modal-cabecalho h2 {
        font-size: 27px;
    }


    .detalhes {
        grid-template-columns: 1fr;
    }


    .linha {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .oficina-card {
        padding: 25px;
    }
}

/* Mensagens de retorno do formulário */
.mensagem {
    max-width: 1200px;
    margin: 0 auto 25px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.mensagem.sucesso {
    background: rgba(70, 120, 85, 0.18);
    border-color: rgba(120, 190, 135, 0.4);
    color: #d5f0da;
}

.mensagem.erro {
    background: rgba(150, 60, 60, 0.18);
    border-color: rgba(220, 110, 110, 0.4);
    color: #ffdada;
}
