/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Noto+Serif:ital,wght@0,400;0,600;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Variables CSS pour la cohérence */
:root {
    --primary-color: #8B4513; /* Marron foncé */
    --secondary-color: #DAA520; /* Jaune doré */
    --accent-color: #CD853F; /* Brun clair */
    --text-dark: #2C2C2C;
    --text-light: #666;
    --background-light: #FDF5E6; /* Beige très clair */
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(to right, #D4AF37, #FFD700, #DAA520); /* Gradient doré */
}

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0 0; /* Padding top pour l'image et le titre */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrer le bloc logo+titre */
    margin-bottom: 20px; /* Espace sous le titre avant la nav */
    flex-wrap: wrap; /* Permet de passer à la ligne sur petits écrans */
}

.logo {
    height: 80px; /* Taille de l'icône du dragon */
    margin-right: 20px;
    object-fit: contain;
}

.site-title {
    text-align: center; /* Centrer le texte du titre et sous-titre */
}

.site-title h1 {
    font-family: 'Cinzel', serif;
    color: #800000; /* Rouge foncé */
    font-size: 2.5em;
    margin: 0;
    line-height: 1.2;
}

.site-title .site-subtitle {
    font-family: 'Raleway', sans-serif;
    color: #666666; /* Gris foncé */
    font-size: 0.9em;
    margin-top: 5px;
}

/* Navigation */
.navigation {
    background-color: var(--primary-color);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item .nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* Empêche les liens de se couper */
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--secondary-color); /* Jaune doré au survol */
    color: var(--text-dark); /* Texte foncé au survol */
}

}

/* Main Content Wrapper */
.main-content {
    padding: 40px 0;
}

.content-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0; /* Initial state for fade-in effect */
    transform: translateY(20px);
    animation: fadeInSlideUp 0.8s ease-out forwards;
}

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

