/* --- Variables et Styles de base --- */
:root {
    --color-primary: rgb(74, 74, 74);
    --color-secondary: #C793B7; /* Rose poudré */
    --color-accent: #D8BFD8; /* Lilas clair */
    --color-text: #5C5C50; /* Gris-vert foncé */
    --color-text-light: #7A7A6A;
    --color-bg: #F8F6F4; /* Blanc cassé */
    --color-white: #FFFFFF;
    --color-border: #e0e0e0; /* Gris clair pour les bordures */
    --font-title: 'Cormorant Garamond', serif;
    --font-text: 'Lato', sans-serif;
    --transition-smooth: all 0.3s ease-in-out;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08); /* Ombre plus douce */
    --border-radius-medium: 8px; /* Rayon de bordure standard */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-text);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-text); /* Léger assombrissement au survol */
    text-decoration: underline;
}

/* --- Styles Spécifiques Bouton CTA Hero --- */
#hero .cta {
    display: inline-block; /* Nécessaire pour padding/transform */
    background-color: var(--color-secondary); /* Couleur secondaire attrayante */
    color: var(--color-white);
    padding: 15px 35px; /* Plus de padding pour un look moderne */
    border-radius: 50px; /* Coins très arrondis (forme pilule) */
    font-family: var(--font-title); /* Police titre pour impact */
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none; /* Pas de soulignement */
    border: none; /* Pas de bordure initiale */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Ombre portée douce */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transition douce pour tout */
    cursor: pointer;
    margin-top: 20px; /* Espace au-dessus */
}

#hero .cta:hover {
    background-color: var(--color-primary); /* Changement de couleur au survol */
    transform: translateY(-3px) scale(1.03); /* Léger soulèvement et agrandissement */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Ombre plus prononcée */
    text-decoration: none; /* Assurer qu'il n'y a pas de soulignement */
}

#hero .cta:active {
    transform: translateY(1px) scale(0.97); /* Effet d'enfoncement au clic */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre réduite */
}
/* --- Fin Styles Bouton CTA Hero --- */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; margin-top: 2.5rem; /* Plus d'espace avant H2 */ }
h3 {
    font-size: 1.6rem;
    color: var(--color-secondary); /* Couleur secondaire pour H3 */
    font-weight: 700; /* Un peu plus affirmé */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-accent); /* Ligne de séparation subtile */
    display: inline-block; /* Pour que la bordure ne prenne pas toute la largeur */
    margin-bottom: 1.2rem; /* Espace après H3 */
}

blockquote {
    font-style: italic;
    margin: 1.5rem 0 2rem 0; /* Plus d'espace */
    padding: 1rem 1.5rem; /* Padding intérieur */
    border-left: 4px solid var(--color-secondary);
    background-color: var(--color-white); /* Fond blanc pour ressortir */
    color: var(--color-text-light);
    border-radius: 0 var(--border-radius-medium) var(--border-radius-medium) 0; /* Coins arrondis */
    box-shadow: var(--shadow-light); /* Légère ombre */
}

blockquote p {
    margin-bottom: 0.5rem; /* Espace réduit dans la citation */
}
blockquote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    color: var(--color-primary); /* Nom du témoin */
    margin-top: 0.5rem;
}

ul {
    list-style: none; /* On enlève les puces par défaut */
    padding-left: 0; /* On enlève le padding par défaut */
    margin-bottom: 1.5rem;
}

ul li {
    padding-left: 1.8em; /* Espace pour la puce personnalisée */
    position: relative;
    margin-bottom: 0.6rem; /* Espace entre les éléments */
}

.cta {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-primary);
    font-weight: 700;
}

.cta:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
}

.content-section {
    padding: 60px 0;
}

.page-title-section {
    text-align: center;
    background-color: rgba(199, 147, 183, 0.1); /* Fond très léger avec transparence */
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border); /* Ligne subtile en bas */
}
.page-title-section h1 {
    margin-bottom: 0.5rem;
    color: var(--color-primary); /* S'assurer que le titre principal est bien visible */
}
.page-title-section p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px; /* Limiter la largeur du sous-titre */
    margin: 0 auto; /* Centrer le sous-titre */
}

/* --- Header --- */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between; /* Espace entre logo et nav */
    align-items: center; /* Centrage vertical */
    height: 100%; /* Assure que le conteneur prend toute la hauteur du header */
}

