/**
 * Pages SPA Tchatcha — typographie & composants premium
 */
body.ht-spa-active #ht-page-content .ht-page-premium {
    font-family: 'Lato', sans-serif;
    color: #858a99;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-page-body {
    padding: 0 0 4.5rem;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-page-body > .ht-wrap {
    padding-top: 3.25rem;
    max-width: 1140px;
}

/* Hero */
body.ht-spa-active #ht-page-content .ht-page-premium .ht-page-hero {
    min-height: 46vh;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-page-hero .ht-label {
    display: inline-block;
    letter-spacing: var(--ht-label-tracking, 0.12em);
    text-transform: uppercase;
    font-size: var(--ht-label-size, 0.95rem);
    font-weight: 700;
    opacity: 1;
    margin-bottom: 0.75rem;
}

/* Hero h1 : voir ht-titles.css (Nunito comme index) */

body.ht-spa-active #ht-page-content .ht-page-premium .ht-page-hero .ht-hero-sub {
    font-size: 1.15rem;
    max-width: 40ch;
    line-height: 1.55;
    margin-top: 0.75rem;
}

/* Textes */
body.ht-spa-active #ht-page-content .ht-page-premium .ht-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--ht-text, #1f2937);
    max-width: 62ch;
    margin: 0 0 2rem;
}

/* .ht-section-title / .ht-section-sub : ht-titles.css */

/* Stats band (réutilisé about + rooms) */
body.ht-spa-active #ht-page-content .ht-stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
}

body.ht-spa-active #ht-page-content .ht-stats-band__item {
    text-align: center;
    padding: 1.25rem 0.85rem;
    background: var(--ht-primary-light, #faf6ee);
    border: 1px solid rgba(222, 182, 102, 0.35);
    border-radius: var(--ht-radius, 12px);
}

body.ht-spa-active #ht-page-content .ht-stats-band__value {
    display: block;
    font-family: var(--ht-font-display, Georgia, serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ht-dark);
}

body.ht-spa-active #ht-page-content .ht-stats-band__label {
    display: block;
    margin-top: 0.3rem;
    font-size: var(--ht-text-uniform, 17px);
    color: var(--ht-muted);
    line-height: 1.45;
}

/* Grille chambres premium */
body.ht-spa-active #ht-page-content .ht-room-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

body.ht-spa-active #ht-page-content .ht-room-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--ht-radius, 12px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

body.ht-spa-active #ht-page-content .ht-room-card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 182, 102, 0.55);
    box-shadow: var(--ht-shadow, 0 12px 40px rgba(222, 182, 102, 0.18));
}

body.ht-spa-active #ht-page-content .ht-room-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

body.ht-spa-active #ht-page-content .ht-room-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-room-card:hover .ht-room-card__media img {
    transform: scale(1.04);
}

body.ht-spa-active #ht-page-content .ht-room-card__price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.45rem 0.85rem;
    background: rgba(18, 18, 18, 0.88);
    color: var(--ht-primary, #deb666);
    font-weight: 700;
    font-size: 17px;
    border-radius: 8px;
    line-height: 1.35;
}

body.ht-spa-active #ht-page-content .ht-room-card__price small {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

body.ht-spa-active #ht-page-content .ht-room-card__body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

body.ht-spa-active #ht-page-content .ht-room-card__body h3 {
    font-size: 18px;
    color: #606060;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

body.ht-spa-active #ht-page-content .ht-room-card__desc {
    font-size: 17px;
    color: var(--ht-muted);
    line-height: 1.65;
    margin: 0 0 1rem;
    flex: 1;
}

body.ht-spa-active #ht-page-content .ht-room-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
}

body.ht-spa-active #ht-page-content .ht-room-card__tags li {
    font-size: 16px;
    padding: 0.35rem 0.75rem;
    background: var(--ht-primary-light);
    color: var(--ht-primary-darker, #9a7b42);
    border-radius: 999px;
    font-weight: 600;
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-room-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

body.ht-spa-active #ht-page-content .ht-room-card__actions .ht-btn--outline {
    background: transparent;
    border: 1px solid var(--ht-dark);
    color: var(--ht-dark);
}

body.ht-spa-active #ht-page-content .ht-room-card__actions .ht-btn--outline:hover {
    background: var(--ht-dark);
    color: #fff;
}

/* Fiche chambre détail */
body.ht-spa-active #ht-page-content .ht-room-detail {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

body.ht-spa-active #ht-page-content .ht-room-detail__gallery {
    border-radius: var(--ht-radius, 12px);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

body.ht-spa-active #ht-page-content .ht-room-detail__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

body.ht-spa-active #ht-page-content .ht-price-badge {
    display: inline-block;
    padding: 0.65rem 1.15rem;
    background: linear-gradient(135deg, var(--ht-primary-light), #fff);
    border: 1px solid rgba(222, 182, 102, 0.5);
    border-radius: var(--ht-radius, 12px);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ht-dark);
    margin: 0 0 1.25rem;
}

