/* ============================================================
   ROCK SPA & WELLNESS — Feuille de style principale
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    /* Palette chaude & premium */
    --clr-primary:       #8B6914;
    --clr-primary-light: #C49B30;
    --clr-primary-dark:  #6B4F0E;
    --clr-gold:          #D4A847;
    --clr-dark:          #1A1A1A;
    --clr-darker:        #111111;
    --clr-warm-gray:     #2C2620;
    --clr-light:         #F5F0E8;
    --clr-lighter:       #FAF8F4;
    --clr-cream:         #F0E6D3;
    --clr-text:          #222222;
    --clr-text-light:    #777777;
    --clr-white:         #FFFFFF;

    /* Typographie */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Montserrat', 'Segoe UI', sans-serif;

    /* Layout */
    --nav-height: 72px;
    --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden; 
}

body {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    color: var(--clr-text);
    background-color: var(--clr-white);
    line-height: 1.85;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-dark);
    line-height: 1.3;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Navbar ---- */
#mainNav {
    padding: 0.75rem 0;
    transition: background var(--transition),
                padding var(--transition),
                box-shadow var(--transition);
    background: transparent;
    z-index: 1050;
}

#mainNav.scrolled,
body.subpage #mainNav {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

#mainNav .navbar-brand {
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#mainNav .brand-icon {
    font-size: 1.5rem;
    margin-right: 0.35rem;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.65rem;
    transition: color var(--transition);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1.25;
}

@media (min-width: 992px) {
    #mainNav .nav-item {
        border-right: 1px solid rgba(212, 168, 71, 0.4);
    }
    #mainNav .nav-item:last-child {
        border-right: none;
    }
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--clr-gold);
}

#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

#mainNav .navbar-toggler-icon {
    filter: invert(1);
}

.btn-nav-cta {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-size: 0.8rem;
}

.nav-icon-btn {
    border: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    padding: 0.35rem 0.5rem;
}

.nav-icon-btn:hover,
.nav-icon-btn:focus,
.nav-icon-btn:focus-visible,
.nav-icon-btn:active {
    border: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
}

.nav-lang-btn {
    min-width: 2.25rem;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
}

.nav-lang-btn::after {
    margin-left: 0.4rem;
}

@media (min-width: 992px) {
    .nav-tools-divider {
        position: relative;
        margin-left: 0.45rem;
        padding-left: 0.85rem;
    }

    .nav-tools-divider::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 1.8rem;
        background: rgba(212, 168, 71, 0.65);
        box-shadow: 0 0 10px rgba(212, 168, 71, 0.25);
    }
}

.search-trigger {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.search-trigger i {
    font-size: 0.95rem;
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 26, 0.35) 0%,
        rgba(26, 26, 26, 0.55) 60%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--clr-white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    animation: bounceDown 1.5s ease-in-out infinite;
    display: inline-block;
    transition: color var(--transition), text-shadow var(--transition);
}

.hero-scroll-indicator a:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

@keyframes bounceDown {
    0%   { transform: translateY(0); opacity: 1; }
    25%  { transform: translateY(12px); opacity: 1; }
    50%  { transform: translateY(0); opacity: 1; }
    75%  { transform: translateY(12px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}


/* ---- Boutons ---- */
.btn-primary {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 0;
    transition: all var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(139, 105, 20, 0.35);
}

.btn-outline-primary {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all var(--transition);
}

.btn-outline-primary:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.btn-outline-light {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
    padding: 0.75rem 2rem;
}

/* ---- Sections ---- */
.section {
    padding: 6rem 0;
}

.section-dark {
    background: var(--clr-dark);
    color: var(--clr-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h5 {
    color: var(--clr-light);
}

.section-cream {
    background: var(--clr-cream);
}

.section-light {
    background: var(--clr-lighter);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--clr-text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--clr-gold);
    margin: 1.5rem auto 2rem;
}

/* ---- Section News ---- */
.news-section {
    position: relative;
    background:
        radial-gradient(circle at 10% 10%, rgba(212, 168, 71, 0.18), transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(139, 105, 20, 0.15), transparent 40%),
        var(--clr-lighter);
    border-top: 1px solid rgba(212, 168, 71, 0.35);
    border-bottom: 1px solid rgba(212, 168, 71, 0.35);
}

.news-card {
    background: var(--clr-white);
    border: 1px solid rgba(212, 168, 71, 0.4);
    border-radius: 2px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(17, 17, 17, 0.12);
    border-color: var(--clr-primary);
}

.news-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.9rem;
}

.news-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(139, 105, 20, 0.12);
    color: var(--clr-primary-dark);
    border: 1px solid rgba(139, 105, 20, 0.25);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
}

.news-period {
    font-size: 0.84rem;
    color: var(--clr-text-light);
}

.news-title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-bottom: 0.65rem;
}

