/* ==========================================================================
   apropos-v2.css — THIRD PASS — Premium Art-Directed
   Matek-IT "À propos" — CAPPS palette only
   ========================================================================== */

:root {
    --ap-primary: #3A9BDC;
    --ap-primary-10: rgba(58,155,220,0.10);
    --ap-primary-20: rgba(58,155,220,0.20);
    --ap-white: #FFFFFF;
    --ap-ice: #E9F6FC;
    --ap-mist: #CFE8F6;
    --ap-gradient: linear-gradient(135deg, #7EC8E3 0%, #3A9BDC 100%);
    --ap-text: #0F2A44;
    --ap-text-2: #4F6B85;
    --ap-border: rgba(58,155,220,0.10);
    --ap-r: 28px;
    --ap-r-sm: 18px;
    --ap-shadow:
        0 15px 35px rgba(15,42,68,0.04),
        0 5px 15px rgba(58,155,220,0.03);
    --ap-shadow-hover:
        0 25px 50px rgba(15,42,68,0.06),
        0 10px 25px rgba(58,155,220,0.06);
    --ap-ease: cubic-bezier(0.2, 1, 0.3, 1);
    --ap-section: clamp(5rem, 10vw, 7.5rem);
    --ap-gap: clamp(1.25rem, 2.5vw, 2rem);
    --ap-card-pad: clamp(1.5rem, 2.2vw, 2.25rem);
    --ap-max: 1280px;
}

/* === BASE — match capps.css / site typography stack === */
.apropos-page {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    color: var(--ap-text);
    background: var(--ap-white);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    isolation: isolate;
}

/*
 * Noise must stay BELOW fixed header (z-index 10000) and floating actions (~10).
 * A value of 9999 previously covered phone / WhatsApp / mail — same DOM as tarifs.
 */
.apropos-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.012;
    pointer-events: none;
    z-index: 0;
}

.apropos-page main {
    position: relative;
    z-index: 1;
}

.apropos-page section { padding-block: var(--ap-section); position: relative; }
.apropos-page section::after { display: none; }

.apropos-page .container {
    max-width: var(--ap-max);
    margin: 0 auto;
    padding-inline: 2rem;
}

/* === TYPOGRAPHY === */
.apropos-page h1, .apropos-page h2, .apropos-page h3 {
    color: var(--ap-text);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.apropos-page h1 { font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1.05; }
.apropos-page h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.apropos-page h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); letter-spacing: -0.01em; line-height: 1.3; }
.apropos-page p {
    font-size: clamp(1rem, 1.05vw, 1.05rem);
    line-height: 1.7;
    color: var(--ap-text-2);
    max-width: 60ch;
    font-weight: 400;
}
.apropos-page .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ap-primary);
    background: var(--ap-primary-10);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

/* Section header */
.section-header { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header h2 { margin-bottom: 0.65rem; }

/* === UNIFIED CARD === */
.ap-card,
.pourquoi-card,
.diff-card,
.timeline-v2__card,
.bento-item,
.glass-card,
.flow-step,
.value-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-r);
    box-shadow: var(--ap-shadow);
    padding: var(--ap-card-pad);
    transition: 
        transform 0.4s var(--ap-ease), 
        box-shadow 0.4s var(--ap-ease), 
        border-color 0.4s ease,
        background 0.4s ease;
}
.ap-card:hover,
.pourquoi-card:hover,
.timeline-v2__card:hover,
.flow-step:hover,
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ap-shadow-hover);
    background: rgba(255,255,255,0.95);
}

/* Icon container — refined pill/capsule style */
.icon-box {
    width: fit-content;
    min-width: 42px;
    min-height: 36px;
    height: auto;
    padding: 0.4rem 0.85rem;
    background: var(--ap-primary-10);
    color: var(--ap-primary);
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 100px;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
/* Boxicons: same library, weight, and optical size sitewide on À propos */
.apropos-page .icon-box .bx,
.apropos-page .diff-card__icon .bx {
    font-family: boxicons !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.apropos-page .icon-box .bx {
    font-size: 1.125rem;
    opacity: 0.92;
}
.apropos-page .bento-item .icon-box .bx {
    font-size: 1.28rem;
    opacity: 0.92;
}
.apropos-page .diff-card__icon .bx {
    font-size: 1.35rem;
    opacity: 0.95;
}

/* === BUTTONS === */
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1.1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700; font-size: 0.95rem;
    transition: all 0.35s var(--ap-ease);
    text-decoration: none; cursor: pointer; border: none;
}
.btn-primary {
    background: var(--ap-primary); color: #fff;
    box-shadow: 0 8px 24px rgba(58,155,220,0.3);
}
.btn-primary:hover {
    background: #2B85C2; color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(58,155,220,0.35);
}
.btn-secondary {
    background: var(--ap-white); color: var(--ap-text);
    border: 2px solid var(--ap-mist);
}
.btn-secondary:hover {
    background: var(--ap-ice); border-color: var(--ap-primary);
    transform: translateY(-3px); color: var(--ap-text);
}

/*
 * capps.css adds global .btn-primary::before / ::after (shine sweep) to ALL .btn-primary.
 * On À propos, that can read as a streak across the section. Scope shine to CTA only.
 */
.apropos-page .btn-primary:not(.btn-primary--shine)::before,
.apropos-page .btn-primary:not(.btn-primary--shine)::after {
    content: none !important;
    display: none !important;
}
.apropos-page .btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.apropos-page .btn-primary--shine::before {
    content: none !important;
    display: none !important;
}
.apropos-page .btn-primary--shine::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    margin: 0;
    background: linear-gradient(
        102deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 45%,
        transparent 88%
    );
    transform: skewX(-14deg);
    transition: left 0.75s var(--ap-ease);
    pointer-events: none;
    z-index: 0;
    border: none;
    opacity: 1;
    box-shadow: none;
}
.apropos-page .btn-primary--shine:hover::after {
    left: 125%;
}
.apropos-page .btn-primary__label {
    position: relative;
    z-index: 1;
}
.apropos-page .btn-primary.btn-primary--hero .btn-primary__label {
    z-index: 2;
}

