/**
 * Styles pour le template single-lieu.php
 * 
 * @package Synergin
 * @since 1.0.0
 */

/* Règle globale pour éviter les débordements */
.lieu-single-container * {
    max-width: 100%;
}

.lieu-single-container img,
.lieu-single-container video,
.lieu-single-container iframe {
    max-width: 100%;
    height: auto;
}

/* Container principal */
body.single-lieu {
    background-color: #ffffff !important;
    background-image: url('../images/lieu-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    width: 100%;
}

.lieu-single-container {
    margin: 0;
    padding: 0;
    margin-top: 10rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    position: relative;
}

.lieu-single-container > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Hero Header avec Image Mise en Avant */
.lieu-hero-header {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 40rem;
    margin-top: -10rem;
    overflow: hidden;
    box-sizing: border-box;
}

.lieu-featured-image {
    position: relative;
    height: 100%;
}

.hero-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: end;
}

.hero-content {
    /* text-align: center; */
    max-width: 80rem;
    width: calc(100% - 22rem);
    color: white;
    z-index: 2;
    margin-left: 11rem;
    margin-right: 11rem;
    margin-bottom: 2rem;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .hero-content {
        width: calc(100% - 4rem);
        margin-left: 2rem;
        margin-right: 2rem;
        max-width: 100%;
    }
}

