/* Hotel Tchatcha — or Zante (#deb666) + SPA */
:root {
    --ht-primary: #deb666;
    --ht-primary-dark: #b69854;
    --ht-primary-darker: #9a7b42;
    --ht-primary-light: #faf6ee;
    --ht-accent-blue: #1a56c4;
    --ht-dark: #121212;
    --ht-dark-soft: #1c1c1c;
    --ht-text: #1f2937;
    --ht-muted: #6b7280;
    --ht-light: #fafafa;
    --ht-white: #fff;
    --ht-font-display: 'Cormorant Garamond', Georgia, serif;
    --ht-font-body: 'Lato', system-ui, sans-serif;
    --ht-radius: 12px;
    --ht-shadow: 0 12px 40px rgba(222, 182, 102, 0.2);
    --ht-header-h: 88px;
    --ht-topbar-h: 38px;
}

*, *::before, *::after { box-sizing: border-box; }

/* Reset marges uniquement pages SPA */
.ht-page-hero, .ht-page-hero *, .ht-page-body, .ht-page-body * { margin: 0; }
.ht-page-body { padding: 0; }

html { scroll-behavior: smooth; }

body.ht-spa-active {
    font-family: var(--ht-font-body);
    color: var(--ht-text);
    background: var(--ht-white);
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ht-primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ht-primary); }

.ht-wrap {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

/* Spinner */
.ht-spinner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 20, 20, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ht-spinner:not([hidden])::after {
    content: '';
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--ht-primary);
    border-radius: 50%;
    animation: ht-spin 0.7s linear infinite;
}
@keyframes ht-spin { to { transform: rotate(360deg); } }

/* Topbar */
.ht-topbar {
    background: var(--ht-primary-darker);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8rem;
    min-height: var(--ht-topbar-h);
    display: flex;
    align-items: center;
}
.ht-topbar .ht-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    width: min(1140px, 92vw);
}
.ht-topbar a { color: var(--ht-white); }
.ht-topbar a:hover { color: rgba(255, 255, 255, 0.85); }
.ht-topbar__left,
.ht-topbar__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.ht-topbar i { margin-right: 0.35rem; color: rgba(255, 255, 255, 0.75); }

/* Header */
.ht-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}
body.has-topbar .ht-site-header { top: var(--ht-topbar-h); }
body.has-topbar .ht-hero,
body.has-topbar #ht-page-content {
    padding-top: calc(var(--ht-topbar-h) + var(--ht-header-h));
}
body.has-topbar .ht-hero { margin-top: 0; padding-top: 0; min-height: calc(92vh - var(--ht-topbar-h)); }

.ht-header {
    position: relative;
    top: auto;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--ht-primary);
}
.ht-header__inner {
    width: min(1140px, 92vw);
    margin: 0 auto;
    min-height: var(--ht-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.ht-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ht-white);
    text-decoration: none;
}
.ht-brand:hover { color: var(--ht-white); }
.ht-brand__logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid var(--ht-primary);
    background: var(--ht-white);
    object-fit: contain;
    padding: 4px;
}
.ht-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.ht-brand__text strong {
    font-family: var(--ht-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.ht-brand__text small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ht-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.ht-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
}
.ht-nav a:hover,
.ht-nav a.active {
    color: var(--ht-white);
    background: rgba(222, 182, 102, 0.35);
}
.ht-nav__cta {
    background: var(--ht-primary) !important;
    color: var(--ht-white) !important;
    margin-left: 0.35rem;
}
.ht-nav__cta:hover {
    background: var(--ht-primary-dark) !important;
    color: var(--ht-white) !important;
}
.ht-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--ht-white);
    font-size: 1.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
}

