/* =============================================
   AG Webflow — Complete Design System v3
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #07070b; --bg2: #0e0e16; --bg3: #14141f; --bg4: #1a1a28;
    --text: #eeeef2; --text2: #8b8ba0; --text3: #55556a;
    --accent: #7c5cfc; --accent2: #a78bfa; --accent-glow: rgba(124,92,252,.12);
    --cyan: #06b6d4; --green: #34d399;
    --border: rgba(255,255,255,.06); --border2: rgba(255,255,255,.1);
    --nav-bg: rgba(7,7,11,.85);
    --terminal-bg: var(--bg2);
    --shadow-soft: rgba(0,0,0,.4);
    --cursor: #ffffff;
    --radius: 16px;
    --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font2: 'Bricolage Grotesque', 'Geist', -apple-system, sans-serif;
}

html { transition: background-color .4s ease; }
body, .nav, .footer, .sticky-cta, .cookie-banner, .testimonial-card,
.tarif-block, .faq-q, .terminal-bar, .hero-terminal,
.marquee-wrap, .form-group input, .form-group select,
.form-group textarea, .calc-pill, .profile-choice, .ed-flow, .ed-flow-node {
    transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; background: var(--bg); }
body { font-family: var(--font); background: transparent; color: var(--text); line-height: 1.6; overflow-x: hidden; cursor: none; }
a { text-decoration: none; color: inherit; cursor: none; }
button, input, select, textarea { cursor: none; }
ul { list-style: none; }
::selection { background: rgba(124,92,252,.3); color: #fff; }

/* .gradient-text is defined in the animations section below */

/* ==================== ACCESSIBILITY ==================== */
.skip-link {
    position: absolute; top: -100px; left: 16px; z-index: 9999;
    background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px;
    font-weight: 600; font-size: .9rem;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ==================== CUSTOM CURSOR ==================== */
.cursor, .cursor-trail {
    position: fixed; border-radius: 50%; pointer-events: none; z-index: 9990;
    transition: transform .15s ease;
}
.cursor {
    width: 8px; height: 8px; background: var(--accent);
    transform: translate(-50%, -50%);
}
.cursor-trail {
    width: 32px; height: 32px;
    border: 1px solid rgba(124,92,252,.4);
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, border-color .2s;
}
.cursor-trail.hovering {
    width: 52px; height: 52px;
    border-color: var(--accent);
    background: rgba(124,92,252,.06);
}

/* ==================== SCROLL PROGRESS ==================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 999;
    background: linear-gradient(90deg, var(--accent), var(--cyan)); width: 0;
    transition: width .1s linear;
}

/* ==================== STICKY CTA ==================== */
.sticky-cta {
    position: fixed; bottom: -80px; left: 0; right: 0; z-index: 90;
    transition: bottom .4s cubic-bezier(.4,0,.2,1);
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-inner {
    max-width: 1280px; margin: 0 auto; padding: 14px 40px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(14,14,22,.92); backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
}
.sticky-cta-inner span { font-size: .9rem; font-weight: 600; color: var(--text2); }

/* ==================== NAV ==================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0; transition: .3s ease;
}
.nav.scrolled {
    background: var(--nav-bg); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border); padding: 12px 0;
}
.nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-right {
    display: flex; align-items: center; gap: 14px;
}
.logo {
    font-family: var(--font2); font-size: 1.3rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 10px;
    line-height: 1; letter-spacing: -.01em;
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.08); }
.logo-a { color: var(--accent); }
.logo-icon {
    width: 28px; height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform .4s cubic-bezier(.2,.7,.1,1);
}
.logo-footer .logo-icon { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .87rem; font-weight: 500; color: var(--text2); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    font-size: .84rem; font-weight: 600; color: #fff;
    background: var(--accent); padding: 10px 22px; border-radius: 100px; transition: .2s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* Theme toggle */
.burger { display: none; background: none; border: none; width: 28px; height: 20px; position: relative; }
.burger span {
    display: block; width: 100%; height: 2px; background: var(--text);
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); transition: .3s;
}
.burger span::before, .burger span::after {
    content: ''; display: block; width: 100%; height: 2px; background: var(--text);
    position: absolute; left: 0; transition: .3s;
}
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }

/* Nav dropdowns (2026 megamenu-lite) */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-link-dropdown {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: color .2s ease;
}
.nav-link-dropdown:hover,
.nav-link-dropdown[aria-expanded="true"] {
    color: var(--accent);
}
.nav-chevron {
    width: 11px;
    height: 11px;
    transition: transform .25s ease;
}
.nav-link-dropdown[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: -16px;
    min-width: 280px;
    background: rgba(7,7,11,0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border2);
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 100;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.nav-item-dropdown.is-open .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.nav-dropdown a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: background .2s ease;
}
.nav-dropdown a:hover {
    background: color-mix(in oklch, var(--bg2), var(--accent) 8%);
}
.nav-dd-title {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.nav-dd-desc {
    font-family: var(--font);
    font-size: 0.78rem;
    color: var(--text3);
    line-height: 1.4;
}
.nav-dropdown a:hover .nav-dd-desc {
    color: var(--text2);
}

/* Phone link in nav-right */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font2);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text2);
    padding: 6px 12px;
    border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.nav-phone:hover {
    color: var(--accent);
    background: color-mix(in oklch, transparent, var(--accent) 8%);
}
.nav-phone svg {
    width: 14px;
    height: 14px;
}

/* Mobile: dropdowns become accordions in burger menu */
@media (max-width: 880px) {
    .nav-item-dropdown {
        display: block;
        width: 100%;
    }
    .nav-link-dropdown {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
    }
    .nav-dropdown {
        position: static;
        background: none;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height .3s ease, padding .3s ease;
    }
    .nav-item-dropdown.is-open .nav-dropdown {
        max-height: 600px;
        padding: 8px 0 12px 16px;
    }
    .nav-phone {
        display: none;
    }
}

/* ==================== BUTTONS ==================== */
.btn-main, .btn-main-sm {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font); font-weight: 600;
    background: var(--accent); color: #fff; border-radius: 100px; border: none;
    transition: .25s cubic-bezier(.4,0,.2,1);
}
.btn-main { font-size: .95rem; padding: 15px 30px; }
.btn-main-sm { font-size: .88rem; padding: 12px 24px; }
.btn-sm { font-size: .82rem; padding: 10px 20px; }
.btn-main:hover, .btn-main-sm:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 0 30px rgba(124,92,252,.3); }
.btn-lg { font-size: 1.05rem; padding: 18px 38px; }
.btn-ghost {
    font-family: var(--font); font-size: .95rem; font-weight: 600;
    color: var(--text2); padding: 15px 30px; border-radius: 100px;
    border: 1px solid var(--border2); transition: .2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }
.btn-outline-sm {
    display: inline-flex; font-family: var(--font); font-size: .88rem; font-weight: 600;
    color: var(--text2); padding: 12px 24px; border-radius: 100px;
    border: 1px solid var(--border2); transition: .2s; background: none;
}
.btn-outline-sm:hover { color: var(--accent2); border-color: var(--accent); }

/* ==================== HERO ==================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 120px 40px 0; max-width: 1280px; margin: 0 auto;
}
.hero-grain {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px;
}
.hero-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
    font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--accent2); margin-bottom: 24px;
}
.hero-title {
    font-family: var(--font2); font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 24px;
}
.hero-line { display: block; overflow: hidden; }
.hero-line span { display: inline-block; }
.hero-accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.hero-text {
    font-size: 1.05rem; color: var(--text2); line-height: 1.7;
    max-width: 480px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Terminal */
.hero-terminal {
    background: var(--terminal-bg); border: 1px solid var(--border2); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 20px 80px var(--shadow-soft), 0 0 60px rgba(124,92,252,.06);
}
.terminal-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 14px 18px;
    background: var(--bg3); border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 7px; justify-self: start; }
.terminal-title {
    justify-self: center;
    font-family: var(--font2);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text2);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bg4); border: 1px solid var(--border2); }
@media (max-width: 540px) {
    .terminal-title { font-size: 0.72rem; }
}
.terminal-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.terminal-line { display: flex; gap: 12px; align-items: flex-start; }
.t-label {
    flex-shrink: 0; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: 3px 8px; border-radius: 4px; background: var(--bg4); color: var(--text2);
}
.t-label-ai { background: var(--accent-glow); color: var(--accent); }
.t-msg { font-size: .85rem; color: var(--text2); line-height: 1.5; }
.terminal-response .t-msg { color: var(--text); }
.terminal-cursor {
    display: inline-block; width: 8px; height: 16px; background: var(--accent);
    border-radius: 1px; animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==================== SCROLL-REVEAL HERO (Aceternity-inspired vanilla) ==================== */
.scroll-reveal {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 24px 16px 0;
    overflow: hidden;
}
.shader-bg {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0;
    transition: opacity .25s linear;
    pointer-events: none;
    --shader-opacity: .5;
}
.shader-bg.is-ready { opacity: var(--shader-opacity); }
@media (prefers-reduced-motion: reduce) {
    .shader-bg { display: none; }
}
@media (min-width: 768px) {
    .scroll-reveal { min-height: 100vh; padding: 40px 32px 0; }
}
.scroll-reveal-inner {
    perspective: 800px;
    perspective-origin: center 30%;
    transform-style: preserve-3d;
    width: 100%;
    padding: 40px 0 0;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .scroll-reveal-inner { padding: 80px 0 0; }
}
.scroll-reveal-header {
    max-width: 1024px;
    margin: 0 auto 0;
    text-align: center;
    will-change: transform;
}
.scroll-reveal-eyebrow {
    font-family: var(--font2);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
}
.scroll-reveal-title {
    font-family: var(--font2);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}
.scroll-reveal-title-emph {
    display: block;
    font-size: clamp(3.2rem, 8vw, 6.4rem);
    font-weight: 700;
    margin-top: 12px;
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--text);
}
.scroll-reveal-title-emph em {
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
}
.hero-title-tail {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 0.4em;
    row-gap: 6px;
    margin-top: 28px;
    font-family: var(--font2);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--text2);
}
.hero-title-tail-label {
    color: var(--text2);
    font-weight: 500;
}
.hero-title-tail .word-rotate {
    height: 1em;
    line-height: 1;
    vertical-align: baseline;
}
.hero-title-tail .word-rotate-item {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
    height: 1em;
    line-height: 1;
    padding-right: 0;
}

/* ==================== ROTATING WORD (hero) ==================== */
.word-rotate {
    position: relative;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    height: 1.05em;
    line-height: 1.05;
    width: 0;
    transition: width .55s cubic-bezier(.5, 1.6, .4, 1);
}
.word-rotate-track {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .55s cubic-bezier(.5, 1.6, .4, 1);
    will-change: transform;
}
.word-rotate-item {
    flex-shrink: 0;
    height: 1.05em;
    line-height: 1.05;
    white-space: nowrap;
    color: var(--accent);
    font-weight: 700;
    font-style: italic;
    padding-right: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .word-rotate-track { transition: none; }
}

.scroll-reveal-card {
    max-width: 1024px;
    margin: 64px auto 0;
    height: 26rem;
    border: 2px solid var(--border2);
    background: var(--bg3);
    padding: 8px;
    border-radius: 16px;
    box-shadow:
        0 9px 20px rgba(0,0,0,0.35),
        0 37px 37px rgba(0,0,0,0.25),
        0 84px 50px rgba(0,0,0,0.15),
        0 149px 60px rgba(0,0,0,0.04);
    will-change: transform;
    transform: rotateX(25deg) scale(1.05);
    transform-origin: center center;
    backface-visibility: hidden;
}
@media (min-width: 768px) {
    .scroll-reveal-card {
        height: 38rem;
        padding: 18px;
        margin-top: 80px;
    }
}
.scroll-reveal-screen {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg2);
    position: relative;
}

