/**
 * Tchatcha — titres uniformes (accueil Zante + pages SPA)
 */
:root {
    --ht-title-color: #606060;
    --ht-title-muted: #858a99;
    --ht-title-gold: #deb666;
    --ht-title-gold-bright: #e8c878;
    --ht-title-font: 'Nunito', sans-serif;
    --ht-label-size: 0.95rem;
    --ht-label-tracking: 0.12em;
    --ht-hero-h1-size: clamp(2.05rem, 4.8vw, 3.15rem);
    --ht-section-title-size: 28px;
}

/* ——— Sections accueil (.main_title) ——— */
body.ht-zante-home #ht-page-content.ht-home .main_title {
    position: relative;
    text-align: center;
    margin: 0 auto 48px;
    padding: 0 20px;
    max-width: 920px;
}

body.ht-zante-home #ht-page-content.ht-home .main_title h2,
body.ht-zante-home #ht-page-content.ht-home .main_title h2.title {
    display: inline-block;
    position: relative;
    font-family: var(--ht-title-font) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    color: var(--ht-title-color) !important;
    text-transform: none !important;
    margin: 0 0 14px !important;
    padding: 0 0 16px !important;
}

body.ht-zante-home #ht-page-content.ht-home .main_title.text-center h2::after,
body.ht-zante-home #ht-page-content.ht-home .main_title.text-center h2.title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 52px;
    height: 3px;
    background: var(--ht-title-gold);
    border-radius: 2px;
}

body.ht-zante-home #ht-page-content.ht-home .main_title .main_description {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: var(--ht-title-muted) !important;
    max-width: 36rem;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.ht-zante-home #ht-page-content.ht-home .main_title.mt_white h2,
body.ht-zante-home #ht-page-content.ht-home .main_title.mt_white h2.title {
    color: #fff !important;
}

body.ht-zante-home #ht-page-content.ht-home .main_title.mt_white .main_description {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Corrige le 1.2em mobile du CSS Zante (trop petit) */
@media (max-width: 767px) {
    body.ht-zante-home #ht-page-content.ht-home .main_title h2,
    body.ht-zante-home #ht-page-content.ht-home .main_title h2.title {
        font-size: 26px !important;
        padding-bottom: 14px !important;
    }

    body.ht-zante-home #ht-page-content.ht-home .main_title .main_description {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    body.ht-zante-home #ht-page-content.ht-home .main_title h2,
    body.ht-zante-home #ht-page-content.ht-home .main_title h2.title {
        font-size: 24px !important;
    }
}

/* Formulaire hero slider */
body.ht-zante-home #ht-page-content.ht-home .vbf-over-slider .form_title,
body.ht-zante-home .eb-search-form .form_title {
    font-family: var(--ht-title-font) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #606060 !important;
    margin-bottom: 12px !important;
}

/* Chambres carousel */
body.ht-zante-home #ht-page-content.ht-home .room-title,
body.ht-zante-home #ht-page-content.ht-home .room-title a {
    font-family: var(--ht-title-font) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: var(--ht-title-color) !important;
}

/* Services (feature boxes) */
body.ht-zante-home #ht-page-content.ht-home .features .item h3 {
    font-family: var(--ht-title-font) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--ht-title-color) !important;
    margin: 12px 0 6px !important;
    line-height: 1.3 !important;
}

/* Témoignages */
body.ht-zante-home #ht-page-content.ht-home .testimonial-item .review h3 {
    font-family: var(--ht-title-font) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--ht-title-color) !important;
}

body.ht-zante-home #ht-page-content.ht-home .testimonial-item .author h5 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ht-title-muted) !important;
}

/* Galerie grille */
body.ht-zante-home #ht-page-content.ht-home .gallery_item_info h4 {
    font-family: var(--ht-title-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Actualités (titres cartes — complément) */
body.ht-zante-home #ht-actualites .news-item-title,
body.ht-zante-home #ht-actualites .news-item-title a {
    font-family: var(--ht-title-font) !important;
}

/* ——— Pages SPA ——— */
body.ht-spa-active #ht-page-content .ht-page-hero h1 {
    font-family: var(--ht-title-font) !important;
    font-size: var(--ht-hero-h1-size) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: 0.02em !important;
    color: #fff !important;
    margin: 0 !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

body.ht-spa-active #ht-page-content .ht-page-hero .ht-label {
    display: inline-block;
    font-family: 'Lato', sans-serif !important;
    font-size: var(--ht-label-size) !important;
    letter-spacing: var(--ht-label-tracking) !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    color: var(--ht-title-gold-bright) !important;
    margin-bottom: 0.65rem !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

body.ht-spa-active #ht-page-content .ht-page-hero .ht-hero-sub {
    font-size: 1.15rem !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.94) !important;
    max-width: 42ch;
}

