/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
   @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

   :root {
    --bg-color: #0d0d0d;
    --bg-surface: #1a1a1a;
    --bg-card-hover: #252525;
    --text-color: #ffffff;
    --text-muted: #999999;
    --accent-color: #7c3aed;
    --accent-hover: #6d28d9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --container-width: 1140px;
    --section-padding: 100px 0;
    --border-radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 12px 24px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at 50% 0%, rgba(226, 192, 141, 0.03) 0%, transparent 60%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Patreon Cards */
.patreon-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    transition: var(--transition);
}

.patreon-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.patreon-card.highlight {
    border: 2px solid var(--accent-color);
    position: relative;
}

.patreon-card.highlight::before {
    content: 'CONSEILLÉ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    border-radius: 9999px; /* Pill shape like Patreon */
    cursor: pointer;
    transition: var(--transition);
    text-transform: none; /* Patreon doesn't use all-caps for buttons */
    letter-spacing: -0.01em;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn-outline {
    background-color: rgba(13, 13, 13, 0.7);
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.btn-text {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-top: 12px;
}

.btn-text:hover {
    color: var(--accent-hover);
    transform: translateX(5px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

.logo img {
    height: 70px;
    transition: var(--transition);
}

.site-header.scrolled .logo img {
    height: 45px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-social-link {
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header-social-link:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Header Social Group */
.header-social-group {
    position: relative;
    display: flex;
    align-items: center;
}

.social-list {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-links {
    display: none; /* Hidden on desktop */
}

.social-toggle-btn {
    display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
    .social-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-color);
        cursor: pointer;
        transition: var(--transition);
    }

    .social-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-color);
    }

    .social-list {
        position: absolute;
        top: calc(100% + 15px);
        right: 0;
        background: var(--bg-surface);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 20px;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
        min-width: 200px;
    }

    .header-social-group.active .social-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .mobile-menu-links a {
        color: var(--text-color);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: var(--transition);
    }

    .mobile-menu-links a:hover {
        color: var(--accent-color);
    }

    .dropdown-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
    }

    .social-icons-wrapper {
        display: flex;
        gap: 12px;
        padding-top: 15px;
        justify-content: flex-start;
    }

    .social-list::after {
        content: '';
        position: absolute;
        top: -6px;
        right: 15px;
        width: 12px;
        height: 12px;
        background: var(--bg-surface);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transform: rotate(45deg);
    }
}

/* Tooltips */
.word-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--accent-color);
    cursor: help;
    color: var(--accent-color);
}

.word-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-surface);
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    width: 280px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    pointer-events: none;
    text-transform: none;
    letter-spacing: normal;
}

.word-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Social Link Cycler (Desktop Only) */
@media (min-width: 769px) {
    .social-icons-wrapper {
        position: relative;
        width: 40px;
        height: 40px;
    }

    .social-icons-wrapper a {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(10px);
    }

    .social-icons-wrapper a.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--text-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger at top for header readability, fades to solid at bottom */
    background: linear-gradient(
        180deg,
        rgba(13,13,13,0.85) 0%,
        rgba(13,13,13,0.3) 40%,
        rgba(13,13,13,0.4) 70%,
        var(--bg-color) 100%
    );
}

/* Interactive blob canvas */
.hero-blobs-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

/* Reusable section blobs */
.has-blobs {
    position: relative;
    overflow: hidden;
}

.section-blobs-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    cursor: pointer;
}

.hero-logo img {
    height: 300px;
    width: auto;
    filter: drop-shadow(0 0 30px rgba(124, 58, 237, 0.3)); /* Violet glow */
    transition: transform 0.1s ease-out, filter 0.3s ease; /* Smooth movement */
    z-index: 2;
    position: relative;
}

/* Modern Logo Click Effect */
@keyframes logoPop {
    0% { transform: scale(1); }
    40% { transform: scale(0.9); }
    60% { transform: scale(1.05); }
    80% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

.hero-logo.popping {
    animation: logoPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo.popping img {
    filter: drop-shadow(0 0 60px rgba(124, 58, 237, 0.8)) brightness(1.2);
}

.logo-shockwave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
    z-index: 1;
    animation: shockwaveAnim 1.5s cubic-bezier(0.1, 0.5, 0.2, 1) forwards;
    pointer-events: none;
    box-shadow: 0 0 50px var(--accent-color), inset 0 0 50px var(--accent-color);
}

@keyframes shockwaveAnim {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 1; border-width: 20px; }
    50% { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(15); opacity: 0; border-width: 1px; }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 4px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 2px 15px rgba(124, 58, 237, 0.4), 0 2px 5px rgba(0,0,0,0.8);
    letter-spacing: 0.02em;
}