/* Hero checklist — premium markers (i18n-safe: keys live on inner spans) */
.check-list.check-list--hero {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 0;
}
.check-list.check-list--hero li {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.75rem;
    padding: 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ap-text);
    line-height: 1.4;
}
.check-list.check-list--hero li:last-child { margin-bottom: 0; }
.check-list__mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--ap-primary-10);
    color: var(--ap-primary);
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: none;
}
.check-list__mark::after {
    content: "";
    width: 4px;
    height: 8px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) translate(-0.5px, -1px);
    box-sizing: border-box;
}

/* ================================================================
   1. HERO — Signature Art Direction
   ================================================================ */
/* Hero: override global section padding (was stacking with .hero-v2 and killing impact) */
.hero-v2 {
    position: relative;
    overflow: hidden;
    background: var(--ap-white);
    display: flex;
    align-items: center;
}

.apropos-page section.hero-v2 {
    padding-block: 0;
    padding-top: clamp(2rem, 3.5vw, 3.25rem);
    padding-bottom: clamp(3.25rem, 6.5vw, 5.75rem);
}

/* ATMOSPHERIC SYSTEM */
.hero-v2__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-v2__bg-layer--main {
    background:
        radial-gradient(ellipse 120% 85% at 82% 8%, rgba(58, 155, 220, 0.07) 0%, transparent 58%),
        radial-gradient(ellipse 90% 70% at 12% 92%, rgba(126, 200, 227, 0.055) 0%, transparent 52%);
}

.hero-v2__bg-layer--accent {
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(233, 246, 252, 0.9) 0%, transparent 55%);
    opacity: 0.85;
}

.hero-v2__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.038;
    pointer-events: none;
    z-index: 1;
}

.hero-v2__mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(58, 155, 220, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 155, 220, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 88% 75% at 56% 38%, #000 0%, transparent 72%);
}

.hero-v2__grid {
    position: relative;
    display: grid;
    --hero-gutter: clamp(1.25rem, 3.5vw, 2.75rem);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1.02fr);
    gap: var(--hero-gutter);
    align-items: center;
}

/* Cinematic bridge: faint vertical rhythm between copy and system (not a hard column line) */
.hero-v2__grid::before {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 18%;
    /* Gutter center for 1fr : 1.02fr tracks */
    left: calc((100% - var(--hero-gutter)) * (1 / 2.02) + var(--hero-gutter) * 0.5 - 0.5px);
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        color-mix(in srgb, var(--ap-primary) 12%, transparent) 22%,
        color-mix(in srgb, var(--ap-primary) 8%, transparent) 50%,
        color-mix(in srgb, var(--ap-primary) 11%, transparent) 78%,
        transparent 100%
    );
    opacity: 0.35;
    pointer-events: none;
    z-index: 4;
}

/* LEFT SIDE — EDITORIAL CRAFT */
.hero-v2__content {
    position: relative;
    z-index: 10;
    max-width: 36rem;
    padding-right: clamp(0.25rem, 2vw, 1.5rem);
}

.hero-v2__tagline {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
}

.hero-v2__tag-line {
    width: 40px;
    height: 1px;
    background: var(--ap-primary);
    opacity: 0.5;
}

.hero-v2__tag-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 800;
    color: var(--ap-primary);
}

.hero-v2__title {
    margin-bottom: 1.35rem;
    font-size: clamp(2.85rem, 5.6vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.038em;
    font-weight: 800;
    color: var(--ap-text);
}

.hero-v2__title-row {
    display: block;
}

.hero-v2__title-row--1 {
    letter-spacing: -0.036em;
}

.hero-v2__title-row--2 {
    position: relative;
    padding-block: 0.06em 0.12em;
    margin-top: 0.02em;
    color: inherit;
}

.hero-v2__title-row--3 {
    margin-top: 0.06em;
    letter-spacing: -0.036em;
}

.hero-v2__title .highlight {
    display: inline-block;
    font-size: 0.96em;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    background: linear-gradient(135deg, #2f8bc9 0%, #5eb4d4 48%, #3A9BDC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.03em;
}

.hero-v2__title .accent-bar {
    position: absolute;
    bottom: 0.04em;
    left: 0;
    width: 2.85rem;
    height: 2px;
    background: linear-gradient(90deg, var(--ap-primary), transparent);
    opacity: 0.22;
    border-radius: 2px;
}

.hero-v2__lede {
    font-size: 1.08rem;
    line-height: 1.62;
    color: var(--ap-text-2);
    margin-bottom: 2rem;
    max-width: 42ch;
    opacity: 0.92;
}

.hero-v2__actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.75rem;
    align-items: center;
    flex-wrap: wrap;
}

/* CTA — TACTILE & ELITE */
.btn-primary--hero {
    position: relative;
    background: var(--ap-primary);
    color: white !important;
    padding: 1.2rem 2.75rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 15px rgba(58, 155, 220, 0.2),
        0 15px 35px rgba(58, 155, 220, 0.15);
    transition: all 0.4s var(--ap-ease);
}

.btn-primary--hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 8px 25px rgba(58, 155, 220, 0.3),
        0 25px 50px rgba(58, 155, 220, 0.25);
}

