/* ==========================================================================
   SERVICES.CSS - STYLES LUXUEUX POUR LA PAGE SERVICES
   Style cohérent avec index.css - Premium & Élégant
   ========================================================================== */

/* ========== VARIABLES CSS SERVICES ========== */
:root {
    /* Reprend les variables d'index.css */
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-gold: #d4af37;
    --light-gold: #f4e4a7;
    --pure-white: #ffffff;
    --light-gray: rgba(255, 255, 255, 0.8);
    
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4e4a7 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    
    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* ========== HERO SERVICES LUXURY ========== */
.services-hero-luxury {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding: 140px 0 80px;
}

/* Hérite des styles particules d'index.css */
.services-hero-luxury .hero-particles,
.services-hero-luxury .particle,
.services-hero-luxury .hero-overlay {
    /* Utilise les mêmes styles que index.css */
}

.services-hero-luxury .hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.services-hero-luxury .hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Statistiques services hero */
.services-hero-luxury .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.services-hero-luxury .stat-item {
    text-align: center;
}

.services-hero-luxury .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
}

.services-hero-luxury .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== SECTION SERVICES PREMIUM ========== */
.services-premium-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Grille services premium */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

/* ========== CARDS SERVICES PREMIUM ========== */
.service-premium-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all var(--transition-slow);
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(10px);
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.service-premium-card.featured {
    border: 2px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-gold);
    border-radius: 22px;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
    filter: blur(8px);
}

.service-premium-card:hover .card-background {
    opacity: 0.03;
}

.service-premium-card:hover .card-glow {
    opacity: 0.2;
}

.service-premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.service-premium-card.featured:hover {
    transform: translateY(-12px) scale(1.04);
}

/* Header de la card */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-number {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent-gold);
    transition: all var(--transition);
}

.service-premium-card:hover .service-number {
    background: var(--gradient-gold);
    color: var(--primary-black);
    transform: scale(1.1);
}

.card-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all var(--transition);
    filter: brightness(0) invert(1);
}

.icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-premium-card:hover .icon-glow {
    opacity: 1;
}

.service-premium-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) invert(1);
}

/* Contenu de la card */
.card-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 15px;
    transition: color var(--transition);
}

.service-premium-card:hover .card-title {
    color: var(--accent-gold);
}

.card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Features de la card */
.card-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    transition: all var(--transition);
}

.feature-item:hover {
    transform: translateX(8px);
}

.feature-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Section prix */
.card-price-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    transition: all var(--transition);
}

.service-premium-card:hover .card-price-section {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--accent-gold);
}

.price-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.price-period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Bouton CTA de la card */
.card-cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 28px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    overflow: hidden;
    text-decoration: none;
}

.card-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--primary-black);
    text-decoration: none;
}

.card-cta-btn .btn-icon {
    transition: transform var(--transition);
}

.card-cta-btn:hover .btn-icon {
    transform: translateX(4px);
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 1;
}

.service-premium-card:hover .card-hover-effect {
    opacity: 1;
}

/* ========== SECTION PROCESSUS LUXURY ========== */
.process-luxury {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.process-timeline {
    margin-top: 80px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold), transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition);
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.step-content {
    flex: 1;
    padding: 0 60px;
    max-width: 400px;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 15px;
}

.step-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-feature {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========== CTA FINALE SERVICES ========== */
.final-cta-services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.final-cta-services .cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.final-cta-services .cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-services .cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--pure-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.final-cta-services .cta-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
}

.cta-stat .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

.cta-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.final-cta-services .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== MODAL SERVICES ========== */
.service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-modal-overlay.active {
    opacity: 1;
}

.service-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--gradient-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 40px;
    transition: transform var(--transition);
    box-shadow: var(--shadow-heavy);
}

.service-modal-overlay.active .service-modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--gradient-gold);
    color: var(--primary-black);
    transform: scale(1.1);
}

.modal-content-area {
    color: var(--pure-white);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .services-premium-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .service-premium-card.featured {
        transform: none;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        flex-direction: row !important;
        padding-left: 100px;
    }
    
    .process-step:nth-child(even) .step-content {
        text-align: left;
    }
    
    .step-number {
        position: absolute;
        left: 0;
    }
    
    .step-content {
        padding: 0;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .services-hero-luxury {
        padding: 120px 0 60px;
    }
    
    .services-premium-section,
    .process-luxury,
    .final-cta-services {
        padding: 80px 0;
    }
    
    .services-container,
    .process-container {
        padding: 0 20px;
    }
    
    .services-premium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-premium-card {
        min-height: auto;
        padding: 30px 25px;
    }
    
    .services-hero-luxury .hero-stats {
        gap: 25px;
    }
    
    .cta-stats {
        gap: 25px;
    }
    
    .final-cta-services .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-modal-container {
        width: 95%;
        padding: 40px 25px;
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
}

@media (max-width: 480px) {
    .services-hero-luxury {
        padding: 100px 0 50px;
    }
    
    .services-premium-section,
    .process-luxury,
    .final-cta-services {
        padding: 60px 0;
    }
    
    .services-container,
    .process-container {
        padding: 0 15px;
    }
    
    .service-premium-card {
        padding: 25px 20px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .service-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-icon-container {
        width: 50px;
        height: 50px;
    }
    
    .services-hero-luxury .hero-stats,
    .cta-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-features {
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .card-cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .service-modal-container {
        padding: 30px 20px;
    }
}

/* ========== ANIMATIONS SUPPLÉMENTAIRES ========== */
@keyframes cardGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4); }
}

.service-premium-card.featured {
    animation: cardGlow 3s ease-in-out infinite;
}

@keyframes priceHighlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.service-premium-card:hover .price-value {
    animation: priceHighlight 1s ease-in-out;
}

/* Effet parallax pour les particules */
@keyframes particleMovement {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(90deg); }
    50% { transform: translate(-15px, -30px) rotate(180deg); }
    75% { transform: translate(-25px, -10px) rotate(270deg); }
}

.hero-particles .particle {
    animation: particleMovement 15s ease-in-out infinite;
}

.hero-particles .particle:nth-child(2) {
    animation-delay: 3s;
}

.hero-particles .particle:nth-child(3) {
    animation-delay: 6s;
}

.hero-particles .particle:nth-child(4) {
    animation-delay: 9s;
}

.hero-particles .particle:nth-child(5) {
    animation-delay: 12s;
}

/* ========== ACCESSIBILITÉ ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .service-premium-card.featured {
        animation: none;
    }
}

/* États de focus pour l'accessibilité */
.card-cta-btn:focus,
.modal-close:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ========== PRINT STYLES ========== */
@media print {
    .services-hero-luxury,
    .final-cta-services,
    .service-modal-overlay {
        display: none;
    }
    
    .service-premium-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        background: white !important;
        color: black !important;
    }
    
    .card-cta-btn {
        display: none;
    }
}