/* =====================================================
 * DYNASTY DREAM - SYSTÈME CSS OPTIMISÉ
 * Version 4.0 - Clean & Harmonisé
 * ===================================================== */

/* =====================================================
 * VARIABLES CSS GLOBALES CONSOLIDÉES
 * ===================================================== */
:root {
    /* Couleurs principales */
    --dynasty-primary: #1a1a1a;
    --dynasty-secondary: #f8f9fa;
    --dynasty-accent: #10b981;
    --dynasty-luxury-gold: #d4af37;
    --dynasty-warning: #f59e0b;
    --dynasty-error: #ef4444;

    /* Couleurs texte */
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    --text-light: #ffffff;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #d4af37 100%);
    --glass-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);

    /* Effets glassmorphisme */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-light: rgba(255, 255, 255, 0.8);
    --glass-bg-dark: rgba(0, 0, 0, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-light: rgba(255, 255, 255, 0.2);

    /* Ombres */
    --shadow-light: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);

    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    --transition-slow: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

    /* Espacements */
    --border-radius: 1.5rem;
    --border-radius-small: 0.75rem;
    --border-radius-large: 2rem;

    /* Blur */
    --blur-light: blur(10px);
    --blur-medium: blur(15px);
    --blur-heavy: blur(20px);
}

