/* ========================================
   TABLE DES MATIÈRES
   ========================================
   1. Reset & Configuration de base
   2. Container & Layout principal
   3. Navigation (Breadcrumb)
   4. Galerie d'images
   5. Sidebar (Colonne droite)
   6. Card de contact
   7. Boutons
   8. Système d'onglets (Tabs)
   9. Section Caractéristiques
   10. Réseaux sociaux
   11. Section Catégories
   12. Section FAQ
   13. Section Vidéo
   14. Section Localisation & Carte
   15. Responsive
======================================== */

/* ========================================
   1. RESET & CONFIGURATION DE BASE
======================================== */
.site-content .ast-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.ots-prestataire-page {
    font-family: "Tilt Neon", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    background: #ffffff;
    width: 100%;
    padding: 0;
}

.ots-prestataire-page * {
    box-sizing: border-box;
}

/* ========================================
   2. CONTAINER & LAYOUT PRINCIPAL
======================================== */
.ots-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2% 5% 0 5%;
}

.ots-main-layout {
    display: grid;
    grid-template-columns: 55% 45%;
}

.ots-main-column {
    padding: 0;
    position: relative;
}

.ots-second-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ots-secondary-layout {
    padding: 80px 25px 0 25px;
}

/* ========================================
   3. NAVIGATION (BREADCRUMB)
======================================== */
.ots-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #1F1A47;
    padding: 0 0 0 25px;
}

.ots-breadcrumb a {
    color: #1F1A47;
    text-decoration: none;
    transition: color 0.3s;
}

.ots-breadcrumb a:hover {
    color: #2e3092;
}

.ots-breadcrumb span:last-child {
    color: #D8A807;
}

/* ========================================
   4. GALERIE D'IMAGES
======================================== */
.ots-gallery {
    display: flex;
    gap: 15px;
    padding: 0 0 0 25px;
    position: sticky;
    top: 80px;
    z-index: 10;
}

.ots-main-card {
    position: sticky;
    top: 80px;
    height: fit-content;
}

/* Miniatures */
.ots-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 15%;
}

.ots-thumb {
    width: 100%;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.ots-thumb:hover,
.ots-thumb.active {
    border-color: #2e3092;
}

.ots-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image principale */
.ots-main-image {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    width: 80%;
    max-height: calc(100vh - 160px);
    height: 28rem;
}

.ots-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   5. SIDEBAR (COLONNE DROITE)
======================================== */
.ots-header-card {
    padding: 0;
}

.ots-title-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ots-title {
    position: relative;
    font-size: 42px;
    font-weight: 400;
    margin: 0 0 0px 0;
}

.ots-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 216px;
    height: 19px;
    background-image: url('data:image/svg+xml;utf8,<svg width="216" height="19" viewBox="0 0 216 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.999985 15.9998C30.1695 9.37474 113.8 -1.68752 214.966 7.06376" stroke="%23D8A807" stroke-width="6"/></svg>');
    background-repeat: no-repeat;

    /* Animation de la droite vers la gauche */
    opacity: 0;
    transform: translateX(100%);
    animation: slideFromRight 0.8s ease-out forwards;
}

@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Métadonnées */
.ots-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
}

.ots-meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.ots-icon {
    width: 35px;
    height: 35px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Bannière de prix */
.ots-price-banner {
    padding: 0 0 15px 0;
}

.ots-price-label {
    display: block;
    font-size: 20px;
    color: #D8A807;
}

.ots-price-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
}

/* Résumé */
.ots-resume {
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
}

.ots-resume-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}


/* ========================================
   5. BADGE
======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Badge Featured Premium */
.badge-featured {
    background: #D8A807;
    color: white;
    animation: shine 3s infinite linear;
}

.badge-featured i {
    font-size: 11px;
}

