/* ============================================
   FIVE SENSES - PAGES DE PRIX
   Styles modernes et responsives
   Version 4 - Corrections complètes
   ============================================ */

/* Variables CSS */
:root {
    --fs-gold: #c9a86c;
    --fs-gold-light: #d4b87a;
    --fs-gold-dark: #a08050;
    --fs-black: #1a1a1a;
    --fs-dark: #222222;
    --fs-gray: #2a2a2a;
    --fs-text: #999999;
    --fs-text-light: #cccccc;
    --fs-white: #ffffff;
    --fs-gradient: linear-gradient(135deg, #c9a86c 0%, #d4b87a 50%, #a08050 100%);
    --fs-shadow: 0 10px 40px rgba(0,0,0,0.3);
    --fs-radius: 12px;
    --fs-transition: all 0.3s ease;
}

/* ============================================
   CORRECTION 1: CACHER LE TITRE DE PAGE QODE/FLAVOR
   Ceci supprime l'espace blanc entre header et hero
   ============================================ */

.page-template-page-prix-zodiac .qodef-page-title,
.page-template-page-prix-nahrawess .qodef-page-title,
.page-template-page-prix-omarkhayam .qodef-page-title,
.page-template-page-prix-lesultan .qodef-page-title,
.page-template-page-prix-thesindbad .qodef-page-title,
.page-template-page-prix-samiraclub .qodef-page-title,
.page-template-page-prix-khayamgarden .qodef-page-title,
.page-template-page-nos-centres .qodef-page-title,
.page-template-templatespage-prix-zodiac-php .qodef-page-title,
.page-template-templatespage-prix-nahrawess-php .qodef-page-title,
.page-template-templatespage-prix-omarkhayam-php .qodef-page-title,
.page-template-templatespage-prix-lesultan-php .qodef-page-title,
.page-template-templatespage-prix-thesindbad-php .qodef-page-title,
.page-template-templatespage-prix-samiraclub-php .qodef-page-title,
.page-template-templatespage-prix-khayamgarden-php .qodef-page-title,
.page-template-templatespage-nos-centres-php .qodef-page-title {
    display: none !important;
}

/* ============================================
   CORRECTION 2: HEADER - MENU QUI DÉBORDE
   ============================================ */

.qodef-header-standard--right .qodef-header-navigation {
    overflow: visible !important;
}

.qodef-drop-down-second--full-width .qodef-drop-down-second {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* Fermer le sous-menu quand on quitte */
.qodef-header-navigation .menu-item:not(:hover) > .sub-menu,
.qodef-header-navigation .menu-item:not(:hover) > .qodef-drop-down-second {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ============================================
   CORRECTION 3: FULL WIDTH - SUPPRIMER MARGES
   ============================================ */

.page-template-page-prix-zodiac #main,
.page-template-page-prix-nahrawess #main,
.page-template-page-prix-omarkhayam #main,
.page-template-page-prix-lesultan #main,
.page-template-page-prix-thesindbad #main,
.page-template-page-prix-samiraclub #main,
.page-template-page-prix-khayamgarden #main,
.page-template-page-nos-centres #main,
.page-template-templatespage-prix-zodiac-php #main,
.page-template-templatespage-prix-nahrawess-php #main,
.page-template-templatespage-prix-omarkhayam-php #main,
.page-template-templatespage-prix-lesultan-php #main,
.page-template-templatespage-prix-thesindbad-php #main,
.page-template-templatespage-prix-samiraclub-php #main,
.page-template-templatespage-prix-khayamgarden-php #main,
.page-template-templatespage-nos-centres-php #main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.page-template-page-prix-zodiac .qodef-content-grid,
.page-template-page-prix-nahrawess .qodef-content-grid,
.page-template-page-prix-omarkhayam .qodef-content-grid,
.page-template-page-prix-lesultan .qodef-content-grid,
.page-template-page-prix-thesindbad .qodef-content-grid,
.page-template-page-prix-samiraclub .qodef-content-grid,
.page-template-page-prix-khayamgarden .qodef-content-grid,
.page-template-page-nos-centres .qodef-content-grid,
.page-template-templatespage-prix-zodiac-php .qodef-content-grid,
.page-template-templatespage-prix-nahrawess-php .qodef-content-grid,
.page-template-templatespage-prix-omarkhayam-php .qodef-content-grid,
.page-template-templatespage-prix-lesultan-php .qodef-content-grid,
.page-template-templatespage-prix-thesindbad-php .qodef-content-grid,
.page-template-templatespage-prix-samiraclub-php .qodef-content-grid,
.page-template-templatespage-prix-khayamgarden-php .qodef-content-grid,
.page-template-templatespage-nos-centres-php .qodef-content-grid {
    max-width: 100% !important;
    padding: 0 !important;
}

/* ============================================
   RESET POUR LES PAGES DE PRIX
   ============================================ */

.fs-prix-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fs-prix-page {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: var(--fs-black);
    color: var(--fs-text);
    line-height: 1.6;
    width: 100%;
}

/* ============================================
   HEADER HERO
   ============================================ */

.fs-hero {
    background: linear-gradient(135deg, var(--fs-black) 0%, var(--fs-dark) 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.fs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23c9a86c" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.fs-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.fs-logo {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
    filter: brightness(1.1);
}

.fs-hero h1 {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--fs-gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.fs-hero .fs-subtitle {
    font-size: 1.1rem;
    color: var(--fs-text-light);
    margin-bottom: 25px;
}

.fs-hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.fs-hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fs-text);
    font-size: 0.9rem;
}

.fs-hero-info-item svg {
    width: 20px;
    height: 20px;
    fill: var(--fs-gold);
}

/* ============================================
   NAVIGATION STICKY
   ============================================ */

.fs-nav {
    background: var(--fs-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 168, 108, 0.2);
    width: 100%;
}

.fs-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: auto;
}

.fs-nav-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.fs-nav-item a {
    display: block;
    padding: 10px 20px;
    color: var(--fs-text);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    transition: var(--fs-transition);
    white-space: nowrap;
}

.fs-nav-item a:hover,
.fs-nav-item a.active {
    background: var(--fs-gold);
    color: var(--fs-black);
}

/* ============================================
   CONTAINER PRINCIPAL
   ============================================ */

.fs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ============================================
   SECTIONS
   ============================================ */

.fs-section {
    margin-bottom: 80px;
}

.fs-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.fs-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--fs-gold);
    margin-bottom: 15px;
}

