/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #080808;
    --gold: #d4af37;
    --silver: #e8e8e8;
    --white: #f5f5f0;
    --dark-gray: #111111;
    --darker-gray: #0d0d0d;
    
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', sans-serif;
}

/* Curseur personnalisé - Optimisé pour mobile */
@media (hover: hover) and (pointer: fine) {
    html, body, a, button, input, textarea, .portfolio-card, section, h1, h2, h3, h4, h5, h6, p, div, span, canvas {
        cursor: none !important;
    }

    /* FAQ - Curseur masqué sur tous les éléments */
    .faq *, .faq-item, .faq-question, .faq-answer, .faq label, .faq input, .faq input[type="checkbox"] {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 10001;
        will-change: transform;
    }

    .cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--gold);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        transition: none;
    }

    .cursor-ring {
        width: 32px;
        height: 32px;
        border: 1px solid var(--silver);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, border-color 0.2s;
    }

    .cursor-ring.hover {
        width: 50px;
        height: 50px;
        border-color: var(--gold);
    }

    .cursor-ring.click {
        width: 20px;
        height: 20px;
    }
}

@media (hover: none) or (pointer: coarse) {
    .custom-cursor {
        display: none;
    }
}

/* Canvas de fond - Optimisé pour mobile */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

/* Désactiver les animations coûteuses sur mobile */
@media (max-width: 768px) {
    #particles-canvas {
        display: none;
    }
    
    .testimonials-track {
        animation: none;
    }
    
    .marquee-content {
        animation-duration: 40s;
    }
    
    /* Réduire les effets de glow sur mobile */
    .highlight {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    }
    
    .logo-accent {
        text-shadow: none;
    }
    
    .hero-label {
        text-shadow: none;
    }
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s, border 0.4s;
}

.navbar.scrolled {
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

.logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
}

.logo-accent {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 300;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.mobile-menu-link {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--white);
    text-decoration: none;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-menu-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu-link:hover::after {
    width: 100%;
}

.mobile-menu-link:hover {
    color: var(--gold);
}

/* Section Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    animation: revealText 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.8s; }
.title-line:nth-child(2) { animation-delay: 0.95s; }
.title-line:nth-child(3) { animation-delay: 1.1s; }

.highlight {
    color: #c9a84c;
    display: inline;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--silver);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 400;
    transition: background 0.3s, color 0.3s;
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 400;
    border: 1px solid var(--silver);
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--silver);
    opacity: 0.3;
}


/* Marquee */
.marquee {
    background: var(--black);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
    padding: 0.2rem 0;
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: inline-block;
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    padding-left: 100%;
    animation: marquee-anim 25s linear infinite;
    line-height: 40px;
    white-space: nowrap;
}

@keyframes marquee-anim {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Section Qui suis-je */
.about-me {
    background: var(--black);
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        0 0 40px rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: scale(0.9);
    animation: avatarReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(212, 175, 55, 0.5),
        0 0 60px rgba(212, 175, 55, 0.2);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--silver);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-paragraph.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-paragraph:first-child {
    animation-delay: 0.2s;
}

.about-paragraph:last-child {
    animation-delay: 0.4s;
}

/* Animation pour l'avatar */
@keyframes avatarReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive pour la section Qui suis-je */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .profile-avatar {
        width: 200px;
        height: 200px;
    }
    
    .about-paragraph {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-me {
        padding: 4rem 1rem;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .profile-avatar {
        width: 180px;
        height: 180px;
    }
    
    .about-paragraph {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Section Témoignages */
.testimonials {
    background: var(--darker-gray);
    padding: 6rem 0;
    overflow: hidden;
}

.testimonials-slider {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: testimonials-marquee 30s linear infinite;
}

@keyframes testimonials-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-item {
    flex: 0 0 400px;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--silver);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--white);
    font-weight: 400;
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--gold);
    font-size: 0.85rem;
    opacity: 0.8;
}

@keyframes testimonials-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.testimonials-slider:hover .testimonials-track {
    animation-play-state: paused;
}

/* Sections */
section {
    padding: 6rem 2rem;
    contain: layout style;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
}

/* Portfolio */
.portfolio {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filtres par catégorie */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--silver);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--black);
    border-color: var(--gold);
}

/* Grille CSS uniforme avec format 16:9 strict */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 3rem;
    justify-items: start;
}

.portfolio-card {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    transform: translateZ(0);
}

.portfolio-card.filtering-out {
    display: none;
}

.portfolio-card.filtering-in {
    display: block;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.portfolio-card:hover {
    border: 1.5px solid rgba(201, 168, 76, 0.7);
}

.portfolio-card:hover img {
    transform: scale(1.04);
}

/* Overlay avec titre */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.card-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    margin: 0;
}

/* Cartes cachées */
.hidden-card {
    display: none;
}

