/* ==========================================
   KILYAN WEB — v2 Premium
   Swiss Brutalist Minimal · Conversion-Focused
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8fc;
    --color-bg-dark: #0c0c14;
    --color-text: #1a1a2e;
    --color-text-light: #4a4a6a;
    --color-text-muted: #8888a8;
    --color-accent: #8a86f0;
    --color-accent-dark: #7370e0;
    --color-accent-light: rgba(138, 134, 240, 0.1);
    --color-border: #e8e8f0;
    --color-border-dark: #2a2a3e;
    --color-white: #ffffff;
    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-good: rgba(34, 197, 94, 0.1);
    --color-bad: rgba(239, 68, 68, 0.08);

    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    --container-max: 1200px;
    --container-padding: 1.5rem;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--color-text);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor { display: block; }
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
    font-size: 1rem;
    color: var(--color-text-light);
}

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

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(138, 134, 240, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    border-color: var(--color-text);
    background: var(--color-bg-alt);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-text);
}

.btn-full {
    width: 100%;
}

/* ==========================================
   SECTION TAG & HEADER
   ========================================== */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.section-tag-light {
    color: rgba(255,255,255,0.6);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header p {
    margin-top: var(--space-sm);
    font-size: 1.125rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-base);
}

.nav.scrolled {
    border-color: var(--color-border);
}

.nav-logo {
    display: flex;
    align-items: center;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-text);
}

.nav-cta {
    background: var(--color-text) !important;
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--color-accent) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.25rem;
    padding: var(--space-xs) 0;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav { padding: 0.75rem 1rem; }
    .mobile-menu {
        padding: 1rem;
        gap: 0.75rem;
        top: 60px;
    }
    .mobile-menu a {
        font-size: 1.125rem;
        padding: 0.5rem 0;
    }
}

