/* ============================================
   CAP Automatisations - Global Styles
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CSS Variables (Design System)
   ============================================ */
:root {
    /* Quebec Colors */
    --qc-blue: #003d7a;
    --qc-light-blue: #4a90e2;
    --qc-dark-blue: #002c5f;
    --qc-red: #ce1126;
    --qc-dark-red: #a00e1f;
    --qc-accent: #0066cc;
    --qc-white: #ffffff;
    --qc-silver: #f8fafc;
    
    /* Status Colors */
    --qc-success: #10b981;
    --qc-warning: #f59e0b;
    --qc-error: #ef4444;
    
    /* Gray Scale */
    --qc-gray-50: #f9fafb;
    --qc-gray-100: #f3f4f6;
    --qc-gray-200: #e5e7eb;
    --qc-gray-300: #d1d5db;
    --qc-gray-400: #9ca3af;
    --qc-gray-600: #4b5563;
    --qc-gray-700: #374151;
    --qc-gray-800: #1f2937;
    --qc-gray-900: #111827;
    
    /* Pale Blue for App Development */
    --qc-pale-blue: #7DC1FF;
    --qc-pale-blue-dark: #5CA9F2;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 63, 127, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 63, 127, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 63, 127, 0.2);
    --shadow-xl: 0 32px 64px rgba(0, 63, 127, 0.25);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--qc-gray-800);
    background-color: #001428;
    background: linear-gradient(180deg, #001428 0%, #003d7a 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

#p5-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Smooth link transitions */
a {
    transition: var(--transition-normal);
}

/* Quebec Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 63, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(206, 17, 38, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: -1;
}

/* ============================================
   Layout & Containers
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   Header Styles
   ============================================ */
.header {
    background: transparent;
    border: none;
    padding: var(--space-lg) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 2rem;
    font-weight: 800;
    color: var(--qc-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo img {
    height: 140px;
    width: auto;
    filter: brightness(0) invert(1);
}

.support-email, .back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.support-email:hover, .back-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: calc(120px + var(--space-4xl)) 0 var(--space-5xl) 0;
    text-align: center;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

/* ============================================
   Typography
   ============================================ */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: white !important;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
    font-feature-settings: 'liga' 1, 'kern' 1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: var(--space-3xl);
    color: white !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-red) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

h1.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    color: white !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
    font-feature-settings: 'liga' 1, 'kern' 1;
}

/* Ensure typewriter span is also white */
h1.hero-title span#typewriter {
    color: white !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: var(--space-xl) 0 var(--space-md) 0;
    color: var(--qc-blue);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

h4 {
    color: var(--qc-gray-900);
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
}

p {
    margin-bottom: var(--space-md);
    color: var(--qc-gray-600);
    font-size: 1.05rem;
}

/* ============================================
   Buttons & CTAs
   ============================================ */
.cta-button-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--qc-white);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    position: relative;
    will-change: transform;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 280px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.cta-button-main:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.cta-button.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    color: var(--qc-white);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

/* Project Selection Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 18, 34, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
}

.modal-header h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.modal-content {
    padding: 0 var(--space-xl) var(--space-xl);
}

.project-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.project-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: inherit;
}

.project-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-option:hover::before {
    opacity: 1;
}

.project-option:hover {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.15) 0%, rgba(74, 144, 226, 0.08) 100%);
    border-color: rgba(0, 102, 204, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 61, 122, 0.2);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 24px rgba(0, 61, 122, 0.3);
    transition: all 0.3s ease;
}

.project-option:hover .option-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 61, 122, 0.4);
}

.option-content h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 var(--space-sm) 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.option-content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--space-md) 0;
    font-size: 1rem;
    line-height: 1.5;
}

.option-tech {
    background: rgba(0, 102, 204, 0.2);
    color: #4a90e2;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Removed bounce animation for lightbulb */

/* Mobile logo scroll animation */
@media (max-width: 768px) {
    .logo {
        transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: fixed;
        top: var(--space-lg);
        left: 50%;
        transform: translateX(-50%);
        z-index: 101;
        will-change: transform, top, left;
    }
    
    .logo.logo-scrolled {
        top: 15px;
        left: 15px;
        transform: translateX(0) scale(0.5);
        transform-origin: top left;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cta-button-main {
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
        min-width: 250px;
        letter-spacing: 0.5px;
    }
    
    .modal-container {
        width: 95%;
        margin: var(--space-sm);
        max-height: 90vh;
        padding: var(--space-md);
    }
    
    .modal-header {
        padding: var(--space-md) 0;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 0;
    }
    
    .project-options {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .project-option {
        padding: var(--space-md);
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .option-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        margin-right: var(--space-md);
        border-radius: 12px;
        flex-shrink: 0;
    }
    
    .option-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .option-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .option-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin: 0;
    }
    
    .modal-footer {
        margin-top: var(--space-md) !important;
        padding-top: var(--space-md) !important;
    }
    
    .modal-footer p {
        font-size: 0.95rem !important;
    }
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.app-cta-button {
    display: inline-block;
    padding: 0.8rem var(--space-lg);
    background: linear-gradient(135deg, var(--qc-pale-blue) 0%, var(--qc-pale-blue-dark) 100%);
    color: var(--qc-white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(125, 193, 255, 0.3);
    margin-top: var(--space-md);
}

.app-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 193, 255, 0.4);
}

/* ============================================
   Cards & Portfolio
   ============================================ */
.portfolio {
    padding: var(--space-4xl) 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    margin: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: var(--space-2xl);
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    opacity: 0;
    transform: translateY(60px);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.portfolio-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }

.card-header {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-accent) 100%);
    color: var(--qc-white);
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.app-development .card-header {
    background: linear-gradient(135deg, var(--qc-pale-blue) 0%, var(--qc-pale-blue-dark) 100%);
}

