/* Design Moderne et Chaleureux pour Généalogie */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    /* Un fond avec une texture de papier ancien ou parchemin léger */
    background-color: #fdf5e6; 
    background-image: url('https://www.transparenttextures.com/patterns/beige-paper.png'); 
    color: #4a3c31;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

header h1 {
    color: #8b4513; /* Marron chaud */
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

header p {
    color: #6b8e23; /* Vert sauge pour la gaité */
    font-style: italic;
    font-weight: 500;
}

.document-list {
    background: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 5px solid #d4af37; /* Rappel doré */
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 12px;
    transition: transform 0.2s;
}

/* Style des liens avec icône PDF factice */
a {
    text-decoration: none;
    color: #2e5a27; /* Vert forêt plus gai que le gris */
    font-size: 1.15em;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fdfbf0;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

/* Effet au survol */
a:hover {
    background-color: #fef9e7;
    color: #d4af37; /* Devient doré au survol */
    border-color: #d4af37;
    transform: translateX(10px);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
}

/* Petit symbole PDF avant le texte */
a::before {
    content: "📄";
    margin-right: 20px;
    font-size: 1.8em;
}

footer {
    text-align: center;
    margin-top: 50px;
    font-size: 0.9em;
    color: #8b4513;
    opacity: 0.7;
}

/* Animation au survol du lien */
a:hover {
    background-color: #fff9e6; /* Un jaune très pâle pour souligner la ligne */
    border-color: #d4af37;     /* Le contour devient doré */
    transform: scale(1.02);    /* La ligne entière grossit très légèrement */
    transition: all 0.2s ease-in-out;
}