.concept-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* ==========================================================================
   CONCEPT SECTION
   ========================================================================== */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.concept-text {
    max-width: 500px;
}

.concept-text p {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 300;
}

.concept-visual {
    position: relative;
}

.concept-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    z-index: -1;
    transition: var(--transition);
}

.concept-visual:hover::before {
    top: -10px;
    left: -10px;
}

.image-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    pointer-events: none;
    text-transform: none;
    transform: rotate(-3deg);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.concept-visual img {
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transition: var(--transition);
}

/* ==========================================================================
   EXPERIENCE SECTION
   ========================================================================== */
/* Tiers Grid */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tier-price {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--accent-color);
}

/* Tiers Grid refinements */
.tier-extra {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.extra-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    gap: 30px;
}

.extra-info {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.extra-text h3 {
    margin-bottom: 5px;
    font-size: 22px;
}

.extra-text p {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .extra-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .extra-info {
        flex-direction: column;
        text-align: center;
    }
}

.tier-features {
    text-align: left;
    margin: 24px 0 32px;
}

.tier-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* Feed / Posts */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.post-card {
    background: var(--bg-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.post-image {
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 24px;
}

.post-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Masonry Gallery */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 350px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-size: 18px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Post refinements */
.post-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* ==========================================================================
   HOW IT WORKS (STEPS)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 70px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    z-index: 0;
    opacity: 0.3;
}

.step-box {
    text-align: center;
    padding: 50px 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step-box:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    font-family: var(--font-heading);
    margin: 0 auto 25px auto;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: var(--transition);
}

.step-box:hover .step-number {
    background: var(--accent-color);
    color: #000;
}

.step-box h3 {
    font-size: 20px;
    margin-top: 10px;
    font-family: var(--font-body);
    font-weight: 500;
}

.step-box span {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    margin-top: 8px;
}

/* ==========================================================================
   WORKS & FORMATS (PARALLAX)
   ========================================================================== */
.works-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.works-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(11,11,15,0.7) 50%, var(--bg-color) 100%);
    z-index: 1;
}

.works-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.works-content p {
    font-size: 22px;
    color: #FFF;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ==========================================================================
   DIFFERENTIATION
   ========================================================================== */
.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-size: 14px;
}

.diff-visual {
    position: relative;
}

.diff-visual img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ==========================================================================
   EVENTS & GEO
   ========================================================================== */
.events-geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.events-box, .geo-box {
    padding: 60px 40px;
}

.events-box p, .geo-box p {
    color: var(--text-muted);
    font-size: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section .container {
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    padding: 0; /* Override old padding */
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-surface);
}

.faq-item:hover {
    background: var(--bg-card-hover);
}

.faq-question {
    padding: 24px 32px;
    font-size: 18px;
    font-weight: 600;
}

.faq-item.active .faq-answer {
    padding: 0 32px 32px 32px;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px 30px;
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-muted);
}

.faq-item .icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.4s ease;
}

.faq-item.active .icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* ==========================================================================
   CTA FINAL (CONTACT FORM)
   ========================================================================== */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    /* Removed overflow: hidden so it doesn't clip shared wrapper */
}

.cta-section .container {
    position: relative;
    z-index: 2;
}