.websites .card-header {
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-red) 100%);
}

.card-content {
    padding: 2.5rem var(--space-xl);
}

.card-content p {
    color: var(--qc-gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ============================================
   Featured Apps & Features
   ============================================ */
.featured-app {
    background: linear-gradient(135deg, rgba(0, 63, 127, 0.05) 0%, rgba(206, 17, 38, 0.05) 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 63, 127, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.featured-app::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background-image: url('/assets/nightlife_ai_icon.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transform: rotate(-15deg);
    z-index: 0;
    border-radius: 30%;
}

.featured-app.mindrop-app::after {
    background-image: url('/assets/mindrop_icon.png');
}

.featured-app-content {
    position: relative;
    z-index: 1;
}

.featured-app::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qc-blue) 0%, var(--qc-red) 100%);
}

.featured-app p {
    color: var(--qc-gray-600);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
    line-height: 1.6;
}

.featured-app h4 {
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: var(--space-lg) 0;
}

.feature-tag {
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-red) 100%);
    color: var(--qc-white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature {
    padding: 1.2rem var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.8) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--qc-blue);
    color: var(--qc-gray-900);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.feature:hover {
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-accent) 100%);
    color: var(--qc-white);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Badges & Links
   ============================================ */
.chrome-badge, .ios-badge {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-normal);
    margin-top: var(--space-lg);
}

.app-preview {
    margin-top: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.coming-soon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--qc-gray-900);
    color: var(--qc-white);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.3);
}

.chrome-badge:hover, .ios-badge:hover {
    transform: scale(1.05) translateY(-2px);
    filter: brightness(1.1);
}

.chrome-badge-svg {
    width: 180px;
    height: 52px;
}

.ios-badge-svg {
    width: 140px;
    height: 42px;
}

/* ============================================
   Notre Objectif Section
   ============================================ */
.notre-objectif {
    padding: var(--space-5xl) 0;
    background: rgba(0, 63, 127, 0.02);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(0, 63, 127, 0.08);
    margin: var(--space-4xl) var(--space-lg);
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 63, 127, 0.05);
}

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

.objectif-intro {
    margin-bottom: var(--space-3xl);
}

.objectif-intro p {
    font-size: 1.3rem;
    color: white;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.objectif-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.objectif-card {
    background: rgba(0, 63, 127, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 63, 127, 0.04);
    border: 1px solid rgba(0, 63, 127, 0.08);
    border-left: 4px solid var(--qc-blue);
    text-align: left;
    transition: all 0.3s ease;
}

.objectif-card:hover {
    transform: translateY(-4px);
    background: rgba(0, 63, 127, 0.3);
    border: 1px solid rgba(0, 63, 127, 0.5);
    box-shadow: 0 8px 30px rgba(0, 63, 127, 0.25);
}

.objectif-card.probleme {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.01);
}

.objectif-card.opportunite {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.01);
}

.objectif-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.objectif-card.probleme h3 {
    color: white;
    text-shadow: 0 1px 3px rgba(239, 68, 68, 0.5);
}

.objectif-card.opportunite h3 {
    color: white;
    text-shadow: 0 1px 3px rgba(16, 185, 129, 0.5);
}

.objectif-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.objectif-cta {
    margin-top: var(--space-2xl);
}

/* ============================================
   Citation Philosophique Section
   ============================================ */
.citation-philosophique {
    padding: var(--space-4xl) 0;
    background: rgba(0, 63, 127, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 63, 127, 0.2);
    margin: var(--space-2xl) var(--space-lg);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 63, 127, 0.15);
}

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

.citation-philosophique blockquote {
    margin: 0;
    position: relative;
}