/* Terminal embedded inside the scroll-reveal card */
.hero-terminal-embed {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg2);
}
.hero-terminal-embed .terminal-bar {
    flex-shrink: 0;
    display: flex;
    gap: 7px;
    padding: 14px 20px;
    background: var(--bg3);
    border-bottom: 1px solid var(--border2);
}
.hero-terminal-embed .terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg4);
    border: 1px solid var(--border2);
}
.hero-terminal-embed .terminal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: clamp(28px, 3.5vw, 48px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.2vw, 28px);
    overflow-y: auto;
}
.hero-terminal-embed .terminal-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.hero-terminal-embed .t-label {
    flex-shrink: 0;
    font-family: var(--font2);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--bg4);
    color: var(--text2);
}
.hero-terminal-embed .t-label-ai {
    background: var(--accent-glow);
    color: var(--accent);
}
.hero-terminal-embed .t-msg {
    font-size: clamp(0.92rem, 1.1vw, 1.05rem);
    color: var(--text);
    line-height: 1.6;
}
.hero-terminal-embed .terminal-line:not(.terminal-response) .t-msg { color: var(--text2); }
.hero-terminal-embed .terminal-cursor {
    display: inline-block;
    width: 9px;
    height: 18px;
    background: var(--accent);
    border-radius: 1px;
    animation: blink 1.2s step-end infinite;
    align-self: flex-start;
    margin-left: 4px;
}

/* Hero substance (body + CTAs + metrics) below the scroll-reveal card */
.hero-substance {
    max-width: 1024px;
    margin: clamp(48px, 6vw, 96px) auto 0;
    padding: 0 clamp(16px, 2vw, 32px);
    text-align: center;
}
.hero-substance .hero-text {
    color: var(--text2);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-substance .hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.hero-metrics-block {
    max-width: 980px; margin: 0 auto;
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column; gap: clamp(20px, 2.5vw, 28px);
}
.hero-metrics-eyebrow {
    font-family: var(--font2); font-size: .72rem; font-weight: 600;
    letter-spacing: .2em; color: var(--accent); text-transform: uppercase;
    align-self: flex-start;
}
.hero-substance .hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    margin: 0; padding: 0; border: 0;
}
.hero-substance .hero-metrics .metric-label {
    font-size: .78rem; line-height: 1.45; color: var(--text3);
    max-width: 26ch;
}
@media (max-width: 768px) {
    .hero-substance .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Inside-card showcase composition */
.scroll-reveal-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 60px);
    background:
        radial-gradient(ellipse 80% 60% at center, color-mix(in oklch, transparent, var(--accent) 10%) 0%, transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28'><circle cx='1' cy='1' r='0.55' fill='%23ffffff' opacity='0.06'/></svg>");
    background-size: auto, 28px 28px;
    background-repeat: no-repeat, repeat;
    text-align: center;
}
.scroll-reveal-corner {
    position: absolute;
    top: clamp(16px, 2vw, 28px);
    left: clamp(16px, 2vw, 28px);
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--text3);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.scroll-reveal-corner::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: srPulse 1.8s ease-in-out infinite;
}

.scroll-reveal-tick {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid var(--text3);
    opacity: 0.4;
}
.scroll-reveal-tick-tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.scroll-reveal-tick-tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.scroll-reveal-tick-bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.scroll-reveal-tick-br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.scroll-reveal-statement {
    font-family: var(--font2);
    font-weight: 600;
    font-size: clamp(1.4rem, 3.6vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text);
    max-width: 720px;
}
.scroll-reveal-statement em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

.scroll-reveal-rule {
    width: 60px;
    height: 1px;
    background: var(--border2);
    margin: clamp(20px, 3vw, 36px) auto;
}

.scroll-reveal-tags {
    display: flex;
    gap: clamp(12px, 2vw, 28px);
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--text2);
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: center;
}
.scroll-reveal-tags span:nth-child(even) { color: var(--text3); }

.scroll-reveal-timestamp {
    position: absolute;
    bottom: clamp(16px, 2vw, 28px);
    right: clamp(16px, 2vw, 28px);
    font-family: var(--font2);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: var(--text3);
    text-transform: uppercase;
}

@keyframes srPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal-card {
        transform: rotateX(0) scale(1) !important;
    }
    .scroll-reveal-header { transform: none !important; }
    .scroll-reveal-corner::before { animation: none; }
}

/* Cross-links — editorial list (replaces card-grid pattern) */
.cross-list { border-top: 1px solid var(--border2); }
.cross-list-row {
    display: grid;
    grid-template-columns: 200px 1fr 160px 40px;
    gap: 48px;
    padding: 36px 4px;
    border-bottom: 1px solid var(--border2);
    align-items: center;
    transition: background .35s ease, padding-left .35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: var(--text);
}
.cross-list-row:hover {
    background: color-mix(in oklch, var(--bg2), var(--accent) 4%);
    padding-left: 24px;
}
.cross-list-row::before {
    content: "→";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font2);
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transition: opacity .3s ease, left .35s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.1rem;
}
.cross-list-row:hover::before { opacity: 1; left: 6px; }
.cross-list-title {
    font-family: var(--font2);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}
.cross-list-desc {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 520px;
}
.cross-list-meta {
    font-family: var(--font2);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--text3);
    text-transform: uppercase;
    text-align: right;
    white-space: nowrap;
}
.cross-list-arrow {
    font-family: var(--font2);
    font-size: 1.3rem;
    color: var(--accent);
    text-align: right;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cross-list-row:hover .cross-list-arrow { transform: translateX(6px) translateY(-2px); }

@media (max-width: 880px) {
    .cross-list-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 0;
    }
    .cross-list-row:hover { padding-left: 0; }
    .cross-list-row::before { display: none; }
    .cross-list-meta { text-align: left; }
    .cross-list-arrow { display: none; }
}

/* Spec list — editorial 4-row layout (replaces 2x2 card grid for types/principles) */
.spec-list {
    display: flex;
    flex-direction: column;
    position: relative;
}
.spec-row {
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    gap: 56px;
    padding: 64px 0;
    border-top: 1px solid var(--border2);
    align-items: start;
    position: relative;
    transition: background .35s ease;
}
.spec-list > .spec-row:last-child { border-bottom: 1px solid var(--border2); }

/* Featured entry — distinct violet wash + extra breathing */
.spec-row-featured {
    background: color-mix(in oklch, var(--bg), var(--accent) 5%);
    padding: 80px 36px;
    margin: 0 -36px;
    border-top: 1px solid color-mix(in oklch, var(--border2), var(--accent) 25%);
    border-bottom: 1px solid color-mix(in oklch, var(--border2), var(--accent) 25%);
}
.spec-list > .spec-row-featured + .spec-row { border-top: none; }
.spec-row-featured::after {
    content: "—  RECOMMANDÉ";
    position: absolute;
    top: 28px;
    right: 36px;
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--accent);
    text-transform: uppercase;
}

/* Tag (all entries get violet now for brand consistency) */
.spec-tag {
    font-family: var(--font2);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}
.spec-tag-featured {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.78rem;
}

/* Title */
.spec-title {
    font-family: var(--font2);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 0.98;
    margin: 0;
    color: var(--text);
}
.spec-title-xl {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 700;
}
.spec-title-lg { font-size: clamp(2rem, 3vw, 2.6rem); }
.spec-title-md { font-size: clamp(1.7rem, 2.4vw, 2rem); }

/* Body */
.spec-desc {
    color: var(--text2);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 22px;
    max-width: 540px;
}

/* Features list — violet arrow prefix */
.spec-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    font-family: var(--font2);
    font-size: 0.92rem;
    color: var(--text);
}
.spec-features li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: baseline;
    line-height: 1.4;
}
.spec-features li::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95em;
}

/* Price block */
.spec-price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}
.spec-price {
    font-family: var(--font2);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--accent);
    line-height: 1;
}
.spec-row-featured .spec-price {
    font-size: clamp(2rem, 3vw, 2.8rem);
}
.spec-price-meta {
    font-family: var(--font2);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text3);
    text-transform: uppercase;
}

/* Responsive — keep visual containment, never look like raw text */
@media (max-width: 880px) {
    .spec-list { gap: 4px; }
    .spec-row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 24px;
        background: var(--bg2);
        border: 1px solid var(--border2);
        border-bottom: none;
        margin: 0;
        position: relative;
    }
    .spec-list > .spec-row:last-child {
        border-bottom: 1px solid var(--border2);
    }
    .spec-row-featured {
        background: color-mix(in oklch, var(--bg2), var(--accent) 8%);
        border-color: color-mix(in oklch, var(--border2), var(--accent) 40%);
        padding: 44px 24px;
    }
    .spec-row-featured::after {
        top: 16px;
        right: 24px;
        font-size: 0.65rem;
    }
    .spec-price-block {
        text-align: left;
        flex-direction: row;
        gap: 20px;
        align-items: baseline;
        padding-top: 8px;
        border-top: 1px solid var(--border2);
    }
    .spec-row-featured .spec-price-block {
        border-color: color-mix(in oklch, var(--border2), var(--accent) 30%);
    }
}

/* Prose utilities — for blog articles + content pages */
.prose-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px 100px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}
.prose-body p {
    margin-bottom: 20px;
}
.prose-h2 {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.02em;
    margin: 60px 0 24px;
}
.prose-h3 {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--text);
}

/* Legal pages — h2 with rule above */
.legal-h2 {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: -0.015em;
    margin: 48px 0 20px;
    border-top: 1px solid var(--border2);
    padding-top: 36px;
}

/* Accent link with underline */
.link-accent {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Tool chips (integrations row) */
.tool-chip {
    border: 1px solid var(--border2);
    padding: 14px 22px;
    font-family: var(--font2);
    font-weight: 500;
    font-size: 0.9rem;
}
.tool-chip-more {
    background: var(--bg3);
    color: var(--text2);
}

/* FAQ accordion in blog articles */
.faq-acc {
    border-top: 1px solid var(--border2);
    padding: 20px 0;
}
.faq-acc:last-of-type {
    border-bottom: 1px solid var(--border2);
}
.faq-acc summary {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary > span:last-child {
    font-family: var(--font2);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text3);
    transition: transform .2s ease;
}
.faq-acc[open] summary > span:last-child {
    transform: rotate(45deg);
}
.faq-acc p {
    margin-top: 16px;
    color: var(--text2);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Italic em in headings (used a lot) */
.em-soft {
    font-style: italic;
    color: var(--text2);
}
/* Inline accent color (for emphasis in headlines) */
.text-accent {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
}

/* Pricing tabs (Création / Maintenance) */
.pricing-tabs-wrap {
    display: flex;
    justify-content: center;
    margin: 40px 0 56px;
}
.pricing-tabs {
    display: inline-flex;
    gap: 0;
    border-bottom: 1px solid var(--border2);
    position: relative;
}
.pricing-tab {
    background: none;
    border: 0;
    padding: 16px 36px 18px;
    cursor: pointer;
    color: var(--text2);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .25s ease, border-color .25s ease;
}
.pricing-tab:hover { color: var(--text); }
.pricing-tab.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}
.pricing-tab-label {
    font-family: var(--font2);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.pricing-tab.active .pricing-tab-label { color: var(--accent); }
.pricing-tab-desc {
    font-family: var(--font);
    font-size: 0.78rem;
    color: var(--text3);
    font-weight: 400;
    letter-spacing: 0.02em;
}
.pricing-panel {
    display: none;
}
.pricing-panel.active {
    display: block;
    animation: pricingFadeIn .35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pricingFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
    .pricing-tabs {
        width: 100%;
        flex-direction: column;
        gap: 6px;
        border-bottom: 0;
    }
    .pricing-tab {
        border: 1px solid var(--border2);
        padding: 14px 18px;
        margin-bottom: 0;
        align-items: flex-start;
        text-align: left;
    }
    .pricing-tab.active {
        border-color: var(--accent);
        background: color-mix(in oklch, var(--bg2), var(--accent) 6%);
    }
}

/* Plan cards (modern pricing layout) */
.plan-cards {
    display: grid;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 24px;
    margin: 56px 0 36px;
    align-items: stretch;
}
.plan-card {
    background: var(--bg2);
    border: 1px solid var(--border2);
    padding: 44px 32px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.plan-card:hover {
    border-color: color-mix(in oklch, var(--border2), var(--accent) 35%);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px var(--shadow-soft);
}
.plan-card-featured {
    background: color-mix(in oklch, var(--bg2), var(--accent) 5%);
    border: 1px solid color-mix(in oklch, var(--border2), var(--accent) 45%);
    transform: scale(1.03);
    z-index: 1;
    box-shadow: 0 20px 50px rgba(124,92,252,0.08);
}
.plan-card-featured:hover {
    transform: scale(1.03) translateY(-4px);
    border-color: var(--accent);
}
.plan-card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 99px;
    white-space: nowrap;
}
.plan-card-head {
    margin-bottom: 28px;
}
.plan-card-tag {
    font-family: var(--font2);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text3);
    display: block;
    margin-bottom: 14px;
}
.plan-card-featured .plan-card-tag { color: var(--accent); }
.plan-card-name {
    font-family: var(--font2);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    margin: 0 0 12px;
    color: var(--text);
}
.plan-card-tagline {
    color: var(--text2);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}
.plan-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.plan-card-price-val {
    font-family: var(--font2);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
    letter-spacing: -0.035em;
}
.plan-card-featured .plan-card-price-val {
    color: var(--accent);
    font-size: 4rem;
}
.plan-card-price-unit {
    font-family: var(--font2);
    font-size: 1rem;
    color: var(--text2);
    font-weight: 500;
}
.plan-card-price-unit small {
    display: block;
    font-size: 0.7rem;
    color: var(--text3);
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0.08em;
}
.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.plan-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--text);
}
.plan-card-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.5;
}
.plan-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border: 1px solid var(--border2);
    border-radius: 6px;
    font-family: var(--font2);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease, color .25s ease;
    text-align: center;
}
.plan-card-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.plan-card-cta-featured {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff !important;
}
.plan-card-cta-featured:hover {
    background: transparent;
    color: var(--accent) !important;
    border-color: var(--accent);
}
@media (max-width: 880px) {
    .plan-cards {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .plan-card-featured {
        transform: none;
    }
    .plan-card-featured:hover {
        transform: translateY(-4px);
    }
}
.text-accent-italic {
    color: var(--accent) !important;
    -webkit-text-fill-color: var(--accent) !important;
    font-style: italic;
}

/* Article header (blog posts) */
.article-header {
    padding: 180px 40px 80px;
    max-width: 860px;
    margin: 0 auto;
}
.breadcrumb {
    font-family: var(--font2);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 40px;
}
.breadcrumb-sep {
    margin: 0 12px;
    color: var(--text3);
}
.breadcrumb a { color: var(--text2); }
.breadcrumb .breadcrumb-current { color: var(--accent); }

.article-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-bottom: 32px;
    font-family: var(--font2);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text3);
}
.article-meta .article-meta-cat { color: var(--accent); }

