:root {
    --pedra-esfinge: #1a1a1c; /* Chumbo/Grafite escuro, solidez e tecnologia */
    --calcario-claro: #f5f2eb; /* Tom de areia muito suave para o fundo, elegante e limpo */
    --ouro-esfinge: #d4af37; /* Dourado clássico para poder e destaque */
    --detalhe-pedra: #2c2c30; /* Um cinza um pouco mais claro para contrastes sutis */
    --texto-escuro: #2b2b2b;
    --texto-claro: #f5f2eb;
}

/* =========================================
   RESET BÁSICO E FONTE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--texto-escuro);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    
    /* === BACKGROUND COM A IMAGEM DA SPHINX === */
    background-color: var(--calcario-claro); 
    background-image: linear-gradient(rgba(26, 26, 28, 0.6), rgba(26, 26, 28, 0.6)), url('../img/bgsite.jpg');
    background-size: cover;       /* Faz a imagem cobrir a tela toda */
    background-position: center;  /* Centraliza a imagem */
    background-attachment: fixed; /* Deixa a imagem parada enquanto a tela rola (efeito legal) */
    background-repeat: no-repeat; /* Evita que a imagem se repita como um mosaico */
}

/* =========================================
   CABEÇALHO (Header)
   ========================================= */
header {
    background-color: var(--pedra-esfinge);
    color: var(--ouro-esfinge);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--ouro-esfinge);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

header h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
}

nav a {
    color: var(--texto-claro);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--ouro-esfinge);
}

/* =========================================
   CORPO DA PÁGINA (Main e Sections)
   ========================================= */
main {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px; /* Bordas mais retas, lembrando blocos de pedra */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--pedra-esfinge); /* Linha de solidez na lateral */
}

h2 {
    color: var(--pedra-esfinge);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, rgba(26, 26, 28, 0.2), transparent);
    margin: 2rem 0;
}

/* =========================================
   GRADE DA EQUIPE (Cards dos Membros)
   ========================================= */
.membros-equipe {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.membro {
    background-color: var(--detalhe-pedra);
    color: var(--texto-claro);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--ouro-esfinge);
}

.membro:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.membro img {
    border-radius: 50%;
    border: 3px solid var(--ouro-esfinge);
    margin-bottom: 1rem;
    width: 100px;
    height: 100px;
    object-fit: cover;
    background-color: var(--calcario-claro);
}

.membro h3 {
    color: var(--texto-claro);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.membro p {
    font-size: 0.9rem;
    color: var(--ouro-esfinge);
    font-weight: 600;
}

/* =========================================
   RODAPÉ (Footer)
   ========================================= */
footer {
    background-color: var(--pedra-esfinge);
    color: var(--texto-claro);
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
    border-top: 2px solid var(--ouro-esfinge);
    font-size: 0.9rem;
    letter-spacing: 1px;
    width: 100%;
}