/* --- Estilos Gerais --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Sessão da Foto Principal --- */
.sessao-foto {
    text-align: center;
    margin-bottom: 50px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.moldura-foto {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.foto-grupo {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover; /* Garante que a foto não estique */
}

.legenda-foto {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* --- Cards de Biografia --- */
.biografias {
    display: grid;
    gap: 25px;
}

.diretor-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.diretor-card:hover {
    transform: translateY(-5px);
}

/* Detalhe de cor lateral para cada diretora */
.indicador-cor {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
}

.taciana { background-color: #0056b3; } /* Azul */
.renata  { background-color: #d32f2f; } /* Vermelho */
.greice  { background-color: #2e7d32; } /* Verde */

.diretor-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #222;
}

.diretor-card p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: #555;
}

/* --- Botão Voltar Fixo --- */
.btn-voltar-fixo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #222;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background 0.3s;
}

.btn-voltar-fixo:hover {
    background-color: #d32f2f;
}

/* --- Responsividade (Telemóvel) --- */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .sessao-foto {
        padding: 10px;
    }

    .diretor-card {
        padding: 20px;
    }

    .btn-voltar-fixo {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}