.news-text {
    color: var(--clr-text);
    line-height: 1.7;
}

/* ---- Placeholders images ---- */
.img-placeholder {
    background: linear-gradient(135deg, var(--clr-cream) 0%, var(--clr-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-light);
    font-size: 0.85rem;
    min-height: 300px;
    border-radius: 4px;
}

.section-dark .img-placeholder {
    background: linear-gradient(135deg, var(--clr-warm-gray) 0%, #3a342c 100%);
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Contact ---- */
.contact-info-card {
    background: var(--clr-lighter);
    border-left: 3px solid var(--clr-gold);
    border-radius: 0 4px 4px 0;
}

.contact-info-card a {
    color: var(--clr-primary);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--clr-darker);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.site-footer h5 {
    color: var(--clr-gold);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--clr-gold);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
}

.footer-hours li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* ---- Panier off-canvas ---- */
#cartPanel {
    max-width: 420px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--clr-primary);
    white-space: nowrap;
    margin-left: 1rem;
}

/* ---- Recherche modal ---- */
.search-modal-content {
    border: 0;
    border-radius: 0;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.25);
}

.search-results-wrap {
    min-height: 360px;
    max-height: 58vh;
    overflow: hidden;
}

.search-hint {
    margin-bottom: 0.65rem;
}

.search-results {
    max-height: calc(58vh - 2rem);
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.search-result-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    text-align: left;
    display: block;
    padding: 0.8rem 0.2rem;
    transition: background-color 0.2s ease;
}

.search-result-item:hover,
.search-result-item.active {
    background: rgba(212, 168, 71, 0.14);
}

.search-result-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--clr-dark);
    line-height: 1.2;
}

.search-result-snippet {
    display: block;
    font-size: 0.88rem;
    color: var(--clr-text-light);
    margin-top: 0.25rem;
}

mark.search-mark {
    background: rgba(212, 168, 71, 0.45);
    color: inherit;
    padding: 0 0.1em;
}

/* ---- Page padding pour sous-pages ---- */
.pt-navbar {
    padding-top: calc(var(--nav-height) + 3rem);
}

/* ---- Animations (support Phase 7) ---- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Forms ---- */
.form-control {
    border-radius: 0;
    border-color: #ddd;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 105, 20, 0.15);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    #mainNav {
        background: rgba(26, 26, 26, 0.95);
    }
    .section {
        padding: 4rem 0;
    }
    .hero-section {
        min-height: 500px;
    }

    .search-results-wrap {
        min-height: 300px;
        max-height: 52vh;
    }

    .news-card {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-video {
        display: none;
    }
    .hero-image {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3rem 0;
    }
    .hero-title {
        margin-top: 1rem;
    }
    .hero-cta-group .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/* ============================================================
   PHASE 2 — CSS PREMIUM SPA & WELLNESS
   ============================================================ */

/* ---- Cartes Soins / Traitements ---- */
.treatment-card {
    background: var(--clr-white);
    border: none;
    border-radius: 2px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
}

.treatment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.treatment-card .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover .card-img-top {
    transform: scale(1.05);
}

.treatment-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treatment-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.treatment-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.treatment-card .card-img-overlay-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
}