.article-h1 {
    font-family: var(--font2);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}

.article-lead {
    font-family: var(--font);
    font-size: 1.25rem;
    line-height: 1.65;
    color: var(--text2);
    max-width: 720px;
}

.byline {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.byline-name {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 0.95rem;
}
.byline-role {
    font-family: var(--font2);
    font-size: 0.8rem;
    color: var(--text3);
}

/* TL;DR aside — uses full border instead of banned side-stripe */
.tldr {
    background: color-mix(in oklch, var(--bg2), var(--accent) 3%);
    border: 1px solid color-mix(in oklch, var(--border2), var(--accent) 25%);
    padding: 32px 36px;
    margin-bottom: 60px;
}
.tldr-label {
    font-family: var(--font2);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
.tldr-body {
    margin: 0 !important;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.65;
}

/* Article CTA block (bottom of article) */
.article-cta {
    margin-top: 80px;
    padding: 48px;
    background: var(--bg2);
    border: 1px solid var(--border);
}
.article-cta-h2 {
    font-family: var(--font2);
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.article-cta p {
    color: var(--text2);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* ==================== ABOUT PILLARS (a-propos) ==================== */
.about-pillars {
    margin: 40px 0 48px;
    display: flex; flex-direction: column;
    border-top: 1px solid var(--border2);
}
.about-pillar {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 28px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border2);
    align-items: start;
    position: relative;
    transition: padding-left .35s ease;
}
.about-pillar::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width .6s cubic-bezier(.2,.7,.1,1);
}
.about-pillar:hover::before { width: 100%; }
.about-pillar:hover { padding-left: 8px; }
.about-pillar-num {
    font-family: var(--font2);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: .9;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    letter-spacing: -.04em;
    transition: color .3s, -webkit-text-stroke .3s;
}
.about-pillar:hover .about-pillar-num {
    color: var(--accent);
    -webkit-text-stroke: 0;
}
.about-pillar-content {
    display: flex; flex-direction: column; gap: 12px;
}
.about-pillar-word {
    font-family: var(--font2);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.025em;
    color: var(--text);
    margin: 0;
}
.about-pillar-word .about-pillar-dot { color: var(--accent2); }
.about-pillar-lead {
    font-family: var(--font2);
    font-style: italic; font-weight: 600;
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.4;
    margin: 0;
}
.about-pillar-body {
    font-size: 1rem;
    color: var(--text2);
    line-height: 1.75;
    margin: 0;
    max-width: 60ch;
}
@media (max-width: 720px) {
    .about-pillar {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 32px 0;
    }
}

/* ==================== CONTACT CARD (a-propos) ==================== */
.contact-card {
    margin: 32px 0 48px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: .6;
}
.contact-card-head {
    display: flex; align-items: center; gap: 18px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border2);
}
.contact-card-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border);
}
.contact-card-id {
    display: flex; flex-direction: column; gap: 4px;
    flex: 1;
}
.contact-card-name {
    font-family: var(--font2);
    font-size: 1.15rem; font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
}
.contact-card-role {
    font-size: .88rem;
    color: var(--text2);
}
.contact-card-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font2);
    font-size: .76rem;
    color: var(--text3);
    margin-top: 2px;
    letter-spacing: .04em;
}
.contact-card-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .15);
    animation: contactPulse 2.4s ease-in-out infinite;
}
@keyframes contactPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, .05); }
}
.contact-card-grid {
    display: flex; flex-direction: column;
}
.contact-card-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px 32px;
    border-bottom: 1px solid var(--border2);
    text-decoration: none;
    color: inherit;
    transition: background .25s ease, padding-left .35s ease;
    position: relative;
}
.contact-card-row:last-child { border-bottom: 0; }
.contact-card-row:hover {
    background: rgba(124, 92, 252, .04);
    padding-left: 40px;
}
.contact-card-icon {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(124, 92, 252, .08);
    color: var(--accent);
    transition: background .25s, transform .25s;
}
.contact-card-row:hover .contact-card-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg);
}
.contact-card-meta {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
}
.contact-card-label {
    font-family: var(--font2);
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--text3);
}
.contact-card-value {
    font-family: var(--font2);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.005em;
    word-break: break-word;
}
.contact-card-arrow {
    font-family: var(--font2);
    font-size: 1.25rem;
    color: var(--text3);
    transition: color .25s, transform .25s;
}
.contact-card-row:hover .contact-card-arrow {
    color: var(--accent);
    transform: translateX(4px);
}
.contact-card-foot {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 18px 32px;
    background: rgba(0,0,0,.18);
    border-top: 1px solid var(--border2);
    font-size: .88rem;
    color: var(--text2);
    line-height: 1.55;
}
.contact-card-foot-marker {
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1.55;
}
@media (max-width: 600px) {
    .contact-card-head { padding: 22px 22px; flex-direction: column; align-items: flex-start; }
    .contact-card-row { padding: 18px 22px; gap: 14px; grid-template-columns: auto 1fr; }
    .contact-card-row:hover { padding-left: 28px; }
    .contact-card-arrow { display: none; }
    .contact-card-foot { padding: 16px 22px; }
}

/* Prose body — lists */
.prose-body ul {
    margin: 24px 0 32px 0;
    padding-left: 24px;
    color: var(--text);
}
.prose-body ul li {
    margin-bottom: 14px;
    color: var(--text2);
    line-height: 1.6;
}
.prose-body ol {
    margin: 24px 0 32px 0;
    padding-left: 24px;
    color: var(--text);
}
.prose-body ol li {
    margin-bottom: 16px;
}

/* Metrics */
.hero-metrics {
    display: flex; gap: 48px; margin-top: 64px; padding-top: 40px;
    border-top: 1px solid var(--border); position: relative; z-index: 1;
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-top { display: inline-flex; align-items: baseline; line-height: 1; white-space: nowrap; }
.metric-val { font-family: var(--font2); font-size: 2rem; font-weight: 700; }
.metric-suffix { font-family: var(--font2); font-size: 2rem; font-weight: 700; }
.metric-label { font-size: .78rem; color: var(--text3); }

/* ==================== MARQUEE ==================== */
.marquee-wrap {
    overflow: hidden; padding: 20px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    margin: 40px 0 0;
}
.marquee-track {
    display: flex; gap: 28px; white-space: nowrap;
    animation: scroll-x 18s linear infinite;
    font-family: var(--font2); font-size: .92rem; font-weight: 500;
    color: var(--text3); text-transform: uppercase; letter-spacing: .06em;
}
.marquee-sep { color: var(--accent); opacity: .4; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ==================== SECTION INTRO ==================== */
.section-intro { max-width: 1280px; margin: 0 auto; padding: 0 40px; margin-bottom: 40px; }
.section-intro h2 {
    font-family: var(--font2); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
}
.section-sub { font-size: 1.05rem; color: var(--text2); margin-top: 12px; max-width: 520px; }
.section-statement {
    font-family: var(--font2);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text);
    margin-top: 28px;
    max-width: 28ch;
}
.section-statement-em {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--accent2);
    margin-top: 4px;
}

/* ==================== UNIFIED SECTION TITLE (white + violet) ==================== */
.section-title,
.section-intro .section-title,
h2.section-title {
    font-family: var(--font2);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: .98;
    letter-spacing: -.035em;
    color: var(--text);
    margin: 0 0 20px;
    max-width: 22ch;
}
.section-title-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    display: inline;
}

/* ==================== BENTO ==================== */
.services { padding: 40px 0 80px; }

/* Editorial head */
.editorial-head {
    max-width: 1280px; margin: 0 auto; padding: 0 40px 64px;
    display: grid; grid-template-columns: auto 1fr auto; gap: 28px;
    align-items: end; position: relative;
}
.editorial-eyebrow {
    grid-column: 2; align-self: end; justify-self: start;
    font-family: var(--font2); font-size: .74rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent);
    margin-bottom: -14px;
}
.editorial-sub {
    grid-column: 2; align-self: start; justify-self: start;
    font-size: 1rem; color: var(--text2); line-height: 1.6;
    margin: 14px 0 0; max-width: 56ch;
}
.editorial-marker {
    font-family: var(--font2); font-size: 2.4rem;
    color: var(--accent); line-height: 1;
    display: inline-block;
    animation: edMarkerWiggle 4.5s ease-in-out infinite;
}
@keyframes edMarkerWiggle {
    0%, 100% { transform: translate(0, 0) rotate(0); }
    50% { transform: translate(6px, -6px) rotate(-12deg); }
}
.editorial-head h2 {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: .98; letter-spacing: -.03em; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
    color: var(--text);
}
.ed-line { display: block; }
.ed-line-2 { padding-left: 1.4em; }
.ed-line-3 { padding-left: .4em; }
.ed-line-3 em { font-style: italic; font-weight: 400; color: var(--text); }
.ed-accent {
    font-style: italic; font-weight: 400;
    color: var(--accent); -webkit-text-fill-color: var(--accent);
}
.editorial-meta {
    font-family: var(--font2); font-size: .68rem;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--text3); writing-mode: vertical-rl;
    transform: rotate(180deg); align-self: end;
    border-left: 1px solid var(--border2); padding-left: 8px;
}

/* Horizontal rules */
.ed-rule {
    max-width: 1280px; margin: 0 auto;
    border: 0; height: 1px; background: var(--border2);
    position: relative;
}
.ed-rule::after {
    content: ''; position: absolute; left: 40px; top: 0;
    width: 6%; height: 1px; background: var(--accent);
    transition: width 1.1s cubic-bezier(.2,.7,.1,1);
}
.ed-service.visible + .ed-rule::after { width: 70%; }
.ed-service:hover + .ed-rule::after { width: 92%; background: var(--accent2); }

