/* ==========================================================================
   Estilos Globais e Padrão do Site
   ========================================================================== */
body {
    font-family: 'Maven Pro', sans-serif;
    margin: 0;
    padding: 0;
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #004aad;
    text-align: left;
    font-weight: normal;
}

h3 {
    color: #004aad;
    font-size: 20px;
    margin-bottom: 10px;
}

.button {
    background-color: #004aad;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #003a8c;
}

/* ==========================================================================
   Cabeçalho Padrão (CORRIGIDO)
======================================================================= */
header {
    background-color: #fff;
    padding: 20px 0;
}

.header-content-final {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-content-final a:first-child {
    display: flex;
    align-items: center;
}

header img {
    height: auto;
    max-height: 70px;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    position: relative; /* Necessário para o pseudo-elemento ::after */
    padding: 8px 15px;
    margin: 0 5px;
    color: #000;
    text-decoration: none;
    font-weight: 400; /* Peso da fonte é sempre o mesmo */
    transition: color 0.3s ease;
}

/* Efeito de sublinhado com pseudo-elemento */
nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0); /* Começa invisível */
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #004aad;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1); /* Fica visível no hover/active */
    transform-origin: bottom left;
}

nav a:hover,
nav a.active {
    color: #004aad; /* Apenas a cor do texto muda */
}


@media (max-width: 850px) {
    .header-content-final {
        flex-direction: column;
        justify-content: center;
    }
    header img {
        margin-bottom: 15px;
    }
    nav {
        justify-content: center;
    }
}
==========================================================================
   Rodapé e Botão Flutuante Padrão
   ========================================================================== */
footer {
    background-color: #f1f1f1;
    padding: 20px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}

.footer-links a {
    margin: 2px 0;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-links a img {
    margin-right: 8px;
}

.footer-links a:hover {
    color: #004aad;
}

.footer-text {
    font-size: 14px;
    color: #000;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    background-color: #128c7e;
}

/* ==========================================================================
   Estilos Específicos da Página "Trabalhe Conosco" (CORRIGIDO)
   ========================================================================== */
.trabalhe-conosco-main-content {
    background-image: url('imagens/vem9.png');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-color: #e6f0ff;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 15px;
    min-height: calc(100vh - 110px);
}

.trabalhe-conosco-main-content .content-container {
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.job-list-section {
    padding: 10px;
    max-height: 550px;
    overflow-y: auto;
}

.job-details-section {
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.job-details-section h3 {
    text-align: center;
}

.job-opening {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-opening:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.job-opening.active {
    background-color: #e6f0ff;
    border-color: #004aad;
}

.job-opening p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin: 5px 0;
}

.job-opening strong {
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
    width: 100%;
    box-sizing: border-box;
}
.form-alert.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-alert.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.form-loading { display: none; text-align: center; margin: 10px 0; }
.form-loading img { width: 30px; height: 30px; }

.confirmation-message { display: none; color: #155724; margin-left: 15px; font-weight: bold; background-color: #d4edda; padding: 8px 15px; border-radius: 20px; font-size: 14px; }
.form-submit-container { display: flex; align-items: center; margin-top: 10px; }
.privacy-notice { font-size: 12px; color: #777; margin-top: 10px; }
.email-option { text-align: center; margin-top: 20px; }
.email-option a { font-weight: bold; color: #004aad; text-decoration: none; }

@media (max-width: 768px) {
    .trabalhe-conosco-main-content .content-container {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 10px auto;
    }
}