.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form {
    text-align: left;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(226, 192, 141, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

#form-messages {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
}

.success-msg { color: var(--accent-color); }
.error-msg { color: #ff5555; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #000;
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    margin-bottom: 50px;
}

.footer-logo {
    height: 200px;
    margin: 0 auto 25px;
    display: block;
}

.footer-artist {
    font-size: 20px;
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-link svg {
    color: var(--accent-color);
}

.footer-contact-link:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-geo {
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 0;
}

/* ==========================================================================
   ANIMATIONS (JS triggers)
   ========================================================================== */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.animate-en-direct {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.8s;
}

.visible .animate-en-direct {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ==========================================================================
   PROCESS SECTION (ICON BOXES)
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.process-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.process-item:hover .process-icon {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.process-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.process-item p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
}

/* ==========================================================================
   UNIQUE SECTION (PARALLAX)
   ========================================================================== */
.parallax-section {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for parallax movement */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Simple CSS parallax */
    z-index: 0;
    filter: brightness(0.4);
}

.relative-z {
    position: relative;
    z-index: 2;
}

.unique-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.unique-content .section-subtitle {
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    max-width: 750px;
    margin-bottom: 50px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
    opacity: 1;
}

.unique-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.unique-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(13, 13, 13, 0.6);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.unique-feature-item:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.feature-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.unique-feature-item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.unique-feature-item strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .unique-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .parallax-bg {
        background-attachment: scroll; /* Fixed bg often buggy on mobile */
    }
    .parallax-section {
        padding: 80px 0;
    }
    .unique-text {
        font-size: 18px;
    }
}


@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Keyframe animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* ==========================================================================
   MOBILE RESPONSIVE (PATREON STYLE)
   ========================================================================== */
@media (max-width: 1024px) {
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .tiers-grid, .feed-grid, .form-row, .concept-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none; 
    }
    
    .hero-logo {
        display: none;
    }
    
    .site-header,
    .site-header.scrolled {
        padding: 12px 0;
    }

    .logo img, 
    .site-header.scrolled .logo img {
        height: 50px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .concept-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .contact-wrapper {
        padding: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* Hiding unused classes */
.experience-grid, .steps-grid, .diff-grid, .gallery-grid, .works-section, .events-geo-section {
    display: none !important;
}
/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 80px;
    font-weight: 200;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: var(--transition);
    z-index: 10000;
    opacity: 0.5;
}

.lightbox-prev:hover, .lightbox-next:hover {
    opacity: 1;
    color: var(--accent-color);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        font-size: 50px;
        padding: 10px;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

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

.lightbox-caption {
    margin-top: 25px;
    color: white;
    font-family: var(--font-heading);
    font-size: 28px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
    width: 90%;
}

.lightbox.active .lightbox-caption {
    opacity: 1;
    transform: translateY(0);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* ==========================================================================
   FLOATING CALL BUTTON
   ========================================================================== */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    z-index: 1001;
    transform: translateY(150px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    font-weight: 600;
}

.floating-call-btn.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-call-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
    color: white;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .floating-call-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }
}

/* Tooltips for inputs */
.input-tooltip-wrapper {
    position: relative;
    width: 100%;
}

.input-tooltip-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1a1a1a;
    color: #fff;
    border: 1px solid var(--accent-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.input-tooltip-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .input-tooltip-wrapper::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        bottom: 105%;
        font-size: 11px;
        padding: 4px 10px;
        background: var(--accent-color);
        border: none;
    }
}

/* ==========================================================================
   DARK MODE BADGE & TOOLTIP
   ========================================================================== */
.dark-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: help;
    position: relative;
    transition: var(--transition);
}

.dark-mode-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border-color: var(--accent-color);
}

.dark-mode-badge::before {
    content: "Un pixel noir consomme jusqu’à 60 % d’énergie de moins qu’un pixel blanc et fatigue moins vos rétines ;)";
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1a1a1a;
    color: #fff;
    border: 1px solid var(--accent-color);
    padding: 12px 18px;
    border-radius: 12px;
    width: 280px;
    line-height: 1.5;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    z-index: 1000;
}

/* Tooltip arrow */
.dark-mode-badge::after {
    content: '';
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode-badge:hover::before,
.dark-mode-badge:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .dark-mode-badge::before {
        width: 220px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .footer-contact-link {
        font-size: 20px;
        justify-content: center;
    }
}

/* Header Responsive Text */
.mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .desktop-text {
        display: none !important;
    }
    .mobile-text {
        display: inline !important;
    }
}

/* ==========================================================================
   FILE UPLOAD STYLING
   ========================================================================== */
.file-upload-group {
    margin-bottom: 20px;
    text-align: left;
}

.file-upload-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.file-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.file-input:focus, .file-input:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.file-input::-webkit-file-upload-button {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 15px;
    transition: var(--transition);
}

.file-input::-webkit-file-upload-button:hover {
    background: #fff;
}