/* =====================================================
 * RESET ET BASE
 * ===================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--glass-gradient);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
 * ANIMATIONS CENTRALISÉES
 * ===================================================== */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(80px) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    80%,
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes morphGlow {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(26, 26, 26, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 20px 60px rgba(26, 26, 26, 0.25),
            0 0 30px rgba(16, 185, 129, 0.3),
            0 0 0 2px rgba(16, 185, 129, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes iconDance {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* =====================================================
 * SYSTÈME DE CAROUSEL UNIFIÉ
 * ===================================================== */

/* Masquer les barres de défilement */
.excursions-carousel::-webkit-scrollbar,
.owner-services-carousel::-webkit-scrollbar,
.vehicule-carousel::-webkit-scrollbar,
.services-carousel::-webkit-scrollbar {
    display: none;
}

.excursions-carousel,
.owner-services-carousel,
.vehicule-carousel,
.services-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



.premium-excursion-card:hover .excursion-shimmer {
    animation: shimmer 1.5s infinite
}

.excursion-header-icon:nth-child(1) {
    animation-delay: 0s
}

.excursion-header-icon:nth-child(2) {
    animation-delay: 0.5s
}

.excursion-header-icon:nth-child(3) {
    animation-delay: 1s
}

.excursion-header-icon:nth-child(4) {
    animation-delay: 1.5s
}

/* Règles responsive déplacées dans la section responsive unifié */

/* Règles grands écrans déplacées dans la section responsive unifié */

/* Règles modal responsive déplacées dans la section unifié */
/* ===== STYLES CAROUSEL PROPRIÉTAIRES ===== */
.owner-services-carousel {
    --card-width: 380px;
    --total-width: 1200px;
    --duration: 25s;
    --direction: normal;
    width: 100vw;
    margin: 0;
    overflow: hidden;
    position: relative;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}

.owner-services-grid {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    min-width: max-content;
    animation: infiniteScroll var(--duration) linear infinite;
    animation-direction: var(--direction);
    will-change: transform;
}

/* ===== ANIMATIONS SPÉCIFIQUES PROPRIÉTAIRES ===== */
@keyframes ownerServiceFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ownerHeaderFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes ownerFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(3deg);
    }

    66% {
        transform: translateY(-6px) rotate(-2deg);
    }
}

/* ===== EFFETS HOVER CAROUSEL ===== */
.premium-owner-service-card:hover .owner-service-shimmer {
    animation: shimmer 1.5s infinite;
}

.premium-owner-service-card:hover img {
    transform: scale(1.1);
}

/* ===== RESPONSIVE CAROUSEL ===== */
/* Règles responsive owner services déplacées dans la section unifié */

/* Règles responsive carousel propriétaires déplacées dans la section unifié */

/* ===== ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: reduce) {
    .owner-services-grid {
        animation: none !important;
    }
}






/* =====================================================
     * COMPOSANTS DE BASE
     * ===================================================== */
.rounded-card {
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    will-change: transform, box-shadow;
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

/* Animation différée pour chaque carte */
.rounded-card:nth-child(1) {
    animation: slideInFromLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.rounded-card:nth-child(2) {
    animation: slideInFromRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.rounded-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Animation pour le titre principal au survol */
.rounded-card:hover h3 {
    transform: translateY(-3px);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Animation pour le texte de catégorie */
.rounded-card:hover p:first-of-type {
    transform: translateY(-2px);
    opacity: 1;
}

/* Effet d'animation sur mobile avec touch */
@media (max-width: 1023px) {
    .rounded-card:active {
        transform: translateY(-2px);
        transition: transform 0.1s ease;
    }
}

.rounded-button {
    border-radius: 0.75rem;
}

.text-text-alternative {
    color: var(--text-light);
    filter: none !important;
    backdrop-filter: none !important;
}

/* =====================================================
     * SYSTÈME DE CAROUSEL AVANCÉ
     * ===================================================== */
.carousel-image-container {
    width: 105%;
    height: 105%;
    position: absolute;
    top: -2.5%;
    left: -2.5%;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel-image-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    will-change: transform, filter;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards;
}

.group:hover .carousel-image-enhanced {
    transform: scale(1.1);
    filter: brightness(0.85) contrast(1.1);
}

/* =====================================================
     * EFFETS GLASSMORPHISME AVANCÉS
     * ===================================================== */
.text-blur-zone {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    will-change: backdrop-filter, transform, box-shadow;
}

.group:hover .text-blur-zone {
    backdrop-filter: none;
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(255, 255, 255, 0.3);
}

/* =====================================================
     * NAVIGATION CAROUSEL MODERNE
     * ===================================================== */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.group:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-nav.prev {
    left: 24px;
}

.carousel-nav.next {
    right: 24px;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    color: var(--dynasty-primary);
    transition: color 0.3s ease;
}

/* =====================================================
     * INDICATEURS CAROUSEL PREMIUM
     * ===================================================== */
.carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.group:hover .carousel-indicators {
    opacity: 1;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.carousel-indicator.active {
    background: var(--text-light);
    transform: scale(1.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}



/* =====================================================
     * OVERLAY GRADIENTS SOPHISTIQUÉS
     * ===================================================== */
.enhanced-overlay {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 25%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.7) 100%);
    transition: var(--transition-smooth);
    will-change: background;
}

.group:hover .enhanced-overlay {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.35) 25%,
            rgba(0, 0, 0, 0.55) 60%,
            rgba(0, 0, 0, 0.8) 100%);
}

/* =====================================================
     * BOUTONS CTA PREMIUM
     * ===================================================== */
.enhanced-button {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 1.75rem;
    border-radius: 0.875rem;
    transition: var(--transition-smooth);
    font-weight: 600;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.enhanced-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.enhanced-button:hover::before {
    left: 100%;
}

.enhanced-button:hover {
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
     * ANIMATION CONTAINER PRINCIPAL
     * ===================================================== */
#relume {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation des éléments textuels */
.rounded-card h3 {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.rounded-card p {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.rounded-card .enhanced-button {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

/* =====================================================
     * SYSTÈME RESPONSIVE OPTIMISÉ
     * ===================================================== */
.cards-container {
    height: auto;
    min-height: 60vh;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@media (min-width: 1024px) {
    .cards-container {
        min-height: 65vh;
    }
}

.rounded-card {
    height: 100%;
    min-height: 55vh;
}

/* Règles responsive déplacées dans la section unifié */

/* =====================================================
     * CLASSES UTILITAIRES PERSONNALISÉES
     * ===================================================== */
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Règles responsive utilitaires déplacées dans la section unifié */

/* =====================================================
     * TRANSITIONS TEXTUELLES DYNAMIQUES
     * ===================================================== */
#voyageurs-subtitle,
#voyageurs-description,
#voyageurs-linkText,
#proprietaires-subtitle,
#proprietaires-description,
#proprietaires-linkText {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Transitions pour les titres et textes principaux */
.rounded-card h3 {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), text-shadow 0.4s ease;
}

.rounded-card p {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#voyageurs-link,
#proprietaires-link {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Effet de survol pour les liens dynamiques */
#voyageurs-link:hover,
#proprietaires-link:hover {
    transform: translateY(-2px);
}

/* =====================================================
     * OPTIMISATIONS PERFORMANCE
     * ===================================================== */
.rounded-card,
.carousel-image-enhanced,
.text-blur-zone,
.enhanced-button {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    /* Désactiver les animations d'apparition pour les utilisateurs préférant moins de mouvement */
    #relume,
    .cards-container,
    .rounded-card,
    .rounded-card h3,
    .rounded-card p,
    .rounded-card .enhanced-button,
    .carousel-image-enhanced,
    .click-indicator,
    .click-badge,
    .pulse-animation {
        opacity: 1 !important;
        animation: none !important;
    }

    .carousel-image-enhanced {
        transform: scale(1.05) !important;
    }
}

/* =====================================================
     * INDICATEUR DE CLIQUABILITÉ
     * ===================================================== */
/* Animations déjà définies au début du fichier - suppression des doublons */

.click-indicator {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
    transition: all 0.3s ease;
}

.click-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    color: var(--dynasty-primary);
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.click-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

.pulse-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s infinite;
    z-index: -1;
}

.click-badge svg {
    color: var(--dynasty-primary);
    flex-shrink: 0;
}

.click-badge span {
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* Animation au survol */
.rounded-card:hover .click-indicator {
    transform: scale(1.1);
}

.rounded-card:hover .click-badge {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    animation: none;
}

/* Règles click-indicator mobile déplacées dans la section responsive unifié */

/* =====================================================
     * CARTES CLIQUABLES
     * ===================================================== */
.clickable-card {
    cursor: pointer;
    position: relative;
}

.clickable-card:focus {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.clickable-card:active {
    transform: translateY(-4px);
}

/* Effet de hover plus prononcé pour indiquer la cliquabilité */
.clickable-card:hover {
    transform: translateY(-8px) !important;
}

/* Ajout d'un indicateur visuel subtil */
.clickable-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.clickable-card:hover::after {
    opacity: 1;
}

/* Assurer la netteté du texte au survol */
.rounded-card:hover h3,
.rounded-card:hover p,
.rounded-card:hover span,
.rounded-card:hover .text-text-alternative {
    filter: none !important;
    backdrop-filter: none !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Optimisation générale pour éviter le flou sur les transformations */
.rounded-card:hover {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

/* Règles navigation mobile déplacées dans la section responsive unifié */



/* Hero Section */
.hero-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.03;
    animation: float 8s ease-in-out infinite;
}

/* Animation float déjà définie au début du fichier */

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin: 0 0 16px 0;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* Description hero - Styles de base communs */
.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Variante pour page d'accueil avec animation et couleur blanche */
#accueil .hero-description {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    animation: descriptionSlide 2s ease-out 0.5s both;
}

@keyframes descriptionSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content */
.main-content {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Form */
.contact-form-section {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
    position: relative;
}



.form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.form-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--dynasty-primary);
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Contact Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin: 0 0 16px 0;
}

.info-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.info-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.info-link {
    color: var(--dynasty-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: var(--text-secondary);
}

/* Map Section */
.map-section {
    margin-top: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(20px);
}

.map-header {
    padding: 32px 40px 0;
    text-align: center;
}

.map-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.map-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
}

.map-container {
    height: 400px;
    width: 100%;
}

.map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive styles consolidés dans la section responsive unifié */

/* Animations fadeInUp déjà définies au début du fichier */

/* =====================================================
 * RESPONSIVE DESIGN UNIFIÉ
 * ===================================================== */

/* Mobile Portrait */
@media (max-width: 768px) {

    /* Excursions */
    .excursions-header h1 {
        font-size: 24px !important;
    }

    .excursions-header p {
        font-size: 16px !important;
    }

    .excursions-grid {
        gap: 16px !important;
        padding: 0 16px !important;
    }

    .excursion-card {
        min-width: 280px !important;
        max-width: 320px !important;
    }

    .excursion-image-container {
        height: 200px !important;
    }

    .excursions-header-icons {
        gap: 12px !important;
    }

    .excursion-header-icon {
        width: 40px !important;
        height: 40px !important;
    }

    /* Services voyageurs/propriétaires */
    .services-grid {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }

    .service-section {
        padding: 32px !important;
    }

    .service-section h2 {
        font-size: 28px !important;
    }

    .service-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }

    .mini-service-card h3 {
        font-size: 16px !important;
    }

    .mini-service-card p {
        font-size: 13px !important;
    }

    /* Owner services carousel */
    .owner-services-carousel {
        --card-width: 280px;
        --duration: 20s;
    }

    .owner-service-image-container {
        height: 200px !important;
    }

    /* Modals */
    .modal-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Formulaires et contenus */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-section,
    .main-content {
        padding: 40px 20px;
    }

    .contact-form-section {
        padding: 24px;
    }

    .map-container {
        height: 300px;
    }

    /* Interactions tactiles */
    .rounded-card:active {
        transform: translateY(-2px);
        transition: transform 0.1s ease;
    }

    /* Navigation mobile */
    .nav-open {
        height: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Masquer indicateurs cliquables sur mobile */
    .click-indicator {
        display: none;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .services-grid {
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    .service-section {
        padding: 24px !important;
    }

    .service-section h2 {
        font-size: 24px !important;
    }

    .service-section div[style*="grid-template-columns"]:first-of-type {
        grid-template-columns: 1fr !important;
    }

    .mini-service-card h3 {
        font-size: 14px !important;
    }

    .mini-service-card p {
        font-size: 12px !important;
    }
}

/* Grands écrans */
@media (min-width: 1400px) {
    .excursions-grid {
        gap: 28px !important;
    }

    .excursion-card {
        min-width: 340px !important;
        max-width: 400px !important;
    }

    .excursion-image-container {
        height: 260px !important;
    }

    .owner-services-carousel {
        --card-width: 340px;
        --duration: 30s;
    }

    .owner-service-image-container {
        height: 260px !important;
    }
}

/* Ultra-larges écrans */
@media (min-width: 1920px) {
    .owner-services-carousel {
        --card-width: 420px;
        --duration: 35s;
    }

    .owner-service-image-container {
        height: 280px !important;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .lg\:py-14 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .cards-container {
        min-height: 65vh;
    }
}

/* Tablettes et moyens écrans */
@media (min-width: 768px) {
    .md\:py-12 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .rounded-card {
        min-height: 60vh;
    }
}

/* =====================================================
 * SYSTÈME DE CARTES MODERNES AVANCÉ
 * ===================================================== */

/* Animations modernes pour cartes */
@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-4px) scale(1.02);
    }
}

@keyframes morphGlow {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(26, 26, 26, 0.15),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 20px 60px rgba(26, 26, 26, 0.25),
            0 0 30px rgba(16, 185, 129, 0.3),
            0 0 0 2px rgba(16, 185, 129, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes iconDance {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-5deg);
    }

    75% {
        transform: scale(1.1) rotate(5deg);
    }
}

@keyframes textSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Conteneur principal modernisé */
.services-overview-modern {
    background: linear-gradient(135deg,
            rgba(248, 249, 250, 0.9) 0%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(240, 242, 247, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.services-overview-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.services-overview-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite reverse;
}

/* Header section ultra-moderne */
.modern-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 80px;
}

.modern-title {
    font-size: clamp(48px, 8vw, 72px) !important;
    font-weight: 900 !important;
    margin: 0 0 32px 0 !important;
    background: linear-gradient(135deg,
            #1a1a1a 0%,
            #10b981 25%,
            #1a1a1a 50%,
            #d4af37 75%,
            #1a1a1a 100%) !important;
    background-size: 200% 200% !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: gradientShift 8s ease-in-out infinite !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.modern-subtitle {
    font-size: 24px !important;
    color: #4a4a4a !important;
    margin: 0 auto !important;
    max-width: 800px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
    opacity: 0 !important;
    animation: fadeInUp 1s ease-out 0.5s forwards !important;
}

/* Grid modernisé avec auto-sizing intelligent */
.services-grid-modern {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)) !important;
    gap: 60px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Sections de services ultra-modernes */
.service-section-modern {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 24px !important;
    padding: 48px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    opacity: 0 !important;
    transform: translateY(60px) scale(0.95) !important;
    animation: sectionReveal 1s ease-out forwards !important;
}

@keyframes sectionReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-section-modern:nth-child(1) {
    animation-delay: 0.8s;
}

.service-section-modern:nth-child(2) {
    animation-delay: 1.2s;
}

.service-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(16, 185, 129, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.service-section-modern:hover::before {
    opacity: 1;
}

.service-section-modern:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 40px 80px rgba(26, 26, 26, 0.15),
        0 0 0 1px rgba(16, 185, 129, 0.1) !important;
}

/* Headers de section modernisés */
.section-header-modern {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.section-title-modern {
    font-size: 36px !important;
    font-weight: 800 !important;
    margin: 0 0 16px 0 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
    position: relative !important;
}

.section-title-modern::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #d4af37);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 1.5s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes expandWidth {
    to {
        transform: scaleX(1);
    }
}

.section-subtitle-modern {
    font-size: 22px !important;
    color: #4a4a4a !important;
    margin: 0 0 12px 0 !important;
    font-weight: 500 !important;
    opacity: 0 !important;
    animation: textSlideIn 0.8s ease-out 1.8s forwards !important;
}

.section-description-modern {
    font-size: 17px !important;
    color: #6a6a6a !important;
    margin: 0 0 32px 0 !important;
    opacity: 0.9 !important;
    line-height: 1.6 !important;
    opacity: 0 !important;
    animation: textSlideIn 0.8s ease-out 2s forwards !important;
}

/* Cartes de service ultra-modernes */
.mini-service-card-modern,
.main-service-card-modern {
    perspective: 1200px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
}

.mini-service-card-modern {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    min-height: 160px !important;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Effet de brillance au survol */
.mini-service-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 0;
}

.mini-service-card-modern:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.mini-service-card-modern:hover {
    transform: translateY(-12px) scale(1.05) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    animation: morphGlow 2s ease-in-out infinite !important;
}

/* Contenu des cartes modernisé */
.card-inner-modern {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    z-index: 1;
}

.mini-service-card-modern:hover .card-inner-modern,
.main-service-card-modern:hover .card-inner-modern {
    transform: rotateY(180deg);
}

.card-front-modern,
.card-back-modern {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: inherit;
}

.card-back-modern {
    transform: rotateY(180deg);
    background: linear-gradient(135deg,
            #1a1a1a 0%,
            #10b981 50%,
            #1a1a1a 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.card-back-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Icônes animées */
.service-icon-modern {
    font-size: 28px !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: inline-block !important;
}

.mini-service-card-modern:hover .service-icon-modern {
    animation: iconDance 1s ease-in-out !important;
}

/* Titres et textes modernisés */
.service-title-modern {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    transition: all 0.3s ease !important;
}

.service-description-modern {
    font-size: 15px !important;
    color: #5a5a5a !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    transition: all 0.3s ease !important;
}

/* Flèche modernisée */
.service-arrow-modern {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    color: #10b981 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform: translateX(0) !important;
}

.mini-service-card-modern:hover .service-arrow-modern {
    transform: translateX(4px) !important;
    color: #d4af37 !important;
}

/* Face arrière modernisée */
.card-back-modern h3 {
    color: white !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
}

.card-back-modern p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 24px 0 !important;
}

.flip-icon-modern {
    font-size: 36px !important;
    margin-bottom: 16px !important;
    animation: pulse 2s ease-in-out infinite !important;
    opacity: 0.9 !important;
}

/* Bouton CTA ultra-moderne */
.cta-button-modern {
    background: linear-gradient(135deg, #1a1a1a 0%, #10b981 50%, #1a1a1a 100%) !important;
    background-size: 200% 200% !important;
    color: white !important;
    border: none !important;
    padding: 20px 40px !important;
    border-radius: 16px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.2) !important;
}

.cta-button-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.6s ease;
}

.cta-button-modern:hover::before {
    left: 100%;
}

.cta-button-modern:hover {
    transform: translateY(-4px) scale(1.05) !important;
    background-position: 100% 0 !important;
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.3),
        0 0 0 1px rgba(16, 185, 129, 0.3) !important;
}

.cta-icon-modern {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.cta-button-modern:hover .cta-icon-modern {
    transform: translateX(4px) !important;
}

/* =====================================================
 * ANIMATIONS SÉQUENTIELLES
 * ===================================================== */
.service-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-section:nth-child(2) {
    animation-delay: 0.2s;
}

/* =====================================================
 * ACCESSIBILITÉ
 * ===================================================== */
.mini-service-card:focus,
.main-service-card:focus,
button:focus {
    outline: 3px solid var(--dynasty-primary);
    outline-offset: 2px;
}




.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 0 20px 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dynasty-warning), var(--dynasty-luxury-gold));
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 0 0 24px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--text-primary);
}

.visual-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 600px;
}

.main-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    transform-origin: center center;
    position: absolute;
    top: 0;
    left: 0;
}

.visual-container:hover .main-image {
    transform: scale(1.08) !important;
}

.overlay-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-medium);
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.stat-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 20px;
    color: var(--dynasty-luxury-gold);
}

.stat-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dynasty-accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================================================
 * GALERIE D'IMAGES MODAL
 * ===================================================== */.gallery-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-medium);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    z-index: 20;
}

.gallery-btn:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-medium);
    border-color: var(--dynasty-accent);
}