/* Animation brillance */
@keyframes shine {
    0% {
        box-shadow: 0 0 5px rgba(216, 168, 7, 0.5);
    }

    50% {
        box-shadow: 0 0 15px rgba(216, 168, 7, 0.8);
    }

    100% {
        box-shadow: 0 0 5px rgba(216, 168, 7, 0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ots-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .badge {
        font-size: 9px;
        padding: 4px 10px;
    }
}

/* ========================================
   6. CARD DE CONTACT
======================================== */
.ots-contact-card {
    background-color: #2C2961;
    color: white;
    padding: 25px;
    border-radius: 24px;
    width: 95%;
}

.ots-card-title {
    color: white;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 15px 0;
}

.ots-divider {
    width: 15%;
    height: 2px;
    background: #D8A807;
    border: none;
    margin: 10px 0;
}

.ots-description-box {
    margin: 20px 0;
}

.ots-description-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ========================================
   7. BOUTONS
======================================== */
.ots-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 30px;
}

.ots-btnS {
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Bouton "Visiter le site web" */
.ots-btn-website {
    color: #ffffff;
    border: 2px solid #ffffff;
    background: transparent;
}

.ots-btn-website:hover {
    background: #f8f9fa;
    color: #2C2961;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 48, 146, 0.2);
}

/* Bouton "Contacter le Prestataire" */
.ots-btn-contact {
    background: #D8A807 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 18px 20px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
}

.ots-btn-contact:hover {
    background: #c79806 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* ========================================
   8. SYSTÈME D'ONGLETS (TABS)
======================================== */
/* Navigation des tabs */
.ots-tabs-container {
    background: transparent;
}

.ots-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: transparent;
    padding: 0;
}

.ots-tab-btn {
    padding: 15px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    color: #1F1A47 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-family: "Tilt Neon", sans-serif !important;
    position: relative !important;
    margin-bottom: -1px !important;
    box-shadow: none !important;
}

/* Séparateurs entre les onglets */
.ots-tab-btn:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #e0e0e0;
}

.ots-tab-btn:hover {
    color: #D8A807;
}

.ots-tab-btn.active {
    color: #D8A807 !important;
    border-bottom: 3px solid #D8A807 !important;
    font-weight: 400 !important;
    background: white !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Contenu des tabs */
.ots-tabs-content {
    padding: 30px;
    background: #fcfcfc;
    border-radius: 24px;
    border: 1px solid #DCDCDC;
    gap: 20px;
}

.ots-tabs-content h2 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    display: block;
    /* Important pour que chaque H2 soit un bloc séparé */
}



.ots-tabs-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 216px;
    height: 19px;
    background-image: url('data:image/svg+xml;utf8,<svg width="216" height="19" viewBox="0 0 216 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.999985 15.9998C30.1695 9.37474 113.8 -1.68752 214.966 7.06376" stroke="%23D8A807" stroke-width="6"/></svg>');
    background-repeat: no-repeat;
}

/* S'assurer que le H3 n'hérite pas du style */
.ots-tabs-content h3 {
    margin-bottom: 15px;
    padding-bottom: 0;
}

.ots-tabs-content h3::after {
    display: none;
}

.ots-tab-text {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.ots-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.ots-tab-content.active {
    display: block;
}

.ots-tab-content p {
    line-height: 1.8;
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* Texte tronqué avec bouton "En savoir plus" */
.ots-text-truncated {
    max-height: 240px;
    overflow: hidden;
    position: relative;
}

.ots-text-truncated.expanded {
    max-height: none;
}

.ots-text-truncated:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #fcfcfc);
}

.ots-read-more {
    background: transparent !important;
    border: none !important;
    color: #1F1A47 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    margin: 10px 0 0 auto !important;
    display: block !important;
    transition: all 0.3s !important;
    font-family: "Tilt Neon", sans-serif !important;
    box-shadow: none !important;
}

.ots-read-more:hover {
    color: #D8A807 !important;
}

/* Animation fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   9. SECTION CARACTÉRISTIQUES
======================================== */
/* Section moderne avec header coloré */
.ots-carac-section-v2 {
    margin-bottom: 35px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ots-carac-section-v2:last-child {
    margin-bottom: 0;
}

/* Header de section */
.ots-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #1F1A47 0%, #1f1a47 100%);
    border-bottom: 2px solid #D8A807;
}

.ots-section-icon-v2 {
    font-size: 26px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ots-section-title-v2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Liste des caractéristiques */
.ots-carac-list {
    padding: 15px 25px;
}

.ots-carac-item-v2 {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.ots-carac-item-v2:last-child {
    border-bottom: none;
}

.ots-carac-item-v2:hover {
    background: linear-gradient(90deg, transparent 0%, #f1f1f1 50%, transparent 100%);
    margin: 0 -10px;
    padding: 18px 10px;
}

.ots-carac-key {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    min-width: 180px;
}

.ots-carac-divider {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e0e0e0 0%, transparent 100%);
    margin: 0 20px;
}

.ots-carac-val {
    font-size: 16px;
    color: #1F1A47;
    font-weight: 400;
    text-align: right;
}

.ots-carac-val.ots-highlight {
    color: #D8A807;
    font-weight: 400;
}

/* ========================================
   10. RÉSEAUX SOCIAUX
======================================== */
.ots-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px 25px;
}

.ots-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 25px 15px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s;
}

.ots-social-card i {
    font-size: 28px;
}

.ots-social-card span {
    font-size: 14px;
    font-weight: 600;
}

.ots-social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Couleurs spécifiques par réseau */
.ots-social-card.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: #f0f7ff;
}