.citation-philosophique blockquote p {
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: white;
    margin: 0 0 var(--space-lg) 0;
    position: relative;
    padding: 0 var(--space-3xl);
    line-height: 1.4;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.citation-philosophique blockquote p::before,
.citation-philosophique blockquote p::after {
    content: '"';
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    font-style: normal;
    opacity: 0.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.citation-philosophique blockquote p::before {
    left: 0;
    top: -10px;
}

.citation-philosophique blockquote p::after {
    right: 0;
    bottom: -10px;
}

.citation-philosophique blockquote footer {
    font-style: normal;
}

.citation-philosophique cite {
    font-style: normal;
}

.citation-philosophique cite a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.citation-philosophique cite a:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .citation-philosophique {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .citation-philosophique blockquote p {
        font-size: 1.4rem;
        padding: 0 var(--space-xl);
    }
    
    .citation-philosophique blockquote p::before,
    .citation-philosophique blockquote p::after {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .notre-objectif {
        margin: var(--space-xl) var(--space-md);
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .objectif-intro p {
        font-size: 1.1rem;
    }
    
    .objectif-points {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ============================================
   Footer Styles (Enhanced)
   ============================================ */
main {
    flex: 1;
}

.footer {
    background: rgba(0, 44, 95, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--qc-white);
    padding: var(--space-3xl) 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--qc-blue) 25%, var(--qc-red) 75%, transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 63, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(206, 17, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--qc-gray-300);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    gap: var(--space-md);
}

.footer-nav a {
    color: var(--qc-white);
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    font-weight: 500;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav a:hover {
    background: linear-gradient(135deg, rgba(0, 63, 127, 0.3) 0%, rgba(206, 17, 38, 0.3) 100%);
    color: var(--qc-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 63, 127, 0.2);
}

/* ============================================
   Form Styles
   ============================================ */
.form-container {
    background: var(--qc-white);
    border-radius: var(--radius-xl);
    padding: 0;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--qc-blue), var(--qc-light-blue));
    padding: var(--space-5xl) 2.5rem;
    text-align: center;
    color: var(--qc-white);
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.form-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
    background: none;
    -webkit-text-fill-color: var(--qc-white);
    text-align: center;
}

.form-header .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-weight: 400;
    color: var(--qc-white);
    margin: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    z-index: 1;
    position: relative;
}

.header-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.header-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--qc-white);
}

.form-content {
    padding: var(--space-3xl) 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h2 {
    color: var(--qc-blue);
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--qc-gray-200);
    position: relative;
}

.form-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--qc-blue), var(--qc-red));
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--qc-gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--qc-gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--qc-white);
    color: var(--qc-gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--qc-blue);
    box-shadow: 0 0 0 3px rgba(0, 63, 127, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    line-height: 1.5;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: var(--qc-gray-50);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.checkbox-item:hover {
    background: var(--qc-gray-100);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-item label {
    margin: 0;
    font-weight: 500;
    color: var(--qc-gray-700);
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-accent) 100%);
    color: var(--qc-white);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    margin-top: var(--space-lg);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 63, 127, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* ============================================
   Legal & Content Pages
   ============================================ */
.legal-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.highlight {
    background: linear-gradient(135deg, rgba(0, 63, 127, 0.1) 0%, rgba(206, 17, 38, 0.1) 100%);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--qc-blue);
    margin: var(--space-lg) 0;
}

.contact-info {
    background: var(--qc-gray-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-xl);
    border: 1px solid var(--qc-gray-200);
}

