/* Importation des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@700&display=swap');

/* Styles Généraux */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

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

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #5d2b7c; /* Une couleur de marque violette/foncée */
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em;
    color: #fff; /* Pour le titre dans l'héro */
    margin-bottom: 10px;
}

h2 {
    font-size: 2.2em;
    color: #5d2b7c;
}

h3 {
    font-size: 1.8em;
    color: #7c4aa3; /* Une nuance plus claire de violet */
    margin-bottom: 15px;
}

p {
    margin-bottom: 1em;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 0.5em;
    padding-left: 1.5em;
    position: relative;
}

ul li::before {
    content: '✔️'; /* Un petit coche pour les listes */
    position: absolute;
    left: 0;
    color: #f7a01d; /* Jaune orange comme le bec du canard */
}

a {
    color: #f7a01d;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header - Section Héro */
.hero-section {
    background: linear-gradient(135deg, #7c4aa3, #5d2b7c); /* Dégradé violet */
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 30px;
}

.hero-section .subtitle {
    font-size: 1.3em;
    opacity: 0.9;
}

.hero-image {
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Sections de Contenu */
.section {
    padding: 60px 0;
    text-align: center;
}

.section:nth-of-type(even) {
    background-color: #f0f0f0; /* Une légère variation de couleur pour les sections paires */
}

.colored-section {
    background-color: #ffe08a; /* Un fond jaune doux, rappelant le canard */
    color: #333;
}
.colored-section h2, .colored-section h3 {
    color: #5d2b7c;
}

.content-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap; /* Pour que les blocs s'empilent sur mobile */
}

.content-block.reverse {
    flex-direction: row-reverse; /* Inverser l'ordre des éléments */
}

.content-block .text-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.content-block .section-image {
    flex: 1;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-block .small-image {
    max-width: 250px; /* Pour l'image de canard de bain */
}

.image-placeholder {
    flex: 1;
    min-width: 300px;
    height: 300px; /* Taille fixe pour le placeholder, ajustez si besoin */
    background-color: #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Section Appel à l'Action (CTA) */
.cta-section {
    background: #f7a01d; /* Jaune-orange éclatant */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 2.5em;
}

.cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background-color: #5d2b7c; /* Bouton violet foncé */
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #7c4aa3; /* Violet plus clair au survol */
    transform: translateY(-3px);
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .hero-image {
        max-width: 300px;
    }

    .content-block {
        flex-direction: column; /* Empilement des blocs sur les petits écrans */
        text-align: center;
    }

    .content-block.reverse {
        flex-direction: column; /* Garder l'empilement même si inversé */
    }

    .content-block .text-content,
    .content-block .section-image,
    .image-placeholder {
        min-width: unset;
        width: 100%;
    }

    .section-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    .hero-image {
        max-width: 250px;
    }

    .button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
}