body.ht-spa-active #ht-page-content .ht-price-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ht-muted);
}

body.ht-spa-active #ht-page-content .ht-amenities-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.5rem 0 2rem;
    padding: 0;
}

body.ht-spa-active #ht-page-content .ht-amenities-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    background: var(--ht-light, #fafafa);
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--ht-text);
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-amenities-pills li i {
    color: var(--ht-primary-dark);
    font-size: 0.9rem;
}

body.ht-spa-active #ht-page-content .ht-room-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

body.ht-spa-active #ht-page-content .ht-room-detail__actions .ht-btn--dark {
    background: var(--ht-dark);
    color: #fff;
}

/* Cartes génériques (services, galerie…) */
body.ht-spa-active #ht-page-content .ht-page-premium .ht-card {
    border-radius: var(--ht-radius, 12px);
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-card:hover,
body.ht-spa-active #ht-page-content .ht-page-premium .ht-card--link:hover {
    transform: translateY(-3px);
    border-color: var(--ht-primary);
    box-shadow: var(--ht-shadow);
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-card__body h3 {
    font-family: var(--ht-font-display, Georgia, serif);
    font-size: 1.15rem;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-card-links .ht-card img {
    height: 200px;
    object-fit: cover;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-info-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.55rem;
    color: var(--ht-text);
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-info-list li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: var(--ht-primary-dark);
    font-size: 0.8rem;
}

/* .ht-page-cta : grille 2 colonnes — ht-buttons.css */

/* Bandeau confort (rooms listing) */
body.ht-spa-active #ht-page-content .ht-comfort-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 0;
    list-style: none;
}

body.ht-spa-active #ht-page-content .ht-comfort-band li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem;
    background: var(--ht-light);
    border-radius: var(--ht-radius, 12px);
    border: 1px solid #eee;
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-comfort-band li i {
    font-size: 1.35rem;
    color: var(--ht-primary-dark);
    margin-top: 0.15rem;
}

body.ht-spa-active #ht-page-content .ht-comfort-band strong {
    display: block;
    color: var(--ht-dark);
    font-size: 17px;
    margin-bottom: 0.25rem;
}

body.ht-spa-active #ht-page-content .ht-comfort-band span {
    font-size: 17px;
    color: var(--ht-muted);
    line-height: 1.55;
}

@media (max-width: 991px) {
    body.ht-spa-active #ht-page-content .ht-room-grid {
        grid-template-columns: 1fr;
    }
    body.ht-spa-active #ht-page-content .ht-room-detail {
        grid-template-columns: 1fr;
    }
    body.ht-spa-active #ht-page-content .ht-stats-band {
        grid-template-columns: repeat(2, 1fr);
    }
    body.ht-spa-active #ht-page-content .ht-comfort-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    body.ht-spa-active #ht-page-content .ht-stats-band {
        grid-template-columns: 1fr;
    }
}

/* Navigation entre chambres (dynamique) */
body.ht-spa-active #ht-page-content .ht-room-nav-sibling {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

body.ht-spa-active #ht-page-content .ht-room-nav-sibling__title {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #606060;
    margin: 0 0 1rem;
}

body.ht-spa-active #ht-page-content .ht-room-nav-sibling__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.ht-spa-active #ht-page-content .ht-room-nav-sibling__links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #606060;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

body.ht-spa-active #ht-page-content .ht-room-nav-sibling__links a:hover {
    border-color: #deb666;
    background: #faf6ee;
    color: #606060;
}

/* À propos : alignement titres */
body.ht-spa-active #ht-page-content .ht-about-page .ht-section-title {
    display: block;
}

body.ht-spa-active #ht-page-content .ht-about-page .ht-section-title::after {
    left: 0;
    transform: none;
}

/* Article blog (rapidframe_web_articles) */
body.ht-spa-active #ht-page-content .ht-article-page__back {
    margin: 0 0 1.25rem;
    font-size: 14px;
}

body.ht-spa-active #ht-page-content .ht-article-page__back a {
    color: #b69854;
    font-weight: 600;
    text-decoration: none;
}

body.ht-spa-active #ht-page-content .ht-article-page__loading {
    color: #858a99;
    font-size: 14px;
    padding: 2rem 0;
}

body.ht-spa-active #ht-page-content .ht-article-page__error {
    padding: 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
}

body.ht-spa-active #ht-page-content .ht-article-page__date {
    color: #858a99;
    font-size: 13px;
    margin-bottom: 1rem;
}

body.ht-spa-active #ht-page-content .ht-article-page__figure {
    margin: 0 0 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

body.ht-spa-active #ht-page-content .ht-article-page__figure img {
    width: 100%;
    height: auto;
    display: block;
}

body.ht-spa-active #ht-page-content .ht-article-page__prose {
    font-size: 15px;
    line-height: 1.7;
    color: #606060;
}

/* Page actualités : voir ht-actualites-page.css */
