* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    background-color: #004a99;
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    background-color: white;
    padding: 3px;
    border-radius: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- REGRAS DO MENU DROPDOWN --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin-top: 5px;
    z-index: 1;
}

.dropdown-content a {
    color: #333333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: normal !important;
    text-align: left;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #004a99 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ------------------------------------------ */

#hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)), url('fachada.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-content button {
    padding: 12px 30px;
    background-color: #e60000;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.hero-content button:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* --- ESTILOS DO ARRAIÁ --- */
.evento-destaque {
    padding: 60px 10%;
    background-color: #fff9e6;
}

.evento-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.evento-imagem {
    flex: 1;
}

.evento-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evento-info {
    flex: 1;
    padding: 40px;
}

.evento-info h2 {
    color: #d9534f;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.evento-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.detalhes-lista {
    list-style: none;
    margin-bottom: 30px;
}

.detalhes-lista li {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #333;
}

.btn-reserva {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-reserva:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* --- ESTILOS DA RÁDIO ESI --- (NOVA VERSÃO MAIS COMPLETA) */
.radio-destaque {
    padding: 60px 10%;
    background-color: #0088cc; /* Azul vibrante estilo rádio */
    color: white;
}

.radio-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2); /* Fundo com leve transparência escura */
    border-radius: 12px;
    overflow: hidden; /* Para a arte não sair das bordas arredondadas */
    gap: 0; /* Removido o gap anterior */
}

.radio-art-wrapper {
    flex: 1; /* A arte ocupa metade do espaço */
    max-height: 100%; /* Garante que a arte não passe da altura da info */
}

.radio-art {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a arte cobrir toda a área */
    display: block;
}

.radio-info {
    flex: 1; /* O texto ocupa a outra metade */
    padding: 40px;
}

.radio-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffd700; /* Destaque em amarelo ouro */
}

.radio-info p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* --- ESTILOS DA SEÇÃO SOBRE NÓS --- (Preservado) */
.content {
    padding: 60px 10%;
    background-color: #f8f9fa;
}

.sobre-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-container h2 {
    color: #004a99;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.historia-texto {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

.segmentos-titulo {
    color: #004a99;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* --- ESTILOS DO FOOTER --- (NOVA VERSÃO MAIS COMPLETA) */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Responsividade (Para Celulares) */
@media (max-width: 768px) {
    .evento-container, .radio-container {
        flex-direction: column;
    }
    .evento-imagem img {
        height: 250px;
    }
    .evento-info, .radio-info {
        padding: 20px;
        text-align: center;
    }
    .radio-container {
        gap: 0;
    }
    .radio-art-wrapper {
        flex: none;
        width: 100%;
        height: 250px;
    }
    .dropdown-content {
        position: relative;
        box-shadow: none;
        background-color: #003366;
    }
    .dropdown-content a {
        color: white !important;
        text-align: center;
    }
}
/* Estilos extras para a página de segmentos */
.info-card {
    background-color: #fff9e6;
    border-left: 5px solid #ffd700;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    text-align: left;
}

.bncc-lista {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.bncc-lista li {
    background: white;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #444;
}

.bncc-lista li strong {
    color: #004a99;
}
/* --- ESTILOS EXTRAS PARA A PÁGINA DO FUNDAMENTAL 1 --- */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.dif-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    border-top: 4px solid #004a99;
    transition: transform 0.3s ease;
}

.dif-card:hover {
    transform: translateY(-5px);
}

.dif-icone {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.dif-card h4 {
    color: #d9534f;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.dif-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}
/* --- ESTILOS EXTRAS PARA O FUNDAMENTAL 2 --- */
.materiais-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.material-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 10px;
    border: 1px solid #eee;
}

.material-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.material-item h4 {
    color: #004a99;
    margin-bottom: 10px;
}

.material-item p {
    font-size: 0.9rem;
    color: #666;
}

.atividades-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.atividade-tag {
    background-color: #004a99;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Ajuste para celular */
@media (max-width: 768px) {
    .materiais-container {
        flex-direction: column;
    }
}
/* --- ESTILOS EXTRA PARA A GALERIA DO FUNDAMENTAL 2 --- */
.galeria-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.galeria-item {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-item img:hover {
    transform: scale(1.05); /* Efeito de zoom leve ao passar o mouse */
}

.activity-tag {
    background-color: #004a99;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}
/* --- BOTÃO ÁREA DO PROFESSOR NO MENU --- */
.btn-portal {
    background-color: #e60000; /* Vermelho padrão da escola */
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px; /* Bordas arredondadas modernas */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background-color: #cc0000; /* Fica mais escuro ao passar o mouse */
    transform: translateY(-2px); /* Efeito de "flutuar" levemente */
    box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}