/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: "graphie", sans-serif;
    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;
    background-color: transparent;
}

/* ===== BACKGROUND LAYER FIXE ===== */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-image: url('./images/bg-gradient-header.png');
    background-size: cover;
    background-position: left;
    z-index: -1;
    transition: all 1s ease;
}

/* ===== VARIABLES CSS ===== */
:root {
    --color-primary: #ff1493;
    --color-section-1: #ffffff;
    --color-section-2: #ffc0e3;
    --color-section-3: #e8d4f0;
    --color-section-4: #d9b3e8;
    --color-section-5: #1a1a1a;

    --section-height: 100dvh;
    --padding-section: 60px 40px;

    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Carré de référence pour positionnement responsive */
    --square-size: min(100dvh, 100dvw);
}

/* ===== SECTIONS GÉNÉRALES ===== */
.section {
    width: 100%;
    min-height: var(--section-height);
    /* padding: var(--padding-section); */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.8s ease;
}

/* ===== PARTIE 1 : L'ESPACE INTERACTIF ===== */
#interactive-space {
    background-image: url('./images/bg-gradient-header.png');
    background-size: cover;

    min-height: 100dvh;
    overflow: hidden;
    position: relative;
    cursor: url('./images/mouse-1.png') 32 32, auto;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7dvw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3.5dvw;
    z-index: 1000;
}

.navbar .logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.logo-a {
    display: block;
    height: 30px;
    width: 75px;
    cursor: url('./images/mouse-1.png') 32 32, auto;
}

.nav-links {
    display: flex;
    gap: 7dvw;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    cursor: url('./images/mouse-1.png') 32 32, auto;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 60px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .navbar .logo img {
        height: 30px;
    }
}

.container-interactive {
    position: absolute;
    width: var(--square-size);
    height: var(--square-size);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1200px;
}

.floating-object {
    position: absolute;
}

/* Boule centrale */

.floating-ball {
    position: absolute;
    width: calc(74 * var(--square-size) / 100);
    height: calc(75 * var(--square-size) / 100);
    background: transparent;
    border: none;
    top: calc(54 * var(--square-size) / 100);
    left: calc(58 * var(--square-size) / 100);
    transform: translate(-50%, -50%);
}

.floating-ball img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}


.floating-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Objets flottants avec images autour de la boule */

.floating-object[data-index="floating-1"] {
    top: calc(11 * var(--square-size) / 100);
    left: calc(24 * var(--square-size) / 100);
    width: calc(21 * var(--square-size) / 100);
    height: calc(18 * var(--square-size) / 100);
}

.floating-object[data-index="floating-2"] {
    top: calc(44 * var(--square-size) / 100);
    left: calc(8 * var(--square-size) / 100);
    width: calc(11 * var(--square-size) / 100);
    height: calc(8 * var(--square-size) / 100);
}

.floating-object[data-index="floating-3"] {
    top: calc(55 * var(--square-size) / 100);
    left: calc(-3 * var(--square-size) / 100);
    width: calc(13 * var(--square-size) / 100);
    height: calc(12 * var(--square-size) / 100);
}

.floating-object[data-index="floating-4"] {
    top: calc(36 * var(--square-size) / 100);
    left: calc(-4 * var(--square-size) / 100);
    width: calc(20 * var(--square-size) / 100);
    height: calc(5 * var(--square-size) / 100);
}

.floating-object[data-index="floating-5"] {
    top: calc(41 * var(--square-size) / 100);
    left: calc(3 * var(--square-size) / 100);
    width: calc(20 * var(--square-size) / 100);
    height: calc(5 * var(--square-size) / 100);
}

.floating-object[data-index="floating-6"] {
    top: calc(31 * var(--square-size) / 100);
    left: calc(18 * var(--square-size) / 100);
    width: calc(28 * var(--square-size) / 100);
    height: calc(37 * var(--square-size) / 100);
}

.floating-object[data-index="floating-7"] {
    top: calc(76 * var(--square-size) / 100);
    left: calc(33 * var(--square-size) / 100);
    width: calc(12 * var(--square-size) / 100);
    height: calc(15 * var(--square-size) / 100);
}

.floating-object[data-index="floating-8"] {
    top: calc(7 * var(--square-size) / 100);
    left: calc(53 * var(--square-size) / 100);
    width: calc(15 * var(--square-size) / 100);
    height: calc(15 * var(--square-size) / 100);
}

