/* STREAMING_CHUNK: Configurando o Design System, variáveis e reset global... */
:root {
/* Cores Institucionais */
--primary-red: #A31D1D;       /* Vermelho Teológico */
--primary-dark: #7A1212;      /* Vermelho Escuro / Oxblood */
--primary-light: #FDF2F2;     /* Fundo avermelhado super suave */
--accent-gold: #C5A059;       /* Dourado Acadêmico */
--accent-gold-dark: #A47E3B;  /* Dourado para foco/hover */

/* Neutros */
--bg-light: #FAF9F6;          /* Off-white quente e confortável para leitura */
--bg-white: #FFFFFF;
--bg-gray: #F3F4F6;           /* Cinza para seções alternadas */
--text-main: #1F2937;         /* Cinza grafite quase preto */
--text-muted: #4B5563;        /* Cinza para subtítulos */
--border-color: #E5E7EB;      /* Linhas e bordas finas */

/* Tokens de Design */
--radius-sm: 6px;
--radius-md: 12px;
--radius-lg: 20px;
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
--shadow-md: 0 10px 25px -5px rgba(163, 29, 29, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
--shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--container-width: 1200px;


}

/* Reset e Configurações Globais */

*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 90px; /* Evita que o cabeçalho fixo cubra o início das seções */
}

body {
background-color: var(--bg-light);
color: var(--text-main);
line-height: 1.7;
overflow-x: hidden;
}

.container {
width: 90%;
max-width: var(--container-width);
margin: 0 auto;
}

/* STREAMING_CHUNK: Estilizando títulos de seções e elementos decorativos... */
.section-title {
text-align: center;
margin-bottom: 60px;
}

.section-title h2 {
color: var(--primary-red);
font-size: 2.4rem;
font-weight: 800;
letter-spacing: -0.03em;
margin-bottom: 12px;
position: relative;
display: inline-block;
}

.section-title p {
color: var(--text-muted);
font-size: 1.1rem;
max-width: 650px;
margin: 0 auto 15px;
}

.section-title .bar {
width: 80px;
height: 4px;
background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
margin: 15px auto 0;
border-radius: 2px;
}

/* STREAMING_CHUNK: Estilizando o cabeçalho fixo e navegação (Header)... */
.main-header {
background-color: rgba(255, 255, 255, 0.96);
backdrop-filter: blur(10px);
box-shadow: var(--shadow-sm);
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid var(--border-color);
transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px; /* Espaço entre a imagem e o texto da logo */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo img {
    max-width: 55px; /* Tamanho proporcional para o cabeçalho fixo */
    height: auto;
    flex-shrink: 0;
}

.logo h1 {
color: var(--primary-red);
font-size: 1.9rem;
font-weight: 900;
line-height: 1;
letter-spacing: -0.02em;
}

.logo span {
font-size: 0.55rem;
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-top: 4px;
}

.main-nav ul {
display: flex;
list-style: none;
gap: 8px;
}

.main-nav a {
text-decoration: none;
color: var(--text-main);
font-weight: 600;
font-size: 0.8rem;
padding: 10px 16px;
border-radius: var(--radius-sm);
transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
color: var(--primary-red);
background-color: var(--primary-light);
}

.menu-toggle {
display: none;
background: none;
border: none;
font-size: 1.8rem;
color: var(--primary-red);
cursor: pointer;
padding: 4px;
}

/* STREAMING_CHUNK: Estilizando a Hero Section com imagem de fundo... */
.hero-section {
background: linear-gradient(rgba(20, 20, 20, 0.75), rgba(163, 29, 29, 0.45)),
url('image/banner.jpg') no-repeat center center/cover;
color: var(--bg-white);
padding: 180px 0;
text-align: center;
position: relative;
}

.hero-content {
max-width: 850px;
}

.hero-content h2 {
font-size: 3.5rem;
font-weight: 800;
line-height: 1.15;
margin-bottom: 24px;
letter-spacing: -0.03em;
text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
font-size: 1.35rem;
margin-bottom: 40px;
font-weight: 300;
color: rgba(255, 255, 255, 0.9);
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Botões Reutilizáveis */
.btn-primary {
display: inline-block;
background-color: var(--primary-red);
color: var(--bg-white);
padding: 16px 36px;
text-decoration: none;
font-weight: 700;
border-radius: var(--radius-md);
box-shadow: 0 4px 18px rgba(163, 29, 29, 0.35);
transition: var(--transition);
border: 1px solid transparent;
}

.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 6px 22px rgba(163, 29, 29, 0.45);
}

.btn-light {
display: inline-block;
background-color: var(--bg-white);
color: var(--primary-red);
padding: 16px 36px;
text-decoration: none;
font-weight: 700;
border-radius: var(--radius-md);
box-shadow: var(--shadow-md);
transition: var(--transition);
border: 1px solid var(--border-color);
}

.btn-light:hover {
background-color: var(--primary-light);
transform: translateY(-2px);
}

/* STREAMING_CHUNK: Customizando a seção Sobre e Histórico... */
.about-section {
padding: 100px 0;
}

.about-content {
background-color: var(--bg-white);
padding: 50px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
border-left: 6px solid var(--primary-red);
margin-bottom: 60px;
}

.about-content p {
color: var(--text-muted);
margin-bottom: 24px;
font-size: 1.1rem;
text-align: justify;
}

.about-content p:last-child {
margin-bottom: 0;
}

/* Missão, Visão e Valores (Grid) */
.mvv-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 30px;
}

