/* ============================================================
   Leerel // B2B ELECTRICAL DISTRIBUTOR
   Light, professional, image-led. REV 2.0 / DKR-SN
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Archivo+Black&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- 01. TOKENS ---------- */
:root {
    --bg:           #FFFFFF;
    --bg-soft:      #F6F6F4;
    --bg-mute:      #EFEEEA;
    --surface:      #FFFFFF;
    --surface-hi:   #FAFAF8;

    --ink:          #131313;
    --ink-2:        #2A2A2A;
    --ink-mute:     #5C5C58;
    --ink-faint:    #8A8A85;

    --line:         #E6E5E0;
    --line-strong:  #CFCDC7;
    --line-soft:    #F0EFEC;

    --accent:       #DC2626;
    --accent-dark:  #991B1B;
    --accent-soft:  #FEE2E2;

    --ok:           #15803D;
    --warn:         #B45309;

    --shadow-sm: 0 1px 2px rgba(20, 20, 16, 0.04), 0 1px 1px rgba(20, 20, 16, 0.03);
    --shadow:    0 1px 2px rgba(20, 20, 16, 0.05), 0 4px 14px rgba(20, 20, 16, 0.04);
    --shadow-lg: 0 8px 30px rgba(20, 20, 16, 0.06), 0 2px 6px rgba(20, 20, 16, 0.04);

    --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
    --font-body:    'Archivo', system-ui, -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

    --gutter-block:  clamp(64px, 7vw, 110px);
    --gutter-inline: clamp(20px, 3vw, 48px);
    --container:     1480px;

    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
}

/* ---------- 02. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { border: none; background: none; font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 03. TYPOGRAPHY ---------- */
.t-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}
.t-eyebrow-mute {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
}
.t-meta {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-mute);
    font-weight: 500;
}
.t-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.2vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ink);
    word-break: break-word;
    overflow-wrap: anywhere;
}
.t-h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.t-lede {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
    font-weight: 400;
}
.accent-text { color: var(--accent); }
.code-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
}

/* ---------- 04. CONTAINER ---------- */
.shell {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
}

.section {
    padding-block: var(--gutter-block);
    border-bottom: 1px solid var(--line);
}
.section.alt { background: var(--bg-soft); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark .t-h2,
.section.dark .t-h3 { color: #fff; }
.section.dark .t-lede,
.section.dark .t-meta { color: #C9C7C2; }

.section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 56px;
    max-width: 760px;
}
.section-head .t-h2 + .t-lede { margin-top: 4px; }

@media (min-width: 880px) {
    .section-head { grid-template-columns: 220px 1fr; gap: 32px; max-width: none; }
    .section-head > .meta-col { padding-top: 8px; }
}

/* ---------- 05. NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
    height: 70px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--ink);
}
.brand-mark {
    width: 34px;
    height: 34px;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: -0.04em;
    border-radius: 4px;
    position: relative;
}
.brand-mark::after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
}
.brand-name { font-size: 15px; letter-spacing: 0.02em; font-weight: 900; }
.brand-reg { color: var(--accent); font-size: 9px; vertical-align: super; margin-left: 2px; }

.nav-links {
    display: flex;
    gap: 32px;
    justify-content: center;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: color 0.15s linear;
    position: relative;
    padding: 6px 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }
.nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: var(--accent);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s linear, transform 0.15s ease;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-cta .ico { width: 16px; height: 16px; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-toggle { display: none; }

@media (max-width: 980px) {
    .nav-inner { gap: 12px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 8px 0 16px;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 14px var(--gutter-inline); border-top: 1px solid var(--line-soft); width: 100%; }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 9px 12px;
        border: 1px solid var(--line-strong);
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--ink-2);
    }
    .nav-cta { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 460px) {
    .nav-cta { padding: 9px 12px; font-size: 12px; }
    .nav-cta .ico { display: none; }
}

/* ---------- 06. HERO ---------- */
.hero {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(56px, 7vw, 110px) clamp(48px, 6vw, 96px);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(24px, 3vw, 56px);
    align-items: center;
}
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.hero-badge .pin {
    width: 22px;
    height: 22px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 11px;
}
.hero-badge .dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--ok);
    border-radius: 999px;
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(21,128,61,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(21,128,61,0); }
}