.contact-info strong {
    color: var(--qc-blue);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero {
        padding: calc(140px + var(--space-2xl)) 0 var(--space-3xl) 0;
        min-height: 75vh;
    }
    
    .scroll-indicator {
        bottom: -2.5rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .header-content {
        justify-content: center !important;
    }
    
    .logo {
        margin: 0 auto !important;
        justify-self: center !important;
    }
    
    .support-email {
        display: none;
    }
    
    .portfolio-card h3 {
        white-space: normal !important;
    }
    
    .header {
        padding: var(--space-xs) 0;
    }
    
    .logo {
        font-size: 1.5rem;
        gap: var(--space-sm);
    }
    
    .logo img {
        height: 150px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .portfolio {
        margin: var(--space-lg) var(--space-lg);
        padding: var(--space-2xl) 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    .legal-container {
        padding: var(--space-xl) var(--space-lg);
        margin: 0 var(--space-md);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .form-header h1 {
        font-size: 2.5rem;
    }
    
    .form-content {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .featured-app::after {
        width: 130px;
        height: 130px;
        top: -20px;
        right: -20px;
    }
    
    .featured-app {
        margin-bottom: var(--space-lg);
    }
    
    .featured-app h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-header .subtitle {
        font-size: 1.1rem;
    }
    
    .header-logo span {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 0.125rem 0;
    }
    
    .logo {
        gap: var(--space-xs);
    }
    
    .logo img {
        height: 180px;
    }
    
    .portfolio {
        margin: var(--space-md);
        padding: var(--space-lg) 0;
    }
    
    .card-content {
        padding: var(--space-lg);
    }
    
    .card-header {
        padding: var(--space-lg);
    }
}

/* ============================================
   Animations & Flow Effects
   ============================================ */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Hero animations */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.cta-buttons {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

/* Scroll Indicator Wave */
.scroll-indicator {
    position: absolute;
    bottom: -0.2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--qc-accent);
    transform: translateX(-50%) scale(1.1);
}

.scroll-wave {
    width: 32px;
    height: 32px;
    display: block;
}

.scroll-wave path {
    stroke-width: 2.5;
    stroke: currentColor;
}

.wave-arrow {
    animation: wave-primary 2s infinite;
}

.wave-arrow-secondary {
    animation: wave-secondary 2s infinite;
    opacity: 0.5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes wave-primary {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

@keyframes wave-secondary {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(3px);
        opacity: 0.7;
    }
}

.idea-button-wrapper {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.boss-link {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Typewriter Effect
   ============================================ */
#typewriter {
    border-right: 3px solid var(--qc-accent);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: var(--qc-accent); }
    51%, 100% { border-color: transparent; }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ============================================
   Compact Apps Section
   ============================================ */
.compact-apps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.compact-app-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--qc-blue) 0%, var(--qc-accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 63, 127, 0.2);
}

.compact-app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 63, 127, 0.3);
}

/* Renovation Tech Art specific styling */
.compact-app-button.renovation-theme {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}

.compact-app-button.renovation-theme:hover {
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.3);
}

.info-bubble {
    position: relative;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
}

.info-tooltip {
    position: absolute;
    bottom: 30px;
    right: 0;
    background: #1f2937;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    pointer-events: none;
}

.info-bubble:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Website Showcase - Mini Interactive Preview
   ============================================ */
.website-showcase {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(234, 88, 12, 0.1);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.showcase-title {
    font-weight: 600;
    color: #ea580c;
    font-size: 1.1rem;
}

.showcase-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    color: #ea580c;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.1);
}

.showcase-fullscreen:hover {
    background: #ea580c;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.showcase-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mini-browser {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.browser-bar {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.browser-dots span:first-child {
    background: #ef4444;
}

.browser-dots span:nth-child(2) {
    background: #f59e0b;
}

.browser-dots span:nth-child(3) {
    background: #10b981;
}

.browser-url {
    flex: 1;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
    font-family: monospace;
}

.mini-website {
    background: white;
    padding: 1rem;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 1rem;
}

.mini-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border-radius: 8px;
    position: relative;
}

.mini-logo::after {
    content: "RT";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.mini-nav {
    display: flex;
    gap: 1rem;
}

.mini-nav span {
    width: 60px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}

.mini-hero {
    text-align: center;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.mini-hero h4 {
    color: #ea580c;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mini-hero p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.mini-cta {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mini-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.mini-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.mini-service-card {
    text-align: center;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mini-service-card:hover {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(249, 115, 22, 0.08) 100%);
    transform: translateY(-2px);
}

.service-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border-radius: 8px;
    position: relative;
}

.service-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
}

.service-icon.kitchen::after {
    content: "🍳";
    filter: grayscale(1) contrast(2) brightness(10);
}

.service-icon.bathroom::after {
    content: "🚿";
    filter: grayscale(1) contrast(2) brightness(10);
}

.service-icon.floor::after {
    content: "◻";
    font-size: 20px;
}

.mini-service-card span {
    display: block;
    font-size: 0.75rem;
    color: #4b5563;
    font-weight: 500;
}

.showcase-interactions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.interaction-btn {
    flex: 1;
    padding: 0.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.interaction-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.interaction-btn.primary {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    color: white;
    border: none;
}

.interaction-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

/* Dark theme for mini website */
.mini-website.dark-theme {
    background: #1f2937;
}

.mini-website.dark-theme .mini-header {
    border-bottom-color: #374151;
}

.mini-website.dark-theme .mini-nav span {
    background: #374151;
}

.mini-website.dark-theme .mini-hero {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.mini-website.dark-theme .mini-hero h4 {
    color: #fb923c;
}

.mini-website.dark-theme .mini-hero p {
    color: #9ca3af;
}

.mini-website.dark-theme .mini-service-card {
    background: #374151;
}

.mini-website.dark-theme .mini-service-card span {
    color: #d1d5db;
}

/* Animation classes */
@keyframes miniPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.mini-website.animate .mini-service-card {
    animation: miniPulse 1s ease-in-out;
}

.mini-website.animate .mini-cta {
    animation: miniPulse 1s ease-in-out 0.2s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .showcase-interactions {
        flex-direction: column;
    }
    
    .mini-services {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .mini-website {
        min-height: 200px;
    }
}

/* ============================================
   Boss Link (Sneaky Link)
   ============================================ */
.boss-link {
    text-align: center;
    margin-top: 1.5rem;
}

.boss-link a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.boss-link a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header, .footer {
        display: none;
    }
    
    .portfolio-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}/* ============================================
   CAP Automatisations - Quest Experience Styles
   ============================================ */

/* ============================================
   Quest Main Content (No header modifications)
   ============================================ */

.quest-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.quest-section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--qc-white);
    text-align: center;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--qc-white), var(--qc-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quest-section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Enhanced Hero Section
   ============================================ */
.hero.quest-section {
    justify-content: center;
    text-align: center;
}

.quest-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--qc-white);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 61, 122, 0.5);
}

.quest-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3xl);
    font-weight: 300;
}

