/* =====================================================
   HORIZON BLEU — Template 4 · Signal Premium (Light)
   DA : blanc premium, indigo + cyan, Space Grotesk + Inter
   Technologies : GSAP 3, ScrollTrigger, Bento Grid
   ===================================================== */

/* ---- 1. VARIABLES ---- */
:root {
    /* Backgrounds */
    --bg:         #FAFBFF;
    --bg-2:       #F3F5FF;
    --bg-3:       #ECEEFF;
    --bg-card:    rgba(82,84,231,.04);
    --bg-card-2:  rgba(82,84,231,.08);

    /* Borders */
    --border:     rgba(82,84,231,.1);
    --border-2:   rgba(82,84,231,.18);
    --border-3:   rgba(82,84,231,.3);

    /* Brand */
    --indigo:     #5254E7;
    --indigo-dim: rgba(82,84,231,.1);
    --indigo-glow:rgba(82,84,231,.22);
    --cyan:       #0891B2;
    --cyan-dim:   rgba(8,145,178,.1);
    --emerald:    #059669;
    --purple:     #7C3AED;
    --amber:      #D97706;

    /* Text */
    --text:       #0F1023;
    --text-dim:   rgba(15,16,35,.7);
    --muted:      #64748B;
    --dim:        #94A3B8;

    /* Dark sections (stats + footer) */
    --dark-bg:    #0F1023;
    --dark-bg-2:  #181932;
    --dark-border:rgba(255,255,255,.09);
    --dark-text:  rgba(255,255,255,.9);
    --dark-muted: rgba(255,255,255,.5);
    --dark-dim:   rgba(255,255,255,.25);

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(82,84,231,.07);
    --shadow:     0 4px 24px rgba(82,84,231,.09);
    --shadow-lg:  0 8px 48px rgba(82,84,231,.12);
    --shadow-card:0 4px 20px rgba(15,16,35,.07);
    --glow-indigo:0 0 40px rgba(82,84,231,.18), 0 0 80px rgba(82,84,231,.08);

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --container:  1320px;
    --nav-h:      64px;
    --section-py: 7rem;

    /* Radii */
    --r:     10px;
    --r-lg:  18px;
    --r-xl:  28px;

    /* Transitions */
    --ease: cubic-bezier(.4,0,.2,1);
    --t:    .26s;
}

/* ---- 2. RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dim);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); font-size: 1rem; }
address { font-style: normal; }

/* ---- 3. LAYOUT ---- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
}

/* ---- 4. TYPOGRAPHY ---- */
em { font-style: normal; }

.label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 1.1rem;
}

.label::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--indigo);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--indigo-glow);
}

.label--glow { color: var(--cyan); }
.label--glow::before { background: var(--cyan); box-shadow: 0 0 8px var(--cyan-dim); }
.label--center { justify-content: center; }

.section-head { margin-bottom: 4rem; max-width: 60ch; }

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-head h2 em,
.actu4-head h2 em,
.contact-left h2 em,
.ia-left h2 em,
.portfolio__head h2 em {
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-head__sub {
    font-size: .975rem;
    color: var(--muted);
    line-height: 1.85;
    max-width: 54ch;
}

/* ---- 5. BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 2rem;
    font-family: var(--font-display);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
    border-radius: var(--r);
    transition: all var(--t) var(--ease);
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    color: #fff;
    box-shadow: 0 4px 20px rgba(82,84,231,.3);
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4345C5, #0779A0);
    opacity: 0;
    transition: opacity var(--t);
    z-index: -1;
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(82,84,231,.4); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border-2);
    box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
    background: var(--bg-2);
    border-color: var(--indigo);
    color: var(--indigo);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--full { width: 100%; justify-content: center; }

/* ---- 6. SCROLL ANIMATIONS ---- */
[data-gs] { will-change: transform, opacity; }

/* ---- 7. NAVIGATION ---- */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(250,251,255,.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t);
}

.nav.is-scrolled { box-shadow: 0 2px 20px rgba(82,84,231,.07); }

.nav__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 2.5rem;
    gap: 2rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
    transition: opacity var(--t);
}

