/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
    --gold: #C8A96A;
    --gold-light: #D4BA7F;
    --gold-dark: #B89954;
    --black: #0A0A0A;
    --black-soft: #1A1A1A;
    --white: #FAFAF8;
    --white-soft: #F5F5F3;
    --fez-blue: #1a3d52;
    --fez-blue-dark: #0f2836;
    --meknes-ochre: #8b4a2e;
    --marrakech-dust: #5c3d2e;
    --zellij-cream: #e8dcc4;
    /* Fallback iOS / Safari avant que le JS mette la vraie hauteur */
    --vh: 1vh;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Raleway', sans-serif;
    --font-display: 'El Messiri', sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    min-height: 100%;
    min-height: -webkit-fill-available;
}

@media (max-width: 767px) {
    html {
        -webkit-tap-highlight-color: rgba(200, 169, 106, 0.15);
        -webkit-touch-callout: none;
    }
}

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 clamp(1.25rem, 5vw, 1.75rem);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        width: 92%;
        padding: 0 clamp(1.75rem, 4vw, 2.5rem);
    }
}

/* Ne pas appliquer le padding “page” au hero (cassait la hauteur / centrage iOS) */
section:not(.hero) {
    position: relative;
    padding: 50px 0;
}

@media (min-width: 768px) {
    section:not(.hero) {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    section:not(.hero) {
        padding: 100px 0;
    }
}

/* ========================================
   HERO — luxe minimal plein écran (Aman / Aesop)
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    box-sizing: border-box;
    overflow: hidden;
    background: #070506;
    animation: heroFadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes textRevealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes letterSpacing {
    from {
        letter-spacing: 0.15em;
    }
    to {
        letter-spacing: 0.25em;
    }
}

.hero--lux {
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__parallax {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    will-change: transform;
}

.hero__parallax picture,
.hero__parallax img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__parallax img {
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1);
}

@media (max-width: 767px) {
    .hero__parallax img {
        object-position: center center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero--lux .hero__parallax img {
        animation: heroKenBurns 32s ease-in-out infinite alternate;
    }
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.07);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(110deg, rgba(6, 4, 5, 0.82) 0%, rgba(6, 4, 5, 0.35) 38%, rgba(6, 4, 5, 0.15) 72%, rgba(6, 4, 5, 0.25) 100%),
        linear-gradient(0deg, rgba(5, 3, 4, 0.9) 0%, transparent 42%);
}

@media (max-width: 767px) {
    .hero__overlay {
        background: 
            radial-gradient(ellipse 100% 60% at 50% 40%, rgba(200, 169, 106, 0.08) 0%, transparent 50%),
            linear-gradient(180deg, rgba(5, 3, 4, 0.15) 0%, rgba(5, 3, 4, 0.35) 30%, rgba(5, 3, 4, 0.75) 70%, rgba(5, 3, 4, 0.92) 100%);
    }
}

.hero__mist {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.22;
    background: radial-gradient(60% 45% at 50% 55%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
    mix-blend-mode: screen;
}

@media (max-width: 767px) {
    .hero__mist {
        opacity: 0.28;
        background: 
            radial-gradient(70% 50% at 50% 60%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
            radial-gradient(50% 40% at 30% 40%, rgba(200, 169, 106, 0.08) 0%, transparent 50%);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__mist {
        animation: heroMist 14s ease-in-out infinite alternate;
    }
}

@keyframes heroMist {
    0% {
        opacity: 0.12;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0.26;
        transform: translateY(-2%) scale(1.03);
    }
}

.hero__inner {
    position: relative;
    z-index: 3;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4.5rem);
    padding-bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
    pointer-events: none;
        min-height: calc(var(--vh, 1vh) * 77);

}

.hero__stack {
    pointer-events: auto;
    max-width: min(34rem, 100%);
    text-align: center;
}

@media (max-width: 767px) {
    .hero__inner {
        align-items: flex-start;
        justify-content: center;
        padding-left: clamp(1.5rem, 7vw, 2rem);
        padding-right: clamp(1.5rem, 7vw, 2rem);
        padding-top: clamp(8vh, 12vh, 15vh);
        padding-bottom: max(3rem, calc(env(safe-area-inset-bottom, 0px) + 2rem));
    }

    .hero__stack {
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }
}

/* Tablet optimization (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero__inner {
        align-items: center;
        justify-content: center;
        padding-left: clamp(3rem, 8vw, 5rem);
        padding-right: clamp(3rem, 8vw, 5rem);
    }

    .hero__stack {
        text-align: center;
        max-width: 36rem;
        margin: 0 auto;
    }
}

.hero__label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: rgba(212, 186, 127, 0.75);
    margin-bottom: 1.1rem;
    animation: textRevealUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
}

@media (max-width: 767px) {
    .hero__label {
        font-size: 0.7rem;
        letter-spacing: 0.32em;
        margin-bottom: 1.25rem;
        color: rgba(212, 186, 127, 0.85);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__label {
        font-size: 0.72rem;
        letter-spacing: 0.35em;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero__stack > * {
        animation: heroFadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }

    .hero__label {
        animation-delay: 0.06s;
    }

    .hero__logo {
        animation-delay: 0.12s;
    }

    .hero__brand {
        animation-delay: 0.16s;
    }

    .hero__headline {
        animation-delay: 0.22s;
    }

    .hero__lede {
        animation-delay: 0.28s;
    }

    .hero__cta--lux {
        animation-delay: 0.36s;
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__stack > * {
        animation: none;
    }
}

.hero__logo {
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

@media (max-width: 767px) {
    .hero__logo {
        width: clamp(80px, 40vw, 180px);
        margin: 0 auto 1rem;
        filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 28px rgba(200, 169, 106, 0.4));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__logo {
        width: clamp(90px, 20vw, 120px);
        margin: 0 0 0.85rem;
    }
}

.hero__brand {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2.8vw, 1.25rem);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.04em;
    color: rgba(212, 186, 127, 0.92);
    margin-bottom: 0.35rem;
    animation: textRevealUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}

@media (max-width: 767px) {
    .hero__brand {
        font-size: clamp(1.1rem, 3.2vw, 1.35rem);
        letter-spacing: 0.06em;
        margin-bottom: 0.5rem;
        color: rgba(212, 186, 127, 0.95);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__brand {
        font-size: clamp(1.15rem, 3vw, 1.4rem);
    }
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 5.5vw, 3.15rem);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 0.85rem;
    max-width: 14rem;
    animation: textRevealUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.5s backwards;
}

@media (min-width: 768px) {
    .hero__headline {
        max-width: 50rem;
    }
}

@media (max-width: 767px) {
    .hero__headline {
        font-size: clamp(2rem, 7.5vw, 2.75rem);
        line-height: 1.15;
        letter-spacing: 0.01em;
        margin: 0 auto 1rem;
        max-width: 100%;
        font-weight: 300;
        color: rgba(250, 250, 248, 0.98);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__headline {
        font-size: clamp(2.25rem, 5.5vw, 3rem);
        line-height: 1.18;
        max-width: 24rem;
        margin: 0 0 1rem;
    }
}

.hero__lede {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2.4vw, 1.02rem);
    font-weight: 300;
    line-height: 1.55;
    color: rgba(245, 245, 243, 0.82);
    max-width: 48em;
    margin-bottom: 0.25rem;
    animation: textRevealUp 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.7s backwards;
}

@media (max-width: 767px) {
    .hero__lede {
        font-size: clamp(0.95rem, 2.8vw, 1.08rem);
        line-height: 1.65;
        margin: 0 auto 0.5rem;
        max-width: 100%;
        color: rgba(245, 245, 243, 0.88);
        font-weight: 300;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero__lede {
        font-size: clamp(1rem, 2.5vw, 1.12rem);
        line-height: 1.7;
        max-width: 28rem;
        margin: 0 0 0.5rem;
    }
}

.hero__cta--lux {
    margin-top: clamp(1.35rem, 3.5vw, 1.75rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.85rem 2.15rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #0c0a08;
    background:var(--gold);
    color: var(--black);
    border: 1px solid var(--gold);
    opacity: 0.8;
    border-radius: 999px;
    border: none;
    box-shadow:
        0 0 0 1px rgba(255, 252, 245, 0.12) inset,
        0 8px 32px rgba(200, 169, 106, 0.22),
        0 2px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, filter 0.35s ease;
    animation: 
        textRevealUp 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s backwards,
        ctaPulse 3s ease-in-out 2s infinite;
}

.hero__cta--lux:hover {
    transform: scale(1.035);
    filter: brightness(1.05);
    box-shadow:
        0 0 0 1px rgba(255, 252, 245, 0.18) inset,
        0 12px 40px rgba(200, 169, 106, 0.35),
        0 4px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

.hero__cta--lux:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

/* Mobile CTA - Thumb-friendly luxury design */
@media (max-width: 767px) {
    .hero__cta--lux {
        width: 100%;
        max-width: 100%;
        min-height: 3.75rem;
        padding: 1.1rem 2.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.22em;
        margin-top: clamp(1.75rem, 5vw, 2.25rem);
        border-radius: 999px;
        background: transparent;
        box-shadow:
            0 0 0 1px rgba(255, 252, 245, 0.15) inset,
            0 12px 40px rgba(200, 169, 106, 0.35),
            0 4px 20px rgba(0, 0, 0, 0.4);
        position: relative;
        overflow: hidden;
    }

    .hero__cta--lux::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%
        );
        animation: ctaShine 3s ease-in-out infinite;
    }

    .hero__cta--lux:active {
        transform: scale(0.98);
    }
}