.btn-primary__glint {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    background-size: 200% 100%;
    background-position: -100% 0;
    transition: background-position 0.6s ease;
    border-radius: inherit;
    pointer-events: none;
}

.btn-primary--hero:hover .btn-primary__glint {
    background-position: 100% 0;
}

.btn-secondary--hero {
    background: color-mix(in srgb, var(--ap-white) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--ap-primary) 14%, var(--ap-border));
    color: var(--ap-text-2) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    padding: 0.82rem 1.35rem;
    border-radius: 12px;
    position: relative;
    opacity: 1;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transition:
        color 0.35s var(--ap-ease),
        border-color 0.35s var(--ap-ease),
        background 0.35s var(--ap-ease),
        transform 0.35s var(--ap-ease);
}

.btn-secondary--hero::after {
    display: none;
}

.btn-secondary--hero:hover {
    color: var(--ap-text) !important;
    border-color: color-mix(in srgb, var(--ap-primary) 26%, transparent);
    background: color-mix(in srgb, var(--ap-ice) 40%, var(--ap-white));
    transform: translateY(-1px);
}

/* DATA STRIP — EDITORIAL & ASYMMETRIC */
.hero-v2__data-strip {
    display: flex;
    gap: clamp(2rem, 4vw, 3.25rem);
    padding-left: 0.15rem;
    transform: translateX(4px);
}

.hero-v2__data-item {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.hero-v2__data-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: var(--ap-primary);
    opacity: 0.6;
}

.hero-v2__data-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ap-text);
    white-space: nowrap;
}

/* RIGHT SIDE — architectural system (signature visual, not dashboard cards) */
.hero-v2__visual {
    position: relative;
    z-index: 6;
    justify-self: end;
    width: calc(100% + clamp(0px, 5vw, 4.5rem));
    max-width: 32rem;
    margin-right: clamp(-0.5rem, -1.5vw, 0rem);
    margin-left: clamp(-1rem, -2vw, -0.25rem);
}

/* Ultra-soft bloom behind modules — no “single big card” frame */
.hero-v2__visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 8%;
    right: -6%;
    top: 4%;
    bottom: 2%;
    background:
        radial-gradient(ellipse 68% 58% at 58% 46%, rgba(58, 155, 220, 0.11) 0%, transparent 62%),
        radial-gradient(ellipse 42% 38% at 22% 78%, rgba(126, 200, 227, 0.07) 0%, transparent 58%);
    filter: blur(36px);
    opacity: 0.85;
    pointer-events: none;
}

.hero-v2__scene {
    position: relative;
    width: 100%;
    max-width: none;
    aspect-ratio: 1.02;
    margin-inline: 0;
    isolation: isolate;
    z-index: 1;
}

/* Open field: layered light + fading grid only — no heavy rounded “device” shell */
.hero-v2__sys-field {
    position: absolute;
    inset: -10% -12% -8% -10%;
    z-index: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse 78% 62% at 54% 42%, rgba(58, 155, 220, 0.065) 0%, transparent 62%),
        radial-gradient(ellipse 52% 48% at 14% 86%, rgba(126, 200, 227, 0.045) 0%, transparent 55%);
    box-shadow: none;
    border: none;
}

.hero-v2__sys-field::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.32;
    background-image:
        linear-gradient(color-mix(in srgb, var(--ap-primary) 11%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--ap-primary) 11%, transparent) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 92% 82% at 52% 48%, #000 8%, transparent 68%);
    pointer-events: none;
}

/* Connector graph */
.hero-v2__sys-wiring {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    color: var(--ap-primary);
    pointer-events: none;
}

.hero-v2__sys-path {
    stroke-opacity: 0.22;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-v2__sys-node-dot {
    opacity: 0.32;
}

.hero-v2__sys-node-dot--hub {
    opacity: 0.72;
    filter: drop-shadow(0 0 10px rgba(58, 155, 220, 0.32));
}

.hero-v2__sys-path--energy {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 5 9;
    stroke-opacity: 1;
    opacity: 0.95;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-v2__sys-path--energy {
        animation: heroSysEnergyFlow 20s linear infinite;
    }
    .hero-v2__sys-node-dot--hub {
        animation: heroSysHubGlow 5s ease-in-out infinite;
    }
}

@keyframes heroSysEnergyFlow {
    to { stroke-dashoffset: -56; }
}

@keyframes heroSysHubGlow {
    0%, 100% { opacity: 0.62; filter: drop-shadow(0 0 8px rgba(58, 155, 220, 0.28)); }
    50% { opacity: 0.92; filter: drop-shadow(0 0 14px rgba(58, 155, 220, 0.42)); }
}

/* Shared module chrome */
.hero-v2__sys-mod {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid color-mix(in srgb, var(--ap-primary) 14%, var(--ap-border));
    border-radius: 16px;
    box-shadow:
        0 18px 40px rgba(15, 42, 68, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 0.85rem 1rem;
    transition:
        transform 1s var(--ap-ease),
        box-shadow 1s var(--ap-ease);
}

.hero-v2__sys-mod__k {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ap-text-2);
    margin-bottom: 0.35rem;
}

.hero-v2__sys-mod__k--light {
    color: rgba(255, 255, 255, 0.82);
}

.hero-v2__sys-mod__v {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--ap-text);
}