.gallery-btn.pulse {
    animation: galleryPulse 0.6s ease-out;
}

@keyframes galleryPulse {
    0% { transform: translateY(-2px) scale(1.05); }
    50% { transform: translateY(-4px) scale(1.1); }
    100% { transform: translateY(-2px) scale(1.05); }
}

.gallery-icon {
    font-size: 16px;
}

.gallery-text {
    white-space: nowrap;
}

.photo-count {
    background: var(--dynasty-accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

/* Modal principal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: var(--blur-heavy);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.gallery-modal-open {
    opacity: 1;
}

.gallery-modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: var(--blur-heavy);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.gallery-modal-open .gallery-modal-content {
    transform: scale(1);
}

/* Header modal */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: var(--glass-bg-light);
}

.gallery-title h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.gallery-title p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gallery-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    transform: scale(1.1);
}

/* Container image principale */
.gallery-main-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #000;
    height: 45vh;
    min-height: 300px;
}

.gallery-main-image-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Navigation arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: var(--dynasty-primary);
    transition: var(--transition-fast);
    z-index: 10;
    box-shadow: var(--shadow-medium);
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

/* Miniatures */
.gallery-thumbnails {
    padding: 24px 32px;
    border-top: 1px solid var(--border-color);
    background: var(--glass-bg-light);
}