.floating-object[data-index="floating-9"] {
    top: calc(13 * var(--square-size) / 100);
    left: calc(63 * var(--square-size) / 100);
    width: calc(20 * var(--square-size) / 100);
    height: calc(19 * var(--square-size) / 100);
}

.floating-object[data-index="floating-10"] {
    top: calc(36 * var(--square-size) / 100);
    left: calc(53 * var(--square-size) / 100);
    width: calc(55 * var(--square-size) / 100);
    height: calc(24 * var(--square-size) / 100);
}

.floating-object[data-index="floating-11"] {
    top: calc(45 * var(--square-size) / 100);
    left: calc(68 * var(--square-size) / 100);
    width: calc(18 * var(--square-size) / 100);
    height: calc(14 * var(--square-size) / 100);
}

.floating-object[data-index="floating-12"] {
    top: calc(37 * var(--square-size) / 100);
    left: calc(84 * var(--square-size) / 100);
    width: calc(17 * var(--square-size) / 100);
    height: calc(26 * var(--square-size) / 100);
}

.floating-object[data-index="floating-13"] {
    top: calc(59 * var(--square-size) / 100);
    left: calc(63 * var(--square-size) / 100);
    width: calc(18 * var(--square-size) / 100);
    height: calc(20 * var(--square-size) / 100);
}

.floating-object[data-index="floating-14"] {
    top: calc(67 * var(--square-size) / 100);
    left: calc(88 * var(--square-size) / 100);
    width: calc(9 * var(--square-size) / 100);
    height: calc(7 * var(--square-size) / 100);
}



.object-content {
    font-size: 24px;
    font-weight: bold;
    color: #ff1493;
    text-align: center;
}

.floating-object img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
}

/* Logo central avec effet skew */
.floating-logo {
    width: calc(20 * var(--square-size) / 100);
    height: calc(65 * var(--square-size) / 100);
    background: transparent;
    border: none;
    top: calc(14 * var(--square-size) / 100);
    left: calc(39 * var(--square-size) / 100);
    transform: translate(50%, 50%);
}

.floating-object:hover {

    transform: scale(1.1);
    transition: all 0.3s ease;
}

.section-1-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #333;
}

.section-1-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;

}

.section-1-content p {
    font-size: 20px;
    color: #666;
}

/* ===== PARTIE 1.5 : CARREAUX ===== */
#carreaux-section {
    background-color: white;
    background-image: url(./images/carreaux.png), url(./images/carreaux-2.png);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    cursor: url('./images/mouse-1.png') 32 32, auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#carreaux-section h1 {
    font-size: 4.5dvw;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    width: 80%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #carreaux-section h1 {
        font-size: 10dvw;
        width: 90%;
    }
}

#carreaux-section p {
    font-size: 24px;
    font-weight: 500;
    width: 80dvw;
    max-width: 800px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #carreaux-section p {
        font-size: 16px;
        width: 90%;
    }
}

.manette {
    top: -15%;
    left: 10%;
    width: 15%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .manette {
        left: 5%;
        width: 30%;
    }
}

.crown {
    top: 10%;
    right: 0%;
    width: 25%;
    height: auto;
    z-index: 150;
}

@media screen and (max-width: 768px) {
    .crown {

        width: 40%;
    }
}

.conv-gold {
    top: 8%;
    right: 31%;
    width: 9%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .conv-gold {
        top: 25%;
        width: 18%;
    }
}

.camera-2 {
    top: 42%;
    left: 27%;
    width: 12%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .camera-2 {
        left: 6%;
        width: 24%;
    }
}

.pictohash {
    top: 51%;
    right: 23%;
    width: 6%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .pictohash {
        top: 41%;
        right: 19%;
        width: 12%;
    }
}

.burger-blur {
    top: 50%;
    right: 14%;
    width: 14%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .burger-blur {
        top: 41%;
        right: 2%;
        width: 28%;
    }
}

.eyes-blur {
    bottom: -30%;
    left: 0%;
    width: 30%;
    height: auto;
    z-index: 100;
}

@media screen and (max-width: 768px) {
    .eyes-blur {

        width: 60%;
    }
}