.hero-v2__sys-mod__v--tight {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
}

.hero-v2__sys-mod__v--mono {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ap-text-2);
    letter-spacing: -0.01em;
}

.hero-v2__sys-mod__body {
    min-width: 0;
}

.hero-v2__sys-mod__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.hero-v2__sys-mod__ico .bx {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.95;
}

.hero-v2__sys-mod--infra {
    top: 5%;
    left: 0;
    max-width: 11.5rem;
    padding-right: 1.15rem;
}

.hero-v2__sys-mod--infra .hero-v2__sys-mod__v {
    font-size: 0.72rem;
    color: var(--ap-text-2);
}

.hero-v2__sys-mod__rail {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ap-gradient);
    opacity: 0.55;
}

.hero-v2__sys-mod--deploy {
    bottom: 7%;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem 0.75rem 0.85rem;
    background: var(--ap-gradient);
    border: none;
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18) inset,
        0 20px 44px rgba(58, 155, 220, 0.28);
    z-index: 4;
}

.hero-v2__sys-mod--live {
    bottom: 6%;
    left: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 13.5rem;
    z-index: 4;
}

.hero-v2__sys-pulse {
    width: 7px;
    height: 7px;
    margin-top: 0.35rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: #3ad29a;
    box-shadow: 0 0 0 4px rgba(58, 210, 154, 0.2);
    position: relative;
}

.hero-v2__sys-pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(58, 210, 154, 0.45);
    border-radius: 50%;
    animation: heroSysPulse 3.2s ease-out infinite;
    opacity: 0;
}

@keyframes heroSysPulse {
    0% { transform: scale(0.85); opacity: 0.55; }
    70% { opacity: 0; transform: scale(1.65); }
    100% { opacity: 0; transform: scale(1.65); }
}

/* Focal anchor — central system core */
.hero-v2__sys-core {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    width: min(100%, 20.5rem);
    z-index: 2;
    padding: 1.35rem 1.35rem 1.45rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid color-mix(in srgb, var(--ap-primary) 16%, var(--ap-border));
    border-radius: 22px;
    box-shadow:
        0 28px 64px rgba(15, 42, 68, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 -20px 48px rgba(58, 155, 220, 0.05) inset;
    transition: transform 1.1s var(--ap-ease), box-shadow 1.1s var(--ap-ease);
}

.hero-v2__sys-core__head {
    margin-bottom: 1.15rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--ap-primary) 10%, transparent);
}

.hero-v2__sys-core__eyebrow {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ap-primary);
    opacity: 0.85;
    margin-bottom: 0.45rem;
}

.hero-v2__sys-core__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: var(--ap-text);
}

.hero-v2__sys-lanes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-v2__sys-lane {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
}

.hero-v2__sys-lane__label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
    color: var(--ap-text-2);
}

.hero-v2__sys-lane__track {
    height: 4px;
    border-radius: 100px;
    background: color-mix(in srgb, var(--ap-mist) 65%, transparent);
    overflow: hidden;
}

.hero-v2__sys-lane__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ap-gradient);
    transform-origin: left center;
    animation: heroLaneReveal 1.2s var(--ap-ease) both;
}

.hero-v2__sys-lane__fill--1 { width: 100%; animation-delay: 0.15s; }
.hero-v2__sys-lane__fill--2 { width: 88%; animation-delay: 0.28s; }
.hero-v2__sys-lane__fill--3 { width: 76%; animation-delay: 0.4s; }

@keyframes heroLaneReveal {
    from { transform: scaleX(0.08); opacity: 0.5; }
    to { transform: scaleX(1); opacity: 1; }
}

.hero-v2__sys-core__ports {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
}

.hero-v2__sys-port {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-white);
    border: 1px solid color-mix(in srgb, var(--ap-primary) 35%, transparent);
    box-shadow: 0 0 0 3px rgba(58, 155, 220, 0.08);
}

.hero-v2__sys-port--in {
    left: -3px;
    top: 46%;
}

.hero-v2__sys-port--out {
    right: -3px;
    top: 42%;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-v2__scene:hover .hero-v2__sys-core {
        transform: translate(-50%, -50%) translateY(-3px);
        box-shadow:
            0 32px 72px rgba(15, 42, 68, 0.09),
            0 0 0 1px rgba(255, 255, 255, 0.6) inset,
            0 -20px 48px rgba(58, 155, 220, 0.06) inset;
    }
    .hero-v2__scene:hover .hero-v2__sys-mod--infra {
        transform: translateY(-2px);
    }
    .hero-v2__scene:hover .hero-v2__sys-mod--deploy {
        transform: translateY(-2px);
    }
    .hero-v2__scene:hover .hero-v2__sys-mod--live {
        transform: translateY(-2px);
    }
    .hero-v2__scene:hover .hero-v2__sys-path:not(.hero-v2__sys-path--energy) {
        stroke-opacity: 0.34;
    }
}

@media (max-width: 1200px) {
    .hero-v2__grid {
        --hero-gutter: clamp(1.25rem, 3vw, 2.25rem);
        gap: var(--hero-gutter);
    }
}

