/* ============================================
   CAP ASSOCIÉS — Design system v2 (fixed pages)
   ============================================ */

:root {
    --ink: #004360;
    --ink-deep: #002d42;
    --accent: #FFFFFF;
    --accent-soft: rgba(255, 255, 255, 0.85);
    --ivory: #FAF7F2;
    --ivory-warm: #F4EFE6;
    --paper: #FFFFFF;
    --charcoal: #1a1a1a;
    --slate: #4a4a4a;
    --mist: #8a8a8a;
    --line: #e8e2d6;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
    --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { height: auto; }
html, body { overflow-x: hidden; }
/* Scrollbars discrètes (cache les boutons/chevrons des thèmes système anciens) */
* { scrollbar-width: thin; scrollbar-color: rgba(0, 45, 66, 0.18) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 45, 66, 0.18); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 45, 66, 0.32); }
::-webkit-scrollbar-button { display: none; }
::-webkit-scrollbar-corner { background: transparent; }
body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   SHELL
   ============================================ */
.app {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-h);
}

/* ============================================
   NAV — Bandeau blanc figé en haut
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    flex-shrink: 0;
    background: var(--paper);
    z-index: 100;
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    height: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo img {
    height: 42px;
    width: auto;
    display: block;
    transition: opacity 0.3s;
}
.nav-logo:hover img { opacity: 0.75; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.2vw, 1.2rem);
}
.nav-menu a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--ink);
    padding: 0.55rem 0.95rem;
    overflow: hidden;
    transition: color 0.35s var(--ease);
    z-index: 1;
}
/* Bottom-up fill */
.nav-menu a::before {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 0;
    background: var(--ink);
    transition: height 0.35s var(--ease);
    z-index: -1;
}
.nav-menu a:hover { color: var(--paper); }
.nav-menu a:hover::before { height: 100%; }

/* Active page indicator: permanent underline */
.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0.95rem; right: 0.95rem;
    bottom: 0;
    height: 2px;
    background: var(--ink);
}
.nav-menu a.active:hover::after { display: none; }

.nav-burger {
    display: none;
    width: 40px;
    height: 40px;
    color: var(--ink);
    align-items: center;
    justify-content: center;
}
.nav-burger svg { width: 22px; height: 22px; }

