/* ============================================================
   VorteXGum - Main Stylesheet
   © 2025-2026 VorteXGum. All rights reserved.
   Unauthorized copying or redistribution is strictly prohibited.
   ============================================================ */

/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
    /* Couleurs principales */
    --pink: #ff2d9b;
    --pink-light: #ff6fbf;
    --pink-dark: #cc1a7a;
    --magenta: #e91e90;
    --violet: #7b2d8e;
    --violet-dark: #2d0a3e;
    --noir: #0a0a0f;
    --noir-card: #13111a;
    --noir-surface: #1a1725;
    --blanc: #f8f0ff;
    --gris: #a89fb5;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #ff2d9b 0%, #e91e90 40%, #7b2d8e 100%);
    --gradient-glow: linear-gradient(135deg, #ff6fbf 0%, #ff2d9b 50%, #7b2d8e 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1725 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 45, 155, 0.08) 0%, rgba(123, 45, 142, 0.04) 100%);

    /* Glassmorphism */
    --glass-bg: rgba(26, 23, 37, 0.7);
    --glass-border: rgba(255, 45, 155, 0.15);
    --glass-blur: 20px;

    /* Typographie */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Espacements */
    --section-pad: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;

    /* Animations */
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(255, 45, 155, 0.1);
    --shadow-md: 0 8px 30px rgba(255, 45, 155, 0.15);
    --shadow-lg: 0 20px 60px rgba(255, 45, 155, 0.2);
    --shadow-glow: 0 0 40px rgba(255, 45, 155, 0.3);

    /* Rayons */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--noir);
    color: var(--blanc);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Masquer curseur par defaut sur desktop */
@media (hover: hover) and (pointer: fine) {
    body.cursor-ready {
        cursor: none;
    }
    body.cursor-ready a,
    body.cursor-ready button,
    body.cursor-ready input,
    body.cursor-ready textarea,
    body.cursor-ready select {
        cursor: none;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

a:hover {
    color: var(--pink-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 3px;
}

::selection {
    background: var(--pink);
    color: var(--blanc);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ====== SCREEN READER ONLY ====== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ====== TEXT GRADIENT UTILITY ====== */
.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====== LOADER ====== */
/* ---- Loader : fullscreen overlay ---- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--noir);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---- Loader : floating ambient bubbles ---- */
.loader__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.loader__bg span {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,100,180,0.15), rgba(255,45,155,0.04));
    border: 1px solid rgba(255,45,155,0.08);
    animation: loaderFloat linear infinite alternate;
    will-change: transform;
}

.loader__bg span:nth-child(1) { width: 44px; height: 44px; top: 10%; left: 7%;  animation-duration: 3.2s; }
.loader__bg span:nth-child(2) { width: 26px; height: 26px; top: 65%; left: 14%; animation-duration: 3.8s; animation-delay: 0.4s; }
.loader__bg span:nth-child(3) { width: 58px; height: 58px; top: 22%; right: 10%; animation-duration: 4.2s; animation-delay: 0.8s; }
.loader__bg span:nth-child(4) { width: 20px; height: 20px; top: 72%; right: 18%; animation-duration: 3s;  animation-delay: 1.2s; }
.loader__bg span:nth-child(5) { width: 36px; height: 36px; bottom: 14%; left: 32%; animation-duration: 3.6s; animation-delay: 0.2s; }
.loader__bg span:nth-child(6) { width: 24px; height: 24px; top: 38%; left: 82%; animation-duration: 4s;  animation-delay: 0.6s; }
.loader__bg span:nth-child(7) { width: 32px; height: 32px; bottom: 22%; right: 6%; animation-duration: 3.4s; animation-delay: 1s; }

@keyframes loaderFloat {
    0%   { transform: translateY(0) scale(1);    opacity: 0.25; }
    100% { transform: translateY(-28px) scale(1.15); opacity: 0.55; }
}

/* ---- Loader : main scene (bubble + ring + splats) ---- */
.loader__scene {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Loader : glossy gum bubble ---- */
.loader__bubble {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%,
        rgba(255,215,238,0.95) 0%,
        #ff7ab8 18%,
        #ff2d9b 45%,
        #d4157e 72%,
        #a0105e 100%
    );
    box-shadow:
        inset -8px -8px 22px rgba(90,0,45,0.35),
        inset 4px 4px 14px rgba(255,255,255,0.22),
        0 0 50px rgba(255,45,155,0.5),
        0 0 100px rgba(255,45,155,0.15);
    position: relative;
    animation: bubbleBlow 2.8s cubic-bezier(0.22,0.61,0.36,1) infinite;
    will-change: transform, opacity;
}

/* glossy highlight */
.loader__bubble::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 17%;
    width: 38%;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center,
        rgba(255,255,255,0.78) 0%,
        rgba(255,255,255,0.22) 48%,
        transparent 72%
    );
}