/* ===== PARTIE 2 : LA GÉLULE ===== */
#capsule-showreel {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 30px;
    flex-wrap: wrap;
    position: relative;
    cursor: url('./images/mouse-1.png') 32 32, auto;
    max-height: 100dvh;
}

@media screen and (max-width: 768px) {
    #capsule-showreel {
        margin: 15px;
    }
}

.capsule-content {
    background: #FFD2E5;
    flex: 1;
    border-radius: 50px;
    width: 100%;
    height: calc(100dvh - 60px);
    margin-top: 30px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    padding: 24px;
}

.capsule-marquee {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
}

.capsule-marquee::before,
.capsule-marquee::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 96px;
    z-index: 5;
    pointer-events: none;
}

/* .capsule-marquee::before {
    top: 0;
    background: linear-gradient(180deg, #FFDDED 0%, rgba(255, 221, 237, 0) 100%);
}

.capsule-marquee::after {
    bottom: 0;
    background: linear-gradient(0deg, #FFD2E5 0%, rgba(255, 210, 229, 0) 100%);
} */

.capsule-marquee-desktop {
    display: block;
    height: 100%;
}

.capsule-marquee-mobile {
    display: none;
    height: 100%;
}

.capsule-marquee-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    height: 100%;
}

.capsule-marquee-mobile .capsule-marquee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.capsule-marquee-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.capsule-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    will-change: transform;
}

.capsule-marquee-mobile .capsule-marquee-track {
    gap: 14px;
}

.capsule-marquee-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    /* box-shadow: 0 18px 50px rgba(36, 13, 54, 0.14); */
    /* background: #2F3EA7; */
}

.capsule-marquee-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); */
    pointer-events: none;
}

.capsule-marquee-card img,
.capsule-marquee-card video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 768px) {
    .capsule-content {
        height: calc(100dvh - 30px);
        margin-top: 15px;
        padding: 14px;
        border-radius: 36px;
    }

    .capsule-marquee {
        border-radius: 24px;
    }

    .capsule-marquee::before,
    .capsule-marquee::after {
        height: 56px;
    }

    .capsule-marquee-desktop {
        display: none;
    }

    .capsule-marquee-mobile {
        display: block;
    }

    .capsule-marquee-card {
        border-radius: 16px;
    }
}

/* ===== PARTIE 3 : TIROIR & GOMME MAGIQUE ===== */
#drawer-eraser {
    background: transparent;
    position: relative;
    overflow: hidden;
    cursor: url('./images/mouse-2.png') 32 32, auto;
    padding-top: 25dvh;
    padding-bottom: 25dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 150dvh;
}

@media screen and (max-width: 768px) {
    #drawer-eraser {
        padding-bottom: 45dvh;
    }
}

#eraser-background {
    position: absolute;
    top: 25dvh;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: white;
    z-index: 5;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    #eraser-background {
        top: 35dvh;
        height: 80dvh;
    }
}

#eraser-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: url('./images/mouse-2.png') 32 32, auto;
    opacity: 0;
    pointer-events: none;
}

#eraser-canvas.active {
    pointer-events: auto;
}

#eraser-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    object-fit: cover;
}

#canvas-gradient-top {
    position: absolute;
    top: 25dvh;
    left: 0;
    right: 0;
    height: 5dvh;
    background: linear-gradient(to bottom, #98A8FF, transparent);
    z-index: 15;
    pointer-events: none;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    #canvas-gradient-top {
        top: 35dvh;
    }
}

#canvas-gradient-bottom {
    position: absolute;
    top: 121dvh;
    left: 0;
    right: 0;
    height: 5dvh;
    background: linear-gradient(to bottom, transparent, #98A8FF);
    z-index: 15;
    pointer-events: none;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    #canvas-gradient-bottom {
        top: 110dvh;
    }
}

.drawer-content {
    position: relative;
    z-index: 50;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5dvw;
    height: 100dvh;
    margin-right: 8dvw;
}

.drawer-heading {
    position: absolute;
    top: 25dvh;
    height: 25dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #000;

    text-align: center;
    z-index: 60;
    pointer-events: none;
    width: 75%;
}

.drawer-heading h2 {
    color: #000;
    font-size: 4dvw;
    text-align: center;
}

.drawer-subheading {
    font-size: 24px;
    font-weight: 500;
    width: 70%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .drawer-heading h2 {
        font-size: 10dvw;
        line-height: 1.2;
        width: 65%;
    }

    .drawer-subheading {
        font-size: 16px;
        width: 90%;
    }

}

