/* Importation des polices Google :
   Playfair Display pour les titres (élégant)
   Cormorant Garamond pour le corps du texte (classique) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Cormorant+Garamond:wght@300;400;600&display=swap');

/* --- Réinitialisation de base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    color: #333; /* Gris foncé pour le texte */
    background-color: #fcfcfc; /* Arrière-plan légèrement cassé */
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #4A148C; /* Un violet profond, couleur d'encre */
    margin-bottom: 15px;
}

/* --- En-tête (Header) et Navigation --- */
header {
    background-color: #F8F4E3; /* Papier vieilli clair */
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #D7CCC8; /* Ligne de séparation subtile */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky; /* Rendre le menu fixe pour une meilleure navigation */
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.2em;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* Pour la réactivité */
    justify-content: flex-end;
}

nav ul li a {
    text-decoration: none;
    color: #4A148C;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
    border-bottom: 2px solid transparent; 
    padding-bottom: 3px;
    white-space: nowrap; /* Empêche les liens longs de se couper */
}

nav ul li a:hover {
    color: #880E4F; /* Couleur d'encre plus foncée au survol */
    border-bottom: 2px solid #880E4F;
}

/* --- Sections Principales --- */
main {
    padding: 20px 5%;
}

section {
    padding: 40px 0;
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* Style pour alterner les fonds de section */
.alternate-bg {
    background-color: #F8F6F0; 
    margin: 0 -5% 30px; /* Étendre la couleur sur toute la largeur */
    padding: 40px 5%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* --- Section Hero (Accueil) --- */
.hero {
    text-align: center;
    background-color: #fff;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero h2 {
    font-size: 3em;
    color: #880E4F;
}

.hero p {
    font-size: 1.3em;
    margin: 20px auto 30px;
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background-color: #4A148C;
    color: white;
    padding: 10px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #880E4F;
    transform: translateY(-2px);
}

/* --- Points de Service (Service-Points) --- */
.service-points {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.service-points article {
    background-color: #fff;
    padding: 25px;
    border-left: 3px solid #880E4F; /* Ligne d'accent */
    flex: 1;
    min-width: 250px;
    transition: background-color 0.3s;
}

.service-points article:hover {
    background-color: #FAFAFA;
}

.service-points h3 {
    color: #880E4F;
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* --- Galerie (Anciennes Cartes de Style) --- */
.style-cards {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #D7CCC8;
    border-radius: 5px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: #4A148C;
    font-size: 1.5em;
    border-bottom: 1px dotted #D7CCC8;
    padding-bottom: 10px;
}

/* --- Pied de Page (Footer) --- */
footer {
    text-align: center;
    padding: 20px;
    background-color: #F8F4E3;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #D7CCC8;
}

footer a {
    color: #4A148C;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* --- Media Queries pour la réactivité --- */
@media (max-width: 900px) {
    .service-points, .style-cards {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 10px;
    }
    
    header h1 {
        margin-bottom: 10px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li a {
        margin: 5px 10px;
        font-size: 0.9em;
    }
}