.treatment-card .card-body {
    padding: 1.5rem;
}

.treatment-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--clr-dark);
}

.treatment-card .card-text {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

.treatment-card .card-footer {
    background: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treatment-card .treatment-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.treatment-card .treatment-duration {
    font-size: 0.8rem;
    color: var(--clr-text-light);
}

/* Variante sombre (Night Spa) */
.section-dark .treatment-card {
    background: var(--clr-warm-gray);
}

.section-dark .treatment-card .card-title {
    color: var(--clr-light);
}

.section-dark .treatment-card .card-text {
    color: rgba(255, 255, 255, 0.6);
}

.section-dark .treatment-card .card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ---- Bouton Ajouter au panier ---- */
.btn-add-cart {
    background: transparent;
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 0;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.btn-add-cart i {
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.section-dark .btn-add-cart {
    border-color: var(--clr-gold);
    color: var(--clr-gold);
}

.section-dark .btn-add-cart:hover {
    background: var(--clr-gold);
    color: var(--clr-dark);
}

/* ---- Tableaux de Tarifs ---- */
.tarif-category {
    background: var(--clr-white);
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); 
    border: 1px solid rgba(0,0,0,0.02);
}

.section-dark .tarif-category {
    background: var(--clr-warm-gray);
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.tarif-category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-dark);
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.tarif-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--clr-gold);
}

.section-dark .tarif-category-title {
    color: var(--clr-light);
}

.tarif-category-desc {
    color: var(--clr-text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.section-dark .tarif-category-desc {
    color: rgba(255,255,255,0.6);
}

.tarif-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* Variantes de grille pour aligner les colonnes entre tableaux. */
.tarif-table.tarif-table--5 th:nth-child(1),
.tarif-table.tarif-table--5 td:nth-child(1) {
    width: 51%;
}

.tarif-table.tarif-table--5 th:nth-child(2),
.tarif-table.tarif-table--5 td:nth-child(2) {
    width: 13%;
}

.tarif-table.tarif-table--5 th:nth-child(3),
.tarif-table.tarif-table--5 td:nth-child(3),
.tarif-table.tarif-table--5 th:nth-child(4),
.tarif-table.tarif-table--5 td:nth-child(4) {
    width: 14%;
}

.tarif-table.tarif-table--5 th:nth-child(5),
.tarif-table.tarif-table--5 td:nth-child(5) {
    width: 8%;
}

.tarif-table.tarif-table--4 th:nth-child(1),
.tarif-table.tarif-table--4 td:nth-child(1) {
    width: 64%;
}

.tarif-table.tarif-table--4 th:nth-child(2),
.tarif-table.tarif-table--4 td:nth-child(2),
.tarif-table.tarif-table--4 th:nth-child(3),
.tarif-table.tarif-table--4 td:nth-child(3) {
    width: 14%;
}

.tarif-table.tarif-table--4 th:nth-child(4),
.tarif-table.tarif-table--4 td:nth-child(4) {
    width: 8%;
}

.tarif-table.tarif-table--3 th:nth-child(1),
.tarif-table.tarif-table--3 td:nth-child(1) {
    width: 64%;
}

.tarif-table.tarif-table--3 th:nth-child(2),
.tarif-table.tarif-table--3 td:nth-child(2) {
    width: 28%;
}

.tarif-table.tarif-table--3 th:nth-child(3),
.tarif-table.tarif-table--3 td:nth-child(3) {
    width: 8%;
}

.tarif-table.tarif-table--2 th:nth-child(1),
.tarif-table.tarif-table--2 td:nth-child(1) {
    width: 64%;
}

.tarif-table.tarif-table--2 th:nth-child(2),
.tarif-table.tarif-table--2 td:nth-child(2) {
    width: 36%;
}

.tarif-table thead th {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-primary);
    border-bottom: 2px solid var(--clr-gold);
    padding: 1rem 1.5rem;
    text-align: left;
    background: rgba(240, 230, 211, 0.15);
}

.section-dark .tarif-table thead th {
    background: rgba(255,255,255,0.03);
    color: var(--clr-gold);
}

.tarif-table tbody tr {
    transition: background var(--transition), transform 0.2s ease;
}

.tarif-table tbody tr:hover {
    background: rgba(240, 230, 211, 0.3);
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    z-index: 1;
    position: relative;
}

.section-dark .tarif-table tbody tr:hover {
    background: rgba(255,255,255,0.05);
}

.tarif-table td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.tarif-table th,
.tarif-table td {
    overflow-wrap: break-word;
}

.section-dark .tarif-table td {
    border-bottom-color: rgba(255,255,255,0.05);
}

.tarif-table tbody tr:last-child td {
    border-bottom: none;
}

.tarif-table .tarif-name {
    font-weight: 600;
    color: var(--clr-dark);
    font-size: 1.05rem;
    font-family: var(--font-heading);
}

.section-dark .tarif-table .tarif-name {
    color: var(--clr-light);
}

.tarif-table .tarif-detail {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    display: block;
    margin-top: 0.35rem;
    line-height: 1.4;
    font-family: var(--font-body);
}

.section-dark .tarif-table .tarif-detail {
    color: rgba(255,255,255,0.5);
}

.tarif-table .tarif-prix {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-primary);
    white-space: nowrap;
}

.section-dark .tarif-table .tarif-prix {
    color: var(--clr-gold);
}

.tarif-table .tarif-duo {
    color: var(--clr-primary-light);
    font-weight: 600;
    white-space: nowrap;
    font-size: 1rem;
}

.section-dark .tarif-table .tarif-duo {
    color: rgba(212, 168, 71, 0.8);
}

.tarif-table .tarif-duree {
    color: var(--clr-text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    background: rgba(0,0,0,0.03);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.section-dark .tarif-table .tarif-duree {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsiveness for table */
@media (max-width: 768px) {
    .tarif-category {
        padding: 1.5rem 1rem;
    }
    
    .tarif-table thead {
        display: none;
    }
    
    .tarif-table, .tarif-table tbody, .tarif-table tr, .tarif-table td {
        display: block;
        width: 100%;
    }
    
    .tarif-table tr {
        margin-bottom: 2rem;
        background: #fafafa;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 1rem;
    }

    .section-dark .tarif-table tr {
        background: rgba(255,255,255,0.03);
        border-color: rgba(255,255,255,0.1);
    }
    
    .tarif-table td {
        padding: 0.5rem 0;
        text-align: right;
        border-bottom: 1px dashed #eee!important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .section-dark .tarif-table td {
        border-bottom-color: rgba(255,255,255,0.1)!important;
    }
    
    .tarif-table td:last-child {
        border-bottom: none!important;
        justify-content: center;
        padding-top: 1rem;
    }
    
    .tarif-table td::before {
        content: attr(data-label) " ";
        float: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: var(--clr-text-light);
        margin-right: 0.5rem;
    }

    .tarif-table td:not([data-label])::before,
    .tarif-table td:last-child::before {
        display: none;
    }

    .tarif-table td:first-child {
        text-align: left;
        display: block;
    }
    
    .tarif-table td:first-child::before {
        display: none;
    }

    .tarif-table .tarif-name {
        font-size: 1.2rem;
        display: block;
        margin-bottom: 0.25rem;
    }
}

/* ---- Cartes Escapades ---- */
.escapade-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: var(--clr-white);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
}

.escapade-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.escapade-card .escapade-img {
    height: 220px;
    overflow: hidden;
}

.escapade-card .escapade-img img,
.escapade-card .escapade-img .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.escapade-card:hover .escapade-img img,
.escapade-card:hover .escapade-img .img-placeholder {
    transform: scale(1.06);
}

.escapade-card .escapade-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--clr-gold);
    color: var(--clr-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
}

.escapade-card .escapade-body {
    padding: 1.5rem;
}

.escapade-card .escapade-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.escapade-card .escapade-includes {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.escapade-card .escapade-includes li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.escapade-card .escapade-includes li i {
    color: var(--clr-gold);
    margin-right: 0.5rem;
}

.escapade-card .escapade-price-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.escapade-card .escapade-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
}

.escapade-card .escapade-price small {
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    color: var(--clr-text-light);
    margin-top: 0.2rem;
}

/* ---- Cartes Journées Bien-être ---- */
.journee-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    position: relative;
}

.journee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.journee-card .journee-icon {
    font-size: 2.5rem;
    color: var(--clr-gold);
    margin-bottom: 1rem;
}

.journee-card .journee-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.journee-card .journee-programme {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.journee-card .journee-programme li {
    font-size: 0.85rem;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.journee-card .journee-programme li::before {
    content: '\2022';
    color: var(--clr-gold);
    position: absolute;
    left: 0;
}

.journee-card .journee-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-top: 1rem;
}

.journee-card .journee-price small {
    font-size: 0.9rem;
    font-weight: 400;
    display: block;
    color: var(--clr-text-light);
}

/* ---- Galerie / Grille d'images ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-grid .gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.gallery-grid .gallery-item img,
.gallery-grid .gallery-item .img-placeholder {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid .gallery-item:hover img,
.gallery-grid .gallery-item:hover .img-placeholder {
    transform: scale(1.08);
}

.gallery-grid .gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.4s ease;
}

.gallery-grid .gallery-item:hover::after {
    background: rgba(26, 26, 26, 0.2);
}

.gallery-grid .gallery-item .gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2;
    color: var(--clr-white);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    text-align: center;
    padding: 0 1rem;
    max-width: 90%;
}

.gallery-grid .gallery-item:hover .gallery-zoom {
    transform: translate(-50%, -50%) scale(1);
}

/* ---- Section Parallaxe ---- */
.section-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.section-parallax::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
}

.section-parallax > .container {
    position: relative;
    z-index: 1;
}

@supports (-webkit-touch-callout: none) {
    .section-parallax {
        background-attachment: scroll;
    }
}

/* ---- Section Night Spa — Ambiance spéciale ---- */
.section-nightspa {
    background: linear-gradient(160deg, #1a1410 0%, #2c2015 40%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.section-nightspa::before {
    content: '';
    pointer-events: none;
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(212, 168, 71, 0.04) 0%,
        transparent 60%
    );
    animation: nightGlow 8s ease-in-out infinite alternate;
}

.section-nightspa > .container { 
    position: relative; z-index: 1; 
}

@keyframes nightGlow {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(5%, 3%); }
}