.ots-social-card.instagram:hover {
    border-color: #e4405f;
    color: #e4405f;
    background: #fff0f3;
}

.ots-social-card.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
    background: #f0f8ff;
}

.ots-social-card.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    background: #f0f9ff;
}

.ots-social-card.youtube:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: #fff5f5;
}

/* ========================================
   11. SECTION CATÉGORIES
======================================== */
.ots-categories-section {
    margin-top: 50px;
    padding: 30px 25px;
}

.ots-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 20px;
}

.ots-category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 25px 15px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.ots-category-card:hover {
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(105, 105, 105, 0.2);
}

/* Catégorie mise en avant */
.ots-category-card.is-featured {
    background: linear-gradient(135deg, #fcfcfc 0%, #ffffff 100%);
}

.ots-category-star {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    z-index: 1;
    animation: starPulse 2s infinite;
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Icône de catégorie */
.ots-category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.ots-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ots-category-icon-default {
    font-size: 30px;
    background: linear-gradient(135deg, #2C2961 0%, #4a47a3 100%);
}

.ots-category-name {
    font-size: 15px;
    font-weight: 600;
    color: #1F1A47;
    line-height: 1.4;
    text-align: start;
}

/* ========================================
   12. SECTION FAQ
======================================== */
.ots-faq-section {
    border-radius: 16px;
    margin-bottom: 32px;
    padding: 30px 25px;
}

.ots-faq-icon-title {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.ots-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    margin-top: 24px;
}

.ots-faq-item {
    background: white;
    border: none;
    border-bottom: 1px solid #E5E7EB;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ots-faq-item:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: none;
}

.ots-faq-item:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.ots-faq-question {
    padding: 25px 35px;
    font-size: 20px;
    font-family: 'Tilt Neon', sans-serif;
    font-weight: 400;
    color: #1F1A47;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    user-select: none;
    text-transform: uppercase;
}

.ots-faq-question::-webkit-details-marker {
    display: none;
}

.ots-faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
    color: #6B7280;
}

.ots-faq-item[open] .ots-faq-icon {
    transform: rotate(180deg);
}

.ots-faq-item[open] .ots-faq-question {
    color: #D8A807;
}

.ots-faq-item[open] .ots-faq-icon {
    color: #D8A807;
}

.ots-faq-answer {
    padding: 5px 35px 30px 35px;
    font-size: 15px;
    line-height: 1.7;
    color: #4B5563;
    animation: slideDown 0.3s ease;
}

.ots-faq-answer p {
    margin: 0;
    font-family: 'Tilt Neon', sans-serif;
    font-weight: 400;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   13. SECTION VIDÉO
======================================== */
.ots-video-section {
    margin-top: 50px;
    padding: 30px 25px;
}

.ots-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ots-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* ========================================
   14. SECTION LOCALISATION & CARTE
======================================== */
.ots-location-section {
    margin-top: 50px;
    padding: 30px 25px;
}

.ots-map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.ots-map {
    width: 100%;
    height: 650px;
    border-radius: 16px;
}

/* Pin personnalisé sur la carte */
.custom-location-pin {
    background: none !important;
    border: none !important;
}

.location-pin {
    position: relative;
    width: 50px;
    height: 60px;
    cursor: pointer;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.location-pin:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

.location-pin svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.location-pin .pin-icon {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
}

/* Style du popup Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.leaflet-popup-content strong {
    color: #1F1A47;
    font-size: 16px;
}

.leaflet-popup-tip {
    background: white;
}

/* Contrôles Leaflet */
.leaflet-control-zoom a {
    background: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    color: #1F1A47 !important;
    font-weight: 700 !important;
}

.leaflet-control-zoom a:hover {
    background: #D8A807 !important;
    color: white !important;
}

/* Adresse */
.ots-address-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.ots-address-info:hover {
    border-color: #D8A807;
    box-shadow: 0 4px 12px rgba(216, 168, 7, 0.15);
}

.ots-address-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.ots-address-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.ots-address-text strong {
    color: #1F1A47;
    font-size: 16px;
}

/* ========================================
   TITRES DES SECTIONS
======================================== */
.ots-categories-title,
.ots-video-title,
.ots-location-title {
    font-size: 42px;
    font-weight: 400;
    color: #1F1A47;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: none;
    position: relative;
    display: inline-block;
}


.ots-categories-title::after,
.ots-video-title::after,
.ots-location-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 216px;
    height: 19px;
    background-image: url('data:image/svg+xml;utf8,<svg width="216" height="19" viewBox="0 0 216 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.999985 15.9998C30.1695 9.37474 113.8 -1.68752 214.966 7.06376" stroke="%23D8A807" stroke-width="6"/></svg>');
    background-repeat: no-repeat;

    /* Animation de la droite vers la gauche */
    opacity: 0;
    transform: translateX(100%);
    animation: slideFromRight 0.8s ease-out forwards;
}

@keyframes slideFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   15. RESPONSIVE
======================================== */
@media (max-width: 768px) {

    /* Layout */
    .ots-main-layout {
        grid-template-columns: 1fr;
    }

    .ots-second-column {
        gap: 20px;
    }

    /* Galerie */
    .ots-gallery {
        flex-direction: column;
        padding: 0 0px;
    }

    .ots-thumbs {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
    }

    .ots-main-image {
        width: 100%;
        height: 300px;
    }

    /* Titres */
    .ots-title {
        font-size: 28px;
    }



    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        font-size: 24px;
    }

    .ots-categories-title::after,
    .ots-video-title::after,
    .ots-location-title::after {
        width: 40%;
    }

    /* Contact card */
    .ots-contact-card {
        width: 100%;
    }

    .ots-contact-actions {
        width: 100%;
    }


    .ots-tab-btn {
        font-size: 16px !important;
    }

    .ots-tabs-content {
        padding: 20px 15px;
    }



    /* Caractéristiques */
    .ots-carac-item-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }

    .ots-carac-key {
        min-width: auto;
    }

    .ots-carac-divider {
        display: none;
    }

    .ots-carac-val {
        text-align: left;
    }

    .ots-section-header {
        padding: 15px 20px;
    }

    .ots-carac-list {
        padding: 10px 20px;
    }

    /* Catégories */
    .ots-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ots-category-card {
        padding: 20px 10px;
    }

    .ots-category-icon {
        width: 50px;
        height: 50px;
    }

    .ots-category-name {
        font-size: 14px;
    }

    /* FAQ */
    .ots-faq-section {
        padding: 24px 20px;
    }

    .ots-faq-question {
        padding: 20px 24px;
        font-size: 16px;
    }

    .ots-faq-answer {
        padding: 5px 24px 24px 24px;
    }

    .ots-faq-icon {
        width: 20px;
        height: 20px;
        margin-left: 12px;
    }

    /* Carte */
    .ots-map {
        height: 300px;
    }

    .ots-video-section,
    .ots-location-section,
    .ots-categories-section {
        padding: 20px 15px;
    }

    /* Réseaux sociaux */
    .ots-social-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px 20px;
    }
}

/* Tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .ots-main-layout {
        grid-template-columns: 50% 50%;
    }

    .ots-contact-card {
        width: 95%;
    }

    .ots-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ========================================
   SECTION SALLES & ÉQUIPEMENTS
======================================== */
.ots-salles-section {
    margin-top: 50px;
    padding: 30px 25px;
}

.ots-salles-icon-title {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.ots-salles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Card de salle */
.ots-salle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.ots-salle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #D8A807;
}

/* Header de la salle */
.ots-salle-header {
    background: linear-gradient(135deg, #1F1A47 0%, #2C2961 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ots-salle-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ots-salle-icon .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    color: #D8A807;
}

.ots-salle-title-block {
    flex: 1;
}

.ots-salle-name {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.ots-salle-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ots-salle-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.ots-salle-meta-item svg {
    color: #D8A807;
}

/* Section dans la card */
.ots-salle-section {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.ots-salle-section:last-child {
    border-bottom: none;
}

.ots-salle-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F1A47;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ots-salle-section-title .dashicons {
    color: #D8A807;
    font-size: 16px;
    width: 18px;
    height: 18px;
}

/* Dispositions */
.ots-dispositions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.ots-disposition-badge {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.ots-disposition-badge:hover {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-color: #D8A807;
    transform: translateY(-2px);
}

.ots-disposition-svg {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 8px;
}

.ots-disposition-svg svg {
    width: 100%;
    height: 100%;
    color: #6366f1;
}

.ots-disposition-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}

/* Équipements tags */
.ots-equipements-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ots-equipement-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ots-equipement-tag:hover {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-color: #D8A807;
    color: #1F1A47;
    transform: scale(1.05);
}

/* Notes */
.ots-salle-notes {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 3px solid #D8A807;
}

/* Responsive */
@media (max-width: 768px) {
    .ots-salles-grid {
        grid-template-columns: 1fr;
    }

    .ots-salle-header {
        padding: 20px;
    }

    .ots-salle-icon {
        width: 50px;
        height: 50px;
    }

    .ots-salle-icon .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .ots-salle-name {
        font-size: 20px;
    }

    .ots-dispositions-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .ots-disposition-svg {
        width: 40px;
        height: 40px;
    }

    .ots-salle-section {
        padding: 20px;
    }
}



/* ========================================
   SECTION SALLES - VERSION PROFESSIONNELLE
======================================== */
.ots-salles-section {
    margin-top: 50px;
    padding: 30px 25px;
}

.ots-salles-icon-title {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Grid 2 colonnes */
.ots-salles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

/* Card moderne - CORRECTION largeur */
.ots-salle-modern-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 0;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.ots-salle-modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(31, 26, 71, 0.12);
}

/* Header avec dégradé violet */
.ots-salle-modern-header {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, #1F1A47 0%, #2C2961 100%);
}

.ots-salle-modern-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Icône statique (sans animation) */
.ots-salle-modern-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #6366f1;
}

.ots-salle-modern-title-block {
    flex: 1;
}

.ots-salle-modern-name {
    font-size: 28px;
    font-weight: 400;
    color: white;
    margin: 0 0 12px 0;
    text-transform: capitalize;
}

.ots-salle-modern-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ots-salle-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.ots-salle-badge svg {
    color: white;
}

/* Body de la card */
.ots-salle-modern-body {
    padding: 0;
}

.ots-salle-modern-section {
    padding: 28px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.ots-salle-modern-section:last-child {
    border-bottom: none;
}

.ots-salle-modern-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #1F1A47;
    margin-bottom: 20px;
}

.ots-section-icon {
    font-size: 22px;
}

/* Dispositions - Layout flex 45% */
.ots-dispositions-modern-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ots-disposition-modern-card {
    flex: 0 0 calc(25% - 9px);
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.ots-disposition-modern-card:hover {
    background: white;
    border-color: #6366f1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.ots-disposition-modern-svg {
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
}

.ots-disposition-modern-svg svg {
    width: 100%;
    height: 100%;
    color: #6366f1;
}

.ots-disposition-capacity {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #2C2961 100%);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(16, 58, 185, 0.043);
}

.ots-disposition-modern-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 400;
    color: #1F1A47;
}

/* Équipements - Tags propres */
.ots-equipements-modern-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ots-equipement-modern-tag {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 400;
    color: #4b5563;
    transition: all 0.2s ease;
}

.ots-equipement-modern-tag:hover {
    background: white;
    border-color: #6366f1;
    color: #1F1A47;
    transform: translateY(-2px);
}

/* Notes - Sans jaune */
.ots-salle-modern-notes {
    background: #f8f9fa;
    border-left: 4px solid #6366f1;
    border-radius: 12px;
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 1200px) {
    .ots-salle-modern-card {
        flex: 0 0 100%;
    }

    .ots-disposition-modern-card {
        flex: 0 0 calc(25% - 9px);
    }
}

@media (max-width: 768px) {
    .ots-salle-modern-header {
        padding: 25px 20px;
    }

    .ots-salle-modern-icon {
        width: 60px;
        height: 60px;
    }

    .ots-salle-modern-name {
        font-size: 22px;
    }

    .ots-salle-modern-section {
        padding: 25px 20px;
    }

    .ots-dispositions-modern-grid {
        gap: 10px;
    }

    .ots-disposition-modern-card {
        flex: 0 0 calc(50% - 5px);
        padding: 18px 10px;
    }

    .ots-disposition-modern-svg {
        width: 60px;
        height: 60px;
    }

    .ots-equipement-modern-tag {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* Si nombre impair : centrage de la dernière */
@media (min-width: 1201px) {
    .ots-salles-grid:has(.ots-salle-modern-card:nth-child(odd):last-child) .ots-salle-modern-card:last-child {
        margin: 0 auto;
    }
}

/* Salles cachées */
.ots-salle-hidden {
    display: none;
}

/* Wrapper du bouton Voir plus */
.ots-salles-voir-plus-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Bouton Voir plus */
.ots-salles-voir-plus-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #1F1A47 0%, #1F1A47 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px #1f1a478b !important;
}

.ots-salles-voir-plus-btn:hover {
    background: linear-gradient(135deg, #2C2961 0%, #2C2961 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #1f1a478b;
}

.ots-salles-voir-plus-btn .ots-btn-icon {
    transition: transform 0.3s ease;
}

.ots-salles-voir-plus-btn.active .ots-btn-icon {
    transform: rotate(180deg);
}




































































/* ========================================
   15. RESPONSIVE
======================================== */

/* Desktop large (1920px et plus) */
@media (min-width: 1920px) {
    .ots-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Desktop medium (1440px - 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
    .ots-main-layout {
        grid-template-columns: 60% 40%;
    }
}

/* Laptop (1025px - 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
    .ots-container {
        padding: 2% 4% 0 4%;
    }

    .ots-main-layout {
        grid-template-columns: 58% 42%;
    }

    .ots-title {
        font-size: 38px;
    }

    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        font-size: 38px;
    }
}

/* Tablette paysage (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {

    /* Container */
    .ots-container {
        padding: 4% 3% 0 3%;
    }

    /* Layout principal */
    .ots-main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Galerie */
    .ots-gallery {
        padding: 0;
    }

    .ots-main-image {
        height: 500px;
    }

    /* Sidebar */
    .ots-secondary-layout {
        padding: 50px 20px 0 20px;
    }

    /* Contact card */
    .ots-contact-card {
        width: 90%;
        margin: 0 auto;
    }

    /* Catégories */
    .ots-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Salles modernes */
    .ots-salles-grid {
        gap: 25px;
    }

    .ots-disposition-modern-card {
        flex: 0 0 calc(33.33% - 8px);
    }
}

/* Tablette portrait & Mobile large (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {

    .ast-separate-container #content .ast-container {
        padding-left: 0em !important;
        padding-right: 0em !important;
    }

    /* Container */
    .ots-container {
        padding: 5% 2% 0 2%;
    }

    /* Breadcrumb */
    .ots-breadcrumb {
        padding: 0;
        font-size: 14px;
        flex-wrap: wrap;
    }

    /* Layout */
    .ots-main-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ots-secondary-layout {
        padding: 40px 0 0 0;
    }

    /* Galerie */
    .ots-gallery {
        flex-direction: column;
        padding: 0;
    }

    .ots-thumbs {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        gap: 10px;
        padding: 10px 0;
    }

    .ots-thumb {
        min-width: 80px;
        height: 80px;
    }

    .ots-main-image {
        width: 100%;
        height: 350px;
    }

    /* Titres */
    .ots-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        font-size: 28px;
    }

    /* Meta */
    .ots-meta {
        padding: 20px 0;
    }

    /* Contact card */
    .ots-contact-card {
        width: 100%;
        padding: 20px;
        border-radius: 20px;
    }

    .ots-contact-actions {
        width: 100%;
    }

    .ots-tab-btn {
        font-size: 18px !important;
        padding: 12px 0 !important;
    }

    /* Séparateurs entre tabs */
    .ots-tab-btn:not(:last-child)::after {
        right: -12px;
    }

    .ots-tabs-content {
        padding: 25px 20px;
    }

    /* Caractéristiques */
    .ots-carac-section-v2 {
        margin-bottom: 25px;
    }

    .ots-section-header {
        padding: 18px 20px;
    }

    .ots-section-icon-v2 {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }

    .ots-section-title-v2 {
        font-size: 18px;
    }

    /* Catégories */
    .ots-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ots-categories-section {
        padding: 20px 0;
    }

    /* FAQ */
    .ots-faq-section {
        padding: 20px 0;
    }

    .ots-faq-question {
        padding: 18px 20px;
        font-size: 16px;
        text-transform: none;
    }

    /* Salles modernes */
    .ots-salles-section {
        padding: 20px 0;
    }

    .ots-salle-modern-card {
        flex: 0 0 100%;
    }

    .ots-salle-modern-header {
        padding: 25px 20px;
    }

    .ots-salle-modern-name {
        font-size: 24px;
    }

    .ots-disposition-modern-card {
        flex: 0 0 calc(50% - 6px);
    }

    /* Carte */
    .ots-map {
        height: 400px;
    }

    /* Réseaux sociaux */
    .ots-social-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

/* Mobile medium (321px - 480px) */
@media (max-width: 480px) and (min-width: 321px) {

    .ast-separate-container #content .ast-container {
        padding-left: 0em !important;
        padding-right: 0em !important;
    }

    .ots-title {
        margin: 20px 0px 20px 0;
    }

    .ots-secondary-layout {
        padding: 40px 10px 0 10px;
    }

    .ots-tab-btn:not(:last-child)::after {
        display: none;
    }

    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        margin: 0 0 0px 0;
    }

    .ots-video-section,
    .ots-location-section,
    .ots-categories-section {
        padding: 20px 0px;
    }

    .ots-faq-section {
        padding: 24px 0px;
    }

    .ots-salles-section {
        margin-top: 0px;
        padding: 30px 0px;
    }

    .ots-video-wrapper {
        margin-top: 20px;
        padding-top: 14px;
    }

    .ots-tabs-nav {
        gap: 10px;
    }

    /* Container */
    .ots-container {
        padding: 6% 2% 0 2%;
    }

    /* Breadcrumb */
    .ots-breadcrumb {
        font-size: 13px;
        gap: 5px;
    }

    /* Galerie */
    .ots-thumb {
        min-width: 70px;
        height: 70px;
    }

    .ots-main-image {
        height: 280px;
        border-radius: 18px;
    }

    /* Titres */
    .ots-title {
        font-size: 26px;
    }

    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        font-size: 24px;
    }

    /* Meta */
    .ots-meta-item {
        font-size: 14px;
    }

    .ots-icon {
        width: 30px;
        height: 30px;
    }

    /* Price banner */
    .ots-price-label {
        font-size: 17px;
    }

    /* Contact card */
    .ots-card-title {
        font-size: 20px;
    }

    .ots-description-text {
        font-size: 14px;
    }

    .ots-btnS {
        font-size: 14px;
        padding: 12px 16px;
    }

    .ots-tab-btn {
        font-size: 15px !important;
        padding: 10px 0 !important;
    }

    .ots-tabs-content {
        padding: 20px 15px;
    }

    /* Caractéristiques */
    .ots-carac-item-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 0;
    }

    .ots-carac-key {
        font-size: 13px;
        color: #999;
    }

    .ots-carac-val {
        font-size: 15px;
    }

    .ots-section-header {
        padding: 15px;
    }

    .ots-section-icon-v2 {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .ots-section-title-v2 {
        font-size: 16px;
    }

    /* Catégories */
    .ots-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ots-category-card {
        padding: 15px 8px;
    }

    .ots-category-icon {
        width: 45px;
        height: 45px;
    }

    .ots-category-name {
        font-size: 13px;
    }

    /* FAQ */
    .ots-faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .ots-faq-answer {
        font-size: 13px;
        padding: 5px 18px 18px 18px;
    }

    /* Salles modernes */
    .ots-salle-modern-header {
        padding: 20px 15px;
    }

    .ots-salle-modern-icon {
        width: 55px;
        height: 55px;
    }

    .ots-salle-modern-name {
        font-size: 20px;
    }

    .ots-salle-badge {
        font-size: 14px;
        padding: 6px 12px;
    }

    .ots-salle-modern-section {
        padding: 20px 15px;
    }

    .ots-disposition-modern-svg {
        width: 55px;
        height: 55px;
    }

    .ots-disposition-modern-label {
        font-size: 13px;
    }

    .ots-equipement-modern-tag {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Vidéo */
    .ots-video-wrapper {
        margin-top: 20px;
        padding-top: 14px;
    }

    /* Carte */
    .ots-map {
        height: 400px;
    }

    .ots-map-container {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 0px;
        margin-top: 20px;
    }

    /* Réseaux sociaux */
    .ots-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ots-social-card {
        padding: 20px 10px;
    }

    .ots-social-card i {
        font-size: 24px;
    }

    .ots-social-card span {
        font-size: 12px;
    }
}

/* Mobile small (320px et moins) */
@media (max-width: 320px) {

    /* Container */
    .ots-container {
        padding: 4% 2% 0 2%;
    }

    /* Breadcrumb caché sur très petit écran */
    .ots-breadcrumb {
        display: none;
    }

    /* Galerie */
    .ots-gallery {
        gap: 10px;
    }

    .ots-thumbs {
        gap: 5px;
    }

    .ots-thumb {
        min-width: 60px;
        height: 60px;
    }

    .ots-main-image {
        height: 220px;
    }

    /* Titres */
    .ots-title {
        font-size: 22px;
    }

    .ots-categories-title,
    .ots-video-title,
    .ots-location-title {
        font-size: 20px;
    }

    /* Tabs - Scroll horizontal */
    .ots-tab-btn {
        font-size: 13px !important;
        min-width: fit-content;
    }

    /* Catégories - 1 colonne */
    .ots-categories-grid {
        grid-template-columns: 1fr;
    }

    /* Salles - Dispositions 2x2 */
    .ots-disposition-modern-card {
        flex: 0 0 calc(50% - 6px);
        padding: 15px 8px;
    }

    .ots-disposition-modern-svg {
        width: 45px;
        height: 45px;
    }

    .ots-disposition-modern-label {
        font-size: 11px;
    }

    /* Boutons */
    .ots-btnS {
        font-size: 13px;
        padding: 10px 14px;
    }

    .ots-btn-contact {
        padding: 14px 14px !important;
        font-size: 13px !important;
    }

    /* Réseaux sociaux - 2 colonnes */
    .ots-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ots-social-card {
        padding: 18px 8px;
    }

    .ots-social-card i {
        font-size: 20px;
    }

    .ots-social-card span {
        font-size: 11px;
    }
}




/* Styles pour les icônes réseaux sociaux dans contact-actions */
.ots-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.ots-social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ots-social-icon-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ots-social-icon-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.ots-social-icon-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.ots-social-icon-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.ots-social-icon-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.ots-social-icon-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.ots-social-icon-link i {
    font-size: 16px;
}


/* Style pour la box de contact avec restriction */
.ots-contact-card {
    position: relative;
}

/* Overlay de flou pour utilisateurs non connectés */
.ots-contact-card.ots-restricted>*:not(.ots-login-overlay) {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    /* Bloquer uniquement le contenu flouté */
}

/* Overlay avec message de connexion */
.ots-login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(4px);
    z-index: 9;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    pointer-events: auto;
    /* Permettre les clics sur l'overlay */
}