@media (max-width: 850px) {
    .nav { height: 60px; }
    .nav-logo img { height: 34px; }
    .nav-menu {
        position: fixed;
        top: 60px; left: 0; right: 0; bottom: 0;
        flex-direction: column;
        background: var(--paper);
        padding: 3rem 2rem;
        gap: 1.5rem;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        overflow-y: auto;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a {
        font-size: 1.4rem;
        font-family: var(--font-display);
        font-weight: 400;
        padding: 0.5rem 0;
    }
    .nav-menu a::before { display: none; }
    .nav-menu a:hover { color: var(--ink); opacity: 0.6; }
    .nav-menu a.active::after { left: 0; right: auto; width: 100%; }
    .nav-burger { display: flex; }
}

/* ============================================
   PAGE
   ============================================ */
.page {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
@media (max-width: 900px) { .page { overflow: visible; } }

.page-inner {
    flex: 1;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 3rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
@media (max-width: 900px) { .page-inner { overflow: visible; min-height: auto; } }

.page-head {
    margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
    flex-shrink: 0;
}
.page-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.page-eyebrow::before { content: ''; width: 1.5rem; height: 1px; background: var(--ink); }
.page-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.page-title em { font-style: italic; font-weight: 400; opacity: 0.55; }
.page-lead {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    font-weight: 300;
    color: var(--slate);
    max-width: 70ch;
    line-height: 1.55;
}

.page-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
@media (max-width: 900px) { .page-body { overflow: visible; } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-body);
}
.btn-primary { background: var(--accent); color: var(--ink-deep); border-color: var(--accent); }
.btn-primary:hover { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn svg { width: 14px; height: 14px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 200;
    transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================
   HOME — Photo plein écran + voile clair + texte centré
   ============================================ */
.home {
    min-height: auto;
    height: auto;
    position: relative;
    background: var(--paper);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.home-bg {
    position: absolute;
    inset: 0;
    background-image: url('buildings/hero-hoche-wide.jpg');
    background-size: cover;
    background-position: calc(50% + var(--px, 0px)) calc(50% + var(--py, 0px));
    z-index: 0;
    /* Ken Burns: zoom + slight vertical pan, 25s loop */
    animation: kenBurns 25s ease-in-out infinite alternate;
    transform-origin: center center;
    will-change: transform, background-position;
    transition: background-position 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes kenBurns {
    0% {
        transform: scale(1.0) translate(0, 0);
    }
    100% {
        transform: scale(1.10) translate(-1.5%, -1%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-bg { animation: none; }
}

/* Cascade reveals (Version B) */
.home-content.reveal-on .home-eyebrow,
.home-content.reveal-on .home-title,
.home-content.reveal-on .home-sub,
.home-content.reveal-on .home-actions,
.home-content.reveal-on .home-stats {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.8s var(--ease) forwards;
}
.home-content.reveal-on .home-eyebrow { animation-delay: 0.1s; }
.home-content.reveal-on .home-title   { animation-delay: 0.3s; }
.home-content.reveal-on .home-sub     { animation-delay: 0.5s; }
.home-content.reveal-on .home-actions { animation-delay: 0.7s; }
.home-content.reveal-on .home-stats   { animation-delay: 0.9s; }
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .home-content.reveal-on .home-eyebrow,
    .home-content.reveal-on .home-title,
    .home-content.reveal-on .home-sub,
    .home-content.reveal-on .home-actions,
    .home-content.reveal-on .home-stats {
        opacity: 1; transform: none; animation: none;
    }
}
.home-bg::before {
    /* Voile blanc/ivoire pour adoucir et donner du contraste au texte sombre */
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.78) 50%, rgba(255,255,255,0.82) 100%);
}
.home-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(1.8rem, 4vh, 3rem) clamp(1.5rem, 4vw, 3rem);
}
.home-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.home-eyebrow::before,
.home-eyebrow::after {
    content: '';
    width: 2rem;
    height: 1px;
    background: var(--ink);
    opacity: 0.6;
}
.home-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 50;
    font-weight: 300;
    color: var(--ink);
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    max-width: 18ch;
}
.home-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--ink);
    display: inline-block;
    position: relative;
    overflow: hidden;
    padding: 0 0.08em;
    margin-left: -0.08em;
}
/* Curtain reveal: a vertical bar sweeps from left to right, revealing the text */
.home-content.reveal-on .home-title em {
    color: transparent;
    animation: textReveal 0s 1.4s forwards;
}
.home-content.reveal-on .home-title em::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 0;
    width: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left center;
    animation: curtainSweep 1.1s 0.9s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes textReveal {
    to { color: var(--ink); }
}
@keyframes curtainSweep {
    0%   { transform: scaleX(0); transform-origin: left center; }
    50%  { transform: scaleX(1); transform-origin: left center; }
    51%  { transform: scaleX(1); transform-origin: right center; }
    100% { transform: scaleX(0); transform-origin: right center; }
}
@media (prefers-reduced-motion: reduce) {
    .home-content.reveal-on .home-title em { color: var(--ink); }
    .home-content.reveal-on .home-title em::before { display: none; }
}
.home-sub {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 2.5rem;
    max-width: 56ch;
}
.home-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: clamp(2.5rem, 6vh, 4rem);
}
.home-actions .btn-primary {
    background: var(--ink);
    color: var(--accent);
    border-color: var(--ink);
}
.home-actions .btn-primary:hover {
    background: var(--ink-deep);
    border-color: var(--ink-deep);
    color: var(--accent);
}
.home-actions .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.home-actions .btn-ghost:hover {
    background: var(--ink);
    color: var(--accent);
}
.home-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    border-top: 1px solid rgba(0, 67, 96, 0.2);
    padding-top: clamp(1.2rem, 2.5vh, 1.8rem);
}
.home-stat { text-align: center; }
.home-stat-num {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.home-stat-num sup { font-size: 0.55em; font-weight: 400; margin-left: 0.1em; vertical-align: super; }
.home-stat-label {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    line-height: 1.4;
}

/* Address marker (corner) */
.home-address { display: none; }

@media (max-width: 700px) {
    .home-content { padding: 2rem 1.25rem; }
    .home-stats { grid-template-columns: 1fr; gap: 1rem; }
    .home-stats { border-top: none; padding-top: 0; }
    .home-address { display: none; }
}

/* ============================================
   MÉTIERS — 2 columns
   ============================================ */
.metiers-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
}
.metier-col {
    padding: clamp(1.5rem, 2.5vh, 2.25rem) clamp(1.5rem, 2.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.metier-col + .metier-col { border-left: 1px solid var(--line); }
.metier-num {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--ink);
    opacity: 0.55;
    margin-bottom: 0.4rem;
}
.metier-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.1;
}
.metier-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--slate);
    margin-bottom: 1.25rem;
    max-width: 48ch;
}
.metier-services {
    list-style: none;
    margin-bottom: 1.25rem;
    flex: 1;
    min-height: 0;
}
.metier-services li {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--charcoal);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.metier-services li::before { content: '—'; color: var(--ink); opacity: 0.5; font-weight: 600; flex-shrink: 0; }