@keyframes ctaShine {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 
            0 8px 24px -6px rgba(200, 169, 106, 0.4),
            0 0 0 0 rgba(200, 169, 106, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow: 
            0 12px 32px -6px rgba(200, 169, 106, 0.5),
            0 0 0 8px rgba(200, 169, 106, 0),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

/* Tablet CTA */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero__cta--lux {
        max-width: 22rem;
        min-height: 3.5rem;
        font-size: 0.72rem;
        margin-top: clamp(1.5rem, 4vw, 2rem);
    }
}

@media (max-width: 767px) {
    .hero__cta--lux {
        width: 100%;
        max-width: 23rem;
        min-height: 2.35rem;
        font-size: 0.78rem;
        letter-spacing: 0.2em;
        opacity: 1;
        color: antiquewhite;
    }
}

.logo {
    width: min(78vw, 209px);
    max-width: 209px;
    aspect-ratio: 1;
    object-fit: contain;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 24px rgba(200, 169, 106, 0.35));
    position: relative;
}

.logo--footer {
    width: 88px;
    max-width: 88px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(200, 169, 106, 0.2));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.footer__logo-link:hover .logo--footer,
.footer__logo-link:focus-visible .logo--footer {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(200, 169, 106, 0.35));
}

.logo-container {
    position: relative;
    overflow: hidden;
}

.tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.crescent-divider {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
    opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    animation: textRevealUp 2s cubic-bezier(0.22, 1, 0.36, 1) 1.5s backwards;
}


.scroll-indicator::before {
    content: 'Découvrir';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 300;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.65;
    animation: scrollBounce 2s ease-in-out 2.5s infinite;
}

@media (max-width: 767px) {
    .scroll-indicator {
        bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    }

    .scroll-indicator::before {
        font-size: 0.72rem;
        bottom: 52px;
        letter-spacing: 0.25em;
        opacity: 0.8;
    }

    .scroll-line {
        height: 40px;
        opacity: 0.7;
    }
}

/* ========================================
   SÉPARATEURS « MUR » FÈS · MEKNÈS · MARRAKECH
   Enhanced with luxury transitions
   ======================================== */