.gallery-thumbnails-container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
}

.gallery-thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails-container::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 3px;
}

.gallery-thumbnails-container::-webkit-scrollbar-thumb {
    background: var(--dynasty-accent);
    border-radius: 3px;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.gallery-thumbnail:hover {
    border-color: var(--dynasty-accent);
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: var(--dynasty-luxury-gold);
    box-shadow: 0 0 0 1px var(--dynasty-luxury-gold);
}

.gallery-thumbnail.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.2);
}

/* Informations image */
.gallery-info {
    padding: 32px 32px;
    border-top: 1px solid var(--border-color);
    background: var(--glass-bg);
    min-height: 120px;
}

.gallery-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--text-primary);
}

.gallery-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Responsive galerie */
@media (max-width: 768px) {
    .gallery-btn {
        top: 12px;
        right: 12px;
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .gallery-text {
        display: none;
    }
    
    .gallery-modal-content {
        width: 98%;
        margin: 1%;
        max-height: 95vh;
    }
    
    .gallery-header {
        padding: 16px 20px;
    }
    
    .gallery-title h3 {
        font-size: 18px;
    }
    
    .gallery-main-container {
        height: 40vh;
        min-height: 250px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .gallery-prev {
        left: 8px;
    }
    
    .gallery-next {
        right: 8px;
    }
    
    .gallery-thumbnails,
    .gallery-info {
        padding: 16px 20px;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .gallery-thumbnails-container {
        gap: 8px;
    }
    
    .gallery-thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .gallery-info h4 {
        font-size: 16px;
    }
    
    .gallery-info p {
        font-size: 13px;
    }
}

/* =====================================================
 * MODAL LÉGALE
 * ===================================================== */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: var(--blur-heavy);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.legal-modal.legal-modal-open {
    opacity: 1;
}

.legal-modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    backdrop-filter: var(--blur-heavy);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.legal-modal-open .legal-modal-content {
    transform: scale(1);
}

/* Header modal légale */
.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: var(--glass-bg-light);
    position: sticky;
    top: 0;
    z-index: 10;
}

.legal-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.legal-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.legal-modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    transform: scale(1.1);
}

/* Contenu de la modal */
.legal-modal-body {
    padding: 0;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: var(--dynasty-accent);
    border-radius: 4px;
}

/* Contenu légal */
.legal-content {
    padding: 32px;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 32px 0;
    color: var(--text-primary);
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dynasty-accent);
}

