/* Definições de variáveis e estilos globais */
:root {
    --primary-color: #070308;
    --secondary-color: #46023d;
    --accent-color: #3498db;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #2ecc71;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0;
    min-height: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 160px; 
    width: auto;   
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2)) brightness(1.1) contrast(1.1);                              
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease; 
    cursor: pointer;
}

.logo img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) brightness(1.2);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section Styles */
.hero {
    background: url('https://www.solucoesindustriais.com.br/news/wp-content/uploads/2025/06/santander-lanca-bolsas-em-tecnologia-exclusivas-para-mulheres.webp') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: #64065f;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;   
            border: none;
}

.btn:hover {
    background-color: #330035;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(31, 1, 32, 0.219);
}

/* Section General Styles */
section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

/* Objetivos Section Styles */
.objetivos {
    background-color: white;
}

.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.objetivo-card {
    background-color: var(--light-color);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
}

.objetivo-card:hover {
    transform: translateY(-10px);
}

.objetivo-card-content {
    padding: 25px;
}

.objetivo-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.objetivo-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Blog Section Styles */
.blog {
    background-color: #f5f5f5;
}

.blog-filters {
    text-align: center;
    margin-bottom: 40px;
}

.blog-filters button {
    background-color: white;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.blog-filters button.active,
.blog-filters button:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ALINHAMENTO DINÂMICO DOS BLOCOS */
#eventos-lista, 
.blog-posts, 
.eventos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    padding: 20px 0;
    align-items: stretch; /* Garante que todos os cards na mesma linha tenham a mesma altura */
}

/* CARDS GLOBAIS (BLOG E EVENTOS) */
.blog-post, .evento-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ocupa a altura total do grid */
}

.blog-post:hover, .evento-card:hover {
    transform: translateY(-5px);
}

/* IMAGENS DOS CARDS */
.blog-post-img, .evento-card-img {
    width: 100%;
    height: 200px;
    background-color: #eee;
    overflow: hidden;
    display: block;
    position: relative;
}

.blog-post-img img, .evento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    display: block;
}

/* --- CONTEÚDO DOS CARDS --- */
.blog-post-content, .evento-card-content {
    padding: 20px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.blog-post-content p {
    text-align: justify;
    text-justify: inter-word; 
    width: 100%; 
    margin-bottom: 15px;
    color: #444; 
}

.evento-card-content p {
    text-align: justify;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blog-post-content h3, 
.evento-card-content h3 {
    min-height: 50px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* PADRONIZAÇÃO TOTAL DOS BOTÕES */
.btn-ler-mais, 
.btn-inscrever {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #7a1b8c; 
    color: white;
    
    /* Tipografia robusta */
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    
    /* Formato Largo */
    width: 90%;
    padding: 12px 0;
    border-radius: 6px;
    
    margin-top: auto; 
    margin-bottom: 5px; 
    margin-left: auto;     
    margin-right: auto;  

    
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    border: none;
}

.btn-ler-mais:hover, .btn-inscrever:hover {
    background-color: #5d146b;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Monitoria Section Styles */
.monitoria {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.monitoria-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.monitoria h2 { color: white; font-size: 2.5rem; margin-bottom: 20px; }
.monitoria p { max-width: 700px; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.9); }

.monitoria-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.form-group { margin-bottom: 20px; 
}

.form-group label { display: block; 
    margin-bottom: 8px; 
    color: var(--dark-color); 
    font-weight: 500; 
    text-align: left; 
}

.form-control { width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    font-size: 1rem; 
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease; 
}

.form-control:focus { border-color: var(--primary-color); outline: none; }

.btn-submit {
    background-color: var(--success-color);
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
    width: 100%;
}
.btn-submit:hover { 
    background-color: #27ae60; 
    transform: translateY(-3px); 
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 { 
    font-size: 1.2rem; 
    margin-bottom: 20px; 
    position: relative; 
    padding-bottom: 10px; 
}

.footer-column h3::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0;
    width: 50px; 
    height: 2px; 
    background-color: var(--secondary-color);
}

.footer-column ul { 
    list-style: none; 
}

.footer-column ul li { 
    margin-bottom: 10px; 
}

.footer-column ul li a { 
    color: #ddd; 
    text-decoration: none; 
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease; 
        }
.footer-column ul li a:hover { 
    color: var(--secondary-color); 
    padding-left: 5px; 
}

.footer-bottom { border-top: 1px solid #444; 
    padding-top: 20px; 
    text-align: center; 
    font-size: 0.9rem; 
    color: #aaa; 
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 20px 0;
    max-width: 1200px; 
    margin: 0 auto;
    width: 100%;
}

.footer-logos-group { display: flex; align-items: center; gap: 20px; flex: 1; }
.right-logos { justify-content: flex-end; }
.copyright-text { font-size: 0.9rem; color: #bbb; margin: 0 20px; text-align: center; flex-shrink: 0; }

.footer-logos-group img {
    height: 50px; 
    width: auto;
    filter: grayscale(100%); 
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;
}

.footer-logos-group img:hover { 
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.1); 
}

/* Garante visibilidade dos links no rodapé */
.footer-column ul#footer-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul#footer-recent-posts li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.footer-column ul#footer-recent-posts li a {
    color: #ffffff; 
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    transition: color 0.3s;
}

.footer-column ul#footer-recent-posts li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Container centralizado */
.footer-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

/* Instagram */
.social-icons-single {
    margin-top: 12px;
}

.social-icons-single a {
    display: flex;
    flex-direction: row; 
    align-items: center;
    text-decoration: none;
    gap: 10px;
    transition: background-color 0.3s ease, 
            transform 0.3s ease, 
            box-shadow 0.3s ease;;
}

.social-icons-single i {
    font-size: 1.6rem; 
    color: #ff54b0; 
    filter: drop-shadow(0 0 5px rgba(255, 84, 176, 0.3));
}

.social-icons-single span {
    font-size: 0.85rem;
    color: #ddd; 
    font-weight: 500;
}

/* Efeito ao passar o mouse */
.social-icons-single a:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.social-icons-single a:hover span {
    color: #ffffff;
}

/* Painel Administrativo */
.admin-section { background-color: #f0f2f5; padding: 80px 0; border-top: 5px solid var(--secondary-color); }
.btn-admin {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

/* Responsive Styles */
@media screen and (max-width: 850px) {
    .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
    .footer-logos-group { justify-content: center; }
}

@media screen and (max-width: 768px) {
    .header-container { flex-direction: column; text-align: center; }
    nav ul { justify-content: center; margin-top: 15px; }
    .hero h1 { font-size: 2.5rem; }
}

.animate-on-scroll { opacity: 1; transform: none; }