.riad-divider {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #0a0809;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0.8);
    transform-origin: center;
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.riad-divider.active {
    opacity: 1;
    transform: scaleY(1);
}

.riad-divider__svg {
    display: block;
    width: 100%;
    height: clamp(36px, 8vw, 56px);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.riad-divider:hover .riad-divider__svg {
    transform: scale(1.02);
}

/* Animated gradient on SVG elements */
.riad-divider__svg path,
.riad-divider__svg rect {
    transition: opacity 0.8s ease, fill 0.8s ease;
}

.riad-divider__caption {
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(232, 220, 196, 0.45);
    padding: 0.35rem 1rem 0.6rem;
    line-height: 1.4;
    background: linear-gradient(180deg, rgba(15, 12, 14, 0.95), #0a0809);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.riad-divider.active .riad-divider__caption {
    opacity: 1;
    transform: translateY(0);
}

.riad-divider--fez .riad-divider__caption {
    color: rgba(180, 210, 230, 0.4);
}

.riad-divider--meknes .riad-divider__caption {
    color: rgba(232, 200, 170, 0.4);
}

.riad-divider--marrakech .riad-divider__caption {
    color: rgba(255, 210, 190, 0.35);
}

/* Subtle shimmer effect on dividers */
@keyframes dividerShimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.riad-divider.active .riad-divider__svg path[stroke] {
    animation: dividerShimmer 4s ease-in-out infinite;
}

/* Mobile: simpler transitions */
@media (max-width: 767px) {
    .riad-divider {
        transition-duration: 0.8s;
    }
    
    .riad-divider__caption {
        transition-duration: 0.6s;
    }
    
    .riad-divider.active .riad-divider__svg path[stroke] {
        animation: none;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    animation: fadeIn 1.2s ease-out forwards;
}

.fade-in-delay {
    animation: fadeIn 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1.2s ease-out 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1.2s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   LUXURY TRANSITIONS & SCROLL REVEALS
   ======================================== */

/* Luxury Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for child elements */
.reveal.active > * {
    animation: luxuryReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.reveal.active > *:nth-child(1) { animation-delay: 0.05s; }
.reveal.active > *:nth-child(2) { animation-delay: 0.12s; }
.reveal.active > *:nth-child(3) { animation-delay: 0.19s; }
.reveal.active > *:nth-child(4) { animation-delay: 0.26s; }
.reveal.active > *:nth-child(5) { animation-delay: 0.40s; }
.reveal.active > *:nth-child(6) { animation-delay: 0.47s; }

@keyframes luxuryReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Overlay Transition */
section {
    position: relative;
    isolation: isolate;
}

section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: -1;
}

section.section-blur::before {
    opacity: 1;
}

/* Cinematic grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.012) 2px, rgba(255, 255, 255, 0.012) 4px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* Floating steam particles animation */
@keyframes floatSteam {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-120vh) translateX(20px) scale(1.5);
        opacity: 0;
    }
}

.hero__mist::before,
.hero__mist::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.hero__mist::before {
    bottom: 20%;
    left: 25%;
    animation: floatSteam 12s ease-in-out infinite;
    animation-delay: 0s;
}

.hero__mist::after {
    bottom: 15%;
    right: 30%;
    animation: floatSteam 15s ease-in-out infinite;
    animation-delay: 3s;
}

/* Mobile: lighter animations */
@media (max-width: 767px) {
    .reveal {
        transform: translateY(25px);
        transition-duration: 1s;
    }
    
    .reveal.active > * {
        animation-duration: 0.9s;
    }
    
    body::after {
        opacity: 0.2;
    }
    
    .hero__mist::before,
    .hero__mist::after {
        width: 40px;
        height: 40px;
        filter: blur(15px);
    }
}

/* ========================================
   ARCH DECORATIONS
   ======================================== */

/* ========================================
   ARCH DECORATIONS & MOROCCAN TRANSITIONS
   ======================================== */
.arch-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.arch-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0.2;
    transition: opacity 0.6s ease;
}

.arch-top:hover::before {
    opacity: 0.35;
}

/* Moroccan arch reveal animation */
@keyframes archReveal {
    from {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

.riad-divider.active .riad-divider__svg {
    animation: archReveal 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .section-header {
        margin-bottom: 60px;
    }
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: min(72px, 18vw);
    height: 2px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
    opacity: 0.9;
    box-shadow: 0 0 12px rgba(200, 169, 106, 0.35);
}

.section-header--palace .section-title::after {
    margin-top: 10px;
}

.section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.section-eyebrow--on-dark {
    color: var(--gold-light);
    opacity: 0.85;
}

.section-lead {
    max-width: 36rem;
    margin: 0.75rem auto 0;
    font-size: clamp(0.95rem, 2.2vw, 1.08rem);
    color: var(--white-soft);
    font-weight: 300;
    line-height: 1.65;
}

.section-lead a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gold-ornament {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 0 20px;
    opacity: 0.6;
}

/* ========================================
   ABOUT SECTION - TRADITIONAL DESIGN
   ======================================== */
.about {
    position: relative;
    background: linear-gradient(180deg, #0f0e10 0%, #141216 100%);
    padding: 70px 0;
    overflow: hidden;
}

.about-content-traditional {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-kicker {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.traditional-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 400;
    position: relative;
}

.traditional-title::after {
    content: '';
    display: block;
    width: min(72px, 18vw);
    height: 2px;
    margin: 18px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), transparent);
    opacity: 0.85;
    box-shadow: 0 0 10px rgba(200, 169, 106, 0.3);
}

.about-text-container {
    margin-bottom: 50px;
}

.about-text-traditional {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.9;
    color: var(--white-soft);
    margin-bottom: 25px;
    font-weight: 300;
}

.about-text-traditional strong {
    color: var(--gold);
    font-weight: 500;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2.25rem auto 0;
    max-width: 720px;
}

@media (min-width: 700px) {
    .about-pillars {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.1rem;
    }
}

.about-pillar {
    position: relative;
    padding: 1.25rem 1.1rem 1.35rem;
    text-align: center;
    background: linear-gradient(160deg, rgba(200, 169, 106, 0.07) 0%, rgba(20, 16, 22, 0.9) 100%);
    border: 1px solid rgba(200, 169, 106, 0.22);
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.about-pillar:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 106, 0.38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-pillar__sigil {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s ease;
}

.about-pillar:hover .about-pillar__sigil {
    transform: scale(1.15) rotate(90deg);
    color: var(--gold-light);
}

.about-pillar__sigil {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    opacity: 0.75;
    margin-bottom: 0.5rem;
}

.about-pillar__text {
    font-size: clamp(0.88rem, 2vw, 0.98rem);
    color: var(--white-soft);
    line-height: 1.55;
    font-weight: 300;
}

.about-pillar__name {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
    .about {
        padding: 90px 0;
    }
}

@media (min-width: 1024px) {
    .about {
        padding: 104px 0 78px;
    }
}

/* Mobile About Section - Enhanced spacing and readability */
@media (max-width: 767px) {
    .about {
        padding: 60px 0;
    }

    .about-kicker {
        font-size: 0.75rem;
        letter-spacing: 0.28em;
        margin-bottom: 0.85rem;
    }

    .traditional-title {
        font-size: clamp(1.85rem, 6vw, 2.35rem);
        margin-bottom: 35px;
        line-height: 1.25;
    }

    .about-text-traditional {
        font-size: clamp(1.02rem, 2.8vw, 1.18rem);
        line-height: 1.85;
        margin-bottom: 28px;
        padding: 0 0.5rem;
    }

    .about-pillars {
        gap: 1.25rem;
        margin-top: 2.5rem;
    }

    .about-pillar {
        padding: 1.5rem 1.25rem 1.65rem;
    }

    .about-signature {
        margin-top: 2.75rem;
    }
}

/* Tablet About Section */
@media (min-width: 768px) and (max-width: 1023px) {
    .about {
        padding: 80px 0;
    }

    .about-content-traditional {
        max-width: 680px;
    }

    .traditional-title {
        font-size: clamp(2.15rem, 5vw, 2.65rem);
    }
}

/* ========================================
   SERVICES — composition « palais » unique
   ======================================== */
.services--palace {
    background:
        radial-gradient(ellipse 100% 60% at 80% 0%, rgba(26, 61, 82, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 10% 80%, rgba(139, 74, 46, 0.12) 0%, transparent 50%),
        linear-gradient(185deg, #121015 0%, #0c0a0d 45%, #141118 100%);
    padding: 56px 0 72px;
}

@media (min-width: 768px) {
    .services--palace {
        padding: 80px 0 96px;
    }
}

@media (min-width: 1024px) {
    .services--palace {
        padding: 74px 0 102px;
    }
}

/* Mobile Services Section - Scene-based storytelling */
@media (max-width: 767px) {
    .services--palace {
        padding: 50px 0 65px;
    }

    .section-header {
        margin-bottom: 35px;
        padding: 0 0.75rem;
    }

    .section-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.32em;
    }

    .section-title {
        font-size: clamp(1.85rem, 6vw, 2.35rem);
        margin-bottom: 18px;
        line-height: 1.25;
    }

    .section-lead {
        font-size: clamp(0.98rem, 2.5vw, 1.08rem);
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    .palace-grid {
        gap: 2.5rem;
    }

    .palace-subtitle {
        font-size: clamp(1.45rem, 4vw, 1.85rem);
        margin-bottom: 1.15rem;
    }

    .palace-prose {
        font-size: clamp(1rem, 2.4vw, 1.1rem);
        line-height: 1.8;
        margin-bottom: 1.15rem;
    }
}

/* Tablet Services Section */
@media (min-width: 768px) and (max-width: 1023px) {
    .services--palace {
        padding: 70px 0 85px;
    }

    .palace-grid {
        gap: 2.25rem;
    }
}

.palace-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .palace-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        column-gap: 2.25rem;
        row-gap: 2.5rem;
    }

    .palace-grid__figure {
        grid-column: 1;
        grid-row: 1;
    }

    .palace-grid__intro {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .hammam-cards {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hammam-royal {
        grid-column: 1 / -1;
    }

    .formules-zellij {
        grid-column: 1 / -1;
    }

    .palace-duo {
        grid-column: 1 / -1;
    }
}

.palace-grid__figure {
    margin: 0;
}

.palace-grid__figure-inner {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(200, 169, 106, 0.28);
    box-shadow:
        0 0 0 6px rgba(8, 6, 9, 0.65),
        0 24px 56px rgba(0, 0, 0, 0.45);
}

.palace-grid__figure-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, transparent 40%, rgba(8, 4, 6, 0.55) 100%);
}

.palace-grid__figure-inner img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.palace-grid__caption {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 169, 106, 0.55);
    margin-top: 0.65rem;
    text-align: center;
}

@media (min-width: 960px) {
    .palace-grid__caption {
        text-align: left;
    }
}

.palace-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.palace-prose {
    font-size: clamp(0.95rem, 2.1vw, 1.06rem);
    line-height: 1.75;
    color: var(--white-soft);
    font-weight: 300;
    margin-bottom: 1rem;
}

.palace-prose:last-of-type {
    margin-bottom: 0;
}

.hammam-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .hammam-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem;
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .hammam-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.hammam-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    padding: 1.25rem 1.1rem 1.3rem;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(200, 169, 106, 0.12) 0%, transparent 45%),
        linear-gradient(160deg, rgba(21, 16, 23, 0.98) 0%, rgba(9, 7, 11, 0.99) 100%);
    border: 1px solid rgba(200, 169, 106, 0.24);
    border-radius: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 38px rgba(0, 0, 0, 0.34);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s ease,
                box-shadow 0.45s ease,
                background 0.45s ease;
    overflow: hidden;
}

.hammam-card:nth-child(1) {
    border-color: rgba(200, 169, 106, 0.28);
}

.hammam-card:nth-child(2) {
    border-color: rgba(212, 186, 127, 0.33);
}

.hammam-card:nth-child(3) {
    border-color: rgba(176, 146, 88, 0.34);
}

.hammam-card:nth-child(4) {
    border-color: rgba(162, 135, 82, 0.32);
}

.hammam-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.08) 0%, transparent 40%);
    opacity: 0.75;
}

