/* ==========================================================================
   Valorexa-MFG — design system (royal blue / white)
   Sora display + Inter body. Distinct azure palette on clean white.
   ========================================================================== */

:root {
    /* Palette « Ardoise & Cuivre » — ardoise sobre + accent cuivre */
    --navy:     #1E293B;   /* ardoise profonde */
    --blue-900: #243044;
    --blue-700: #2B374E;
    --blue-600: #33415A;   /* primaire ardoise */
    --blue-500: #C2703D;   /* accent cuivre */
    --blue-400: #89919F;
    --blue-200: #C6CAD1;
    --blue-100: #EBECEE;   /* teinte claire */
    --blue-50:  #F7F7F8;   /* teinte la plus légère */
    --page:     #FFFFFF;
    --white:    #FFFFFF;
    --heading:  #1C2636;
    --body:     #4B586B;
    --muted:    #8A96A6;
    --border:   #E7E8EB;

    --primary:  var(--blue-600);
    --accent:   var(--blue-500);

    --radius:      10px;
    --radius-lg:   18px;
    --radius-xl:   26px;
    --shadow-sm:   0 1px 2px rgba(30,41,59,.05), 0 1px 3px rgba(30,41,59,.06);
    --shadow-md:   0 10px 28px rgba(30,41,59,.08), 0 3px 10px rgba(30,41,59,.05);
    --shadow-lg:   0 30px 70px rgba(43,55,78,.18), 0 10px 26px rgba(30,41,59,.10);
    --shadow-blue: 0 14px 30px rgba(51,65,90,.28);
    --ring:        0 0 0 4px rgba(194,112,61,.28);

    --maxw: 1200px;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display: "Sora", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--sans); color: var(--body); background: var(--page);
    line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--heading); line-height: 1.14; margin: 0 0 .5em; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 600; }
p  { margin: 0 0 1rem; }
a  { color: var(--blue-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-700); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--tint { background: var(--blue-50); }
.section--soft { background: var(--white); }
.section--navy { background: var(--navy); color: #C7D6EA; }
.center { text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--blue-600); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.center .eyebrow::before { display: none; }
.lead { font-size: 1.13rem; color: var(--body); max-width: 660px; }
.section .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--sans); font-weight: 600; font-size: .97rem; line-height: 1;
    padding: 15px 28px; border-radius: 10px; border: 1.5px solid transparent;
    cursor: pointer; transition: background .2s, transform .12s, box-shadow .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(18,86,209,.34); color: #fff; }
.btn--ghost { background: #fff; color: var(--heading); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-700); background: var(--blue-50); }
.btn--light { background: #fff; color: var(--blue-700); }
.btn--light:hover { background: var(--blue-100); color: var(--blue-700); }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 36px; height: 36px; flex: 0 0 36px; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 1.34rem; color: var(--heading); letter-spacing: -0.02em; }
.brand-accent { color: var(--blue-500); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--heading); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:hover { color: var(--blue-600); }
.nav-links a.active { color: var(--blue-600); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 8px 13px; font: inherit; font-size: .85rem; color: var(--heading); cursor: pointer;
}
.lang-btn .flag { width: 20px; height: 14px; display: block; }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border);
    border-radius: 14px; box-shadow: var(--shadow-md); padding: 6px; min-width: 180px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--heading); font-size: .92rem; }
.lang-menu a:hover { background: var(--blue-50); }
.lang-menu a.active { color: var(--blue-600); font-weight: 600; }
.lang-menu .flag { width: 22px; height: 15px; }
.flag svg, .flag img { display: block; width: 100%; height: 100%; border-radius: 2px; }

/* ==========================================================================
   HOME — hero
   ========================================================================== */
.vx-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 480px at 82% -6%, rgba(46,123,246,.14), transparent 62%),
        radial-gradient(700px 420px at 4% 108%, rgba(18,86,209,.10), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, var(--blue-50) 100%);
    border-bottom: 1px solid var(--border);
}
.vx-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(18,86,209,.10) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 60%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 60%);
    opacity: .5;
}
.vx-hero .container { position: relative; z-index: 1; padding-top: 82px; padding-bottom: 92px; }
.vx-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.vx-hero h1 { max-width: 15ch; margin-bottom: 22px; }
.vx-hero h1 .hl { color: var(--blue-600); }
.vx-hero .lead { margin-bottom: 30px; max-width: 520px; }
.vx-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.vx-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.vx-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; font-size: .85rem; font-weight: 500; color: var(--heading); box-shadow: var(--shadow-sm); }
.vx-chip svg { color: var(--blue-500); flex: 0 0 auto; }