/* Service strip */
.ed-service {
    max-width: 1280px; margin: 0 auto;
    padding: 72px 40px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr) minmax(0, 1.5fr);
    grid-template-areas:
        "num headline body"
        "num flow     flow";
    column-gap: 56px; row-gap: 0;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1), background .5s;
}
.ed-service.visible { opacity: 1; transform: translateY(0); }
.ed-service:hover {
    background: linear-gradient(180deg, transparent 0%, rgba(124,92,252,.03) 50%, transparent 100%);
}
/* Diagonal accent line through the strip */
.ed-service::before {
    content: ''; position: absolute; pointer-events: none;
    top: -20%; bottom: -20%; left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, var(--border2) 30%, var(--border2) 70%, transparent 100%);
    transform: rotate(-9deg);
    opacity: .5; transition: opacity .4s, background .4s;
}
.ed-service:hover::before {
    opacity: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(124,92,252,.4) 30%, rgba(124,92,252,.4) 70%, transparent 100%);
}

/* Massive numbers */
.ed-num {
    grid-area: num;
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(7rem, 13vw, 15rem);
    line-height: .82; letter-spacing: -.05em;
    -webkit-text-stroke: 1.5px var(--text2);
    color: transparent;
    display: flex; align-items: flex-start; user-select: none;
    transition: -webkit-text-stroke-color .5s ease;
}
.ed-num-1, .ed-num-2 {
    display: inline-block; transition: transform .7s cubic-bezier(.2,.7,.1,1);
}
.ed-num-2 { transform: translateY(.18em); }
.ed-service:hover .ed-num { -webkit-text-stroke-color: var(--accent); }
.ed-service:hover .ed-num-1 { transform: translateY(-.04em); }
.ed-service:hover .ed-num-2 { transform: translateY(.08em) translateX(.06em); }

/* Headline */
.ed-headline {
    grid-area: headline; align-self: end;
    display: flex; flex-direction: column; gap: 12px;
}
.ed-headline h3 {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2.2rem, 4.6vw, 4.2rem);
    line-height: .95; letter-spacing: -.03em;
    margin: 0; color: var(--text);
}
.ed-em {
    font-style: italic; font-weight: 400; color: var(--accent2);
    display: inline-block;
}
.ed-arrow-up {
    display: inline-block; margin-left: 6px;
    color: var(--accent); font-style: normal; font-weight: 700;
    transition: transform .45s cubic-bezier(.2,.7,.1,1);
}
.ed-service:hover .ed-arrow-up { transform: translate(10px, -10px); }
.ed-tagline {
    font-family: var(--font2); font-size: .82rem;
    color: var(--text3); letter-spacing: .04em;
}

/* Body */
.ed-body {
    grid-area: body; align-self: end; max-width: 380px;
}
.ed-body p {
    font-size: .92rem; color: var(--text2); line-height: 1.7;
    margin: 0 0 22px;
}
.ed-tags {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.ed-tags li {
    font-family: var(--font2); font-size: .82rem; font-weight: 500;
    color: var(--text); padding-left: 20px; position: relative;
    transition: color .3s, transform .3s;
}
.ed-tags li::before {
    content: '/'; position: absolute; left: 0; top: 0;
    color: var(--accent); font-weight: 700;
    transition: transform .3s;
}
.ed-tags li:hover { color: var(--accent2); transform: translateX(4px); }
.ed-tags li:hover::before { transform: rotate(15deg) translateX(-2px); }

/* Flow diagram (service 01) */
.ed-flow {
    grid-area: flow; margin-top: 56px;
    padding: 26px 32px; position: relative;
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    transform: skewX(-2deg);
    background: linear-gradient(135deg, rgba(124,92,252,.04) 0%, transparent 70%);
}
.ed-flow > * { transform: skewX(2deg); }
.ed-flow-node {
    font-family: var(--font2); font-size: .82rem; font-weight: 600;
    color: var(--text); padding: 10px 18px;
    background: var(--bg); border: 1px solid var(--border2);
}
.ed-flow-arrow { color: var(--accent); font-size: 1.4rem; font-weight: 700; }

/* Flipped layout for 02 */
.ed-flip {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 2.1fr) minmax(180px, 1fr);
    grid-template-areas: "body headline num";
}
.ed-flip .ed-headline { text-align: right; }
.ed-flip .ed-body { justify-self: end; text-align: right; }
.ed-flip .ed-tags { align-items: flex-end; }
.ed-flip .ed-tags li { padding-left: 0; padding-right: 20px; }
.ed-flip .ed-tags li::before { left: auto; right: 0; }
.ed-flip .ed-num { justify-content: flex-end; }
.ed-flip:hover .ed-num-2 { transform: translateY(.08em) translateX(-.06em); }

/* Service 03 — subtle vertical offset */
.ed-03 .ed-headline { padding-top: 10px; }

/* Flow anim wrapper (still uses old IDs from JS) */
.flow-pulse {
    position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateY(-50%); opacity: 0;
}
.flow-pulse.active { animation: flowPulseAnim 2.2s ease-in-out infinite; }
@keyframes flowPulseAnim {
    0% { opacity: 0; left: -100%; }
    50% { opacity: .7; }
    100% { opacity: 0; left: 100%; }
}

/* ==================== PROFILES — PERSONA SELECTOR ==================== */
.profiles { padding: 40px 0 80px; position: relative; }

.profiles-stage {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px;
}

/* Tabs */
/* Editorial chooser — typographic personas with sliding underline */
.profile-chooser-wrap {
    padding: 40px 0 0;
    border-top: 1px solid var(--border2);
}

.profile-prompt {
    font-family: var(--font2); font-size: .78rem; font-weight: 700;
    color: var(--accent); letter-spacing: .18em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
}
.profile-prompt-arrow {
    font-size: 1.1rem; line-height: 1;
    animation: profilePromptBounce 2.2s ease-in-out infinite;
}
@keyframes profilePromptBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.profile-chooser {
    position: relative;
    display: flex; flex-wrap: wrap;
    gap: clamp(20px, 3vw, 40px);
    align-items: baseline;
    padding-bottom: 28px;
}

.profile-choice {
    background: none; border: none; padding: 0;
    cursor: pointer;
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.2rem, 2.4vw, 1.9rem);
    letter-spacing: -.025em; line-height: 1.05;
    color: var(--text3);
    transition: color .35s, transform .4s cubic-bezier(.2,.7,.1,1);
    position: relative;
}
.profile-choice:hover {
    color: var(--text2);
    transform: translateY(-2px);
}
.profile-choice.active {
    color: var(--text);
}
.profile-choice:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 6px;
    border-radius: 2px;
}

/* The sliding underline — position set via JS to follow active choice */
.profile-underline {
    position: absolute;
    top: 0; left: 0; width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transition: left .55s cubic-bezier(.2,.7,.1,1), top .55s cubic-bezier(.2,.7,.1,1), width .55s cubic-bezier(.2,.7,.1,1);
    box-shadow: 0 0 16px rgba(124,92,252,.55);
    pointer-events: none;
}

.profile-current-meta {
    font-family: var(--font2); font-size: clamp(.88rem, 1.1vw, 1rem);
    color: var(--text2); letter-spacing: -.005em;
    line-height: 1.5;
    margin: 0; padding-bottom: 40px;
    border-bottom: 1px solid var(--border2);
    display: flex; align-items: baseline; gap: 12px;
    transition: opacity .25s;
}
.profile-current-meta.fading { opacity: 0; }
.profile-meta-marker {
    color: var(--accent); font-size: .9rem;
    flex-shrink: 0;
}
#profileMetaText { display: inline-block; }

/* Panels */
.profile-panels {
    padding: 64px 0 0;
    position: relative;
}
.profile-panel {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
}
.profile-panel.active {
    display: grid;
    animation: profileFadeIn .55s cubic-bezier(.2,.7,.1,1);
}
@keyframes profileFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    margin-bottom: 56px;
}

.profile-block {
    display: flex; flex-direction: column; gap: 14px;
}
.profile-block-tag {
    font-family: var(--font2); font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--text3);
}
.profile-block-after .profile-block-tag { color: var(--accent); }
.profile-block p {
    font-size: 1rem; line-height: 1.6;
    color: var(--text2); margin: 0;
}
.profile-strike {
    color: var(--text3) !important;
    text-decoration: line-through;
    text-decoration-color: rgba(124,92,252,.45);
    text-decoration-thickness: 1px;
}

.profile-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.profile-list li {
    font-family: var(--font); font-size: .98rem;
    color: var(--text); line-height: 1.55;
    padding-left: 28px; position: relative;
    transition: transform .3s, color .3s;
}
.profile-list li::before {
    content: '/'; position: absolute; left: 0; top: 0;
    color: var(--accent); font-weight: 700; font-family: var(--font2);
    transition: transform .3s;
}
.profile-list li:hover { color: var(--accent2); transform: translateX(4px); }
.profile-list li:hover::before { transform: rotate(20deg); }

/* Stat banner */
.profile-stat {
    display: flex; align-items: baseline; gap: 24px;
    padding: 36px 0; margin-bottom: 48px;
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    justify-content: center; text-align: center;
    flex-wrap: wrap;
}
.profile-stat-val {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    line-height: .9; letter-spacing: -.05em;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
}
.profile-stat-lbl {
    font-family: var(--font2); font-size: 1.05rem;
    color: var(--text2); letter-spacing: .02em;
    line-height: 1.4;
}

/* Recommendation */
.profile-recommend {
    display: flex; flex-direction: column;
    gap: 14px; align-items: flex-start;
}
.profile-recommend-tag {
    font-family: var(--font2); font-size: .72rem;
    color: var(--accent); letter-spacing: .14em;
    text-transform: uppercase; font-weight: 700;
}
.profile-recommend p {
    font-family: var(--font2); font-size: 1.15rem;
    color: var(--text); margin: 0; line-height: 1.45;
}
.profile-recommend strong { color: var(--accent2); font-weight: 700; }
.profile-recommend .btn-outline-sm { margin-top: 6px; }

/* Responsive */
@media (max-width: 900px) {
    .profile-chooser {
        gap: 18px 28px;
    }
    .profile-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .profile-stat { flex-direction: column; gap: 8px; padding: 28px 0; }
    .profiles-stage { padding: 0 24px; }
    .profile-chooser-wrap { padding-top: 28px; }
    .profile-current-meta { padding-bottom: 28px; }
}


/* ==================== TRANSFORMATIONS — DIAGONAL SHIFTS ==================== */
.transformations { padding: 80px 0 120px; }

.shifts {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    border-top: 1px solid var(--border2);
}

.shift-row {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 2.4fr) minmax(200px, 1.2fr);
    column-gap: 48px;
    padding: 72px 0;
    position: relative;
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1);
}
.shift-row.visible { opacity: 1; transform: translateY(0); }

.shift-num {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(5rem, 9vw, 8.5rem);
    line-height: .82; letter-spacing: -.05em;
    -webkit-text-stroke: 1.5px var(--text2);
    color: transparent;
    display: flex; align-items: flex-start; user-select: none;
    transition: -webkit-text-stroke-color .5s;
}
.shift-num-2 {
    display: inline-block; transform: translateY(.18em);
    transition: transform .6s cubic-bezier(.2,.7,.1,1);
}
.shift-row:hover .shift-num { -webkit-text-stroke-color: var(--accent); }
.shift-row:hover .shift-num-2 { transform: translateY(.05em) translateX(.05em); }

.shift-body {
    display: flex; flex-direction: column; gap: 18px;
    align-self: center;
}
.shift-before, .shift-after { display: flex; flex-direction: column; gap: 8px; }
.shift-tag {
    font-family: var(--font2); font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--text3);
}
.shift-tag-after { color: var(--accent); }
.shift-body p { font-size: 1rem; line-height: 1.55; color: var(--text2); margin: 0; }
.shift-strike {
    color: var(--text3);
    text-decoration: line-through;
    text-decoration-color: rgba(124,92,252,.5);
    text-decoration-thickness: 1px;
}
.shift-strike strong { color: var(--text2); font-weight: 600; }
.shift-after p { color: var(--text); font-weight: 500; }

.shift-divider {
    display: flex; align-items: center;
    margin: 4px 0;
}
.shift-divider-line {
    flex: 1; height: 1px; background: var(--border2); position: relative;
    overflow: hidden;
}
.shift-divider-line::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 0; height: 1px; background: var(--accent);
    transition: width 1.2s cubic-bezier(.2,.7,.1,1);
}
.shift-row.visible .shift-divider-line::before { width: 100%; }
.shift-divider-arrow {
    color: var(--accent); font-size: 1.3rem; font-weight: 700;
    margin-left: 12px;
    transition: transform .5s cubic-bezier(.2,.7,.1,1);
}
.shift-row:hover .shift-divider-arrow { transform: translateX(10px); }