.hero-headline h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--ink);
    overflow-wrap: break-word;
}
@media (max-width: 1100px) {
    .hero-headline h1 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); }
}
@media (max-width: 540px) {
    .hero-headline h1 { font-size: clamp(1.8rem, 8.5vw, 2.6rem); letter-spacing: -0.02em; }
}
.hero-headline h1 .accent { color: var(--accent); }
.hero-headline h1 .underline {
    background: linear-gradient(180deg, transparent 65%, rgba(220,38,38,0.18) 65%);
    padding: 0 4px;
}

.hero-lede {
    margin-top: 24px;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 52ch;
}

.hero-cta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 6px 14px rgba(220,38,38,0.18);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 10px 22px rgba(220,38,38,0.24); }
.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover { background: var(--ink-2); }

.hero-quick {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 540px;
}
.hero-quick-item {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: border-color 0.15s, transform 0.15s;
}
.hero-quick-item:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-quick-item .num {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.hero-quick-item .lbl {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- 07. HERO ART ---------- */
.hero-art {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1.05 / 1;
    background:
        radial-gradient(120% 100% at 100% 0%, #FFE4E4 0%, transparent 55%),
        radial-gradient(80% 90% at 0% 100%, #FFF7E5 0%, transparent 55%),
        #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.hero-art-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, rgba(19,19,19,0.05) 0 1px, transparent 1px 38px),
        linear-gradient(90deg, rgba(19,19,19,0.05) 0 1px, transparent 1px 38px);
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}
.hero-art-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-art-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-art-card .lbl { color: var(--ink-mute); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.hero-art-card .val { color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.1; }
.hero-art-card .ico { width: 28px; height: 28px; padding: 5px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.hero-art-card.tl { top: 18px;    left: 18px; }
.hero-art-card.br { bottom: 18px; right: 18px; }
.hero-art-card.tr { top: 38%;     right: 18px; }

@media (prefers-reduced-motion: no-preference) {
    .hero-art-card.tl { animation: floatA 5s ease-in-out infinite; }
    .hero-art-card.br { animation: floatB 6s ease-in-out infinite; }
    .hero-art-card.tr { animation: floatA 7s ease-in-out infinite -1s; }
}
@keyframes floatA {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(5px); }
}

@media (max-width: 980px) {
    .hero-art { aspect-ratio: 16/11; }
}
@media (max-width: 540px) {
    .hero-art-card { font-size: 11px; padding: 10px 12px; }
    .hero-art-card .val { font-size: 13px; }
    .hero-art-card .ico { width: 24px; height: 24px; }
    .hero-quick { grid-template-columns: 1fr 1fr; }
}

/* ---------- 08. BRAND BAR ---------- */
.brand-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 36px 0;
}
.brand-bar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
}
.brand-bar-label {
    text-align: center;
    margin-bottom: 24px;
    color: var(--ink-mute);
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.brand-bar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.brand-cell {
    background: #fff;
    height: 96px;
    min-width: 0;
    display: grid;
    place-items: center;
    transition: background 0.15s linear;
    padding: 16px 18px;
    overflow: hidden;
}
.brand-cell img {
    max-width: 100%;
    max-height: 38px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(0.62);
    transition: filter 0.18s ease;
}
.brand-cell:hover img { filter: grayscale(0) opacity(1); }
.brand-cell:hover { background: var(--bg-soft); }
.brand-cell .b-mk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.brand-cell .b-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

@media (max-width: 980px) { .brand-bar-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
    .brand-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-cell { height: 80px; padding: 12px 14px; }
    .brand-cell img { max-height: 30px; }
}

/* ---------- 09. FAMILIES (CATEGORY CARDS) ---------- */
.fam-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 1080px) { .fam-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .fam-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .fam-grid { grid-template-columns: 1fr; } }

.fam-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--ink);
}
.fam-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.fam-thumb {
    aspect-ratio: 4/3;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.fam-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, rgba(19,19,19,0.04) 0 1px, transparent 1px 28px),
        linear-gradient(90deg, rgba(19,19,19,0.04) 0 1px, transparent 1px 28px);
    pointer-events: none;
}
.fam-thumb-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.fam-thumb-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--line);
    backdrop-filter: blur(2px);
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
}
.fam-thumb-acro {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--ink);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.fam-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.fam-title {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.15;
}
.fam-abstract {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--ink-mute);
    flex: 1;
}
.fam-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fam-stat {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.06em;
    font-weight: 600;
}
.fam-stat strong { color: var(--ink); }
.fam-arrow {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.fam-card:hover .fam-arrow { background: var(--accent); color: #fff; transform: translateX(3px); }

/* ---------- 10. METRICS STRIP ---------- */
.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    background: var(--line);
    gap: 1px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.metric {
    background: #fff;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.metric-icon {
    width: 36px;
    height: 36px;
    color: var(--accent);
}
.metric-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.metric-value .unit { color: var(--accent); font-size: 0.5em; margin-left: 6px; letter-spacing: -0.01em; }
.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}
.metric-foot {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink-mute);
}