/* specular dot */
.loader__bubble::after {
    content: '';
    position: absolute;
    top: 18%;
    left: 24%;
    width: 12%;
    height: 10%;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    filter: blur(1px);
}

@keyframes bubbleBlow {
    0%   { transform: scale(0.35);                             opacity: 1;    }
    8%   { transform: scale(0.55) scaleX(1.14) scaleY(0.86);  opacity: 1;    }
    16%  { transform: scale(0.75) scaleX(0.92) scaleY(1.08);  opacity: 1;    }
    28%  { transform: scale(1)    scaleX(1.06) scaleY(0.96);  opacity: 1;    }
    40%  { transform: scale(1.18) scaleX(0.97) scaleY(1.04);  opacity: 0.92; }
    52%  { transform: scale(1.42) scaleX(1.03) scaleY(0.98);  opacity: 0.78; }
    63%  { transform: scale(1.72) scaleX(0.98) scaleY(1.02);  opacity: 0.58; }
    71%  { transform: scale(2.15);                             opacity: 0.35; }
    75%  { transform: scale(2.6);                              opacity: 0.1;  }
    76%  { transform: scale(0);                                opacity: 0;    }
    88%  { transform: scale(0);                                opacity: 0;    }
    94%  { transform: scale(0.22) scaleY(0.82);                opacity: 0.75; }
    97%  { transform: scale(0.38) scaleX(0.9);                 opacity: 1;    }
    100% { transform: scale(0.35);                             opacity: 1;    }
}

/* ---- Loader : pop shockwave ring ---- */
.loader__ring {
    position: absolute;
    top: calc(50% - 42px);
    left: calc(50% - 42px);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,45,155,0.85);
    box-shadow: 0 0 18px rgba(255,45,155,0.35), inset 0 0 18px rgba(255,45,155,0.1);
    animation: popRing 2.8s ease-out infinite;
    will-change: transform, opacity;
}

@keyframes popRing {
    0%, 75%  { transform: scale(0);   opacity: 0;   border-width: 2.5px; }
    76%      { transform: scale(0.7); opacity: 0.95; border-width: 2.5px; }
    88%      { transform: scale(3.8); opacity: 0;   border-width: 0.4px; }
    100%     { transform: scale(3.8); opacity: 0; }
}

/* ---- Loader : splatter particles ---- */
.loader__splat {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    --r: 0deg;
    --d: 100px;
    animation: splatFly 2.8s ease-out infinite;
    will-change: transform, opacity;
}