.shift-stat {
    align-self: center; justify-self: end;
    display: flex; flex-direction: column;
    align-items: flex-end; text-align: right;
    transform: rotate(-3deg);
    transition: transform .6s cubic-bezier(.2,.7,.1,1);
}
.shift-row:hover .shift-stat { transform: rotate(0deg) translateX(-6px); }
.shift-stat-val {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: .82; letter-spacing: -.05em;
    background: linear-gradient(180deg, var(--accent) 30%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
}
.shift-stat-val em { font-style: italic; font-weight: 400; opacity: .85; }
.shift-stat-label {
    font-family: var(--font2); font-size: .78rem;
    color: var(--text3); letter-spacing: .04em;
    margin-top: 8px;
}

.shift-rule {
    max-width: 1280px; margin: 0 auto;
    border: 0; height: 1px; background: var(--border2);
    position: relative;
}
.shift-rule::after {
    content: ''; position: absolute; left: 40px; top: 0;
    width: 4%; height: 1px; background: var(--accent);
    transition: width 1.2s cubic-bezier(.2,.7,.1,1);
}
.shift-row.visible + .shift-rule::after { width: 72%; }

/* ==================== TESTIMONIALS ==================== */
.testimonials { padding: 80px 0; }
/* .testimonials-track layout is in the animations section */
.testimonial-card {
    background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; transition: border-color .3s, transform .3s;
}
.testimonial-card:hover { border-color: var(--border2); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote {
    font-size: .9rem; color: var(--text2); line-height: 1.65; font-style: italic; margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--accent-glow);
    color: var(--accent); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem;
}
.testimonial-author strong { display: block; font-size: .88rem; }
.testimonial-author span { display: block; font-size: .78rem; color: var(--text3); }

/* ==================== HERO STAT — KEY FIGURE (2-column layout) ==================== */
.hero-stat { padding: 40px 0 80px; position: relative; overflow: hidden; }

.hero-stat .editorial-head {
    max-width: 1440px;
    padding-left: 56px;
    padding-right: 56px;
}

.hero-stat-stage {
    max-width: 1440px; margin: 0 auto;
    padding: 40px 56px 80px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 620px;
}

.hero-stat-tag {
    font-family: var(--font2); font-size: .76rem; font-weight: 700;
    color: var(--accent); letter-spacing: .18em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
}
.hero-stat-tag::before {
    content: ''; display: inline-block;
    width: 28px; height: 1px; background: var(--accent);
}

.hero-stat-headline {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1; letter-spacing: -.035em;
    margin: 0; color: var(--text);
}
.hero-stat-headline em {
    font-style: italic; font-weight: 400;
    color: var(--accent2);
}

.hero-stat-cta-row {
    display: flex; align-items: center;
    gap: 32px; flex-wrap: wrap;
    margin-top: 4px;
}

.hero-stat-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 360px;
}

.hero-stat-number {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(8px, 1.5vw, 20px);
    position: relative;
    line-height: 1;
}
.hero-stat-times {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1; letter-spacing: -.04em;
    color: var(--accent);
    transform: translateY(-.18em);
    opacity: .85;
}
.hero-stat-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.hero-stat-val {
    font-family: var(--font); font-weight: 900;
    font-size: clamp(8rem, 20vw, 18rem);
    line-height: .85; letter-spacing: -.05em;
    background: linear-gradient(180deg, var(--accent) 18%, var(--accent2) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    position: relative; z-index: 2;
    padding: 0 .04em;
    filter: drop-shadow(0 0 60px rgba(124,92,252,.3));
    transition: filter .6s, transform .8s cubic-bezier(.2,.7,.1,1);
}
.hero-stat-stage:hover .hero-stat-val {
    filter: drop-shadow(0 0 90px rgba(124,92,252,.55));
    transform: scale(1.03);
}

/* Orbiting ring — centered on the val (the "6") */
.hero-stat-orbit {
    position: absolute; left: 50%; top: 50%;
    width: clamp(220px, 26vw, 440px);
    height: clamp(220px, 26vw, 440px);
    border: 1px solid var(--border2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 1;
    animation: heroStatRotate 24s linear infinite;
}
.hero-stat-orbit::before, .hero-stat-orbit::after {
    content: ''; position: absolute;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--accent);
}
.hero-stat-orbit::before { top: -6px; left: 50%; transform: translateX(-50%); }
.hero-stat-orbit::after {
    bottom: -6px; left: 50%; transform: translateX(-50%);
    background: var(--accent2); box-shadow: 0 0 18px var(--accent2);
    width: 8px; height: 8px;
}
@keyframes heroStatRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-stat-outro {
    font-family: var(--font); font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.65; color: var(--text2);
    margin: 0; letter-spacing: -.005em;
    max-width: 560px;
}
.hero-stat-outro strong {
    color: var(--text); font-weight: 600;
}

.hero-stat-source {
    font-family: var(--font2); font-size: .74rem;
    color: var(--text3); letter-spacing: .02em;
    line-height: 1.55;
}

/* SR-only utility (if not already defined) */
.hero-stat .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-stat-stage {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 32px 24px 64px;
    }
    .hero-stat-visual { min-height: 280px; }
    .hero-stat-times { font-size: clamp(2.5rem, 11vw, 5rem); }
    .hero-stat-val { font-size: clamp(7rem, 34vw, 11rem); }
    .hero-stat-orbit {
        width: clamp(180px, 58vw, 360px);
        height: clamp(180px, 58vw, 360px);
    }
    .hero-stat-cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero-stat-headline { font-size: clamp(2rem, 9vw, 3rem); }
}

/* ==================== METHODE — VERTICAL PATH ==================== */
.methode { padding: 80px 0 120px; }

.path {
    max-width: 1100px; margin: 0 auto;
    padding: 40px 40px 0;
    position: relative;
}
/* Central animated spine */
.path-spine {
    position: absolute; top: 0; bottom: 80px;
    left: 50%; width: 2px;
    transform: translateX(-50%);
    background: var(--border2);
    overflow: hidden;
}
.path-spine-fill {
    position: absolute; top: 0; left: 0; right: 0;
    height: 0%;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    transition: height .15s linear;
}

.path-step {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    column-gap: 0;
    padding: 60px 0;
    position: relative;
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1);
}
.path-step.visible { opacity: 1; transform: translateY(0); }
.path-step-l { grid-template-areas: "num marker ." "card marker ."; }
.path-step-r { grid-template-areas: ". marker num" ". marker card"; }

.path-marker {
    grid-area: marker;
    align-self: center; justify-self: center;
    z-index: 2; position: relative;
}
.path-dot {
    display: block; width: 16px; height: 16px;
    background: var(--bg); border: 2px solid var(--text3);
    border-radius: 50%;
    transition: border-color .5s, background .5s, transform .4s, box-shadow .5s;
}
.path-step.visible .path-dot {
    border-color: var(--accent); background: var(--accent);
    box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent), 0 0 24px rgba(124,92,252,.5);
}
.path-step:hover .path-dot { transform: scale(1.35); }
.path-dot-final {
    background: var(--accent); border-color: var(--accent);
    animation: pathFinalPulse 2.2s ease-in-out infinite;
}
@keyframes pathFinalPulse {
    0%, 100% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent), 0 0 0 6px rgba(124,92,252,.4); }
    50% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--accent), 0 0 0 18px rgba(124,92,252,0); }
}

.path-num {
    grid-area: num;
    align-self: end;
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(4.5rem, 8vw, 7.5rem);
    line-height: .82; letter-spacing: -.05em;
    -webkit-text-stroke: 1.5px var(--text2);
    color: transparent;
    display: flex; user-select: none;
    transition: -webkit-text-stroke-color .6s;
    margin-bottom: -4px;
}
.path-num-2 { display: inline-block; transform: translateY(.18em); transition: transform .6s; }
.path-step.visible .path-num { -webkit-text-stroke-color: var(--accent); }
.path-step:hover .path-num-2 { transform: translateY(.06em) translateX(.04em); }

.path-card {
    grid-area: card;
    max-width: 440px;
    align-self: start;
}
.path-step-l .path-num, .path-step-l .path-card {
    justify-self: end; text-align: right;
    padding-right: 54px;
}
.path-step-r .path-num, .path-step-r .path-card {
    justify-self: start;
    padding-left: 54px;
}
.path-step-r .path-num { flex-direction: row; }
.path-step-l .path-num { flex-direction: row; justify-content: flex-end; }

.path-card h3 {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.1; letter-spacing: -.02em;
    margin: 0 0 12px;
    color: var(--text);
}
.path-card p {
    font-size: .94rem; color: var(--text2); line-height: 1.65;
    margin: 0 0 14px;
}
.path-meta {
    font-family: var(--font2); font-size: .76rem;
    color: var(--accent); letter-spacing: .04em;
    display: inline-block;
}

/* Connector line from card to spine */
.path-step::before {
    content: ''; position: absolute;
    top: 50%; height: 1px; width: 38px;
    background: var(--border2);
    transition: background .5s, width .5s;
}
.path-step-l::before { right: 50%; transform: translate(-10px, -50%); }
.path-step-r::before { left: 50%; transform: translate(10px, -50%); }
.path-step.visible::before { background: var(--accent); }
.path-step:hover::before { width: 50px; background: var(--accent2); }

/* ==================== TARIFS ==================== */
.tarifs { padding: 40px 0 80px; }
.tarifs-layout {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px;
}
.tarif-block {
    position: relative; background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
    transition: border-color .3s;
}
.tarif-block:hover { border-color: var(--border2); }
.tarif-featured { border-color: var(--accent); box-shadow: 0 0 60px rgba(124,92,252,.08); }
.tarif-badge {
    position: absolute; top: 0; right: 0;
    font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    padding: 8px 18px; color: #fff; background: var(--accent); border-radius: 0 0 0 var(--radius);
}
.tarif-head { padding: 36px 32px 28px; border-bottom: 1px solid var(--border); }
.tarif-name { display: block; font-family: var(--font2); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.tarif-price { display: block; font-family: var(--font2); font-size: 2.8rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.tarif-price small { font-size: .9rem; font-weight: 500; color: var(--text2); }
.tarif-for { display: block; font-size: .82rem; color: var(--text3); margin-top: 6px; }
.tarif-body { padding: 28px 32px; flex: 1; display: flex; flex-direction: column; }
.tarif-body ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.tarif-body li { font-size: .88rem; color: var(--text2); padding-left: 20px; position: relative; }
.tarif-body li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.tarif-example { padding: 16px; background: var(--bg3); border-radius: 10px; margin-bottom: 20px; }
.tarif-example p { font-size: .82rem; color: var(--text2); line-height: 1.5; }
.tarif-example strong { color: var(--text); }
.tarif-delay { display: block; font-size: .78rem; color: var(--text3); text-align: center; margin-bottom: 14px; }
.tarif-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: color-mix(in oklch, var(--bg3), var(--accent) 4%);
    border-left: 2px solid var(--accent);
    border-radius: 0 8px 8px 0;
}
.tarif-stat-val {
    font-family: var(--font2);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.tarif-stat-lbl {
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.35;
}
.tarif-stat-note {
    font-size: 0.7rem;
    color: var(--text3);
    font-style: italic;
    margin-top: 4px;
    letter-spacing: 0.01em;
}
.tarif-stat-featured {
    background: color-mix(in oklch, var(--bg3), var(--accent) 10%);
    border-left-width: 3px;
}

.tarifs-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    max-width: 920px;
    margin: 36px auto 56px;
    padding: 26px 44px;
    background: color-mix(in oklch, var(--bg2), var(--accent) 8%);
    border: 1px solid color-mix(in oklch, var(--border2), var(--accent) 55%);
    border-radius: 16px;
    box-shadow:
        0 0 50px -10px rgba(124, 92, 252, 0.35),
        0 24px 60px -20px rgba(124, 92, 252, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}
.tarifs-guarantee::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(140% 90% at 0% 0%, rgba(124, 92, 252, 0.18), transparent 55%),
        radial-gradient(120% 80% at 100% 100%, rgba(167, 139, 250, 0.10), transparent 60%);
    pointer-events: none;
}
.tarifs-guarantee-icon {
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    padding: 12px;
    background: color-mix(in oklch, var(--bg3), var(--accent) 18%);
    border-radius: 50%;
    border: 1px solid color-mix(in oklch, var(--border2), var(--accent) 40%);
    box-sizing: content-box;
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 12px rgba(124, 92, 252, 0.45));
}
.tarifs-guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.tarifs-guarantee-main {
    font-family: var(--font2);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.025em;
}
.tarifs-guarantee-main em {
    color: var(--accent);
    font-style: normal;
}
.tarifs-guarantee-sub {
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text2);
    font-weight: 500;
    line-height: 1.45;
    max-width: 540px;
}
@media (max-width: 720px) {
    .tarifs-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 26px 22px;
        margin: 28px auto 44px;
    }
    .tarifs-guarantee-main { font-size: 1.55rem; }
    .tarifs-guarantee-sub { font-size: 0.88rem; }
}
.tarif-body a { margin-top: auto; text-align: center; display: block; }