.legal-section {
    margin-bottom: 32px;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--dynasty-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    text-align: justify;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0 12px 24px;
    color: var(--text-secondary);
}

.legal-section li {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-info {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.legal-info p {
    margin: 8px 0;
    font-size: 14px;
}

.legal-info strong {
    color: var(--dynasty-primary);
    font-weight: 600;
}

/* Liens dans le footer */
.legal-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.legal-link:hover {
    color: var(--dynasty-accent);
    text-decoration: underline;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dynasty-accent);
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

/* Responsive modal légale */
@media (max-width: 768px) {
    .legal-modal {
        padding: 10px;
    }
    
    .legal-modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .legal-modal-header {
        padding: 20px 24px;
    }
    
    .legal-modal-title {
        font-size: 20px;
    }
    
    .legal-modal-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
    }
    
    .legal-content {
        padding: 24px 20px;
    }
    
    .legal-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .legal-section h3 {
        font-size: 18px;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 14px;
    }
    
    .legal-info {
        padding: 16px;
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: 20px 16px;
    }
    
    .legal-content h2 {
        font-size: 22px;
    }
    
    .legal-section h3 {
        font-size: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reservation-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .reservation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 32px 0;
    }

    .feature-card {
        padding: 24px;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

    .visual-container {
        height: 400px;
    }

    .main-image {
        height: 100%;
    }

    .overlay-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px;
    }

    .stats-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