header .logo img {
    max-height: 120px; /* Ajuste selon ton logo */
}
header .logo span { /* Si tu utilises du texte pour le logo */
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

header nav ul {
    display: flex;
    align-items: center; /* Centrage vertical des onglets */
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 25px; /* Espace entre les onglets */
}

header nav ul li a {
    font-family: var(--font-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
    padding: 10px 0;
    position: relative;
    text-decoration: none;
}
header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}
header nav ul li a:hover,
header nav ul li a.active {
    color: var(--color-primary);
}

.menu-toggle { /* Style du bouton hamburger */
    display: none; /* Caché par défaut sur desktop */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* --- Hero Section --- */
#hero {
    background: url('../images/hero-background.jpg') no-repeat center center/cover;
    height: calc(100vh - 80px); /* Hauteur de l'écran moins le header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: var(--color-white); /* Adapte si ton image est claire */
}
/* Ajoute une surcouche pour la lisibilité si besoin */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#6A93C0, #C793B7); /* Surcouche gris-vert semi-transparente */
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
}

#hero h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- Section Présentation --- */
#presentation .presentation-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

#presentation .presentation-img {
    flex: 1; /* Prend 1/3 de l'espace */
    max-width: 300px;
}

#presentation .presentation-img img {
    border-radius: 50%; /* Image ronde */
    border: 5px solid var(--color-secondary);
}

#presentation .presentation-text {
    flex: 2; /* Prend 2/3 de l'espace */
}

/* --- Section Méthodes Accueil --- */
#methodes-accueil {
    text-align: center;
}
#methodes-accueil h2 {
    margin-bottom: 40px;
}
.methodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.methode-carte {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition-smooth);
    text-decoration: none; /* Enlève le soulignement du lien */
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.methode-carte:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(160, 160, 140, 0.2);
    text-decoration: none; /* Assure qu'il n'y a pas de soulignement au survol */
    color: var(--color-text); /* Garde la couleur du texte */

}

.methode-carte img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--color-secondary);
}

.methode-carte h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.methode-carte p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    flex-grow: 1; /* Pour que les cartes aient la même hauteur si le texte varie */
}

.methode-carte span { /* Style du "En savoir plus" */
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Page Méthodes --- */
.methode-detail {
    padding-top: 40px;
    padding-bottom: 40px;
}
.methode-detail:last-child {
    padding-bottom: 60px;
}

.methode-detail h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* .methode-content { */
    /* Optionnel: mettre texte et image côte à côte */
    /* display: flex;
    gap: 30px;
    align-items: flex-start; */
/* } */
/* .methode-content .methode-text { flex: 2; } */
/* .methode-content .methode-image { flex: 1; max-width: 350px;} */
/* .methode-content .methode-image img { border-radius: 8px; } */

.methode-detail h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
    font-size: 1.3rem;
}
.methode-detail ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
}
.methode-detail ul li {
    margin-bottom: 0.5rem;
}

/* --- Section Méthodes spécifique --- */
.methode-detail {
    background-color: var(--color-white);
    padding: 40px; /* Plus d'espace intérieur */
    margin-bottom: 40px; /* Espace entre les méthodes */
    border-radius: var(--border-radius-medium); /* Coins arrondis */
    box-shadow: var(--shadow-light); /* Ombre portée */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition pour survol */
    border: 1px solid var(--color-border); /* Bordure très légère */
}

.methode-detail:hover {
    transform: translateY(-5px); /* Léger décalage vers le haut au survol */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée au survol */
}

.methode-detail h2 {
    margin-top: 0; /* Pas de marge en haut pour le titre principal de la section */
    margin-bottom: 1.5rem; /* Espace après le titre H2 */
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-primary); /* Ligne plus marquée sous le H2 */
    display: inline-block;
}

.methode-text h3 {
    /* Styles déjà définis globalement pour H3, on peut les laisser */
    /* ou ajouter spécificités ici si besoin */
    margin-top: 1.5rem; /* Espace avant chaque sous-titre H3 */
}

.methode-text h3:first-of-type {
    margin-top: 0; /* Pas d'espace avant le tout premier H3 */
}

.methode-detail.alternate-bg {
    background-color: var(--color-bg); /* Utilise la couleur de fond générale */
    /* On enlève la bordure ou on l'adapte si besoin */
    border-color: transparent;
    box-shadow: none; /* Pas d'ombre pour le fond alterné pour contraster */
}

/* --- Footer --- */
footer {
    background-color: var(--color-primary);
    color: var(--color-bg); /* Texte clair sur fond sombre */
    padding: 30px 0;
    text-align: center;
    margin-top: 60px; /* Espace avant le footer */
    font-size: 0.9rem;
}

footer a {
    color: var(--color-secondary); /* Liens avec couleur secondaire */
}

footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