/* ==================== PLANS — EDITORIAL PRICE STRIPS ==================== */
.plans {
    max-width: 1280px; margin: 80px auto 0;
    padding: 0 40px;
}
.plans-head {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 12px;
}
.plans-eyebrow {
    font-family: var(--font2); font-size: .72rem;
    letter-spacing: .2em; color: var(--accent);
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 8px;
}
.plans-head h3 {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1; letter-spacing: -.025em;
    margin: 0;
}
.plans-head h3 em { font-style: italic; font-weight: 400; color: var(--accent2); }
.plans-sub {
    font-size: .95rem; color: var(--text2); margin: 0; max-width: 540px;
}
#panel-creation > .plans-head,
#panel-sites > .plans-head {
    max-width: 1280px; margin: 0 auto 24px; padding: 0 40px;
}

.plans-strips {
    margin-top: 40px;
    border-top: 1px solid var(--border2);
}
.plan-strip {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center; column-gap: 40px;
    padding: 34px 0;
    border-bottom: 1px solid var(--border2);
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(20px);
    transition: opacity .8s cubic-bezier(.2,.7,.1,1), transform .8s cubic-bezier(.2,.7,.1,1), padding-left .4s;
}
.plan-strip.visible { opacity: 1; transform: translateY(0); }
.plan-strip::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(124,92,252,.06) 0%, transparent 60%);
    opacity: 0; transition: opacity .4s;
    pointer-events: none;
}
.plan-strip:hover::before { opacity: 1; }
.plan-strip:hover { padding-left: 14px; }

.plan-index {
    font-family: var(--font2); font-size: .68rem;
    letter-spacing: .14em; color: var(--text3);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-left: 4px;
    border-left: 1px solid var(--border2);
}

.plan-id {
    display: flex; flex-direction: column; gap: 8px;
    position: relative; z-index: 1;
}
.plan-name {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    color: var(--text); letter-spacing: -.02em;
    line-height: 1;
}
.plan-desc {
    font-size: .92rem; color: var(--text2); line-height: 1.55;
    max-width: 560px;
}

.plan-price {
    display: flex; align-items: baseline; gap: 10px;
    position: relative; z-index: 1;
}
.plan-price-val {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(3.2rem, 6vw, 5.2rem);
    line-height: .9; letter-spacing: -.045em;
    background: linear-gradient(180deg, var(--accent) 40%, var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    transition: transform .6s cubic-bezier(.2,.7,.1,1);
}
.plan-strip:hover .plan-price-val { transform: translateX(-8px) scale(1.04); }
.plan-price-unit {
    font-family: var(--font2); font-weight: 600;
    font-size: .9rem; color: var(--text2);
    display: flex; flex-direction: column;
    align-items: flex-start; line-height: 1.1; gap: 2px;
}
.plan-price-unit small { font-size: .7rem; color: var(--text3); font-weight: 500; }

.plans-note {
    font-family: var(--font2); font-size: .74rem;
    color: var(--text3); margin: 28px 0 0;
    letter-spacing: .02em;
}

/* ==================== CALC — INTERACTIVE ROI CALCULATOR ==================== */
.calc { padding: 40px 0 80px; position: relative; }

/* ×6 héro visuel — centré au-dessus du headline calculateur */
.calc-intro { text-align: center; }
.calc-hero-visual {
    min-height: clamp(200px, 26vw, 320px);
    margin-bottom: 24px;
}
/* Compensation optique : le "6" étant beaucoup plus large que le "×",
   on décale le bloc vers la gauche pour que le centre visuel du 6
   s'aligne avec le centre du texte en dessous. */
.calc-hero-visual .hero-stat-number {
    transform: translateX(-14%);
}
@media (max-width: 720px) {
    .calc-hero-visual { min-height: clamp(180px, 40vw, 260px); margin-bottom: 16px; }
}

/* Calc header — visible CTA-style title */
.calc-header {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px 56px;
}
.calc-header-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--border2);
    margin-bottom: 40px;
    gap: 24px; flex-wrap: wrap;
}
.calc-header-eyebrow {
    font-family: var(--font2); font-size: .76rem;
    font-weight: 700; color: var(--accent);
    letter-spacing: .18em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
}
.calc-header-marker {
    color: var(--accent); font-size: 1.4rem; line-height: 1;
    display: inline-block;
    animation: calcHeadMarker 4s ease-in-out infinite;
}
@keyframes calcHeadMarker {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(4px, -4px) rotate(-10deg); }
}
.calc-header-id {
    font-family: var(--font2); font-size: .68rem;
    color: var(--text3); letter-spacing: .14em;
    text-transform: uppercase;
}

.calc-header-title {
    font-family: var(--font2); font-weight: 800;
    font-size: clamp(2.4rem, 5.6vw, 4.8rem);
    line-height: 1; letter-spacing: -.035em;
    color: var(--text); /* WHITE */
    margin: 0 0 28px;
    max-width: 900px;
}
.calc-header-em {
    font-style: normal; font-weight: 800;
    background: linear-gradient(180deg, var(--accent) 30%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.calc-header-em::after {
    content: ''; position: absolute;
    bottom: .04em; left: -1%; right: -1%;
    height: 4px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 1s cubic-bezier(.2,.7,.1,1);
}
.calc-header.in-view .calc-header-em::after,
.calc-header:hover .calc-header-em::after {
    transform: scaleX(1);
}

.calc-header-cta {
    font-family: var(--font2); font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.55; color: var(--text2);
    letter-spacing: -.005em;
    margin: 0; max-width: 760px;
    display: flex; align-items: flex-start; gap: 14px;
}
.calc-header-cta strong { color: var(--text); font-weight: 700; }
.calc-header-arrow {
    color: var(--accent); font-size: 1.5rem; font-weight: 700;
    line-height: 1; flex-shrink: 0;
    margin-top: -2px;
    animation: calcArrowBounce 2.2s ease-in-out infinite;
}
@keyframes calcArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.calc-rule {
    max-width: 1280px; margin: 0 auto;
    border: 0; height: 1px; background: var(--border2);
}
.calc-rule-thick { height: 1px; background: var(--accent); opacity: .35; margin: 56px auto; }

.calc-stage {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px;
}

/* Inputs grid */
.calc-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    padding: 64px 0 24px;
}

.calc-field {
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
}

.calc-tag {
    font-family: var(--font2); font-size: .72rem;
    color: var(--accent); letter-spacing: .14em;
    text-transform: uppercase;
}

.calc-value-row {
    display: flex; align-items: baseline; gap: 10px;
    line-height: 1;
}
.calc-num {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(3.5rem, 7vw, 6rem);
    letter-spacing: -.05em; line-height: .85;
    -webkit-text-stroke: 1.5px var(--text);
    color: transparent;
    transition: -webkit-text-stroke-color .3s, color .3s;
}
.calc-field:hover .calc-num,
.calc-field:focus-within .calc-num {
    -webkit-text-stroke-color: var(--accent);
    color: rgba(124,92,252,.08);
}
.calc-unit {
    font-family: var(--font2); font-weight: 500;
    font-size: .95rem; color: var(--text2);
    letter-spacing: .02em;
}

/* Custom slider */
.calc-slider-wrap {
    position: relative; height: 24px;
    display: flex; align-items: center;
}
.calc-slider-track {
    position: absolute; left: 0; right: 0; top: 50%;
    height: 2px; background: var(--border2);
    transform: translateY(-50%);
    overflow: hidden;
}
.calc-slider-fill {
    height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2));
    width: 23%; /* updated in JS */
    transition: width .15s ease;
}
.calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%; height: 24px;
    background: transparent; outline: none;
    cursor: pointer; position: relative; z-index: 1;
    margin: 0;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px; height: 22px;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(124,92,252,.4);
    cursor: pointer;
    transition: transform .2s, box-shadow .3s;
}
.calc-slider::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(124,92,252,.4);
    cursor: pointer; border-radius: 0;
}
.calc-slider:hover::-webkit-slider-thumb { transform: scale(1.2); box-shadow: 0 0 0 1px var(--accent), 0 0 30px rgba(124,92,252,.6); }
.calc-slider:active::-webkit-slider-thumb { transform: scale(1.3); }

.calc-scale {
    display: flex; justify-content: space-between;
    font-family: var(--font2); font-size: .72rem;
    color: var(--text3); letter-spacing: .04em;
}

/* Pills (people) */
.calc-pills {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-top: auto;
}
.calc-pill {
    font-family: var(--font2); font-weight: 600;
    font-size: .92rem; color: var(--text2);
    background: transparent; border: 1px solid var(--border2);
    padding: 14px 22px; cursor: pointer;
    transition: all .25s cubic-bezier(.2,.7,.1,1);
    letter-spacing: .02em; min-width: 60px;
}
.calc-pill:hover { color: var(--text); border-color: var(--accent2); transform: translateY(-2px); }
.calc-pill.active {
    background: var(--accent); color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(124,92,252,.35);
}

/* Result panel */
.calc-result {
    display: flex; flex-direction: column;
    align-items: center; text-align: center;
    gap: 24px; padding: 24px 0 0;
    position: relative;
}
.calc-result-tag {
    font-family: var(--font2); font-size: .72rem;
    color: var(--accent); letter-spacing: .14em;
    text-transform: uppercase;
}
.calc-result-title {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1; letter-spacing: -.025em;
    color: var(--text);
    margin: 0;
}
.calc-amount-row {
    display: flex; align-items: baseline; gap: 16px;
    line-height: 1;
    margin: 8px 0;
}
.calc-amount {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(5.5rem, 13vw, 13rem);
    letter-spacing: -.02em; line-height: 1;
    padding: 0 .08em .08em;
    display: inline-block;
    background: linear-gradient(180deg, var(--accent) 30%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
    transition: filter .3s, transform .3s;
}
.calc-stage:hover .calc-amount { filter: drop-shadow(0 0 40px rgba(124,92,252,.3)); }
.calc-amount-unit {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--text);
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 4px;
    line-height: 1;
}
.calc-amount-unit small {
    font-size: .7rem; color: var(--text3); font-weight: 500;
    letter-spacing: .04em;
}

.calc-breakdown {
    display: flex; align-items: center; gap: 28px;
    margin-top: 16px;
}
.calc-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.calc-stat-val {
    font-family: var(--font2); font-weight: 700;
    font-size: 1.6rem; letter-spacing: -.02em;
    color: var(--text);
}
.calc-stat-lbl {
    font-family: var(--font2); font-size: .76rem;
    color: var(--text3); letter-spacing: .04em;
}
.calc-stat-sep { color: var(--accent); font-size: 1.4rem; font-weight: 700; }

.calc-disclaimer {
    font-family: var(--font2); font-size: .78rem;
    color: var(--text3); letter-spacing: .02em;
    max-width: 520px; line-height: 1.5;
    margin: 8px 0 4px;
}

/* Number tick animation */
.calc-num.tick, .calc-amount.tick, .calc-stat-val.tick {
    animation: calcTick .35s cubic-bezier(.2,.7,.1,1);
}
@keyframes calcTick {
    0% { transform: translateY(0); }
    40% { transform: translateY(-4px); opacity: .7; }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .calc-inputs { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 16px; }
    .calc-num { font-size: clamp(3rem, 14vw, 5rem); }
    .calc-amount { font-size: clamp(4rem, 22vw, 8rem); }
    .calc-breakdown { flex-direction: column; gap: 16px; }
    .calc-stat-sep { transform: rotate(90deg); }
    .calc-stage { padding: 0 24px; }
    .calc-header { padding: 0 24px 40px; }
    .calc-header-title { font-size: clamp(2rem, 9vw, 3rem); }
    .calc-header-meta { padding-bottom: 20px; margin-bottom: 28px; }
}