.loader__splat:nth-child(3)  { --r: 8deg;   --d: 135px; width: 14px; height: 12px; background: #ff4daa; box-shadow: 0 0 8px #ff4daa55; }
.loader__splat:nth-child(4)  { --r: 54deg;  --d: 108px; width: 10px; height: 10px; background: #ff7ac6; box-shadow: 0 0 6px #ff7ac655; }
.loader__splat:nth-child(5)  { --r: 100deg; --d: 145px; width: 12px; height: 11px; background: #ff2d9b; box-shadow: 0 0 8px #ff2d9b55; }
.loader__splat:nth-child(6)  { --r: 150deg; --d: 118px; width: 15px; height: 10px; background: #e0268a; box-shadow: 0 0 7px #e0268a55; }
.loader__splat:nth-child(7)  { --r: 197deg; --d: 128px; width: 13px; height: 13px; background: #ff5cb5; box-shadow: 0 0 8px #ff5cb555; }
.loader__splat:nth-child(8)  { --r: 242deg; --d: 102px; width:  9px; height: 11px; background: #ff80c9; box-shadow: 0 0 6px #ff80c955; }
.loader__splat:nth-child(9)  { --r: 288deg; --d: 138px; width: 11px; height: 12px; background: #ff2d9b; box-shadow: 0 0 8px #ff2d9b55; }
.loader__splat:nth-child(10) { --r: 333deg; --d: 112px; width: 15px; height:  9px; background: #ff4daa; box-shadow: 0 0 7px #ff4daa55; }

@keyframes splatFly {
    0%, 75% {
        transform: rotate(var(--r)) translateX(0) scale(0);
        opacity: 0;
    }
    77% {
        transform: rotate(var(--r)) translateX(28px) scale(1.4);
        opacity: 1;
    }
    86% {
        transform: rotate(var(--r)) translateX(var(--d)) scale(0.7);
        opacity: 0.6;
    }
    95% {
        transform: rotate(var(--r)) translateX(var(--d)) scale(0);
        opacity: 0;
    }
    100% {
        transform: rotate(var(--r)) translateX(var(--d)) scale(0);
        opacity: 0;
    }
}

/* ---- Loader : brand name ---- */
.loader__brand {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    color: rgba(255,255,255,0.92);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: brandGlow 2.8s ease-in-out infinite;
}

.loader__accent {
    color: var(--pink);
}

@keyframes brandGlow {
    0%, 74%, 100% {
        opacity: 0.55;
        filter: drop-shadow(0 0 8px rgba(255,45,155,0.12));
    }
    76% {
        opacity: 1;
        filter: drop-shadow(0 0 28px rgba(255,45,155,0.75));
    }
    84% {
        opacity: 0.9;
        filter: drop-shadow(0 0 14px rgba(255,45,155,0.3));
    }
}

/* ====== SCROLL PROGRESS BAR ====== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-main);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--pink);
}

/* ====== CUSTOM CURSOR ====== */
.custom-cursor {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        pointer-events: none;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background: var(--pink);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        transition: transform 0.1s var(--ease-smooth);
    }

    .cursor-ring {
        width: 36px;
        height: 36px;
        border: 2px solid rgba(255, 45, 155, 0.4);
        border-radius: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease-elastic),
                    height 0.3s var(--ease-elastic),
                    border-color 0.3s;
    }

    .custom-cursor.hover .cursor-ring {
        width: 50px;
        height: 50px;
        border-color: var(--pink);
    }

    .custom-cursor.hover .cursor-dot {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* ====== HEADER / NAVIGATION ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background 0.3s var(--ease-smooth),
                box-shadow 0.3s var(--ease-smooth),
                padding 0.3s var(--ease-smooth);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

.nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blanc);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.nav__logo:hover {
    color: var(--blanc);
}

.nav__logo-img {
    border-radius: 10px;
}

.nav__logo-accent {
    color: var(--pink);
}

/* Hamburger */
.nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.nav__hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--blanc);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-smooth),
                opacity 0.3s var(--ease-smooth);
}

.nav__hamburger.active .nav__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active .nav__hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active .nav__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu mobile */
.nav__menu {
    list-style: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s var(--ease-smooth);
    border-left: 1px solid var(--glass-border);
}

.nav__menu.open {
    right: 0;
}

.nav__link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gris);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--ease-smooth);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s var(--ease-smooth);
}

.nav__link:hover,
.nav__link.active {
    color: var(--blanc);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Desktop nav */
@media (min-width: 768px) {
    .nav__hamburger {
        display: none;
    }

    .nav__menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        gap: 2rem;
        border: none;
    }
}

/* ====== HERO SECTION ====== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.85) 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero__title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 0.8s var(--ease-elastic) forwards;
}

.hero__title-line--1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--blanc);
    animation-delay: 0.3s;
}

.hero__title-line--2 {
    font-size: clamp(3rem, 10vw, 6.5rem);
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 45, 155, 0.4));
    animation-delay: 0.5s;
}

/* hero__title-line--3 reserve si besoin d'un 3e mot */

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

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--gris);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-smooth) 1s forwards;
}

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

.hero__subtitle {
    transform: translateY(20px);
}

.hero__cta {
    display: inline-block;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-smooth) 1.2s forwards;
    transform: translateY(20px);
    transition: transform 0.3s var(--ease-elastic),
                filter 0.3s;
}

.hero__cta:hover {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 8px 25px rgba(255, 45, 155, 0.3));
}

.hero__play-badge {
    height: 60px;
    width: auto;
}

/* Scroll indicator */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s var(--ease-smooth) 2s forwards;
}

@keyframes fadeIn {
    to { opacity: 0.6; }
}

.hero__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gris);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--pink);
    border-radius: 3px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.hero__scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gris);
}

/* ====== 3D CAROUSEL ====== */
.carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2.5rem auto;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-smooth) 0.3s forwards;
    transform: translateY(20px);
}

.carousel__scene {
    perspective: 1000px;
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.carousel__track {
    width: 200px;
    height: 260px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-elastic);
}

.carousel__card {
    position: absolute;
    width: 200px;
    height: 260px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.carousel__card-inner {
    width: 100%;
    height: 100%;
    background: var(--noir-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s;
}

.carousel__card-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s;
}

.carousel__card.is-front .carousel__card-inner {
    border-color: rgba(255, 45, 155, 0.4);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 45, 155, 0.15);
}

