

.wrapper {
    max-width: 1420px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.small-wrapper {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}


.light-content {
    color: #fff;
}
.texte p {
    margin-bottom: 24px;
}
.texte ul {
    padding-left: 0;
    list-style-position: inside;
    margin-bottom: 24px;
}
.texte img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin-bottom: 24px;
}
.texte :last-child {
    margin-bottom: 0;
}
.texte blockquote {
    margin-bottom: 24px;
}
.mb-80 {
    margin-bottom: 80px;
}

/* Navbar */
.navbar {
    transition: transform 0.6s ease;
}

/* Logo */
.logo {
    position: fixed;
    z-index: 999;
    transition: transform 0.6s ease;
    will-change: transform;
}

.logo--hidden {
    transform: translateY(-200px);
}

/* Hero section - conteneur pour le canvas Three.js */
.herospp {
    position: relative;
}

/* Hero test content */
.hero-spp-content {
    position: relative;
    transition: transform 0.2s ease-out;
}

.hero-spp-content.pressed {
    transform: scale(0.6);
}

.press {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#three-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

canvas {
    display: block;
}

body {
    margin: 0;
    background: #000;
}

/* Après disparition du loader : permettre le scroll (priorité sur .body) */
body.spp-scroll-visible,
.body.spp-scroll-visible {
    overflow: auto !important;
}

.logowrapper,
#logo {
    width: 200px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 25px;
    padding: 0;
}

/* Hero perspective 3D */
.hero-spp-content {
    perspective: 1000px;
}

.titre-hero-spp {
    display: inline-block;
    transform-style: preserve-3d;
    will-change: transform;
    font-size: clamp(2rem, 8vw, 12rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 110%;
    text-align: center;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.6);
    user-select: none;
    transition: transform 0.2s ease-out;
}

@media (max-width: 768px) {
    .hero-spp-content {
        perspective: none;
    }

    .titre-hero-spp {
        transform: none !important;
        transition: none !important;
    }
}

/* Image patterns */
.image-left-content {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    object-fit: cover;
}

.pattern-orange,
.pattern-bleu {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.pattern-orange {
    background-color: #fda13b;
    top: 20px;
    left: 20px;
    transform: rotate(-2deg);
}

.pattern-bleu {
    background-color: #5bc0ff;
    top: 40px;
    left: 40px;
    transform: rotate(-4deg);
}

@media (max-width: 768px) {
    .pattern-orange {
        top: 12px;
        left: 12px;
    }

    .pattern-bleu {
        top: 20px;
        left: 20px;
    }
}

/* Hover image */
.hover-image {
    position: fixed;
    pointer-events: none;
    display: block;
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    height: 40vh;
    border-radius: 18px;
    filter: blur(0px);
    transition:
        transform 0.5s ease,
        opacity 0.5s ease,
        filter 0.5s ease;
    will-change: transform, opacity, filter;
}

.hover-image.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    filter: blur(0px);
}

.hover-image.disappear {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    filter: blur(8px);
}

/* Tags Matter.js */
.tag {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Marquee */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 60s linear infinite;
}

.logo-collection-list {
    display: flex;
    flex-direction: row;
}

.client-logo {
    margin-right: 40px;
    flex: 0 0 auto;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Project section */


.project-section {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.project-card {
    width: 30vw;
    max-width: 30vw;
    height: 40vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    .project-section {
        height: auto;
        padding: 16px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .project-card {
        position: static !important;
        width: 80vw;
        max-width: 80vw;
        margin: 0 auto 2rem auto;
        transform: none !important;
    }
}

/* Overlay project card */
.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 40%);
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border-radius: 18px;
}

.overlay-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.date-hover::after {
    content: "—";
    margin: 0 0.4rem;
    color: #aaff00;
}

/* Tag footer */
.tag-footer {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease;
    will-change: transform, opacity;
}

#tags-footer-section {
    z-index: 9999999;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 6px;
    background-color: #0AFFC2;
    width: 0%;
    z-index: 9999;
}

/* Custom cursor */
#custom-cursor {
    position: fixed;
    width: 102px;
    height: 102px;
    background: #0AFFC2;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 9999 !important;
    mix-blend-mode: normal;
    font-family: sans-serif;
}

#custom-cursor.visible {
    transform: scale(1);
}

.cursor-label {
    color: black;
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
}

@media (max-width: 768px) {
    #custom-cursor {
        display: none !important;
    }
}

/* Split text */
.split-text {
    overflow: hidden;
    visibility: hidden;
}

.line {
    display: block;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    transform: translateY(0%);
    opacity: 1;
}

.loader.hide {
    transform: translateY(-100%);
    pointer-events: none;
}

.loader svg {
    width: 300px;
    height: auto;
}

.loader svg path {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease-out forwards;
}

.loader svg path:nth-child(1) {
    animation-delay: 0.1s;
}

.loader svg path:nth-child(2) {
    animation-delay: 0.2s;
}

.loader svg path:nth-child(3) {
    animation-delay: 0.3s;
}

.loader svg path:nth-child(4) {
    animation-delay: 0.4s;
}

.loader svg path:nth-child(5) {
    animation-delay: 0.5s;
}

.loader svg path:nth-child(6) {
    animation-delay: 0.6s;
}

.loader svg path:nth-child(7) {
    animation-delay: 0.7s;
}

.loader svg path:nth-child(8) {
    animation-delay: 0.8s;
}

.loader svg path:nth-child(9) {
    animation-delay: 0.9s;
}

.loader svg path:nth-child(10) {
    animation-delay: 1.0s;
}

.loader svg path:nth-child(11) {
    animation-delay: 1.1s;
}

.loader svg path:nth-child(12) {
    animation-delay: 1.2s;
}

.loader svg path:nth-child(13) {
    animation-delay: 1.3s;
}

.loader svg path:nth-child(14) {
    animation-delay: 1.4s;
}

.loader svg path:nth-child(15) {
    animation-delay: 1.5s;
}
.loader svg path:nth-child(16) {
    animation-delay: 1.6s;
}
.loader svg path:nth-child(17) {
    animation-delay: 1.7s;
}
.loader svg path:nth-child(18) {
    animation-delay: 1.8s;
}
.loader svg path:nth-child(19) {
    animation-delay: 1.9s;
}
.loader svg path:nth-child(20) {
    animation-delay: 2.0s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.kutup-faq-item {
    overflow: hidden;
    height: 0;
    transition: height 0.35s ease;
}

.kutup-faq-plus-icon {
    transition: transform 0.3s ease;
}

.kutup-faq-wrapper.active .kutup-faq-plus-icon {
    transform: translate3d(0px, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(180deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
}

.kutup-faq-wrapper.active .kutup-faq-plus-icon .kutup-stripe-1 {
    opacity: 0;
}

/* ************* */
.imageexpertisewrapper {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    transform: translate(-50%, -50%) scale(0.8);
    transition: transform 0.3s ease;
    height: 40vh;
    border-radius: 12px;
    display: block;
    visibility: hidden;
}

.imageexpertisewrapper.visible {
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}