/* ==================== WHY — MANIFESTO DECLARATIONS ==================== */
.why { padding: 80px 0 120px; position: relative; }

/* ==================== PILLARS — Direct / Artisanal / Honnête ==================== */
.pillars { padding: 100px 0 120px; position: relative; overflow: hidden; }
.pillars-grid {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
}
.pillar {
    position: relative;
    padding: 56px 36px 64px;
    display: flex; flex-direction: column; gap: 18px;
    border-right: 1px solid var(--border2);
    transition: background .35s ease;
}
.pillar:last-child { border-right: 0; }
.pillar-02 { transform: translateY(28px); }
.pillar:hover { background: rgba(124, 92, 252, .04); }

.pillar-num {
    font-family: var(--font2);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: .9;
    color: var(--accent);
    letter-spacing: -.04em;
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
    display: inline-block;
}
.pillar:hover .pillar-num {
    -webkit-text-stroke: 0;
    color: var(--accent);
}
.pillar-title {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--text);
    margin: 0;
}
.pillar-title .pillar-dot { color: var(--accent2); }
.pillar-pitch {
    font-family: var(--font2); font-weight: 600;
    font-size: 1.05rem; line-height: 1.4;
    color: var(--text);
    margin: 0;
    font-style: italic;
}
.pillar-body {
    font-size: .95rem; line-height: 1.7;
    color: var(--text2);
    margin: 0;
    max-width: 36ch;
}
.pillars-foot {
    max-width: 1280px; margin: 56px auto 0;
    padding: 0 40px;
    display: flex; justify-content: center;
}
.pillars-link {
    font-family: var(--font2); font-size: .9rem; font-weight: 600;
    letter-spacing: .04em;
    color: var(--accent);
    text-decoration: none;
    padding: 14px 28px;
    border: 1px solid var(--border2);
    border-radius: 999px;
    transition: border-color .3s, background .3s, color .3s, transform .3s;
}
.pillars-link:hover {
    border-color: var(--accent);
    background: rgba(124, 92, 252, .08);
    transform: translateY(-2px);
}
.pillars-link span { display: inline-block; transition: transform .3s; margin-left: 6px; }
.pillars-link:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .pillar {
        border-right: 0;
        border-bottom: 1px solid var(--border2);
        padding: 48px 32px;
    }
    .pillar:last-child { border-bottom: 0; }
    .pillar-02 { transform: none; }
}

.creed {
    max-width: 1280px; margin: 0 auto;
    padding: 0 40px;
    display: flex; flex-direction: column;
    gap: 0;
}
.creed-item {
    padding: 64px 0;
    border-bottom: 1px solid var(--border2);
    max-width: 760px; width: 100%;
    position: relative;
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.2,.7,.1,1);
}
.creed-item.visible { opacity: 1; transform: translateY(0); }
.creed-item:first-child { border-top: 1px solid var(--border2); }
.creed-l { align-self: flex-start; }
.creed-r { align-self: flex-end; text-align: right; }

.creed-num {
    font-family: var(--font2); font-weight: 700;
    font-size: .9rem; color: var(--accent);
    letter-spacing: .06em;
    display: block; margin-bottom: 22px;
}
.creed-headline {
    font-family: var(--font2); font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1; letter-spacing: -.03em;
    margin: 0 0 22px;
    color: var(--text);
    display: flex; flex-direction: column; gap: 4px;
}
.creed-r .creed-headline { align-items: flex-end; }
.creed-em {
    font-style: italic; font-weight: 400; color: var(--accent2);
    display: inline-block;
}
.creed-strike {
    position: relative; display: inline-block;
    font-weight: 700; color: var(--text);
}
.creed-strike::before {
    content: ''; position: absolute;
    left: -6px; right: -6px; top: 52%;
    height: 3px; background: var(--accent);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(.2,.7,.1,1) .35s, background .3s, height .3s;
}
.creed-r .creed-strike::before { transform-origin: right; }
.creed-item.visible .creed-strike::before { transform: translateY(-50%) scaleX(1); }
.creed-item:hover .creed-strike::before { background: var(--accent2); height: 5px; }

.creed-item p {
    font-size: 1rem; color: var(--text2); line-height: 1.65;
    max-width: 560px; margin: 0;
}
.creed-r p { margin-left: auto; }

/* Side accent line that grows from the edge */
.creed-item::after {
    content: ''; position: absolute;
    top: 64px; bottom: 64px;
    width: 1px; background: var(--border2);
    transition: background .5s, width .5s;
}
.creed-l::after { left: -40px; }
.creed-r::after { right: -40px; }
.creed-item.visible::after { background: var(--accent); }
.creed-item:hover::after { width: 3px; background: var(--accent2); }

/* ==================== FAQ ==================== */
.faq { padding: 40px 0 80px; }
.faq-layout {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: .4fr .6fr; gap: 80px; align-items: flex-start;
}
.faq-left h2 { font-family: var(--font2); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.faq-left p { font-size: .9rem; color: var(--text2); line-height: 1.6; }
.faq-left a { color: var(--accent); font-weight: 600; }
.faq-left a:hover { color: var(--accent2); }
.faq-right { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .3s; }
.faq-item:hover { border-color: var(--border2); }
.faq-item.active { border-color: rgba(124,92,252,.25); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: var(--bg2); border: none;
    color: var(--text); font-family: var(--font); font-size: .92rem; font-weight: 600;
    text-align: left; transition: background .15s;
}
.faq-q:hover { background: var(--bg3); }
.faq-icon { font-size: 1.3rem; color: var(--text3); transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 20px; font-size: .88rem; color: var(--text2); line-height: 1.7; }

/* ==================== CONTACT FORM ==================== */
.final-cta { padding: 40px 0 80px; }
.cta-inner {
    max-width: 1280px; margin: 0 auto; padding: 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start;
    background: var(--bg2); border: 1px solid rgba(124,92,252,.15);
    border-radius: 24px; position: relative; overflow: hidden;
}
.cta-inner::before {
    content: ''; position: absolute; top: -120px; left: 30%; width: 500px; height: 400px;
    background: radial-gradient(ellipse, rgba(124,92,252,.08) 0%, transparent 70%); pointer-events: none;
}
.cta-left { position: relative; }
.cta-left h2 { font-family: var(--font2); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.cta-left > p { font-size: .95rem; color: var(--text2); margin-bottom: 28px; line-height: 1.6; }
.cta-trust { display: flex; flex-direction: column; gap: 12px; }
.cta-trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .88rem; color: var(--text2);
}
.cta-trust-item svg { color: var(--green); flex-shrink: 0; }

.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text2); }
.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font); font-size: .9rem; color: var(--text);
    background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px;
    padding: 14px 16px; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text3); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b8ba0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-group select option { background: var(--bg3); color: var(--text); }
.contact-form .btn-main { width: 100%; justify-content: center; }

/* ==================== FOOTER ==================== */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; margin-bottom: 36px;
}
.footer-left { max-width: 340px; }
.footer-left p { font-size: .85rem; color: var(--text2); margin-top: 10px; line-height: 1.6; }
.footer-right { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); margin-bottom: 4px; }
.footer-col a { font-size: .85rem; color: var(--text2); transition: color .15s; }
.footer-col a:hover { color: var(--accent2); }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; }
.footer-phone svg { color: var(--accent); transition: transform .3s; }
.footer-phone:hover svg { transform: rotate(-12deg); }
.footer-bottom {
    max-width: 1280px; margin: 0 auto; padding: 20px 40px 0;
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: .78rem; color: var(--text3); }
.footer-legal a { font-size: .78rem; color: var(--text3); transition: color .15s; }
.footer-legal a:hover { color: var(--text2); }

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 80;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg3); border: 1px solid var(--border2); color: var(--text2);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: .3s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed; bottom: -120px; left: 50%; transform: translateX(-50%);
    z-index: 95; background: var(--bg3); border: 1px solid var(--border2);
    border-radius: var(--radius); padding: 16px 24px;
    display: flex; align-items: center; gap: 20px; max-width: 600px; width: calc(100% - 48px);
    transition: bottom .5s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 10px 40px var(--shadow-soft);
}
.cookie-banner.visible { bottom: 24px; }
.cookie-banner p { font-size: .82rem; color: var(--text2); line-height: 1.5; }
.cookie-banner .btn-sm { flex-shrink: 0; }

/* ==================== 3D TILT EFFECT ==================== */
.tilt-card { transform-style: preserve-3d; transition: transform .3s ease; }

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==================== LOADING SCREEN ==================== */
.loader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--bg); display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 24px;
    transition: opacity .6s ease, visibility .6s ease;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-icon {
    width: 72px; height: 72px;
    object-fit: contain;
    opacity: 0; transform: scale(.7) rotate(-15deg);
    animation: loaderIconIn .7s cubic-bezier(.2,.7,.1,1) forwards,
               loaderIconPulse 2.2s ease-in-out infinite .8s;
    filter: drop-shadow(0 0 24px rgba(124,92,252,.5));
}
@keyframes loaderIconIn {
    to { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes loaderIconPulse {
    0%, 100% { filter: drop-shadow(0 0 24px rgba(124,92,252,.5)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 36px rgba(124,92,252,.8)); transform: scale(1.05); }
}
.loader-logo {
    font-family: var(--font2); font-size: 2.4rem; font-weight: 700;
    opacity: 0; transform: scale(.8);
    animation: loaderPop .6s ease forwards .35s;
}
.loader-a { color: var(--accent); }
.loader-w { color: var(--text); }
@keyframes loaderPop { to { opacity: 1; transform: scale(1); } }
.loader-bar {
    width: 120px; height: 3px; background: var(--bg4); border-radius: 4px; overflow: hidden;
}
.loader-fill {
    width: 0; height: 100%; background: var(--accent); border-radius: 4px;
    animation: loaderFill 1.2s ease-in-out forwards .4s;
}
@keyframes loaderFill { to { width: 100%; } }

/* ==================== MOUSE SPOTLIGHT ==================== */
.mouse-spotlight {
    position: fixed; pointer-events: none; z-index: 1;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(124,92,252,.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity .3s;
}

/* ==================== FLOATING SHAPES ==================== */
.hero-shapes {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.shape {
    position: absolute; border-radius: 50%; opacity: .07;
    filter: blur(1px);
}
.shape-1 {
    width: 80px; height: 80px; border: 2px solid var(--accent);
    top: 15%; right: 8%; animation: floatShape1 12s ease-in-out infinite;
}
.shape-2 {
    width: 40px; height: 40px; background: var(--cyan);
    top: 30%; right: 25%; border-radius: 6px; transform: rotate(45deg);
    animation: floatShape2 10s ease-in-out infinite;
}
.shape-3 {
    width: 120px; height: 120px; border: 1.5px solid var(--cyan);
    bottom: 25%; left: 5%; animation: floatShape3 14s ease-in-out infinite;
}
.shape-4 {
    width: 24px; height: 24px; background: var(--accent);
    top: 60%; right: 12%; border-radius: 4px;
    animation: floatShape4 8s ease-in-out infinite;
}
.shape-5 {
    width: 60px; height: 60px; border: 1.5px solid var(--accent);
    bottom: 15%; right: 35%; border-radius: 12px; transform: rotate(15deg);
    animation: floatShape5 11s ease-in-out infinite;
}
@keyframes floatShape1 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(180deg); } }
@keyframes floatShape2 { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-20px); } }
@keyframes floatShape3 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(25px) rotate(-90deg); } }
@keyframes floatShape4 { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-15px) scale(1.2); } }
@keyframes floatShape5 { 0%, 100% { transform: rotate(15deg) translateX(0); } 50% { transform: rotate(15deg) translateX(20px); } }

/* ==================== PARTICLE CANVAS ==================== */
.particle-canvas {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}

/* ==================== ANIMATED GRADIENT TEXT ==================== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--cyan), var(--accent), var(--cyan));
    background-size: 300% 300%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==================== WAVE DIVIDER ==================== */
.wave-divider {
    width: 100%; overflow: hidden; line-height: 0;
    margin-top: -2px;
}
.wave-divider svg {
    width: 100%; height: 60px; display: block;
    animation: wavePulse 6s ease-in-out infinite;
}
@keyframes wavePulse {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.3); }
}

