/* ================================================
   PAGES CHAMBRES D'HÔTES — sections communes
   (Capucine & Prunelia)
   Les couleurs propres à chaque chambre sont
   définies dans capucine.css / prunelia.css :
   --ch-fond, --ch-accent, --ch-cadre
   ================================================ */

.chambre {
    background-color: var(--ch-fond);
    color: #2C2B28;
}

.label {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #B8965A;
    margin-bottom: 0.7rem;
}

.trait {
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, rgba(184, 150, 90, 0.15), #B8965A 50%, rgba(184, 150, 90, 0.15));
    margin: 12px auto 0;
}

/* Libellé de la section "Découvrir aussi" (sur photo) */
.autresection .label-autre {
    color: rgba(255, 255, 255, 0.8);
}

.ch-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto clamp(32px, 4vw, 52px);
}

.ch-section-head .trait {
    margin: 12px auto 1.2rem;
}

.ch-section-head p {
    color: #7A7169;
    line-height: 1.8;
}

/* ================================================
   PRÉSENTATION + FICHE
   ================================================ */
.ch-intro {
    display: flex;
    gap: clamp(40px, 6vw, 96px);
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 112px) clamp(40px, 5vw, 64px);
    box-sizing: border-box;
}

.ch-intro-text {
    flex: 1;
}

.ch-intro-text .trait {
    margin: 12px 0 1.6rem;
}

.ch-intro-text p {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.85;
    font-weight: 300;
    color: #4A4540;
    margin-bottom: 1rem;
}

.ch-fiche {
    flex: 0 0 300px;
    background: #FFFFFF;
    border: 1px solid rgba(184, 150, 90, 0.25);
    border-top: 3px solid var(--ch-accent);
    padding: 28px 28px 30px;
    box-shadow: 0 18px 40px rgba(60, 35, 15, 0.07);
    box-sizing: border-box;
}

.ch-fiche-prix {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(44, 37, 32, 0.08);
}

.ch-fiche-label,
.ch-fiche-liste dt {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B8965A;
    margin-bottom: 4px;
}

.ch-fiche-montant {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 3.4vw, 52px);
    font-weight: 500;
    line-height: 1;
    color: #2C2B28;
}

.ch-fiche-unite {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #7A7169;
    margin-left: 6px;
}

.ch-fiche-liste {
    margin: 0;
}

.ch-fiche-liste > div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(44, 37, 32, 0.08);
}

.ch-fiche-liste > div:last-child {
    border-bottom: none;
}

.ch-fiche-liste dd {
    margin: 0;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: #2C2B28;
}

.ch-bouton {
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: white;
    background: #2C2B28;
    border: 1px solid #2C2B28;
    padding: 15px 20px;
    margin-top: 10px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ch-bouton:hover {
    background: var(--ch-accent);
    border-color: var(--ch-accent);
}

/* ================================================
   GALERIE MOSAÏQUE
   ================================================ */
.ch-galerie {
    padding: 0 clamp(32px, 6vw, 112px) clamp(56px, 7vw, 96px);
}

.mosaique {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, clamp(170px, 17vw, 250px));
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.mosaique--5 {
    grid-template-columns: 2fr 1fr 1fr;
}

.mosaique-item {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    background: var(--ch-cadre);
    overflow: hidden;
    cursor: zoom-in;
}

.mosaique-item:first-child {
    grid-row: span 2;
}

.mosaique-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.mosaique-item:hover img {
    transform: scale(1.04);
}

.mosaique-item:focus-visible {
    outline: 2px solid var(--ch-accent);
    outline-offset: 3px;
}

.mosaique-compteur {
    position: absolute;
    left: 16px;
    bottom: 16px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: white;
    background: rgba(44, 37, 32, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 14px;
    pointer-events: none;
}

/* ================================================
   LIGHTBOX
   ================================================ */
.ch-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 20, 17, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
}

.ch-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.ch-lightbox img {
    max-width: min(88vw, 1300px);
    max-height: 82vh;
    object-fit: contain;
    display: block;
}

.ch-lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    padding: 12px;
    transition: color 0.2s;
}

.ch-lightbox button:hover {
    color: white;
}

.ch-lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ch-lightbox-prev,
.ch-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
}

.ch-lightbox-prev { left: 12px; }
.ch-lightbox-next { right: 12px; }

.ch-lightbox-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 0.2em;
}

/* ================================================
   INCLUS
   ================================================ */
.ch-inclus {
    background: #FFFFFF;
    padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 112px);
}

.ch-inclus-grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 40px);
}

.ch-inclus-grid li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.ch-inclus-icone {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ch-fond);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-inclus-icone img {
    width: 28px;
    height: 28px;
    opacity: 0.65;
}

.ch-inclus-grid span {
    font-family: 'Jost', sans-serif;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 300;
    line-height: 1.5;
    color: #2C2B28;
}

/* ================================================
   PETIT-DÉJEUNER
   ================================================ */
.ch-matin {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 112px);
    box-sizing: border-box;
}

.ch-matin-img {
    flex: 0 0 48%;
    overflow: hidden;
    border: 6px solid var(--ch-cadre);
}