/* ---- Bons Cadeaux — Section spéciale ---- */
.gift-section {
    position: relative;
}

.gift-card {
    background: linear-gradient(135deg, var(--clr-primary-dark) 0%, var(--clr-primary) 50%, var(--clr-gold) 100%);
    color: var(--clr-white);
    padding: 3rem 2.5rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-card::before {
    content: '\1F381';
    position: absolute;
    font-size: 12rem;
    opacity: 0.06;
    top: -2rem;
    right: -1rem;
    transform: rotate(-15deg);
}

.gift-card h3 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.gift-card p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Infos pratiques — icônes et cartes ---- */
.info-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform var(--transition);
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card .info-icon {
    font-size: 2rem;
    color: var(--clr-gold);
    margin-bottom: 1rem;
}

.info-card h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* Harmonise les accents de la section infos avec la palette or du site */
#infos .text-primary {
    color: var(--clr-gold) !important;
}

#infos .text-success {
    color: var(--clr-gold) !important;
}

#infos .bg-light-primary {
    background: rgba(212, 168, 71, 0.1) !important;
}

#infos .btn-outline-primary {
    color: var(--clr-gold);
    border-color: var(--clr-gold);
}

#infos .btn-outline-primary:hover,
#infos .btn-outline-primary:focus {
    color: var(--clr-dark);
    background: var(--clr-gold);
    border-color: var(--clr-gold);
}