.hammam-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 106, 0.85), transparent);
    opacity: 0.8;
}

.hammam-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.5);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(200, 169, 106, 0.16) 0%, transparent 45%),
        linear-gradient(160deg, rgba(23, 17, 25, 0.99) 0%, rgba(10, 8, 12, 0.99) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 22px 52px rgba(0, 0, 0, 0.42),
        0 0 30px rgba(200, 169, 106, 0.16);
}

.hammam-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(200, 169, 106, 0.18);
    position: relative;
    z-index: 1;
}

.hammam-card__title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    color: var(--gold-light);
    line-height: 1.3;
    font-weight: 500;
}

.hammam-card__price {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: #13100f;
    white-space: nowrap;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border: 1px solid rgba(200, 169, 106, 0.45);
    border-radius: 999px;
    padding: 0.25rem 0.72rem;
    box-shadow: 0 6px 18px rgba(200, 169, 106, 0.24);
}

.hammam-card__desc {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    color: var(--white-soft);
    line-height: 1.62;
    font-weight: 300;
    margin-bottom: 0.8rem;
}

.hammam-card__steps {
    counter-reset: hammamStep;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.hammam-card__steps li {
    position: relative;
    padding: 0.48rem 0.62rem 0.48rem 2.1rem;
    border: 1px solid rgba(200, 169, 106, 0.16);
    border-radius: 10px;
    background: rgba(200, 169, 106, 0.05);
    font-size: 0.84rem;
    color: rgba(245, 245, 243, 0.84);
    line-height: 1.45;
    font-weight: 300;
}

.hammam-card__steps li::before {
    counter-increment: hammamStep;
    content: counter(hammamStep);
    position: absolute;
    top: 50%;
    left: 0.58rem;
    transform: translateY(-50%);
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.18);
    border: 1px solid rgba(200, 169, 106, 0.34);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 600;
}