.nav__logo:hover { opacity: .75; }

.nl-dot {
    width: 8px; height: 8px;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--indigo-glow);
    flex-shrink: 0;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.nav__link {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 500;
    color: var(--muted);
    position: relative;
    transition: color var(--t);
    padding: .25rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    transition: right .3s var(--ease);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { right: 0; }

.nav__right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: flex-end;
}

.nav__tel {
    font-size: .8rem;
    color: var(--dim);
    transition: color var(--t);
}

.nav__tel:hover { color: var(--muted); }

.nav__cta {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1.2rem;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    color: #fff;
    border-radius: var(--r);
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(82,84,231,.28);
    transition: all var(--t);
}

.nav__cta svg { width: 13px; height: 13px; transition: transform var(--t); }
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(82,84,231,.4); }
.nav__cta:hover svg { transform: translate(2px,-2px); }

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .4rem;
}

.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all .3s; }
.nav__burger--active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger--active span:nth-child(2) { opacity: 0; }
.nav__burger--active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- 8. HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 5rem) 2.5rem 6rem;
    background:
        radial-gradient(ellipse at 15% 60%, rgba(82,84,231,.1) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 20%, rgba(8,145,178,.08) 0%, transparent 45%),
        radial-gradient(ellipse at 55% 90%, rgba(124,58,237,.06) 0%, transparent 40%),
        var(--bg);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(82,84,231,.12) 0%, transparent 70%);
    top: -100px; left: -100px;
}

.hero-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(8,145,178,.1) 0%, transparent 70%);
    bottom: -50px; right: 5%;
}

.hero-orb--3 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,.07) 0%, transparent 70%);
    top: 40%; left: 45%;
    transform: translate(-50%,-50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(82,84,231,.14) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 72%);
}

.hero__inner { position: relative; z-index: 1; max-width: 900px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.1rem;
    background: white;
    border: 1px solid var(--border-2);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.hb-dot {
    width: 6px; height: 6px;
    background: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(5,150,105,.5);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.5); }
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    letter-spacing: -.04em;
    line-height: .95;
    color: var(--text);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: .05em;
}

.ht-block { display: flex; justify-content: center; gap: .25em; overflow: hidden; }
.hw { display: inline-block; }

.ht-block--gradient .hw {
    background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 60%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 60ch;
    margin: 0 auto 2.5rem;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.hero__kpis {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 1.5rem 2.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(82,84,231,.05);
    max-width: 640px;
    margin: 0 auto;
}

.hk-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 2rem;
}

.hk-item strong {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--text);
    line-height: 1;
}

.hk-item span {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dim);
    margin-top: .2rem;
}

.hk-sep { width: 1px; height: 32px; background: var(--border); }

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hs-wheel {
    width: 26px; height: 40px;
    border: 2px solid var(--border-2);
    border-radius: 14px;
    position: relative;
}

.hs-wheel::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 6px;
    background: var(--indigo);
    border-radius: 2px;
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%   { top: 5px; opacity: 1; }
    80%  { top: 20px; opacity: 0; }
    100% { top: 5px; opacity: 0; }
}

/* ---- 9. TICKER ---- */
.ticker {
    padding: 1rem 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ticker__track {
    display: flex;
    animation: ticker-anim 50s linear infinite;
    width: max-content;
}

@keyframes ticker-anim {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

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

.ticker__content span {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--dim);
    padding: 0 1.5rem;
    white-space: nowrap;
    transition: color var(--t);
}

.ticker__content span:hover { color: var(--indigo); }

/* ---- 10. SERVICES — BENTO GRID ---- */
.services {
    padding: var(--section-py) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

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

.bc {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

/* Gradient border shimmer on hover */
.bc::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--r-lg) + 1px);
    padding: 1px;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--t);
    pointer-events: none;
}

.bc:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.bc:hover::before { opacity: 1; }

.bc--wide { grid-column: span 2; }

.bc--ia {
    background: linear-gradient(135deg, rgba(82,84,231,.05) 0%, rgba(8,145,178,.03) 100%);
    border-color: rgba(82,84,231,.18);
}