/* ---- Équipements Spa — liste avec icônes ---- */
.amenity-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.amenity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.amenity-list li i {
    color: var(--clr-gold);
    font-size: 1.2rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.section-dark .amenity-list li i {
    color: var(--clr-gold);
}

/* ---- Chiffres / Stats ---- */
.stat-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-text-light);
    margin-top: 0.3rem;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Contact amélioré ---- */
.form-control-premium {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    padding: 0.85rem 0.25rem;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-control-premium:focus {
    border-color: var(--clr-gold);
    box-shadow: none;
    background: transparent;
}

.contact-map {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* ---- Badge promo / nouveau ---- */
.badge-gold {
    background: var(--clr-gold);
    color: var(--clr-dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 0;
}

.badge-promo {
    background: #C0392B;
    color: var(--clr-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 0;
}

/* ---- Séparateur décoratif ---- */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.ornament::before,
.ornament::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--clr-gold);
}

.ornament span {
    color: var(--clr-gold);
    font-size: 1.2rem;
}

/* ---- Animations supplémentaires ---- */
.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Délais d'animation échelonnés */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ---- Hover effets images ---- */
.img-hover-zoom {
    overflow: hidden;
    border-radius: 2px;
}

.img-hover-zoom img {
    transition: transform 0.6s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.06);
}

/* ---- Section texte + image côte à côte ---- */
.split-section .split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.split-section .split-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.split-section .split-img {
    min-height: 400px;
    overflow: hidden;
    border-radius: 2px;
}

.split-section .split-img img,
.split-section .split-img .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Sous-pages — layout ---- */
.subpage-header {
    text-align: center;
    padding: 2rem 0 3rem;
}

.subpage-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.subpage-breadcrumb {
    font-size: 0.8rem;
    color: var(--clr-text-light);
    margin-bottom: 1.5rem;
}

.subpage-breadcrumb a {
    color: var(--clr-primary);
}

/* ---- Scrollbar personnalisée ---- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clr-lighter);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary);
}

/* ---- Sélection texte ---- */
::selection {
    background: rgba(212, 168, 71, 0.25);
    color: var(--clr-dark);
}

/* ---- Loader / transition de page ---- */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--clr-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.page-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 168, 71, 0.2);
    border-top-color: var(--clr-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- Responsive Phase 2 ---- */
@media (max-width: 991.98px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-row {
        gap: 2rem;
    }
    .split-section .split-img {
        min-height: 300px;
    }
    .escapade-card .escapade-img {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .stat-row {
        gap: 1.5rem;
    }
    .tarif-table thead {
        display: none;
    }
    .tarif-table,
    .tarif-table tbody,
    .tarif-table tr,
    .tarif-table td {
        display: block;
    }
    .tarif-table tr {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .tarif-table td {
        padding: 0.25rem 0;
        text-align: left;
    }
    .tarif-table .tarif-prix {
        font-size: 1.2rem;
    }
    .journee-card {
        padding: 1.5rem 1rem;
    }
    .gift-card {
        padding: 2rem 1.5rem;
    }
    .gift-card h3 {
        font-size: 1.5rem;
    }
}

/* ---- Phase 7 : Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--clr-primary);
    color: var(--clr-white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-2px);
}

/* ---- Phase 7 : Navbar auto-hide transition ---- */
#mainNav {
    transition: background var(--transition),
                padding var(--transition),
                box-shadow var(--transition),
                transform 0.35s ease;
}

/* ---- Phase 7 : Cart badge pulse ---- */
.cart-badge-pulse {
    animation: badgePulse 0.6s ease;
}

@keyframes badgePulse {
    0%   { transform: translate(-50%, 0) scale(1); }
    50%  { transform: translate(-50%, 0) scale(1.4); }
    100% { transform: translate(-50%, 0) scale(1); }
}

/* ---- Phase 7 : Cart item slide-in ---- */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- Phase 7 : Lazy loaded images ---- */
img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[data-src].loaded,
img:not([data-src]) {
    opacity: 1;
}

/* ---- Print ---- */
@media print {
    .hero-section,
    #mainNav,
    .site-footer,
    #cartPanel,
    .hero-scroll-indicator,
    .btn-add-cart {
        display: none !important;
    }
    .section {
        padding: 1.5rem 0;
        page-break-inside: avoid;
    }
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ============================================================
   Updated Tarif Styles (Appended)
   ============================================================ */

/* ---- Subpage Header ---- */
.subpage-header {
    background-color: var(--clr-lighter);
    padding: 6rem 0 3rem;
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.subpage-header .section-title {
    margin-bottom: 0.5rem;
}

.subpage-header .section-subtitle {
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.subpage-breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-light);
    margin-bottom: 1rem;
    display: inline-block;
}

.subpage-breadcrumb a {
    color: var(--clr-medium);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subpage-breadcrumb a:hover {
    color: var(--clr-primary);
}

/* ---- Escapades Banner ---- */
.escapades-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 1.5rem 0 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4af37;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
        url("../img/escapade_4.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .escapades-banner {
        min-height: 220px;
        margin: 1rem 0 1.5rem 0;
    }
}

/* ---- Prix Banner ---- */
.prix-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 1.5rem 0 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4af37;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
        url("../img/prix.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .prix-banner {
        min-height: 220px;
        margin: 1rem 0 1.5rem 0;
    }
}


/* ---- Chaussure Banner ---- */
.chaussure-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 1.5rem 0 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4af37;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
        url("../img/chaussure.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .chaussure-banner {
        min-height: 220px;
        margin: 1rem 0 1.5rem 0;
    }
}


/* ---- Escale Banner ---- */
.escale-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 1.5rem 0 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4af37;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
        url("../img/escale.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .escale-banner {
        min-height: 220px;
        margin: 1rem 0 1.5rem 0;
    }
}


