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

body {
    font-family: 'Fredoka One', cursive;
    height: 100vh;
    overflow-x: hidden;
    background-color: #f0f0f0;
}

/* --- Fundo Dividido --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('../img/apps/fundo.png');
    background-size: cover;
    background-position: center;
}

/* Padrão de Caderno no lado esquerdo */
.notebook-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background-image:
        linear-gradient(#eeccee 1px, transparent 1px),
        linear-gradient(90deg, #eeccee 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

/* Textura pontilhada no lado azul */
.blue-texture {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

/* --- Header / Logo Superior --- */
.header-logo {
    position: absolute;
    top: 20px;

    /* Configuração para centralizar */
    left: 50%;
    transform: translateX(-50%);

    /* Demais estilos */
    color: white;
    /* Cuidado: Se ficar em cima da parte branca do fundo, mude a cor ou adicione sombra */
    z-index: 10;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: max-content;
    /* Garante que o container tenha o tamanho do texto */
}

/* --- Conteúdo Central --- */
.content-container {
    z-index: 10;
    text-align: center;
    position: relative;
}

/* Efeito de Texto 3D (Simulando a imagem) */
h1.title-3d {
    font-size: clamp(4rem, 10vw, 8rem);
    /* Responsivo */
    line-height: 0.9;
    color: #ffffff;
    /* Sombras complexas para dar efeito de volume */
    text-shadow:
        0px 0px 0px #cce0ff,
        2px 2px 0px #0066ff,
        4px 4px 0px #0055cc,
        6px 6px 0px #0044aa,
        8px 8px 0px #003388,
        10px 10px 10px rgba(0, 0, 0, 0.4);
    -webkit-text-stroke: 2px #003388;
    transform: rotate(-3deg);
    margin-bottom: 40px;
}

.title-year {
    display: block;
    color: #eef4ff;
    text-shadow:
        2px 2px 0px #0066ff,
        4px 4px 0px #0055cc,
        6px 6px 15px rgba(0, 0, 0, 0.5);
}

/* --- Botão --- */
.btn-cta {
    background: linear-gradient(to bottom, #ffd700, #ffaa00);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: #333;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 0 #cc8800, 0 15px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
    text-decoration: none;
    display: inline-block;
}

.btn-cta:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #cc8800, 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* --- Elementos Decorativos (Placeholders para as imagens) --- */
.decoration {
    position: absolute;
    z-index: 15;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.3));
}

/* Lápis Amarelo (Inferior Esquerdo) - Simulando com CSS ou Imagem */
.pencil-left {
    bottom: -20px;
    left: 5%;
    width: 150px;
    height: 40px;
    background: orange;
    transform: rotate(-45deg);
    border-radius: 5px;
    /* Em um projeto real, substitua por <img src="lapis.png"> */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.pencil-left::after {
    content: '';
    width: 30px;
    height: 40px;
    background: beige;
    clip-path: polygon(0 0, 100% 15%, 100% 85%, 0 100%);
}

/* Avião de Papel (Superior Direito) */
.paper-plane {
    top: 20%;
    right: 15%;
    font-size: 3rem;
    color: white;
    transform: rotate(15deg);
}

/* --- Rodapé --- */
footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.footer-logo-placeholder {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-size: 0.8rem;
}

/* Responsividade para Celular */
@media (max-width: 768px) {


    h1.title-3d {
        font-size: 3.5rem;
    }

    .notebook-pattern {
        width: 100%;
        height: 40%;
    }

    .blue-texture {
        top: 40%;
        width: 100%;
        height: 60%;
    }
}

/* --- Seção Cronograma --- */
.cronograma-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
    font-family: 'Fredoka One', cursive;
}

.cronograma-title {
    font-size: 2rem;
    color: #6b7179;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.cronograma-subtitle {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: #2d3340;
}

.cronograma-table {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

.cronograma-table thead th {
    padding: 15px;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
    font-size: 1.1rem;
}

.cronograma-table td {
    padding: 18px 12px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.cronograma-table tr:nth-child(even) {
    background: #fafafa;
}

/* --- Seção Censo do Estudante --- */
.censo-section {
    background: #f2f2f2;
    padding: 80px 20px 100px 20px;
    text-align: center;
}

.censo-title {
    font-size: 2.4rem;
    color: #6b6f74;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.censo-subtitle {
    font-size: 1.4rem;
    color: #9a9ea3;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

/* Aviso importante */
.censo-warning {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: left;
}

.censo-warning-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: #0b3f82;
    font-weight: 600;
}

.censo-warning-text {
    margin-top: 15px;
    color: #7a7a7a;
    line-height: 1.6;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.censo-warning-icon {
    font-size: 1.8rem;
}

.censo-warning-title {
    font-family: 'Fredoka One', cursive;
}

.cpf-destaque {
    color: #c7302e;
    font-weight: 600;
}

/* Card branco */
.cpf-card {
    max-width: 960px;
    margin: 20px auto 50px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cpf-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #4c4c4c;
}

.cpf-card ul {
    margin-left: 20px;
    color: #6b6b6b;
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
}

/* Como obter o CPF */
.cpf-obter {
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.cpf-obter h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2e3550;
}

.cpf-obter-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.cpf-col {
    flex: 1 1 280px;
    font-family: 'Montserrat', sans-serif;
    color: #6b6b6b;
    line-height: 1.7;
    font-size: 0.98rem;
}

.cpf-col-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.cpf-col-title-green {
    color: #118c2f;
}

.cpf-col-title-purple {
    color: #6f3fd6;
}

.cpf-link {
    color: #0066cc;
    word-break: break-all;
}

/* Responsivo */
@media (max-width: 768px) {
    .censo-title {
        font-size: 1.9rem;
    }

    .censo-subtitle {
        font-size: 1.1rem;
    }

    .cpf-card {
        padding: 20px;
    }

    .cpf-obter-columns {
        flex-direction: column;
    }
}

/* --- Seção de Sorteio Eletrônico --- */
.sorteio-section {
    background: #0044aa;
    padding: 90px 20px;
    text-align: center;
}

.sorteio-title {
    font-size: 2.2rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.sorteio-subtitle {
    font-size: 1.4rem;
    color: #cfe2ff;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.sorteio-card {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.sorteio-text {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

.sorteio-list {
    margin-left: 20px;
    margin-bottom: 25px;
    color: #444;
    line-height: 1.8;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    list-style: none;
}

.sorteio-info {
    font-size: 1rem;
    color: #555;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 768px) {
    .sorteio-card {
        padding: 25px;
    }

    .sorteio-text,
    .sorteio-info {
        font-size: 1rem;
    }

    .sorteio-list {
        font-size: 0.95rem;
    }
}

/* --- Footer com Logos Centradas --- */
.footer-logos {
    width: 100%;
    background: #ffffff;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logos-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.footer-logos-container img {
    height: 45px;
    /* ajuste conforme necessário */
    object-fit: contain;
    filter: brightness(1) contrast(1);
}

@media (max-width: 768px) {
    .footer-logos-container {
        flex-direction: column;
        gap: 25px;
    }
}

.portal-header-section {
    background: linear-gradient(135deg, #b7b7b7 0%, #e3eaf2 100%);
    padding: 60px 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.container-portal {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.portal-title {
    color: #ffffff;
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Barra Branca */
.systems-white-bar {
    background: #ffffff;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 35px;
    flex-wrap: wrap;
    /* Para funcionar no celular */
}

.system-link {
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.system-link:hover {
    transform: scale(1.05);
}

.system-link img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Botões */
.portal-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-portal {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    min-width: 280px;
    transition: all 0.3s;
}

.btn-yellow {
    background: linear-gradient(to bottom, #ffcc33, #ffb300);
    color: #1a1a1a;
    box-shadow: 0 4px 0 #cc8e00;
}

.btn-white {
    background: #ffffff;
    color: #003a8c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-portal:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .portal-title {
        font-size: 1.6rem;
        text-align: center;
        width: 100%;
    }

    .systems-white-bar {
        justify-content: center;
        gap: 20px;
    }

    .container-portal {
        align-items: center;
    }
}

/* Inclua Font Awesome no <head> se não estiver lá */
/* <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> */

.vagas-section {
    padding: 80px 0;
    background: #eef2f7;
    /* Fundo suave */
}

.section-title {
    font-family: 'Fredoka One', cursive;
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title .icon-title {
    margin-right: 15px;
    color: #3498db;
    /* Cor do ícone */
    font-size: 2.2rem;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.vagas-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Responsivo */
    gap: 30px;
}

.vaga-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 6px solid #e0e0e0;
    /* Borda padrão */
    position: relative;
    overflow: hidden;
}

.vaga-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Bordas coloridas por tipo de escola */
.vaga-card.type-creche {
    border-top-color: #f7dc6f;
    /* Amarelo claro */
}

.vaga-card.type-fundamental {
    border-top-color: #5dade2;
    /* Azul suave */
}

.vaga-card.type-integral {
    border-top-color: #2ecc71;
    /* Verde esmeralda */
}

.vaga-card.type-municipalizado {
    border-top-color: #f5b041;
    /* Laranja */
}


.card-icon {
    font-size: 2.5rem;
    color: #aeb6bf;
    /* Cor neutra para ícone */
    margin-bottom: 20px;
    float: right;
    /* Ícone no canto superior direito */
    opacity: 0.6;
}

.vaga-card.type-creche .card-icon {
    color: #f7dc6f;
}

.vaga-card.type-fundamental .card-icon {
    color: #5dade2;
}

.vaga-card.type-integral .card-icon {
    color: #2ecc71;
}

.vaga-card.type-municipalizado .card-icon {
    color: #f5b041;
}


.card-school-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #34495e;
    margin-bottom: 5px;
}

.card-school-type {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-details li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.card-details li i {
    margin-right: 12px;
    color: #8c9fae;
    /* Cor dos ícones de detalhe */
    font-size: 1.1rem;
}

.card-details li strong {
    color: #2c3e50;
    font-weight: 700;
}

/* Seção de Observação para cards especiais */
.obs-section {
    background: #fff8e1;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #a06e00;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
}

.obs-section i {
    color: #f39c12;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Lista compacta para cards com muitas séries */
.compact-list li {
    margin-bottom: 8px;
    /* Reduz espaço entre itens */
    font-size: 0.95rem;
}

.card-details li {
    display: flex;
    /* Transforma em container flexível */
    align-items: center;
    /* Alinha ícone e texto verticalmente */
    gap: 8px;
    /* Cria um espaço automático e constante entre todos os elementos internos */
    margin-bottom: 10px;
    color: #636e72;
}


/* Responsividade */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-title .icon-title {
        font-size: 1.8rem;
        margin-right: 10px;
    }

    .vaga-card {
        padding: 25px;
    }

    .card-school-name {
        font-size: 1.2rem;
    }

    .card-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-title .icon-title {
        font-size: 1.6rem;
    }

    .vagas-cards-grid {
        grid-template-columns: 1fr;
    }

    .vaga-card {
        padding: 20px;
    }
}