:root {
    --brand-brown: #322523;
    --brand-brown-header: #241A18;
    --brand-orange: #F36B00;
    --brand-orange-hover: #D85D00;
    --card-bg: #FFFFFF;
    --text-dark: #222222;
    --text-muted: #555555;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Roboto', system-ui, -apple-system, sans-serif; }

body {
    background: linear-gradient(rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.45)), 
                url('../images/bg-content.jpg') center/cover no-repeat fixed;
    color: #FFFFFF;
    min-height: 100vh;
    line-height: 1.5;
}

/* Fond propre à la page plerin-st-laurent : photo de la façade */
body.page-plerin-st-laurent {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-plerin-st-laurent.jpg') 45% center/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-plerin-st-laurent { background-position: 44% center; }
}

/* Fond propre à la page ploufragan : photo de la façade */
body.page-ploufragan {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-ploufragan.jpg') center 10%/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-ploufragan { background-position: 50% center; }
}

/* Fond propre à la page pordic : photo de la façade */
body.page-pordic {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-pordic.jpg') center top/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-pordic { background-position: 50% center; }
}

/* Fond propre à la page st-quay : photo de la façade */
body.page-st-quay {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-st-quay.jpg') center/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-st-quay { background-position: 50% center; }
}

/* Fond propre à la page Guingamp : photo de la façade */
body.page-guingamp {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-guingamp.jpg') center top/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-guingamp { background-position: 59% center; }
}

/* Fond propre à la page Plérin Centre : photo de la façade */
body.page-plerin-centre {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-plerin-centre.jpg') center 20%/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-plerin-centre { background-position: 52% center; }
}

/* Fond propre à la page Saint-Brieuc Centre (Le Martray) : photo de la façade */
body.page-centre {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-centre.jpg') center/cover no-repeat fixed;
}
@media (max-width: 700px) {
    body.page-centre { background-position: 50% center; }
}

/* Fond propre à la page Saint-Brieuc Ouest : photo de la façade */
body.page-ouest {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-ouest.jpg') 72% center/cover no-repeat fixed;
}
/* Mobile (écran étroit) : on recentre sur la vitrine */
@media (max-width: 700px) {
    body.page-ouest { background-position: 30% center; }
}

/* Fond propre à la page Saint-Brieuc Corderie : photo de la façade */
body.page-corderie {
    background: linear-gradient(rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.55)),
                url('../images/facades/facade-corderie.jpg') center/cover no-repeat fixed;
}

/* --- BANDEAU ET NAVIGATION --- */
.top-bar {
    background-color: #FFFFFF;
    color: #222222;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.top-bar-brand { display: flex; align-items: center; }
.header-logo { height: 52px; width: auto; display: block; }

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 30px;
}

.top-bar-cities {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.top-bar-cities a {
    color: var(--brand-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    cursor: pointer;
}

.top-bar-cities a:hover, .top-bar-cities a.active { color: var(--brand-orange); }

.top-bar-cities li:not(:last-child)::after {
    content: "•";
    margin-left: 22px;
    color: #CCC;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333;
    font-size: 0.95rem;
    white-space: nowrap;
}

.phone-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    line-height: 1.3;
}

.top-bar-contact a {
    color: var(--brand-brown);
    text-decoration: none;
    font-weight: 700;
}

.top-bar-contact a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.phone-ico { width: 22px; height: 22px; }

/* BOUTON BURGER (Mobile) */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--brand-brown);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* MEDIA QUERIES (MOBILE) */
@media (max-width: 1024px) {
    .burger-btn {
        display: flex;
    }

    .nav-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        margin-left: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        border-top: 1px solid #EEE;
        gap: 20px;
    }

    .nav-menu-wrapper.is-active {
        display: flex;
    }

    .top-bar-cities {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .top-bar-cities li:not(:last-child)::after {
        content: "";
        margin-left: 0;
    }

    .top-bar-contact {
        border-top: 1px solid #EEE;
        padding-top: 15px;
        flex-direction: flex-start;
        align-items: flex-start;
        white-space: normal;
    }

    .phone-lines {
        align-items: flex-start;
        text-align: left;
    }
}