/* ---- Entrée Banner ---- */
.entree-banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    margin: 1.5rem 0 2rem 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d4af37;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08)),
        url("../img/entree.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .entree-banner {
        min-height: 220px;
        margin: 1rem 0 1.5rem 0;
    }
}



/* ---- Tarif Category ---- */
.tarif-category {
    background: var(--clr-white);
    padding: 3rem;
    margin-bottom: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.tarif-category-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.tarif-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--clr-gold);
}

.tarif-category-desc {
    font-size: 1.05rem;
    color: var(--clr-text-light);
    margin-bottom: 2.5rem;
    max-width: 800px;
}

/* ---- Tarif Table ---- */
.tarif-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.tarif-table th {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--clr-dark);
    padding: 1rem;
    border-bottom: 2px solid var(--clr-gold);
    text-align: left;
    background: rgba(240, 230, 211, 0.2);
}

.tarif-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    vertical-align: middle;
    transition: background 0.3s ease;
}

.tarif-table tr:hover td {
    background: rgba(240, 230, 211, 0.15);
}

.tarif-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--clr-dark);
    font-family: var(--font-heading);
}

.tarif-detail {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    display: block;
    margin-top: 0.25rem;
}

.tarif-table .tarif-duree {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--clr-text-light);
    background: rgba(0,0,0,0.04);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

