* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #ffffff;
}

/* ===== CONFIGURATION DES IMAGES D'ARRIÈRE-PLAN ===== */
/* URLs absolues qui fonctionnent - Version forcée */
.artwork-1 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture1/couverture.jpg') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.artwork-2 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture2/couverture.jpg') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.artwork-3 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture3/couverture.png') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.artwork-4 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture4/couverture.png') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.artwork-5 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture5/couverture.png') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.artwork-6 { 
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/sculpture6/couverture.png') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Image de l'artiste */
.about-image {
    background-image: url('https://simulation-spiritofwood.com/SIMULATEURS/oeuvreart/Nicolas-SIMON.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ===== STYLES GÉNÉRAUX ===== */

/* Hero Section avec effet parallax */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(160, 82, 45, 0.2) 0%, transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d4af37, #ffd700, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

@keyframes titleGlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.5s forwards;
    color: #b8860b;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, #8B4513, #D2691E, #CD853F);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: slideUp 1s ease-out 1s forwards;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.6);
}

/* Particules flottantes */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Section Portfolio */
.portfolio {
    padding: 100px 0;
    background: #111111;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 60px;
    background: linear-gradient(135deg, #d4af37, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.artwork-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    cursor: pointer;
}

.artwork-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.artwork-card:hover::before {
    opacity: 1;
}

.artwork-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(139, 69, 19, 0.3);
}

.artwork-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.artwork-image:hover {
    transform: scale(1.05);
}

.artwork-image::before {
    content: '🔍';
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #d4af37;
    padding: 8px;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.artwork-image:hover::before {
    opacity: 1;
}

.artwork-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg, 
        rgba(0,0,0,0.3) 0%, 
        transparent 50%, 
        rgba(212,175,55,0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.artwork-image:hover::after {
    opacity: 1;
}

/* ===== SECTION ENTREPRISES ===== */
.business {
    padding: 100px 0;
    background: linear-gradient(135deg, #2d1810 0%, #1a1a1a 50%, #2d1810 100%);
    position: relative;
}

.business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.business-content {
    display: grid;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.business-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.benefit-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

.benefit-card.highlight {
    background: linear-gradient(145deg, #2d1810, #1a1a1a);
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.benefit-card.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

.business-cta {
    background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.business-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.2rem;
    color: #d4af37;
    margin-bottom: 25px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 30px;
}

.advantages-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-list li {
    color: #cccccc;
    padding: 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantages-list li::before {
    content: '✓';
    color: #d4af37;
    font-weight: bold;
    font-size: 1.2rem;
}

.business-btn {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(45deg, #d4af37, #ffd700, #daa520);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    margin-top: 20px;
}

.business-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.business-btn:hover::before {
    left: 100%;
}

.business-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

/* Modal de galerie */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a, #2d1810);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-title {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(90deg);
}

.modal-gallery {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.main-image {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    background: #000;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #d4af37;
    border: none;
    padding: 15px 20px;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.image-nav:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.1);
}

.image-counter {
    text-align: center;
    color: #d4af37;
    margin-top: 15px;
    font-weight: 500;
}

.image-description {
    text-align: center;
    color: #cccccc;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.5;
}

.artwork-info {
    padding: 25px;
}

.artwork-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #d4af37;
}

.artwork-description {
    color: #cccccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.artwork-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
}

/* Section À Propos */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.about-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    opacity: 0.4;
}

/* Section Contact */
.contact {
    padding: 100px 0;
    background: #0a0a0a;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.form-input::placeholder {
    color: #999;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #000000;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    border-radius: 50%;
    line-height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.4);
}

/* Animations d'entrée */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Menu de navigation flottant */
.floating-nav {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .business-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-cta {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 1.8rem;
    }

    .advantages-list {
        text-align: center;
    }

    .floating-nav {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 5px;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .modal-gallery {
        padding: 15px;
    }

    .thumbnail-container {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .image-nav {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Curseur personnalisé */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}

/* Animation rainbow pour l'easter egg */
@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    25% { filter: hue-rotate(90deg); }
    50% { filter: hue-rotate(180deg); }
    75% { filter: hue-rotate(270deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Animation de succès pour le formulaire */
.form-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}