@media (min-width: 960px) {
    .hammam-card {
        min-height: 100%;
    }

    .hammam-card__desc {
        min-height: 3.2rem;
    }
}

@media (max-width: 767px) {
    .hammam-card {
        padding: 1.3rem 1rem 1.15rem;
        border-radius: 12px;
    }

    .hammam-card__title {
        font-size: 1.08rem;
    }

    .hammam-card__price {
        font-size: 0.92rem;
        padding: 0.2rem 0.6rem;
    }

    .hammam-card__steps li {
        font-size: 0.82rem;
        padding-left: 1.95rem;
    }

    .hammam-card__desc {
        font-size: 0.92rem;
    }
}

@media (min-width: 1200px) {
    .hammam-cards {
        gap: 1.65rem;
    }

    .hammam-card {
        padding: 1.55rem 1.35rem 1.45rem;
    }

    .hammam-card__title {
        font-size: 1.24rem;
    }

    .hammam-card__desc {
        font-size: 0.93rem;
    }

    .hammam-card__steps li {
        font-size: 0.86rem;
    }
}

/* Creative touch outside hero: subtle zellij glow on service cards */
.palace-card,
.hammam-card {
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
}

.palace-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(120% 80% at 50% 0%, rgba(200, 169, 106, 0.06) 0%, transparent 55%);
    opacity: 0.7;
}

@media (max-width: 767px) {
    .gallery-carousel {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .gallery-carousel__nav {
        width: 100%;
        min-height: 2.8rem;
        border-radius: 12px;
    }

    .gallery-lightbox__close,
    .gallery-lightbox__arrow {
        width: 3rem;
        height: 3rem;
    }
}

.hammam-royal {
    position: relative;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
    background:
        linear-gradient(135deg, rgba(26, 61, 82, 0.35) 0%, transparent 42%),
        linear-gradient(165deg, rgba(30, 22, 28, 0.98) 0%, rgba(12, 9, 11, 0.99) 100%);
    border: 1px solid rgba(200, 169, 106, 0.32);
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.hammam-royal__crest {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(220px, 50%);
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.85;
}

.hammam-royal__head {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-top: 0.5rem;
}

.hammam-royal__label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(212, 186, 127, 0.75);
    margin-bottom: 0.4rem;
}

.hammam-royal__title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4.5vw, 2.6rem);
    font-weight: 500;
    color: var(--gold-light);
    line-height: 1.15;
    margin-bottom: 0.65rem;
}

.hammam-royal__lede {
    max-width: 40rem;
    margin: 0 auto;
    font-size: clamp(0.95rem, 2.1vw, 1.05rem);
    color: var(--white-soft);
    line-height: 1.65;
    font-weight: 300;
}

.hammam-royal__steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(200, 169, 106, 0.15);
}

@media (min-width: 768px) {
    .hammam-royal__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.royal-step {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0.5rem;
    border-bottom: 1px solid rgba(200, 169, 106, 0.1);
}

@media (min-width: 768px) {
    .royal-step:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .royal-step:last-child {
        border-bottom: none;
    }
}

.royal-step__roman {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: #0a0a0a;
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(200, 169, 106, 0.25);
}

.royal-step__name {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    color: var(--gold);
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.royal-step__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(245, 245, 243, 0.88);
    font-weight: 300;
}

/* Mobile Hammam Royal - Enhanced readability */
@media (max-width: 767px) {
    .hammam-royal {
        padding: clamp(2rem, 5vw, 2.5rem) clamp(1.5rem, 4vw, 1.75rem);
        margin: 0 -0.5rem;
    }

    .hammam-royal__label {
        font-size: 0.7rem;
        letter-spacing: 0.28em;
        margin-bottom: 0.5rem;
    }

    .hammam-royal__title {
        font-size: clamp(1.95rem, 5.5vw, 2.45rem);
        margin-bottom: 0.75rem;
    }

    .hammam-royal__lede {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        line-height: 1.75;
        padding: 0 0.25rem;
    }

    .hammam-royal__head {
        margin-bottom: 2rem;
    }

    .royal-step {
        padding: 1.35rem 0.25rem;
        gap: 1.15rem;
    }

    .royal-step__roman {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.2rem;
    }

    .royal-step__name {
        font-size: 1.12rem;
        margin-bottom: 0.4rem;
    }

    .royal-step__desc {
        font-size: 0.98rem;
        line-height: 1.7;
    }
}

/* Tablet Hammam Royal */
@media (min-width: 768px) and (max-width: 1023px) {
    .hammam-royal {
        padding: clamp(2.25rem, 4.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 2.25rem);
    }

    .hammam-royal__title {
        font-size: clamp(2.15rem, 4.8vw, 2.75rem);
    }
}

.formules-zellij {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .formules-zellij {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.formule-tile {
    text-align: center;
    padding: 1.35rem 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.1) 0%, rgba(18, 14, 18, 0.95) 100%);
    border: 1px solid rgba(200, 169, 106, 0.22);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.formule-tile:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(200, 169, 106, 0.55);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(200, 169, 106, 0.2),
        inset 0 1px 0 rgba(200, 169, 106, 0.15);
    background: linear-gradient(145deg, rgba(200, 169, 106, 0.05) 0%, transparent 60%);
}

.formule-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(200, 169, 106, 0.04) 6px,
        rgba(200, 169, 106, 0.04) 7px
    );
    pointer-events: none;
}