.tarif-table .tarif-prix {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-primary);
}

.tarif-table .tarif-duo {
    font-weight: 600;
    color: var(--clr-primary-light);
}

.btn-add-cart {
    background: transparent;
    border: 1px solid var(--clr-primary);
    color: var(--clr-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(139, 105, 20, 0.3);
}

/* Responsiveness for table */
@media (max-width: 768px) {
    .tarif-category {
        padding: 1.5rem;
    }
    
    .tarif-table thead {
        display: none;
    }
    
    .tarif-table tr {
        display: block;
        margin-bottom: 2rem;
        background: var(--clr-white);
        border: 1px solid rgba(0,0,0,0.08); /* More visible border */
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Card effect */
    }
    
    .tarif-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        text-align: right;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
    }
    
    .tarif-table td:last-child {
        border-bottom: none;
        justify-content: center;
        padding-top: 1rem;
    }
    
    .tarif-table td:first-child {
        display: block;
        text-align: left;
    }

    .tarif-table td::before {
        content: attr(data-label) " "; /* Requires data-label attr in HTML if present, otherwise just empty */
        /* Fallback if no attr */
        display: inline-block;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: var(--clr-text-light);
        margin-right: 0.5rem;
    }
}

/* ---- Images SVG en couleur or ---- */
.img-picto-gold {
    width:45px;
}
.img-picto-gold-2 {
    height:90px;
}

