* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-brasil: #009739;
    --amarelo-brasil: #FEDD00;
    --azul-brasil: rgb(19, 81, 180);
    --branco: #FFFFFF;
    --preto: #000000;
    --cinza-escuro: #333333;
    --cinza-medio: #666666;
    --cinza-claro: #F5F5F5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--branco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--branco);
    color: var(--cinza-escuro);
    padding: 30px 0 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.category {
    display: inline-block;
    color: var(--verde-brasil);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--cinza-escuro);
}

.intro {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--cinza-medio);
}

.intro strong {
    color: var(--verde-brasil);
    font-weight: 600;
}

.share-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.share-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--cinza-medio);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-icon:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.share-icon svg {
    width: 18px;
    height: 18px;
}

.date {
    font-size: 0.85rem;
    color: var(--cinza-medio);
}

/* Main Content */
.main {
    padding: 20px 0 60px;
}

.image-section {
    margin: 80px auto 40px auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    clear: both;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.banner-image {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transform: none !important;
    transition: none !important;
    will-change: auto;
}

/* CTA Section */
.cta-section {
    padding: 30px 20px;
    background-color: var(--branco);
    margin: 30px 0;
}

.cta-section > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cinza-escuro);
    margin-bottom: 25px;
    text-align: left;
    overflow: hidden;
}

.cta-section .cta-button,
.cta-section .cta-subtitle {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.initial-cap {
    float: left;
    font-size: 5rem;
    line-height: 0.75;
    color: var(--azul-brasil);
    font-weight: 700;
    margin-right: 10px;
    margin-top: 8px;
    margin-bottom: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.cta-button {
    background-color: var(--azul-brasil);
    color: var(--branco);
    border: none;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: inline-block;
}

.cta-button:hover {
    background-color: rgb(15, 65, 144);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 81, 180, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-subtitle {
    color: var(--cinza-medio);
    font-weight: 400;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Content Sections */
.content-section {
    margin: 40px 0;
    padding: 0;
    background-color: var(--branco);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cinza-escuro);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--verde-brasil);
}

.section-intro {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--cinza-medio);
}

/* Lists */
.change-list,
.legal-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.change-list li,
.legal-list li {
    padding: 10px 0 10px 20px;
    margin-bottom: 12px;
    color: var(--cinza-escuro);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
}

.change-list li::before,
.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 400;
    font-size: 1.2rem;
    color: var(--cinza-escuro);
    line-height: 1.7;
}

.change-list li strong {
    font-weight: 600;
    color: var(--cinza-escuro);
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 25px 0;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 10px 0 10px 25px;
    margin-bottom: 10px;
    background-color: var(--branco);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    color: var(--cinza-escuro);
}

.steps-list li::before {
    content: counter(step-counter) ".";
    position: absolute;
    left: 0;
    top: 10px;
    font-weight: 400;
    font-size: 1rem;
    color: var(--cinza-escuro);
}

.cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

.content-section .cta-button,
.content-section .cta-subtitle {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Vagas Box */
.vagas-box {
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 900px;
    border: none;
    position: relative;
    z-index: 1;
    overflow: visible;
    display: block;
}

.vagas-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cinza-escuro);
    margin-bottom: 12px;
}

.vagas-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cinza-escuro);
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .content-section {
        padding: 20px;
    }

    .change-list li,
    .legal-list li {
        padding-left: 45px;
        font-size: 0.95rem;
    }

    .steps-list li {
        padding-left: 60px;
        font-size: 0.95rem;
    }

    .steps-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .share-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.5rem;
    }

    .intro {
        font-size: 1rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .header {
        padding: 30px 0;
    }
}

/* VLibras Widget */
.vlibras-widget {
    position: fixed;
    right: 16px;
    top: 50%;
    z-index: 50;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-50%);
}

.vlibras-icon {
    width: 40px;
    height: 40px;
}

/* Header Gov.br */
.gov-header {
    background-color: var(--branco);
}

.gov-header-top {
    background-color: var(--branco);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    box-shadow: none;
}

.gov-header-left {
    display: flex;
    align-items: center;
}

.gov-logo {
    width: 70px;
    height: 24px;
    margin-right: 32px;
}

.gov-menu-btn {
    border: none;
    color: rgb(20, 81, 180);
    font-size: 14px;
    margin-left: 32px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.gov-menu-btn i {
    font-size: 16px;
}

.gov-divider {
    border-left: 1px solid rgb(204, 204, 204);
    height: 24px;
    margin: 0 16px;
}

.gov-header-right {
    display: flex;
    align-items: center;
}

.gov-icon-btn {
    border: none;
    color: rgb(20, 81, 180);
    cursor: pointer;
    margin-left: 24px;
    background: none;
    padding: 0;
}

.gov-icon-btn i {
    font-size: 16px;
}

.gov-btn-entrar {
    background-color: rgb(20, 81, 180);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    margin-left: 24px;
}

.gov-btn-entrar i {
    color: white;
    margin-right: 8px;
    font-size: 16px;
}

.gov-nav {
    background-color: var(--branco);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    box-shadow: none;
}

.gov-nav-btn {
    border: none;
    color: rgb(20, 81, 180);
    display: flex;
    align-items: center;
    cursor: pointer;
    background: none;
    padding: 0;
}

.gov-nav-btn i {
    margin-right: 10px;
    font-size: 16px;
}

.gov-nav-btn span {
    color: rgb(102, 102, 102);
    font-size: 1rem;
    font-weight: 300;
    line-height: 20px;
    padding-top: 2px;
}

/* Breadcrumb */
.breadcrumb-container {
    padding: 12px 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--cinza-medio);
    flex-wrap: wrap;
    gap: 4px;
}