.lieu-no-featured {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lieu-no-featured .hero-content {
    color: white;
}

/* Galerie Photos Section */
.lieu-gallery-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.lieu-gallery-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    height: 400px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item.large {
    grid-row: 1 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    max-width: 100%;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: relative;
}

.more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.more-text {
    color: white;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #8858E1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 20px;
    transform: translateY(30%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(136, 88, 225, 0.8);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-counter {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

/* Content Wrapper */
.lieu-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lieu-content-wrapper > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Hero Title Section */
.lieu-main-title {
    font-family: Roboto;
    font-size: 5.625rem;
    font-weight: 600;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Layout principal */
.lieu-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 40px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Sections */
.lieu-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lieu-main-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lieu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-family: Funtastic;
    font-size: 3rem;
    font-weight: 400;
    color: #8858E1;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #007cba;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lieu-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

/* Section Présentation */
.lieu-presentation .lieu-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Section Espaces & Capacité */
.lieu-spaces-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Affichage coloré des espaces et capacités */
.spaces-capacity-section {
    margin: 40px 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.spaces-title {
    font-size: 2rem;
    font-weight: 900;
    color: #7b2cbf;
    text-align: center;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(123, 44, 191, 0.2);
}


.config-columns {
    display: grid !important;
    grid-template-columns: 200px repeat(7, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 0 20px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.config-column {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.config-column-spacer {
    /* Espace pour aligner avec la colonne des noms d'espaces */
    display: block;
}

.config-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: center;
}

.config-svg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 10px;
}

.config-svg img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    filter: none !important;
}

/* Lignes d'espaces */
.spaces-rows {
    display: flex;
    flex-direction: column;
}

.space-row {
    display: grid !important;
    grid-template-columns: 200px repeat(7, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    background: #9E44C4 !important;
    border-radius: 1.25rem !important;
    padding: 15px 20px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.space-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 25px;
    pointer-events: none;
}


.space-row:nth-child(even) {
    background: linear-gradient(135deg, #6a1b9a 0%, #7b1fa2 50%, #8e24aa 100%);
}

.space-row:nth-child(3n) {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 50%, #7b1fa2 100%);
}

.space-info {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.space-name {
    font-family: "Inter", Sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.space-surface {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.capacity-values {
    display: contents !important;
}

.capacity-value {
    font-family: "Inter", Sans-serif;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: white !important;
    position: relative !important;
    z-index: 2 !important;
}


.lieu-capacity-cards {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.capacity-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #007cba;
    min-width: 120px;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
}

.capacity-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007cba;
    line-height: 1;
    margin-bottom: 5px;
}

.capacity-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.capacity-type {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Section Équipements */
.lieu-equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.equipment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #8858E1;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.equipment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.equipment-name {
    font-family: Roboto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2F2E2A;
    line-height: 1.3;
}

.equipment-notes {
    margin-top: 20px;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #8858E1;
}

.equipment-notes p {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25rem;
    color: #2F2E2A;
    margin: 0;
}


/* Section Fooding et Boissons */
.lieu-food-beverage {
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.food-beverage-intro {
    margin-bottom: 30px;
}

.food-beverage-intro p {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.6;
    color: #2F2E2A;
    margin-bottom: 15px;
}

.options-title, .activities-title {
    font-family: Funtastic;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2F2E2A;
    text-transform: uppercase;
    margin: 25px 0 15px 0;
    text-align: left;
}

.food-beverage-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.food-option-item {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: #2F2E2A;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.food-option-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #FB9E33;
    border-radius: 50%;
}

.food-option-item strong {
    font-weight: 600;
    color: #2F2E2A;
}

.activities-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.activity-item {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2F2E2A;
    padding: 8px 0;
}

/* Section Activités possibles */
.lieu-activities {
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lieu-activities .section-title {
    color: #8858E1;
    margin-bottom: 25px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.activities-grid .activity-item {
    font-family: Roboto;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.4;
    color: #2F2E2A;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.activities-grid .activity-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #FB9E33;
    border-radius: 50%;
}

/* Section FAQ */
.faq-dropdown {
    margin-bottom: 20px;
}

.faq-select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
    border: 2px solid #007cba;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.faq-content {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
    line-height: 1.6;
}

/* Section Accessibilité */
.subsection-title {
    font-family: Funtastic;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2F2E2A;
    text-transform: uppercase;
    margin: 25px 0 15px 0;
    text-align: left;
}

.address-section, .transport-section, .access-info-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8858E1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.address-details .address-line {
    font-family: Roboto;
    font-size: 1rem;
    font-weight: 400;
    color: #2F2E2A;
    margin-bottom: 5px;
    line-height: 1.4;
}

.transport-list {
    display: grid;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.transport-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.transport-type {
    font-family: Funtastic;
    font-size: 1rem;
    font-weight: 600;
    color: #8858E1;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.transport-description {
    font-family: Roboto;
    font-size: 0.9rem;
    font-weight: 400;
    color: #2F2E2A;
    margin: 0;
    line-height: 1.5;
}

.access-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.access-details p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Sidebar */
.lieu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lieu-contact-card,
.lieu-info-card,
.lieu-contact-direct {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #007cba;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lieu-contact-card h3,
.lieu-info-card h4,
.lieu-contact-direct h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Formulaire de contact */
.lieu-contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.btn-submit {
    background: #007cba;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #005a87;
}

/* Informations pratiques */
.lieu-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #666;
}

.info-value {
    font-weight: 600;
    color: #333;
}

/* Contact direct */
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
}

.contact-icon {
    font-size: 1.2rem;
}

/* Section Carte */
.lieu-map-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.lieu-map-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lieu-map-container {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.lieu-address-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lieu-address-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.lieu-address-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lieu-address-info li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.lieu-address-info li:last-child {
    border-bottom: none;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
    .lieu-single-container {
        margin-top: 8rem;
    }
    
    .hero-content {
        max-width: calc(100% - 30px);
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
        padding: 0;
    }
    
    .lieu-main-title {
        font-size: 3.5rem;
    }
    
    .lieu-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    /* Galerie photos tablette */
    .lieu-gallery-section {
        padding: 30px 20px;
    }
    
    .lieu-gallery-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 180px 180px;
        height: auto;
        gap: 12px;
    }
    
    .gallery-item.large {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
    }
    
    /* Lightbox responsive */
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        top: 15px;
        font-size: 30px;
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    body.single-lieu {
        background-attachment: scroll;
    }
    
    .lieu-single-container {
        margin-top: 5rem;
    }
    
    .lieu-hero-header {
        height: 45vh;
        min-height: 300px;
        max-height: 500px;
        margin-top: -5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        width: calc(100% - 30px);
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .lieu-main-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .lieu-gallery-section {
        padding: 25px 15px;
    }
    
    .lieu-gallery-container {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .gallery-item {
        width: 100%;
        height: 200px;
        grid-row: auto;
        grid-column: auto;
    }
    
    .gallery-item.large {
        height: 250px;
        grid-row: auto;
        grid-column: auto;
    }
    
    .lieu-content-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        padding-top: 25px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .lieu-section {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .lieu-capacity-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .lieu-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 12px;
    }
    
    .equipment-card {
        padding: 12px;
    }
    
    .equipment-icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .equipment-name {
        font-size: 0.8rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 6px 15px;
    }
    
    .options-title, .activities-title, .subsection-title {
        font-size: 1.2rem;
    }
    
    .lieu-address-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lieu-food-beverage,
    .lieu-activities {
        padding: 20px;
    }
    
    .address-section, .transport-section, .access-info-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* Responsive pour l'affichage coloré des espaces */
    .spaces-capacity-section {
        padding: 20px 10px;
        margin: 20px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        box-sizing: border-box;
    }
    
    .spaces-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .config-columns {
        grid-template-columns: 100px repeat(7, minmax(50px, 1fr));
        gap: 5px;
        padding: 0 10px;
        min-width: 580px;
    }
    
    .config-label {
        font-size: 8px;
        line-height: 1.1;
        word-break: break-word;
    }
    
    .config-svg img {
        width: 16px !important;
        height: 16px !important;
    }
    
    .space-row {
        grid-template-columns: 100px repeat(7, minmax(50px, 1fr));
        gap: 5px;
        padding: 10px 8px;
        border-radius: 15px;
        margin-bottom: 10px;
        min-width: 580px;
    }
    
    .space-name {
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    .space-surface {
        font-size: 9px;
    }
    
    .capacity-value {
        font-size: 14px !important;
    }
    
    /* Sidebar responsive */
    .lieu-contact-card,
    .lieu-info-card,
    .lieu-contact-direct {
        padding: 20px;
    }
    
    /* Map section */
    .lieu-map-section {
        padding: 30px 20px;
    }
    
    /* Lightbox mobile */
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 35px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        top: 10px;
        font-size: 25px;
        width: 45px;
        height: 45px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    body.single-lieu {
        background-attachment: scroll;
    }
    
    .lieu-single-container {
        margin-top: 4rem;
    }
    
    .lieu-hero-header {
        height: 35vh;
        min-height: 250px;
        max-height: 400px;
        margin-top: -4rem;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 1rem;
        padding: 0;
    }
    
    .lieu-main-title {
        font-size: 1.6rem;
        line-height: 1.2;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    }
    
    .lieu-gallery-section {
        padding: 20px 12px;
    }
    
    .lieu-gallery-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .gallery-item {
        width: 100%;
        height: 180px;
    }
    
    .gallery-item.large {
        height: 220px;
    }
    
    .lieu-content-wrapper {
        padding: 0 12px;
        padding-top: 20px;
        gap: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .lieu-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    /* Tables d'espaces en mode défilement horizontal */
    .spaces-capacity-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px 5px;
        margin: 15px 0;
    }
    
    .spaces-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .config-columns,
    .space-row {
        min-width: 580px;
    }
    
    .config-columns {
        grid-template-columns: 75px repeat(7, 68px);
        gap: 3px;
        padding: 0 5px;
    }
    
    .config-column {
        height: 3.5rem;
    }
    
    .config-label {
        font-size: 7px;
        line-height: 1;
    }
    
    .config-svg {
        margin-top: 3px;
        margin-bottom: 5px;
    }
    
    .config-svg img {
        width: 13px !important;
        height: 13px !important;
    }
    
    .space-row {
        grid-template-columns: 75px repeat(7, 68px);
        gap: 3px;
        padding: 8px 5px;
        border-radius: 12px;
        margin-bottom: 8px;
    }
    
    .space-name {
        font-size: 9px;
        letter-spacing: 0.2px;
    }
    
    .space-surface {
        font-size: 7.5px;
    }
    
    .capacity-value {
        font-size: 11px !important;
    }
    
    /* Equipment grid plus compact */
    .lieu-equipment-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 8px;
    }
    
    .equipment-card {
        padding: 10px;
    }
    
    .equipment-icon {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }
    
    .equipment-name {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .equipment-notes {
        padding: 12px;
        margin-top: 15px;
    }
    
    .equipment-notes p {
        font-size: 0.75rem;
        line-height: 1.2rem;
    }
    
    /* Food & Activities */
    .lieu-food-beverage,
    .lieu-activities {
        padding: 15px;
    }
    
    .food-beverage-intro p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .food-option-item {
        font-size: 0.75rem;
        margin-bottom: 10px;
        padding-left: 20px;
    }
    
    .activity-item {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    /* Contact form */
    .lieu-contact-card,
    .lieu-info-card,
    .lieu-contact-direct {
        padding: 15px;
    }
    
    .lieu-contact-card h3,
    .lieu-info-card h4,
    .lieu-contact-direct h4 {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 9px 11px;
        font-size: 13px;
    }
    
    .btn-submit {
        padding: 11px 18px;
        font-size: 14px;
    }
    
    /* Map section */
    .lieu-map-section {
        padding: 20px 12px;
    }
    
    .lieu-map-section h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    #lieu-map {
        height: 280px !important;
    }
    
    .address-section, .transport-section, .access-info-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .address-line {
        font-size: 0.9rem;
    }
    
    .transport-item {
        padding: 12px;
    }
    
    .transport-type {
        font-size: 0.9rem;
    }
    
    .transport-description {
        font-size: 0.8rem;
    }
    
    /* Lightbox très petit écran */
    .lightbox-content {
        max-width: 95%;
    }
    
    .lightbox-close {
        top: 5px;
        right: 10px;
        font-size: 30px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        top: 5px;
        font-size: 20px;
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .lightbox-counter {
        font-size: 14px;
        margin-top: 10px;
    }
}