.formule-tile--accent {
    border-color: rgba(200, 169, 106, 0.38);
    box-shadow: 0 0 0 1px rgba(200, 169, 106, 0.08), 0 16px 40px rgba(0, 0, 0, 0.35);
}

.formule-tile__name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.formule-tile__price {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 1;
}

.formule-tile__euro {
    font-size: 2.35rem;
    font-weight: 600;
    color: var(--gold-light);
}

.formule-tile__hint {
    font-size: 0.82rem;
    color: rgba(245, 245, 243, 0.72);
    line-height: 1.45;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* Mobile Formule Tiles - Larger tap targets */
@media (max-width: 767px) {
    .formules-zellij {
        gap: 1.25rem;
    }

    .formule-tile {
        padding: 1.65rem 1.25rem 1.75rem;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .formule-tile__name {
        font-size: 0.88rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.65rem;
    }

    .formule-tile__price {
        font-size: 2.15rem;
        margin-bottom: 0.45rem;
    }

    .formule-tile__euro {
        font-size: 2.5rem;
    }

    .formule-tile__hint {
        font-size: 0.88rem;
        line-height: 1.5;
    }
}

/* Tablet Formule Tiles */
@media (min-width: 768px) and (max-width: 1023px) {
    .formules-zellij {
        gap: 1.15rem;
    }

    .formule-tile {
        padding: 1.5rem 1.15rem 1.65rem;
    }
}

.palace-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .palace-duo {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

.palace-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #100e12;
    border: 1px solid rgba(200, 169, 106, 0.18);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.6s ease;
}

.palace-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 24px 64px rgba(0, 0, 0, 0.45), 
        0 0 0 1px rgba(200, 169, 106, 0.35),
        0 0 40px rgba(200, 169, 106, 0.15);
    border-color: rgba(200, 169, 106, 0.45);
}

.palace-card__visual img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.palace-card:hover .palace-card__visual img {
    transform: scale(1.08) rotate(0.5deg);
    filter: brightness(1.05) saturate(1.1);
}

.palace-card__visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.palace-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.palace-card__text {
    padding: 1.25rem 1.2rem 1.4rem;
}

.palace-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.palace-card__desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--white-soft);
    font-weight: 300;
}

.massage-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

@media (min-width: 1024px) {
    .massage-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.8rem;
    }
}

.massage-item {
    padding: 0.9rem 0.85rem;
    border: 1px solid rgba(200, 169, 106, 0.2);
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.08) 0%, rgba(16, 12, 18, 0.92) 100%);
    border-radius: 2px;
}