@media (max-width: 880px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. ABOUT / MANIFESTE ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.about-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.2vw, 44px);
    position: relative;
}
.about-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}
.about-card-icon svg { width: 26px; height: 26px; }
.about-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 14px;
}
.about-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
    max-width: 60ch;
}
.about-card p + p { margin-top: 12px; }

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

/* ---------- 12. SERVICES ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.svc-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.2vw, 38px);
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.svc-card:hover { border-color: var(--ink-mute); box-shadow: var(--shadow); }
.svc-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    color: var(--accent);
    font-weight: 700;
}
.svc-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.svc-icon svg { width: 32px; height: 32px; }
.svc-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.svc-desc {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 56ch;
}
.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.svc-tag {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mute);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 5px 9px;
    border-radius: 999px;
    font-weight: 600;
}
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- 13. ZONE / MAP ---------- */
.zone {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.zone-map {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    min-height: 420px;
    overflow: hidden;
}
.zone-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg, rgba(19,19,19,0.04) 0 1px, transparent 1px 36px),
        linear-gradient(90deg, rgba(19,19,19,0.04) 0 1px, transparent 1px 36px);
    pointer-events: none;
}
.zone-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone-pin {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 2px solid #fff;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(220,38,38,0.35);
    z-index: 5;
}
.zone-pin::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 50px; height: 50px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: pinRing 2.4s ease-out infinite;
}
@keyframes pinRing {
    0%   { width: 12px; height: 12px; opacity: 0.7; }
    100% { width: 80px; height: 80px; opacity: 0; }
}
.zone-pin-label {
    position: absolute;
    background: var(--ink);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transform: translate(-50%, -180%);
    white-space: nowrap;
    z-index: 5;
}
.zone-pin-label::after {
    content: "";
    position: absolute;
    top: 100%; left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: var(--ink);
}

.zone-info {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3vw, 36px);
}
.zone-info dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
}
.zone-info dd {
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 22px;
    font-weight: 500;
}
.zone-info dd a:hover { color: var(--accent); }
.zone-info dd:last-child { margin-bottom: 0; }

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