@media (max-width: 992px) {
    .hero-v2__grid::before {
        display: none;
    }
    .hero-v2__grid { grid-template-columns: 1fr; text-align: center; }
    .hero-v2__content {
        margin-inline: auto;
        max-width: 40rem;
        padding-right: 0;
    }
    .hero-v2__lede { margin-inline: auto; }
    .hero-v2__actions { justify-content: center; }
    .hero-v2__data-strip { justify-content: center; transform: none; gap: 2rem; }
    .hero-v2__visual {
        width: 100%;
        margin-top: 3.25rem;
        margin-inline: auto;
        margin-left: auto;
        margin-right: auto;
        max-width: 440px;
        justify-self: center;
    }
    .hero-v2__visual::before {
        left: -4%;
        right: -4%;
        opacity: 0.75;
    }
    .hero-v2__scene {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
        aspect-ratio: auto;
        min-height: 0;
        padding: 1.25rem 0 0.5rem;
    }
    .hero-v2__sys-field {
        inset: 0;
    }
    .hero-v2__sys-field,
    .hero-v2__sys-wiring {
        position: absolute;
    }
    .hero-v2__sys-wiring {
        opacity: 0.55;
    }
    .hero-v2__sys-core {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin: 0;
        order: 1;
        z-index: 2;
    }
    .hero-v2__sys-mod--infra {
        position: relative;
        top: auto;
        left: auto;
        max-width: none;
        width: 100%;
        order: 2;
        z-index: 2;
    }
    .hero-v2__sys-mod--deploy,
    .hero-v2__sys-mod--live {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        max-width: none;
        margin-top: 0;
        z-index: 2;
    }
    .hero-v2__sys-mod--deploy {
        order: 3;
        width: fit-content;
        align-self: flex-end;
    }
    .hero-v2__sys-mod--live {
        order: 4;
        width: fit-content;
        align-self: flex-start;
    }
    .hero-v2__scene:hover .hero-v2__sys-core {
        transform: none;
    }
    .hero-v2__scene:hover .hero-v2__sys-mod--infra,
    .hero-v2__scene:hover .hero-v2__sys-mod--deploy,
    .hero-v2__scene:hover .hero-v2__sys-mod--live {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2__sys-pulse::after { animation: none; }
    .hero-v2__sys-lane__fill { animation: none; opacity: 1; transform: none; }
    .hero-v2__sys-path--energy { animation: none !important; }
    .hero-v2__sys-node-dot--hub { animation: none !important; }
    .hero-v2__scene:hover .hero-v2__sys-core,
    .hero-v2__scene:hover .hero-v2__sys-mod--infra,
    .hero-v2__scene:hover .hero-v2__sys-mod--deploy,
    .hero-v2__scene:hover .hero-v2__sys-mod--live {
        transform: none;
    }
}

/* ================================================================
   2. ABOUT SPLIT
   ================================================================ */
.about-split {
    background:
        radial-gradient(ellipse at 0% 50%, rgba(233,246,252,0.5) 0%, transparent 50%),
        var(--ap-white);
}
.apropos-page section.about-split {
    padding-block: clamp(4rem, 8vw, 6rem);
}
.about-split__grid {
    display: grid; grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2.5rem, 5vw, 4rem); align-items: start;
}
.about-split__title-wrap {
    padding-left: 1.75rem;
    border-left: 4px solid var(--ap-primary);
}
.about-split__title-wrap h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.about-split__text-wrap {
    padding-top: 3.5rem;
}

.about-split__text-wrap p { 
    font-size: 1.08rem; 
    margin-top: 0;
    line-height: 1.75;
}

/* ================================================================
   3. POURQUOI
   ================================================================ */
.pourquoi-v2 {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(207,232,246,0.4) 0%, transparent 50%),
        var(--ap-ice);
}
.apropos-page section.pourquoi-v2 {
    padding-block: clamp(5.5rem, 11vw, 8rem);
}
.pourquoi-v2__grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
@media (min-width: 993px) {
    .pourquoi-v2__grid .pourquoi-card--problem {
        transform: translateY(22px);
    }
    .pourquoi-v2__grid .pourquoi-card--vision {
        transform: translateY(22px);
    }
    .pourquoi-v2__grid .pourquoi-card--large {
        transform: translateY(-10px);
    }
}
.pourquoi-card--large {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: fit-content;
    padding-top: calc(var(--ap-card-pad) + 5px);
    border-top: none;
}
.pourquoi-card--problem,
.pourquoi-card--vision {
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}
.pourquoi-card__accent {
    position: absolute;
    inset: 0;
    border-top: 3px solid var(--ap-primary);
    border-left: 3px solid var(--ap-primary);
    border-right: 3px solid var(--ap-primary);
    border-radius: var(--ap-r) var(--ap-r) 0 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 25%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 25%);
}
.pourquoi-card--sibling {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: fit-content;
}
.pourquoi-card--large p { margin-bottom: 0; }
.pourquoi-card--large .featured-stat {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ap-border);
}
.featured-stat__num {
    font-size: 2.75rem; font-weight: 800; color: var(--ap-primary);
    line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.05em;
}
.featured-stat__label {
    font-size: 0.85rem; color: var(--ap-text-2); line-height: 1.5; font-weight: 500;
}
.pourquoi-card h3 { margin-bottom: 0.75rem; font-weight: 700; }
.pourquoi-card p { margin-bottom: 0; line-height: 1.7; }

