/* --- CONFIGURAÇÕES GERAIS E VARIÁVEIS --- */
:root {
    --primary-color: #FFC947; /* Amarelo/Dourado vibrante */
    --dark-bg-color: #111111;
    --card-bg-color: #1a1a1a;
    --border-color: #333333;
    --text-color: #EAEAEA;
    --text-muted-color: #888888;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--dark-bg-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
}

p {
    margin-bottom: 20px;
    color: var(--text-muted-color);
}

.container p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-bg-color);
}

.content-section {
    padding: 100px 0;
}

/* --- ESTILOS DO NOVO MENU MODERNO --- */

/* --- O Header Fixo --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background-color 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF; /* Garante que a cor seja branca, não a variável --white-color que não foi definida */
    z-index: 101; /* Garante que o logo fique acima do overlay */
    transition: color 0.3s ease;
}

/* Quando o menu está aberto, o logo pode mudar de cor para contrastar */
.menu-open .logo {
    color: #FFFFFF;
}

/* --- Gatilho do Menu (Hamburger) --- */
.menu-toggle {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    z-index: 101; /* Fica acima de tudo */
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animação para o 'X' */
.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}
.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* --- O Painel de Navegação (Overlay) --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.95); /* #111 com transparência */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

/* Estado ativo do overlay */
.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.nav-links {
    list-style: none;
    text-align: center;
}

.nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin: 15px 0;
}

.menu-open .nav-item {
    opacity: 1;
    transform: translateY(0);
}

.menu-open .nav-item:nth-child(1) { transition-delay: 0.1s; }
.menu-open .nav-item:nth-child(2) { transition-delay: 0.15s; }
.menu-open .nav-item:nth-child(3) { transition-delay: 0.2s; }
.menu-open .nav-item:nth-child(4) { transition-delay: 0.25s; }
.menu-open .nav-item:nth-child(5) { transition-delay: 0.3s; }

.nav-links a {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 2.5rem;
    text-transform: uppercase;
    padding: 5px 10px;
    position: relative;
    display: inline-block;
    text-decoration: none; /* Garante que não tenha underline */
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-links .cta-button {
    margin-top: 20px;
    font-size: 1.5rem;
    padding: 10px 40px;
}

.dropdown-menu {
    list-style: none;
    padding: 10px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.dropdown.active .dropdown-menu {
    max-height: 200px;
}

.dropdown-menu a {
    font-family: var(--font-body);
    font-size: 1.2rem;
    text-transform: none;
    font-weight: 600;
    color: var(--text-muted-color);
    transition: color 0.3s ease;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
}

.dropdown-toggle {
    cursor: pointer;
}

/* --- SEÇÃO HERO --- */
#hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: #FFFFFF; position: relative; overflow: hidden; }
.background-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: -2; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: -1; }
.hero-content h1 { font-size: 4.5rem; }
.hero-content p { font-size: 1.5rem; margin-bottom: 30px; color: var(--text-color); }

/* --- OUTRAS SEÇÕES (Cards, Liderança, etc.) --- */
/* ... (todo o resto do seu CSS continua aqui) ... */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background-color: transparent; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: border-color 0.3s ease, transform 0.3s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.card img { width: 100%; height: auto; display: block; }
.card-content { padding: 30px; }
.card h3 { font-size: 1.5rem; color: #FFFFFF; }
.card p { text-align: left; }
.card-content > *:last-child { margin-bottom: 0; }

.ministry-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
.ministry-grid .card { padding: 50px 40px; text-align: center; }
.ministry-grid .card h3 { font-size: 2rem; }
.ministry-grid .card p { text-align: center; font-size: 1.1rem; max-width: 100%; }

.page-hero { padding: 120px 0 60px 0; text-align: center; background-color: var(--card-bg-color); border-bottom: 1px solid var(--border-color); }
.page-hero h1 { font-size: 3.5rem; color: #FFFFFF; }

.leader-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.leader-card { text-align: center; }
.leader-card img { width: 100%; max-width: 250px; height: auto; border-radius: 50%; border: 3px solid var(--border-color); margin-bottom: 15px; }
.leader-card h3 { font-size: 1.5rem; color: #FFFFFF; margin-bottom: 5px; }
.leader-card .leader-title { color: var(--primary-color); font-weight: 600; }

.faq-accordion { max-width: 800px; margin: 30px auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { padding: 20px; cursor: pointer; font-weight: 600; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; color: #FFFFFF; }
.faq-question::after { content: '+'; font-size: 2rem; transition: transform 0.3s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-answer p { padding: 0 20px 20px 20px; margin: 0; }
.faq-item.active .faq-answer { max-height: 200px; }

/* --- DESIGN RESPONSIVO GERAL --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .page-hero h1 { font-size: 2.5rem; }
    .card-grid, .ministry-grid { grid-template-columns: 1fr; }
}