/* ---------- 14. CONTACT BAND ---------- */
.contact-band {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(36px, 5vw, 64px);
    overflow: hidden;
    position: relative;
}
.contact-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(70% 80% at 100% 0%, rgba(220,38,38,0.18) 0%, transparent 60%),
        radial-gradient(60% 70% at 0% 100%, rgba(220,38,38,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.contact-band-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: end;
}
.contact-band h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
}
.contact-band h2 .accent { color: var(--accent); }
.contact-band p {
    margin-top: 14px;
    font-size: 16px;
    color: #C9C7C2;
    max-width: 50ch;
}
.contact-band-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}
.contact-band .btn-primary { background: var(--accent); }
.contact-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.contact-band .btn-ghost:hover { border-color: #fff; }

@media (max-width: 720px) {
    .contact-band-inner { grid-template-columns: 1fr; }
    .contact-band-cta { min-width: 0; }
}

/* ---------- 15. FOOTER ---------- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: clamp(48px, 5vw, 72px) 0 28px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}
.footer h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-mute);
    margin-bottom: 18px;
    font-weight: 700;
}
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a { color: var(--ink-2); transition: color 0.15s linear; }
.footer ul li a:hover { color: var(--accent); }
.footer p { font-size: 14px; line-height: 1.55; color: var(--ink-mute); max-width: 38ch; margin-top: 14px; }

.footer-base {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px var(--gutter-inline) 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    font-size: 12.5px;
    color: var(--ink-mute);
}
.footer-base > :nth-child(2) { text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; }
.footer-base > :nth-child(3) { text-align: right; font-weight: 500; }

@media (max-width: 880px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-base { grid-template-columns: 1fr; text-align: left; }
    .footer-base > * { text-align: left !important; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- 16. CATALOGUE PAGE ---------- */
.cat-hero {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px);
}
.cat-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: end;
}
.cat-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5.2vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.cat-hero h1 .accent { color: var(--accent); }
.cat-hero p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 60ch;
}
.cat-hero-stats {
    display: flex;
    gap: 26px;
}
.cat-hero-stat .num {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.cat-hero-stat .lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    font-weight: 600;
    margin-top: 6px;
}
@media (max-width: 760px) {
    .cat-hero-inner { grid-template-columns: 1fr; }
    .cat-hero-stats { flex-wrap: wrap; gap: 18px; }
}