.carousel__card.is-front .carousel__card-inner::before {
    opacity: 1;
}

.carousel__card-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255, 45, 155, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.carousel__card-icon {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}

.carousel__card-icon-placeholder {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    border: 2px dashed rgba(255, 45, 155, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--pink);
    opacity: 0.4;
    position: relative;
    z-index: 1;
}

.carousel__card-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
}

.carousel__card-tag {
    font-size: 0.7rem;
    color: var(--gris);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.carousel__card-badge {
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--ease-elastic);
}

.carousel__card-badge:hover {
    transform: scale(1.06);
}

.carousel__card-badge img {
    height: 39px;
    width: auto;
}

.carousel__card-soon-badge {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255, 45, 155, 0.2);
    border-radius: 50px;
    color: var(--pink);
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.carousel__card-inner--soon {
    opacity: 0.7;
}

.carousel__card.is-front .carousel__card-inner--soon {
    opacity: 0.85;
}

/* Carousel controls */
.carousel__controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--blanc);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-elastic);
}

.carousel__btn:hover {
    background: rgba(255, 45, 155, 0.15);
    border-color: var(--pink);
    transform: scale(1.1);
}

.carousel__btn:active {
    transform: scale(0.95);
}

/* Responsive carousel */
@media (max-width: 480px) {
    .carousel__scene {
        height: 240px;
    }
    .carousel__track {
        width: 170px;
        height: 230px;
    }
    .carousel__card {
        width: 170px;
        height: 230px;
    }
    .carousel__card-icon,
    .carousel__card-icon-placeholder {
        width: 70px;
        height: 70px;
    }
    .carousel__card-name {
        font-size: 0.8rem;
    }
    .carousel__card-badge img {
        height: 32px;
    }
}

/* ====== SECTIONS COMMUNES ====== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--gris);
    max-width: 500px;
    margin: 0 auto;
}

/* ====== SECTION APPLICATIONS ====== */
.apps {
    padding: var(--section-pad) 0;
    background: var(--gradient-dark);
    position: relative;
}

.apps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .apps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* App Card */
.app-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease-elastic);
}

.app-card:hover {
    transform: translateY(-8px);
}

.app-card__glow {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    z-index: 0;
}

.app-card:hover .app-card__glow {
    opacity: 1;
}

.app-card__inner {
    position: relative;
    z-index: 1;
    background: var(--noir-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.app-card:hover .app-card__inner {
    background: var(--noir-surface);
}

.app-card__icon-wrap {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--ease-elastic),
                box-shadow 0.4s;
}

.app-card:hover .app-card__icon-wrap {
    transform: scale(1.08) rotateY(5deg);
    box-shadow: var(--shadow-lg);
}

.app-card__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card__icon-wrap--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border: 2px dashed var(--glass-border);
}

.app-card__icon-placeholder {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--pink);
    opacity: 0.5;
}

.app-card__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.app-card__desc {
    font-size: 0.9rem;
    color: var(--gris);
    line-height: 1.6;
}

.app-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-card__stars {
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.app-card__rating-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--gris);
}

.app-card__badge img {
    height: 48px;
    width: auto;
    transition: transform 0.3s var(--ease-elastic),
                filter 0.3s;
}

.app-card__badge:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 15px rgba(255, 45, 155, 0.3));
}

.app-card__coming-badge {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--pink);
    background: rgba(255, 45, 155, 0.05);
}

/* ====== SECTION FEATURES ====== */
.features {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

[data-reveal]:nth-child(5) { transition-delay: 0.4s; }
[data-reveal]:nth-child(6) { transition-delay: 0.5s; }

/* Feature Card */
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.4s var(--ease-elastic),
                box-shadow 0.4s,
                border-color 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 45, 155, 0.3);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--pink);
    transition: transform 0.4s var(--ease-elastic);
}

.feature-card:hover .feature-card__icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card__desc {
    font-size: 0.85rem;
    color: var(--gris);
    line-height: 1.7;
}

/* Gum Trail */
.features__gum-trail {
    position: relative;
    height: 100px;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gum-trail__line {
    width: 0;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 4px;
    box-shadow: var(--shadow-glow);
    transition: width 1.5s var(--ease-smooth);
}

.gum-trail__line.animated {
    width: 80%;
}

/* ====== SECTION INTERACTIVE ====== */
.interactive {
    padding: var(--section-pad) 0;
    background: var(--gradient-dark);
}

.interactive__zone {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--noir-card);
}

