.elementor-32 .elementor-element.elementor-element-6d76e68{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-1f30e8c */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0a0a0a;
    color: white;
    overflow: hidden;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    width: 100%;
}

/* Désactiver les hovers pendant les transitions */
body.disable-hover * {
    pointer-events: none !important;
}

body.disable-hover .control-btn,
body.disable-hover .burger-menu {
    pointer-events: auto !important;
}

/* LOADER STYLES */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    position: relative;
}

.loader-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-spinner::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: 2px solid transparent;
    border-top: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

.loader-dots {
    display: inline-block;
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem auto 0;
    border-radius: 1px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    width: 0%;
    border-radius: 1px;
    animation: progress 3s ease-out forwards;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Dynamic Background */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: opacity 1.2s ease;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.1);
}

.background-image.active {
    opacity: 0.55;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

/* Main container */
.projects-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.slider-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-track {
    position: relative;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Project slide optimisé pour mobile */
.project-slide {
    height: 60vh;
    height: calc(var(--vh, 1vh) * 60);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    margin-bottom: 5vh;
    margin-bottom: calc(var(--vh, 1vh) * 5);
    transition: all 0.6s ease;
}

.project-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    transition: all 0.6s ease;
}

/* Scaling effect for non-active slides */
.project-slide:not(.active) .project-content {
    transform: scale(0.8);
    opacity: 0.5;
}

.project-slide.active .project-content {
    transform: scale(1);
    opacity: 1;
    z-index: 100;
}

.project-image {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.project-image:active {
    transform: scale(1);
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Project info */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 3rem 1.5rem 1.5rem;
    color: white;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.project-slide.active .project-info {
    opacity: 1;
    transform: translateY(0);
}

.project-categories {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.project-category {
    position: relative;
}

.project-category::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    margin: 0;
    line-height: 1.2;
    text-align: left;
}

.project-location {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    text-align: right;
}

/* Navigation arrows optimisées pour mobile avec correction des états focus */
.control-arrows {
    position: fixed;
    right: 1rem;
    bottom: 2rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Réinitialisation globale pour tous les boutons de contrôle */
.control-btn,
.control-btn:focus,
.control-btn:active,
.control-btn:visited {
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    z-index: 998;
    position: relative;
    backdrop-filter: blur(10px);
}

/* État focus - garde le même style que l'état normal */
.control-btn:focus {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* État focus-visible pour l'accessibilité */
.control-btn:focus-visible {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

/* État actif (quand on clique) */
.control-btn:active {
    transform: scale(0.95) !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Responsive optimisations */
@media (max-width: 768px) {
    .project-slide {
        height: 55vh;
        height: calc(var(--vh, 1vh) * 55);
        margin-bottom: 15vh;
        margin-bottom: calc(var(--vh, 1vh) * 15);
        padding: 0 0.8rem;
    }

    .project-content {
        max-width: 100%;
    }

    .project-title {
        font-size: 1.3rem;
    }

    .control-arrows {
        right: 1rem;
        bottom: 1.5rem;
    }

    .control-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .project-slide {
        height: 50vh;
        height: calc(var(--vh, 1vh) * 50);
        margin-bottom: 20vh;
        margin-bottom: calc(var(--vh, 1vh) * 20);
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-location {
        font-size: 0.8rem;
    }

    .control-btn {
        width: 36px;
        height: 36px;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .project-slide {
        height: 68vh;
        height: calc(var(--vh, 1vh) * 68);
        margin-bottom: 3vh;
        margin-bottom: calc(var(--vh, 1vh) * 3);
        padding: 0 2rem;
    }

    .project-content {
        max-width: 825px;
    }

    .project-slide:not(.active) .project-content {
        transform: scale(0.75);
    }

    .project-slide.active .project-content {
        transform: scale(1);
    }

    .project-image {
        padding-bottom: 56.25%;
        border-radius: 0;
    }

    .project-image:hover {
        transform: scale(1.1);
    }

    .project-image:hover img {
        transform: scale(1.1);
    }

    .project-title {
        font-size: 2.8rem;
    }

    .project-info {
        padding: 4rem 2rem 2rem;
    }

    .project-categories {
        font-size: 0.85rem;
        gap: 2rem;
        margin-bottom: 1rem;
    }

    .project-location {
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .control-arrows {
        right: 3rem;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        flex-direction: column;
        gap: 1rem;
    }

    .control-btn {
        width: 45px;
        height: 45px;
    }

    /* États focus pour les écrans plus larges */
    .control-btn:focus {
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        background: rgba(0, 0, 0, 0.3) !important;
        transform: none !important;
    }
    
    .control-btn:focus-visible {
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
    }

    .control-btn:hover {
        border-color: rgba(255, 255, 255, 0.8) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-2px) !important;
    }
    
    /* Hover + Focus combinés */
    .control-btn:hover:focus {
        border-color: rgba(255, 255, 255, 0.8) !important;
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-2px) !important;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    .project-slide {
        height: 70vh;
        height: calc(var(--vh, 1vh) * 70);
        margin-bottom: 1vh;
        margin-bottom: calc(var(--vh, 1vh) * 1);
        padding: 0 3rem;
    }

    .project-content {
        max-width: 1200px;
    }

    .project-slide:not(.active) .project-content {
        transform: scale(0.9);
    }

    .project-title {
        font-size: 3.2rem;
    }

    .control-arrows {
        right: 4rem;
    }

    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
}/* End custom CSS */