
@font-face {
    font-family: 'Impact';
    src: url('Impact.woff2') format('woff2'),
        url('Impact.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}

.section {
    width: 100%;
    height: 100vh;
    background-color: #212121;
    display: flex;
    justify-content: center;
    align-items: center;
}

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



.content p {
    font-size: 1.2rem;
    color: #fff;
}

.section-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 0;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
        
.section-hero {
            position: relative;
        }

/* Animation d'entrée pour l'image hero - VERSION CORRIGÉE */
.hero-image {
    position: absolute;
    top: 48%;
    left: 49%;
    min-width: 50%;
    min-height: 50%;
    width: auto;
    height: 210%;
    object-fit: cover;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    filter: blur(20px);
    animation: heroImageEntry 1.5s ease-out 0s forwards;
    animation-delay: 2.8s;

}

@keyframes heroImageEntry {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: none;
    }
}

/* S'assurer que l'animation ne se répète pas et que l'image reste nette */
.hero-image.animation-complete {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
}

/* S'assurer que l'animation ne se répète pas */
.hero-image.animation-complete {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
/*Texte décoratif*/

.logo {
    position: fixed;
    top: 30px;
    left: 30px;
    height: 50px;
    animation: slideInTop 2s ease-out forwards;
    transform: translateY(-80px);
    cursor: pointer;
    z-index: 1000;
}

.deco {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1000;
    text-align: right;
    line-height: 1.5;
    animation: slideInTop 2s ease-out forwards;
    animation-delay: 2s;
    opacity: 0;
    transform: translateY(-80px);
}

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

/* Navigation ronde */
.circle-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 1001;
}

.nav-circle {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
    animation: slideInCircle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    z-index: 1001;
}

.nav-circle:nth-child(1) {
    animation-delay: 3.1s;
}

.nav-circle:nth-child(2) {
    animation-delay: 3.3s;
}

.nav-circle:nth-child(3) {
    animation-delay: 3.5s;
}

.nav-circle:nth-child(4) {
    animation-delay: 3.7s;
}

.nav-circle:nth-child(5) {
    animation-delay: 3.9s;
}

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

.nav-circle:hover {
    width: 80px;
    height: 30px;
    border-radius: 20px;
    background-color: rgba(34, 114, 255, 1);
    padding: 0 15px;
}

.nav-circle.active {
    background-color: #2272ff;
}

.nav-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-circle:hover .nav-label {
    opacity: 1;
}

.hero-title {
    font-size: 16vw;
    font-weight: 800;
    color: rgba(34, 114, 255, 1);
    text-transform: uppercase;
    line-height: 0.6;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-family: 'ImpactWeb', Impact, Arial, sans-serif;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: slideUpFade 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 2.8s;
    opacity: 0;
    z-index: 0;
}

@keyframes slideUpFade {
    0% {
        transform: scaleY(1) translateY(150px);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scaleY(1) translateY(0);
        opacity: 0.8;
        filter: blur(0px);
        transform: scaleY(1);
    }
}

/* Animation des cercles */
.circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 50%) scale(0);
    animation: expandCircle 1.5s ease-out forwards, fadeOutCircle 3.5s ease-out 0.1s forwards;
    z-index: 1000;
}

@keyframes expandCircle {
    0% {
        transform: translate(-50%, 50%) scale(0);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, 50%) scale(1);
        opacity: 0.3;
    }
}

@keyframes fadeOutCircle {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideUpFade {
    0% {
        transform: scaleY(1) translateY(150px);
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        transform: scaleY(1.8) translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}

.scroll-arrow {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    cursor: pointer;
    opacity: 0;
    animation: fadeInArrow 1.5s ease-out 1.5s forwards, bounceArrow 2s ease-in-out 5s infinite;
    transition: all 0.3s ease;
    z-index: 1001;
    font-size: 22px;
    font-weight: 300;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation-delay: 3.8s;
}

.scroll-arrow:hover {
    background-color: #2272ff;
    border-color: #2272ff;
    transform: translateX(-50%) scale(1.1);
}



@keyframes fadeInArrow {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes bounceArrow: hover {
    
    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1.1);
    }

    50% {
        transform: translateX(-50%) translateY(10px) scale(1.1);
    }
}

/* Titre de devant - contour blanc (devant toi) */
.hero-title-foreground {
    position: absolute;
    line-height: 0.6px;
    font-weight: 1000;
    bottom: 2%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 3;
    color: transparent;
    -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.5);
    font-size: 16vw;
    font-weight: 1000;
    text-transform: uppercase;
    line-height: 0.6;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-family: 'ImpactWeb', Impact, Arial, sans-serif;
    pointer-events: none;
    transform-origin: bottom;
    
    
    
    /* IMPORTANT : Applique la même animation que le titre original */
    animation: slideUpFade 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 2.8s;
    
}