.cat-control {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.cat-control-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
}
.cat-control-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}
.cat-search {
    position: relative;
    border: 1px solid var(--line-strong);
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 999px;
    transition: border-color 0.15s;
}
.cat-search:focus-within { border-color: var(--ink); }
.cat-search-ico {
    width: 18px;
    height: 18px;
    margin-left: 16px;
    color: var(--ink-mute);
    flex-shrink: 0;
}
.cat-search input {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14.5px;
    padding: 12px 16px;
    outline: none;
}
.cat-search input::placeholder { color: var(--ink-faint); }
.cat-search-count {
    padding: 0 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    border-left: 1px solid var(--line);
    height: 40%;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.cat-reset {
    padding: 10px 18px;
    border: 1px solid var(--line-strong);
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
    transition: all 0.12s linear;
}
.cat-reset:hover { border-color: var(--accent); color: var(--accent); }

.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.cat-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    transition: all 0.12s linear;
    cursor: pointer;
}
.cat-filter:hover { border-color: var(--ink); color: var(--ink); }
.cat-filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-filter-code { font-family: var(--font-mono); font-size: 11px; color: var(--accent); font-weight: 700; }
.cat-filter.is-active .cat-filter-code { color: #FFB4B4; }
.cat-filter-count {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--ink-mute);
}
.cat-filter.is-active .cat-filter-count { background: rgba(255,255,255,0.12); color: #fff; }

@media (max-width: 760px) {
    .cat-control-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FILTRES CATALOGUE — MODES MOBILE CONFIGURABLES
   Pilotés par body[data-filter-mode="A|B|C|D"]
   Configuration : assets/js/catalogue-config.js
   ============================================================ */

/* Par défaut, tous les triggers/drawer/select sont cachés
   (on les active selon le mode + breakpoint mobile) */
.cat-filter-trigger,
.cat-filter-select,
.cat-filter-expand,
.cat-drawer { display: none; }

/* ---------- MODE A : chips scrollables horizontalement (mobile) ---------- */
@media (max-width: 760px) {
    body[data-filter-mode="A"] .cat-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        padding-right: 28px;
        margin-right: -16px;
        position: relative;
        /* Dégradé fadeout à droite pour suggérer le scroll */
        mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 88%, transparent 100%);
    }
    body[data-filter-mode="A"] .cat-filters::-webkit-scrollbar { display: none; }
    body[data-filter-mode="A"] .cat-filter {
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ---------- MODE B : drawer modal (mobile) ---------- */
@media (max-width: 760px) {
    body[data-filter-mode="B"] .cat-filters { display: none; }
    body[data-filter-mode="B"] .cat-filter-trigger { display: inline-flex; }
    body[data-filter-mode="B"].drawer-open .cat-drawer { display: block; }
}

.cat-filter-trigger {
    margin-top: 12px;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.15s;
}
.cat-filter-trigger:hover { border-color: var(--ink); }
.cat-filter-trigger .ic { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink-mute); }
.cat-filter-trigger .chev { margin-left: auto; }
.cat-filter-trigger .lbl { color: var(--ink-mute); font-weight: 500; }
.cat-filter-trigger-active { color: var(--ink); font-weight: 700; }

.cat-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    animation: drawerFadeIn 0.2s ease;
}
@keyframes drawerFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cat-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
}
.cat-drawer-panel {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    animation: drawerSlideUp 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}
@keyframes drawerSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.cat-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    border-radius: 18px 18px 0 0;
}
.cat-drawer-head h3 {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
}
.cat-drawer-close {
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    color: var(--ink-2);
}
.cat-drawer-close svg { width: 16px; height: 16px; }
.cat-drawer-close:hover { background: var(--line); }
.cat-drawer-list {
    padding: 12px 14px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cat-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 100%;
    text-align: left;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.12s;
}
.cat-drawer-item:hover { border-color: var(--ink); }
.cat-drawer-item.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-drawer-item .cat-filter-code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    font-weight: 700;
    min-width: 36px;
}
.cat-drawer-item.is-active .cat-filter-code { color: #FFB4B4; }
.cat-drawer-item .lbl { flex: 1; }
.cat-drawer-item .cat-filter-count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--bg-soft);
    padding: 2px 10px;
    border-radius: 999px;
    color: var(--ink-mute);
    font-weight: 600;
}
.cat-drawer-item.is-active .cat-filter-count { background: rgba(255,255,255,0.14); color: #fff; }

/* ---------- MODE C : select natif iOS/Android (mobile) ---------- */
@media (max-width: 760px) {
    body[data-filter-mode="C"] .cat-filters { display: none; }
    body[data-filter-mode="C"] .cat-filter-select { display: flex; }
}
.cat-filter-select {
    margin-top: 12px;
    position: relative;
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0 18px;
    align-items: center;
    gap: 10px;
    transition: border-color 0.15s;
}
.cat-filter-select:focus-within { border-color: var(--ink); }
.cat-filter-select-lbl {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 600;
    flex-shrink: 0;
}
.cat-filter-select select {
    flex: 1;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    outline: none;
    cursor: pointer;
}
.cat-filter-select-chev {
    width: 16px; height: 16px;
    color: var(--ink-mute);
    pointer-events: none;
    flex-shrink: 0;
}

/* ---------- MODE D : chips 2 lignes max + voir plus (mobile) ---------- */
@media (max-width: 760px) {
    body[data-filter-mode="D"] .cat-filters {
        max-height: 92px;
        overflow: hidden;
        position: relative;
        transition: max-height 0.25s ease;
    }
    body[data-filter-mode="D"].filters-expanded .cat-filters {
        max-height: 400px;
    }
    body[data-filter-mode="D"] .cat-filter-expand { display: inline-flex; }
}
.cat-filter-expand {
    margin-top: 8px;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    background: #fff;
    border: 1px dashed var(--ink-mute);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: all 0.15s;
}
.cat-filter-expand:hover { border-color: var(--ink); color: var(--ink); border-style: solid; }
.cat-filter-expand .chev { width: 14px; height: 14px; transition: transform 0.2s; }
body.filters-expanded .cat-filter-expand .chev { transform: rotate(180deg); }

/* ---------- 17. CATALOGUE LIST ---------- */
.cat-list {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(36px, 5vw, 64px) var(--gutter-inline);
}
.cat-family {
    margin-bottom: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(40px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
}
.cat-family:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.cat-family-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
    padding: 22px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.cat-family-thumb {
    position: relative;
    width: 120px;
    height: 90px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}
.cat-family-thumb svg.fam-thumb-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.cat-family-text { display: flex; flex-direction: column; gap: 6px; }
.cat-family-code {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}
.cat-family-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.cat-family-abstract {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-mute);
    max-width: 60ch;
    margin-top: 4px;
}
.cat-family-meta {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.08em;
    font-weight: 600;
    line-height: 1.5;
}
.cat-family-meta strong { color: var(--ink); display: block; font-size: 14px; }

@media (max-width: 720px) {
    .cat-family-head { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; }
    .cat-family-thumb { width: 84px; height: 64px; }
    .cat-family-meta { grid-column: 1 / -1; text-align: left; padding-top: 10px; border-top: 1px solid var(--line); }
}

.cat-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 1080px) { .cat-subgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .cat-subgrid { grid-template-columns: 1fr; } }