.quest-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.quest-button {
    padding: var(--space-lg) var(--space-2xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.quest-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.quest-button:hover::before {
    left: 100%;
}


.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin: 0 auto var(--space-sm);
}


/* ============================================
   Sites Showcase - Section Sites sur mesure
   ============================================ */
.sites-showcase {
    background: transparent;
    padding: 60px 0;
    width: 100%;
}

.sites-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.sites-header {
    text-align: center;
    margin-bottom: 20px;
}

.sites-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--qc-white);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--qc-white), var(--qc-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sites-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.sites-demo {
    width: 100%;
    max-width: 900px;
    margin: 20px 0;
}

.browser-mockup {
    background: rgba(42, 42, 42, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

.browser-bar {
    background: rgba(60, 60, 60, 0.95);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Browser navigation buttons */
.browser-nav-buttons {
    display: flex;
    gap: 4px;
    margin-left: 15px;
    margin-right: 10px;
}

.browser-nav-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.browser-nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.browser-nav-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.browser-nav-btn.nav-prev:hover::after {
    content: 'Précédent';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}

.browser-nav-btn.nav-next:hover::after {
    content: 'Suivant';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 1000;
}

.browser-nav-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.browser-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.browser-url {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    padding: 0 20px;
}

.browser-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0 10px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dot.active {
    background: var(--qc-light-blue);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.5);
}

.nav-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.browser-refresh {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s ease;
}

.browser-refresh:hover {
    color: var(--qc-light-blue);
}

.browser-content {
    height: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Showcase navigation buttons */
.showcase-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;  /* Higher than desktop-touch-blocker */
    opacity: 0.8;
    pointer-events: auto;
}

.showcase-nav-btn:hover {
    opacity: 1;
    background: white;
    color: black;
    border-color: black;
    transform: translateY(-50%) scale(1.1);
}

.showcase-nav-btn.nav-prev {
    left: 20px;
}

.showcase-nav-btn.nav-next {
    right: 20px;
}

.showcase-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Navigation arrows */
.site-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 999;
}

.nav-arrow {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-arrow:hover {
    background: white;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border-color: black;
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

/* Mobile navigation arrows */
.mobile-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 999;
}

.mobile-nav-arrow {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-nav-arrow:hover {
    background: white;
    color: black;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    border-color: black;
}

.mobile-nav-arrow svg {
    width: 20px;
    height: 20px;
}

.sites-actions {
    text-align: center;
    margin-top: 20px;
}

.sites-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--qc-blue), var(--qc-light-blue));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.sites-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sites-showcase {
        padding: 40px 0 60px 0;
    }
    
    .sites-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .sites-title {
        font-size: 2rem;
    }
    
    .sites-subtitle {
        font-size: 1.1rem;
    }
    
    .sites-demo {
        margin: 15px 0;
        width: 100%;
    }
    
    .browser-content {
        height: 60vh;
        min-height: 500px;
    }
    
    .sites-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        margin-top: 20px;
    }
}

.renovation-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: var(--space-lg) var(--space-md);
    backdrop-filter: blur(20px);
    border: none;
    border-top: 1px solid rgba(74, 144, 226, 0.2);
    border-bottom: 1px solid rgba(74, 144, 226, 0.2);
}

.single-showcase {
    width: 100%;
    max-width: 1400px;
    margin-bottom: var(--space-xl);
}

.desktop-showcase-full {
    width: 100%;
    display: flex;
    justify-content: center;
}