/* ==================== SECTION GLOW ==================== */
.section-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px; pointer-events: none;
    background: radial-gradient(ellipse, rgba(124,92,252,.06) 0%, transparent 70%);
    animation: sectionGlow 5s ease-in-out infinite alternate;
}
@keyframes sectionGlow {
    0% { opacity: .5; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}
.services { position: relative; overflow: hidden; }

/* ==================== SHADER AFTERGLOW (continuité hero → sections suivantes) ==================== */
.services-editorial::before,
.pillars::before {
    content: '';
    position: absolute;
    top: -180px; left: 50%; transform: translateX(-50%);
    width: 120vw; height: 360px;
    background: radial-gradient(ellipse at center top,
        rgba(124, 92, 252, .18) 0%,
        rgba(124, 92, 252, .08) 30%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.services-editorial > *,
.pillars > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
    .services-editorial::before,
    .pillars::before { display: none; }
}

/* ==================== GLOW PULSE BUTTONS ==================== */
.btn-main, .btn-main-sm {
    position: relative; overflow: hidden;
}
.btn-main::after, .btn-main-sm::after {
    content: ''; position: absolute; inset: -2px; border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    z-index: -1; opacity: 0; filter: blur(12px);
    animation: btnGlow 3s ease-in-out infinite;
}
@keyframes btnGlow {
    0%, 100% { opacity: 0; transform: scale(.95); }
    50% { opacity: .5; transform: scale(1.05); }
}

/* ==================== RIPPLE EFFECT ==================== */
.ripple-effect {
    position: absolute; border-radius: 50%;
    background: rgba(255,255,255,.3);
    transform: scale(0); animation: ripple .6s ease-out forwards;
    pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ==================== TITLE REVEAL (clip-path) ==================== */
[data-reveal-title] {
    clip-path: inset(0 100% 0 0);
    transition: clip-path .8s cubic-bezier(.77,0,.175,1);
}
[data-reveal-title].revealed {
    clip-path: inset(0 0% 0 0);
}

/* ==================== CARD SPOTLIGHT / HOVER GLOW ==================== */
.tarif-block::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(124,92,252,.06), transparent 40%);
    opacity: 0; transition: opacity .3s;
    pointer-events: none; z-index: 0;
}
.tarif-block:hover::before { opacity: 1; }
.tarif-block > * { position: relative; z-index: 1; }

/* ==================== FLOW ANIMATION (editorial service 01) ==================== */
.flow-anim {
    opacity: 0; transform: translateX(-20px);
    transition: opacity .5s ease, transform .5s ease;
}
.flow-anim.active { opacity: 1; transform: translateX(0); }
.ed-flow { position: relative; }

/* ==================== TESTIMONIALS CAROUSEL ==================== */
.testimonials { overflow: hidden; position: relative; }
.testimonials-track {
    max-width: 1280px; margin: 0 auto; padding: 0 40px;
    display: flex; gap: 20px;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 300px;
}
.testimonials-dots {
    display: flex; justify-content: center; gap: 10px; margin-top: 28px;
}
.t-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bg4); border: 1px solid var(--border2);
    transition: .3s; padding: 0;
}
.t-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.3); }

/* ==================== PARALLAX ==================== */
[data-parallax] {
    will-change: transform;
    transition: transform .1s linear;
}

/* ==================== STAGGER LETTERS (hero) ==================== */
.hero-letter {
    display: inline-block;
    opacity: 0; transform: translateY(30px) rotateX(-40deg);
    animation: letterIn .5s ease forwards;
}
@keyframes letterIn {
    to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* ==================== MARQUEE HOVER PAUSE ==================== */
.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

/* ==================== NAV LINKS UNDERLINE ANIMATION ==================== */
.nav-links a {
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent); border-radius: 2px;
    transition: width .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover::after { width: 100%; }

/* ==================== METRIC COUNTER GLOW ==================== */
.metric-val {
    transition: text-shadow .5s;
}
.metric-val.counting {
    text-shadow: 0 0 20px rgba(124,92,252,.4);
}

/* ==================== MORPHING BLOB (contact section) ==================== */
.cta-inner { position: relative; }
.cta-inner::after {
    content: ''; position: absolute; top: 50%; right: -80px;
    width: 300px; height: 300px; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, rgba(124,92,252,.06), rgba(6,182,212,.04));
    animation: morphBlob 8s ease-in-out infinite;
    pointer-events: none; z-index: 0;
}
@keyframes morphBlob {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, -50%) rotate(0deg); }
    25% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: translate(10px, -50%) rotate(45deg); }
    50% { border-radius: 50% 60% 30% 60% / 70% 30% 70% 40%; transform: translate(-10px, -50%) rotate(90deg); }
    75% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(5px, -50%) rotate(135deg); }
}

/* ==================== HOVER BORDER GRADIENT ==================== */
.tarif-featured {
    background: linear-gradient(var(--bg2), var(--bg2)) padding-box,
                linear-gradient(135deg, var(--accent), var(--cyan)) border-box;
    border: 2px solid transparent;
    animation: borderRotate 3s linear infinite;
}
@keyframes borderRotate {
    0% { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(0deg, var(--accent), var(--cyan)) border-box; }
    25% { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(90deg, var(--accent), var(--cyan)) border-box; }
    50% { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(180deg, var(--accent), var(--cyan)) border-box; }
    75% { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(270deg, var(--accent), var(--cyan)) border-box; }
    100% { background: linear-gradient(var(--bg2), var(--bg2)) padding-box, linear-gradient(360deg, var(--accent), var(--cyan)) border-box; }
}

/* ==================== SMOOTH ENTRANCE FOR BODY ==================== */
body.loaded {
    animation: fadeInBody .5s ease;
}
@keyframes fadeInBody { from { opacity: 0; } to { opacity: 1; } }

/* ==================== FAQ ICON SPIN ==================== */
.faq-item.active .faq-icon {
    transform: rotate(45deg); color: var(--accent);
    filter: drop-shadow(0 0 6px rgba(124,92,252,.5));
}

/* ==================== BACK TO TOP SPIN ==================== */
.back-to-top:hover svg {
    animation: bounceSvg .4s ease;
}
@keyframes bounceSvg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 48px; }
    .ed-service, .ed-flip {
        grid-template-columns: 1fr;
        grid-template-areas:
            "num"
            "headline"
            "body"
            "flow";
        column-gap: 0; row-gap: 24px;
        padding: 56px 32px;
    }
    .ed-flip .ed-headline, .ed-flip .ed-body { text-align: left; justify-self: start; }
    .ed-flip .ed-tags { align-items: flex-start; }
    .ed-flip .ed-tags li { padding-left: 20px; padding-right: 0; }
    .ed-flip .ed-tags li::before { left: 0; right: auto; }
    .ed-flip .ed-num { justify-content: flex-start; }
    .ed-num { font-size: clamp(6rem, 22vw, 11rem); }
    .ed-flow { margin-top: 8px; }
    .editorial-meta { display: none; }
    .editorial-head { grid-template-columns: auto 1fr; padding: 0 32px 48px; }
    .tarifs-layout { grid-template-columns: 1fr; max-width: 480px; }
    .faq-layout { grid-template-columns: 1fr; gap: 40px; }
    /* Shifts (avant/apres) → stack vertically */
    .shift-row {
        grid-template-columns: 1fr;
        row-gap: 28px; padding: 56px 0;
    }
    .shift-num { font-size: clamp(5rem, 18vw, 7rem); }
    .shift-stat { justify-self: start; transform: rotate(-2deg); }
    /* Path (methode) → single column, markers left */
    .path { padding: 32px 24px 0; }
    .path-spine { left: 28px; transform: none; }
    .path-step {
        grid-template-columns: 56px 1fr;
        grid-template-areas: "marker num" "marker card" !important;
        padding: 44px 0;
    }
    .path-step-l .path-num, .path-step-l .path-card,
    .path-step-r .path-num, .path-step-r .path-card {
        grid-column: 2; justify-self: start; text-align: left;
        padding-left: 24px; padding-right: 0;
    }
    .path-step-l .path-num, .path-step-r .path-num { flex-direction: row; justify-content: flex-start; }
    .path-marker { grid-column: 1; }
    .path-step::before { display: none; }
    .path-num { font-size: clamp(4rem, 14vw, 6rem); }
    /* Plans (price strips) */
    .plan-strip {
        grid-template-columns: 1fr;
        row-gap: 16px; column-gap: 0;
        padding: 28px 0;
    }
    .plan-index { writing-mode: horizontal-tb; transform: none; border-left: 0; padding: 0; }
    /* Creed (manifesto) */
    .creed-r { align-self: flex-start; text-align: left; }
    .creed-r .creed-headline { align-items: flex-start; }
    .creed-r p { margin-left: 0; }
    .creed-r::after { right: auto; left: -24px; }
    .creed-item::after { display: none; }
    .cta-inner { grid-template-columns: 1fr; }
    .testimonials-track { padding: 0 24px; }
    .testimonial-card { flex: 0 0 100%; }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor, .cursor-trail { display: none; }
    a, button, input, select, textarea { cursor: auto; }
    .nav-links, .nav-cta { display: none; }
    .burger { display: block; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--nav-bg); backdrop-filter: blur(20px); padding: 24px 40px; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .hero { padding: 100px 24px 0; }
    .hero-title { font-size: 2rem; }
    .hero-metrics { flex-direction: column; gap: 20px; }
    .section-intro, .tarifs-layout, .faq-layout { padding: 0 24px; }
    .shifts, .creed, .plans { padding: 0 24px; }
    .ed-service, .ed-flip { padding: 44px 24px; }
    .editorial-head { padding: 0 24px 40px; }
    .ed-rule::after, .shift-rule::after { left: 24px; }
    .plans { margin: 64px 0 0; }
    .cta-inner { margin: 0 24px; padding: 36px 24px; }
    .nav-inner, .footer-inner, .footer-bottom { padding: 0 24px; }
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-right { gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
    .testimonials-track { padding: 0 24px; }
    .testimonial-card { flex: 0 0 100%; min-width: unset; }
    .hero-shapes { display: none; }
    .particle-canvas { display: none; }
    .mouse-spotlight { display: none; }
    .section-glow { display: none; }
    .sticky-cta-inner { padding: 14px 24px; }
    .sticky-cta-inner span { display: none; }
    .sticky-cta-inner { justify-content: center; }
}

@media (hover: none) {
    .cursor, .cursor-trail { display: none; }
    body, a, button, input, select, textarea { cursor: auto; }
}

/* ==================== HERO — CTA SUB ==================== */
.hero-cta-sub {
    margin: 14px 0 0;
    font-family: var(--font2);
    font-size: 0.82rem;
    color: var(--text3);
    letter-spacing: 0.02em;
    text-align: center;
}

/* ==================== TÉMOIGNAGES ==================== */
.testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 100px;
    position: relative;
    z-index: 2;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}
.testimonial-card {
    background: var(--bg2);
    border: 1px solid var(--border2);
    padding: 36px 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border-radius: 4px;
    transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.testimonial-card:hover {
    border-color: color-mix(in oklch, var(--border2), var(--accent) 40%);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px var(--shadow-soft);
}
.testimonial-featured {
    background: color-mix(in oklch, var(--bg2), var(--accent) 6%);
    border-color: color-mix(in oklch, var(--border2), var(--accent) 35%);
}
.testimonial-stars {
    color: #f5b400;
    font-size: 1.1rem;
    letter-spacing: 3px;
    line-height: 1;
}
.testimonial-text {
    font-family: var(--font);
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text);
    margin: 0;
    flex: 1;
}
.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.testimonial-name {
    font-family: var(--font2);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.testimonial-role {
    font-family: var(--font);
    font-size: 0.85rem;
    color: var(--text2);
}
.testimonial-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font2);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text3);
    margin-top: 8px;
    text-transform: uppercase;
}
.testimonial-source svg { flex-shrink: 0; }
.testimonials-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 48px;
    font-family: var(--font2);
    font-size: 0.85rem;
    color: var(--text2);
    letter-spacing: 0.04em;
    text-align: center;
}
.testimonials-foot-stars {
    color: #f5b400;
    font-size: 1rem;
    letter-spacing: 3px;
}
@media (max-width: 980px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 22px; }
    .testimonials { padding: 90px 24px 70px; }
}