.fs-section-subtitle {
    color: var(--fs-text);
    font-size: 1rem;
}

/* ============================================
   GRILLE DE CARTES
   ============================================ */

.fs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.fs-card {
    background: var(--fs-gray);
    border-radius: var(--fs-radius);
    overflow: hidden;
    transition: var(--fs-transition);
    border: 1px solid rgba(201, 168, 108, 0.1);
}

.fs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--fs-shadow);
    border-color: rgba(201, 168, 108, 0.3);
}

.fs-card-header {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.15) 0%, rgba(201, 168, 108, 0.05) 100%);
    padding: 25px;
    border-bottom: 1px solid rgba(201, 168, 108, 0.1);
}

.fs-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--fs-white);
    margin-bottom: 5px;
}

.fs-card-subtitle {
    color: var(--fs-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fs-card-body {
    padding: 25px;
}

/* ============================================
   TABLEAUX DE PRIX
   ============================================ */

.fs-price-table {
    width: 100%;
    border-collapse: collapse;
}

.fs-price-table th,
.fs-price-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fs-price-table th {
    color: var(--fs-gold);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fs-price-table td {
    color: var(--fs-text-light);
}

.fs-price-table .fs-price {
    color: var(--fs-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.fs-price-table tr:last-child td {
    border-bottom: none;
}

.fs-price-table tr:hover td {
    background: rgba(201, 168, 108, 0.05);
}

/* ============================================
   CORRECTION 4: LISTES DE PRIX (STYLE CASSÉ)
   ============================================ */

.fs-prix-page ul,
.fs-price-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.fs-prix-page ul li,
.fs-price-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--fs-text-light) !important;
    gap: 15px !important;
}

.fs-prix-page ul li:last-child,
.fs-price-list li:last-child {
    border-bottom: none !important;
}

/* Nom du service - prend l'espace disponible */
.fs-item-name {
    flex: 1 !important;
    color: var(--fs-text-light) !important;
    min-width: 0 !important;
}

/* Durée - largeur fixe, couleur grise */
.fs-item-duration {
    color: var(--fs-text) !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    min-width: 70px !important;
    text-align: center !important;
}

/* Prix - largeur fixe, couleur dorée */
.fs-price {
    color: var(--fs-gold) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    text-align: right !important;
}

/* Style pour les listes sans spans (fallback) */
.fs-card-body ul li {
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
}

/* ============================================
   BOX PROMO
   ============================================ */

.fs-promo-box {
    background: linear-gradient(135deg, rgba(201, 168, 108, 0.2) 0%, rgba(201, 168, 108, 0.1) 100%);
    border: 1px solid var(--fs-gold);
    border-radius: var(--fs-radius);
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.fs-promo-box h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    color: var(--fs-gold);
    margin-bottom: 10px;
}

.fs-promo-box p {
    color: var(--fs-text-light);
    font-size: 1.1rem;
}

.fs-promo-box strong {
    color: var(--fs-gold);
    font-size: 1.3rem;
}

/* ============================================
   SECTION AUTRES CENTRES
   ============================================ */

.fs-autres-centres {
    background: var(--fs-dark);
    padding: 80px 20px;
    margin-top: 60px;
    width: 100%;
}

.fs-autres-centres-container {
    max-width: 1400px;
    margin: 0 auto;
}

.fs-autres-centres h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--fs-gold);
    text-align: center;
    margin-bottom: 50px;
}

.fs-autres-centres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.fs-autre-centre-card {
    background: var(--fs-gray);
    border-radius: var(--fs-radius);
    padding: 25px;
    text-align: center;
    transition: var(--fs-transition);
    border: 1px solid rgba(201, 168, 108, 0.1);
    text-decoration: none;
    display: block;
}

.fs-autre-centre-card:hover {
    transform: translateY(-5px);
    border-color: var(--fs-gold);
    box-shadow: var(--fs-shadow);
}

.fs-autre-centre-card h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    color: var(--fs-white);
    margin-bottom: 5px;
}

