/* Variables pour les couleurs */
:root {
    --main-bg-color: #fdfaf1;
    --text-color: #53612a;
    --header-bg: #e2e9d9;
    --footer-bg: #e2e9d9;
    --accent-color: #8a9c79;
    --accent-hover: #6a7c59;
    --active-link-color: #d18f97;

    /* Nouvelles variables pour le bouton */
    --btn-bg-color: #fdfaf1;
    --btn-text-color: #53612a;
    --btn-border-color: #53612a;
}

/* Styles de base */
body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-weight: lighter;
}

.mobile-only {
    display: none;
}

.contact {
    color: var(--text-color);
    text-decoration: none;
}

.section-container,
.header-container,
.footer-container {
    max-width: 1200px;
    margin: auto auto;
    padding: 1em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- En-tête (Header) --- */
.site-header {
    background-color: var(--header-bg);
    padding: 0em 0;
    text-transform: uppercase;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
}

/* Styles du menu et du bouton de prise de RDV sur PC */
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav .hamburger {
    display: none;
    font-size: 1.5em;
}

.main-nav .nav-links {
    display: flex;
}

.main-nav .nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

/* Cache le bouton "Prendre RDV" dans le menu mobile sur PC */
.main-nav .nav-links ul .btn-rdv-mobile {
    display: none;
}

.main-nav a,
.legal-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: normal;
}

/* Style du bouton "Prendre RDV" sur PC */
.btn-rdv {
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid var(--btn-border-color);
    font-weight: normal;
    text-transform: uppercase;
}

.buttons-container {
    display: flex;
    justify-content: left;
    gap: 20px;
    margin-top: 40px;
    /* Augmente la marge supérieure pour les descendre */
}

.main-nav .active-link {
    color: var(--active-link-color);
    font-weight: bold;
    text-decoration: none;
    border-bottom: none;
}

/* --- Sections (déjà en place) --- */
.hero-section {
    background-image: url('https://via.placeholder.com/1920x800?text=Image+de+fond');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10em 2em;
    text-align: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.4);
    display: inline-block;
    padding: 1em 2em;
    border-radius: 10px;
}

.psychotherapy-section {
    padding: 0em 0;
}

.psychotherapy-section .section-container {
    display: flex;
    gap: 3em;
    align-items: center;
}

.psychotherapy-section .text-content {
    flex: 1;
    text-align: left;
}

.psychotherapy-section .image-content {
    flex: 1;
}

.psychotherapy-section .image-content img {
    width: 100%;
    height: auto;
}

.fa-solid.fa-leaf {
    display: block;
    margin: 15px auto;
    font-size: 1.3em;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-bottom: 1em;
}

.icon-text i {
    font-size: 2em;
    color: var(--accent-color);
}

.about-section {
    padding: 1em 1em;
}

.about-section .section-container {
    display: flex;
    gap: 4em;
    align-items: center;
    flex-direction: row;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 80%;
    height: auto;
    border-radius: 30px;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
}

.about-text ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.about-text ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    position: absolute;
    left: 0;
}

.pratique-container {
    padding: 1em 0;
}

.pratique-container .section-container {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.map-and-prices,
.access-and-photo {
    display: flex;
    gap: 3em;
    align-items: flex-start;
}

.map-section,
.prices-section,
.access-details,
.building-photo {
    flex: 1;
}

.map-section img,
.building-photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.map-section h2,
.prices-section h2 {
    color: var(--active-link-color);
}

.map-section ul,
.access-details ul {
    list-style: none;
    padding-left: 0;
}

.map-section ul li,
.access-details ul li {
    margin-bottom: 0.5em;
    font-weight: bold;
}

.map-section ul li i,
.access-details ul li i {
    color: var(--accent-color);
    margin-right: 0.5em;
}

.accompagnements-section {
    padding: auto 0;
}

.accompagnements-section .section-container {
    display: flex;
    flex-direction: column;
    gap: 4em;
}

.accompagnements-section .section-container .paragraph {
    text-align: center;
    max-width: 800px;
    margin: 30px auto;
    font-size: 1.3em;
    font-weight: lighter;
}

.page-title {
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: auto;
    text-align: center;
    text-transform: uppercase;
}

.page-subtitle {
    text-align: left;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: lighter;
    font-size: 1.7em;
}

.content-image-layout {
    display: flex;
    gap: 2em;
    align-items: center;
}

.content-image-layout.reverse {
    flex-direction: row-reverse;
}

.text-block,
.image-block {
    flex: 1;
    text-align: justify;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-block ul {
    list-style: none;
    padding-left: 0;
}

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

.text-block ul li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    position: absolute;
    left: 0;
}

/* --- Pied de page (Footer) --- */
.site-footer {
    background-color: var(--footer-bg);

    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    text-align: left;
}

.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

/* --- Media Queries pour le Responsif --- */
@media screen and (max-width: 992px) {
    .text-block {
        text-align: left;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .main-nav {
        display: flex;
        align-items: center;
    }

    .main-nav .hamburger {
        display: block;
        color: var(--text-color);
        background: var(--header-bg);
        border: none;
    }

    /* Le bouton "Prendre RDV" sur desktop est caché */
    .btn-rdv {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .img-mobile {
        display: none;
    }

    /* Le menu complet se cache par défaut */
    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: var(--main-bg-color);
        text-align: center;
        padding-top: 20px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    }

    /* Quand le menu est ouvert, l'afficher */
    .main-nav .nav-links.open {
        display: flex;
    }

    .main-nav .nav-links ul {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
    }

    /* Afficher le bouton dans le menu mobile */
    .main-nav .nav-links ul .btn-rdv-mobile {
        display: block;
    }

    /* Rendre le bouton "Prendre RDV" du menu mobile identique au style desktop */
    .main-nav .nav-links ul .btn-rdv-mobile a {
        background-color: var(--btn-bg-color);
        color: var(--btn-text-color);
        border: 1px solid var(--btn-border-color);
        border-radius: 20px;
        padding: 10px 20px;
        text-transform: uppercase;
    }

    /* Autres ajustements pour le responsive */
    .psychotherapy-section .section-container,
    .about-section .section-container,
    .pratique-container .map-and-prices,
    .pratique-container .access-and-photo,
    .content-image-layout {
        flex-direction: column;
        gap: 1em;
    }

    .accompagnements-section .section-container .paragraph {
        margin: auto auto;
        font-size: 1.2em;
        font-weight: lighter;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .contact-info,
    .legal-links {
        text-align: center;
    }

    .main-nav .active-link {
        border-bottom: none;
    }

    .accompagnements-section .section-container {
        gap: 2em;
    }

    .page-title {
        font-size: 1.7em;
        margin: auto;
        font-weight: lighter;
    }

    .about-image img {
        width: 100%;
    }

    .logo img {
        height: 60px;
    }
}

@media screen and (max-width: 576px) {
    .hero-section {
        padding: 5em 1em;
    }
}