.hidden-card.show {
    display: block;
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bouton Toggle unique pour Voir plus/moins */
.portfolio-more {
    text-align: center;
    margin-top: 2rem;
}

.portfolio-more-bottom {
    margin-top: 3rem;
}

.btn-toggle {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-toggle:hover::before {
    left: 0;
}

.btn-toggle:hover {
    color: var(--black);
}

/* Animations pour les cartes cachées avec fade */
.hidden-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hidden-card.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hidden-card.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

/* Contact */
.contact {
    background: var(--darker-gray);
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--silver);
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.contact-btn:hover::before {
    left: 0;
}

.contact-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.contact-btn:hover .btn-icon {
    transform: scale(1.1);
}

.btn-icon svg {
    width: 24px;
    height: 24px;
}

.whatsapp-btn .btn-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.discord-btn .btn-icon {
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.whatsapp-btn:hover {
    border-color: rgba(37, 211, 102, 0.4);
}

.discord-btn:hover {
    border-color: rgba(88, 101, 242, 0.4);
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.btn-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
}

.btn-subtitle {
    font-size: 0.9rem;
    color: var(--silver);
    opacity: 0.8;
}

.whatsapp-btn .btn-title {
    color: #25D366;
}

.discord-btn .btn-title {
    color: #5865F2;
}


/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid var(--gold);
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 300;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--silver);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

/* Modal plein écran avec format 16:9 et halo doré */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: none !important;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    position: relative;
    max-width: 85vw;
    aspect-ratio: 16 / 9;
    max-height: 85vh;
    width: auto;
    animation: modalZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 0 40px rgba(201, 168, 76, 0.3),
        0 0 80px rgba(201, 168, 76, 0.15),
        0 0 120px rgba(201, 168, 76, 0.08);
    animation: modalZoom 0.3s cubic-bezier(0.16, 1, 0.3, 1), goldenGlow 2s ease-in-out infinite;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: var(--gold);
    font-size: 40px;
    font-weight: 300;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s, color 0.3s;
    background: transparent;
    border: none;
    cursor: none !important;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* Animation du halo doré pulsant */
@keyframes goldenGlow {
    0%, 100% { 
        box-shadow: 
            0 0 40px rgba(201, 168, 76, 0.2),
            0 0 80px rgba(201, 168, 76, 0.1),
            0 0 120px rgba(201, 168, 76, 0.05);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(201, 168, 76, 0.5),
            0 0 80px rgba(201, 168, 76, 0.25),
            0 0 120px rgba(201, 168, 76, 0.12);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    .modal-close {
        top: -50px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
}

/* Animations de base */
@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translate3d(50px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes revealText {
    to { opacity: 1; clip-path: inset(0 0 0% 0); }
}

@keyframes modalZoom {
    from { transform: scale3d(0.9, 0.9, 1); opacity: 0; }
    to { transform: scale3d(1, 1, 1); opacity: 1; }
}

/* Classes d'animation au scroll */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}
.reveal-up { transform: translate3d(0, 50px, 0); }
.reveal-left { transform: translate3d(-50px, 0, 0); }
.reveal-right { transform: translate3d(50px, 0, 0); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Séparateurs Premium */
.section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    position: relative;
}

.separator-line::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(212, 175, 55, 0.3) 20%, 
        rgba(212, 175, 55, 0.8) 50%, 
        rgba(212, 175, 55, 0.3) 80%, 
        transparent
    );
    filter: blur(1px);
}

.separator-ornament {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0 2rem;
    position: relative;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.8),
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 30px rgba(212, 175, 55, 0.2);
    animation: ornamentGlow 3s ease-in-out infinite alternate;
}

.separator-ornament::before,
.separator-ornament::after {
    content: '◆';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--gold);
    opacity: 0.3;
    animation: ornamentPulse 2s ease-in-out infinite;
}

.separator-ornament::before {
    transform: scale(1.2);
    animation-delay: 0.5s;
}

.separator-ornament::after {
    transform: scale(1.4);
    animation-delay: 1s;
    opacity: 0.1;
}

/* Séparateur Premium avec Stats - Version Subtile */
.section-separator.premium {
    padding: 4rem 2rem;
    background: var(--black);
    position: relative;
}

.separator-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 0 3rem;
    position: relative;
    z-index: 2;
}

.separator-ornament-top,
.separator-ornament-bottom {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--gold);
    opacity: 0.6;
}

