/* Importação de fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@300;400&display=swap');

/* Reset Básico */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
    scroll-behavior: smooth; /* Rolagem suave */
}

/* Header/Hero Section */
.hero {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Gradiente azul */
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 100vh; /* Ocupa a altura total da tela */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Para o efeito de revelação */
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5em;
    max-width: 600px;
}

/* Team Section */
.team-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #e9ecef;
}

.team-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 50px;
}

.team-circles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permite que os círculos quebrem a linha */
    gap: 40px;
}

.circle-member {
    background-color: white;
    border-radius: 15px; /* Bordas levemente arredondadas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    width: 250px; /* Largura fixa para os membros */
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.circle-member:hover {
    transform: translateY(-10px); /* Efeito "flutuando" no hover */
}

.circle-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Faz a imagem ser um círculo */
    object-fit: cover; /* Garante que a imagem preencha o círculo */
    border: 5px solid #007bff;
    margin-bottom: 15px;
}

.circle-member h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 5px;
}

.circle-member p {
    color: #666;
    font-size: 0.95em;
}


/* Cyber Topic Sections */
.cyber-topic {
    padding: 80px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Garante altura mínima para cada seção */
}

.cyber-topic.light-bg {
    background-color: #fdfdfd;
}

.cyber-topic.dark-bg {
    background-color: #343a40; /* Cinza escuro */
    color: white;
}

.cyber-topic h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    margin-bottom: 25px;
    color: #007bff; /* Azul para o título */
}

.cyber-topic.dark-bg h2 {
    color: #66c0ff; /* Azul mais claro para títulos em fundo escuro */
}

.topic-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left; /* Conteúdo alinhado à esquerda dentro da caixa */
}

.topic-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.topic-content ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 1.1em;
}

.topic-content ul li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
}

/* Efeito de Revelação (Scroll-Reveal) */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade Básica */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8em;
    }
    .hero p {
        font-size: 1.2em;
    }
    .team-section h2, .cyber-topic h2 {
        font-size: 2em;
    }
    .team-circles {
        flex-direction: column; /* Empilha os círculos em telas menores */
        align-items: center;
    }
    .circle-member {
        width: 80%; /* Ocupa mais largura em telas pequenas */
        max-width: 280px;
    }
    .cyber-topic {
        padding: 50px 15px;
    }
    .topic-content p, .topic-content ul li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .team-section h2, .cyber-topic h2 {
        font-size: 1.6em;
    }
}