.mvv-card {
background-color: var(--bg-white);
padding: 40px 30px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
border-top: 4px solid var(--primary-red);
transition: var(--transition);
text-align: center;
}

.mvv-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}

.mvv-icon {
font-size: 3rem;
margin-bottom: 20px;
display: inline-block;
}

.mvv-card h3 {
font-size: 1.6rem;
color: var(--text-main);
margin-bottom: 16px;
font-weight: 700;
}

.mvv-card p {
color: var(--text-muted);
font-size: 1rem;
}

.mvv-card ul {
list-style: none;
text-align: left;
margin-top: 10px;
}

.mvv-card ul li {
margin-bottom: 12px;
font-size: 0.95rem;
color: var(--text-muted);
display: flex;
align-items: flex-start;
}

.mvv-card ul li::before {
content: "✓";
color: var(--accent-gold);
font-weight: 900;
margin-right: 12px;
font-size: 1.1rem;
}

/* STREAMING_CHUNK: Estilizando a seção de Cursos e cartões... */
.courses-section {
background-color: var(--bg-gray);
padding: 100px 0;
}

.courses-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}

.course-card {
background-color: var(--bg-white);
padding: 35px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
border-top: 6px solid var(--primary-red);
transition: var(--transition);
display: flex;
flex-direction: column;
justify-content: space-between;
}

.course-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
}

.course-card h3 {
color: var(--text-main);
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 16px;
line-height: 1.3;
}

.course-card p {
font-size: 0.98rem;
color: var(--text-muted);
margin-bottom: 30px;
flex-grow: 1;
}

.badge {
align-self: flex-start;
display: inline-block;
background-color: var(--primary-light);
color: var(--primary-red);
padding: 6px 16px;
font-size: 0.8rem;
font-weight: 700;
border-radius: 50px;
text-transform: uppercase;
letter-spacing: 0.05em;
border: 1px solid rgba(163, 29, 29, 0.15);
}

/* STREAMING_CHUNK: Customizando a seção do Edital (Processo Seletivo)... */
.edital-section {
padding: 100px 0;
}

.edital-box {
background-color: var(--bg-white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
padding: 50px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
border-left: 8px solid var(--primary-red);
}

.edital-info {
flex: 1;
}

.edital-info h3 {
font-size: 1.8rem;
margin-bottom: 12px;
color: var(--text-main);
font-weight: 800;
}

.edital-info p {
color: var(--text-muted);
margin-bottom: 24px;
font-size: 1.05rem;
}

.timeline {
display: flex;
gap: 15px;
flex-wrap: wrap;
}

.timeline-item {
background-color: var(--bg-gray);
padding: 12px 20px;
border-radius: var(--radius-md);
font-size: 0.9rem;
flex: 1;
min-width: 180px;
border-left: 4px solid var(--accent-gold);
}

.timeline-item strong {
color: var(--primary-red);
display: block;
font-size: 0.95rem;
margin-bottom: 4px;
}

/* STREAMING_CHUNK: Estilizando a chamada da Academia de Missões... */
.academy-section {
background: linear-gradient(rgba(163, 29, 29, 0.9), rgba(122, 18, 18, 0.95)),
url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1200') no-repeat center center/cover;
color: var(--bg-white);
padding: 100px 0;
text-align: center;
}

.academy-section .section-title h2 {
color: var(--bg-white);
}

.academy-section .section-title .bar {
background: var(--accent-gold);
}

.academy-content {
max-width: 800px;
margin: 0 auto;
}

.academy-content p {
font-size: 1.25rem;
margin-bottom: 40px;
font-weight: 300;
color: rgba(255, 255, 255, 0.9);
}

/* STREAMING_CHUNK: Estilizando a Secretaria Virtual com micro-interações... */
.secretaria-section {
background-color: var(--bg-gray);
padding: 100px 0;
}

.sec-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 25px;
margin-top: 10px;
}