.cat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 12px;
    transition: border-color 0.15s, transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
    border-color: var(--ink-mute);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.cat-card.is-hidden { display: none; }
.cat-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    font-weight: 600;
}
.cat-card-code { color: var(--accent); font-weight: 700; }
.cat-card-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1.2;
}
.cat-card-list {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-2);
    border-top: 1px dashed var(--line-strong);
    padding-top: 12px;
}
.cat-card-list li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
    color: var(--ink-2);
}
.cat-card-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 999px;
}

.cat-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-soft);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    color: var(--ink-mute);
}
.cat-empty p:first-child { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.cat-empty .accent { color: var(--accent); }
.cat-family.is-hidden { display: none; }

/* ---------- 18. MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
    .reveal.is-in { opacity: 1; transform: translateY(0); }
}

/* ---------- 20. SECTORS GRID (home-pro) ---------- */
.sec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.sec-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.sec-card:hover {
    border-color: var(--ink-mute);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.sec-thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-soft);
}
.sec-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.sec-card:hover .sec-thumb img { transform: scale(1.04); }
.sec-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}
.sec-thumb-code {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--line);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    backdrop-filter: blur(2px);
}
.sec-thumb-icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.6);
    color: var(--accent);
    border-radius: 10px;
    display: grid;
    place-items: center;
    backdrop-filter: blur(2px);
}
.sec-thumb-icon svg { width: 24px; height: 24px; }

.sec-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.sec-icon { display: none; } /* legacy alias hidden — replaced by sec-thumb-icon */
.sec-code { display: none; } /* legacy alias hidden — replaced by sec-thumb-code */
.sec-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.15;
}
.sec-abstract {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-mute);
}
.sec-bullets {
    margin-top: 4px;
    border-top: 1px dashed var(--line-strong);
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sec-bullets li {
    padding-left: 16px;
    position: relative;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
}
.sec-bullets li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 999px;
}
@media (max-width: 1080px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- 21. PILLARS ROW (home-pro) ---------- */
.pil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pil-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.2vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pil-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
}
.pil-icon svg { width: 28px; height: 28px; }
.pil-code {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--accent);
    font-weight: 700;
}
.pil-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1.1;
}
.pil-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ink-2);
}
@media (max-width: 880px) { .pil-grid { grid-template-columns: 1fr; } }

