/* ═══════════════════════════════════════════════════════════
   PROJEXA — SITE VITRINE v2
   Design premium : dark hero, glassmorphism, glow effects
═══════════════════════════════════════════════════════════ */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:   #4f46e5;
    --primary-d: #4338ca;
    --primary-l: #eef2ff;
    --accent:    #4f46e5;
    --navy:      #1C2B3A;
    --navy-d:    #131e28;
    --navy-l:    #243546;
    --green:     #15803d;
    --red:       #dc2626;
    --purple:    #9333ea;
    --text:      #0f172a;
    --text-m:    #475569;
    --text-l:    #94a3b8;
    --border:    #e2e8f0;
    --bg:        #ffffff;
    --bg-alt:    #f8fafc;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow:    0 4px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 16px 64px rgba(0,0,0,.12);
    --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { overflow-x: hidden; }

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}
.btn--primary {
    background: var(--btn-bg, var(--primary));
    color: #fff;
    border-color: var(--btn-bg, var(--primary));
}
.btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--btn-glow, rgba(79,70,229,.35));
}

.btn--glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--btn-bg, var(--primary));
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition);
    z-index: -1;
}
.btn--glow:hover::before { opacity: .5; }

.btn--outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--outline:hover {
    background: var(--primary-l);
    transform: translateY(-2px);
}

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

.btn--glass {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
}
.btn--glass:hover {
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.35);
    transform: translateY(-2px);
}

.btn--lg { padding: .85rem 1.8rem; font-size: 1rem; border-radius: 10px; }

.btn__arrow {
    transition: transform var(--transition);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Section commons ───────────────────────────────────── */
section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-badge {
    display: inline-block;
    padding: .3rem .9rem;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: .9rem;
}
.section-title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: .9rem;
    color: var(--text);
    letter-spacing: -.01em;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--text-m);
    max-width: 580px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.nav-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}
.nav-wrapper.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: .8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__links {
    display: flex;
    gap: .2rem;
    margin-left: auto;
}
.nav__links a {
    padding: .5rem .85rem;
    border-radius: 6px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-m);
    transition: all var(--transition);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition);
}
.nav__links a:hover::after,
.nav__links a.active::after,
.nav__links a.nav__link--active::after { width: 60%; }
.nav__links a:hover,
.nav__links a.nav__link--active { color: var(--primary); }

.nav__actions { display: flex; gap: .6rem; align-items: center; }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
    margin-left: auto;
}
.nav__burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
}
/* Animation ☰ → ✕ */
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.5rem;
    z-index: 999;
    box-shadow: var(--shadow);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: .4rem; }
.mobile-menu a {
    display: block;
    padding: .6rem .8rem;
    font-weight: 500;
    color: var(--text-m);
    border-radius: 6px;
}
.mobile-menu a:hover { color: var(--primary); background: var(--primary-l); }
.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.mobile-menu__actions .btn { width: 100%; justify-content: center; }

/* ── Responsive NAV (mobile ≤ 768px) ───────────────────── */
@media (max-width: 768px) {
    .nav__links   { display: none !important; }
    .nav__actions { display: none !important; }
    .nav__burger  { display: flex !important; }
}

/* ══════════════════════════════════════════════════════════
   HERO — DARK MODE
══════════════════════════════════════════════════════════ */
.hero {
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Subtle grid pattern */
.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Glow orbs */
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    will-change: opacity, transform;
}
.hero__glow--1 {
    width: 500px; height: 500px;
    background: rgba(79,70,229,.15);
    top: -10%; right: 10%;
    animation: glowPulse 6s ease-in-out infinite;
}
.hero__glow--2 {
    width: 400px; height: 400px;
    background: rgba(28,43,58,.4);
    bottom: -10%; left: -5%;
    animation: glowPulse 8s ease-in-out infinite 2s;
}
@keyframes glowPulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%       { opacity: 1; transform: scale(1.15); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.8);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.hero__badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 4px var(--primary); }
    50%       { box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(79,70,229,.3); }
}

