/* ==========================================================================
   PÁGINA DE ORGANIZAÇÕES (EXECUTIVAS E AUXILIARES)
   ========================================================================== */

/* 1. Header da Página */
.page-header {
    background: linear-gradient(rgba(6, 44, 37, 0.781), rgba(6, 44, 37, 0.767)), 
                url('../images/fotos/evan_coari.jpg') center/cover; /* Usando a sua imagem histórica */
    padding: 160px 0 80px;
    color: var(--white);
    
    /* Centralização usando Flexbox no container pai */
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centraliza os blocos horizontalmente */
    justify-content: center; /* Centraliza verticalmente se houver altura definida */
    text-align: center;      /* Centraliza as linhas de texto */
    height: 100vh; /* Garante que o header ocupe toda a altura da tela */
}

.page-header span {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    text-transform: uppercase;
    display: block; /* Garante que ocupe sua própria linha */
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Tamanho responsivo */
    margin-top: 10px;
    color: #eee;
    line-height: 1.2;
}

.page-header p {
    color: #eee;
    font-size: 1.2rem;
    margin: 15px auto 0; /* O 'auto' nas laterais centraliza o bloco que tem max-width */
    max-width: 700px;
    line-height: 1.6;
    opacity: 0.9;
}

/* 1. Estrutura da Seção */
.executivas-section, 
.auxiliares-section { 
    padding: 80px 0; 
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--deep-green);
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* 2. O Card */
.org-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Garante que o botão fique sempre embaixo */
}

.org-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(6, 44, 37, 0.08);
    border-color: var(--accent-gold);
}

/* 3. Ícone/Logo */
.org-icon {
    width: 110px;
    height: 110px;
    background: #f8fbf9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 25px;
    transition: 0.4s;
}

.org-card:hover .org-icon {
    background: var(--white);
    transform: scale(1.05);
}

.org-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

/* 4. Textos do Card */
.org-card h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--deep-green); 
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    min-height: 60px; /* Alinhamento vertical dos títulos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-card p { 
    font-size: 0.95rem; 
    color: #666; 
    line-height: 1.6; 
    margin-bottom: 30px;
    flex-grow: 1; /* Faz o parágrafo ocupar o espaço restante */
}

/* 5. Botão de Link Direto */
.btn-org-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: #f1f5f2;
    color: var(--deep-green);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.org-card:hover .btn-org-link {
    background: var(--accent-gold);
    color: var(--deep-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 147, 74, 0.15);
}