/* ================================================================
   4. NOTRE DIFFÉRENCE
   ================================================================ */
.diff-v2 {
    background: linear-gradient(160deg, #2a7ab8 0%, #3A9BDC 35%, #4da8e0 70%, #2f8bc9 100%);
    color: #fff;
    overflow: hidden;
}
.apropos-page section.diff-v2 {
    padding-block: clamp(6rem, 12vw, 9rem);
}
.diff-v2::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v40M0 20h40' fill='none' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}
.diff-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 60% at 100% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 75% 55% at 0% 100%, rgba(15, 42, 68, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
}
.diff-v2 > .container {
    position: relative;
    z-index: 1;
}
.diff-v2 .eyebrow { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }
.diff-v2 h2 { color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.diff-v2 .diff-v2__content > p { color: rgba(255,255,255,0.88); font-size: 1.1rem; }
.diff-v2__grid {
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(3rem, 6vw, 5rem); align-items: center;
    position: relative; z-index: 1;
}
.diff-v2__cards { display: flex; flex-direction: column; gap: calc(var(--ap-gap) + 0.5rem); }
.diff-card {
    position: relative;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.5s var(--ap-ease);
}
.diff-card::after {
    display: none;
}
.diff-card:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    border-color: rgba(255,255,255,0.22);
}
.diff-card__icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}
.diff-card__icon .bx {
    color: #fff;
}
.diff-card h3 { color: #fff; margin-bottom: 0.75rem; font-weight: 700; }
.diff-card p { color: rgba(255,255,255,0.82); max-width: none; line-height: 1.7; }

/* ================================================================
   5. PROCESS TIMELINE (JOURNEY)
   ================================================================ */
.timeline-v2 {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(233,246,252,0.5) 0%, transparent 50%),
        var(--ap-white);
}
.timeline-v2__container { position: relative; max-width: 900px; margin: 0 auto; }
.timeline-v2__line {
    position: absolute; left: 50%; top: 10px; bottom: 10px;
    width: 3px; background: linear-gradient(to bottom, transparent 0%, var(--ap-mist) 8%, var(--ap-primary) 50%, var(--ap-mist) 92%, transparent 100%);
    transform: translateX(-50%); border-radius: 3px;
    opacity: 0.4;
}
.timeline-v2__item { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); position: relative; }
.timeline-v2__item:last-child { margin-bottom: 0; }
.timeline-v2__dot {
    position: absolute; left: 50%; top: 4px;
    width: 44px; height: 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
    border: 2.5px solid var(--ap-primary);
    border-radius: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; align-items: center; justify-content: center;
    box-shadow:
        0 0 0 6px var(--ap-white),
        0 4px 18px rgba(58, 155, 220, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.timeline-v2__dot::after {
    content: ''; width: 10px; height: 10px; background: var(--ap-primary); border-radius: 50%;
    box-shadow: 0 0 12px rgba(58, 155, 220, 0.3);
}
.timeline-v2__card { 
    width: 44%; 
    border-top: 4px solid var(--ap-primary);
    position: relative;
    padding: 2.5rem;
}
.timeline-v2__card h3 { margin-bottom: 0.75rem; font-weight: 700; }
.timeline-v2__card p { font-size: 1rem; line-height: 1.7; margin-bottom: 0; }
.timeline-v2__item:nth-child(even) .timeline-v2__card { margin-left: auto; }
.timeline-v2__step-num {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--ap-primary); margin-bottom: 0.75rem;
    opacity: 0.8; display: block;
}

/* ================================================================
   6. BENTO GRID (DYNAMIC)
   ================================================================ */
.bento-v2 {
    background:
        radial-gradient(ellipse 72% 48% at 10% 18%, rgba(207, 232, 246, 0.5) 0%, transparent 58%),
        radial-gradient(ellipse 50% 42% at 92% 88%, rgba(58, 155, 220, 0.07) 0%, transparent 52%),
        var(--ap-ice);
}
.bento-v2__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: 
        "L L L L L L L T T T T T"
        "W W W W W B B B B B B B";
    gap: 2rem;
}
.bento-item {
    display: flex; flex-direction: column; justify-content: flex-start;
    position: relative; overflow: hidden;
    padding: 2.5rem;
    gap: 0.5rem;
    transition: all 0.4s var(--ap-ease);
    min-height: 0;
}
.bento-item::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--ap-gradient); border-radius: var(--ap-r) var(--ap-r) 0 0;
    opacity: 0; transition: opacity 0.4s var(--ap-ease);
}
.bento-item:hover::before { opacity: 1; }
.bento-item--large {
    grid-area: L;
    padding: 3rem;
}
.bento-item--stack-top {
    grid-area: T;
}
.bento-item--stack-bottom {
    grid-area: B;
}
.bento-item--wide {
    grid-area: W;
}
.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--ap-shadow-hover);
    background: rgba(255,255,255,0.97);
}
.bento-item__icon-wrap {
    margin-bottom: 1rem;
}
.bento-item .icon-box {
    margin-bottom: 0;
    min-width: 52px;
    min-height: 52px;
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}
.bento-item--large .icon-box {
    min-width: 58px;
    min-height: 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
}
.bento-item__title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    color: var(--ap-text);
}
.bento-item--large .bento-item__title {
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}
.bento-item__lede {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ap-text-2);
    margin: 0;
    max-width: 55ch;
}