@media (max-width: 800px) {
    .metiers-grid { grid-template-columns: 1fr; }
    .metier-col + .metier-col { border-left: none; border-top: 1px solid var(--line); }
}

/* ============================================
   ÉQUIPE — Grid 2×2 avec bio + LinkedIn (page scrollable)
   ============================================ */
.equipe-page .page-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.equipe-page .page-inner { overflow: hidden; }
.equipe-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(0.75rem, 1.2vw, 1.25rem);
    min-height: 0;
    padding-bottom: 0;
}
.eq-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1rem, 1.6vw, 1.5rem);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    transition: border-color 0.3s var(--ease);
    overflow: hidden;
    min-height: 0;
}
.eq-card:hover { border-color: var(--ink); }
.eq-photo {
    width: 110px;
    height: 138px;
    background: var(--ivory-warm);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.eq-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.eq-card:hover .eq-photo img { transform: scale(1.04); }
.eq-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.eq-header { margin-bottom: 0.6rem; }
.eq-name {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144, "SOFT" 30;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.15rem;
}
.eq-role {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.6;
    font-weight: 600;
}
.eq-contact {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    margin-bottom: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
}
.eq-contact a:not(.eq-linkedin) {
    font-size: 0.74rem;
    color: var(--charcoal);
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.3;
}
.eq-contact a:not(.eq-linkedin):hover { color: var(--ink); }
.eq-contact svg:not(.eq-linkedin svg) { width: 11px; height: 11px; color: var(--ink); opacity: 0.6; flex-shrink: 0; }

.eq-bio {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--slate);
    overflow: hidden;
    flex: 1;
    min-height: 0;
}
.eq-bio p { margin-bottom: 0.4rem; }
.eq-bio p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
    .eq-card { grid-template-columns: 95px 1fr; gap: 0.85rem; }
    .eq-photo { width: 95px; height: 120px; }
    .eq-bio { font-size: 0.74rem; }
}
@media (max-width: 800px) {
    .equipe-grid { grid-template-columns: 1fr; grid-template-rows: none; }
}
@media (max-width: 500px) {
    .eq-card { grid-template-columns: 90px 1fr; gap: 0.75rem; padding: 1rem; }
    .eq-photo { width: 90px; height: 112px; }
}
.eq-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ink);
    color: var(--accent);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
    margin-top: 0.4rem;
    text-decoration: none;
}
.eq-linkedin:hover {
    background: var(--ink-deep);
    transform: translateY(-1px);
}
.eq-linkedin svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    flex-shrink: 0;
}

.eq-bio {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--slate);
}
.eq-bio p { margin-bottom: 0.6rem; }
.eq-bio p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
    .eq-card { grid-template-columns: 120px 1fr; gap: 1rem; }
    .eq-photo { width: 120px; height: 150px; }
}
@media (max-width: 800px) {
    .equipe-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .eq-card { grid-template-columns: 1fr; }
    .eq-photo { width: 100%; height: 280px; }
}