@media screen and (max-width: 768px) {
    .drawer-content {
        flex-direction: column;
        gap: 0;
        margin-right: 12dvw;
        height: 80dvh;
        top: 20dvh;
    }

    .drawer-heading {
        top: 8dvh;
        width: 100%;
        
    }
}

.drawer-block {
    --drawer-after-opacity: 0;
    opacity: 1;
    color: White;
    height: fit-content;
    position: relative;
    z-index: 1;
    width: 24dvw;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .drawer-block {
        width: 90%;
    }
}

.block-text {
    background: #98A8FF;
    padding: 3dvw;
    border-radius: 12px;
    pointer-events: none;
}

.drawer-block[data-block="1"] {
    &::after {
        content: '';
        position: absolute;
        top: -5dvw;
        right: -5dvw;
        width: 10dvw;
        height: 10dvw;
        background-image: url(images/onde-eraser.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1;
        opacity: var(--drawer-after-opacity);
    }
}

@media screen and (max-width: 768px) {
    .drawer-block[data-block="1"] {
        &::after {
            top: -10dvw;
            right: -10dvw;
            width: 20dvw;
            height: 20dvw;

        }
    }
}



.drawer-block[data-block="2"] {
    &::after {
        content: '';
        position: absolute;
        top: -5dvw;
        right: -5dvw;

        width: 7dvw;
        height: 7dvw;
        background-image: url(images/camera-eraser.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1;
        opacity: var(--drawer-after-opacity);
    }
}

@media screen and (max-width: 768px) {
    .drawer-block[data-block="2"] {
        &::after {
            top: -10dvw;
            right: -10dvw;
            width: 20dvw;
            height: 20dvw;

        }
    }
}

.drawer-block[data-block="3"] {
    &::after {
        content: '';
        position: absolute;
        top: -5dvw;
        right: -5dvw;
        width: 10dvw;
        height: 10dvw;
        background-image: url(images/thumb-eraser.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 1;
        opacity: var(--drawer-after-opacity);
    }
}

@media screen and (max-width: 768px) {
    .drawer-block[data-block="3"] {
        &::after {
            top: -10dvw;
            right: -10dvw;
            width: 20dvw;
            height: 20dvw;

        }
    }
}

.block-text h3 {
    font-size: 2.4dvw;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    user-select: none;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .block-text h3 {
        font-size: 6dvw;
        line-height: 1;
    }
}

.block-text p {
    font-size: 1.5dvw;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    user-select: none;
}

@media screen and (max-width: 768px) {
    .block-text p {
        font-size: 16px;
    }
}

.block-background {
    position: absolute;
    top: -40px;
    left: 40px;
    height: 100%;
    width: 100%;
    background: white;
    z-index: -1;
    border-radius: 12px;
}

.square-before {
    position: absolute;
    top: 25px;
    left: 0;
    width: 60px;
    height: 1px;
    background: white;
    transform: rotate(45deg);
}

.square-after {
    position: absolute;
    bottom: 23px;
    right: 0;
    width: 60px;
    height: 1px;
    background: white;
    transform: rotate(45deg);
}

.block-text {
    position: relative;
    z-index: 1;
    transform: translate(40px, -40px);
    overflow: hidden;
}

.block-text h3,
.block-text p {
    opacity: 0;
    position: relative;
    z-index: 2;
}

.block-outline {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
}

.block-outline-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.block-outline-path {
    fill: none;
    stroke: white;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.drawer-block:nth-child(1) {
    margin-top: 0;
}

.drawer-block:nth-child(2) {
    margin-top: 10dvh;
}

.drawer-block:nth-child(3) {
    margin-top: 20dvh;
}

@media screen and (max-width: 768px) {


    .drawer-block:nth-child(3) {
        margin-top: 10dvh;
    }
}


/* ===== INTERLUDE : BANDEAU MOTS-CLÉS ===== */
.keywords-banner {
    min-height: 15dvh;
    height: 15dvh;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.keywords-banner-marquee {
    width: 100%;
    overflow: hidden;
}

.keywords-banner-track {
    width: max-content;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: keywords-banner-scroll 28s linear infinite;
    will-change: transform;
}

.keywords-banner-group {
    display: flex;
    align-items: center;
    gap: 4dvw;
    padding-right: 4dvw;
    white-space: nowrap;
    flex: 0 0 auto;
}

.keywords-banner-item {
    color: #000000;
    font-size: clamp(15px, 1.35dvw, 26px);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    user-select: none;
    flex: 0 0 auto;
}

@media screen and (max-width: 768px) {
    .keywords-banner {
        min-height: 10dvh;
        height: auto;
        padding: 24px 0;
    }

    .keywords-banner-group {
        gap: 24px;
    }

    .keywords-banner-group {
        padding-right: 24px;
    }

    .keywords-banner-item {
        font-size: clamp(13px, 3.3dvw, 18px);
        letter-spacing: 0.12em;
    }
}

@keyframes keywords-banner-scroll {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* ===== PARTIE 4 : MACHINE À ÉCRIRE & CHUTE ===== */
#typewriter-fall {
    background: transparent;
    position: relative;
    cursor: url('./images/mouse-2.png') 32 32, auto;
    overflow: hidden;
    align-items: flex-end;
}

.typewriter-container {
    width: 70%;
    height: 50dvh;
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .typewriter-container {
        width: 90%;
    }
}

.typewriter-text {
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    color: white;
    text-align: center;
    min-height: 100px;
}

@media screen and (max-width: 768px) {
    .typewriter-text {
        font-size: 11dvw;
    }
}

.fall-blocks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    pointer-events: none;
    z-index: 20;
}


.fall-block {
    --logo-scale: 1;
    position: absolute;
    background: transparent;
    padding: 0;
    width: calc(200px * var(--logo-scale));
    height: auto;
    box-shadow: none;
    opacity: 0;
}

@media screen and (max-width: 768px) {
    .fall-block {
        width: calc(100px * var(--logo-scale));
    }
}

.block-image {
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    display: block;
    max-width: none;
    height: auto;
    background-color: white;
    box-sizing: border-box;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .block-image {
        padding: 10px;
    }
}

.fall-block[data-logo="adobe"] {
    --logo-scale: 1.14;
}

.fall-block[data-logo="dacia"] {
    --logo-scale: 1.12;
}

.fall-block[data-logo="deliveroo"] {
    --logo-scale: 1.12;
}

.fall-block[data-logo="motorola"] {
    --logo-scale: 1.14;
}

.fall-block[data-logo="otacos"] {
    --logo-scale: 0.8;
}

.fall-block[data-logo="xbox"] {
    --logo-scale: 1.14;
}

.fall-block[data-logo="chaumet"] {
    --logo-scale: 1.18;
}

.fall-block[data-logo="savoie"] {
    --logo-scale: 0.7;
}

.fall-block[data-logo="singapour"] {
    --logo-scale: 0.75;
}

.fall-block[data-logo="sephora"] {
    --logo-scale: 1.4;
}

.fall-block[data-logo="upsa"] {
    --logo-scale: 1.15;
}

.fall-block[data-logo="manpower"] {
    --logo-scale: 0.88;
}

.phone-blur {
    bottom: 6%;
    left: 20%;
    width: 17%;
    height: auto;
    z-index: 300;
}

@media screen and (max-width: 768px) {
    .phone-blur {
        bottom: 3%;
        left: 10%;
        width: 34%;
    }
}

.hand-point {
    top: 9%;
    right: -4%;
    width: 18%;
    height: auto;
    z-index: 300;
}

@media screen and (max-width: 768px) {
    .hand-point {
        width: 36%;
        top: 4%;
        right: -11%;
    }
}

.stars-light {
    top: 14%;
    left: 15%;
    width: 9%;
    height: auto;
    z-index: 300;
    position: absolute;
}

@media screen and (max-width: 768px) {
    .stars-light {
        top: 7%;
        left: 8%;
        width: 18%;
    }
}

.stars-light-2 {
    bottom: 21%;
    right: 33%;
    width: 10%;
    height: auto;
    z-index: 300;
    position: absolute;
}

@media screen and (max-width: 768px) {
    .stars-light-2 {
        bottom: 10%;
        right: 15%;
        width: 20%;
    }

}

/* ===== PARTIE 5 : FOOTER ===== */
#footer-section {
    height: 100dvh;
    width: 100dvw;
    background: transparent;
    position: fixed;
    bottom: 0;
    left: 0;
    overflow-x: visible;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('./images/mouse-3.png') 32 32, auto;
    z-index: 0;
}

#footer-scale-block {
    position: absolute;
    color: black;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 100%) scale(0.5);
    width: calc(100% - 60px);
    height: calc(100dvh - 30px);
    background: #000;
    border-top-left-radius: 55px;
    border-top-right-radius: 55px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}

@media screen and (max-width: 768px) {
    #footer-scale-block {
        width: calc(100% - 30px);
        height: 550px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 60px;
    position: relative;
    z-index: 250;
    gap: 5dvh;
    width: 78dvw;
    margin-left: 15dvw;
    padding: 3dvw 15dvw 3dvw 12dvh;
    margin-top: 13dvh;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -20dvw;
        width: 30dvw;
        height: 30dvw;
        background-image: url(images/orbe-footer.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: -1;
    }

    &::after {
        content: '';
        position: absolute;
        bottom: -9dvw;
        right: 3dvw;
        width: 20dvw;
        height: 20dvw;
        background-image: url(images/bomb-footer.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: -1;
    }

    h3 {
        text-transform: uppercase;
        font-size: 4dvw;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 7.4dvh;
    }

    p {
        font-size: 24px;
        font-weight: 500;
        display: flex;
        flex-direction: row;
    }

    span {
        font-size: 24px;
        font-weight: 800;

        a {
            color: black;
            text-decoration: none;
        }


        &.footer-phone-number {
            position: relative;
            display: block;
            padding-left: 5dvw;

            &::before {
                content: '';
                position: absolute;
                top: -70%;
                left: 16%;
                width: 100%;
                height: 250%;
                background-image: url(images/number-halo.png);
                background-size: contain;
                background-repeat: no-repeat;
                z-index: -1;
            }
        }

        &.footer-email-address {
            display: flex;
            flex-direction: row;
            align-items: center;

            img {
                width: 27px;
                height: auto;

            }

            .image-email-1 {
                transform: translateY(20px);
                margin-left: 15px;
            }

            .image-email-2 {
                transform: translateY(-10px) rotate(90deg);
                margin-left: 10px;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        margin: 10dvh auto 0dvh auto;
        padding: 15px 15px 40px 15px;
        border-radius: 30px;
        gap: 7dvh;
    }

    .footer-content::after {
        width: 40dvw;
        height: 40dvw;
        bottom: -20dvw;
        right: -20dvw;
    }

    .footer-content::before {
        display: none;
    }

    .footer-content span.footer-phone-number::before {
        top: -60%;
        left: -3%;
    }
}

@media screen and (max-width: 768px) {
    .footer-content h3 {
        font-size: 11dvw;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-content p {
        flex-direction: column;
        font-size: 18px;
    }

    .footer-content span {
        font-size: 18px;
    }
}

.footer-bottom-content {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 40px;
    color: white;

    img {
        position: absolute;
        width: 70px;
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}

@media screen and (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        margin: 10px 20px;
    }

    .footer-bottom-content p {
        text-align: center;
        font-size: 16px;
    }

    .footer-bottom-content img {
        position: relative;
        left: unset;
        top: unset;
        transform: none;
    }
}

/* ===== ANIMATIONS DE BASE ===== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== FLOATING OBJECTS WITH DATA-FLOATING ===== */
.floating-object[data-floating] {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.floating-object-small[data-floating] {
    animation: none;
    position: absolute;
}

.floating-object[data-floating="1"] {
    animation-delay: 0s;
}

.floating-object[data-floating="2"] {
    animation-delay: 0.2s;
}

.floating-object[data-floating="3"] {
    animation-delay: 0.4s;
}

.floating-object[data-floating="4"] {
    animation-delay: 0.6s;
}

.floating-object[data-floating="5"] {
    animation-delay: 0.8s;
}

.floating-object[data-floating="6"] {
    animation-delay: 1s;
}

.floating-object[data-floating="7"] {
    animation-delay: 0.5s;
}

.floating-object[data-floating="8"] {
    animation-delay: 1.4s;
}

.floating-object[data-floating="9"] {
    animation-delay: 1.6s;
}

.floating-object[data-floating="10"] {
    animation-delay: 1.8s;
}

.floating-object[data-floating="11"] {
    animation-delay: 2s;
}