footer p {
    margin-bottom: 0.5rem;
}
footer p:last-child {
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    html { font-size: 15px; }

    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.4rem; }

    .container { padding: 0 15px; }

    header .container { height: 70px; }
    header nav ul {
        display: none; /* Menu caché par défaut sur mobile */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Hauteur du header */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 10px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    header nav ul.active {
        display: flex; /* Afficher quand le menu est ouvert */
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre les éléments horizontalement */
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 15px; /* Espace entre les éléments */
        width: 100%; /* Prend toute la largeur */
        padding-left: 0; /* Assurer qu'il n'y a pas de padding gauche */
        box-sizing: border-box; /* Inclut padding/border dans la largeur */
    }

    header nav ul li:last-child {
        margin-bottom: 0;
    }

    header nav ul li a {
        padding: 15px 0; /* Plus de padding vertical pour mobile */
        display: block; /* Pour que le padding s'applique */
        width: 100%;
        text-align: center; /* Centre les éléments horizontalement */
        box-sizing: border-box; /* Inclut padding/border dans la largeur */
    }

     /* On s'assure que les ::after ne s'affichent pas sur mobile */
    header nav ul li a::after {
        display: none;
    }
}
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .cta { padding: 10px 20px; font-size: 0.9rem;}
}

/* --- Styles Spécifiques Page Contact --- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}
.contact-info, .contact-form-section {
    flex: 1;
    min-width: 300px; /* Pour que les sections ne deviennent pas trop étroites */
}
.contact-info h3, .contact-form-section h3 {
    margin-top: 0;
    color: var(--color-primary);
     border-bottom: 1px solid var(--color-accent);
     padding-bottom: 0.5rem;
     margin-bottom: 1.5rem;
}
.contact-info ul {
    list-style: none;
    padding: 0;
}
.contact-info li {
    margin-bottom: 1rem;
    padding-left: 2em; /* Espace pour une icône potentielle */
    position: relative;
}
 /* Optionnel: Ajouter des icônes (nécessite Font Awesome ou autre) */
 /* .contact-info li.address::before { content: '\f3c5'; } */ /* map-marker-alt */
 /* .contact-info li.phone::before { content: '\f095'; } */ /* phone */
 /* .contact-info li.email::before { content: '\f0e0'; } */ /* envelope */
 /* .contact-info li.hours::before { content: '\f017'; } */ /* clock */

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-text-light);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    font-family: var(--font-text);
    font-size: 1rem;
    background-color: var(--color-white);
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
.contact-form button {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
}
.contact-form button:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.map-container {
    margin-top: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-medium);
    overflow: hidden; /* Pour que l'iframe respecte les coins arrondis */
     box-shadow: var(--shadow-light);
}
 .map-container h3 {
    padding: 20px 20px 0 20px; /* Ajoute du padding au titre de la carte */
    margin-bottom: 1rem;
    color: var(--color-primary);
    border-bottom: none; /* Enlève la bordure héritée */
}
.map-container iframe {
    display: block; /* Enlève l'espace sous l'iframe */
    width: 100%;
    height: 400px;
    border: 0;
}

 @media (max-width: 768px) {
     .contact-container {
         flex-direction: column;
     }
 }

/* --- Styles Mobile --- */
@media (max-width: 768px) {
    header .container {
        /* Ajustements potentiels pour le container sur mobile si besoin */
        position: relative; /* Nécessaire pour le positionnement absolu du menu */
    }

    .menu-toggle {
        display: block; /* Affiche le bouton hamburger */
        position: absolute; /* Permet de le placer précisément */
        right: 20px; /* Position à droite */
        top: 50%; /* Centre verticalement par rapport au header */
        transform: translateY(-50%);
        z-index: 1001; /* Au-dessus du reste */
    }

    header nav ul {
        display: none; /* Cache la nav par défaut */
        position: absolute;
        top: 100%; /* Commence juste sous le header */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0; /* Padding vertical dans le menu déroulant */
        padding-left: 0; /* Assurer qu'il n'y a pas de padding gauche */
        border-top: 1px solid var(--color-border); /* Séparation visuelle */
    }

    header nav ul.active {
        display: flex; /* Affiche le menu quand active */
        flex-direction: column; /* Empile les éléments verticalement */
        align-items: center; /* Centre les éléments horizontalement */
    }

    header nav ul li {
        margin-bottom: 15px; /* Espace entre les éléments */
        width: 100%; /* Prend toute la largeur */
        padding-left: 0; /* Assurer qu'il n'y a pas de padding gauche */
        box-sizing: border-box; /* Inclut padding/border dans la largeur */
    }

    header nav ul li:last-child {
        margin-bottom: 0;
    }

    header nav ul li a {
        padding: 15px 0; /* Plus de padding vertical pour mobile */
        display: block; /* Pour que le padding s'applique */
        width: 100%;
        text-align: center; /* Centre les éléments horizontalement */
        box-sizing: border-box; /* Inclut padding/border dans la largeur */
    }

     /* On s'assure que les ::after ne s'affichent pas sur mobile */
    header nav ul li a::after {
        display: none;
    }
}