.fs-autre-centre-card .fs-stars {
    color: var(--fs-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.fs-autre-centre-card .fs-location {
    color: var(--fs-text);
    font-size: 0.8rem;
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */

.fs-back-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--fs-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--fs-transition);
    z-index: 9999;
}

.fs-back-btn.visible {
    opacity: 1;
    visibility: visible;
}

.fs-back-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--fs-black);
}

.fs-back-btn:hover {
    background: var(--fs-gold-light);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .fs-hero h1 {
        font-size: 2.5rem;
    }
    
    .fs-section-title {
        font-size: 2rem;
    }
    
    .fs-nav-list {
        justify-content: flex-start;
        padding: 10px 0;
    }
    
    .fs-nav-item a {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .fs-hero {
        padding: 60px 15px 40px;
    }
    
    .fs-hero h1 {
        font-size: 2rem;
    }
    
    .fs-hero-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .fs-container {
        padding: 40px 15px;
    }
    
    .fs-grid {
        grid-template-columns: 1fr;
    }
    
    .fs-section {
        margin-bottom: 50px;
    }
    
    .fs-autres-centres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Amélioration mobile - Listes de prix */
    .fs-prix-page ul li,
    .fs-price-list li,
    .fs-card-body ul li {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding: 15px 0 !important;
    }
    
    .fs-item-name {
        width: 100% !important;
        font-size: 1rem !important;
        color: var(--fs-white) !important;
        font-weight: 500 !important;
    }
    
    .fs-item-duration {
        text-align: left !important;
        min-width: auto !important;
        font-size: 0.85rem !important;
        color: var(--fs-text) !important;
    }
    
    .fs-price {
        text-align: left !important;
        min-width: auto !important;
        font-size: 1.2rem !important;
        color: var(--fs-gold) !important;
        font-weight: 700 !important;
        margin-top: 5px !important;
    }
    
    /* Ligne de séparation entre nom et prix/durée */
    .fs-prix-page ul li::after,
    .fs-price-list li::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(201, 168, 108, 0.1);
        margin-top: 10px;
    }
    
    .fs-prix-page ul li:last-child::after,
    .fs-price-list li:last-child::after {
        display: none;
    }
    
    /* Cartes plus compactes */
    .fs-card {
        margin-bottom: 20px !important;
    }
    
    .fs-card-header {
        padding: 20px 15px !important;
    }
    
    .fs-card-body {
        padding: 15px !important;
    }
    
    .fs-card-title {
        font-size: 1.3rem !important;
    }
    
    /* Navigation mobile améliorée */
    .fs-nav-list {
        gap: 5px !important;
        padding: 10px 0 !important;
    }
    
    .fs-nav-item a {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }
    
    /* Hero mobile */
    .fs-hero {
        padding: 50px 15px 30px !important;
    }
    
    .fs-hero h1 {
        font-size: 1.8rem !important;
    }
    
    .fs-hero .fs-stars {
        font-size: 1rem !important;
    }
    
    .fs-hero-info {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .fs-hero-info-item {
        font-size: 0.85rem !important;
    }
    
    /* Section titres */
    .fs-section-title {
        font-size: 1.6rem !important;
    }
    
    .fs-section-subtitle {
        font-size: 0.9rem !important;
    }
    
    /* Autres centres mobile */
    .fs-autres-centres {
        padding: 50px 15px !important;
    }
    
    .fs-autres-centres h2 {
        font-size: 1.6rem !important;
        margin-bottom: 30px !important;
    }
    
    .fs-autres-centres-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .fs-autre-centre-card {
        padding: 20px !important;
    }
}

@media (max-width: 480px) {
    .fs-hero h1 {
        font-size: 1.5rem !important;
    }
    
    .fs-logo {
        width: 70px !important;
    }
    
    .fs-section-title {
        font-size: 1.4rem !important;
    }
    
    .fs-card-header,
    .fs-card-body {
        padding: 15px !important;
    }
    
    .fs-nav-item a {
        padding: 6px 10px !important;
        font-size: 0.7rem !important;
    }
    
    /* Prix encore plus visible sur petit écran */
    .fs-price {
        font-size: 1.3rem !important;
        background: rgba(201, 168, 108, 0.1) !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        display: inline-block !important;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fs-section {
    animation: fadeInUp 0.6s ease forwards;
}

/* Préférence mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .fs-section,
    .fs-card {
        animation: none;
        transition: none;
    }
}