.bc__inner {
    padding: 2rem 2rem 1.75rem;
    position: relative;
    z-index: 1;
}

.bc__num {
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--dim);
    display: block;
    margin-bottom: .75rem;
}

.bc__num--glow { color: var(--indigo); }

.bc__new {
    display: inline-block;
    padding: .2rem .65rem;
    background: linear-gradient(135deg, var(--indigo-dim), var(--cyan-dim));
    border: 1px solid rgba(82,84,231,.2);
    border-radius: 50px;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: .75rem;
    float: right;
    clear: right;
}

.bc__inner h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: .6rem;
    clear: both;
}

.bc--ia .bc__inner h3 {
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bc__inner p {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.bc__tags { display: flex; flex-wrap: wrap; gap: .35rem; }

.bc__tags li {
    font-family: var(--font-display);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--dim);
    padding: .2rem .65rem;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: all var(--t);
}

.bc:hover .bc__tags li { border-color: rgba(82,84,231,.2); color: var(--muted); }

.bc__visual { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.bc__visual--strat .bv-orb--1 {
    position: absolute; bottom: -30px; right: -30px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(82,84,231,.1) 0%, transparent 70%);
}

.bc__visual--strat .bv-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(82,84,231,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(82,84,231,.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

.bc__visual--ia .bv-circuit {
    position: absolute; bottom: -10px; right: -10px;
    width: 120px; height: 120px;
    opacity: .12;
    background:
        linear-gradient(var(--indigo) 1px, transparent 1px),
        linear-gradient(90deg, var(--indigo) 1px, transparent 1px);
    background-size: 12px 12px;
}

.bc__visual--inf .bv-nodes {
    position: absolute; top: 50%; right: 2rem;
    transform: translateY(-50%);
    width: 100px; height: 80px;
    opacity: .1;
    background:
        radial-gradient(circle 4px, var(--cyan) 100%, transparent 0) 0 0,
        radial-gradient(circle 4px, var(--cyan) 100%, transparent 0) 50px 20px,
        radial-gradient(circle 4px, var(--cyan) 100%, transparent 0) 80px 0,
        radial-gradient(circle 4px, var(--cyan) 100%, transparent 0) 25px 50px,
        radial-gradient(circle 4px, var(--cyan) 100%, transparent 0) 65px 50px;
    background-repeat: no-repeat;
}

/* ---- 11. PROCESS ---- */
.process {
    padding: var(--section-py) 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-top: 1rem;
}

.ps-step { padding: 1rem; }

.pss-num {
    display: block;
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .12em;
    color: var(--indigo);
    margin-bottom: .75rem;
}

.ps-step h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text);
    margin-bottom: .5rem;
}

.ps-step p {
    font-size: .83rem;
    color: var(--muted);
    line-height: 1.7;
}

.ps-connector {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2.5rem;
    width: 60px;
}

.psc-fill {
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    position: relative;
    transform-origin: left;
}

.psc-fill::after {
    content: '';
    position: absolute;
    right: -5px; top: -3px;
    width: 6px; height: 6px;
    border-top: 1.5px solid var(--cyan);
    border-right: 1.5px solid var(--cyan);
    transform: rotate(45deg);
}

/* ---- 12. PORTFOLIO ---- */
.portfolio {
    padding: var(--section-py) 0;
    background: var(--bg);
}

.portfolio__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.portfolio__head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
}

.pf4-filters { display: flex; flex-wrap: wrap; gap: .3rem; }

.pff {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .4rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-2);
    color: var(--muted);
    background: white;
    transition: all var(--t);
    box-shadow: var(--shadow-sm);
}

.pff:hover { border-color: var(--indigo); color: var(--indigo); box-shadow: var(--shadow); }

.pff.active {
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(82,84,231,.3);
}

.pf4-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pf4-card {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(15,16,35,.06);
}

.pf4-card--large { grid-column: span 2; }

.pf4-card__img {
    position: absolute;
    inset: 0;
    transition: transform .6s var(--ease);
}