.ch-matin-img img {
    width: 100%;
    height: clamp(260px, 30vw, 420px);
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.ch-matin-img:hover img {
    transform: scale(1.04);
}

.ch-matin-text {
    flex: 1;
}

.ch-matin-text .trait {
    margin: 12px 0 1.6rem;
}

.ch-matin-text p {
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.85;
    color: #4A4540;
    margin-bottom: 1rem;
}

.ch-matin-text strong {
    font-weight: 500;
}

/* ================================================
   LA MAISON — ESPACES PARTAGÉS
   ================================================ */
.ch-maison {
    background: #FFFFFF;
    padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 112px);
}

.ch-maison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 36px);
    max-width: 1200px;
    margin: 0 auto;
}

.ch-maison-card {
    margin: 0;
}

.ch-maison-img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    margin-bottom: 18px;
}

.ch-maison-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.ch-maison-card:hover .ch-maison-img img {
    transform: scale(1.04);
}

.ch-maison-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 400;
    color: #2C2B28;
    margin: 0 0 6px;
}

.ch-maison-card p {
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.7;
    color: #7A7169;
}

/* ================================================
   TARIFS
   ================================================ */
.ch-tarifs {
    padding: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 112px);
}

.ch-tarif-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 2.5vw, 32px);
    max-width: 820px;
    margin: 0 auto;
}

.ch-tarif-card {
    background: #FFFFFF;
    border: 1px solid rgba(184, 150, 90, 0.3);
}

.ch-tarif-header {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(184, 150, 90, 0.2);
}

.ch-tarif-card--haute {
    border-color: #2C2B28;
}

.ch-tarif-card--haute .ch-tarif-header {
    background: #2C2B28;
    border-bottom-color: #2C2B28;
}

.ch-tarif-saison {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 400;
    color: #2C2B28;
}

.ch-tarif-periode {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #B8965A;
    margin-top: 4px;
}

.ch-tarif-card--haute .ch-tarif-saison {
    color: white;
}

.ch-tarif-rows {
    list-style: none;
    margin: 0;
    padding: 8px 28px 12px;
}

.ch-tarif-rows li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(184, 150, 90, 0.15);
    font-family: 'Jost', sans-serif;
}

.ch-tarif-rows li:last-child {
    border-bottom: none;
}

.ch-tarif-rows span {
    font-size: 15px;
    font-weight: 300;
    color: #7A7169;
}

.ch-tarif-rows strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 2vw, 30px);
    font-weight: 500;
    line-height: 1;
    color: #2C2B28;
}

.ch-tarif-note {
    max-width: 820px;
    margin: 24px auto 0;
    padding: 14px 22px;
    background: rgba(255, 255, 255, 0.55);
    border-left: 3px solid #B8965A;
    box-sizing: border-box;
    font-size: 14px;
    font-style: italic;
    line-height: 1.8;
    color: #7A7169;
}

.ch-tarifs-cta {
    max-width: 820px;
    margin: 32px auto 0;
    text-align: center;
}

.ch-tarifs-cta .ch-bouton {
    display: inline-block;
    padding: 16px 40px;
}

/* ================================================
   MOBILE — max 1100px
   ================================================ */
@media (max-width: 1100px) {

    .ch-intro {
        flex-direction: column;
        gap: 36px;
        padding: 48px 20px 36px;
    }

    .ch-fiche {
        flex: none;
        width: 100%;
    }

    .ch-galerie {
        padding: 0 20px 56px;
    }

    .ch-inclus,
    .ch-maison,
    .ch-tarifs {
        padding: 56px 20px;
    }

    .ch-inclus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ch-matin {
        flex-direction: column;
        gap: 32px;
        padding: 56px 20px;
    }

    .ch-matin-img {
        flex: none;
        width: 100%;
        box-sizing: border-box;
        border-width: 4px;
    }

    .ch-matin-img img {
        height: 260px;
    }

    .ch-maison-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 560px;
    }
}

/* ================================================
   MOBILE — max 700px
   ================================================ */
@media (max-width: 700px) {

    .mosaique,
    .mosaique--5 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 8px;
    }

    .mosaique-item {
        aspect-ratio: 1 / 1;
    }

    .mosaique-item:first-child {
        grid-row: auto;
        grid-column: span 2;
        aspect-ratio: 4 / 3;
    }

    .ch-tarif-grid {
        grid-template-columns: 1fr;
    }

    .ch-tarifs-cta .ch-bouton {
        display: block;
    }

    .ch-lightbox img {
        max-width: 100vw;
    }

    .ch-lightbox-prev,
    .ch-lightbox-next {
        top: auto;
        bottom: 8px;
        transform: none;
    }
}

/* ================================================
   MOBILE — max 480px
   ================================================ */
@media (max-width: 480px) {

    .ch-intro {
        padding: 40px 16px 32px;
    }

    .ch-fiche {
        padding: 22px 20px 24px;
    }

    .ch-galerie {
        padding: 0 16px 48px;
    }

    .ch-inclus,
    .ch-maison,
    .ch-tarifs,
    .ch-matin {
        padding: 48px 16px;
    }

    .ch-inclus-grid {
        gap: 28px 12px;
    }

    .ch-tarif-header {
        padding: 18px 20px;
    }

    .ch-tarif-rows {
        padding: 4px 20px 8px;
    }
}