.massage-item__name {
    font-family: var(--font-serif);
    color: var(--gold-light);
    font-size: 1.03rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.massage-item__desc {
    font-size: 0.86rem;
    line-height: 1.55;
    color: rgba(245, 245, 243, 0.86);
    font-weight: 300;
    margin-bottom: 0.55rem;
}

.massage-item__meta {
    margin: 0;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.massage-item__meta span {
    font-size: 0.8rem;
    color: var(--gold);
    border: 1px solid rgba(200, 169, 106, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

/* ========================================
   TARIFS · CARTE CADEAU · LIENS CONTACT
   ======================================== */
.tarifs-section {
    background: linear-gradient(180deg, #0c0b0d 0%, #121014 100%);
}

.tarifs-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 720px) {
    .tarifs-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .tarifs-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarifs-plaque--wide {
        grid-column: 1 / -1;
    }
}

.tarifs-plaque {
    padding: 1.35rem 1.25rem 1.5rem;
    background: linear-gradient(165deg, rgba(26, 61, 82, 0.2) 0%, rgba(14, 12, 16, 0.96) 55%);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 2px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.tarifs-plaque:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.25);
}

.tarifs-plaque__title {
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(200, 169, 106, 0.18);
}

.tarifs-plaque__rows {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tarifs-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tarifs-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.tarifs-row--stack {
    flex-wrap: wrap;
}

.tarifs-row__what {
    font-size: 0.92rem;
    color: var(--white-soft);
    font-weight: 300;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.tarifs-row__amount {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--gold-light);
    font-weight: 600;
    white-space: nowrap;
}

.tarifs-row__amount--block {
    white-space: normal;
    text-align: right;
    line-height: 1.55;
    font-size: 0.9rem;
}

.gift-section {
    background:
        radial-gradient(ellipse 80% 80% at 50% 0%, rgba(200, 169, 106, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #151218 0%, #0c0a0e 100%);
    text-align: center;
}

.gift-section__frame {
    max-width: 32rem;
    margin: 0 auto;
    padding: 2rem 1.5rem 2.25rem;
    border: 1px solid rgba(200, 169, 106, 0.28);
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(20, 16, 24, 0.9) 0%, rgba(10, 8, 11, 0.95) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.gift-section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.gift-section__text {
    max-width: 28rem;
    margin: 0 auto 1.75rem;
    color: rgba(245, 245, 243, 0.88);
    font-weight: 300;
    line-height: 1.65;
    font-size: 0.98rem;
}

.gift-section__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.gallery-section {
    background: linear-gradient(180deg, #111014 0%, #09080b 100%);
}

.gallery-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.gallery-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78%);
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.1rem 0.45rem;
    scrollbar-width: thin;
}

.gallery-carousel__item {
    position: relative;
    border: 1px solid rgba(200, 169, 106, 0.25);
    background: rgba(200, 169, 106, 0.06);
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    scroll-snap-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
}

.gallery-carousel__item::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(120% 90% at 15% 0%, rgba(200, 169, 106, 0.2) 0%, transparent 55%),
        linear-gradient(165deg, rgba(13, 9, 12, 0.06) 0%, rgba(13, 9, 12, 0.28) 100%);
    mix-blend-mode: screen;
    opacity: 0.65;
    transition: opacity 0.45s ease;
}

.gallery-carousel__item img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    max-height: 260px;
    object-fit: cover;
    display: block;
    filter: saturate(0.95) contrast(1.03) brightness(0.98) sepia(0.08);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.45s ease;
}

.gallery-carousel__item:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.45);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 0 22px rgba(200, 169, 106, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery-carousel__item:hover::after {
    opacity: 0.82;
}

.gallery-carousel__item:hover img {
    transform: scale(1.04);
    filter: saturate(1) contrast(1.08) brightness(0.98) sepia(0.05) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.gallery-carousel__nav {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    border: 1px solid rgba(200, 169, 106, 0.45);
    background: rgba(10, 10, 10, 0.88);
    color: var(--gold-light);
    font-size: 1.2rem;
    cursor: pointer;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(3, 3, 4, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox__figure {
    width: min(95vw, 1100px);
    max-height: 85vh;
    margin: 0;
}

.gallery-lightbox__figure img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(200, 169, 106, 0.35);
}

.gallery-lightbox__close,
.gallery-lightbox__arrow {
    position: absolute;
    border: 1px solid rgba(200, 169, 106, 0.45);
    background: rgba(10, 10, 10, 0.85);
    color: var(--gold-light);
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__close {
    top: 1rem;
    right: 1rem;
}

.gallery-lightbox__arrow--prev {
    left: 1rem;
}

.gallery-lightbox__arrow--next {
    right: 1rem;
}

@media (min-width: 900px) {
    .gallery-carousel__track {
        grid-auto-columns: minmax(260px, 32%);
    }
}

@media (max-width: 767px) {
    .gallery-carousel__track {
        gap: 1rem;
    }

    .gallery-carousel__item img {
        min-height: 250px;
        max-height: 320px;
    }
}

.contact-links-block {
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200, 169, 106, 0.12);
    text-align: center;
}

.contact-links-block__label {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.contact-links-block__inline {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 1rem;
    font-size: 0.98rem;
}

.contact-links-block__inline a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 400;
}

.contact-links-block__inline a:hover {
    color: var(--gold);
}

.contact-links-block__dot {
    font-size: 0.45rem;
    color: var(--gold);
    opacity: 0.55;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: linear-gradient(180deg, var(--black-soft) 0%, #121212 40%, var(--black) 100%);
    padding: 60px 0 50px;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 106, 0.25), transparent);
    pointer-events: none;
}

@media (min-width: 768px) {
    .contact {
        padding: 90px 0 70px;
    }
}

@media (min-width: 1024px) {
    .contact {
        padding: 120px 0 100px;
    }
}

/* Mobile Contact Section - Enhanced touch targets */
@media (max-width: 767px) {
    .contact {
        padding: 55px 0 45px;
    }

    .contact-subtitle {
        font-size: clamp(1.02rem, 2.8vw, 1.15rem);
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    .contact-info {
        gap: 22px;
        margin-bottom: 35px;
    }

    .contact-item {
        padding: 22px 20px;
        border-radius: 20px;
        gap: 18px;
    }

    .contact-icon {
        font-size: 1.95rem;
        min-width: 45px;
    }

    .contact-heading {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .contact-details p,
    .contact-details a {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .contact-hint {
        font-size: 0.92rem;
    }
}

/* Tablet Contact Section */
@media (min-width: 768px) and (max-width: 1023px) {
    .contact {
        padding: 80px 0 65px;
    }

    .contact-content {
        max-width: 560px;
    }
}

.contact-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--white-soft);
    font-weight: 300;
    margin-top: 15px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .contact-info {
        gap: 30px;
        margin-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .contact-info {
        gap: 35px;
        margin-bottom: 60px;
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(200, 169, 106, 0.06);
    border-radius: 16px;
    border: 1px solid rgba(200, 169, 106, 0.12);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.contact-item:hover {
    background: rgba(200, 169, 106, 0.08);
    border-color: rgba(200, 169, 106, 0.2);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--gold);
    min-width: 40px;
    text-align: center;
}

.contact-details h4,
.contact-heading {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-details p,
.contact-details a {
    font-size: 1rem;
    color: var(--white-soft);
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-hint {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    opacity: 0.75;
    font-weight: 300;
}

.contact-hint a {
    color: var(--gold-light);
}

.hours-note a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hours-note a:hover {
    color: var(--gold);
}

.footer__meta a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__meta a:hover {
    color: var(--gold-light);
}

/* CTA Button */
.cta-container {
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%);
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow:
        0 10px 32px rgba(200, 169, 106, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(200, 169, 106, 0.5);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

/* Mobile CTA Buttons - Thumb-friendly */
@media (max-width: 767px) {
    .cta-button {
        width: 100%;
        padding: 1.15rem 2.25rem;
        font-size: 0.95rem;
        min-height: 3.5rem;
        border-radius: 999px;
        box-shadow:
            0 12px 36px rgba(200, 169, 106, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    }

    .cta-button:active {
        transform: scale(0.98);
    }

    .cta-arrow {
        font-size: 1.4rem;
    }
}

/* Tablet CTA Buttons */
@media (min-width: 768px) and (max-width: 1023px) {
    .cta-button {
        padding: 1.05rem 2.75rem;
        font-size: 1rem;
        min-height: 3.35rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    background: linear-gradient(180deg, #050506 0%, #0a0a0c 35%, #080809 100%);
    padding: 0;
    border-top: 1px solid rgba(200, 169, 106, 0.12);
    overflow: hidden;
}

.footer__top-accent {
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(184, 153, 84, 0.4) 25%,
        var(--gold-light) 50%,
        rgba(184, 153, 84, 0.4) 75%,
        transparent 100%
    );
    opacity: 0.85;
}

.footer__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 520px);
    height: 220px;
    background: radial-gradient(ellipse at center, rgba(200, 169, 106, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer__main {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.75rem;
    padding: 3rem 20px 2.25rem;
    justify-items: center;
    text-align: center;
}

.footer__brand {
    max-width: 280px;
}

.footer__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    outline: none;
}

.footer__logo-link:focus-visible {
    box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--gold);
}

.footer__tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    color: var(--gold-light);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.footer__subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white-soft);
    opacity: 0.55;
    font-weight: 400;
}

.footer__heading {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    font-weight: 500;
}

.footer__nav,
.footer__contact-block {
    width: 100%;
    max-width: 280px;
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}

.footer__list a {
    color: var(--white-soft);
    font-size: 0.98rem;
    font-weight: 300;
    padding: 0.15rem 0;
    border-bottom: 1px solid transparent;
}

.footer__list a:hover,
.footer__list a:focus-visible {
    color: var(--gold-light);
    border-bottom-color: rgba(200, 169, 106, 0.35);
}

.footer__list--compact {
    gap: 0.5rem;
}

.footer__address {
    margin-top: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--white-soft);
    opacity: 0.7;
    font-style: normal;
    font-weight: 300;
}

.footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(200, 169, 106, 0.08);
    background: rgba(0, 0, 0, 0.45);
    padding: 1.35rem 0 1.5rem;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    text-align: center;
}

.footer__copy {
    font-size: 0.88rem;
    color: var(--white-soft);
    opacity: 0.65;
    font-weight: 300;
}

.footer__meta {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--white-soft);
    opacity: 0.45;
    font-weight: 300;
}

@media (min-width: 768px) {
    .footer__main {
        grid-template-columns: 1.15fr 0.95fr 1fr;
        justify-items: stretch;
        align-items: start;
        text-align: left;
        gap: 2rem 2.5rem;
        padding: 3.5rem 20px 2.75rem;
    }

    .footer__brand {
        max-width: none;
    }

    .footer__logo-link {
        margin-bottom: 1.25rem;
    }

    .footer__list {
        align-items: flex-start;
    }

    .footer__nav,
    .footer__contact-block {
        max-width: none;
    }

    .footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer__meta {
        max-width: 420px;
        text-align: right;
    }
}

@media (min-width: 1024px) {
    .footer__main {
        padding: 4rem 20px 3rem;
        gap: 2rem 4rem;
    }

    .logo--footer {
        width: 96px;
        max-width: 96px;
    }
}

/* Mobile Footer - Enhanced spacing */
@media (max-width: 767px) {
    .footer__main {
        padding: 2.75rem 20px 2rem;
        gap: 2.5rem;
    }

    .footer__brand {
        max-width: 100%;
    }

    .footer__tagline {
        font-size: clamp(1.2rem, 3vw, 1.4rem);
    }

    .footer__subtitle {
        font-size: 0.78rem;
        letter-spacing: 0.16em;
    }

    .footer__heading {
        font-size: 0.88rem;
        margin-bottom: 1rem;
    }

    .footer__list {
        gap: 0.7rem;
    }

    .footer__list a {
        font-size: 1rem;
        padding: 0.2rem 0;
    }

    .footer__address {
        margin-top: 1.35rem;
        font-size: 0.95rem;
    }

    .footer__bottom {
        padding: 1.25rem 0 1.5rem;
    }

    .footer__copy {
        font-size: 0.9rem;
    }

    .footer__meta {
        font-size: 0.8rem;
    }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
   ======================================== */
@media (max-width: 380px) {
    .logo {
        width: min(78vw, 209px);
        max-width: 209px;
    }

    .hero__headline {
        font-size: 1.65rem;
    }

    .hero__lede {
        font-size: 0.86rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .ritual-step {
        padding: 25px 20px;
    }
    
    .scroll-indicator::before {
        font-size: 0.75rem;
        bottom: 55px;
    }
    
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (min-width: 768px) {
    .logo {
        width: 280px;
        max-width: 280px;
    }
    
    section:not(.hero) {
        padding: 100px 0;
    }
}

/* ========================================
   RESPONSIVE - DESKTOP
   ======================================== */
@media (min-width: 1024px) {
    .logo {
        width: 300px;
        max-width: 300px;
    }
    
    section:not(.hero) {
        padding: 120px 0;
    }
}

/* ========================================
   TOUCH OPTIMIZATION
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .palace-card:active {
        transform: scale(0.99);
    }
    
    .cta-button:active {
        transform: scale(0.95);
    }
    
}

/* ========================================
   HORAIRES · INFOS PRATIQUES · CARTE
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hours-section {
    background: linear-gradient(180deg, #0e0e10 0%, var(--black-soft) 100%);
}

.hours-grid {
    display: grid;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hours-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hours-card--wide {
        grid-column: 1 / -1;
    }
}

.hours-card {
    padding: 1.5rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(200, 169, 106, 0.15);
    background: rgba(200, 169, 106, 0.04);
    text-align: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s ease,
                background 0.5s ease;
}

.hours-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.28);
    background: rgba(200, 169, 106, 0.08);
}

.hours-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 0.65rem;
    font-weight: 500;
}

.hours-card__text {
    font-size: 0.98rem;
    color: var(--white-soft);
    line-height: 1.65;
    font-weight: 300;
}

.hours-note {
    text-align: center;
    max-width: 720px;
    margin: 2rem auto 0;
    font-size: 1rem;
    color: var(--white-soft);
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

.cta-button--ghost {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid rgba(200, 169, 106, 0.45);
    box-shadow: none;
}

.cta-button--ghost:hover {
    background: rgba(200, 169, 106, 0.1);
    color: var(--gold-light);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200, 169, 106, 0.15);
}

.reservation-banner {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200, 169, 106, 0.12) 0%, transparent 55%),
        linear-gradient(135deg, #1a0f14 0%, #0f0a0c 100%);
    text-align: center;
    padding: 70px 0;
}

@media (min-width: 768px) {
    .reservation-banner {
        padding: 90px 0;
    }
}

.reservation-banner__title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.15rem);
    color: var(--gold-light);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.35;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.reservation-banner__text {
    color: var(--white-soft);
    font-weight: 300;
    margin-bottom: 1.75rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.map-section {
    padding: 0 !important;
    background: var(--black);
}

.map-embed {
    line-height: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.map-embed iframe {
    width: 100%;
    height: min(420px, 55vw);
    border: 0;
    display: block;
    filter: grayscale(0.2) contrast(1.05);
}

.about-signature {
    margin-top: 2.5rem;
    text-align: center;
}

.about-signature__name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 500;
}

.about-signature__role {
    font-size: 0.9rem;
    color: var(--white-soft);
    opacity: 0.75;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.35rem;
    display: block;
}

/* ========================================
   ACCESSIBILITY — skip link
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: max(12px, env(safe-area-inset-top, 12px));
    outline: 2px solid var(--white);
    outline-offset: 2px;
}