/* Hero panel — approval tracker card (signature) */
.vx-panel {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg); padding: 28px; position: relative;
}
.vx-panel::after {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl); pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.vx-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.vx-panel-cap { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.vx-panel-badge { font-size: .72rem; font-weight: 600; color: #0F9D58; background: #E7F7EF; border: 1px solid #BFEBD3; padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.vx-panel-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #0F9D58; }
.vx-panel-amount { font-family: var(--display); font-size: 2.7rem; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; margin: 8px 0 2px; }
.vx-panel-sub { font-size: .86rem; color: var(--muted); margin: 0 0 18px; }
.vx-panel-figrow { display: flex; gap: 12px; margin-bottom: 20px; }
.vx-figbox { flex: 1; background: var(--blue-50); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; }
.vx-figbox .k { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.vx-figbox .v { font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--blue-700); }
.vx-figbox.hl { background: linear-gradient(135deg, var(--blue-600), var(--blue-800, var(--blue-700))); border-color: transparent; }
.vx-figbox.hl .k { color: rgba(255,255,255,.72); }
.vx-figbox.hl .v { color: #fff; }

/* mini approval tracker */
.vx-track { display: flex; align-items: flex-start; justify-content: space-between; position: relative; margin-top: 6px; }
.vx-track::before { content: ""; position: absolute; left: 22px; right: 22px; top: 13px; height: 2px; background: var(--border); }
.vx-track-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 33%; text-align: center; }
.vx-track-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--border); color: var(--muted); font-size: .8rem; }
.vx-track-step.on .vx-track-dot { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 0 0 4px rgba(18,86,209,.14); }
.vx-track-step.on ~ .vx-track-step .vx-track-dot { }
.vx-track-lbl { font-size: .74rem; color: var(--body); font-weight: 500; }
.vx-track-step.on .vx-track-lbl { color: var(--heading); }

/* ==========================================================================
   HOME — partner / trust strip
   ========================================================================== */
