/* Variables de couleurs - Thème chaud et classique */
:root {
    --couleur-fond: #faf8f5; /* Blanc cassé très léger */
    --couleur-texte: #2c2c2c;
    --couleur-accent: #8b5a2b; /* Marron doré / Sépia */
    --couleur-secondaire: #e8dfd5; /* Beige */
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Lora', serif; /* Police classique pour les titres */
    color: var(--couleur-accent);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* En-tête */
.header-famille {
    background-color: var(--couleur-accent);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
}

.header-famille h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
}

.header-famille .sous-titre {
    font-size: 1.2rem;
    font-style: italic;
    font-family: 'Lora', serif;
    opacity: 0.9;
}

/* Histoire */
.histoire {
    margin-bottom: 60px;
}

.histoire h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.histoire-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.cadre-photo {
    flex: 1;
    border: 8px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: rotate(-2deg); /* Petit effet photo posée sur la table */
}

.texte-histoire {
    flex: 2;
    font-size: 1.1rem;
}

.texte-histoire p {
    margin-bottom: 15px;
}

/* Grille des membres */
.membres h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.intro-membres {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.grille-membres {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.carte-membre {
    display: block;
    background: white;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--couleur-texte);
    border: 1px solid var(--couleur-secondaire);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.carte-membre h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.carte-membre p {
    font-size: 0.9rem;
    color: #777;
}

.carte-membre:hover {
    background-color: var(--couleur-secondaire);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Pied de page */
footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--couleur-secondaire);
    color: #777;
    font-size: 0.9rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .histoire-content {
        flex-direction: column;
    }
    
    .cadre-photo {
        transform: rotate(0);
        margin-bottom: 20px;
    }
}