.separator-stats-grid {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2.5rem;
    background: rgba(17, 17, 17, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    position: relative;
}

.separator-stat {
    text-align: center;
    position: relative;
}

.separator-stat-number {
    display: block;
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.separator-stat-label {
    font-size: 0.8rem;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

@keyframes ornamentGlow {
    0% { 
        text-shadow: 
            0 0 10px rgba(212, 175, 55, 0.8),
            0 0 20px rgba(212, 175, 55, 0.4),
            0 0 30px rgba(212, 175, 55, 0.2);
    }
    100% { 
        text-shadow: 
            0 0 15px rgba(212, 175, 55, 1),
            0 0 25px rgba(212, 175, 55, 0.6),
            0 0 35px rgba(212, 175, 55, 0.3);
    }
}

@keyframes ornamentPulse {
    0%, 100% { opacity: 0.1; transform: scale(1.2); }
    50% { opacity: 0.3; transform: scale(1.5); }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes numberPulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.4);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 
            0 0 25px rgba(212, 175, 55, 1),
            0 0 50px rgba(212, 175, 55, 0.6);
    }
}

/* Section Process */
.process {
    background: var(--black);
    padding: 10rem 2rem 8rem 2rem; /* Augmentation du padding-bottom pour éviter les chevauchements */
    max-width: 1200px;
    margin: 0 auto;
}

.process-description {
    font-size: 1.1rem;
    color: var(--silver);
    text-align: center;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(201, 168, 76, 0.4);
    transform: translateY(-50%);
    width: 0;
    transition: width 1.2s ease-in-out;
    z-index: 1;
}

.timeline-line.animate {
    width: 100%;
}

.process-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: none !important;
}

.process-step * {
    cursor: none !important;
}

.step-circle {
    width: 56px;
    height: 56px;
    background: var(--dark-gray);
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: none !important;
}

.step-circle * {
    cursor: none !important;
}

.step-number {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 300;
}

.step-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--silver);
    margin-top: 1rem;
    position: absolute;
}

.step-label-bottom {
    top: 70px;
}

.step-label-top {
    bottom: 70px;
}

.step-card {
    position: absolute;
    width: 200px;
    background: #1a1a1a;
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    transition: 
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0.45s;
}

/* Tous les tooltips s'affichent EN DESSOUS du rond */
.step-card {
    top: calc(100% + 16px);
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.97);
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--white);
    margin: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.6s ease-out 0.1s;
}

/* Hover effects */
.process-step:hover .step-circle {
    transform: scale(1.2);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.4);
}

.process-step:hover .step-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
    transition: 
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s linear 0s;
}

.process-step:hover .step-card p {
    clip-path: inset(0 0% 0 0);
}

/* Timeline pulse effect on hover */
.process-step:hover ~ .timeline-line::after,
.process-step:hover .timeline-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(201, 168, 76, 0.6), 
        transparent
    );
    border-radius: 2px;
    animation: timelinePulse 1s ease-in-out;
}

@keyframes timelinePulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Promesse */
.process-promise {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 120px;
    padding: 30px 60px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: transparent;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.promise-icon {
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

.promise-content {
    text-align: left;
}

.promise-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--white);
    margin: 0 0 0.5rem 0;
}

.promise-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--silver);
    margin: 0;
    opacity: 0.8;
}