/* ---------- 22. PLATFORM FEATURE (home-pro) ---------- */
.platform {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.platform-text {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    overflow: hidden;
    position: relative;
}
.platform-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 70% at 0% 0%, rgba(220,38,38,0.18) 0%, transparent 60%),
        radial-gradient(60% 70% at 100% 100%, rgba(220,38,38,0.10) 0%, transparent 60%);
    pointer-events: none;
}
.platform-text > * { position: relative; }
.platform-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #FCA5A5;
    text-transform: uppercase;
    font-weight: 700;
}
.platform-num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fff;
}
.platform-num .unit { color: var(--accent); font-size: 0.4em; vertical-align: super; margin-left: 8px; }
.platform-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}
.platform-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #C9C7C2;
    max-width: 50ch;
}
.platform-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.12);
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
}
.platform-stat {
    background: var(--ink);
    padding: 14px 16px;
}
.platform-stat .v {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1;
    color: #fff;
}
.platform-stat .l {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #A3A3A3;
    margin-top: 5px;
}

.platform-art {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 360px;
}
.platform-art svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

@media (max-width: 980px) {
    .platform { grid-template-columns: 1fr; }
    .platform-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 23A. HERO CINEMA — full-bleed editorial (home-pro) ---------- */
.hero-cinema {
    position: relative;
    min-height: 86vh;
    height: 86vh;
    max-height: 920px;
    overflow: hidden;
    background: #060606;
    border-bottom: 0;
    padding: 0;
    color: #fff;
    /* override default .hero gradient */
    background-image: none;
}
@media (max-width: 880px) {
    .hero-cinema { min-height: auto; height: auto; max-height: none; }
}

.hero-cinema-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    z-index: 0;
    /* slight cinematic tint */
    filter: saturate(1.05) contrast(1.05);
}

.hero-cinema-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        /* Strong left-side darkening for text legibility */
        linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 25%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0) 70%),
        /* Bottom darken for chips + CTA area */
        linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%),
        /* Top wash for badge + nav blend */
        linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 25%),
        /* Subtle base darken */
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
}

.hero-cinema-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-cinema-inner {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter-inline);
    padding-top: clamp(80px, 12vh, 140px);
    padding-bottom: clamp(40px, 6vh, 80px);
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
}

.hero-cinema-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* badge — dark variant */
.hero-badge-dark {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}
.hero-badge-dark .pin { background: rgba(220,38,38,0.25); color: #FCA5A5; }

/* headline — light variant */
.hero-headline-light h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6.4vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-headline-light h1 .underline {
    background: linear-gradient(180deg, transparent 65%, rgba(220,38,38,0.45) 65%);
    padding: 0 6px;
}
.hero-headline-light h1 .accent { color: #FCA5A5; }

/* lede — light variant */
.hero-lede-light {
    color: rgba(255,255,255,0.85);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    max-width: 56ch;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-lede-light strong {
    color: #fff;
    font-weight: 700;
}

/* CTA on dark */
.btn-ghost-on-dark {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s ease;
}
.btn-ghost-on-dark:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
}
.btn-ghost-on-dark .arrow { transition: transform 0.15s ease; }
.btn-ghost-on-dark:hover .arrow { transform: translateX(3px); }

/* Cinematic chips row — info pills at bottom */
.hero-cinema-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.hc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    color: rgba(255,255,255,0.95);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}
.hc-chip svg {
    width: 14px;
    height: 14px;
    color: #FCA5A5;
    flex-shrink: 0;
}

/* Right side stats strip */
.hero-cinema-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 26px;
    min-width: 200px;
    align-self: flex-end;
}
.hcs-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
}
.hcs-num {
    font-family: var(--font-display);
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
}
.hcs-num small {
    font-size: 0.55em;
    color: #FCA5A5;
    margin-left: 2px;
}
.hcs-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
}
.hcs-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0;
}