/* ================================================================
   7. CE QUE NOUS LIVRONS (ART-DIRECTED GLASS)
   ================================================================ */
.livrons-v2 {
    background:
        radial-gradient(ellipse at 80% 80%, rgba(207,232,246,0.4) 0%, transparent 50%),
        var(--ap-white);
}
.livrons-v2__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--ap-gap) + 0.25rem);
}
.glass-card { 
    position: relative; overflow: hidden; 
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(58,155,220,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s var(--ap-ease);
}
.glass-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--ap-gradient);
    border-radius: var(--ap-r) var(--ap-r) 0 0;
    opacity: 0; transition: opacity 0.4s var(--ap-ease);
}
.glass-card:hover::before { opacity: 1; }
.glass-card:hover {
    background: rgba(255,255,255,0.92);
    border-color: rgba(58,155,220,0.2);
    transform: translateY(-5px);
    box-shadow:
        0 25px 55px rgba(15,42,68,0.07),
        0 8px 20px rgba(58,155,220,0.05);
}
.glass-card h3 { color: var(--ap-text); margin-bottom: 0.75rem; font-weight: 700; letter-spacing: -0.02em; }
.glass-card p { color: var(--ap-text-2); font-size: 1rem; line-height: 1.7; }

/* ================================================================
   8. NOTRE APPROCHE
   ================================================================ */
.approche-v2 {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(233,246,252,0.5) 0%, transparent 50%),
        var(--ap-ice);
}
.approche-v2__flow {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: var(--ap-gap);
    position: relative;
    counter-reset: flow-counter;
}
.approche-v2__flow::before {
    content: '';
    position: absolute;
    top: 3.5rem; left: 8%; right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ap-primary), var(--ap-primary), transparent);
    opacity: 0.15;
    z-index: 0;
}
.flow-step {
    text-align: center; position: relative; z-index: 1;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}
.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: calc(-1 * var(--ap-gap) / 2 - 6px);
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--ap-primary);
    border-top: 2px solid var(--ap-primary);
    transform: rotate(45deg);
    opacity: 0.2;
}
.step-num {
    display: block; font-size: clamp(2.25rem, 4vw, 2.75rem); font-weight: 800;
    background: var(--ap-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: 1.25rem; letter-spacing: -0.05em;
}
.flow-step h3 { font-size: 1.1rem; font-weight: 600; }

/* ================================================================
   9. NOS VALEURS
   ================================================================ */
.values-v2 { background: var(--ap-white); }
.values-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--ap-gap) + 0.5rem);
}
.value-card { position: relative; overflow: hidden; }
.value-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--ap-primary) 0%, #7ec8e3 100%);
    border-radius: var(--ap-r) var(--ap-r) 0 0;
}
.values-grid .value-card:nth-child(2)::before {
    background: linear-gradient(90deg, #7ec8e3 0%, var(--ap-primary) 100%);
}
.values-grid .value-card:nth-child(2) {
    background: rgba(255, 255, 255, 0.92);
}
.value-card h3 { font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.75rem; font-size: 1.3rem; }
.value-card .icon-box {
    margin-bottom: 1.25rem;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    padding: 0;
}
.value-card p { line-height: 1.7; }

/* ================================================================
   10. NOS EXPERTISES
   ================================================================ */
.expertise-v2 { background: var(--ap-ice); }
.expertise-v2__list {
    display: flex; flex-wrap: wrap;
    gap: 1rem 1.25rem;
    justify-content: center;
    max-width: 960px;
    margin: 0 auto;
}
.capsule {
    padding: 0.95rem 1.85rem;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(58,155,220,0.08);
    border-radius: 100px;
    color: var(--ap-text); font-weight: 600; font-size: 1rem;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 16px rgba(15,42,68,0.04);
    transition: all 0.4s var(--ap-ease);
    cursor: default;
}
.capsule:hover {
    background: var(--ap-primary); color: #fff;
    border-color: var(--ap-primary);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(58,155,220,0.2);
}

/* ================================================================
   11. NOS PARCOURS
   ================================================================ */
.parcours-v2 {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(207,232,246,0.3) 0%, transparent 50%),
        var(--ap-white);
}
.date {
    font-weight: 700; color: var(--ap-primary);
    font-size: 1.5rem; letter-spacing: -0.03em; margin-bottom: 0.5rem;
    line-height: 1;
}

/* ================================================================
   12. CTA
   ================================================================ */