.vx-strip { background: #fff; border-bottom: 1px solid var(--border); }
.vx-strip .container { padding-top: 30px; padding-bottom: 30px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.vx-strip .strip-line { font-size: .86rem; color: var(--muted); font-weight: 500; }
.vx-strip .pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.vx-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; color: #64748B; font-weight: 600; font-size: .82rem; letter-spacing: .02em; background: var(--blue-50); }
.vx-pill svg { color: var(--blue-400); }

/* ==========================================================================
   HOME — metrics band (navy)
   ========================================================================== */
.vx-metrics { background: linear-gradient(135deg, var(--navy), var(--blue-900)); color: #fff; }
.vx-metrics .container { padding: 58px 24px; }
.vx-metrics .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vx-metric { text-align: center; }
.vx-metric .big { font-family: var(--display); font-size: 3rem; font-weight: 800; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vx-metric .lbl { color: #9FB6D6; font-size: .95rem; margin-top: 4px; }
.vx-metric {
    opacity: 0; transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.vx-metric:nth-child(2) { transition-delay: .12s; }
.vx-metric:nth-child(3) { transition-delay: .24s; }
.is-visible .vx-metric { opacity: 1; transform: none; }

/* ==========================================================================
   HOME — process timeline
   ========================================================================== */
.vx-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.vx-tl-step { position: relative; padding-top: 8px; }
.vx-tl-step::before { content: ""; position: absolute; left: 26px; right: -24px; top: 26px; height: 2px; background: linear-gradient(90deg, var(--blue-300), transparent); }
.vx-tl-step:last-child::before { display: none; }
.vx-tl-num { width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; box-shadow: var(--shadow-blue); position: relative; z-index: 1; margin-bottom: 20px; }
.vx-tl-step h3 { margin-bottom: 8px; }
.vx-tl-step p { margin: 0; font-size: .97rem; }

/* ==========================================================================
   HOME — bento solutions grid
   ========================================================================== */
.vx-sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vx-sol-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s, border-color .25s;
}
.vx-sol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--blue-200); }
.vx-sol-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-100); }
.vx-sol-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.vx-sol-card:hover .vx-sol-media img { transform: scale(1.05); }
.vx-sol-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,37,64,0) 45%, rgba(10,37,64,.42)); }
.vx-sol-ic {
    position: absolute; left: 16px; bottom: 16px; z-index: 1; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255,255,255,.92); color: var(--blue-700); display: grid; place-items: center;
    box-shadow: 0 6px 18px -6px rgba(10,37,64,.5); backdrop-filter: blur(4px);
}
.vx-sol-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.vx-sol-body h3 { font-family: var(--display); font-weight: 700; margin-bottom: 8px; font-size: 1.16rem; }
.vx-sol-body p { font-size: .95rem; margin: 0 0 18px; }
.vx-sol-link { margin-top: auto; font-weight: 600; color: var(--blue-600); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.vx-sol-link:hover { gap: 10px; }

/* scroll reveal (progressive apparition of images while scrolling) */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   HOME — why (split sticky)
   ========================================================================== */
.vx-why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.vx-why-aside { position: sticky; top: 100px; }
.vx-why-aside h2 { margin-bottom: 16px; }
.vx-why-list { display: grid; gap: 16px; }
.vx-why-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.vx-why-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.vx-why-check { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; }
.vx-why-item h3 { margin-bottom: 5px; }
.vx-why-item p { margin: 0; font-size: .95rem; }

/* ==========================================================================
   HOME — representative example (receipt)
   ========================================================================== */
.vx-ex { max-width: 940px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
/* hero row: monthly figure + cost-split visual */
.vx-ex-hero { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; }
.vx-ex-monthly { background: linear-gradient(155deg, var(--navy), var(--blue-700)); color: #fff; padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; }
.vx-ex-monthly .k { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-200); }
.vx-ex-monthly .v { font-family: var(--display); font-weight: 800; font-size: 2.9rem; line-height: 1.05; margin: 10px 0 8px; letter-spacing: -.02em; }
.vx-ex-monthly .s { font-size: .88rem; color: rgba(255,255,255,.72); }
.vx-ex-split { padding: 40px 38px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.vx-ex-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--blue-100); }
.vx-ex-bar .seg { height: 100%; }
.vx-ex-bar .seg.cap { background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); }
.vx-ex-bar .seg.cost { background: var(--blue-200); }
.vx-ex-legend { display: flex; gap: 34px; flex-wrap: wrap; }
.vx-ex-legend .lg { display: flex; flex-direction: column; gap: 2px; position: relative; padding-left: 20px; }
.vx-ex-legend .dot { position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; }
.vx-ex-legend .dot.cap { background: var(--blue-600); }
.vx-ex-legend .dot.cost { background: var(--blue-200); }
.vx-ex-legend b { font-family: var(--display); font-size: 1.18rem; color: var(--heading); }
.vx-ex-legend em { font-style: normal; font-size: .82rem; color: var(--muted); }
/* stat cells */
.vx-ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.vx-ex-cell { padding: 22px 24px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.vx-ex-cell:last-child { border-right: 0; }
.vx-ex-cell .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vx-ex-cell .v { font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--heading); }
.vx-ex-cell.hl { background: var(--blue-50); }
.vx-ex-cell.hl .v { color: var(--blue-600); }
.vx-ex-cell.wide { grid-column: 1 / -1; border-right: 0; background: var(--navy); }
.vx-ex-cell.wide .k { color: var(--blue-200); }
.vx-ex-cell.wide .v { color: #fff; font-size: 1.34rem; }
.vx-ex-note { max-width: 940px; margin: 16px auto 0; font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   HOME — testimonials (featured + supporting)
   ========================================================================== */
.vx-testi-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.vx-testi-feature { background: linear-gradient(150deg, var(--blue-600), var(--blue-900)); color: #fff; border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.vx-testi-feature .qmark { font-family: var(--display); font-size: 4rem; line-height: .6; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.vx-testi-feature .qtext { font-family: var(--display); font-size: 1.4rem; font-weight: 600; line-height: 1.4; margin-bottom: auto; }
.vx-testi-feature .who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.vx-testi-feature .who .av { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; position: relative; }
.vx-testi-feature .who b { display: block; color: #fff; font-size: .96rem; }
.vx-testi-feature .who span { color: rgba(255,255,255,.75); font-size: .84rem; }
.vx-testi-side { display: grid; gap: 22px; }
.vx-testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.vx-testi-card .stars { display: flex; gap: 3px; color: var(--blue-500); margin-bottom: 12px; }
.vx-testi-card .qtext { font-size: .95rem; color: var(--body); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.vx-testi-card .who { display: flex; align-items: center; gap: 12px; }
.vx-ident { position: relative; flex: 0 0 44px; line-height: 0; }
.vx-ident .av { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.05rem; overflow: hidden; }
.vx-ident .av .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.vx-ident .fl { position: absolute; right: -3px; bottom: -2px; width: 20px; height: 14px; border-radius: 2px; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(10,37,64,.22); object-fit: cover; }
/* larger identity block for the featured testimonial */
.vx-ident--lg { flex: 0 0 48px; }
.vx-ident--lg .av { width: 48px; height: 48px; background: rgba(255,255,255,.18); }
.vx-testi-card .who b { display: block; color: var(--heading); font-size: .92rem; }
.vx-testi-card .who span { display: block; color: var(--muted); font-size: .8rem; }

/* ==========================================================================
   HOME — FAQ accordion
   ========================================================================== */
.vx-faq { max-width: 800px; margin: 0 auto; }
.vx-faq-item { border: 1px solid var(--border); border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.vx-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--heading); }
.vx-faq-q .ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; transition: transform .25s, background .2s; }
.vx-faq-item.open .vx-faq-q .ic { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.vx-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.vx-faq-a p { margin: 0; padding: 0 24px 22px; color: var(--body); font-size: .97rem; line-height: 1.7; }

/* ---------- Final CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); border-radius: var(--radius-lg); padding: 58px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -20%, rgba(255,255,255,.14), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 26px; }

/* ---------- Generic cards / grids (shared) ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s, border-color .22s; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-600); margin-bottom: 16px; }
.card h3 { margin-bottom: 9px; }
.card p { margin: 0; font-size: .96rem; }

/* ---------- Stats (generic) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat .big { font-family: var(--display); font-size: 2.8rem; font-weight: 800; color: var(--blue-600); }
.stat .lbl { color: var(--body); font-size: .95rem; }

/* ---------- Representative example (generic) ---------- */
.example-card { max-width: 740px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.example-head { background: var(--blue-600); color: #fff; padding: 24px 30px; }
.example-head h3 { color: #fff; margin: 0; font-family: var(--display); font-weight: 700; }
.example-body { padding: 8px 30px 26px; }
.ex-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ex-row:last-of-type { border-bottom: 0; }
.ex-row .k { color: var(--body); font-size: .96rem; }
.ex-row .v { color: var(--heading); font-weight: 600; font-size: 1.06rem; }
.ex-row.hl .v { color: var(--blue-600); font-family: var(--display); font-size: 1.3rem; }
.ex-note { font-size: .8rem; color: var(--muted); padding: 0 30px 26px; line-height: 1.6; }

/* ---------- Simulator ---------- */
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--blue-100); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); box-shadow: var(--shadow-sm); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue-600); cursor: pointer; }
.sim2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.sim2-controls { display: grid; gap: 34px; }
.sim2-field label { display: block; font-weight: 600; color: var(--heading); font-size: 1.02rem; margin-bottom: 14px; }
.sim2-valuecard { background: linear-gradient(135deg, var(--blue-600), var(--blue-900)); color: #fff; border-radius: var(--radius-lg); padding: 38px 32px; min-height: 148px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-md); }
.sim2-valuecard span { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.sim2-valuecard small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 1.05rem; color: rgba(255,255,255,.72); }
.sim2-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.sim2-field .range { margin-top: 18px; }
.sim2-result { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; position: sticky; top: 100px; }
.sim2-result .cap { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.sim2-monthly { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 30px; }
.sim2-monthly span { font-family: var(--display); font-size: 3.4rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.sim2-monthly em { font-style: normal; font-size: 1.4rem; color: var(--muted); }
.sim2-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.sim2-stats .k { display: block; font-size: .9rem; color: var(--body); margin-bottom: 6px; }
.sim2-stats b { font-size: 1.28rem; color: var(--heading); font-weight: 700; font-family: var(--display); }
.sim2-note { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 18px 0 0; }

/* ---------- Solutions cards + carousel ---------- */
.sol-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s, border-color .22s; display: flex; flex-direction: column; }
.sol-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-200); }
.sol-card .icon { width: 52px; height: 52px; border-radius: 13px; background: var(--blue-100); display: grid; place-items: center; color: var(--blue-600); margin-bottom: 18px; }
.sol-card h3 { font-family: var(--display); font-weight: 700; margin-bottom: 10px; }
.sol-card p { font-size: .96rem; margin-bottom: 18px; }
.sol-card .sol-link { margin-top: auto; font-weight: 600; color: var(--blue-600); font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }

.carousel { --per: 3; position: relative; padding: 0 8px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel .slide { flex: 0 0 calc(100% / var(--per)); box-sizing: border-box; padding: 8px 12px 14px; }
.sol-slide { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; transition: box-shadow .22s, transform .22s; }
.sol-slide:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sol-slide-img { height: 188px; background-size: cover; background-position: center; background-repeat: no-repeat; }
.sol-slide-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.sol-slide-body h3 { font-family: var(--display); font-weight: 700; margin-bottom: 10px; }
.sol-slide-body p { font-size: .96rem; margin-bottom: 20px; }
.sol-slide-body .sol-link { margin-top: auto; font-weight: 600; color: var(--blue-600); font-size: .92rem; }
.carousel-arrow { position: absolute; top: calc((188px + 16px) / 2); transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md); color: var(--heading); cursor: pointer; display: grid; place-items: center; z-index: 3; transition: background .15s, color .15s, border-color .15s; }
.carousel-arrow:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.carousel-dots button.active { background: var(--blue-600); width: 26px; border-radius: 6px; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .22s, transform .22s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card .cover { height: 200px; background: linear-gradient(135deg, var(--blue-100), var(--blue-400)); background-size: cover; background-position: center; }
.article-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.article-card .meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px; }
.article-card h3 { font-family: var(--display); font-weight: 700; margin-bottom: 10px; }
.article-card p { font-size: .94rem; margin-bottom: 18px; }
.article-card .sol-link { margin-top: auto; font-weight: 600; color: var(--blue-600); font-size: .92rem; }
.article { max-width: 760px; margin: 0 auto; }
.article .meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.article h1 { margin-bottom: 20px; }
.article .article-body p { font-size: 1.05rem; color: var(--body); margin-bottom: 1.3rem; line-height: 1.8; }
.article .article-cover { height: 340px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-100), var(--blue-400)); background-size: cover; background-position: center; margin: 0 0 34px; box-shadow: var(--shadow-sm); }

/* ---------- Maison ---------- */
.maison-story { display: grid; gap: 40px; }
.maison-block { display: grid; grid-template-columns: 44px 1fr; gap: 22px; align-items: start; }
.maison-block .idx { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--blue-600); }
.maison-block h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; margin-bottom: 10px; }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value .vicon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; margin: 0 auto 14px; }
.value b { color: var(--heading); font-family: var(--display); font-weight: 700; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 600; color: var(--heading); font-size: .92rem; margin-bottom: 8px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--heading); background: var(--blue-50); border: 1px solid var(--border); border-radius: 11px; padding: 14px 16px; transition: border-color .15s, box-shadow .15s, background .15s; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: var(--ring); }
.textarea { min-height: 120px; resize: vertical; }
.input.err, .select.err, .textarea.err { border-color: #D64545; background: #FCEFEF; }
.err-msg { color: #C0392B; font-size: .84rem; margin-top: 6px; }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-600); flex: 0 0 auto; }
.consent label { font-weight: 400; color: var(--body); font-size: .9rem; line-height: 1.5; margin: 0; }
.secure-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin-top: 16px; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 12px; padding: 14px 18px; font-size: .95rem; margin-bottom: 22px; }
.alert--ok { background: #ECFBF3; color: #0B7A46; border: 1px solid #BFE9D2; }
.alert--err { background: #FCEFEF; color: #B03636; border: 1px solid #F0CFCF; }
.success-wrap { max-width: 580px; margin: 0 auto; text-align: center; }
.success-badge { width: 78px; height: 78px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; margin: 0 auto 24px; }
.success-ref-box { display:inline-flex; flex-direction:column; align-items:center; gap:6px; background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:20px 40px; margin:0 auto 18px; box-shadow:var(--shadow-sm); }
.success-ref-box .srb-label { font-size:.78rem; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); }
.success-ref-box .srb-value { font-family:var(--display); font-size:1.6rem; font-weight:700; color:var(--blue-700); letter-spacing:.04em; }
.success-ref-note { max-width:480px; margin:0 auto 28px; font-size:.9rem; color:var(--muted); line-height:1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #A9BAD2; padding: 66px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-accent { color: var(--blue-400); }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: #A9BAD2; display: block; padding: 5px 0; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-tagline { max-width: 330px; font-size: .95rem; line-height: 1.65; color: #A9BAD2; margin-bottom: 18px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { padding: 4px 0; font-size: .92rem; color: #A9BAD2; }
.footer-contact a { display: inline; padding: 0; color: #A9BAD2; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: #7E90AC; }
.footer-bottom span:last-child { max-width: 560px; text-align: right; line-height: 1.6; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; width: min(920px, calc(100% - 32px)); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 20px; }
.cookie.hidden { display: none; }
.cookie p { margin: 0; font-size: .9rem; color: var(--body); flex: 1; }
.cookie .cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie .btn { padding: 12px 22px; font-size: .9rem; }

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.caret { opacity: .65; transition: transform .2s; }
.caret-btn { position: absolute; top: 0; left: 0; right: 0; height: 100%; background: none; border: 0; cursor: pointer; display: none; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; min-width: 256px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; z-index: 60; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; color: var(--heading); font-size: .94rem; font-weight: 500; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--blue-50); color: var(--blue-600); }
.dropdown .di { width: 34px; height: 34px; border-radius: 9px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: 0 0 auto; }

/* ---------- Mobile ---------- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--heading); }
@media (max-width: 1000px) {
    .vx-hero-grid, .sim2, .vx-why { grid-template-columns: 1fr; gap: 40px; }
    .vx-why-aside { position: static; }
    .vx-panel, .sim2-result { max-width: 500px; }
    .grid-3, .grid-4, .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-row { grid-template-columns: repeat(2, 1fr); }
    .vx-timeline { grid-template-columns: 1fr; gap: 30px; }
    .vx-tl-step::before { display: none; }
    .vx-sol-grid { grid-template-columns: repeat(2, 1fr); }
    .vx-ex-hero { grid-template-columns: 1fr; }
    .vx-ex-grid { grid-template-columns: repeat(2, 1fr); }
    .vx-ex-cell:nth-child(2) { border-right: 0; }
    .vx-ex-cell.wide { grid-column: span 2; border-right: 0; border-top: 1px solid var(--border); }
    .vx-testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 62px 0; }
    .nav-links, .nav-right > .btn { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-links.open { display: flex; position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); gap: 6px; }
    .nav-links.open a { padding: 10px 0; }
    .grid-3, .grid-4, .grid-2, .stats, .field-row, .journal-grid, .values-row, .vx-sol-grid, .vx-ex-grid, .vx-metrics .grid3, .sim2-stats { grid-template-columns: 1fr; }
    .vx-ex-cell, .vx-ex-cell.wide { border-right: 0; border-top: 1px solid var(--border); }
    .cta-band { padding: 40px 24px; }
    .form-card, .sim2-result { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie .cookie-actions { justify-content: center; }
    .carousel { --per: 1; padding: 0; }
    .carousel-arrow.prev { left: 2px; }
    .carousel-arrow.next { right: 2px; }
    .vx-testi-feature { padding: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .vx-metric { opacity: 1; transform: none; }
}
