/* --- BASES & TYPOGRAPHIE --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Empêche tout scroll horizontal accidentel */
}

body {
    background-color: #cdfafc;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'century Gothic', sans-serif;
}

h1, h2, h3, h4 {
    color: #FF7F50;
    font-size: 35px;
    font-family: 'Gill Sans', sans-serif;
    text-align: center;
}

/* --- BARRE DE CONTACT (TOP) --- */
.bar {
    background: #F5907A;
    padding: 10px 0;
    display: flex;
    justify-content: center; /* Centré par défaut sur mobile */
}

@media (min-width: 768px) {
    .bar {
        justify-content: flex-end; /* Aligné à droite sur PC */
        padding-right: 50px;
    }
}

.telnum {
    color: #333;
    font-family: Georgia, serif;
}

.telnum span {
    margin: 0 15px;
}

/* --- HEADER & NAVIGATION --- */
.headerk {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.logo-container {
    display: flex;
    flex-direction: column; /* L'un sous l'autre sur mobile */
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .logo-container {
        flex-direction: row; /* Côte à côte sur PC */
        justify-content: space-around;
    }
}

header img {
    max-width: 250px; /* Taille raisonnable pour le logo */
    height: auto !important;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Permet de passer à la ligne si trop de liens */
    justify-content: center;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* --- CONTENU PRINCIPAL --- */
.page-content {
    flex: 1;
    padding: 40px 15px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

/* On centre les listes sans utiliser TranslateX */
.page-content ul {
    display: inline-block;
    text-align: left;
    margin: 20px auto;
}

.page-content p {
    text-align: left;
    max-width: 800px;
    margin: 20px auto;
}

/* --- FOOTER (STABLE) --- */
.site-footer {
    background-color: #212529;
    color: white;
    padding: 40px 15px;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Empilé sur mobile */
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row; /* Aligné sur PC */
        justify-content: center;
        gap: 100px;
    }
}

.footer-widget {
    list-style: none;
    padding: 0;
}

.footer-widget a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
}

/* --- IMAGES RESPONSIVES --- */
img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 0 auto;
}