.sec-card {
background-color: var(--bg-white);
padding: 35px 25px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
text-align: center;
cursor: pointer;
transition: var(--transition);
border: 1px solid transparent;
}

.sec-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
border-color: rgba(163, 29, 29, 0.2);
background-color: var(--primary-light);
}

.sec-icon {
font-size: 2.5rem;
color: var(--primary-red);
margin-bottom: 16px;
transition: var(--transition);
}

.sec-card:hover .sec-icon {
transform: scale(1.1);
color: var(--accent-gold);
}

.sec-card h4 {
color: var(--text-main);
font-size: 1.15rem;
margin-bottom: 8px;
font-weight: 700;
}

.sec-card p {
color: var(--text-muted);
font-size: 0.9rem;
}

/* STREAMING_CHUNK: Configurando a seção de Contato e formulário de inscrição... */
.contact-section {
padding: 100px 0;
}

.contact-grid {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: 60px;
align-items: start;
}

.contact-info h3 {
color: var(--primary-red);
font-size: 2.2rem;
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 16px;
}

.contact-info p {
color: var(--text-muted);
font-size: 1.1rem;
margin-bottom: 35px;
}

.info-list {
list-style: none;
}

.info-list li {
margin-bottom: 20px;
display: flex;
align-items: flex-start;
font-size: 1.05rem;
color: var(--text-main);
}

.info-list li strong {
min-width: 110px;
color: var(--primary-red);
font-weight: 700;
}

.contact-form {
background: var(--bg-white);
padding: 45px;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
border-top: 6px solid var(--primary-red);
}

.form-group {
margin-bottom: 24px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--text-main);
font-size: 0.95rem;
}

.form-group input,
.form-group select {
width: 100%;
padding: 14px 18px;
border: 2px solid var(--border-color);
border-radius: var(--radius-md);
font-size: 1rem;
color: var(--text-main);
transition: var(--transition);
}

.form-group input::placeholder {
color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: var(--primary-red);
box-shadow: 0 0 0 4px rgba(163, 29, 29, 0.1);
}

.btn-submit {
width: 100%;
background-color: var(--primary-red);
color: var(--bg-white);
border: none;
padding: 16px;
font-size: 1.1rem;
font-weight: 700;
border-radius: var(--radius-md);
cursor: pointer;
box-shadow: 0 4px 18px rgba(163, 29, 29, 0.35);
transition: var(--transition);
}

.btn-submit:hover {
background-color: var(--primary-dark);
transform: translateY(-1px);
box-shadow: 0 6px 22px rgba(163, 29, 29, 0.45);
}

/* STREAMING_CHUNK: Estilizando o componente de notificação (Toast)... */
.toast {
position: fixed;
bottom: 30px;
right: -350px;
    background-color: #10B981; /* Verde esmeralda moderno */
color: var(--bg-white);
padding: 16px 28px;
border-radius: var(--radius-md);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
z-index: 1000;
font-weight: 600;
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 10px;
}

.toast.show {
right: 30px;
}

.main-footer {
/* STREAMING_CHUNK: Estilizando o rodapé (Footer)... */
    background-color: #111827; /* Dark Slate Grey */
    color: #9CA3AF;
text-align: center;
padding: 50px 0;
border-top: 5px solid var(--primary-red);
}

.main-footer p {
font-size: 0.95rem;
margin-bottom: 8px;
}

.main-footer p:last-child {
margin-bottom: 0;
font-size: 0.85rem;
color: #6B7280;
}

/* STREAMING_CHUNK: Configurando regras de responsividade (@media)... */
@media (max-width: 992px) {
.contact-grid {
grid-template-columns: 1fr;
gap: 50px;
}

.edital-box {
    flex-direction: column;
    text-align: center;
    padding: 35px;
}

.timeline {
    justify-content: center;
}

.hero-content h2 {
    font-size: 2.8rem;
}


}

@media (max-width: 768px) {
.menu-toggle {
display: block;
}

.main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-color);
}

.main-nav.open {
    display: block;
}

.main-nav ul {
    flex-direction: column;
    padding: 15px;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 12px 16px;
}

.header-container {
    position: relative;
}

.hero-section {
    padding: 120px 0;
}

.hero-content h2 {
    font-size: 2.2rem;
}

.hero-content p {
    font-size: 1.1rem;
}

.section-title h2 {
    font-size: 1.9rem;
}

.about-content {
    padding: 30px;
}


}