/* ============================================================
   PHASE 8 — MICRO-ANIMATIONS PREMIUM (GSAP)
   ============================================================ */

/* ---- Nav link : underline animé sur hover / active ---- */
#mainNav .nav-link {
    position: relative;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--clr-gold);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 55%;
}

/* ---- Treatment cards : shimmer sweep au hover ---- */
.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.07) 50%,
        transparent 100%
    );
    transform: skewX(-12deg);
    transition: left 0.7s ease;
    z-index: 2;
    pointer-events: none;
}
.treatment-card:hover::before {
    left: 150%;
}

/* ---- Treatment price : accent doré au hover de la carte ---- */
.treatment-card .treatment-price {
    transition: color 0.4s ease, transform 0.2s ease;
    display: inline-block;
}
.treatment-card:hover .treatment-price {
    color: var(--clr-gold);
    transform: scale(1.04);
}

/* ---- Gallery : fix pointer-events sur ::after (overlay) pour laisser passer les clics vers <a> ---- */
.gallery-grid .gallery-item::after {
    pointer-events: none;
}

/* ---- Gallery : wrapper lien lightbox ---- */
.gallery-item a.glightbox {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---- Gallery zoom : icône Bootstrap Icons + texte ---- */
.gallery-grid .gallery-item .gallery-zoom {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 500;
}
.gallery-grid .gallery-item .gallery-zoom::before {
    content: '\F52A'; /* bi-zoom-in */
    font-family: 'bootstrap-icons';
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}

/* ---- Escapade / Journée : accent prix au hover ---- */
.escapade-card:hover .escapade-price,
.journee-card:hover .journee-price {
    color: var(--clr-gold);
    transition: color 0.4s ease;
}

/* ---- Boutons : micro press au clic ---- */
.btn-primary:active,
.btn-outline-light:active,
.btn-outline-primary:active {
    transform: translateY(1px) scale(0.98) !important;
    transition: transform 0.08s ease !important;
}

/* ---- Picto SVG : transition base pour hover glow ---- */
.img-picto-gold,
.img-picto-gold-2 {
    will-change: filter, transform;
    transition: filter 0.4s ease, transform 0.4s ease;
}
.img-picto-gold:hover,
.img-picto-gold-2:hover {
    filter: drop-shadow(0 0 7px rgba(212, 168, 71, 0.55));
    transform: translateY(-3px) scale(1.06);
}

/* ---- Info card : icône accent au hover ---- */
.info-card .info-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.info-card:hover .info-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(212, 168, 71, 0.45));
}

/* ---- Amenity list items : GPU hint ---- */
.amenity-list li {
    will-change: opacity, transform;
}

/* ---- Accessibilité : prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .fade-left,
    .fade-right,
    .fade-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-logo,
    .hero-title,
    .hero-subtitle,
    .hero-cta-group {
        opacity: 1 !important;
        transform: none !important;
    }
    .treatment-card::before {
        display: none;
    }
    .section-nightspa::before {
        animation: none;
    }
    .hero-scroll-indicator a {
        animation: none;
    }
}