.hero__title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -.02em;
    color: #fff;
    /* Prevent typed-text animation from causing layout shift */
    min-height: calc(1.1em * 2 + .3rem);
}
.hero__accent {
    background: linear-gradient(135deg, var(--primary), #818cf8, var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Hero metrics */
.hero__metrics {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero__metric { text-align: center; }
.hero__metric strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.hero__metric span {
    font-size: .72rem;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.hero__metric-sep {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,.12);
    flex-shrink: 0;
}

/* Hero visual — mock browser */
.hero__visual {
    position: relative;
}

.hero__screen {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(0,0,0,.4);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.hero__screen-bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .8rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
}
.hero__screen-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: .2rem .7rem;
    font-size: .68rem;
    color: var(--text-l);
    margin-left: .5rem;
}

.hero__screen-body { padding: .6rem; }

/* Mock dashboard inside hero */
.mock-dashboard { display: flex; gap: .4rem; height: 220px; }
.mock-sidebar {
    width: 36px;
    background: var(--navy);
    border-radius: 6px;
    padding: .4rem .2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}
.mock-logo { margin-bottom: .2rem; }
.mock-nav-item {
    width: 26px; height: 26px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: rgba(255,255,255,.3);
    transition: all var(--transition);
    cursor: default;
}
.mock-nav-item.active { background: rgba(79,70,229,.45); color: #fff; }

.mock-main { flex: 1; display: flex; flex-direction: column; gap: .3rem; }
.mock-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem .5rem;
    background: var(--bg-alt);
    border-radius: 4px;
    min-height: 16px;
}
.mock-topbar__title {
    height: 6px; width: 60px;
    background: #e2e8f0;
    border-radius: 3px;
}
.mock-topbar__actions { display: flex; gap: .2rem; }
.mock-topbar__actions span {
    display: block;
    width: 16px; height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .25rem;
    margin-bottom: .3rem;
}
.mock-kpi {
    padding: .3rem .3rem;
    border-radius: 4px;
    text-align: center;
}
.mock-kpi--orange { background: #eef2ff; }
.mock-kpi--green  { background: #dcfce7; }
.mock-kpi--blue   { background: #eef1f4; }
.mock-kpi--purple { background: #f3e8ff; }
.mock-kpi__val {
    font-size: .65rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.mock-kpi__lbl {
    height: 3px;
    background: rgba(0,0,0,.08);
    border-radius: 2px;
    margin-top: .15rem;
}

.mock-gantt { flex: 1; display: flex; flex-direction: column; gap: .15rem; }
.mock-gantt__row {
    flex: 1;
    background: var(--bg-alt);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    min-height: 8px;
}
.mock-gantt__bar {
    position: absolute;
    top: 0; bottom: 0;
    border-radius: 3px;
    opacity: .8;
}

/* Floating badges — glass style */
.hero__float {
    position: absolute;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: .45rem 1rem;
    font-size: .72rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--text);
}
.hero__float-icon { font-size: .85rem; }
.hero__float--1 { top: 8%; right: -3%; animation: floatBadge 3.5s ease-in-out infinite; }
.hero__float--2 { bottom: 22%; left: -6%; animation: floatBadge 4s ease-in-out infinite .5s; }
.hero__float--3 { top: 48%; right: -8%; animation: floatBadge 3s ease-in-out infinite 1s; }

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    color: rgba(255,255,255,.35);
    cursor: pointer;
    animation: floatBadge 2.5s ease-in-out infinite;
    z-index: 1;
}
.hero__scroll-mouse {
    width: 18px; height: 28px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 9px;
    position: relative;
}
.hero__scroll-mouse::after {
    content: '';
    position: absolute;
    top: 4px; left: 50%;
    transform: translateX(-50%);
    width: 3px; height: 5px;
    background: rgba(255,255,255,.4);
    border-radius: 2px;
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    60%       { transform: translateX(-50%) translateY(8px); opacity: 0; }
}

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot--r { background: #fc5c65; }
.dot--y { background: #fed330; }
.dot--g { background: #26de81; }

/* ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════ */
.trust-bar {
    background: var(--bg-alt);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}
.trust-bar__label {
    text-align: center;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-l);
    font-weight: 600;
    margin-bottom: 1rem;
}
.trust-bar__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-bar__logo {
    font-size: 1.1rem;
    font-weight: 800;
    color: #cbd5e1;
    letter-spacing: .02em;
    opacity: .6;
    transition: opacity var(--transition);
}
.trust-bar__logo:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   PAIN SECTION
══════════════════════════════════════════════════════════ */
.pain { background: #fff; }

.pain__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.pain__col {
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid var(--border);
    transition: all var(--transition);
}
.pain__col:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain__col--before {
    background: #fff5f5;
    border-color: #fecaca;
}
.pain__col--after {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.pain__col-header {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.5rem;
}
.pain__col-icon { font-size: 1.5rem; }
.pain__col-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); }

.pain__list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.pain__list li {
    font-size: .88rem;
    color: var(--text-m);
    padding: .5rem .8rem;
    border-radius: 7px;
    line-height: 1.5;
}
.pain__list--bad li {
    background: rgba(220,38,38,.05);
    border-left: 3px solid #fca5a5;
}
.pain__list--good li {
    background: rgba(22,163,74,.05);
    border-left: 3px solid #86efac;
}

.pain__cta { text-align: center; margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════
   ROI
══════════════════════════════════════════════════════════ */
.roi {
    background: linear-gradient(135deg, #0f172a, var(--navy));
    padding: 4rem 0;
}

.roi__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.roi__item {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    transition: all var(--transition);
}
.roi__item:hover {
    background: rgba(255,255,255,.09);
    transform: translateY(-5px);
    border-color: rgba(79,70,229,.3);
}

.roi__num {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: .6rem;
}

.roi__text {
    font-size: .88rem;
    color: #94a3b8;
    line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════
   SAAS & ISOLATION
══════════════════════════════════════════════════════════ */
.saas-section {
    background: var(--bg-alt);
    padding: 5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.saas-section .section-title { color: var(--text); }
.saas-section .section-sub   { color: var(--text-m); }
.saas-section .section-badge {
    background: var(--primary-l);
    color: var(--primary);
}

.saas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: .5rem;
}

.saas__card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.saas__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #818cf8);
    opacity: 0;
    transition: opacity var(--transition);
}
.saas__card:hover {
    border-color: rgba(79,70,229,.25);
    box-shadow: 0 8px 32px rgba(79,70,229,.1);
    transform: translateY(-4px);
}
.saas__card:hover::before { opacity: 1; }

.saas__icon {
    width: 52px; height: 52px;
    background: var(--primary-l);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.saas__icon svg {
    width: 26px; height: 26px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.saas__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.saas__card p {
    font-size: .88rem;
    color: var(--text-m);
    line-height: 1.6;
    margin: 0;
}

/* ── Responsive HERO & sections (mobile ≤ 768px) ────────── */
@media (max-width: 768px) {
    .hero { padding: 5rem 0 3rem; min-height: auto; }
    .hero__inner {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    .hero__visual { display: none !important; }
    .hero__float  { display: none !important; }
    .hero__sub { max-width: 100%; }
    .hero__ctas { justify-content: center; }
    .hero__metrics {
        justify-content: center;
        gap: 1rem;
    }
    .hero__badge { margin-left: auto; margin-right: auto; }

    .section-label, .section__title, .section__sub { text-align: center; }

    /* Page heros */
    .page-hero { padding: 4rem 0 2.5rem; }
    .page-hero__title { font-size: clamp(1.6rem, 6vw, 2.5rem); }

    /* Containers */
    .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 480px) {
    .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    .hero__ctas { flex-direction: column; align-items: center; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
    .hero__metrics { gap: .75rem; }
    .hero__metric-sep { display: none; }
}

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

/* ══════════════════════════════════════════════════════════
   ESPACES
══════════════════════════════════════════════════════════ */
.espaces { background: var(--bg-alt); }

.espace-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
}
.espace-block:last-child { border-bottom: none; }

.espace-block--reverse .espace-block__content { order: 2; }
.espace-block--reverse .espace-block__visual  { order: 1; }

.espace-block__badge {
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.espace-block__badge--admin  { background: #eef2ff; color: var(--primary); }
.espace-block__badge--resp   { background: #f0fdf4; color: #16a34a; }
.espace-block__badge--chef   { background: #fefce8; color: #ca8a04; }
.espace-block__badge--bm     { background: #fdf4ff; color: #9333ea; }
.espace-block__badge--client { background: #fff7ed; color: #ea580c; }

.espace-block__title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    margin-bottom: .8rem;
    color: var(--text);
}

.espace-block__desc {
    font-size: .95rem;
    color: var(--text-m);
    margin-bottom: 1.8rem;
    line-height: 1.7;
}

.espace-block__features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.ef-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ef-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}
.ef-item strong { font-size: .9rem; display: block; margin-bottom: .15rem; }
.ef-item p { font-size: .82rem; color: var(--text-m); line-height: 1.55; margin: 0; }

/* Visual mockup blocks */
.espace-block__visual {
    border-radius: var(--radius-lg);
    padding: 2rem;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.espace-block__visual--admin  { background: linear-gradient(135deg, var(--navy-d), var(--navy-l)); }
.espace-block__visual--resp   { background: linear-gradient(135deg, #052e16, #14532d); }
.espace-block__visual--chef   { background: linear-gradient(135deg, #1c1003, #422006); }
.espace-block__visual--bm     { background: linear-gradient(135deg, #1a0533, #3b0764); }
.espace-block__visual--client { background: linear-gradient(135deg, #1c0a03, #431407); }

/* ── EV screen (espace visual mockups) ─────────────────── */
.ev-screen { width: 100%; }
.ev-title { font-size: .85rem; font-weight: 700; margin-bottom: .8rem; }
.ev-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-bottom: .8rem; }
.ev-kpi { border: 1px solid; border-radius: 6px; padding: .4rem; text-align: center; background: rgba(0,0,0,.15); }
.ev-kpi__val { font-size: .85rem; font-weight: 800; }
.ev-kpi__lbl { font-size: .6rem; color: #94a3b8; margin-top: .1rem; }
.ev-chart { display: flex; gap: .3rem; height: 60px; align-items: flex-end; margin-bottom: .6rem; }
.ev-bar { flex: 1; border-radius: 3px 3px 0 0; display: flex; align-items: flex-end; justify-content: center; min-width: 0; }
.ev-bar span { font-size: .5rem; color: rgba(255,255,255,.6); padding-bottom: .15rem; }
.ev-table { display: flex; flex-direction: column; gap: .2rem; }
.ev-row { display: flex; align-items: center; gap: .5rem; font-size: .68rem; color: #94a3b8; padding: .25rem .4rem; background: rgba(0,0,0,.1); border-radius: 4px; }
.ev-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* EV shared components */
.ev-project-list { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .6rem; }
.ev-project { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: #94a3b8; }
.ev-project__name { width: 100px; font-weight: 600; color: #e2e8f0; }
.ev-progress-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.ev-progress-bar > div { height: 100%; border-radius: 3px; }
.ev-stats-row { display: flex; gap: .8rem; justify-content: center; }
.ev-stat { text-align: center; }
.ev-stat strong { display: block; font-size: .9rem; font-weight: 800; }
.ev-stat span { font-size: .58rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }

.ev-tabs { display: flex; gap: .3rem; margin-bottom: .6rem; }
.ev-tab { font-size: .6rem; padding: .2rem .5rem; border-radius: 4px; color: #94a3b8; background: rgba(255,255,255,.05); }
.ev-tab.active { background: rgba(79,70,229,.3); color: #fff; }

.ev-budget { margin-bottom: .6rem; }
.ev-budget__row { display: flex; justify-content: space-between; font-size: .65rem; margin-bottom: .15rem; }
.ev-budget__gauge { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; display: flex; margin: .3rem 0; }
.ev-budget__lbl { display: flex; gap: .6rem; font-size: .55rem; }

.ev-gantt-mini { display: flex; flex-direction: column; gap: .3rem; }
.ev-gm-row { display: flex; align-items: center; gap: .5rem; font-size: .65rem; color: #94a3b8; }
.ev-gm-row span:first-child { width: 70px; font-weight: 600; }
.ev-gm-bar { height: 6px; border-radius: 3px; flex: 1; position: relative; }

.ev-ca { text-align: center; }
.ev-ca__label { font-size: .6rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .06em; }
.ev-ca__val { font-size: 1.4rem; font-weight: 900; color: #fff; margin: .2rem 0; }
.ev-ca__val span { font-size: .7rem; color: #94a3b8; }
.ev-ca__obj { font-size: .6rem; color: #94a3b8; margin-bottom: .4rem; }
.ev-ca__bar-bg { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.ev-ca__bar-fill { height: 100%; background: linear-gradient(90deg, #9333ea, #d8b4fe); border-radius: 4px; }
.ev-ca__pct { font-size: .6rem; color: #d8b4fe; margin-top: .2rem; }

.ev-client-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.ev-client-progress { margin-bottom: .6rem; }
.ev-phases-mini { display: flex; flex-direction: column; gap: .25rem; }
.ev-phase-mini { font-size: .65rem; padding: .3rem .5rem; border-radius: 4px; font-weight: 600; }
.ev-phase-mini--done { background: rgba(22,163,74,.15); color: #4ade80; }
.ev-phase-mini--wip  { background: rgba(79,70,229,.15); color: #818cf8; }
.ev-phase-mini--wait { background: rgba(255,255,255,.05); color: #64748b; }

/* ══════════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════════ */
.features { background: #fff; }

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

.feat-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.8rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(79,70,229,.3);
}
.feat-card__icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.feat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.feat-card p  { font-size: .88rem; color: var(--text-m); line-height: 1.6; }

.feat-card--large { grid-column: span 1; }
@media (min-width: 769px) {
    .feat-card--large:first-child,
    .feat-card--large:nth-child(2) { grid-column: span 1; }
}

.feat-card__tags {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.feat-card__tags span {
    padding: .2rem .6rem;
    background: var(--primary-l);
    color: var(--primary);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════════ */
.how { background: var(--bg-alt); }

.how__steps {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.how__step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.how__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,70,229,.3); }

.how__step-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .1em;
    margin-bottom: .5rem;
}
.how__step-icon { font-size: 2rem; margin-bottom: .8rem; }
.how__step h3   { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.how__step p    { font-size: .85rem; color: var(--text-m); line-height: 1.6; }

.how__connector {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.how__connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--primary), var(--border));
    border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════ */
.pricing { background: var(--bg-alt); }

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.pricing-card--featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,.08), var(--shadow);
    transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: .3rem .9rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card__header { margin-bottom: 1.5rem; }
.pricing-card__plan {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .5rem;
}
.pricing-card__amount {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text);
}
.pricing-card__amount small { font-size: 1rem; }
.pricing-card__period { display: block; font-size: .82rem; color: var(--text-m); margin-top: .2rem; }
.pricing-card__desc { font-size: .88rem; color: var(--text-m); margin-bottom: 1.5rem; }

.pricing-card__features { margin-bottom: 1.5rem; }
.pricing-card__features li {
    padding: .45rem 0;
    font-size: .88rem;
    color: var(--text-m);
    border-bottom: 1px solid #f1f5f9;
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__no { color: var(--text-l); }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testimonials { background: var(--bg-alt); }

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

.testi-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all var(--transition);
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(232,75,26,.2);
}

.testi-card__stars {
    display: flex;
    gap: .2rem;
    color: #f59e0b;
    font-size: 1rem;
}

.testi-card__quote {
    font-size: .95rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}
.testi-card__quote::before { content: '\201C'; }
.testi-card__quote::after  { content: '\201D'; }

.testi-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testi-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: .02em;
}

.testi-card__name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--text);
}
.testi-card__role {
    font-size: .78rem;
    color: var(--text-m);
}
.testi-card__company {
    font-size: .75rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: .1rem;
}

@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }
@media (min-width: 601px) and (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr 1fr; } }

/* ══════════════════════════════════════════════════════════
   SECURITE
══════════════════════════════════════════════════════════ */
.security-section {
    background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.security-section__glow {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.18) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.security-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.security-shield {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.security-shield svg {
    width: 72px; height: 72px;
    filter: drop-shadow(0 0 20px rgba(79,70,229,.5));
}

.security-section__title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: .75rem 0;
    letter-spacing: -.01em;
}

.security-section__sub {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.security__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.security__card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.security__card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(79,70,229,.08), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.security__card:hover {
    border-color: rgba(79,70,229,.4);
    background: rgba(79,70,229,.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(79,70,229,.15);
}
.security__card:hover::after { opacity: 1; }

.security__icon {
    width: 44px; height: 44px;
    background: rgba(79,70,229,.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.security__icon svg {
    width: 22px; height: 22px;
    stroke: #818cf8;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.security__card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.security__card p {
    font-size: .83rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Bande de confiance */
.security__trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 0;
    padding: 1.25rem 2rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    max-width: 860px;
    margin: 0 auto;
}
.security__trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 0 1rem;
    white-space: nowrap;
}
.security__trust-item svg {
    width: 14px; height: 14px;
    stroke: #4f46e5;
    flex-shrink: 0;
}
.security__trust-sep {
    width: 1px; height: 16px;
    background: rgba(255,255,255,.1);
}

@media (max-width: 900px) {
    .security__grid { grid-template-columns: 1fr 1fr; }
    .security__trust-bar { border-radius: var(--radius-lg); }
}
@media (max-width: 600px) {
    .security__grid { grid-template-columns: 1fr; }
    .security__trust-sep { display: none; }
    .security__trust-bar { gap: .75rem; padding: 1.25rem; }
}

.testimonials { background: #fff; }

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

.testi-card {
    padding: 1.8rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(79,70,229,.2); }

.testi-card__stars { color: #f59e0b; font-size: 1rem; margin-bottom: .8rem; }
.testi-card__text  { font-size: .9rem; color: var(--text-m); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }

.testi-card__author { display: flex; align-items: center; gap: .8rem; }
.testi-card__avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.testi-card__name { font-weight: 700; font-size: .88rem; }
.testi-card__role { font-size: .78rem; color: var(--text-m); }

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-section {
    background: var(--navy);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section__glow {
    position: absolute;
    width: 500px; height: 500px;
    background: rgba(79,70,229,.12);
    border-radius: 50%;
    filter: blur(120px);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section__inner { max-width: 700px; margin: 0 auto; }
.cta-section__badge {
    display: inline-block;
    padding: .3rem .9rem;
    background: rgba(79,70,229,.2);
    border: 1px solid rgba(79,70,229,.3);
    color: #a5b4fc;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.cta-section__title {
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: .8rem;
}
.cta-section__sub   { font-size: 1rem; opacity: .7; margin-bottom: 2rem; line-height: 1.7; }

.cta-section__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 580px;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.cta-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.cta-form__btn {
    width: 100%;
    justify-content: center;
    padding: .9rem;
    font-size: 1rem;
    letter-spacing: .02em;
}

.cta-section__trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.cta-section__trust span {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}
.cta-section__trust svg {
    width: 13px; height:13px; }

/* ── CTA Split layout (page contact) ───────────────────── */
.cta-section--split { text-align: left; }
.cta-section__glow--2 {
    position: absolute;
    width: 400px; height: 400px;
    background: rgba(99,102,241,.08);
    border-radius: 50%;
    filter: blur(100px);
    bottom: -100px; right: 5%;
    pointer-events: none;
}

.cta-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.cta-split__info { padding-top: .5rem; }

.cta-split__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 1rem 0 1rem;
    letter-spacing: -.5px;
}
.cta-split__title span { color: #a5b4fc; }

.cta-split__sub {
    font-size: 1rem;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-split__benefits {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2.5rem;
}
.cta-split__benefits li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}
.cta-split__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(79,70,229,.25);
    border: 1px solid rgba(79,70,229,.4);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}
.cta-split__check svg { width: 13px; height: 13px; }
.cta-split__benefits li strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: .1rem;
}
.cta-split__benefits li span {
    font-size: .83rem;
    color: rgba(255,255,255,.45);
}

.cta-split__contact { display: flex; flex-direction: column; gap: .6rem; }
.cta-split__contact-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.45);
    transition: color var(--transition);
}
.cta-split__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.cta-split__contact-item:hover { color: #a5b4fc; }

/* Form card */
.cta-split__form-wrap {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.cta-split__form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.cta-split__form-header {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 1.5rem;
}
.cta-split__form-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}
.cta-split__form-header p {
    font-size: .83rem;
    color: rgba(255,255,255,.4);
}

.cta-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.cta-field label {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.6);
    letter-spacing: .02em;
}
.cta-field label small { font-weight: 400; opacity: .7; margin-left: .2rem; }
.req { color: #f87171; }

.cta-input {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    padding: .65rem .9rem;
    font-size: .9rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition), background var(--transition);
    width: 100%;
}
.cta-input::placeholder { color: rgba(255,255,255,.3); }
.cta-input:focus {
    outline: none;
    border-color: rgba(99,102,241,.6);
    background: rgba(255,255,255,.1);
}
.cta-input option { background: #1e1b4b; color: #fff; }

.cta-split__form-note {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    color: rgba(255,255,255,.3);
    margin-top: .75rem;
    text-align: center;
    justify-content: center;
}
.cta-split__form-note svg { width: 13px; height: 13px; flex-shrink: 0; }

@media (max-width: 960px) {
    .cta-split { grid-template-columns: 1fr; gap: 2.5rem; }
    .cta-section--split { text-align: center; }
    .cta-split__benefits { text-align: left; max-width: 480px; margin-left: auto; margin-right: auto; }
    .cta-split__contact { align-items: center; }
}
@media (max-width: 600px) {
    .cta-form__grid { grid-template-columns: 1fr; }
    .cta-split__form { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   PRICING — EXTENSIONS (Trial + Enterprise)
══════════════════════════════════════════════════════════ */
.pricing { background: var(--bg-alt); }

.pricing-card--trial {
    border-color: var(--border);
    background: #fff;
}

.pricing-card--enterprise {
    background: var(--navy);
    border-color: var(--navy-d);
    color: #fff;
}
.pricing-card--enterprise .pricing-card__plan { color: #94a3b8; }
.pricing-card--enterprise .pricing-card__amount { color: #fff; }
.pricing-card--enterprise .pricing-card__period { color: #94a3b8; }
.pricing-card--enterprise .pricing-card__desc { color: #94a3b8; }
.pricing-card--enterprise .pricing-card__features li { color: #94a3b8; border-bottom-color: rgba(255,255,255,.08); }
.pricing-card--enterprise .pricing-card__features li .check { color: #4ade80; }

.pricing-card__savings {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .65rem;
    border-radius: 999px;
    margin-bottom: .75rem;
}

.pricing-card__annual-note {
    font-size: .78rem;
    color: var(--text-l);
    text-decoration: line-through;
    margin-bottom: .25rem;
}

.pricing-card__features .check { color: var(--green); margin-right: .35rem; }
.pricing-card__features .cross { color: var(--text-l); margin-right: .35rem; }

@media (max-width: 900px) {
    .pricing__grid { grid-template-columns: 1fr; }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ══════════════════════════════════════════════════════════
   BUTTON SIZES ADDITIONNELS
══════════════════════════════════════════════════════════ */
.btn--sm {
    padding: .4rem .9rem;
    font-size: .82rem;
    border-radius: 8px;
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO — Hero pour pages internes (fond clair, compact)
══════════════════════════════════════════════════════════ */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 50%, #f0f4ff 100%);
    padding: 5.5rem 0 3.5rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(79,70,229,.12);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(79,70,229,.12) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero__glow { display: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #64748b;
    margin-bottom: 1.2rem;
}
.page-hero__breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color var(--transition);
}
.page-hero__breadcrumb a:hover { color: var(--primary); }
.page-hero__breadcrumb-sep { color: #94a3b8; font-size: .9rem; }
.page-hero__title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: .9rem;
    letter-spacing: -.5px;
}
.page-hero__title span { color: var(--primary); }
.page-hero__sub {
    font-size: 1.05rem;
    color: var(--text-m);
    max-width: 560px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   ESPACES CONDENSED — Grille 5 cartes pour la page accueil
══════════════════════════════════════════════════════════ */
.espaces-condensed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (max-width: 900px) { .espaces-condensed { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .espaces-condensed { grid-template-columns: 1fr; } }

.espace-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.espace-card:hover {
    border-color: rgba(79,70,229,.35);
    box-shadow: 0 8px 32px rgba(79,70,229,.1);
    transform: translateY(-3px);
}
.espace-card__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    width: fit-content;
    background: var(--primary-l);
    color: var(--primary);
}
.espace-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.espace-card__desc {
    font-size: .9rem;
    color: var(--text-m);
    line-height: 1.6;
    flex: 1;
}

/* ══════════════════════════════════════════════════════════
   FAQ — Accordion élégant
══════════════════════════════════════════════════════════ */
.faq-section {
    background: var(--bg-alt);
    padding: 5rem 0;
}
.faq__grid {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: 3rem;
}
.faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:hover {
    border-color: rgba(79,70,229,.3);
    box-shadow: 0 4px 20px rgba(79,70,229,.08);
}
.faq__item.is-open {
    border-color: rgba(79,70,229,.35);
    box-shadow: 0 4px 24px rgba(79,70,229,.1);
}
.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    transition: background var(--transition);
}
.faq__question:hover { background: var(--primary-l); }
.faq__item.is-open .faq__question {
    background: var(--primary-l);
    color: var(--primary-d);
}
.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-l);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.faq__item.is-open .faq__icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq__answer-inner {
    padding: 1rem 1.5rem 1.5rem;
    font-size: .95rem;
    color: var(--text-m);
    line-height: 1.75;
    border-top: 1px solid var(--border);
}
.faq__item.is-open .faq__answer { max-height: 400px; }

/* ══════════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════════ */
.contact-section {
    background: var(--bg-alt);
    padding: 5rem 0;
}
.contact-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

/* Contact list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.contact-list__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-list__item:hover {
    border-color: rgba(79,70,229,.25);
    box-shadow: 0 4px 16px rgba(79,70,229,.07);
}
.contact-list__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-l);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-list__icon svg { width: 18px; height: 18px; }
.contact-list__text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.contact-list__label {
    font-size: .73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-l);
}
.contact-list__text a,
.contact-list__text span {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text);
    transition: color var(--transition);
}
.contact-list__text a:hover { color: var(--primary); }

/* Response guarantees */
.contact-section__response {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.contact-response__item {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .9rem 1.1rem;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-response__item strong {
    font-size: .88rem;
    color: var(--text);
}
.contact-response__item span {
    font-size: .78rem;
    color: var(--text-m);
    line-height: 1.5;
}

/* Contact form */
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    width: 100%;
}
.contact-field label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-m);
    letter-spacing: .01em;
}
.req { color: #ef4444; }
.contact-input {
    width: 100%;
    padding: .7rem 1rem;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: .9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.contact-input::placeholder { color: #94a3b8; }
.contact-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
textarea.contact-input { resize: vertical; min-height: 120px; }

.contact-form__btn {
    width: 100%;
    justify-content: center;
    gap: .6rem;
    font-size: 1rem;
    padding: .9rem;
}

@media (max-width: 960px) {
    .contact-section__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
    .contact-form__row { grid-template-columns: 1fr; }
    .contact-form { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
    background: var(--navy);
    color: #94a3b8;
    padding: 4rem 0 0;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand p {
    font-size: .9rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-top: .75rem;
    max-width: 260px;
}
.footer__logo { margin-bottom: .5rem; }
.footer__credit {
    font-size: .78rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}
.footer__credit a { color: #94a3b8; transition: color var(--transition); }
.footer__credit a:hover { color: var(--primary); }

.footer__socials {
    display: flex;
    gap: .6rem;
    margin-top: 1.25rem;
}
.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: #94a3b8;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer__social svg {
    width: 16px;
    height: 16px;
}
.footer__social:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer__col-heading {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #e2e8f0;
    margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__col ul li a {
    font-size: .88rem;
    color: #94a3b8;
    transition: color var(--transition);
}
.footer__col ul li a:hover { color: #e2e8f0; }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: .8rem;
    color: #94a3b8;
    flex-wrap: wrap;
    gap: .5rem;
}
.footer__bottom a { color: #94a3b8; transition: color var(--transition); }
.footer__bottom a:hover { color: var(--primary); }

@media (max-width: 900px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — Sections non couvertes
══════════════════════════════════════════════════════════ */

/* ── Tablette (≤ 900px) ───────────────────────────────── */
@media (max-width: 900px) {
    section { padding: 3.5rem 0; }

    /* Pain : avant/après */
    .pain__grid { grid-template-columns: 1fr; }

    /* ROI : 4 → 2 colonnes */
    .roi__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* Features grid */
    .features__grid { grid-template-columns: 1fr 1fr; }

    /* Espaces blocks (page fonctionnalités) */
    .espace-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 0;
    }
    .espace-block--reverse .espace-block__content { order: 1; }
    .espace-block--reverse .espace-block__visual  { order: 2; }
    .espace-block__visual { min-height: 240px; }

    /* EV KPIs dans les blocs espaces */
    .ev-kpis { grid-template-columns: repeat(2, 1fr); }

    /* How it works : cacher les connecteurs */
    .how__connector { display: none; }
    .how__steps { gap: 1rem; }
    .how__step { max-width: 100%; min-width: 0; flex: 1 1 calc(50% - .5rem); }

    /* Trust bar : réduire gap */
    .trust-bar__logos { gap: 1.5rem; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────── */
@media (max-width: 768px) {
    section { padding: 3rem 0; }

    /* Section header */
    .section-header { margin-bottom: 2rem; }
    .section-sub { font-size: .95rem; }

    /* ROI : 2 colonnes reste OK, padding réduit */
    .roi__item { padding: 1.5rem 1rem; }

    /* How it works : 1 colonne */
    .how__step { flex: 1 1 100%; max-width: 100%; }

    /* Espace block visual */
    .espace-block__visual { min-height: 200px; padding: 1.5rem; }

    /* Features : 1 colonne */
    .features__grid { grid-template-columns: 1fr; }

    /* Page hero */
    .page-hero { padding: 4rem 0 2.5rem; }
    .page-hero__title { font-size: clamp(1.7rem, 6.5vw, 2.6rem); }
    .page-hero__sub { font-size: .95rem; }

    /* Trust bar */
    .trust-bar__logos { gap: 1rem; }
    .trust-bar__logo { font-size: .9rem; }

    /* Saas grid */
    .saas__grid { grid-template-columns: 1fr; }

    /* Espace condensed */
    .espaces-condensed { gap: 1rem; }

    /* FAQ */
    .faq__question { font-size: .92rem; padding: 1rem 1.25rem; }
    .faq__answer-inner { padding: .85rem 1.25rem 1.25rem; }

    /* CTA section */
    .cta-section__title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .cta-section__sub { font-size: .9rem; }

    /* Footer */
    .footer { padding: 3rem 0 0; }
    .footer__grid { gap: 1.5rem; }
}

/* ── Petit mobile (≤ 480px) ───────────────────────────── */
@media (max-width: 480px) {
    /* ROI : 1 colonne */
    .roi__grid { grid-template-columns: 1fr; }
    .roi__item { padding: 1.25rem 1rem; }

    /* Pain cols padding */
    .pain__col { padding: 1.5rem; }

    /* How steps */
    .how__step { padding: 1.5rem 1rem; }

    /* Espace cards */
    .espace-card { padding: 1.25rem; }

    /* Features card */
    .feat-card { padding: 1.25rem; }

    /* Security grid */
    .security__grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testi-card { padding: 1.25rem; }

    /* Contact form full width */
    .contact-form { padding: 1.25rem; }
    .contact-form__row { grid-template-columns: 1fr; }

    /* Pricing */
    .pricing-card { padding: 1.5rem; }

    /* General section padding */
    section { padding: 2.5rem 0; }
    .container { padding-left: 1rem; padding-right: 1rem; }

    /* Saas card */
    .saas__card { padding: 1.5rem; }

    /* EV KPIs */
    .ev-kpis { grid-template-columns: repeat(2, 1fr); }

    /* Faq */
    .faq__grid { margin-top: 1.5rem; }
}