/* Hero */
.ht-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
}
body:not(.has-topbar) .ht-hero {
    padding-top: var(--ht-header-h);
    min-height: calc(92vh);
}
.ht-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.ht-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(154, 123, 66, 0.88) 0%, rgba(222, 182, 102, 0.55) 45%, rgba(18, 18, 18, 0.72) 100%);
}
.ht-hero__content {
    position: relative;
    z-index: 1;
    color: var(--ht-white);
    padding: 4rem 0 5rem;
    max-width: 720px;
}
.ht-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    color: #ffc9c9;
    margin-bottom: 1rem;
    font-weight: 600;
}
.ht-hero h1 {
    font-family: var(--ht-font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 1rem;
}
.ht-hero__lead {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 560px;
}
.ht-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */
.ht-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ht-btn--primary {
    background: var(--ht-primary);
    color: var(--ht-white);
    border-color: var(--ht-primary);
    box-shadow: 0 4px 14px rgba(222, 182, 102, 0.35);
}
.ht-btn--primary:hover {
    background: var(--ht-primary-dark);
    border-color: var(--ht-primary-dark);
    color: var(--ht-white);
}
.ht-btn--gold {
    background: var(--ht-primary);
    color: var(--ht-white);
    border-color: var(--ht-primary);
    box-shadow: 0 4px 14px rgba(222, 182, 102, 0.35);
}
.ht-btn--gold:hover {
    background: var(--ht-primary-dark);
    border-color: var(--ht-primary-dark);
    color: var(--ht-white);
}
.ht-btn--outline {
    background: transparent;
    color: var(--ht-white);
    border-color: rgba(255, 255, 255, 0.75);
}
.ht-btn--outline:hover {
    background: var(--ht-white);
    color: var(--ht-primary-dark);
}
.ht-section--red .ht-btn--outline {
    border-color: var(--ht-white);
    color: var(--ht-white);
}
.ht-section--red .ht-btn--outline:hover {
    background: var(--ht-white);
    color: var(--ht-primary-dark);
}
.ht-btn--dark {
    background: var(--ht-dark);
    color: var(--ht-white);
    border-color: var(--ht-dark);
}
.ht-btn--dark:hover {
    background: var(--ht-dark-soft);
}

/* Sections */
.ht-section {
    padding: 5rem 0;
}
.ht-section--light { background: var(--ht-light); }
.ht-section--accent { background: var(--ht-primary-light); }
.ht-section--red {
    background: linear-gradient(135deg, var(--ht-primary-dark) 0%, var(--ht-primary) 100%);
    color: var(--ht-white);
}
.ht-section--red h2 { color: var(--ht-white); }
.ht-section--red p { color: rgba(255, 255, 255, 0.92); }
.ht-section--dark {
    background: var(--ht-dark);
    color: rgba(255, 255, 255, 0.9);
}
.ht-section--dark h2 { color: var(--ht-white); }
.ht-section-head { margin-bottom: 2.5rem; }
.ht-section-head--center { text-align: center; }
.ht-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ht-primary-dark);
    margin-bottom: 0.65rem;
}
.ht-section h2,
.ht-page-hero h1 {
    font-family: var(--ht-font-display);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--ht-dark);
}
.ht-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.ht-split--reverse .ht-split__media { order: 2; }
.ht-split--reverse .ht-split__body { order: 1; }
.ht-split__media img {
    border-radius: var(--ht-radius);
    box-shadow: var(--ht-shadow);
    width: 100%;
    object-fit: cover;
    min-height: 280px;
}
.ht-split__body p { color: var(--ht-muted); margin-bottom: 1.25rem; }