/* ============================================
   RÉFÉRENCES — Tabs
   ============================================ */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    flex-shrink: 0;
    overflow-x: auto;
}
.tab {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mist);
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab .tab-count { margin-left: 0.4rem; font-size: 0.7em; opacity: 0.55; font-weight: 400; }

.tab-panel { display: none; flex: 1; overflow: hidden; flex-direction: column; min-height: 0; }
.tab-panel.active { display: flex; }

/* Témoignages */
.testi-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    overflow: hidden;
    min-height: 0;
}
.testi-card {
    background: var(--ivory-warm);
    padding: clamp(1rem, 1.8vw, 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}
.testi-mark {
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 0.7;
    color: var(--ink);
    opacity: 0.25;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}
.testi-quote {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-style: italic;
    font-size: clamp(0.78rem, 0.92vw, 0.92rem);
    font-weight: 300;
    line-height: 1.5;
    color: var(--charcoal);
    flex: 1;
    overflow: hidden;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
}
.testi-author { border-top: 1px solid var(--line); padding-top: 0.55rem; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 0.82rem; color: var(--ink); font-weight: 600; margin-bottom: 0.1rem; }
.testi-author span { font-size: 0.7rem; color: var(--mist); }

@media (max-width: 800px) { .testi-grid { grid-template-columns: 1fr; grid-template-rows: none; } .testi-quote { -webkit-line-clamp: unset; } }

/* Mandats */
.mandats-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow: hidden;
    min-height: 0;
}
.mandats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.6rem, 1vw, 0.85rem);
    overflow: hidden;
    align-content: start;
}
.mandat-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.mandat-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.mandat-img {
    aspect-ratio: 4/3;
    background: var(--ivory-warm);
    overflow: hidden;
    position: relative;
}
.mandat-img img { width: 100%; height: 100%; object-fit: cover; }
.mandat-img.confidential {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mandat-img.confidential::before {
    content: 'CONFIDENTIEL';
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}
.mandat-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    font-size: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.45rem;
    background: var(--ink);
    color: var(--accent);
    border-radius: 2px;
}
.mandat-info { padding: 0.6rem 0.7rem; }
.mandat-type {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    opacity: 0.7;
    margin-bottom: 0.25rem;
}
.mandat-name {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.15rem;
    line-height: 1.2;
}
.mandat-meta { font-size: 0.68rem; color: var(--mist); line-height: 1.3; }

.bailleurs-panel {
    background: var(--ivory-warm);
    padding: clamp(1rem, 1.5vw, 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bailleurs-title {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.bailleurs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    align-content: start;
}
.bailleurs-list span {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: clamp(0.85rem, 0.95vw, 1rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.6;
}

@media (max-width: 1100px) { .mandats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .mandats-layout { grid-template-columns: 1fr; }
    .mandats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) { .mandats-grid { grid-template-columns: 1fr; } }

/* Transactions */
.tx-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: clamp(0.4rem, 0.7vw, 0.7rem);
    overflow: hidden;
    min-height: 0;
}
.tx-card { background: var(--paper); border: 1px solid var(--line); transition: border-color 0.3s; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.tx-card:hover { border-color: var(--ink); }
.tx-img { flex: 1; background: var(--ivory-warm); overflow: hidden; min-height: 0; }
.tx-img img { width: 100%; height: 100%; object-fit: cover; }
.tx-info { padding: 0.4rem 0.55rem; flex-shrink: 0; }
.tx-type { font-size: 0.5rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0.65; margin-bottom: 0.15rem; }
.tx-name { font-family: var(--font-display); font-variation-settings: "opsz" 24; font-size: 0.72rem; font-weight: 500; color: var(--ink); line-height: 1.2; margin-bottom: 0.1rem; }
.tx-meta { font-size: 0.6rem; color: var(--mist); }

@media (max-width: 1200px) { .tx-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 1fr); } }
@media (max-width: 900px) {
    .tx-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; overflow: visible; }
    .tx-img { aspect-ratio: 1; flex: none; }
}
@media (max-width: 600px) { .tx-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================
   APPORTEURS
   ============================================ */
.app-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    min-height: 0;
}
.app-pillars { display: grid; gap: 0.85rem; }
.app-pillar { padding: 1.1rem 1.4rem; background: var(--ivory-warm); border-left: 2px solid var(--ink); }
.app-pillar h4 {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.35rem;
}
.app-pillar p { font-size: 0.85rem; line-height: 1.55; color: var(--slate); margin: 0; }
.app-cta-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 42ch;
}

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

