/* ==========================================================================
   THEME HOLISTYC - VERSION FINALE (AVEC MENU BOUTONS)
   ========================================================================== */

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fcfcfc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: #2a5c68; margin-bottom: 15px; }

/* --- HEADER --- */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 5%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.header-logo { max-height: 60px; width: auto; }

.header-slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- MENU NAVIGATION (TRANSFORMÉ EN BOUTONS) --- */
.navigation-menu {
    list-style: none;
    display: flex;
    gap: 15px; /* Espace entre chaque bouton du menu */
    margin: 0;
    padding: 0;
}

/* Design des boutons inactifs */
.navigation-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2a5c68 !important; /* Bleu canard */
    background-color: transparent;
    border: 2px solid #2a5c68; /* Contour du bouton */
    padding: 8px 20px;
    border-radius: 25px; /* Forme de pilule */
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Design au survol et page active */
.navigation-menu li a:hover,
.navigation-menu li.active a {
    background-color: #2a5c68 !important; /* Remplissage */
    color: #ffffff !important; /* Texte en blanc */
    box-shadow: 0 4px 10px rgba(42, 92, 104, 0.2);
}

/* --- BOUTON RETOUR --- */
.bouton-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #d35400; /* Orange */
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.bouton-retour:hover {
    background-color: #b04600; /* Orange plus foncé */
    transform: translateY(-2px);
}

.home .bouton-retour { display: none; }

/* --- CONTENU --- */
main { flex: 1; padding: 40px 5%; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #2a5c68;
    color: #ffffff;
    padding: 60px 5% 30px;
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: #7fb069;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

/* Liens Footer */
.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.site-footer a:hover {
    color: #7fb069 !important;
}

.footer-contact-info {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Réseaux Sociaux */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    font-size: 1.2rem;
}

/* Bas du Footer */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* --- RESPONSIVE MOBILE & TABLETTE --- */
@media screen and (max-width: 1024px) {
    .header-top { flex-direction: column; gap: 20px; }
    .header-right { flex-direction: column; gap: 15px; }
    
    /* Sur mobile, on autorise le menu à s'afficher sur plusieurs lignes si besoin */
    .navigation-menu { flex-wrap: wrap; justify-content: center; }
    
    .footer-container { justify-content: center; text-align: center; }
    .footer-col { min-width: 100%; }
    .footer-logo { margin: 0 auto 20px; }
    .social-links { justify-content: center; }
    .footer-contact-info { justify-content: center; }
}