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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

header h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

header h1 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

header h1 a:hover {
    color: #555;
}

nav {
    margin-top: 1rem;
}

nav a {
    margin-right: 1.5rem;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #333;
}

nav a:hover::after {
    width: 100%;
}

/* Articles sur la page d'accueil */
.article-preview {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
    transition: transform 0.2s ease;
}

.article-preview:hover {
    transform: translateX(4px);
}

.article-preview h2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.article-preview h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-preview h2 a:hover {
    color: #000;
}

.article-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.article-summary {
    color: #555;
}

.lire-suite {
    display: inline-block;
    margin-top: 0.75rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lire-suite:hover {
    color: #333;
    transform: translateX(3px);
}

/* Article complet */
article {
    margin-bottom: 3rem;
}

article h1 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

article .article-date {
    margin-bottom: 2rem;
}

article .article-content {
    text-align: justify;
}

article .article-content p {
    margin-bottom: 1.5rem;
}

article .article-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article .article-content ul,
article .article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

article .article-content blockquote {
    border-left: 3px solid #bbb;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
    transition: border-color 0.3s ease;
}

article .article-content blockquote:hover {
    border-color: #888;
}

/* Retour */
.retour {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.retour a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.retour a:hover {
    color: #333;
    transform: translateX(-3px);
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
    color: #999;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer:hover {
    color: #666;
}

/* Page Archives */
.page-title {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

#archives-list {
    list-style: none;
}

#archives-list li {
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease;
}

#archives-list li:hover {
    transform: translateX(4px);
}

.archive-date {
    color: #999;
    font-family: monospace;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

#archives-list li:hover .archive-date {
    color: #666;
}

#archives-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

#archives-list a:hover {
    color: #000;
}

/* Page À propos */
.a-propos-content p {
    margin-bottom: 1.5rem;
}

/* Animation d'entrée subtile */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    animation: fadeIn 0.4s ease-out;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    article h1 {
        font-size: 1.5rem;
    }

    /* Désactiver certaines animations sur mobile */
    .article-preview:hover,
    #archives-list li:hover {
        transform: none;
    }
}