/* Scroll indicator */
.hero-cinema-scroll {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.15s ease, transform 0.15s ease;
    text-decoration: none;
}
.hero-cinema-scroll:hover { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .hero-cinema-scroll svg { animation: scrollNudge 1.6s ease-in-out infinite; }
}
@keyframes scrollNudge {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

@media (max-width: 980px) {
    .hero-cinema-inner {
        grid-template-columns: 1fr;
        padding-top: clamp(64px, 10vh, 100px);
        padding-bottom: clamp(36px, 5vh, 60px);
        gap: 24px;
    }
    .hero-cinema-side {
        flex-direction: row;
        justify-content: space-around;
        min-width: 0;
        padding: 14px 18px;
    }
    .hcs-item { padding: 6px 12px; flex: 1; }
    .hcs-num { font-size: 24px; }
    .hcs-divider { width: 1px; height: auto; margin: 0; }
    .hero-cinema-scroll { display: none; }
}
@media (max-width: 540px) {
    .hero-cinema { min-height: 88vh; }
    .hero-headline-light h1 { font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -0.025em; }
    .hc-chip { font-size: 11.5px; padding: 7px 11px; }
    .hcs-num { font-size: 20px; }
    .hcs-lbl { font-size: 10px; letter-spacing: 0.08em; }
}

/* ---------- 23B. OVERVIEW — Vue d'ensemble (home-pro) ---------- */
.overview {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}
.overview-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.overview-text p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    max-width: 60ch;
    font-weight: 400;
}
.overview-text p strong {
    color: var(--ink);
    font-weight: 700;
}
.overview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: gap 0.15s ease, color 0.15s ease;
}
.overview-link:hover { gap: 14px; color: var(--accent-dark); }
.overview-link .arrow { transition: transform 0.15s ease; }

.overview-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 2.6vw, 32px);
    box-shadow: var(--shadow);
}
.overview-card-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.overview-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.overview-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
}
.ov-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ov-icon svg { width: 20px; height: 20px; }
.overview-list li strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 3px;
}
.overview-list li span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-mute);
}

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

/* ---------- 23. SOLUTIONS LEDE (home-pro) ---------- */
.solutions-lede {
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3.2vw, 44px);
    margin-bottom: 36px;
}
.solutions-lede p {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    color: var(--ink);
    max-width: 70ch;
}
.solutions-lede p strong { color: var(--accent); font-weight: 700; }
.solutions-lede + .section-head { margin-top: 0; }

/* ---------- 23C. PHOTO MODES (home-pro) ---------- */

/* Family thumb — photo variant */
.fam-thumb-photo { background: var(--ink); }
.fam-thumb-photo::before { display: none; } /* hide grid pattern when photo */
.fam-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.fam-thumb-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}
.fam-card:hover .fam-thumb-img { transform: scale(1.04); }

/* Hero art — photo variant */
.hero-art-photo { background: var(--ink); }
.hero-art-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-art-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.25) 100%),
        radial-gradient(80% 60% at 100% 100%, rgba(220,38,38,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Platform art — photo variant */
.platform-art-photo { background: var(--ink); padding: 0; }
.platform-art-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}
.platform-art-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.platform-art-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.platform-art-tag-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    color: #FCA5A5;
    font-weight: 700;
    text-transform: uppercase;
}
.platform-art-tag-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.025em;
    color: #fff;
}

/* ---------- 24. HOME SWITCHER (toggle between standard / pro) ---------- */
.home-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    gap: 0;
    font-size: 12px;
    font-weight: 600;
}
.home-switch a {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--ink-mute);
    transition: all 0.12s linear;
    white-space: nowrap;
}
.home-switch a.is-active {
    background: var(--ink);
    color: #fff;
}
.home-switch a:hover:not(.is-active) { color: var(--ink); }

@media (max-width: 980px) {
    .home-switch { display: none; }
}

/* ---------- 19. PRINT ---------- */
@media print {
    .nav, .cat-control, .contact-band, .hero-art-card { display: none !important; }
    .hero, .section { padding-block: 30px; }
    body { background: #fff; }
}