.demo-browser {
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.browser-header {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    background: rgba(60, 60, 60, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-controls {
    display: flex;
    gap: var(--space-sm);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.browser-address {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.browser-refresh {
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.browser-refresh:hover {
    color: var(--qc-light-blue);
}

.demo-viewport {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-viewport.mobile-view {
    width: 375px;
    height: 667px;
    margin: 0 auto;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.demo-viewport.mobile-view::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    z-index: 10;
}

.demo-viewport.mobile-view .renovation-iframe {
    border-radius: 20px;
}

/* Mobile showcase styles */
.mobile-frame {
    width: 260px;
    height: 463px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.mobile-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.mobile-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

/* Site Showcase Container Styles */
.site-showcase-container,
.mobile-showcase-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f8f9fa;
    touch-action: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

.site-showcase-iframe,
.mobile-showcase-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background: transparent;
    touch-action: none;
    overscroll-behavior: none;
    overscroll-behavior-x: none;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
    /* Prevent CORS font errors from affecting layout */
    font-display: swap;
}

.site-showcase-iframe.active,
.mobile-showcase-iframe.active {
    opacity: 1;
    z-index: 2;
}

.site-showcase-iframe.exiting,
.mobile-showcase-iframe.exiting {
    opacity: 0;
    z-index: 1;
}

/* Loading state for iframes */
.site-showcase-iframe:not(.active),
.mobile-showcase-iframe:not(.active) {
    visibility: hidden;
}

.site-showcase-iframe.active,
.mobile-showcase-iframe.active {
    visibility: visible;
}

/* Legacy support for old class */
.renovation-iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: all var(--transition-normal);
    overflow: hidden;
    pointer-events: none;
}

/* Responsive pour très gros écrans */
@media (min-width: 1600px) {
    .renovation-demo {
        padding: var(--space-2xl) var(--space-xl);
    }
    
    .single-showcase {
        max-width: 1600px;
    }
    
    .demo-browser {
        max-width: 1500px;
    }
    
    .demo-viewport {
        height: 60vh;
        max-height: 900px;
    }
}

@media (max-width: 768px) {
    .renovation-showcase {
        padding: var(--space-lg) 0 !important;
    }
    
    .renovation-showcase .container {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-lg) !important;
        width: 100% !important;
    }
    
    .renovation-demo {
        padding: var(--space-md) !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-lg) !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .single-showcase {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .desktop-showcase-full {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .demo-browser {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .demo-viewport {
        height: 50vh !important;
        min-height: 400px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .demo-controls {
        width: 100% !important;
        text-align: center !important;
        margin-top: var(--space-md) !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .demo-btn {
        width: auto !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    
    /* S'assurer que la section intro est au-dessus */
    .renovation-showcase .section-intro {
        order: 1 !important;
        margin-bottom: var(--space-lg) !important;
        text-align: center !important;
    }
    
    /* S'assurer que la démo est en dessous */
    .renovation-showcase .renovation-demo {
        order: 2 !important;
    }
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(74, 144, 226, 0.1) 25%,
        transparent 50%,
        rgba(0, 102, 204, 0.1) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.demo-browser:hover .demo-overlay {
    opacity: 1;
}

.interaction-hints {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hint {
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 61, 122, 0.9);
    color: var(--qc-white);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInHints 0.5s ease forwards;
}

.hint.click-hint {
    animation-delay: 0.2s;
}

@keyframes slideInHints {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.demo-controls {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.demo-btn {
    padding: var(--space-md) var(--space-lg);
    border: 1px solid rgba(74, 144, 226, 0.3);
    background: rgba(74, 144, 226, 0.1);
    color: var(--qc-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 500;
}

.demo-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.demo-btn.primary {
    background: var(--qc-light-blue);
    border-color: var(--qc-light-blue);
}

.demo-btn.primary:hover {
    background: var(--qc-accent);
    border-color: var(--qc-accent);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-card h3 {
    color: var(--qc-white);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ============================================
   MindDrop App Showcase
   ============================================ */
.mindrop-section {
    background: transparent;
}

.mindrop-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.phone-mockup {
    position: relative;
    margin: 0 auto;
    touch-action: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

.phone-frame {
    width: 380px;
    height: 760px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 20px;
    padding-top: 10px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Mobile navigation bar */
.mobile-nav-bar {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.98), rgba(50, 50, 50, 0.98));
    border-radius: 12px;
    padding: 6px 10px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-browser-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-browser-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.mobile-browser-btn:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.92);
}

.mobile-browser-btn svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.mobile-site-indicator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    flex: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* iOS App Interface Styles */
.ios-app-interface {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ios-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 10px;
}

.ios-header {
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
}

.ios-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-align: center;
}

.ios-content {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
}

.feature-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #e5e5e7;
}

.feature-icon-ios {
    width: 32px;
    height: 32px;
    background: #007AFF;
    border-radius: 8px;
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-icon-ios.tabs {
    background: #34C759;
}

.feature-icon-ios.cloud {
    background: #FF9500;
}

.feature-icon-ios.offline {
    background: #5856D6;
}

.feature-icon-ios.security {
    background: #FF3B30;
}

.feature-info {
    flex: 1;
    position: relative;
}

.feature-info h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.feature-info p {
    margin: 0;
    font-size: 14px;
    color: #6d6d70;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF3B30;
    color: white;
    border-radius: 10px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.sync-status {
    position: absolute;
    top: 0;
    right: 0;
    background: #34C759;
    color: white;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
}

.offline-indicator {
    position: absolute;
    top: 0;
    right: 0;
    background: #5856D6;
    color: white;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
}

.security-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #FF3B30;
    color: white;
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
}

.ios-tab-bar {
    display: flex;
    background: #ffffff;
    border-top: 1px solid #e5e5e7;
    padding: 8px 0;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px;
    color: #8e8e93;
    font-size: 10px;
    font-weight: 500;
}

.tab-item.active {
    color: #007AFF;
}

.tab-icon {
    width: 22px;
    height: 22px;
    opacity: 0.8;
}

.app-interface {
    padding: var(--space-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.app-header h3 {
    color: var(--qc-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.app-menu {
    color: var(--qc-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.idea-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.idea-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.idea-card.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

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

.idea-category {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.idea-card h4 {
    color: var(--qc-white);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.idea-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
}

.app-actions {
    display: flex;
    gap: var(--space-md);
}

.action-btn {
    flex: 1;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.action-btn.primary {
    background: var(--qc-white);
    color: var(--qc-blue);
}

.action-btn:not(.primary) {
    background: rgba(255, 255, 255, 0.2);
    color: var(--qc-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mindrop-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.feature-highlight {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--qc-light-blue);
}

.feature-highlight h3 {
    color: var(--qc-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.feature-highlight p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1.1rem;
}

.coming-soon-badge {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(74, 144, 226, 0.2));
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.badge-text {
    display: block;
    color: var(--qc-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

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

.countdown .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--qc-light-blue);
    line-height: 1;
}

.countdown .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ============================================
   Mobile Portfolio Showcase
   ============================================ */
.mobile-portfolio-showcase {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    touch-action: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}


.mobile-portfolio-content {
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    position: relative;
}

/* Physical HTML overlay to block all iframe interaction */
.mobile-touch-blocker,
.desktop-touch-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
    pointer-events: auto;
    touch-action: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure desktop blocker doesn't interfere with navigation buttons */
.desktop-touch-blocker {
    pointer-events: none;  /* Allow clicks to pass through on desktop */
}

.mobile-touch-blocker {
    border-radius: 20px;
}

/* Mobile iframe interaction prevention overlay (fallback) */
.mobile-portfolio-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 998;
    pointer-events: auto;
    touch-action: none;
}

.mobile-portfolio-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    pointer-events: none !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    overscroll-behavior: none !important;
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: none !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Additional iOS specific properties */
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

/* Mobile-specific interaction blocking */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .mobile-portfolio-showcase,
    .mobile-showcase-container,
    .mobile-portfolio-content,
    .mobile-showcase-iframe {
        pointer-events: none !important;
        touch-action: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        overscroll-behavior: none !important;
        overscroll-behavior-x: none !important;
        overscroll-behavior-y: none !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: auto !important;
        /* iOS specific fixes */
        -webkit-transform: translate3d(0, 0, 0) !important;
        -webkit-backface-visibility: hidden !important;
        -webkit-perspective: 1000 !important;
    }
    
    /* Ensure overlay is active on mobile */
    .mobile-portfolio-content::after {
        pointer-events: auto !important;
        touch-action: none !important;
        z-index: 999 !important;
        display: block !important;
    }
    
    /* Additional protection for phone mockup */
    .phone-mockup {
        pointer-events: none !important;
        touch-action: none !important;
        overflow: hidden !important;
    }
    
    .phone-mockup * {
        pointer-events: none !important;
        touch-action: none !important;
        overflow: hidden !important;
    }
    
    /* Force iframe attributes on mobile */
    .mobile-showcase-iframe {
        scrolling: no !important;
    }
    
    /* Ensure touch blockers are active on mobile */
    .mobile-touch-blocker {
        display: block !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none !important;
        background: rgba(255, 0, 0, 0.001) !important; /* Almost invisible red tint for debugging */
    }
    
    /* Desktop blocker only blocks iframe interaction on mobile */
    .desktop-touch-blocker {
        display: block !important;
        z-index: 999 !important;  /* Lower than nav buttons (10000) */
        pointer-events: auto !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none !important;
    }
    
    /* Block desktop showcase iframe interactions on mobile */
    .site-showcase-container,
    .site-showcase-iframe {
        pointer-events: none !important;
        touch-action: none !important;
        overflow: hidden !important;
        overscroll-behavior: none !important;
    }
}

/* ============================================
   Capabilities Showcase
   ============================================ */
.capabilities-section {
    background: transparent;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-4xl);
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.capability-card:hover::before {
    left: 100%;
}

.capability-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.capability-card h3 {
    color: var(--qc-white);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.capability-card > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.capability-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.feature-tag {
    background: rgba(74, 144, 226, 0.2);
    color: var(--qc-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.tech-stack {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.stack-title {
    text-align: center;
    color: var(--qc-white);
    font-size: 2rem;
    margin-bottom: var(--space-2xl);
    font-weight: 700;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
}

.tech-category h4 {
    color: var(--qc-light-blue);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-align: center;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.tech-icon {
    background: linear-gradient(135deg, var(--qc-light-blue), var(--qc-accent));
    color: var(--qc-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.tech-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Mission Section
   ============================================ */
.mission-section {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.15), rgba(74, 144, 226, 0.1));
}

.mission-statement {
    text-align: center;
    margin-bottom: var(--space-4xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mission-statement h3 {
    color: var(--qc-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.mission-statement p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.6;
}

.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-4xl);
}

.metric-card {
    text-align: center;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all var(--transition-normal);
}

.metric-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--qc-light-blue);
    line-height: 1;
    margin-bottom: var(--space-sm);
    display: block;
}

.metric-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

.vision-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.vision-item h3 {
    color: var(--qc-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.vision-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(0, 61, 122, 0.2));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.quote-animation {
    margin-bottom: var(--space-4xl);
}

.nietzsche-quote {
    position: relative;
    padding: var(--space-3xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.quote-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--qc-white);
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    font-style: italic;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--qc-light-blue);
    position: absolute;
    font-family: Georgia, serif;
}

.quote-text::before {
    top: -10px;
    left: -20px;
}

.quote-text::after {
    bottom: -40px;
    right: -20px;
}

.quote-author {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
}

.quote-author a {
    color: var(--qc-light-blue);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.quote-author a:hover {
    color: var(--qc-white);
}

.philosophy-reflection {
    margin-bottom: var(--space-3xl);
}

.philosophy-reflection p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.quest-complete h3 {
    color: var(--qc-white);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--space-xl);
}

.final-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .quest-steps {
        display: none;
    }
    
    .quest-nav {
        display: none;
    }
    
    .header-content {
        justify-content: center !important;
    }
    
    .mindrop-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .phone-frame {
        width: 320px;
        height: 640px;
    }
    
    .vision-text,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .quest-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-controls {
        justify-content: center;
    }
    
    .quote-text {
        font-size: 1.8rem;
    }
    
    .quest-section {
        padding: var(--space-3xl) 0;
    }
    
    .quest-section-title {
        font-size: 2.5rem;
    }
    
    /* Dual showcase responsive */
    .dual-showcase {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .desktop-showcase,
    .mobile-showcase {
        flex: 1;
    }
    
    .mobile-showcase {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .quest-main {
        padding-top: 80px;
    }
    
    .quest-progress {
        padding: var(--space-xs) 0;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
    
    .app-interface {
        padding: var(--space-md);
    }
    
    .final-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-frame {
        width: 320px;
        height: 640px;
        padding: 15px;
    }
    
    .mindrop-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .mindrop-features {
        order: 2;
        margin-top: var(--space-xl);
    }
    
    .phone-mockup {
        order: 1;
        margin-bottom: var(--space-lg);
    }
    
    .mobile-portfolio-content iframe {
        width: 100%;
        height: 100%;
        border-radius: 15px;
    }
    
    /* Force toutes les sections à être empilées sur mobile */
    .renovation-showcase .container,
    .mindrop-section .container {
        display: flex;
        flex-direction: column;
    }
    
    .section-intro {
        order: 1;
        margin-bottom: var(--space-lg);
    }
    
    .renovation-demo,
    .mindrop-showcase {
        order: 2;
    }
}

/* ============================================
   Animation Performance Optimizations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .quest-button::before {
        display: none;
    }
    
    .capability-card::before {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .quest-progress,
    .header,
    .scroll-indicator,
    .demo-controls,
    .final-actions {
        display: none !important;
    }
    
    .quest-main {
        padding-top: 0;
    }
    
    .quest-section {
        page-break-inside: avoid;
        min-height: auto;
    }
}


/* ============================================
   Discord Bot Page Styles
   ============================================ */
.discord-bot-page {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(114, 137, 218, 0.05));
}

.discord-bot-page .header {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

/* Bot Hero Section */
.bot-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, 
        rgba(88, 101, 242, 0.1) 0%, 
        rgba(114, 137, 218, 0.05) 100%);
    position: relative;
}

.bot-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235865f2' fill-opacity='0.05'%3E%3Cpath d='M0 0h60v60H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
}

.bot-hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.bot-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bot-avatar {
    position: relative;
    flex-shrink: 0;
}

.bot-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #5865f2, #7289da);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.online-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #43b581;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bot-details h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--qc-blue);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bot-tagline {
    font-size: 1.25rem;
    color: var(--qc-gray-600);
    margin-bottom: 2rem;
}

.bot-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--qc-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--qc-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    flex-shrink: 0;
    text-align: center;
}

.invite-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.invite-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.invite-button:hover::before {
    opacity: 1;
}

.invite-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.invite-note {
    margin-top: 1rem;
    color: var(--qc-gray-500);
    font-size: 0.875rem;
}

/* Features Section */
.bot-features {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--qc-blue);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(88, 101, 242, 0.1);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(114, 137, 218, 0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #5865f2;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--qc-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--qc-gray-600);
    line-height: 1.6;
}

.feature-card code {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

/* Commands Section */
.bot-commands {
    padding: 6rem 0;
    background: rgba(88, 101, 242, 0.05);
}

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

.command-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #5865f2;
}

.command-syntax {
    flex-shrink: 0;
    min-width: 280px;
}

.command-syntax code {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    display: block;
}

.command-description p {
    color: var(--qc-gray-600);
    margin: 0;
}

/* Technical Details */
.bot-tech {
    padding: 6rem 0;
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(88, 101, 242, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(88, 101, 242, 0.1);
}

.tech-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #5865f2;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-item p {
    color: var(--qc-gray-600);
    margin: 0;
}

.tech-item a {
    color: #5865f2;
    text-decoration: none;
    font-weight: 500;
}

.tech-item a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.bot-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #5865f2, #7289da);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bot-cta .invite-button {
    background: white;
    color: #5865f2;
}

.bot-cta .invite-button:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .bot-hero {
        padding: 6rem 0 4rem;
    }
    
    .bot-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .bot-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .bot-details h1 {
        font-size: 2rem;
    }
    
    .bot-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .command-item {
        flex-direction: column;
        gap: 1rem;
        text-align: left;
    }
    
    .command-syntax {
        min-width: auto;
        width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.125rem;
    }
}