body.ht-spa-active #ht-page-content .ht-page-body h2,
body.ht-spa-active #ht-page-content .ht-section h2 {
    font-family: var(--ht-title-font) !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    color: var(--ht-title-color) !important;
    margin: 2rem 0 1rem !important;
    line-height: 1.25 !important;
}

body.ht-spa-active #ht-page-content .ht-page-body h3,
body.ht-spa-active #ht-page-content .ht-card__body h3 {
    font-family: var(--ht-title-font) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--ht-title-color) !important;
    line-height: 1.3 !important;
}

body.ht-spa-active #ht-page-content .ht-lead {
    font-family: 'Lato', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: var(--ht-title-muted) !important;
    font-weight: 400 !important;
}

/* Corps de page SPA = même base que l'accueil (dynamic-inline-css) */
body.ht-spa-active #ht-page-content {
    font-family: 'Lato', sans-serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    color: #858a99 !important;
    line-height: 1.65 !important;
}

body.ht-spa-active #ht-page-content p,
body.ht-spa-active #ht-page-content li,
body.ht-spa-active #ht-page-content .ht-prose {
    font-family: 'Lato', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #858a99 !important;
}

body.ht-spa-active #ht-page-content .ht-section-title {
    display: inline-block;
    position: relative;
    font-family: var(--ht-title-font) !important;
    font-size: var(--ht-section-title-size) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    color: var(--ht-title-color) !important;
    margin: 0 0 14px !important;
    padding: 0 0 18px !important;
}

body.ht-spa-active #ht-page-content .ht-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--ht-title-gold);
    border-radius: 2px;
}

body.ht-spa-active #ht-page-content .ht-section-sub {
    font-family: 'Lato', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: var(--ht-title-muted) !important;
    margin: 0 0 2rem !important;
    max-width: 36rem;
}

body.ht-spa-active #ht-page-content .ht-page-body h2 {
    font-size: var(--ht-section-title-size) !important;
}

/* Libellé doré — aussi hors hero (si utilisé ailleurs) */
body.ht-spa-active #ht-page-content .ht-label {
    font-family: 'Lato', sans-serif !important;
    font-size: var(--ht-label-size) !important;
    letter-spacing: var(--ht-label-tracking) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: var(--ht-title-gold) !important;
}

body.ht-spa-active #ht-page-content .ht-stats-band__value {
    font-family: var(--ht-title-font) !important;
}

body.ht-spa-active #ht-page-content .ht-room-card__body h3,
body.ht-spa-active #ht-page-content .ht-price-badge {
    font-family: var(--ht-title-font) !important;
    font-size: 18px !important;
}

body.ht-spa-active #ht-page-content .ht-room-detail__extra {
    font-size: 17px !important;
    color: #858a99 !important;
    margin: 0 0 1.25rem !important;
    line-height: 1.65 !important;
}

/* Espacements — annule le reset margin:0 global sur le contenu SPA */
body.ht-spa-active #ht-page-content .ht-page-premium .ht-wrap > * + * {
    margin-top: 0;
}

body.ht-spa-active #ht-page-content .ht-page-premium p {
    margin-bottom: 1rem !important;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-lead {
    margin-bottom: 1.75rem !important;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-section-title {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-section-sub {
    margin-bottom: 2rem !important;
}

body.ht-spa-active #ht-page-content .ht-page-premium a:not(.ht-btn) {
    color: #606060;
    font-weight: 600;
}

body.ht-spa-active #ht-page-content .ht-page-premium a:not(.ht-btn):hover {
    color: #b69854;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-btn {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

body.ht-spa-active #ht-page-content .ht-page-premium .ht-btn--lg {
    font-size: 15px !important;
}

/* .ht-page-cta : grille 2 colonnes — ht-buttons.css */

body.ht-spa-active #ht-page-content .ht-page-hero .ht-hero-sub {
    font-family: 'Lato', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

@media (max-width: 767px) {
    :root {
        --ht-label-size: 0.82rem;
        --ht-hero-h1-size: 1.85rem;
        --ht-section-title-size: 28px;
    }

    body.ht-spa-active #ht-page-content .ht-page-hero h1 {
        font-size: var(--ht-hero-h1-size) !important;
    }

    body.ht-spa-active #ht-page-content .ht-section-title,
    body.ht-spa-active #ht-page-content .ht-page-body h2 {
        font-size: var(--ht-section-title-size) !important;
    }

    body.ht-spa-active #ht-page-content .ht-page-hero .ht-hero-sub,
    body.ht-spa-active #ht-page-content .ht-section-sub,
    body.ht-spa-active #ht-page-content .ht-lead {
        font-size: 15px !important;
    }
}

/* Footer widgets */
footer.ht-footer-pro .widget h3 {
    font-family: var(--ht-title-font) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