/* --- STYLES CONTENU PAGE --- */
.hero-laverie {
    padding: 40px 20px 50px 20px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-laverie h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.hours-badge {
    display: inline-block;
    background-color: var(--brand-orange);
    color: #FFF;
    padding: 8px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(243, 107, 0, 0.4);
    margin-bottom: 25px;
}

.laverie-description {
    background-color: rgba(0, 0, 0, 0.08); /* Fond extrêmement léger */
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 0 auto 25px auto;
    max-width: 620px;
    backdrop-filter: blur(3px); /* Flou très léger */
    -webkit-backdrop-filter: blur(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.05rem;
    line-height: 1.6;
    color: #FFFFFF;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.95); /* Ombre nette pour garantir la lisibilité */
}

.laverie-description p { 
    margin-bottom: 8px; 
}

.laverie-description p:last-child { 
    margin-bottom: 0; 
}

/* Titre "A votre disposition :" */
.laverie-description p:first-child {
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
/* Mise en valeur de la première ligne "À votre disposition :" */
.laverie-description p:first-child {
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Mise en avant des machines */
.laverie-description p:nth-child(2),
.laverie-description p:nth-child(3) {
    font-weight: 600;
}

/* Mise en valeur du titre d'introduction */
.laverie-description p:first-child {
    font-weight: 700;
    color: var(--brand-orange);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.laverie-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.laverie-address svg { fill: var(--brand-orange); flex-shrink: 0; }

.btn-access {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
}

.btn-access:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #FFF;
    box-shadow: 0 3px 10px rgba(243, 107, 0, 0.4);
}

.services-section {
    background-color: #FFFFFF;
    color: var(--text-dark);
    padding: 50px 20px;
}

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

.services-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--brand-brown);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    list-style: none;
    text-align: center;
}

.service-item { display: flex; flex-direction: column; align-items: center; }
.service-item img { height: 60px; width: auto; margin-bottom: 15px; }
.service-item h3 { font-size: 1.1rem; color: var(--brand-brown); margin-bottom: 8px; font-weight: 700; }
.service-item p { font-size: 0.95rem; color: var(--text-muted); }

footer {
    background-color: var(--brand-brown-header);
    color: #AAA;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.85rem;
}

footer a { color: #CCC; text-decoration: none; }
footer a:hover { color: var(--brand-orange); }

/* ===================== GALERIE PHOTOS (page laverie) ===================== */
/* La section réutilise .services-section (fond blanc, titre h2) : elle n'ajoute que le carrousel. */
.galerie-section { padding-bottom: 10px; }
.galerie-section + .services-section { padding-top: 40px; }

.galerie { position: relative; }

.galerie-track {
    display: flex;
    gap: 16px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;            /* Firefox */
    -webkit-overflow-scrolling: touch;
}
.galerie-track::-webkit-scrollbar { display: none; }

/* 3 photos visibles sur ordinateur, 2 sur tablette, 1 et demie sur téléphone (on devine la suivante) */
.galerie-track li { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }
/* Moins de photos que de places : la rangée est centrée (les marges auto tombent à 0 si ça déborde) */
.galerie-track li:first-child { margin-left: auto; }
.galerie-track li:last-child { margin-right: auto; }
@media (max-width: 900px) { .galerie-track li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .galerie-track li { flex-basis: 82%; } }

.galerie-track a { display: block; border-radius: 10px; overflow: hidden; background: #E9E4E1; }
.galerie-track img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.galerie-track a:hover img { transform: scale(1.03); }
.galerie-track a:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; }

.galerie-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--brand-brown);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.galerie-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.galerie-btn:hover { background: var(--brand-orange); color: #FFFFFF; }
.galerie-btn:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }
.galerie-btn[disabled] { opacity: 0; pointer-events: none; }
.galerie-prev { left: -16px; }
.galerie-next { right: -16px; }
@media (max-width: 1200px) { .galerie-prev { left: 8px; } .galerie-next { right: 8px; } }
.galerie-btn[hidden] { display: none; }

/* ---- Lightbox (photo en grand) ---- */
.lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
}
.lightbox::backdrop { background: rgba(24, 16, 14, 0.94); }
.lightbox-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 56px 64px 28px;
}
.lightbox-img { max-width: 100%; max-height: calc(100% - 56px); object-fit: contain; border-radius: 6px; }
.lightbox-caption { font-size: 0.95rem; color: #E6DCD7; text-align: center; max-width: 70ch; }
.lightbox-btn {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.lightbox-btn:hover { background: var(--brand-orange); }
.lightbox-btn:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }
.lightbox-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev  { left: 10px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox-inner { padding: 60px 12px 20px; } }

/* Bouton pause / lecture du défilement automatique */
.galerie-controls { display: flex; justify-content: center; margin-top: 16px; }
.galerie-controls[hidden] { display: none; }
.galerie-pause {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    border: 1px solid #CFC6C2;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--brand-brown);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.galerie-pause svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.galerie-pause:hover { background: var(--brand-orange); border-color: var(--brand-orange); color: #FFFFFF; }
.galerie-pause:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .galerie-track img, .galerie-btn, .lightbox-btn, .galerie-pause { transition: none; }
    .galerie-track a:hover img { transform: none; }
}

/* ===================== TEXTE LOCAL, QUESTIONS FREQUENTES, AUTRES LAVERIES ===================== */
.seo-section { padding-top: 20px; }
.seo-text { max-width: 820px; margin: 0 auto; text-align: left; line-height: 1.7; color: #3A302C; }
.seo-text p { margin-bottom: 16px; }
.seo-text h3 { margin: 26px 0 8px; font-size: 1.1rem; color: var(--brand-brown); }
.autres-laveries { padding-top: 10px; padding-bottom: 50px; }
.autres-liste { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; padding: 0; margin: 0; }
.autres-liste a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #D8CFCA;
    border-radius: 999px;
    color: var(--brand-brown);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.autres-liste a:hover, .autres-liste a:focus-visible { background: var(--brand-orange); border-color: var(--brand-orange); color: #FFFFFF; }