/* ============================================
   MENTIONS LÉGALES (only page that scrolls inside)
   ============================================ */
.legal-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    max-width: 780px;
}
.legal-content h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); margin: 1.5rem 0 0.5rem; font-weight: 500; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { font-size: 0.9rem; line-height: 1.65; color: var(--slate); margin-bottom: 0.75rem; }
.legal-content a { color: var(--ink); border-bottom: 1px solid var(--ink); }
/* ============================================================
   ADDITIONS — Mandats en cours (à ajouter à la fin de styles.css)
   ============================================================ */

/* Mandate line — separator bar above */
.mandat-mandate {
    margin-top: 0.55rem; padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    font-size: 0.72rem; color: var(--ink-soft, #355275);
    line-height: 1.4; font-weight: 500;
}

/* Owner block — same separator bar above */
.mandat-owner {
    margin-top: 0.55rem; padding-top: 0.55rem;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 0.1rem;
}
.mandat-owner .owner-label { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.mandat-owner .owner-name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 500; color: var(--ink); line-height: 1.2; }

/* "Photo à venir" placeholder */
.mandat-img.placeholder { background: var(--ivory-warm); display: flex; align-items: center; justify-content: center; }
.mandat-img.placeholder span { font-family: var(--font-display); font-style: italic; color: var(--mist); font-size: 0.95rem; }

/* Bullet tiles — light beige + dark blue variants */
.mandat-img.bullets { background: var(--ivory-warm); display: flex; align-items: center; justify-content: center; padding: 1.1rem 1rem; }
.mandat-img.bullets-blue {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 1.1rem 1.2rem;
}

.bullet-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 0.65rem; width: 100%;
}
.bullet-list li {
    position: relative; padding-left: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 500; line-height: 1.2;
}
.bullet-list li::before {
    content: ''; position: absolute; left: 0; top: 0.55rem;
    width: 5px; height: 5px; border-radius: 50%;
}
.mandat-img.bullets .bullet-list li { color: var(--ink); }
.mandat-img.bullets .bullet-list li::before { background: var(--ink); }
.mandat-img.bullets-blue .bullet-list li { color: var(--accent); }
.mandat-img.bullets-blue .bullet-list li::before { background: var(--accent); opacity: 0.85; }

/* Sidebar — bailleurs panel */
.mandats-aside { display: flex; flex-direction: column; gap: 1rem; }
.access-panel { background: var(--ivory-warm); padding: 1.4rem 1.2rem; display: flex; flex-direction: column; }
.access-panel-title { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; line-height: 1.5; text-align: center; }

.bailleurs-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0.6rem; align-items: center; }
.bailleur-logo { display: flex; align-items: center; justify-content: center; height: 42px; }
.bailleur-logo img { max-width: 100%; max-height: 38px; object-fit: contain; }