.pf4-card__glow {
    position: absolute;
    inset: 20%;
    background: radial-gradient(circle, rgba(82,84,231,.35) 0%, transparent 70%);
    filter: blur(20px);
}

.pf4-card:hover .pf4-card__img { transform: scale(1.04); }

.pf4-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,8,13,.92) 0%, rgba(7,8,13,.35) 50%, transparent 100%);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .4rem;
    transform: translateY(6px);
    transition: transform .4s var(--ease);
}

.pf4-card:hover .pf4-card__overlay { transform: translateY(0); }

.pf4-card__tags { display: flex; gap: .35rem; flex-wrap: wrap; }

.pf4-card__tags span {
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .2rem .65rem;
    background: rgba(82,84,231,.25);
    border: 1px solid rgba(82,84,231,.4);
    border-radius: 50px;
    color: #A5B4FC;
}

.pf4-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #fff;
}

.pf4-card p { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.5; }

.pf4-link {
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #67E8F9;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
    margin-top: .2rem;
    display: inline-block;
}

.pf4-card:hover .pf4-link { opacity: 1; transform: translateY(0); }

.pf4-card__num {
    position: absolute;
    top: 1rem; right: 1.25rem;
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 400;
    color: rgba(255,255,255,.08);
    line-height: 1;
    pointer-events: none;
    transition: color var(--t);
}

.pf4-card:hover .pf4-card__num { color: rgba(82,84,231,.2); }

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

/* ---- 13. IA SECTION ---- */
.ia-section {
    padding: var(--section-py) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ia-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -50px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(82,84,231,.06) 0%, transparent 60%);
    pointer-events: none;
}

.ia-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.ia-left h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.ia-desc {
    font-size: .975rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.ia-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }

.ia-feat {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.ia-feat:hover { border-color: var(--indigo); box-shadow: var(--shadow); transform: translateX(4px); }

.ia-feat__icon {
    width: 36px; height: 36px;
    background: var(--indigo-dim);
    border: 1px solid rgba(82,84,231,.2);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    flex-shrink: 0;
}

.ia-feat__icon svg { width: 16px; height: 16px; }

.ia-feat strong {
    display: block;
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .25rem;
    letter-spacing: -.01em;
}

.ia-feat p { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* Terminal — stays dark (it's a real terminal UI) */
.ia-right { position: relative; }

.ia-terminal {
    background: #0F1023;
    border: 1px solid rgba(82,84,231,.3);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        var(--glow-indigo),
        0 20px 60px rgba(15,16,35,.2),
        0 0 0 1px rgba(82,84,231,.1);
    font-family: var(--font-mono);
}

.it-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.25rem;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.it-dot { display: block; width: 11px; height: 11px; border-radius: 50%; }

.it-title {
    font-size: .68rem;
    font-weight: 400;
    color: rgba(255,255,255,.25);
    letter-spacing: .06em;
    margin-left: .5rem;
}

.it-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.it-line { font-size: .8rem; line-height: 1.8; white-space: pre; }
.it-blank { height: .5em; }
.it-indent { padding-left: 1.5em; }
.it-comment { color: #4B5563; }
.it-key  { color: #818CF8; }
.it-var  { color: #34D399; }
.it-str  { color: #FCD34D; }
.it-fn   { color: #60A5FA; }

.it-success { display: flex; gap: .5em; }
.it-success > span:first-child { color: #34D399; }

.it-cursor {
    color: var(--indigo);
    animation: blink .9s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Floating IA badges — now light */
.ia-badge-float {
    position: absolute;
    padding: .45rem 1rem;
    background: white;
    border: 1px solid var(--border-2);
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    color: var(--muted);
    box-shadow: var(--shadow);
    animation: float-badge 4s ease-in-out infinite;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.ia-badge-float--1 { top: -20px; right: 60px; animation-delay: 0s; }
.ia-badge-float--2 { bottom: 80px; right: -20px; animation-delay: 1.5s; }
.ia-badge-float--3 { bottom: -10px; left: 40px; animation-delay: .8s; }

/* ---- 14. STATS — dark island ---- */
.stats-section {
    padding: var(--section-py) 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(82,84,231,.12) 0%, transparent 65%);
    pointer-events: none;
}

.stats-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--dark-border);
    transition: background var(--t);
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.03); }

.si-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -.04em;
    background: linear-gradient(90deg, #fff, var(--indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline-block;
}

.si-unit {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(82,84,231,.8);
    letter-spacing: -.02em;
    vertical-align: super;
    margin-left: .1em;
}

.stat-item p {
    font-size: .82rem;
    color: var(--dark-muted);
    line-height: 1.65;
    margin-top: .6rem;
    max-width: 20ch;
}

/* ---- 15. TESTIMONIALS ---- */
.testimonials {
    padding: var(--section-py) 0;
    background: white;
    border-bottom: 1px solid var(--border);
}

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

.testi-card {
    padding: 2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

.testi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(82,84,231,.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--t);
}

.testi-card:hover {
    border-color: var(--indigo);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testi-card:hover::before { opacity: 1; }

.tc-quote {
    font-size: 4rem;
    line-height: .6;
    color: var(--indigo);
    opacity: .2;
    font-family: 'Georgia', serif;
    margin-bottom: .75rem;
    user-select: none;
}

.testi-card > p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.tc-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testi-card footer strong {
    display: block;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.01em;
}

.testi-card footer span { font-size: .75rem; color: var(--dim); }

/* ---- 16. RÉFÉRENCES ---- */
.references {
    padding: 4rem 0 3.5rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.references .container { margin-bottom: 2rem; }

.marquee4-wrapper {
    overflow: hidden;
    position: relative;
}

.marquee4-wrapper::before,
.marquee4-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee4-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.marquee4-wrapper::after  { right: 0; background: linear-gradient(to left, var(--bg-2), transparent); }

.marquee4-track {
    display: flex;
    animation: marquee4 45s linear infinite;
    width: max-content;
}

.marquee4-track:hover { animation-play-state: paused; }

@keyframes marquee4 {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

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

.marquee4-content span {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: var(--dim);
    padding: .6rem 2rem;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    transition: color var(--t);
    cursor: default;
}

.marquee4-content span:hover { color: var(--indigo); }

/* ---- 17. ACTUALITÉS ---- */
.actualites {
    padding: var(--section-py) 0;
    background: white;
}

.actu4-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.actu4-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
}

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

.actu4-card {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
    position: relative;
    overflow: hidden;
}

.actu4-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    right: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--cyan));
    transition: right .4s var(--ease);
}

.actu4-card:hover {
    border-color: rgba(82,84,231,.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.actu4-card:hover::after { right: 0; }

.ac4-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.ac4-cat {
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .2rem .7rem;
    border-radius: 50px;
}

.ac4-cat--ia    { background: rgba(82,84,231,.1); border: 1px solid rgba(82,84,231,.2); color: var(--indigo); }
.ac4-cat--strat { background: rgba(217,119,6,.1); border: 1px solid rgba(217,119,6,.2); color: var(--amber); }
.ac4-cat--dig   { background: rgba(8,145,178,.1); border: 1px solid rgba(8,145,178,.2); color: var(--cyan); }

.ac4-date { font-size: .72rem; color: var(--dim); font-family: var(--font-display); }

.actu4-card h3 {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text);
    line-height: 1.45;
    transition: color var(--t);
}

.actu4-card:hover h3 { color: var(--indigo); }

.actu4-card p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}

.ac4-arrow {
    display: inline-block;
    font-size: 1rem;
    color: var(--dim);
    transition: color var(--t), transform var(--t);
    align-self: flex-end;
}

.actu4-card:hover .ac4-arrow { color: var(--indigo); transform: translate(2px,-2px); }

/* ---- 18. CONTACT ---- */
.contact {
    padding: var(--section-py) 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(82,84,231,.07) 0%, transparent 70%);
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    position: relative;
}

.contact-left h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.contact-left > p {
    font-size: .975rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 38ch;
}

.contact-infos { display: flex; flex-direction: column; gap: 1rem; }

.ci4 {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--t), box-shadow var(--t);
}

.ci4:hover { border-color: var(--indigo); box-shadow: var(--shadow); }

.ci4-icon {
    width: 34px; height: 34px;
    background: var(--indigo-dim);
    border: 1px solid rgba(82,84,231,.2);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--indigo);
    flex-shrink: 0;
}

.ci4-icon svg { width: 15px; height: 15px; }

.ci4-label {
    font-family: var(--font-display);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: .2rem;
}

.ci4 address, .ci4 a, .ci4 p:not(.ci4-label) {
    font-size: .875rem;
    color: var(--text);
    line-height: 1.55;
    transition: color var(--t);
}

.ci4 a:hover { color: var(--indigo); }

/* Form */
.contact-form4 {
    padding: 2.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

.cf4-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.cf4-group {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1.1rem;
}

.cf4-group label {
    font-family: var(--font-display);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.cf4-group input,
.cf4-group textarea,
.cf4-group select {
    padding: .8rem 1.1rem;
    background: var(--bg);
    border: 1.5px solid var(--border-2);
    border-radius: var(--r);
    color: var(--text);
    font-size: .9rem;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--t), background var(--t), box-shadow var(--t);
    caret-color: var(--indigo);
}

.cf4-group input::placeholder,
.cf4-group textarea::placeholder { color: var(--dim); }

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

.cf4-group input:focus,
.cf4-group textarea:focus,
.cf4-group select:focus {
    border-color: var(--indigo);
    background: white;
    box-shadow: 0 0 0 3px rgba(82,84,231,.1);
}

.cf4-group input.is-error,
.cf4-group textarea.is-error { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.08); }

.cf4-group textarea { resize: vertical; min-height: 110px; }
.cf4-group--check { margin-bottom: 1.5rem; }

.cf4-check {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    cursor: pointer;
}

.cf4-check input[type="checkbox"] {
    width: 15px; height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--indigo);
    cursor: pointer;
}

.cf4-check span { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.cf4-check a { color: var(--indigo); text-decoration: underline; }

/* ---- 19. FOOTER — dark anchor ---- */
.footer {
    background: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
}

.footer__top { padding: 4rem 0 2rem; border-bottom: 1px solid var(--dark-border); }

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1rem;
}

.fl-dot {
    width: 8px; height: 8px;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(82,84,231,.6);
}

.footer__brand > p {
    font-size: .85rem;
    color: var(--dark-dim);
    line-height: 1.75;
    max-width: 30ch;
    margin-bottom: 1.5rem;
}

.footer__social { display: flex; gap: .5rem; }

.footer__social a {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-dim);
    transition: all var(--t);
}

.footer__social a:hover { background: var(--indigo-dim); border-color: rgba(82,84,231,.3); color: #fff; transform: translateY(-2px); }
.footer__social a svg { width: 15px; height: 15px; }

.footer__inner nav h4,
.footer__inner > div:last-child h4 {
    font-family: var(--font-display);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dark-dim);
    margin-bottom: 1.1rem;
}

.footer__inner nav ul,
.footer__inner > div:last-child address {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer__inner nav li a,
.footer__inner > div:last-child address a,
.footer__inner > div:last-child address {
    font-size: .84rem;
    color: rgba(255,255,255,.3);
    transition: color var(--t);
    line-height: 1.6;
}

.footer__inner nav li a:hover { color: rgba(255,255,255,.75); }
.footer__inner > div:last-child address a:hover { color: #A5B4FC; }

/* Giant wordmark */
.footer__wordmark {
    overflow: hidden;
    padding: 2rem 2.5rem 0;
    line-height: 1;
}

.footer__wordmark span {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 12vw, 11rem);
    letter-spacing: -.04em;
    color: rgba(255,255,255,.03);
    white-space: nowrap;
    overflow: hidden;
    user-select: none;
}

.footer__bottom { padding: 1.25rem 0; }

.footer__bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer__bottom p { font-size: .78rem; color: var(--dark-dim); }
.footer__bottom div { display: flex; gap: 1.5rem; }
.footer__bottom a { font-size: .78rem; color: var(--dark-dim); transition: color var(--t); }
.footer__bottom a:hover { color: rgba(255,255,255,.6); }

/* ---- 20. FLOATING ELEMENTS ---- */
.floating-cta4 {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 800;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    background: linear-gradient(135deg, var(--indigo), var(--cyan));
    color: #fff;
    border-radius: 50px;
    font-family: var(--font-display);
    font-size: .75rem;
    font-weight: 600;
    box-shadow: 0 6px 28px rgba(82,84,231,.4);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.floating-cta4 svg { width: 14px; height: 14px; }
.floating-cta4.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta4:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 40px rgba(82,84,231,.5); }

.back-to-top4 {
    position: fixed;
    bottom: 2rem; left: 2rem;
    z-index: 800;
    width: 40px; height: 40px;
    background: white;
    border: 1.5px solid var(--border-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .3s, transform .3s, border-color var(--t), color var(--t), box-shadow var(--t);
}

.back-to-top4.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top4:hover { border-color: var(--indigo); color: var(--indigo); box-shadow: var(--shadow); transform: translateY(-2px) !important; }
.back-to-top4 svg { width: 15px; height: 15px; }

/* ---- 21. RESPONSIVE ---- */
@media (max-width: 1100px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bc--wide { grid-column: span 2; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-top: 1px solid var(--dark-border); }
    .testi-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid > .testi-card:last-child { display: none; }
    .footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --section-py: 5rem; }
    .ia-inner { grid-template-columns: 1fr; gap: 3rem; }
    .contact-inner { grid-template-columns: 1fr; gap: 3.5rem; }
    .process-steps { grid-template-columns: 1fr; }
    .ps-connector { display: none; }
    .pf4-grid { grid-template-columns: 1fr 1fr; }
    .pf4-card--large { grid-column: span 2; }
    .actu4-grid { grid-template-columns: 1fr 1fr; }
    .actu4-grid > .actu4-card:last-child { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav__inner { grid-template-columns: 1fr auto; padding-inline: 1.5rem; }
    .nav__menu { display: none; }
    .nav__tel { display: none; }
    .nav__cta { display: none; }
    .nav__burger { display: flex; }

    .nav__menu {
        position: fixed;
        inset: var(--nav-h) 0 0;
        display: flex;
        background: rgba(250,251,255,.98);
        flex-direction: column;
        align-items: stretch;
        padding: 2rem 1.5rem;
        gap: .2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .35s var(--ease), opacity .35s;
        z-index: 850;
        border-top: 1px solid var(--border);
    }

    .nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav__link { font-size: 1.2rem; padding: .9rem 1rem; border-radius: var(--r); }
    .nav__link::after { display: none; }
    .nav__link:hover { background: var(--bg-2); }

    .hero__title { font-size: clamp(3rem, 13vw, 5rem); }
    .bento-grid { grid-template-columns: 1fr; }
    .bc--wide { grid-column: span 1; }
    .bc--ia { order: -1; }
    .pf4-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .pf4-card--large { grid-column: span 1; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--dark-border); padding: 2rem 1.5rem; }
    .stat-item:nth-child(odd) { border-right: 1px solid var(--dark-border); }
    .stat-item:nth-child(3) { border-top: none; }
    .testi-grid { grid-template-columns: 1fr; }
    .testi-grid > .testi-card:last-child { display: block; }
    .actu4-grid { grid-template-columns: 1fr; }
    .actu4-grid > .actu4-card:last-child { display: flex; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .cf4-row { grid-template-columns: 1fr; }
    .hero__kpis { flex-direction: column; gap: .5rem; }
    .hk-sep { width: 40px; height: 1px; }
    .hk-item { width: 100%; text-align: center; }
    .portfolio__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container { padding-inline: 1.25rem; }
    .hero { padding-inline: 1.25rem; }
    .floating-cta4 span { display: none; }
    .floating-cta4 { border-radius: 50%; width: 48px; height: 48px; padding: 0; justify-content: center; right: 1rem; }
    .back-to-top4 { left: 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item:nth-child(odd) { border-right: none; }
    .stat-item { padding: 2rem 1rem; }
    .contact-form4 { padding: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    [data-gs] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}