.ots-login-overlay-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.ots-login-overlay-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.ots-login-overlay-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.ots-login-overlay-text {
    font-size: 15px;
    color: #1c1c1c;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 300px;
}

.ots-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ots-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.ots-login-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ots-register-link {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

.ots-register-link a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ots-register-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Animation au chargement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ots-login-overlay {
    animation: fadeInUp 0.5s ease;
}


/* Modal styles */
.ots-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.ots-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ots-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.ots-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.ots-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ots-modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.ots-modal-close svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

.ots-modal-header {
    margin-bottom: 30px;
}

.ots-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ots-modal-title i {
    color: #6366f1;
}

.ots-modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Form styles */
.ots-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ots-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ots-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ots-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.ots-form-group .required {
    color: #ef4444;
}

.ots-form-group input,
.ots-form-group select,
.ots-form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.ots-form-group input:focus,
.ots-form-group select:focus,
.ots-form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.ots-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.ots-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
}

.ots-btn-primary,
.ots-btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ots-btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.ots-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.4);
}

.ots-btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.ots-btn-secondary:hover {
    background: #f9fafb;
}

/* Form messages */
.ots-form-message {
    text-align: center;
    padding: 40px;
    display: none;
}

.ots-form-message svg {
    margin: 0 auto 20px;
}