@media (max-width: 1000px) {
    .bailleurs-logos { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    .bailleurs-logos { grid-template-columns: repeat(2, 1fr); }
}

/* Footer ---------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.25rem clamp(1.2rem, 3vw, 2.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--ink);
    opacity: 0.65;
    letter-spacing: 0.02em;
}
.site-footer a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}
.site-footer a:hover {
    border-bottom-color: var(--ink);
}
.home-address a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.home-address a:hover {
    border-bottom-color: currentColor;
}
@media (max-width: 600px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
        font-size: 0.72rem;
    }
}

/* Legal page — scroll naturel de la page entière, pas de boîte interne */
html.legal-page,
html.legal-page body { height: auto; overflow-x: hidden; overflow-y: auto; }
.legal-page .app { height: auto; min-height: 100vh; display: flex; flex-direction: column; }
.legal-page .page { overflow: visible; height: auto; flex: 1 0 auto; }
.legal-page .page-inner { overflow: visible; height: auto; min-height: 0; }
.legal-page .page-body { overflow: visible; height: auto; min-height: 0; }
.legal-page .legal-content { overflow: visible; padding-right: 0; max-width: 820px; }

/* Transactions — refonte éditoriale */

#tx {
    padding-top: 0.3rem;
    padding-bottom: 1.5rem;
}
#tx.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
}
#tx .tx-section { margin-bottom: 0; min-width: 0; }

#tx .tx-section-head {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    margin-bottom: clamp(0.7rem, 1.2vh, 1rem);
}
#tx .tx-section-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 60;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 400;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1;
    font-style: italic;
}
#tx .tx-section-line {
    flex: 1;
    height: 1px;
    background: var(--line);
    align-self: center;
}
#tx .tx-section-count {
    font-family: 'Manrope', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--mist);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    flex-shrink: 0;
}

#tx .tx-grid-half {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: clamp(0.35rem, 0.6vw, 0.6rem);
    overflow: visible;
    flex: none;
    min-height: 0;
}

#tx .tx-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: all 0.3s var(--ease, ease);
    display: flex;
    flex-direction: column;
}
#tx .tx-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(0, 45, 66, 0.16);
}
#tx .tx-card:hover .tx-img img { transform: scale(1.04); }

#tx .tx-img {
    aspect-ratio: 4/3;
    background: var(--ivory-warm);
    overflow: hidden;
    flex: none;
    min-height: 0;
}
#tx .tx-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease, ease);
}

#tx .tx-info { padding: 0.45rem 0.55rem 0.55rem; }
#tx .tx-name {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.15rem;
}
#tx .tx-meta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.6rem;
    color: var(--mist);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

/* Sur écran plus étroit, on empile les sections verticalement */
@media (max-width: 1100px) {
    #tx.active { grid-template-columns: 1fr; gap: clamp(1.5rem, 3vh, 2.5rem); }
    #tx .tx-section { margin-bottom: clamp(1.5rem, 3vh, 2.5rem); }
    #tx .tx-section:last-child { margin-bottom: 0; }
}
@media (max-width: 700px) { #tx .tx-grid-half { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px) { #tx .tx-grid-half { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px) { #tx .tx-grid-half { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   TÉMOIGNAGES — grille 4×2 avec mise en avant des 4 phares
   ============================================================ */
#testi.active { display: block; }
#testi { padding-top: 0.3rem; padding-bottom: 1.5rem; }

#testi .testi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: clamp(0.7rem, 1.2vw, 1.1rem);
    flex: 1;
    min-height: 0;
}

#testi .testi-card {
    background: var(--paper);
    padding: clamp(1rem, 1.5vw, 1.4rem) clamp(1.1rem, 1.8vw, 1.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-top: 2px solid var(--line);
    transition: border-color 0.3s var(--ease, ease);
    overflow: hidden;
    min-height: 0;
}

#testi .testi-card.testi-highlight {
    border-top-color: var(--ink);
    background: var(--ivory-warm);
}

#testi .testi-card::before {
    content: '\201C';
    position: absolute;
    top: -0.35em;
    left: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--ink);
    opacity: 0.08;
    pointer-events: none;
}

#testi .testi-card.testi-highlight::before { opacity: 0.13; }

#testi .testi-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-variation-settings: "opsz" 16;
    font-size: clamp(0.78rem, 1vw, 0.9rem);
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 0.9rem 0;
    position: relative;
    z-index: 1;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#testi .testi-meta {
    padding-top: 0.7rem;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
}

#testi .testi-card.testi-highlight .testi-meta {
    border-top-color: rgba(0, 45, 66, 0.18);
}

#testi .testi-author {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.12rem;
}

#testi .testi-role {
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    color: var(--mist);
    line-height: 1.3;
}