/* Mobile responsive - Refonte complète */
@media (max-width: 768px) {
    .process {
        padding: 6rem 1rem 4rem 1rem;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 3rem;
        margin: 4rem 0;
        align-items: stretch;
    }
    
    .timeline-line {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: 0;
        transform: translateX(-50%);
        transition: height 1.2s ease-in-out;
        background: linear-gradient(180deg, transparent, var(--gold), transparent);
    }
    
    .timeline-line.animate {
        width: 2px;
        height: 100%;
    }
    
    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .process-step[data-step="02"],
    .process-step[data-step="04"] {
        flex-direction: row-reverse;
    }
    
    .step-circle {
        flex-shrink: 0;
        position: relative;
        z-index: 3;
        margin-top: 0.5rem;
    }
    
    .step-content-mobile {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-label-top,
    .step-label-bottom {
        position: static;
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--gold);
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    /* Désactiver complètement les effets hover sur mobile */
    .step-card,
    .step-card-top,
    .step-card-bottom {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        width: 100% !important;
        background: rgba(26, 26, 26, 0.8) !important;
        border: 1px solid rgba(201, 168, 76, 0.3) !important;
        border-radius: 8px !important;
        padding: 1.5rem !important;
        margin: 0 !important;
        transition: none !important;
        z-index: auto !important;
    }
    
    .step-card p,
    .step-card-top p,
    .step-card-bottom p {
        clip-path: none !important;
        opacity: 1 !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        color: var(--silver) !important;
        margin: 0 !important;
        transition: none !important;
    }
    
    /* Désactiver tous les effets hover sur mobile */
    .process-step:hover .step-circle {
        transform: none !important;
        border-color: rgba(201, 168, 76, 0.4) !important;
        box-shadow: none !important;
    }
    
    .process-step:hover .step-card,
    .process-step:hover .step-card-top,
    .process-step:hover .step-card-bottom {
        transform: none !important;
        opacity: 1 !important;
    }
    
    .process-step:hover .step-card p,
    .process-step:hover .step-card-top p,
    .process-step:hover .step-card-bottom p {
        clip-path: none !important;
    }
    
    .process-promise {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 2rem;
        gap: 1rem;
        margin-top: 4rem;
    }
    
    .promise-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .process {
        padding: 4rem 1rem;
    }
    
    .step-card,
    .step-card-top,
    .step-card-bottom {
        width: 250px;
        padding: 15px;
    }
    
    .promise-title {
        font-size: 1.2rem;
    }
    
    .promise-subtitle {
        font-size: 0.8rem;
    }
}

/* Classes utilitaires Accessibilité */
.keyboard-navigation * {
    cursor: auto !important;
}
.keyboard-navigation :focus {
    outline: 2px solid var(--gold) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .hero-stats { position: static; justify-content: center; margin-top: 3rem; animation: fadeInUp 1s ease 2s forwards; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .navbar { padding: 1rem; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    section { padding: 4rem 1rem; }
    
    /* Portfolio responsive - Tablette */
    .portfolio-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
    }
    
    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
    
    /* Pricing responsive - Alignement vertical */
    .pricing-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
        margin-top: 2rem;
    }
    .pricing-card { 
        padding: 2rem; 
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .pricing-card.featured { 
        transform: none; 
        padding: 2rem; 
        margin: 0 auto;
        max-width: 100%;
    }
    .pricing-card.featured.visible { transform: translateY(0); }
    .pricing-card.featured:hover { transform: translateY(-6px); }
    
    /* Témoignages responsive */
    .testimonials { padding: 4rem 1rem; }
    .testimonial-item { flex: 0 0 300px; padding: 1.5rem; }
    .testimonial-item::before { font-size: 3rem; top: -5px; left: 15px; }
    
    /* Contact responsive */
    .contact-buttons { flex-direction: column; align-items: center; gap: 1.5rem; }
    .contact-btn { min-width: 250px; padding: 1.5rem 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
    
    /* Portfolio responsive - Mobile */
    .portfolio-grid { 
        grid-template-columns: 1fr; 
        gap: 10px; 
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        min-width: 120px;
        text-align: center;
    }
    
    /* Témoignages mobile */
    .testimonial-item { flex: 0 0 280px; padding: 1.25rem; }
    .testimonial-content p { font-size: 0.9rem; }
    .testimonial-author strong { font-size: 0.9rem; }
    .testimonial-author span { font-size: 0.8rem; }
    
    /* Contact mobile */
    .contact-btn { 
        min-width: 100%; 
        padding: 1.25rem 1.5rem; 
        gap: 1rem;
    }
    .btn-icon { width: 40px; height: 40px; }
    .btn-icon svg { width: 20px; height: 20px; }
    .btn-title { font-size: 1.1rem; }
    .btn-subtitle { font-size: 0.8rem; }
    
    /* Pricing responsive */
    .pricing { padding: 4rem 1rem; }
    .pricing-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        margin-top: 2rem;
    }
    .pricing-card { 
        padding: 1.5rem; 
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    .pricing-card.featured { 
        transform: none; 
        padding: 1.5rem; 
        margin: 0 auto;
        max-width: 100%;
    }
    .pricing-card.featured.visible { transform: translateY(0); }
    .pricing-card.featured:hover { transform: translateY(-6px); }
    .price-amount { font-size: 2.5rem; }
    
    /* Ajustements pour les features sur mobile */
    .feature-item { font-size: 0.85rem; }
    .card-description { font-size: 0.9rem; }
    
    /* FAQ responsive */
    .faq { padding: 4rem 1rem; }
    .faq-container { max-width: 100%; }
    .faq-question { padding: 1.25rem 1rem; font-size: 1rem; }
    .faq-answer { padding: 0 1rem 1.25rem; }
    .faq-answer p { font-size: 0.9rem; line-height: 1.6; }
    .faq-chevron { width: 18px; height: 18px; }
}

/* ===== SECTION FAQ - JAVASCRIPT FLUIDE ===== */
.faq {
    padding: 6rem 2rem;
    background: var(--black);
    position: relative;
    contain: layout style;
}

.faq .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq .section-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.faq .section-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0;
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--white);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 1rem;
}

/* État ouvert */
.faq-item.open .faq-question {
    color: var(--gold);
}

.faq-item.open .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 
        max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease 0.05s;
    padding: 0;
}

.faq-item.open .faq-answer {
    opacity: 1;
    padding-bottom: 1.5rem;
    transition: 
        max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease 0.05s;
}

.faq-item.closing .faq-answer {
    opacity: 0;
    transition: 
        max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.2s ease;
}

.faq-answer p {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq .section-title {
        font-size: 2.2rem;
    }
}
