/* Réinitialisation de base et police globale */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* En-tête principal */
header {
    background: #333;
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 5px solid #77aaff;
}

header h1 {
    margin: 0;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-in-out;
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    animation: fadeInUp 1s ease-in-out;
}

/* Contenu principal */
main {
    width: 90%;
    max-width: 800px;
    margin: 2rem auto;
    flex-grow: 1;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card.alt {
    background-color: #eef4ff;
    text-align: right;
}

.card h2 {
    color: #77aaff;
    font-size: 1.8rem;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Animations simples */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}