.content-card h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.content-card h3 {
    font-family: 'Noto Serif', serif;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.content-card p,
.content-card li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.content-card ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-card ol {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Specific styles for Acces page */
.address-map-section {
    display: flex;
    flex-direction: column; /* Force items to stack */
    align-items: center; /* Center items horizontally when stacked */
    gap: 30px;
    margin-bottom: 40px;
}

.address-info {
    width: 100%; /* Allows address info to take full width */
    max-width: 600px; /* Optional: limit max width for address info */
    text-align: center; /* Center text inside address info */
}

.address-info p {
    margin: 5px 0;
}

.map-container {
    width: 100%; /* Ensure map container takes full width */
    display: flex; /* Use flex to center the iframe */
    justify-content: center; /* Center iframe horizontally */
}

.map-container iframe {
    width: 100%;
    max-width: 600px; /* Max width for the iframe itself */
    height: 450px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.traffic-info p {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

.contact-info {
    text-align: center;
    margin-top: 30px;
}

.contact-info .contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2em;
}

.contact-info .contact-email a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}


/* Specific styles for Presentation page */
.presentation-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.presentation-content ul {
    list-style-type: square;
    margin-left: 25px;
    margin-top: 15px;
}

.presentation-content li {
    margin-bottom: 8px;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Specific styles for Rendez-vous page */
.appointment-section {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}
.appointment-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.8em;
    margin-bottom: 20px;
}
.appointment-section .advice {
    background-color: #ffe0b2; /* Light orange background for advice */
    border-left: 5px solid var(--accent-color);
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 700px;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.appointment-section .advice p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-dark);
}

/* Corrected CTA Appointment Button Style */
.cta-appointment-button {
    display: inline-block;
    background-color: #CC0000; /* Rouge vif par défaut */
    color: var(--white);
    padding: 18px 35px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
    margin-bottom: 20px;
}

.cta-appointment-button:hover {
    background-color: var(--secondary-color); /* Jaune doré au survol */
    color: var(--text-dark); /* Texte foncé au survol */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}


.contact-cta {
    margin-top: 50px;
    text-align: center;
    background: var(--background-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}
.contact-cta h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-cta p {
    margin-bottom: 25px;
}

/* CTA Buttons (General) */
.cta-buttons {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.cta-button,
a.cta-button:link, /* Ajouté pour une spécificité accrue */
a.cta-button:visited /* Ajouté pour une spécificité accrue */
{
    display: inline-block;
    background-color: var(--secondary-color); /* Couleur de fond par défaut */
    color: var(--text-dark); /* Couleur du texte par défaut */
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 0 10px; /* Espace entre les boutons */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cta-button:hover,
a.cta-button:hover { /* S'applique également au survol avec la spécificité */
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-button.primary-cta,
a.cta-button.primary-cta:link,
a.cta-button.primary-cta:visited {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.primary-cta:hover,
a.cta-button.primary-cta:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}



 

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.9em;
}

.footer p {
    margin: 5px 0;
}

/* Chinese Decoration Divider */
.chinese-decoration {
    border-bottom: 1px dotted var(--accent-color);
    margin: 40px auto;
    width: 80%;
    max-width: 400px;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

/* --- Début des styles spécifiques pour la page Spécialités --- */

.consultation-process h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.consultation-process p strong {
    color: var(--accent-color);
}

.consultation-steps {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Espace entre chaque étape */
    margin-top: 30px;
}

.step-item {
    display: flex;
    align-items: center; /* Aligner verticalement l'image et le texte */
    gap: 20px; /* Espace entre l'image et le texte */
    background-color: #fcfcfc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-item.reverse {
    flex-direction: row-reverse; /* Pour alterner l'ordre image/texte */
}

.step-item .step-text {
    flex: 1; /* Le texte prend l'espace restant */
}

.step-item .step-text h4 {
    font-family: 'Noto Serif', serif;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.step-item .step-text p {
    margin: 0;
    line-height: 1.5;
}

.step-item .step-image {
    flex-shrink: 0; /* Empêche l'image de rétrécir */
    width: 150px; /* Largeur fixe pour les images */
    height: auto; /* Maintient le ratio d'aspect */
    text-align: center;
}

.step-item .step-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Styles pour les sections techniques et tarifs */
.techniques-tarifs h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.techniques-tarifs ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 30px;
}

.techniques-tarifs li {
    margin-bottom: 8px;
}


/* Styles pour les boutons "spoiler" */
.spoiler-tgl {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 15px;
    display: block; /* Pour qu'il prenne sa propre ligne */
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content; /* S'adapte à la largeur du texte */
    text-decoration: none; /* Pour que le lien ne soit pas souligné */
}

.spoiler-tgl:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contenu "spoiler" caché par défaut */
.spoiler-body {
    max-height: 0; /* Cache le contenu */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out; /* Transition douce pour l'ouverture/fermeture */
    background-color: #f9f9f9;
    padding: 0 20px; /* Padding vertical à 0 quand fermé */
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

.spoiler-body.show {
    max-height: 1000px; /* Une valeur suffisamment grande pour contenir le contenu */
    padding: 20px; /* Applique le padding quand ouvert */
}

.spoiler-body p,
.spoiler-body div {
    margin-bottom: 10px;
}

/* --- Fin des styles spécifiques pour la page Spécialités --- */

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .site-title h1 {
        font-size: 2em;
    }

    .site-title .site-subtitle {
        font-size: 0.8em;
    }

    .nav-item {
        margin: 0 8px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.9em;
    }

    .content-card {
        padding: 20px;
    }

    .content-card h2 {
        font-size: 1.8em;
    }

    .content-card h3 {
        font-size: 1.3em;
    }

    .map-container iframe {
        height: 300px;
    }



    .step-item {
        flex-direction: column; /* Les éléments s'empilent sur petits écrans */
        text-align: center;
    }
    .step-item.reverse {
        flex-direction: column; /* Pas d'inversion sur petits écrans */
    }
    .step-item .step-image {
        margin-bottom: 15px; /* Espace sous l'image */
    }
    .step-item .step-image img {
        width: 120px; /* Ajuste la taille de l'image pour petits écrans */
        height: auto;
    }
    .spoiler-tgl {
        max-width: 90%; /* Ajuste la largeur du bouton spoiler */
    }
}

/* Styles pour la page d'accueil */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px; /* Ajustez selon vos préférences */
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Couvre la zone sans déformer */
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Assombrir l'image légèrement */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.hero-overlay h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-overlay p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2em;
    max-width: 700px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.contact-info-home {
    text-align: right;
    margin-top: 30px;
    padding-right: 20px;
}

.contact-info-home h3 {
    font-family: 'Arial', sans-serif; /* Peut être changé pour correspondre au style */
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-home p {
    margin: 3px 0;
    color: var(--text-dark);
}

.contact-info-home .phone-number {
    font-weight: bold;
    color: #800000; /* Rouge foncé */
    font-size: 1.1em;
}

/* Styles pour la section de contact en bas de l'index.html */
.index-contact-footer {
    padding: 30px 0;
    text-align: right;
    max-width: 1000px; /* Aligner avec le conteneur principal si souhaité */
    margin: 0 auto;
    padding-right: 20px; /* Conserver le padding droit */
}

.index-contact-footer h3 {
    font-family: 'Arial', sans-serif; /* Conserver Arial ou ajuster */
    color: var(--text-dark);
    margin-bottom: 5px;
}

.index-contact-footer p {
    margin: 3px 0;
    color: var(--text-dark);
}

.index-contact-footer .phone-number {
    font-weight: bold;
    color: #800000; /* Rouge foncé */
    font-size: 1.1em;
}

.formation-content {
    display: flex;
    align-items: flex-start; /* aligne en haut */
    gap: 20px; /* espace entre l’image et la liste */
}

.portrait-medallion {
   /* width: 120px;
   /* height: 120px;
    /*border-radius: 50%;  rend la photo circulaire */
   /* object-fit: cover; /* évite les déformations */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* petite ombre élégante */
}

.portrait-float {
    float: left;                /* fait flotter l’image */
    width: auto;               /* ajuste selon ta préférence */
    height: auto;               /* conserve les proportions */
    margin: 0 20px 10px 0;      /* espace autour de l’image */
    shape-outside: ellipse();   /* dit au texte d’épouser la forme ovale */
    shape-margin: 8px;          /* petit espace tampon autour */
}


/* Media query pour le bas de page de l'index sur petits écrans */
@media (max-width: 768px) {
    .index-contact-footer {
        text-align: center; /* Centrer le texte sur petits écrans */
        padding-right: 0; /* Supprimer le padding droit excessif */
    }
}