/* Grid & cards */
.ht-grid {
    display: grid;
    gap: 1.5rem;
}
.ht-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ht-grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ht-card {
    background: var(--ht-white);
    border-radius: var(--ht-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ht-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ht-shadow);
}
.ht-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.ht-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
}
.ht-card__body h3 {
    font-family: var(--ht-font-display);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.ht-card__body p {
    font-size: 0.92rem;
    color: var(--ht-muted);
    margin-bottom: 0.75rem;
}
.ht-card__body a {
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ht-thumb {
    display: block;
    border-radius: var(--ht-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.ht-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.ht-thumb:hover img { transform: scale(1.05); }

/* Page inner (fragments) */
body:not(.has-topbar) #ht-page-content { padding-top: var(--ht-header-h); }
body.has-topbar #ht-page-content { padding-top: calc(var(--ht-topbar-h) + var(--ht-header-h)); }
.ht-page-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    background: var(--ht-dark-soft) center/cover no-repeat;
    color: var(--ht-white);
}
.ht-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.25));
}
.ht-page-hero .ht-wrap {
    position: relative;
    z-index: 1;
    padding: 3.5rem 0 2.5rem;
}
.ht-page-hero h1 {
    color: var(--ht-white);
    margin: 0;
}
.ht-page-hero .ht-hero-sub {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    font-size: 1.05rem;
}
.ht-info-list {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}
.ht-info-list li {
    margin-bottom: 0.5rem;
    color: var(--ht-muted);
}
.ht-contact-list li {
    margin-bottom: 0.65rem;
}
.ht-contact-list a {
    font-weight: 600;
}
.ht-price {
    font-weight: 700;
    color: var(--ht-primary) !important;
    margin-top: 0.5rem;
}
.ht-lead {
    font-size: 1.1rem;
    color: var(--ht-muted);
    margin-bottom: 2rem;
    max-width: 52ch;
}
.ht-page-cta {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}
.ht-card--link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.ht-card--link:hover {
    border-color: var(--ht-primary);
}
.ht-card--link .ht-card__body h3 {
    color: var(--ht-dark);
}
.ht-card-links .ht-card img {
    height: 180px;
}
.ht-page-body {
    padding: 3.5rem 0 4rem;
}
.ht-page-body p { color: var(--ht-muted); margin-bottom: 1rem; }

/* Form */
.ht-form {
    max-width: 520px;
    display: grid;
    gap: 1rem;
}
.ht-form input,
.ht-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
}
.ht-form textarea { min-height: 140px; resize: vertical; }
.ht-form button {
    border: none;
    cursor: pointer;
}

/* Footer */
.ht-footer {
    background: var(--ht-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 0 0;
}
.ht-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}
.ht-footer__logo {
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--ht-primary);
    background: var(--ht-white);
    object-fit: contain;
    padding: 4px;
}
.ht-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}
.ht-feature {
    background: var(--ht-white);
    border-radius: var(--ht-radius);
    padding: 1.35rem 1.25rem;
    box-shadow: var(--ht-shadow);
    border-top: 4px solid var(--ht-primary);
    text-align: center;
}
.ht-feature i {
    font-size: 1.75rem;
    color: var(--ht-primary);
    margin-bottom: 0.65rem;
}
.ht-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--ht-dark);
}
.ht-feature p {
    font-size: 0.85rem;
    color: var(--ht-muted);
    margin: 0;
}
.ht-cta-band {
    text-align: center;
    padding: 3rem 0;
}
.ht-cta-band .ht-btn { margin-top: 1rem; }

.ht-footer h4 {
    font-family: var(--ht-font-display);
    color: var(--ht-primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}
.ht-footer__links {
    list-style: none;
}
.ht-footer__links li { margin-bottom: 0.45rem; }
.ht-footer__links a { color: rgba(255, 255, 255, 0.8); }
.ht-footer__links a:hover { color: var(--ht-primary); }
.ht-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.ht-footer__credit { color: rgba(255, 255, 255, 0.55); }

/* Responsive */
@media (max-width: 900px) {
    .ht-split,
    .ht-split--reverse {
        grid-template-columns: 1fr;
    }
    .ht-split--reverse .ht-split__media,
    .ht-split--reverse .ht-split__body { order: unset; }
}
@media (max-width: 768px) {
    .ht-menu-btn { display: block; }
    .ht-nav {
        position: fixed;
        top: calc(var(--ht-topbar-h) + var(--ht-header-h));
        left: 0;
        right: 0;
        background: var(--ht-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
        border-bottom: 1px solid rgba(222, 182, 102, 0.35);
    }
    .ht-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .ht-nav a {
        padding: 0.85rem 1rem;
        border-radius: 8px;
    }
    .ht-nav__cta { margin-left: 0; margin-top: 0.5rem; }
}