#testi .testi-company {
    color: var(--ink);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    #testi .testi-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
}
@media (max-width: 850px) {
    #testi .testi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    #testi .testi-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCUEIL — Marquee logos clients
   ============================================================ */
.clients-marquee {
    padding: clamp(3rem, 6vh, 5rem) 0 clamp(3.5rem, 7vh, 5.5rem);
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow: hidden;
}
.clients-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mist);
    text-align: center;
    margin-bottom: clamp(1.2rem, 2.5vh, 1.8rem);
}
.marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    width: max-content;
    animation: scroll-clients 50s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-clients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.client-logo {
    height: clamp(28px, 4.5vh, 42px);
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.client-logo:hover {
    opacity: 0.75;
}
/* Kering : grand logo fin */
.client-logo[alt*="Kering"] {
    height: clamp(38px, 5.5vh, 54px);
}
/* Logos carrés avec fond coloré : taille uniforme + coins arrondis */
.client-logo[alt*="Neverhack"],
.client-logo[alt*="ESJ"],
.client-logo[alt*="Altom"],
.client-logo[alt*="Com"],
.client-logo[alt*="Webuild"] {
    height: clamp(36px, 5vh, 48px);
    border-radius: 6px;
}
/* Copytop */
.client-logo[alt*="Copytop"] {
    height: clamp(32px, 4.5vh, 44px);
}
/* Logos texte larges */
.client-logo[alt*="G-Star"],
.client-logo[alt*="Yards"],
.client-logo[alt*="Sésame"] {
    height: clamp(22px, 3vh, 32px);
}
/* Logos carrés divers */
.client-logo[alt*="Leveled"],
.client-logo[alt*="Icam"],
.client-logo[alt*="Steerfox"],
.client-logo[alt*="Cohen"] {
    height: clamp(34px, 5vh, 48px);
    border-radius: 4px;
}
/* YSL */
.client-logo[alt*="Yves"] {
    height: clamp(34px, 5vh, 48px);
}
/* Standards */
.client-logo[alt*="Pappers"],
.client-logo[alt*="Terabase"] {
    height: clamp(28px, 4vh, 40px);
}

/* Logos bailleurs institutionnels */
.client-logo[alt*="AEW"],
.client-logo[alt*="Groupama"],
.client-logo[alt*="BNP"] {
    height: clamp(28px, 4vh, 40px);
}
.client-logo[alt*="MAF"] {
    height: clamp(24px, 3.5vh, 36px);
}
.client-logo[alt*="Gecina"] {
    height: clamp(26px, 3.5vh, 36px);
    border-radius: 4px;
}
.client-logo[alt*="Monceau"] {
    height: clamp(34px, 5vh, 48px);
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
    .marquee { overflow-x: auto; }
}

/* ============================================================
   ACCUEIL — Section 4 piliers
   ============================================================ */
.pillars {
    background: var(--ivory-warm);
    padding: clamp(3rem, 7vh, 5.5rem) 0 clamp(3.5rem, 8vh, 6rem);
    border-top: 1px solid var(--line);
}
.pillars-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 3rem);
}
.pillars-head {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vh, 4rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.pillars-eyebrow {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.5rem;
}
.pillars-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--ink);
}
.pillars-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 144;
    font-size: clamp(1.75rem, 4vw, 2.85rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0;
}
.pillars-title em {
    font-style: italic;
    color: var(--ink);
    opacity: 0.55;
    font-weight: 300;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.pillar {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    position: relative;
}
.pillar-num {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--mist);
    margin-bottom: 1rem;
}
.pillar-title {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 48;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 400;
    color: var(--ink);
    margin: 0 0 0.85rem 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.pillar-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--slate);
    margin: 0;
    font-weight: 400;
}
@media (max-width: 1000px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
    .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-variation-settings: "opsz" 24;
    font-style: italic;
    font-size: 0.78rem;
    color: var(--slate);
}
.site-footer a {
    color: var(--slate);
    text-decoration: none;
    opacity: 0.7;
}
.site-footer a:hover { opacity: 1; }