.cta-v2 {
    position: relative;
    background: linear-gradient(160deg, #2a7ab8 0%, #3A9BDC 40%, #4da8e0 75%, #2f8bc9 100%);
    color: #fff; text-align: center;
    overflow: hidden;
}
.apropos-page section.cta-v2 {
    padding-block: clamp(6rem, 12vw, 9rem);
}
.cta-v2::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0v40M0 20h40' fill='none' stroke='white' stroke-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}
.cta-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(255, 255, 255, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 65% 50% at 100% 100%, rgba(15, 42, 68, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
}
.cta-v2 > .container { position: relative; z-index: 1; }
.cta-v2 h2 {
    color: #fff; font-size: clamp(2.35rem, 4.5vw, 3.5rem);
    margin-bottom: 1.5rem; max-width: 22ch; margin-inline: auto; line-height: 1.08;
    font-weight: 800; letter-spacing: -0.035em;
    text-wrap: balance;
}
.cta-v2 p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0 auto 2.5rem; max-width: 46ch; line-height: 1.65; letter-spacing: -0.01em; }
.cta-v2 .btn-primary {
    background: #fff; color: var(--ap-primary);
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    font-weight: 700;
    font-size: 1rem;
    min-height: 52px;
    padding: 1rem 2.25rem;
    letter-spacing: -0.01em;
}
.cta-v2 .btn-primary:hover {
    background: var(--ap-ice); color: var(--ap-text);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0,0,0,0.2);
}
.cta-v2__actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.75rem, 3vw, 2.25rem);
}
.cta-v2 .btn-primary--shine:hover {
    transform: translateY(-3px) scale(1.02);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
[data-reveal] {
    opacity: 0; transform: translateY(36px);
    transition: opacity 0.8s var(--ap-ease), transform 0.8s var(--ap-reveal-ease, var(--ap-ease));
}
/* Fallback if JS fails */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; }
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Stagger children */
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 992px) {
    .hero-v2__grid, .about-split__grid, .pourquoi-v2__grid, .diff-v2__grid {
        grid-template-columns: 1fr; gap: 3rem;
    }
    .hero-v2__grid::before {
        display: none;
    }
    .hero-v2__content {
        padding-left: 0;
    }
    .hero-v2__rail {
        display: none;
    }
    .hero-v2__title {
        max-width: none;
    }
    .hero-v2__trust {
        grid-template-columns: 1fr;
        padding: 0.35rem 0.85rem;
    }
    .hero-v2__trust-pill:not(:last-child)::after {
        display: none;
    }
    .hero-v2__trust-pill {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid color-mix(in srgb, var(--ap-primary) 10%, transparent);
    }
    .hero-v2__trust-pill:last-child {
        border-bottom: none;
    }
    .hero-v2__visual {
        min-height: 0;
    }
    .hero-v2__stack {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        min-height: 0;
        max-width: none;
        margin-top: 0.5rem;
    }
    .hero-v2__stack::before {
        display: none;
    }
    .hero-v2__panel--meta,
    .hero-v2__panel--status,
    .hero-v2__card--primary,
    .hero-v2__card--secondary {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        transform: none !important;
        animation: none !important;
    }
    .hero-v2__panel--status {
        padding-left: 1rem;
    }
    .hero-v2__connector {
        display: none;
    }
    .hero-v2__glow,
    .hero-v2__blob {
        opacity: 0.5;
    }
    .hero-v2__card { margin: 0; }
    .about-split__title-wrap { border-left: none; padding-left: 0; border-bottom: 5px solid var(--ap-primary); padding-bottom: 2rem; }
    .about-split__text-wrap { padding-top: 0; }
    .timeline-v2__line { left: 24px; }
    .timeline-v2__dot { left: 24px; }
    .timeline-v2__card { width: calc(100% - 56px); margin-left: 56px !important; }
    .bento-v2__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-item--large,
    .bento-item--stack-top,
    .bento-item--stack-bottom,
    .bento-item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .bento-item:hover,
    .bento-item--wide:hover {
        transform: translateY(-4px);
    }
    .livrons-v2__grid { grid-template-columns: 1fr; }
    .approche-v2__flow { grid-template-columns: 1fr 1fr; }
    .approche-v2__flow::before { display: none; }
    .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .approche-v2__flow { grid-template-columns: 1fr; }
    .hero-v2__actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ================================================================
   ARABIC / RTL OVERRIDES
   ================================================================ */
body.matek-lang-ar .apropos-page {
    direction: rtl;
}

body.matek-lang-ar .about-split__title-wrap {
    border-left: none;
    border-right: 4px solid var(--ap-primary);
    padding-left: 0;
    padding-right: 1.75rem;
}

body.matek-lang-ar .timeline-v2__card {
    border-right: none;
}

/* Timeline card alignment logic for RTL */
body.matek-lang-ar .timeline-v2__item:nth-child(even) .timeline-v2__card {
    margin-left: 0;
    margin-right: auto;
}

body.matek-lang-ar .timeline-v2__item:nth-child(odd) .timeline-v2__card {
    margin-right: 0;
    margin-left: auto;
}

/* Reset for mobile RTL */
@media (max-width: 992px) {
    body.matek-lang-ar .about-split__title-wrap {
        border-right: none;
        border-bottom: 5px solid var(--ap-primary);
        padding-right: 0;
    }
    body.matek-lang-ar .timeline-v2__line,
    body.matek-lang-ar .timeline-v2__dot {
        left: auto;
        right: 24px;
        transform: translateX(50%);
    }
    body.matek-lang-ar .timeline-v2__card {
        margin-left: 0 !important;
        margin-right: 56px !important;
        width: calc(100% - 56px);
    }
}

body.matek-lang-ar .flow-step:not(:last-child)::after {
    right: auto;
    left: calc(-1 * var(--ap-gap) / 2 - 6px);
    transform: rotate(225deg);
}

body.matek-lang-ar .bento-v2__grid {
    grid-template-areas: 
        "T T T T T L L L L L L L"
        "B B B B B B B W W W W W";
}

body.matek-lang-ar .value-card::before {
    background: linear-gradient(-90deg, var(--ap-primary) 0%, #7ec8e3 100%);
}
body.matek-lang-ar .values-grid .value-card:nth-child(2)::before {
    background: linear-gradient(-90deg, #7ec8e3 0%, var(--ap-primary) 100%);
}
