:root {
    --primary: #0d47a1;
    --primary-light: #42a5f5;
    --primary-dark: #002171;
    --secondary: #0bd626;
    --secondary-dark: #08a31d;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------- CABEÇALHO ---------- */
.cabecalho {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    box-shadow: var(--shadow-md);
}

.cabecalho h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.cabecalho p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
    font-weight: 300;
}

/* ---------- MENU NAVEGAÇÃO ---------- */
.menu {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    gap: 10px;
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.menu a:hover {
    color: var(--primary);
    background: rgba(13, 71, 161, 0.05);
}

.menu a.active {
    color: var(--primary);
    background: rgba(13, 71, 161, 0.1);
}

/* ---------- SECTIONS ---------- */
section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    display: none; /* Hidden by default for SPA */
}

section.active {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

section.active > * {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- HERO (Inicio) ---------- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at top right, #e0f2fe, transparent), 
                radial-gradient(circle at bottom left, #f0f9ff, transparent);
    border-radius: var(--radius);
    margin: 20px auto;
}

.hero h2 {
    color: var(--primary-dark);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ---------- BOTÕES ---------- */
.botao, .botao-contato, .botao-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.botao:hover, .botao-contato:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.botao-whatsapp {
    background-color: var(--secondary);
    margin-top: 15px;
}

.botao-whatsapp:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ---------- CARDS ---------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ---------- ENCONTROS ---------- */
.encontros-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 40px auto 0;
}

.encontro-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.encontro-item:hover {
    background: #f1f5f9;
}

.encontro-time {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 800;
    min-width: 120px;
    text-align: center;
}

.encontro-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* ---------- CAMPANHAS ---------- */
.aviso-em-breve {
    text-align: center;
    padding: 100px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 2px dashed var(--primary-light);
}

/* ---------- COORDINATORS ---------- */
.coordenadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-coordenador {
    text-align: center;
}

/* ---------- RODAPÉ ---------- */
.rodape {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.rodape p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .cabecalho h1 { font-size: 2rem; }
    .hero h2 { font-size: 2.2rem; }
    .encontro-item { flex-direction: column; text-align: center; }
}
.rodape a { transition: var(--transition); }
.rodape a:hover { opacity: 1 !important; transform: translateY(-1px); }