.ots-form-message h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.ots-form-message p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.ots-form-success h4 {
    color: #10b981;
}

.ots-form-error h4 {
    color: #ef4444;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ots-modal-content {
        padding: 24px;
        width: 95%;
        max-height: 95vh;
    }

    .ots-form-row {
        grid-template-columns: 1fr;
    }

    .ots-form-actions {
        flex-direction: column;
    }

    .ots-btn-primary,
    .ots-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}



.ots-contact-actions {
    margin-top: 30px;
}

.ots-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Colonne 1 : Boutons */
.ots-contact-col-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Colonne 2 : Téléphone + Réseaux */
.ots-contact-col-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Section téléphone */
.ots-phone-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
}

.ots-phone-label {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ots-phone-label i {
    color: #D8A807;
}

.ots-phone-link {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ots-phone-link:hover {
    color: #D8A807;
}

/* Réseaux sociaux */
.ots-social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ots-social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ots-social-icon-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ots-social-icon-link.facebook {
    background: #1877F2;
}

.ots-social-icon-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.ots-social-icon-link.linkedin {
    background: #0A66C2;
}

.ots-social-icon-link.twitter {
    background: #1DA1F2;
}

.ots-social-icon-link.youtube {
    background: #FF0000;
}

/* Responsive */
@media (max-width: 768px) {
    .ots-contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ots-phone-section {
        text-align: center;
    }

    .ots-phone-label {
        justify-content: center;
    }

    .ots-social-icons {
        justify-content: center;
    }
}