.breadcrumb-icon {
    color: rgb(19, 81, 180);
    height: 1em;
    width: 1em;
}

.breadcrumb-separator {
    color: rgb(156, 163, 175);
    height: 1em;
    width: 1em;
    margin: 0 4px;
}

.breadcrumb-item {
    color: rgb(19, 81, 180);
}

.breadcrumb-current {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--cinza-escuro);
}

.breadcrumb-border {
    border-bottom: 1px solid rgb(229, 231, 235);
}

/* Footer Gov.br */
.gov-footer {
    background-color: rgb(7, 29, 65);
    color: white;
    margin-top: 48px;
    width: 100%;
    display: block;
}

.gov-footer-content {
    padding: 24px;
}

.gov-footer-logo {
    font-size: 1.875rem;
    font-weight: 700;
    font-style: italic;
    color: white;
    display: block;
    margin-bottom: 32px;
}

.gov-footer-links {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
}

.gov-footer-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.gov-footer-arrow {
    color: rgba(255, 255, 255, 0.7);
    height: 1em;
    width: 1em;
}

.gov-footer-cookies {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.gov-footer-icon {
    height: 1em;
    width: 1em;
}

.gov-footer-social {
    margin-top: 32px;
}

.gov-footer-social-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.gov-footer-social-icons {
    display: flex;
    gap: 16px;
}

.gov-social-icon {
    height: 20px;
    width: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gov-social-icon:hover {
    opacity: 0.8;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    background-color: rgb(19, 81, 180);
    padding: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    display: none;
}

.back-to-top:hover {
    background-color: rgb(13, 60, 140);
}

.back-to-top-icon {
    color: white;
    height: 16px;
    width: 16px;
    transform: rotate(-90deg);
}

.back-to-top.show {
    display: block;
}

/* Ajustes para o header da página */
.header {
    margin-top: 0;
}

/* Modal de Login Gov.br */
.login-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.login-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.login-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
}

.login-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.login-logo {
    height: 64px;
    object-fit: contain;
}

.login-close {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.login-close:hover {
    color: #333;
}

.login-title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--cinza-escuro);
}

.login-cpf-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: #f3f4f6;
    border-radius: 6px;
    margin-bottom: 16px;
}

.login-cpf-icon {
    width: 20px;
    height: 20px;
}

.login-cpf-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(19, 81, 180);
}

.login-description {
    font-size: 0.875rem;
    color: var(--cinza-medio);
    margin-bottom: 16px;
    line-height: 1.5;
}

.login-description strong {
    font-weight: 600;
    color: var(--cinza-escuro);
}

.login-form {
    display: flex;
    flex-direction: column;
}

.login-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cinza-escuro);
    margin-bottom: 4px;
}

.login-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.login-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.2);
}

.login-button {
    width: 100%;
    padding: 12px;
    border-radius: 9999px;
    font-weight: 600;
    color: white;
    background-color: rgb(19, 81, 180);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.login-button:hover:not(:disabled) {
    background-color: rgb(15, 65, 144);
}

.login-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .login-modal-content {
        padding: 20px;
        margin: 10px;
    }
}

/* Animação de spin para loading */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animação fadeIn para mensagens */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   AJUSTES DE ESPAÇAMENTO PARA MOBILE (CELULARES)
   Garante que textos e imagens fiquem mais próximos em telas pequenas
   ========================================================================== */

@media screen and (max-width: 768px) {
    /* Ajuste do recuo lateral para o texto não encostar na tela */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Reduzindo o espaçamento em volta das imagens */
    .image-section {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    .banner-image {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Aproximando os blocos de texto, inscrições e conteúdos */
    .content-section, 
    .cta-section {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Reduzindo o espaço abaixo dos títulos (ex: "1. O que mudou...") */
    .section-title {
        margin-bottom: 16px !important;
        line-height: 1.3 !important;
    }

    /* Reduzindo o espaçamento da caixa de destaque (Últimas Vagas) */
    .vagas-box {
        margin-top: 24px !important;
        margin-bottom: 24px !important;
        padding: 16px !important;
    }

    /* Ajuste entre as linhas das listas para leitura mais suave */
    .change-list li, 
    .steps-list li, 
    .legal-list li {
        margin-bottom: 12px !important;
    }
    
    /* Espaçamento do Header principal */
    .header {
        padding-top: 24px !important;
        padding-bottom: 20px !important;
    }
}