.interactive__canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.interactive__hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--gris);
    letter-spacing: 1px;
    opacity: 0.6;
    pointer-events: none;
}

/* ====== SECTION CONTACT ====== */
.contact {
    padding: var(--section-pad) 0;
    position: relative;
}

.contact__form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Honeypot (invisible) */
.contact__honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.contact__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gris);
}

.contact__input {
    background: var(--noir-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--blanc);
    transition: border-color 0.3s var(--ease-smooth),
                box-shadow 0.3s;
}

.contact__input::placeholder {
    color: rgba(168, 159, 181, 0.5);
}

.contact__input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 155, 0.1);
    outline: none;
}

.contact__input.error {
    border-color: #ff4444;
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.contact__textarea {
    resize: vertical;
    min-height: 140px;
}

.contact__error {
    font-size: 0.8rem;
    color: #ff6b6b;
    min-height: 1.2em;
}

/* Consent checkbox */
.contact__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--pink);
    flex-shrink: 0;
}

.contact__consent-label {
    font-size: 0.85rem;
    color: var(--gris);
    line-height: 1.5;
    flex: 1;
}

.contact__link {
    color: var(--pink);
    text-decoration: underline;
}

/* Submit button */
.contact__submit {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    background: var(--gradient-main);
    color: var(--blanc);
    border: none;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-elastic),
                box-shadow 0.3s;
}

.contact__submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.contact__submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact__submit:hover::before {
    opacity: 1;
}

.contact__submit:active {
    transform: translateY(0) scale(0.98);
}

.contact__submit:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.contact__submit-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact__submit.loading .contact__submit-text {
    visibility: hidden;
}

.contact__submit.loading .contact__submit-loader {
    display: block;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact__status {
    text-align: center;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    display: none;
}

.contact__status.success {
    display: block;
    background: rgba(0, 200, 83, 0.1);
    color: #69f0ae;
    border: 1px solid rgba(0, 200, 83, 0.2);
}

.contact__status.error-msg {
    display: block;
    background: rgba(255, 68, 68, 0.1);
    color: #ff6b6b;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

/* ====== FOOTER ====== */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--noir);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer__logo {
    border-radius: 12px;
}

.footer__brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer__link {
    font-size: 0.9rem;
    color: var(--gris);
    transition: color 0.3s;
}

.footer__link:hover {
    color: var(--pink);
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(168, 159, 181, 0.6);
}

.footer__legal {
    font-size: 0.75rem;
    color: rgba(168, 159, 181, 0.4);
}

/* ====== DATA-REVEAL ANIMATIONS ====== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-smooth),
                transform 0.7s var(--ease-smooth);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ====== RESPONSIVE ENHANCEMENTS ====== */
@media (max-width: 639px) {
    .hero__play-badge {
        height: 50px;
    }

    .interactive__zone {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .hero__scroll-indicator {
        bottom: 3rem;
    }
}

/* ====== REDUCE MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero__title-line {
        opacity: 1;
        transform: none;
    }

    .hero__subtitle,
    .hero__cta {
        opacity: 1;
        transform: none;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .loader__bubble {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
    .loader__ring,
    .loader__splat,
    .loader__bg span {
        display: none;
    }
    .loader__brand {
        opacity: 1 !important;
    }
}

/* ====== LEGAL / PRIVACY PAGES ====== */
.legal {
    padding: calc(80px + var(--section-pad)) 0 var(--section-pad);
}

.legal__content {
    max-width: 800px;
    margin: 0 auto;
}

.legal__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.legal__updated {
    font-size: 0.85rem;
    color: var(--gris);
    margin-bottom: 3rem;
}

.legal__section {
    margin-bottom: 2.5rem;
}

.legal__section h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pink-light);
}

.legal__section p {
    color: var(--gris);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal__section ul {
    color: var(--gris);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal__section li {
    margin-bottom: 0.5rem;
}

.legal__section a {
    color: var(--pink);
    text-decoration: underline;
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--gris);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal__back:hover {
    color: var(--pink);
}

/* Nav menu override for subpages (no hamburger, always visible) */
.nav__menu--static {
    position: static;
    width: auto;
    height: auto;
    background: none;
    flex-direction: row;
    border: none;
}

/* ====== PRINT ====== */
@media print {
    .header,
    .loader,
    .scroll-progress,
    .custom-cursor,
    .hero__canvas,
    .hero__scroll-indicator,
    .interactive,
    .features__gum-trail {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}
