
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Quicksand:wght@400;600&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background-image: url('fond-rose-lavande.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #4a0033;
    margin: 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    background-color: rgba(255, 192, 203, 0.85);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    border-radius: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #4a0033;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #c71585;
}

/* Titres avec animation */
h1, h2 {
    font-family: 'Playfair Display', serif;
    opacity: 0;
    transform: translateY(20px);
    animation: slideFade 1s ease-out forwards;
}

h1 {
    color: #c71585;
    font-size: 2.2rem;
    font-weight: 700;
    animation-delay: 0.5s;
}

h2 {
    color: #db7093;
    font-size: 1.6rem;
    font-weight: 600;
    animation-delay: 0.7s;
}

/* Paragraphes */
p {
    font-size: 1rem;
    margin-bottom: 1em;
    text-align: justify;
    background: rgba(255, 240, 245, 0.8);
    padding: 15px;
    border-left: 4px solid #db7093;
    border-radius: 8px;
}

/* Images */
img {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

img:hover {
    transform: scale(1.04);
}

/* Sections */
section {
    background-color: rgba(255, 228, 225, 0.85);
    padding: 20px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* ANIMATIONS */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