/* ==========================================
   HERO
   ========================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
    padding: calc(80px + var(--space-2xl)) var(--container-padding) var(--space-2xl);
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
}

.hero-bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(138, 134, 240, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 134, 240, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-lg);
    padding: 0.5rem 1.125rem;
    background: var(--color-accent-light);
    border-radius: var(--radius-full);
    border: 1px solid rgba(138, 134, 240, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-line { display: block; }

.hero-italic {
    font-style: italic;
    color: var(--color-text-light);
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 540px;
    margin-bottom: var(--space-xl);
    line-height: 1.75;
    color: var(--color-text-light);
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.proof-avatars {
    display: flex;
}

.proof-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-left: -8px;
}

.proof-avatar:first-child { margin-left: 0; }

.hero-proof p strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Mockup browser */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-browser {
    width: 100%;
    max-width: 520px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 0 0 1px var(--color-border),
        0 20px 60px rgba(26, 26, 46, 0.1),
        0 4px 12px rgba(26, 26, 46, 0.06);
    overflow: hidden;
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-url {
    flex: 1;
    text-align: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.mockup-screen {
    padding: 1.25rem;
    background: var(--color-bg);
}

.mock-nav {
    height: 10px;
    background: var(--color-border);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    width: 60%;
}

.mock-hero {
    margin-bottom: 1.5rem;
}

.mock-title {
    height: 20px;
    background: linear-gradient(90deg, var(--color-text) 70%, transparent);
    border-radius: 4px;
    margin-bottom: 0.625rem;
    width: 85%;
    opacity: 0.15;
}

.mock-subtitle {
    height: 10px;
    background: var(--color-border);
    border-radius: 3px;
    margin-bottom: 0.5rem;
    width: 100%;
}

.mock-subtitle:last-of-type { width: 60%; margin-bottom: 1rem; }

.mock-cta {
    height: 32px;
    background: var(--color-text);
    border-radius: var(--radius-full);
    width: 140px;
    opacity: 0.85;
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mock-card {
    height: 48px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
    color: var(--color-text);
    white-space: nowrap;
    animation: floatBadge 4s ease-in-out infinite;
}

.badge-seo {
    top: 12%;
    right: -5%;
    color: var(--color-success);
    animation-delay: 0s;
}

.badge-speed {
    bottom: 12%;
    right: -2%;
    animation-delay: 2s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-scroll {
    display: none;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: calc(80px + 3rem);
        padding-bottom: 3rem;
        gap: var(--space-xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .mockup-browser {
        max-width: 400px;
        margin: 0 auto;
    }

    .badge-seo, .badge-speed {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(70px + 2rem) 1rem 2rem;
    }

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

    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================
   PROBLEM + SOLUTION (combined)
   ========================================== */
.problem-solution {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.ps-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.ps-intro {
    margin-top: var(--space-sm);
    font-size: 1.125rem;
    color: var(--color-text-light);
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.col-label {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.col-label-bad {
    color: var(--color-error);
    background: var(--color-bad);
}

.col-label-good {
    color: var(--color-success);
    background: var(--color-good);
}

.problems-col,
.solutions-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.problem-item,
.solution-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.problem-item {
    background: var(--color-bg);
    border-color: var(--color-border);
}

.solution-item {
    background: var(--color-bg);
    border-color: var(--color-border);
}

.problem-item:hover {
    border-color: rgba(239, 68, 68, 0.2);
}

.solution-item:hover {
    border-color: rgba(34, 197, 94, 0.2);
    transform: translateX(4px);
}

.prob-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bad);
    color: var(--color-error);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 2px;
}

.sol-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-good);
    color: var(--color-success);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: 2px;
}

.problem-item strong,
.solution-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.problem-item p,
.solution-item p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

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

@media (max-width: 768px) {
    .problem-solution {
        padding: 3rem 0;
    }

    .ps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   PORTFOLIO / ÉTUDES DE CAS
   ========================================== */
.portfolio-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

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

.case-study {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.case-study:hover {
    transform: translateY(-6px);
    border-color: var(--color-accent);
    box-shadow: 0 16px 48px rgba(138, 134, 240, 0.12);
}

.case-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.case-study:hover .case-image img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.case-study:hover .case-overlay {
    opacity: 1;
}

.case-overlay span {
    color: white;
    font-size: 0.9375rem;
    font-weight: 500;
}

.case-body {
    padding: 1.5rem;
}

.case-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.case-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

.case-sector {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.case-study h3 {
    margin-bottom: 0.625rem;
    color: var(--color-text);
}

.case-context {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

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

.result-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.result-item span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.portfolio-note {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-style: italic;
}

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

@media (max-width: 768px) {
    .portfolio-section {
        padding: 3rem 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .case-body {
        padding: 1.25rem;
    }
}

/* ==========================================
   PORTFOLIO MODAL
   ========================================== */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 20, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 24px 80px rgba(0,0,0,0.3);
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--color-bg-alt);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--color-text);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--color-text);
}

.modal-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.modal-description {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.modal-gallery {
    margin-bottom: 1.5rem;
}

.modal-main-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.modal-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.modal-thumbnail {
    aspect-ratio: 16/10;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumbnail.active,
.modal-thumbnail:hover {
    border-color: var(--color-accent);
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.modal-stat {
    text-align: center;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.modal-stat strong {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.modal-stat span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ==========================================
   PROCESS SECTION
   ========================================== */
.process-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.process-section .section-header {
    color: var(--color-white);
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: var(--color-border-dark);
}

.process-step {
    position: relative;
    text-align: center;
}

.step-marker {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: var(--color-bg-dark);
    border: 2px solid var(--color-border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.process-step:hover .step-marker {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
}

.step-num {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
}

.step-content h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.step-duration {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(138, 134, 240, 0.2);
}

@media (max-width: 768px) {
    .process-section {
        padding: 3rem 0;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .process-step {
        text-align: left;
        padding-left: 68px;
    }

    .step-marker {
        left: 0;
        top: 0;
        margin: 0;
        width: 48px;
        height: 48px;
    }

    .step-content h3 {
        font-size: 1.0625rem;
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.value-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.value-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

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

@media (max-width: 768px) {
    .about-section { padding: 2.5rem 0; }
    .about-values {
        grid-template-columns: 1fr 1fr;
        gap: 0.875rem;
    }
    .value-item { padding: 1.125rem; gap: 0.625rem; }
    .value-item strong { font-size: 0.875rem; }
    .value-item p { font-size: 0.8125rem; }
}

/* ==========================================
   TESTIMONIALS — 3 colonnes uniformes
   ========================================== */
.testimonials-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(138, 134, 240, 0.08);
}

.testimonial-stars {
    font-size: 0.9375rem;
    color: #f59e0b;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-author span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

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

@media (max-width: 768px) {
    .testimonials-section { padding: 2.5rem 0; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 0.875rem; }
    .testimonial-card { padding: 1.25rem; }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.faq-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 100px;
}

.faq-header h2 {
    margin-bottom: var(--space-md);
}

.faq-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(138, 134, 240, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition-base);
    font-family: var(--font-body);
}

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

.faq-question::before {
    content: '?';
    position: absolute;
    left: 1.5rem;
    width: 28px;
    height: 28px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-base);
}

.faq-item.active .faq-question::before {
    background: var(--color-accent);
    color: white;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
    color: var(--color-text-muted);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 4rem;
    color: var(--color-text-light);
    line-height: 1.75;
}

.faq-answer-content p {
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
}

.faq-answer-content p:last-child { margin-bottom: 0; }

.faq-answer-content strong {
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .faq-header {
        position: static;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-question {
        padding: 1.25rem 1.25rem 1.25rem 3.5rem;
        font-size: 1rem;
    }

    .faq-question::before {
        left: 1.25rem;
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 3.5rem;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-intro h2 {
    margin-bottom: var(--space-md);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-intro > p {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.contact-guarantees {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--space-xl);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    font-weight: 500;
}

.guarantee-item svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.contact-direct p {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.875rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: 0.9375rem;
    color: var(--color-text);
}

.contact-method:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.contact-method-whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
}

.contact-method svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Form */
.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(26, 26, 46, 0.06);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(138, 134, 240, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.btn-text,
.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading { display: none; }

.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: flex; }

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.form-legal {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.form-legal a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 1001;
}

.form-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.form-message.success {
    background: var(--color-success);
    color: var(--color-white);
}

.form-message.error {
    background: var(--color-error);
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group-split {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   LOGO SIMPLE - Kilyan Web
   ========================================== */
.logo-text-simple {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.03em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text-simple::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(138, 134, 240, 0.4);
    animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(138, 134, 240, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(138, 134, 240, 0);
    }
}

.logo-text-simple::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 20px;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover .logo-text-simple::after,
.footer-logo:hover .logo-text-simple::after {
    transform: scaleX(1);
}

.nav-logo:hover .logo-text-simple::before {
    animation: logoSpin 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(1); }
}

@media (max-width: 768px) {
    .logo-text-simple {
        font-size: 1.25rem;
    }
    
    .logo-text-simple::before {
        width: 6px;
        height: 6px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    max-width: 300px;
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.footer-links {
    display: flex;
    gap: var(--space-2xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 1.5rem;
    }

    .footer-links {
        gap: 2rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================
   ANIMATIONS & SCROLL REVEAL
   ========================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   UTILITIES
   ========================================== */
::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ==========================================
   EMAIL POPUP (inchangé)
   ========================================== */
.email-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.email-popup.active { display: flex; }

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 20, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.popup-container {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

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

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

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--color-bg-alt);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 2;
}

.popup-close:hover {
    background: var(--color-text);
    color: white;
    transform: rotate(90deg);
}

.popup-close svg {
    width: 20px;
    height: 20px;
}

.popup-body {
    padding: 2.5rem 2rem 2rem;
}

.popup-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.popup-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.3;
}

.popup-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    transition: all var(--transition-fast);
    -webkit-appearance: none;
    appearance: none;
}

.popup-form input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 0 0 3px rgba(138, 134, 240, 0.1);
}

.popup-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}

/* ==========================================
   BLOG PAGES (héritage)
   ========================================== */

/* Blog nav active */
.nav-links a.active {
    color: var(--color-accent);
    font-weight: 500;
}
/* ==========================================
   HERO — masquer mockup sur mobile
   ========================================== */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: calc(80px + 3rem);
        padding-bottom: 3rem;
        gap: 0;
        max-width: 100%;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-proof { justify-content: center; }
}

@media (max-width: 768px) {
    .hero { padding: calc(65px + 2rem) 1rem 2rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-title { font-size: clamp(2rem, 9vw, 2.75rem); }
    .hero-subtitle { font-size: 0.9375rem; }
    .hero-badge { font-size: 0.8125rem; }
}

/* ==========================================
   SECTION CONSTAT — layout compact
   ========================================== */
.problem-solution {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-alt);
}

.ps-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.ps-header h2 { margin-bottom: 0.75rem; }

.ps-intro {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin: 0;
}

.ps-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.ps-col {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.ps-col-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.ps-col-bad .ps-col-label { color: var(--color-error); }
.ps-col-good .ps-col-label { color: var(--color-success); }

.ps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ps-list li {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
}

.ps-col-bad .ps-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--color-error);
    font-weight: 700;
}

.ps-col-good .ps-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.ps-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    flex-shrink: 0;
}

.ps-divider span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 0.375rem 0.5rem;
    white-space: nowrap;
}

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

@media (max-width: 768px) {
    .problem-solution { padding: 2.5rem 0; }
    .ps-header { margin-bottom: 1.5rem; }
    .ps-header h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .ps-columns { grid-template-columns: 1fr; gap: 0.75rem; }
    .ps-divider { width: 100%; padding: 0.125rem 0; }
    .ps-divider span { font-size: 0.6875rem; }
    .ps-col { padding: 1.125rem; }
    .ps-list li { font-size: 0.875rem; }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(138, 134, 240, 0.1);
}

.service-card-featured {
    border-color: var(--color-accent);
    background: var(--color-bg);
    box-shadow: 0 4px 24px rgba(138, 134, 240, 0.1);
}

.service-badge {
    position: absolute;
    top: -13px;
    left: 1.75rem;
    background: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.875rem;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.service-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.service-card h3 {
    font-size: 1.175rem;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0;
}

.service-card > p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin: 0;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--color-text);
    padding-left: 1.125rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.8125rem;
}

.service-cta {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .services-section { padding: 2.5rem 0; }
    .services-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .service-card { padding: 1.5rem; }
}

/* ==========================================
   PROCESS — slider mobile
   ========================================== */
.process-slider-wrapper { position: relative; }

@media (max-width: 768px) {
    .process-section { padding: 2.5rem 0; }
    .process-section .section-header { margin-bottom: 1.75rem; }

    .process-slider-wrapper { overflow: hidden; }

    .process-timeline {
        display: flex;
        gap: 0;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .process-timeline::before { display: none; }

    .process-step {
        min-width: 100%;
        text-align: left;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }

    .step-marker {
        margin: 0 0 -28px 0;
        width: 48px;
        height: 36px;
    }

    .step-content h3 { font-size: 1.125rem; margin-bottom: 0.5rem; margin-left: 3.5rem; }
    .step-content p { font-size: 0.9375rem; color: rgba(255,255,255,0.65); }
    
    .about-intro, .section-header, .ps-header { text-align:left; }

    .process-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.75rem;
    }

    .process-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--color-border-dark);
        cursor: pointer;
        transition: all var(--transition-base);
    }

    .process-dot.active {
        background: var(--color-accent);
        width: 24px;
        border-radius: 4px;
    }
}

/* ==========================================
   ABOUT — version plate sans sidebar
   ========================================== */
.about-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.about-intro h2 { margin-bottom: 0.875rem; }

.about-intro p {
    font-size: 1.0625rem;
    line-height: 1.75;
}

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

@media (max-width: 768px) {
    .about-section { padding: 2.5rem 0; }
    .about-values { grid-template-columns: 1fr 1fr !important; gap: 0.875rem !important; }
    .value-item { padding: 1.125rem !important; gap: 0.625rem !important; flex-direction: column; }
    .value-item strong { font-size: 0.875rem; }
    .value-item p { font-size: 0.8125rem; }
}

/* ==========================================
   TESTIMONIALS — tous uniformes (sans featured)
   ========================================== */
@media (max-width: 768px) {
    .testimonials-section { padding: 2.5rem 0; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 0.875rem; }
    .testimonial-card { padding: 1.25rem; }
}

/* ==========================================
   CONTACT — layout vertical simplifié
   ========================================== */
.contact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.contact-top-text h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.contact-top-text > p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
}

.contact-methods-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.contact-method-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.contact-method-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.contact-method-pill-wa:hover { border-color: #25D366; color: #25D366; }

.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .contact-top { grid-template-columns: 1fr; gap: var(--space-xl); }
}

@media (max-width: 768px) {
    .contact-section { padding: 2.5rem 0 5rem; }
    .contact-top { gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
    .form-row-split { grid-template-columns: 1fr; gap: 0; }
}

/* ==========================================
   BARRE CTA MOBILE FIXE
   ========================================== */
.mobile-cta-bar { display: none; }

@media (max-width: 768px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 998;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--color-border);
        padding: 0.625rem 1rem;
        gap: 0.625rem;
        transform: translateY(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 -4px 20px rgba(26, 26, 46, 0.08);
    }

    .mobile-cta-bar.visible { transform: translateY(0); }

    .mobile-cta-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 600;
        padding: 0.75rem;
        border-radius: var(--radius-md);
        text-decoration: none;
        transition: all var(--transition-fast);
        white-space: nowrap;
    }

    .mobile-cta-ghost {
        background: var(--color-bg-alt);
        color: var(--color-text);
        border: 1px solid var(--color-border);
    }

    .mobile-cta-primary {
        background: var(--color-text);
        color: white;
    }

    .mobile-cta-primary:active { background: var(--color-accent); }
}

/* ==========================================
   PORTFOLIO MINI GRID
   ========================================== */
.portfolio-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.portfolio-mini-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.portfolio-mini-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 12px 36px rgba(138, 134, 240, 0.1);
}

.portfolio-mini-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.portfolio-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-mini-card:hover .portfolio-mini-img img {
    transform: scale(1.04);
}

.portfolio-mini-img-empty {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.portfolio-mini-body {
    padding: 1.125rem 1.25rem;
}

.portfolio-mini-body h3 {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.portfolio-mini-body p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

.portfolio-mini-placeholder {
    opacity: 0.45;
    pointer-events: none;
}

.portfolio-mini-card:not(.portfolio-mini-placeholder) {
    cursor: zoom-in;
}

.portfolio-mini-zoom {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-mini-card:not(.portfolio-mini-placeholder):hover .portfolio-mini-zoom {
    opacity: 1;
}

@media (max-width: 640px) {
    .portfolio-mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .portfolio-mini-body { padding: 0.875rem 1rem; }
}

/* ==========================================
   ABOUT — layout 2 colonnes
   ========================================== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-left {
    position: sticky;
    top: 100px;
    text-align: left;
    max-width: none;
    margin: 0;
}

.about-left h2 { margin-bottom: 0.875rem; }

.about-left p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-light);
}

.about-split .about-values {
    grid-template-columns: repeat(2, 1fr) !important;
    margin: 0;
}

@media (max-width: 1024px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .about-left { position: static; }
}

/* ==========================================
   LIGHTBOX PORTFOLIO
   ========================================== */
.kweb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.kweb-lightbox.active {
    display: flex;
}

.kweb-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 20, 0.92);
    backdrop-filter: blur(8px);
}

.kweb-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.kweb-lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.kweb-lightbox-close {
    position: absolute;
    top: -2.75rem;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-base);
}

.kweb-lightbox-close:hover {
    background: rgba(255,255,255,0.25);
}