/* ════════════════════════════════════════════════════════════════
   SCHILLER INGÉNIERIE PATRIMONIALE — DESIGN SYSTEM v2
   Direction : Minimalisme exagéré / éditorial architectural
   Encre noire · Papier chaud · Or du logo (#F0A800)
   Typo : Cinzel (capitales romaines) + Josefin Sans
   ════════════════════════════════════════════════════════════════ */

:root {
    /* Papier & encre */
    --paper:        #fcfbf8;
    --paper-2:      #f4f1ea;
    --ink:          #0e0d0b;
    --ink-2:        #17150f;

    /* Or du logo — vif, utilisé en accent tranchant */
    --gold:         #f0a800;
    --gold-light:   #ffc53d;
    --gold-text:    #916600;              /* or lisible sur papier — AA sur paper (4.9) et paper-2 (4.55) */
    --gold-glow:    rgba(240,168,0,0.09);
    --gold-border:  rgba(240,168,0,0.4);

    /* Alias legacy (pages internes) */
    --bg-primary:   var(--paper);
    --bg-secondary: var(--paper-2);
    --bg-card:      #ffffff;
    --bg-card-hover:#faf7f0;
    --bg-dark:      var(--ink);
    --bg-dark-2:    var(--ink-2);
    --gold-dark:    var(--gold-text);

    --text-primary:   #0e0d0b;
    --text-secondary: #4a463f;
    --text-muted:     #716d64;   /* AA sur papier (5.0) et sur paper-2 (4.59) — mesuré */

    --text-on-dark:        #f7f5ef;
    --text-on-dark-muted:  #b5b0a4;
    --text-on-dark-faint:  #7f7a6f;  /* AA sur encre (4.57) — mesuré */

    --border:       rgba(14,13,11,0.12);
    --border-strong:rgba(14,13,11,0.85);
    --border-hover: rgba(240,168,0,0.6);
    --hairline-dark:rgba(252,251,248,0.16);

    --font-serif:   'Lora', Georgia, serif;
    --font-sans:    'Jost', -apple-system, 'Segoe UI', sans-serif;

    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --spring:       cubic-bezier(0.16, 1, 0.3, 1);

    /* Éditorial raffiné : angles légèrement adoucis, pas brutalistes */
    --radius:       3px;
    --radius-lg:    5px;
    --nav-h:        84px;

    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
    --shadow-gold: none;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* clip ≠ hidden : pas de containing block pour position:fixed */
    overflow-x: clip;
}
body {
    font-family: var(--font-sans);
    font-weight: 400;
    /* Maillage de dégradés discrets — le papier n'est plus un aplat plat */
    background:
        radial-gradient(ellipse 55% 40% at 8% 0%, rgba(240,168,0,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 45% 50% at 100% 18%, rgba(20,50,60,0.04) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 15% 100%, rgba(240,168,0,0.035) 0%, transparent 60%),
        var(--paper);
    color: var(--text-primary);
    line-height: 1.65;
    /* clip, pas hidden : "hidden" force overflow-y en "auto" (quirk CSS
       overflow-x/y visible↔non-visible), ce qui casse position:sticky
       (ex. section "Notre méthode"). clip est exempté de cette règle. */
    overflow-x: clip;
    width: 100%;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
/* Grain fin, pleine page — texture papier, imperceptible mais présente */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9990;
    opacity: 0.022;
    mix-blend-mode: multiply;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

/* ── FOCUS CLAVIER — anneau doré cohérent avec la charte, partout où
   le navigateur afficherait sinon son anneau bleu par défaut ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}
.form-input:focus-visible, .form-textarea:focus-visible, .form-select:focus-visible {
    outline: none; /* déjà signalé par le soulignement doré */
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); }

/* ── TYPOGRAPHIE — élégante, casse mixte, respiration ── */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: none;
    text-wrap: balance;
    color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.8rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.05rem, 1.9vw, 1.4rem); line-height: 1.4; font-weight: 600; }
h4 {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
p { line-height: 1.85; color: var(--text-secondary); font-size: 1rem; max-width: 68ch; }
em { color: var(--gold-text); font-style: italic; }
/* Grands titres : l'or exact du logo (#F0A800), pas la teinte assombrie
   utilisée ailleurs pour l'accessibilité du petit texte */
h1 em, h2 em { color: var(--gold); font-style: italic; font-weight: 700; }
strong { font-weight: 600; color: var(--text-primary); }

.gold-text { color: var(--gold-text); }

/* Eyebrow — tiret or + petites capitales (plus de pilule) */
.label-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 28px;
    max-width: 100%;
}
.label-tag::before {
    content: '';
    width: 40px; height: 2px;
    background: var(--gold);
    flex-shrink: 0;
}

/* ── PROGRESS BAR (main.js) ── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--gold);
    z-index: 9500;
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR — barre éditoriale, filet bas, capitales espacées
   ════════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 9100;
    /* Teinte volontairement différente du hero (paper-2, pas paper) +
       filet marqué + ombre : la barre doit se détacher du contenu,
       pas s'y fondre, même en haut de page sur fond clair. */
    background: rgba(244,241,234,0.88);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 4px 24px rgba(14,13,11,0.06);
    transition: height 0.45s var(--spring), background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    height: 64px;
    background: rgba(244,241,234,0.97);
    box-shadow: 0 8px 28px rgba(14,13,11,0.1);
}
.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    padding: 0 clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img {
    height: 52px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    transition: height 0.45s var(--spring);
}
.navbar.scrolled .logo-img { height: 40px; }
.footer .logo-img { height: 52px; }
/* Logo footer sur fond encre : plaque claire pour préserver les couleurs
   exactes du logo (or de marque compris) — plus fiable qu'un filtre CSS
   approximatif qui déforme la teinte. */
.footer-logo-plate {
    display: inline-block;
    background: var(--paper);
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.footer-logo-img {
    height: 46px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}
.logo-text-fallback { display: flex; flex-direction: column; }
.logo-main {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-primary);
    line-height: 1;
}
.logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-text);
    line-height: 1;
    margin-top: 5px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: inline-block;
    padding: 10px 15px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 15px; right: 15px; bottom: 4px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--spring);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* CTA nav — bloc encre, balayage or */
.btn-nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 16px;
    padding: 14px 26px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--paper);
    background: var(--ink);
    overflow: hidden;
    white-space: nowrap;
    transition: color 0.35s;
}
.btn-nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--spring);
    z-index: 0;
}
.btn-nav-cta:hover::before { transform: scaleX(1); }
.btn-nav-cta:hover { color: var(--ink); }
.btn-nav-cta > * { position: relative; z-index: 1; }

/* ── DROPDOWN ── */
.nav-has-dropdown { position: relative; }
@media (min-width: 769px) {
    .nav-has-dropdown::after {
        content: '';
        position: absolute;
        top: 100%; left: -10px; right: -10px;
        height: 16px;
        background: transparent;
    }
}
.nav-has-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 320px;
    background: var(--paper);
    border: 1px solid var(--border-strong);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--spring), transform 0.3s var(--spring), visibility 0.3s;
    z-index: 9200;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.touch-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    transition: background 0.25s, padding-left 0.25s;
}
.nav-dropdown-item:hover { background: var(--gold-glow); padding-left: 30px; }
.nav-dd-icon {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border);
    color: var(--gold-text);
    flex-shrink: 0;
}
.nav-dropdown-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}
.nav-dropdown-item em {
    display: block;
    font-size: 0.7rem;
    font-style: normal;
    color: var(--text-muted);
    margin-top: 2px;
}
.nav-dropdown-footer {
    margin-top: 8px;
    padding: 14px 24px 8px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.nav-dropdown-footer a {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-text);
    padding: 4px 0;
}
.nav-dropdown-footer a:hover { color: var(--ink); }

/* Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 10px;
    z-index: 9300;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--ink);
    transition: transform 0.35s var(--spring), opacity 0.3s;
}

/* ════════════════════════════════════════════════════════════════
   HERO — éditorial, aligné à gauche, typo monumentale
   ════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 72px) 0;
    background: var(--paper);
    overflow: hidden;
}
/* Cannelures de colonne — motif architectural or, pur CSS */
/* Visuel hero — illustration architecturale réelle, lueur, parallax JS */
.hero-visual {
    position: absolute;
    top: 6%; right: clamp(0px, 2vw, 40px);
    width: clamp(280px, 32vw, 460px);
    height: 88%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 8%, black 90%, transparent);
}
.hero-visual-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 460px; height: 460px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(240,168,0,0.18) 0%, transparent 68%);
    animation: heroGlowPulse 6s ease-in-out infinite;
    z-index: 0;
}
@keyframes heroGlowPulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}
/* Photographie éditoriale — duoton encre/or, plus classe que l'illustration au trait */
.editorial-photo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.08) brightness(0.92) sepia(0.35) saturate(2.4) hue-rotate(-8deg);
    box-shadow: 0 24px 60px rgba(14,13,11,0.22);
}
.hero-visual .editorial-photo { border-radius: var(--radius); }
.column-art { display: none; }
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}
/* Réserve une colonne pour le visuel hero (desktop) afin que le texte
   ne passe jamais sous la photo, quelle que soit la largeur */
@media (min-width: 769px) {
    .hero-inner {
        padding-right: clamp(280px, 32vw, 460px);
        box-sizing: border-box;
    }
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: clamp(28px, 4vh, 48px);
}
.hero-eyebrow::before {
    content: '';
    width: 56px; height: 2px;
    background: var(--gold);
}
.hero-title {
    max-width: 1100px;
    margin-bottom: clamp(28px, 4vh, 44px);
    color: var(--ink);
    /* marge de sécurité : l'italique déborde optiquement de sa boîte */
    padding-right: 0.5em;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner { display: block; }
.hero-title em { color: var(--gold); font-style: italic; font-weight: 600; }
.hero-subtitle {
    font-size: clamp(0.98rem, 1.6vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: clamp(36px, 5vh, 56px);
    font-weight: 300;
    line-height: 1.85;
    border-left: 1px solid var(--border-strong);
    padding-left: 24px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}
/* Bandeau bas de hero : filet + mention défiler */
.hero-foot {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: clamp(40px, 8vh, 90px) auto 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid var(--border-strong);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
    box-sizing: border-box;
}
@media (min-width: 769px) {
    /* width (pas padding) : le trait border-top doit réellement s'arrêter
       avant la colonne image, pas seulement le contenu.
       margin-left reproduit exactement le décalage de .hero-inner
       (centré, max-width 1440px) pour rester aligné avec le titre au-dessus. */
    .hero-foot {
        margin-left: max(0px, calc((100% - 1440px) / 2));
        width: calc(min(1440px, 100%) - clamp(280px, 32vw, 460px));
    }
}
.hero-foot .scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.hero-foot .scroll-cue::after {
    content: '';
    width: 40px; height: 1px;
    background: var(--gold);
    animation: cueSlide 2.2s var(--ease) infinite;
}
@keyframes cueSlide {
    0%   { transform: scaleX(0); transform-origin: left; }
    45%  { transform: scaleX(1); transform-origin: left; }
    55%  { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* ════════════════════════════════════════════════════════════════
   BOUTONS — blocs éditoriaux à angles vifs
   ════════════════════════════════════════════════════════════════ */
.btn-primary, .btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
}
.btn-primary {
    color: var(--paper);
    background: var(--ink);
    border: 1px solid var(--ink);
    transition: color 0.35s;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform 0.5s var(--spring);
    z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { color: var(--ink); }
.btn-primary > *, .btn-primary { z-index: auto; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-outline {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--border-strong);
    transition: border-color 0.35s, color 0.35s, background 0.35s;
}
.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-glow);
    color: var(--gold-text);
}
/* Le texte des boutons doit rester au-dessus du balayage */
.btn-primary { isolation: isolate; }
.btn-primary::before { z-index: -1; }

/* ════════════════════════════════════════════════════════════════
   SECTIONS — rythme éditorial, filets structurants
   ════════════════════════════════════════════════════════════════ */
.section {
    padding: clamp(90px, 12vw, 160px) clamp(20px, 5vw, 72px);
    max-width: 1440px;
    margin: 0 auto;
}
.section-wide { padding: clamp(90px, 12vw, 160px) clamp(20px, 5vw, 72px); }
.section-header { max-width: 780px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-header h2 { margin: 4px 0 20px; }
.section-header p { font-size: 1rem; max-width: 560px; }
/* Centrage optionnel conservé pour pages internes */
.section-header.centered, .page-hero .section-header { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.centered p, .page-hero .section-header p,
.section-header.centered .divider, .page-hero .section-header .divider { margin-left: auto; margin-right: auto; }

.divider {
    width: 72px; height: 2px;
    background: var(--gold);
    margin: 26px 0;
}
.divider-left { margin: 26px 0; }
.section-header.centered .divider { margin-left: auto; margin-right: auto; }

/* Section encre (CTA, footer) */
.section-dark {
    --text-primary:   var(--text-on-dark);
    --text-secondary: var(--text-on-dark-muted);
    --text-muted:     var(--text-on-dark-faint);
    --bg-card:        var(--ink-2);
    --bg-card-hover:  #1f1c14;
    --border:         var(--hairline-dark);
    color: var(--text-on-dark);
    background: var(--ink);
    position: relative;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-dark .label-tag { color: var(--text-on-dark); }
.section-dark .btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}
.section-dark .btn-primary::before { background: var(--paper); }
.section-dark .btn-outline { color: var(--text-on-dark); border-color: var(--hairline-dark); }
.section-dark .btn-outline:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ════════════════════════════════════════════════════════════════
   STATS — bande filetée, chiffres monumentaux Cinzel
   ════════════════════════════════════════════════════════════════ */
.stats-band {
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
    /* paper-2 (pas paper) : le hero juste au-dessus est déjà en paper —
       deux tons identiques qui se suivent se fondaient l'un dans l'autre */
    background:
        radial-gradient(ellipse 50% 120% at 0% 50%, rgba(240,168,0,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 120% at 100% 50%, rgba(240,168,0,0.06) 0%, transparent 60%),
        var(--paper-2);
    width: 100%;
    overflow: hidden;
}
.stats-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    padding: clamp(38px, 5.5vw, 76px) clamp(16px, 2.5vw, 40px);
    min-width: 0;
    overflow: hidden;
    transition: background 0.35s;
    position: relative;
}
/* Séparateur en dégradé : il s'efface en haut et en bas au lieu de
   trancher la bande sur toute sa hauteur — le filet respire. */
.stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 22%, var(--border) 78%, transparent);
}
.stat-item:first-child::before { display: none; }
/* Filet or qui se dessine au survol, ancré à gauche comme la colonne */
.stat-item::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 0;
    background: var(--gold);
    transition: width 0.55s var(--spring);
}
.stat-item:hover::after { width: 100%; }
.stat-item:hover { background: var(--gold-glow); }
.stat-item:hover .stat-number { transform: translateY(-2px); }
.stat-number {
    font-family: var(--font-serif);
    /* Taille fixe et volontairement prudente : à 4.6rem, un chiffre long
       ("2 500 000 €") débordait de sa colonne sur un écran large. Plafond
       bas, sans dépendance à un ajustement JS (source de bugs liés au
       chargement des polices / à l'état laissé par un ajustement précédent). */
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    white-space: nowrap;
    display: inline-block;
    transition: transform 0.4s var(--spring);
    font-variant-numeric: tabular-nums;
}
/* Le suffixe fait partie de la donnée lue (€, %, +) : il lui faut un or
   qui tient le contraste sur fond clair, pas l'or vif décoratif. */
.stat-number sup, .stat-number .suffix { color: var(--gold-text); }
/* Index éditorial : rappelle la numérotation des expertises et donne
   un point d'entrée à l'œil avant le chiffre. */
.stat-index {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.72rem;
    font-style: italic;
    color: var(--gold-text);
    opacity: .75;
    margin-bottom: 10px;
    letter-spacing: .04em;
}
.stat-label {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
    overflow-wrap: break-word;
}

/* ════════════════════════════════════════════════════════════════
   BANDEAU MARQUEE — défilement typographique encre
   ════════════════════════════════════════════════════════════════ */
.word-band {
    /* Clair, pas encre : évite un bloc noir collé à Process/Visual-band
       (déjà sombres) — sert de fin liseré de transition, pas un aplat
       supplémentaire de la même teinte. */
    background: var(--paper-2);
    padding: 26px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}
.word-band-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: marqueeX 36s linear infinite;
}
.word-band:hover .word-band-track { animation-play-state: paused; }
.word-band-item {
    font-family: var(--font-serif);
    /* Lettres creuses (outline) — un mot sur deux plein encre :
       rythme éditorial, taille contenue pour rester un bandeau */
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(14,13,11,0.55);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.word-band-item:nth-child(odd) {
    color: var(--ink);
    -webkit-text-stroke: 0;
}
.word-band-item:hover {
    color: var(--gold);
    -webkit-text-stroke-color: var(--gold);
}
.word-band-item::after {
    content: '✦';
    color: var(--gold);
    font-size: 0.8em;
    margin: 0 clamp(20px, 3vw, 44px);
}
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════════════
   NOTRE MÉTHODE — 5 points, scroll-pinné, cercle qui se remplit
   au fil de la progression (accordéon CSS grid-rows, sans JS lourd)
   ════════════════════════════════════════════════════════════════ */
.process-section {
    position: relative;
    /* Course de scroll par étape : assez pour que la transition se lise,
       pas un écran entier. À 92svh la section pesait un tiers de la page
       (3300px) pour 150 mots ; à 52svh l'effet est identique, plus vif. */
    height: calc(var(--process-steps, 5) * 52svh);
    background: var(--ink);
    border-top: 1px solid rgba(240,168,0,0.35);
}
.process-wrapper {
    position: sticky;
    top: 0;
    height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.process-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--ink);
}
/* Photo géante — surdimensionnée pour pouvoir se déplacer (parallax JS)
   sans jamais laisser apparaître un bord pendant les 5 points */
.process-bg-photo {
    /* Surdimensionnée : le budget de débord est piloté par le JS
       (transform translate/scale) pour créer le mouvement continu. */
    position: absolute;
    top: 0; left: 0;
    width: 165%; height: 150%;
    max-width: none;
    object-fit: cover;
    filter: grayscale(1) contrast(1.12) brightness(0.55) sepia(0.32) saturate(2) hue-rotate(-8deg);
    will-change: transform;
    /* le JS pilote transform ; cette transition lisse les sauts de caméra */
    transition: transform 0.15s linear;
}
.process-bg::after {
    /* Assombrissement + halos or — garantit la lisibilité du texte
       quelle que soit la position de la photo derrière */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 85% 20%, rgba(240,168,0,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 55% 60% at 10% 85%, rgba(240,168,0,0.07) 0%, transparent 60%),
        linear-gradient(100deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.62) 45%, rgba(11,13,16,0.22) 100%);
}
.process-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: center;
}
.process-eyebrow { color: var(--text-on-dark); margin-bottom: 0; }
.process-eyebrow::before { background: var(--gold); }
.process-heading {
    color: var(--text-on-dark);
    margin-bottom: clamp(20px, 3vw, 32px);
}
.process-lead { color: var(--text-on-dark-muted); max-width: 420px; }

.process-steps { display: flex; flex-direction: column; }
.process-step {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hairline-dark);
}
.process-step:last-child { border-bottom: 1px solid var(--hairline-dark); }
.process-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(14px, 2vw, 20px) 0;
}
.process-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    flex-shrink: 0;
    border: 1px solid var(--hairline-dark);
    border-radius: 50%;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-on-dark-faint);
    overflow: hidden;
}
.process-number span { position: relative; z-index: 1; transition: color 0.4s; }
.process-number::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gold);
    transform: scale(0);
    transition: transform 0.5s var(--spring);
}
.process-step--active .process-number::before { transform: scale(1); }
.process-step--active .process-number span { color: var(--ink); }
.process-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    color: var(--text-on-dark-faint);
    transition: color 0.4s;
}
.process-step--active .process-title { color: var(--text-on-dark); }

.process-body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.55s var(--spring);
}
.process-step--active .process-body { grid-template-rows: 1fr; }
.process-body-inner { min-height: 0; overflow: hidden; display: flex; gap: 16px; padding-left: 62px; }
.process-track {
    width: 2px;
    flex-shrink: 0;
    background: var(--hairline-dark);
    position: relative;
    overflow: hidden;
}
.process-track-fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.1s linear;
}
.process-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-on-dark-muted);
    max-width: 480px;
    padding: 2px 0 clamp(16px, 2.5vw, 26px);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.45s var(--spring) 0.1s, transform 0.45s var(--spring) 0.1s;
}
.process-step--active .process-desc { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .process-inner { grid-template-columns: 1fr; }
    .process-lead { max-width: none; }
}
@media (max-width: 640px) {
    .process-section { height: calc(var(--process-steps, 5) * 46svh); }
    .process-title { font-size: 1rem; }
    .process-body-inner { padding-left: 0; }
    .process-track { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   EXPERTISES — liste éditoriale numérotée (accueil)
   ════════════════════════════════════════════════════════════════ */
.expertise-list { border-top: 1px solid var(--border-strong); }
.expertise-row {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1.1fr 1.6fr 72px;
    gap: clamp(16px, 3vw, 48px);
    align-items: center;
    padding: clamp(30px, 4vw, 52px) 8px;
    border-bottom: 1px solid var(--border-strong);
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: box-shadow 0.5s var(--spring);
}
/* Balayage encre au survol */
.expertise-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--spring);
    z-index: -1;
}
.expertise-row:hover::before { transform: scaleY(1); }
.expertise-row:hover {
    box-shadow: 0 24px 60px -20px rgba(14,13,11,0.35);
}
.expertise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--border-strong);
    color: var(--gold-text);
    margin-bottom: 16px;
    transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.5s var(--spring);
}
.expertise-row:hover .expertise-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    transform: scale(1.08) rotate(-4deg);
}
.expertise-num {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    font-style: italic;
    color: var(--gold);
    line-height: 1;
    transition: color 0.35s;
}
.expertise-head h3 {
    font-size: clamp(1.4rem, 2.6vw, 2.3rem);
    letter-spacing: -0.015em;
    color: var(--ink);
    transition: color 0.35s;
}
.expertise-tag {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 10px;
    transition: color 0.35s;
}
.expertise-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    transition: color 0.35s;
    max-width: 560px;
}
.expertise-feats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}
.expertise-feats span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.35s;
}
.expertise-feats span::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--gold);
    flex-shrink: 0;
}
.expertise-arrow {
    width: 56px; height: 56px;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 1.2rem;
    transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.5s var(--spring);
}
/* Inversion au survol */
.expertise-row:hover .expertise-num  { color: var(--gold); }
.expertise-row:hover .expertise-head h3,
.expertise-row:hover .expertise-body p { color: var(--paper); }
.expertise-row:hover .expertise-tag  { color: var(--gold); }
.expertise-row:hover .expertise-feats span { color: var(--text-on-dark-muted); }
.expertise-row:hover .expertise-arrow {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    transform: rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════════
   ABOUT — split asymétrique, cadre fileté
   ════════════════════════════════════════════════════════════════ */
.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(48px, 7vw, 110px);
    align-items: start;
}
.about-visual { position: relative; }
.about-card-main {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    box-shadow: 0 32px 64px -28px rgba(14,13,11,0.28);
    padding: clamp(36px, 4vw, 56px);
    padding-top: 44px;
    position: relative;
    margin-top: 18px;
}
/* Coin or — signature graphique */
.about-card-main::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 46px; height: 46px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.about-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--paper);
    padding: 7px 22px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}
.about-portrait-mark {
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 6vw, 5.5rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
    margin-bottom: 20px;
}

/* Cadre visuel au-dessus de la carte À propos — illustration + monogramme */
.about-frame {
    position: relative;
    height: clamp(220px, 28vw, 340px);
    background: var(--ink);
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}
.about-frame .editorial-photo { filter: grayscale(1) contrast(1.1) brightness(0.62) sepia(0.4) saturate(2.2) hue-rotate(-8deg); }
.about-frame::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14,13,11,0.15) 0%, rgba(14,13,11,0.55) 100%);
}
.about-frame-mono {
    position: absolute;
    right: clamp(16px, 3vw, 32px);
    bottom: 14px;
    z-index: 1;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    color: var(--gold-light);
}

/* ── VISUAL BAND — bannière photographique plein cadre + citation ── */
.visual-band {
    position: relative;
    background: var(--ink);
    min-height: clamp(320px, 42vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid var(--hairline-dark);
    border-bottom: 1px solid var(--hairline-dark);
}
.visual-band-art {
    position: absolute;
    inset: 0;
    will-change: transform;
}
.visual-band-art .editorial-photo {
    filter: grayscale(1) contrast(1.05) brightness(0.5) sepia(0.35) saturate(2) hue-rotate(-8deg);
    transform: scale(1.15);
}
.visual-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 46% 50% at 50% 50%, rgba(11,13,16,0.72) 0%, transparent 72%),
        radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, var(--ink) 85%);
}
.visual-band-quote {
    position: relative;
    z-index: 2;
    max-width: 760px;
    text-align: center;
    padding: 0 24px;
    color: var(--gold);
}
.visual-band-quote p {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    line-height: 1.42;
    color: var(--text-on-dark);
    margin: 22px 0 22px;
    text-transform: none;
    letter-spacing: 0.01em;
}
.visual-band-quote span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── CTA — photo de fond en duoton encre, plus classe qu'un aplat plat ── */
.cta-photo { overflow: hidden; }
.cta-photo-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    filter: grayscale(1) contrast(1.06) brightness(0.72) sepia(0.35) saturate(2.2) hue-rotate(-8deg);
    border-radius: 0;
    box-shadow: none;
}
.cta-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 55% 60% at 50% 42%, rgba(240,168,0,0.14) 0%, transparent 65%),
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(11,13,16,0.5) 0%, rgba(11,13,16,0.2) 70%, transparent 100%),
        linear-gradient(180deg, rgba(11,13,16,0.35) 0%, rgba(11,13,16,0.6) 100%);
}
.about-orias {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}
.orias-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}
.orias-dot {
    width: 6px; height: 6px;
    background: var(--gold);
    flex-shrink: 0;
}
.about-content .section-header { margin-bottom: 36px; }
.about-content p { margin-bottom: 18px; }
.about-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.cred-pill {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--border);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.cred-pill:hover, .cred-pill.active-cat {
    border-color: var(--gold);
    color: var(--gold-text);
    background: var(--gold-glow);
}

/* ════════════════════════════════════════════════════════════════
   PARTENAIRES — marquee typographique nu
   ════════════════════════════════════════════════════════════════ */
.partners-section {
    /* paper (pas paper-2) : la section "À propos" juste avant utilise déjà
       paper-2 — deux tons identiques qui se suivent se fondaient l'un
       dans l'autre. */
    background:
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(240,168,0,0.06) 0%, transparent 55%),
        var(--paper);
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}
.partners-track-wrapper {
    overflow: hidden;
    max-width: 100%;
    /* Un marquee infini coupe forcément ses logos aux bords : le fondu est
       là pour que la coupure se lise comme une disparition et non comme un
       défaut. Ne pas le réduire — un fondu court rend la coupe franche. */
    -webkit-mask: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.partners-track {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
    animation: marqueeX 42s linear infinite;
    width: max-content;
    padding: 10px 0;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
    flex-shrink: 0;
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.7vw, 1.35rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s;
}
.partner-item:hover { color: var(--ink); }
/* Logo réel (Clearbit) devant le nom — niveaux de gris, couleur au survol */
.partner-item { display: inline-flex; align-items: center; gap: 16px; }
.partner-logo {
    height: 36px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.72;
    transition: filter 0.35s, opacity 0.35s;
}
.partner-item:hover .partner-logo { filter: none; opacity: 1; }

/* ════════════════════════════════════════════════════════════════
   FOOTER — encre, wordmark monumental
   ════════════════════════════════════════════════════════════════ */
.footer {
    padding: 0 clamp(20px, 5vw, 72px) 40px;
    position: relative;
    overflow: hidden;
    /* Seam net avec la CTA juste au-dessus — même s'il s'agit aussi
       d'une section sombre, ce filet or marque une limite sans équivoque */
    border-top: 1px solid rgba(240,168,0,0.35);
    box-shadow: 0 -1px 0 rgba(0,0,0,0.4);
    /* Noir plus élaboré : dégradé encre/pétrole + halo doré discret,
       au lieu d'un aplat uni comme la section CTA */
    background:
        radial-gradient(ellipse 60% 50% at 85% 0%, rgba(240,168,0,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 10% 100%, rgba(20,50,60,0.35) 0%, transparent 65%),
        linear-gradient(155deg, #0c0e11 0%, var(--ink) 45%, #14110d 100%);
}
.footer::before {
    /* Grain fin — texture tactile, façon papier/métal brossé */
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.footer-inner { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; }
.footer-wordmark {
    display: none;
}
.footer-wordmark em { color: var(--gold); font-style: italic; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    padding: clamp(40px, 5vw, 64px) 0;
}
.footer-brand .logo-main { font-size: 1.5rem; color: var(--text-on-dark); }
.footer-brand .logo-sub { color: var(--gold); }
.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
    margin-top: 18px;
    line-height: 1.75;
    max-width: 320px;
}
.footer-orias {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--hairline-dark);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 22px;
}
.footer-col h4 {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 22px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
    transition: color 0.25s, padding-left 0.25s;
}
.footer-link:hover { color: var(--gold); padding-left: 6px; }
.footer-der-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 18px;
    border: 1px solid var(--gold);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}
.footer-der-btn:hover { background: var(--gold); color: var(--ink); }
.footer-contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
    margin-bottom: 14px;
    transition: color 0.25s;
}
.footer-contact-line:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--hairline-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-on-dark-faint); }
.footer-legal-links { display: flex; gap: 26px; }
.footer-legal-link {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark-faint);
    transition: color 0.25s;
}
.footer-legal-link:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════════════════
   PAGES INTERNES — héros de page
   ════════════════════════════════════════════════════════════════ */
.page-hero, .svc-hero {
    padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) clamp(20px, 5vw, 72px) clamp(48px, 7vw, 90px);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-strong);
    background: var(--paper);
}
.page-hero { text-align: left; }
.page-hero::before, .svc-hero::before {
    content: '';
    position: absolute;
    top: 0; right: clamp(10px, 4vw, 64px);
    width: clamp(60px, 9vw, 140px);
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(240,168,0,0.4) 12px 13px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 40%, black 85%, transparent);
    pointer-events: none;
}
/* Même motif de cannelures, réutilisé en accent discret sur les bandeaux
   CTA de fin de page (sans photo) pour éviter un fond trop uni */
.cta-fluted-accent {
    position: absolute;
    top: 0; left: clamp(-20px, -2vw, 0px);
    width: clamp(70px, 10vw, 160px);
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(240,168,0,0.28) 12px 13px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 35%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 35%, black 90%, transparent);
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 768px) { .cta-fluted-accent { display: none; } }
.page-hero > *, .svc-hero-inner { position: relative; z-index: 1; max-width: 1440px; margin-left: auto; margin-right: auto; }
.page-hero h1, .svc-h1 { font-size: clamp(2rem, 5.5vw, 4.4rem); margin: 14px 0 20px; }
.page-hero p, .svc-hero-sub {
    max-width: 560px;
    font-size: 1rem;
    margin: 0;
}
.svc-hero-sub { margin-top: 8px; }
.svc-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

/* Photo éditoriale en tête de page interne — remplace le motif de
   cannelures CSS quand une vraie image est fournie */
.page-hero.has-photo::before, .svc-hero.has-photo::before { display: none; }
.page-hero-photo {
    position: absolute;
    top: 8%; right: clamp(0px, 2vw, 40px);
    width: clamp(220px, 26vw, 380px);
    height: 84%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.page-hero-photo .editorial-photo { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(14,13,11,0.22); }
@media (min-width: 769px) {
    /* Anti-chevauchement : le texte reste ancré à gauche, sans dépasser
       sous la photo (même bug/fix que le bandeau bas de la hero d'accueil) */
    .page-hero.has-photo > *:not(.page-hero-photo),
    .svc-hero.has-photo .svc-hero-inner {
        max-width: min(1440px, calc(100% - clamp(220px, 26vw, 380px) - 40px));
        margin-left: 0;
        margin-right: auto;
    }
}
@media (max-width: 768px) {
    .page-hero-photo { display: none; }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--gold-text); }
.bc-sep { color: var(--gold); }

/* ── SERVICES (pages internes, cartes filetées) ── */
.services-grid, .services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid var(--border-strong);
}
.service-card {
    background: var(--paper);
    border: none;
    outline: 1px solid var(--border);
    padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    transition: background 0.4s, box-shadow 0.4s var(--spring), transform 0.4s var(--spring);
}
.service-card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 28px 56px -24px rgba(14,13,11,0.24);
    transform: translateY(-3px);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 34px; height: 34px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
    opacity: 0;
    transition: opacity 0.35s;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px; height: 52px;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 26px;
    color: var(--gold-text);
    transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.service-card:hover .service-icon {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}
.service-card h3 { margin-bottom: 8px; color: var(--ink); }
.service-tag {
    display: inline-block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 14px;
}
.service-card p { font-size: 0.9rem; margin-bottom: 22px; }
.service-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.service-feature::before {
    content: '';
    width: 14px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    transition: gap 0.3s, color 0.3s;
}
.service-link:hover { gap: 16px; color: var(--gold-text); }

/* Un service par rangée, pleine largeur : la carte credentials à côté
   du contenu, en alternance gauche/droite d'une rangée à l'autre */
.services-detail-grid { grid-template-columns: 1fr; }
.service-detail {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    padding: clamp(48px, 6vw, 90px) clamp(24px, 4vw, 64px);
    border-bottom: 1px solid var(--border-strong);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-visual { order: 2; }
.service-detail-visual { border: 1px solid var(--border-strong); padding: clamp(32px, 4vw, 56px); position: relative; background: var(--bg-card); }
.service-detail-visual::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 34px; height: 34px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.service-big-icon { display: inline-flex; color: var(--gold-text); margin-bottom: 20px; }
.service-orias { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--text-muted); }

/* Blocs service (template) */
.svc-block { padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px); max-width: 1440px; margin: 0 auto; }
.svc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.svc-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.svc-intro-h2 { margin-bottom: 22px; }
.svc-intro-text p { margin-bottom: 16px; }
.svc-reg-card, .svc-tarif-card, .sidebar-card {
    background: var(--paper);
    border: 1px solid var(--border-strong);
    padding: clamp(26px, 3vw, 40px);
    position: relative;
}
.svc-reg-card::before, .sidebar-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 30px; height: 30px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.svc-reg-title {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 18px;
}
.svc-reg-guarantee { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.svc-guarantee-amount { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink); }
.svc-guarantee-label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.svc-reg-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; }

/* ── TABLEAU PARTENAIRES ── */
.partners-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border-strong);
    font-size: 0.88rem;
}
.partners-table th {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: left;
    color: var(--paper);
    background: var(--ink);
    padding: 16px 20px;
}
.partners-table td {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}
.partners-table tr:hover td { background: var(--gold-glow); }

/* ── FEATURES LIST (qui-sommes-nous) ── */
.features-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; font-size: 0.92rem; color: var(--text-secondary); }
.feature-check {
    width: 20px; height: 20px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-text);
    font-size: 0.7rem;
    margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   ACTUALITÉS
   ════════════════════════════════════════════════════════════════ */
.actu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border-strong); }
.actu-card {
    background: var(--paper);
    outline: 1px solid var(--border);
    padding: clamp(26px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.35s, box-shadow 0.4s var(--spring), transform 0.4s var(--spring);
    position: relative;
}
.actu-card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 24px 48px -22px rgba(14,13,11,0.22);
    transform: translateY(-3px);
    z-index: 1;
}
.actu-card-cat, .actu-cat, .sidebar-post-cat {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.actu-card-title { font-size: 1.05rem; line-height: 1.3; color: var(--ink); }
.actu-card-excerpt { font-size: 0.86rem; }
.actu-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.actu-date { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-muted); }
.actu-read-more {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    transition: color 0.25s;
}
.actu-read-more:hover { color: var(--gold-text); }
.actu-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border-strong);
    margin-bottom: clamp(40px, 5vw, 64px);
    position: relative;
}
.actu-featured-ornament {
    background: var(--ink);
    min-height: 280px;
    position: relative;
    overflow: hidden;
}
.actu-featured-ornament .editorial-photo {
    position: absolute;
    inset: 0;
    filter: grayscale(1) contrast(1.08) brightness(0.55) sepia(0.35) saturate(2.2) hue-rotate(-8deg);
    box-shadow: none;
}
.actu-featured-ornament::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(240,168,0,0.32) 16px 17px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 45%, black 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 45%, black 90%, transparent);
}
.actu-featured-body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.actu-featured-title { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.2; }
.actu-excerpt { font-size: 0.92rem; }
.actu-meta { display: flex; gap: 18px; align-items: center; font-size: 0.72rem; color: var(--text-muted); }

/* ── ARTICLE ── */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.article-chapeau {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-primary);
    border-left: 1.5px solid var(--gold);
    padding-left: 24px;
    margin-bottom: 32px;
}
.article-body p { margin-bottom: 20px; }
.article-body h2, .article-body h3 { margin: 40px 0 18px; }
.article-body ul { padding-left: 20px; list-style: none; }
.article-body li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--text-secondary); }
.article-body li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.7em;
    width: 12px; height: 1px;
    background: var(--gold);
}
.article-footer { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.article-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 24px; }
.sidebar-post { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-title { font-size: 0.88rem; color: var(--text-primary); line-height: 1.35; display: block; margin-top: 4px; transition: color 0.25s; }
.sidebar-post:hover .sidebar-post-title { color: var(--gold-text); }
.sidebar-post-date { font-size: 0.68rem; color: var(--text-muted); }

/* ════════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { margin-bottom: 36px; }
.article-banner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
    height: clamp(220px, 32vw, 420px);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}
.article-banner .editorial-photo { filter: grayscale(1) contrast(1.06) brightness(0.9) sepia(0.3) saturate(2.1) hue-rotate(-8deg); }

/* ── ÉTAT VIDE — réutilisable, même langage que le reste du site ── */
.empty-state {
    text-align: center;
    padding: 90px 20px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto;
}
.empty-state-icon {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-strong);
    color: var(--gold-text);
    position: relative;
}
.empty-state-icon::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 16px; height: 16px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.empty-state p { font-size: 0.92rem; line-height: 1.7; }

.claims-block {
    margin-top: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    position: relative;
}
.claims-block::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 28px; height: 28px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}

.contact-photo {
    position: relative;
    height: clamp(180px, 22vw, 260px);
    margin: 28px 0;
    overflow: hidden;
    border-radius: var(--radius);
}
.contact-photo .editorial-photo { filter: grayscale(1) contrast(1.08) brightness(0.85) sepia(0.3) saturate(2) hue-rotate(-8deg); }
.contact-photo::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 40px; height: 40px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
    pointer-events: none;
}
.contact-items { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-strong); }
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 4px;
    border-bottom: 1px solid var(--border);
}
.contact-item-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-text);
}
.contact-item-text h4 {
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.contact-item-text p, .contact-item-text a { font-size: 0.95rem; color: var(--text-primary); transition: color 0.25s; }
.contact-item-text a:hover { color: var(--gold-text); }

.der-download-block {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--border-strong);
    transition: border-color 0.3s, background 0.3s;
    position: relative;
}
.der-download-block::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 26px; height: 26px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.der-download-block:hover { background: var(--gold-glow); border-color: var(--gold); }
.der-icon { font-size: 1.4rem; color: var(--gold-text); flex-shrink: 0; }
.der-text { display: flex; flex-direction: column; gap: 3px; }
.der-text strong { font-size: 0.88rem; }
.der-text span { font-size: 0.74rem; color: var(--text-muted); }
.der-arrow {
    margin-left: auto;
    color: var(--ink);
    flex-shrink: 0;
    width: 38px; height: 38px;
    border: 1px solid var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}
.der-download-block:hover .der-arrow { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ── FORMULAIRE — champs filetés éditoriaux ── */
.contact-form {
    background: transparent;
    border: 1px solid var(--border-strong);
    padding: clamp(28px, 4vw, 52px);
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: -1px; right: -1px;
    width: 46px; height: 46px;
    border-top: 1.5px solid var(--gold);
    border-right: 1.5px solid var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 26px; }
.form-label {
    display: block;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 12px 2px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); font-weight: 300; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-bottom-color: var(--gold); border-bottom-width: 2px; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select option { background: var(--paper); color: var(--text-primary); }
.form-notice { font-size: 0.74rem; color: var(--text-muted); margin-top: 14px; }
.form-success {
    display: none;
    padding: 18px 22px;
    border: 1px solid var(--gold);
    background: var(--gold-glow);
    color: var(--gold-text);
    font-size: 0.9rem;
    margin-top: 18px;
}

/* ── ALERTES ── */
.alert { padding: 16px 20px; font-size: 0.88rem; margin-bottom: 20px; border: 1px solid; }
.alert-success, .a-alert-success { border-color: #2e7d32; color: #2e7d32; background: rgba(46,125,50,0.06); }
.alert-error, .a-alert-error { border-color: #c62828; color: #c62828; background: rgba(198,40,40,0.06); }

/* ── LÉGAL ── */
.legal-content { max-width: 860px; }
.legal-section { margin-bottom: 44px; }
.legal-section h2 { font-size: 1.3rem; margin-bottom: 16px; }
.legal-section h3 { font-size: 1rem; margin: 22px 0 10px; }
.legal-section p, .legal-section li { font-size: 0.92rem; margin-bottom: 10px; }

/* ════════════════════════════════════════════════════════════════
   FLOTTANTS (main.js)
   ════════════════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 28px; left: 28px;
    width: 50px; height: 50px;
    background: rgba(252,251,248,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(14,13,11,0.14);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s, transform 0.5s var(--spring), visibility 0.35s, background 0.3s, color 0.3s, border-color 0.3s;
    z-index: 8900;
}
/* coin doré signature, comme les cartes */
.back-to-top::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 14px; height: 14px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
    border-top-left-radius: var(--radius);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); color: var(--gold); border-color: var(--gold); }

.float-contact {
    position: fixed;
    bottom: 28px; right: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 8900;
    opacity: 1; visibility: visible;
    transition: opacity 0.25s, visibility 0.25s;
}
/* Recouvrirait les liens légaux du pied de page (Mentions légales, ORIAS…)
   sans ça — voir l'IntersectionObserver dans main.js. pointer-events:none
   pour que le tap traverse jusqu'au lien même pendant le fondu. */
.float-contact--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.float-btn-main {
    position: relative;
    width: 58px; height: 58px;
    background: var(--ink);
    border: 1px solid rgba(240,168,0,0.45);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(14,13,11,0.3);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, color 0.3s, transform 0.4s var(--spring);
}
.float-btn-main::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 14px; height: 14px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
    border-top-left-radius: var(--radius);
}
.float-btn-main:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.float-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s, transform 0.4s var(--spring), visibility 0.3s;
}
.float-contact.open .float-actions { opacity: 1; visibility: visible; transform: translateY(0); }
.float-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--paper);
    border: 1px solid var(--border-strong);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    white-space: nowrap;
    transition: background 0.25s, color 0.25s;
}
.float-action-btn:hover { background: var(--ink); color: var(--paper); }
.float-action-icon { display: inline-flex; color: var(--gold-text); }
.float-action-btn:hover .float-action-icon { color: var(--gold); }

.spinner {
    width: 14px; height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Grille décorative neutralisée (legacy) */
.bg-grid, .grain-overlay, .cursor-glow, .hero-canvas, .hero-bg { display: none; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(odd) { border-left: none; }
    .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }
    .about-layout { grid-template-columns: 1fr; gap: 56px; }
    .services-grid, .services-detail-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .actu-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-grid-3 { grid-template-columns: 1fr; }
    .expertise-row { grid-template-columns: 70px 1fr 60px; }
    .expertise-body { grid-column: 2; }
    .expertise-arrow { grid-row: 1; grid-column: 3; }
}

@media (max-width: 768px) {
    .section, .section-wide, .svc-block { padding-left: 20px; padding-right: 20px; }
    .hero { padding-left: 20px; padding-right: 20px; }
    .hero-visual { display: none; }
    .visual-band { min-height: 260px; }
    .about-frame { height: 180px; }
    .hero-subtitle { border-left: none; padding-left: 0; }
    .hero-foot { flex-direction: column; gap: 10px; align-items: flex-start; }
    .actu-grid { grid-template-columns: 1fr; }
    .actu-featured { grid-template-columns: 1fr; }
    .actu-featured-ornament { min-height: 120px; }
    .svc-grid-2 { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .partners-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .expertise-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 4px; }
    .expertise-num { font-size: 1.2rem; }
    .expertise-body { grid-column: 1; }
    .expertise-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .float-contact { bottom: 16px; right: 16px; }
    .back-to-top { bottom: 16px; left: 16px; }

    /* Navbar mobile : opaque, sans backdrop-filter (stacking context).
       paper-2 (pas paper) pour rester visuellement distincte du hero. */
    .navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--paper-2) !important;
        box-shadow: 0 4px 20px rgba(14,13,11,0.08) !important;
    }
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: var(--nav-h) !important;
        left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 9000 !important;
        background: var(--paper) !important;
        border-top: 1px solid var(--border-strong);
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 40px 28px !important;
        gap: 6px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .nav-links.open { display: flex !important; }
    .nav-toggle { display: flex; }
    .nav-link {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        letter-spacing: 0.08em;
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .nav-link::after { display: none; }
    .btn-nav-cta { margin: 24px 0 0; width: 100%; justify-content: center; padding: 18px; }
    .nav-dropdown {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: hidden;
        height: 0;
        overflow: hidden;
        border: none;
        padding: 0;
        min-width: 0;
        transition: none;
    }
    .nav-has-dropdown.touch-open .nav-dropdown {
        visibility: visible;
        height: auto;
        padding: 8px 0 16px;
    }

    .hero-actions .btn-primary, .hero-actions .btn-outline {
        width: 100%;
        max-width: 380px;
        justify-content: center;
    }
    * { max-width: 100vw; }
    section[style*="padding:80px"], div[style*="padding:80px"],
    div[style*="padding:100px"], div[style*="padding:120px"] {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 420px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-left: none; border-top: 1px solid var(--border); }
    .stat-item:first-child { border-top: none; }
    .btn-primary, .btn-outline { padding: 16px 24px; font-size: 0.66rem; }
    .footer-legal-links { gap: 14px; flex-wrap: wrap; }
}

/* Lien d'évitement — navigation clavier : invisible jusqu'au focus */
.skip-link {
    position: fixed;
    top: 10px; left: 10px;
    z-index: 99999;
    background: var(--ink);
    color: var(--gold);
    padding: 12px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* Réduction de mouvement — toutes les animations CSS neutralisées */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .word-band-track, .partners-track, .hero-foot .scroll-cue::after,
    .hero-bg-photo, .quiz-step.is-active { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════
   HERO CINÉMA — photo pleine page encre/or, typo monumentale claire
   ════════════════════════════════════════════════════════════════ */
.hero--cinema { background: var(--ink); }
.hero--cinema .hero-bg {
    display: block; /* annule le display:none legacy (.hero-bg v1) */
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.12) brightness(0.6) sepia(0.35) saturate(2.2) hue-rotate(-8deg);
    animation: heroKenBurns 26s linear alternate infinite both;
    will-change: transform;
}
@keyframes heroKenBurns {
    0%   { transform: scale(1.05); }
    100% { transform: scale(1.16); }
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(14,13,11,0.93) 0%, rgba(14,13,11,0.68) 48%, rgba(14,13,11,0.28) 100%),
        linear-gradient(to top, rgba(14,13,11,0.92) 0%, transparent 34%),
        linear-gradient(to bottom, rgba(14,13,11,0.5) 0%, transparent 20%);
}
.hero--cinema .hero-inner { padding-right: 0; }
.hero--cinema .hero-title {
    font-size: clamp(2.7rem, 7vw, 6.6rem);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: var(--paper);
    max-width: 1240px;
    text-shadow: 0 2px 40px rgba(14,13,11,0.5);
}
.hero--cinema .hero-title em { color: var(--gold); }
.hero--cinema .hero-eyebrow { color: var(--text-on-dark-muted); }
.hero--cinema .hero-subtitle {
    color: var(--text-on-dark-muted);
    border-left-color: rgba(240,168,0,0.55);
    max-width: 580px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.hero--cinema .btn-primary { background: var(--gold); color: var(--ink); }
.hero--cinema .btn-primary::before { background: var(--paper); }
.hero--cinema .btn-outline {
    border-color: rgba(252,251,248,0.35);
    color: var(--paper);
}
.hero--cinema .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.hero--cinema .hero-foot {
    border-top-color: var(--hairline-dark);
    color: var(--text-on-dark-faint);
}
@media (min-width: 769px) {
    /* plus de colonne image à éviter : le filet reprend toute la largeur */
    .hero--cinema .hero-foot {
        margin-left: auto;
        width: 100%;
        max-width: 1440px;
    }
}

/* ════════════════════════════════════════════════════════════════
   NAVBAR OVERLAY — transparente sur le hero encre (accueil, desktop),
   redevient papier dès le scroll (.scrolled)
   ════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
    .navbar--overlay:not(.scrolled) {
        background: linear-gradient(to bottom, rgba(14,13,11,0.55) 0%, rgba(14,13,11,0) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(252,251,248,0.12);
        box-shadow: none;
    }
    /* Le logo client ne doit jamais être altéré (pas de filtre N&B) :
       plaque papier derrière, comme au footer — couleurs d'origine intactes */
    .navbar--overlay:not(.scrolled) .nav-logo {
        /* papier chaud plutôt que blanc pur : la plaque appartient à la
           palette au lieu de trancher dessus */
        background: linear-gradient(160deg, var(--paper) 0%, var(--paper-2) 100%);
        padding: 10px 18px;
        border-radius: var(--radius);
        /* l'ombre l'ancre dans la photo ; le filet or la relie à la charte */
        box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,168,0,0.28);
    }
    /* le logo occupait à peine la moitié de sa plaque : sous-titre illisible */
    .navbar--overlay:not(.scrolled) .logo-img { height: 52px; max-width: 210px; }
    .navbar--overlay:not(.scrolled) .nav-link { color: var(--text-on-dark-muted); }
    .navbar--overlay:not(.scrolled) .nav-link:hover,
    .navbar--overlay:not(.scrolled) .nav-link.active { color: var(--paper); }
    .navbar--overlay:not(.scrolled) .btn-nav-cta { background: var(--gold); color: var(--ink); }
    .navbar--overlay:not(.scrolled) .btn-nav-cta::before { background: var(--paper); }
    .navbar--overlay:not(.scrolled) .btn-nav-cta:hover { color: var(--ink); }
}

/* ════════════════════════════════════════════════════════════════
   HEROS INTERNES CINÉMA — même langage que l'accueil : bandeau encre,
   photo pleine largeur en fond, titre clair monumental
   ════════════════════════════════════════════════════════════════ */
.page-hero, .svc-hero {
    background: var(--ink);
    border-bottom: 1px solid rgba(240,168,0,0.35);
    padding-top: calc(var(--nav-h) + clamp(70px, 10vw, 140px));
    padding-bottom: clamp(56px, 8vw, 110px);
}
/* Cannelures or : accent conservé pour les pages sans photo, éclairci */
.page-hero::before, .svc-hero::before {
    background: repeating-linear-gradient(90deg, transparent 0 12px, rgba(240,168,0,0.3) 12px 13px);
}
/* La photo latérale devient un fond pleine page */
.page-hero-photo {
    display: block;
    position: absolute;
    inset: 0;
    top: 0; right: 0;
    width: 100%;
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    z-index: 0;
}
.page-hero-photo .editorial-photo {
    border-radius: 0;
    box-shadow: none;
    filter: grayscale(1) contrast(1.12) brightness(0.55) sepia(0.35) saturate(2.2) hue-rotate(-8deg);
}
/* Voile encre pour la lisibilité, calqué sur le hero d'accueil */
.page-hero.has-photo::after, .svc-hero.has-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(100deg, rgba(14,13,11,0.93) 0%, rgba(14,13,11,0.7) 48%, rgba(14,13,11,0.32) 100%),
        linear-gradient(to top, rgba(14,13,11,0.88) 0%, transparent 40%);
    pointer-events: none;
}
/* Le texte reprend toute la largeur (plus de colonne photo à éviter) */
@media (min-width: 769px) {
    .page-hero.has-photo > *:not(.page-hero-photo),
    .svc-hero.has-photo .svc-hero-inner {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* Textes clairs sur encre */
.page-hero h1, .svc-h1 {
    color: var(--paper);
    font-size: clamp(2.3rem, 6vw, 5.2rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    text-shadow: 0 2px 30px rgba(14,13,11,0.45);
}
.page-hero p, .svc-hero-sub { color: var(--text-on-dark-muted); }
.page-hero .label-tag, .svc-hero .label-tag { color: var(--text-on-dark-muted); }
.page-hero .breadcrumb, .svc-hero .breadcrumb,
.page-hero .breadcrumb a, .svc-hero .breadcrumb a { color: var(--text-on-dark-faint); }
.page-hero .breadcrumb a:hover, .svc-hero .breadcrumb a:hover { color: var(--gold); }
.svc-hero .btn-outline, .page-hero .btn-outline {
    border-color: rgba(252,251,248,0.35);
    color: var(--paper);
}
.svc-hero .btn-outline:hover, .page-hero .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}
.svc-hero .btn-primary, .page-hero .btn-primary { background: var(--gold); color: var(--ink); }
.svc-hero .btn-primary::before, .page-hero .btn-primary::before { background: var(--paper); }

/* ════════════════════════════════════════════════════════════════
   CURSEUR SIGNATURE — point or + anneau traînant (desktop précis
   uniquement ; le curseur natif reste visible, l'anneau est un accent)
   ════════════════════════════════════════════════════════════════ */
@media (pointer: fine) {
    .cursor-dot, .cursor-ring {
        position: fixed;
        top: 0; left: 0;
        pointer-events: none;
        z-index: 99990;
        border-radius: 50%;
    }
    .cursor-dot {
        width: 6px; height: 6px;
        background: var(--gold);
    }
    .cursor-ring {
        width: 36px; height: 36px;
        border: 1px solid rgba(240,168,0,0.5);
        transition: width 0.25s var(--ease), height 0.25s var(--ease),
                    border-color 0.25s, background 0.25s;
    }
    .cursor-ring.is-link {
        width: 58px; height: 58px;
        border-color: var(--gold);
        background: rgba(240,168,0,0.08);
    }
}

/* ════════════════════════════════════════════════════════════════
   RÉVÉLATION D'IMAGES — balayage clip-path au scroll (JS ajoute
   .img-reveal aux conteneurs photo, l'observer ajoute .rp-visible)
   ════════════════════════════════════════════════════════════════ */
/* Le clip s'applique à l'image intérieure, pas au conteneur observé :
   un élément rendu invisible par son propre clip-path ne déclenche
   jamais l'IntersectionObserver (comportement Chrome) */
.img-reveal img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s var(--spring);
}
.img-reveal.rp-visible img, .img-reveal.visible img {
    clip-path: inset(0 0 0 0);
}

/* ════════════════════════════════════════════════════════════════
   CARTES VALEURS (qui-sommes-nous) — numéro serif fantôme + icône SVG
   ════════════════════════════════════════════════════════════════ */
.value-card {
    position: relative;
    padding: clamp(32px, 4vw, 44px) clamp(26px, 3vw, 36px);
}
.value-num {
    position: absolute;
    top: 18px; right: 22px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.2rem;
    line-height: 1;
    color: rgba(240,168,0,0.28);
    transition: color 0.35s;
    pointer-events: none;
}
.value-card:hover .value-num { color: var(--gold); }

/* ── Vignettes des cartes actualités + grille sans vide bordé ── */
.actu-card-img {
    margin: calc(-1 * clamp(26px, 3vw, 40px)) calc(-1 * clamp(26px, 3vw, 40px)) 4px;
    height: 170px;
    overflow: hidden;
    position: relative;
}
.actu-card-img .editorial-photo {
    position: absolute;
    inset: 0;
    box-shadow: none;
    transition: transform 0.6s var(--spring);
}
.actu-card:hover .actu-card-img .editorial-photo { transform: scale(1.05); }

/* ════════════════════════════════════════════════════════════════
   NUMÉROTATION ÉDITORIALE — chaque en-tête de section porte son
   numéro (01, 02…) en italique or, compteur CSS automatique
   ════════════════════════════════════════════════════════════════ */
body { counter-reset: secnum; }
.section-header .label-tag::after {
    counter-increment: secnum;
    content: counter(secnum, decimal-leading-zero);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gold);
    margin-left: 2px;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   404 — grand numéro fantôme en lettres creuses derrière le contenu
   ════════════════════════════════════════════════════════════════ */
.ghost-404 {
    position: absolute;
    top: 50%; right: clamp(-40px, 2vw, 80px);
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(9rem, 28vw, 24rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(240,168,0,0.35);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
@media (max-width: 768px) {
    .ghost-404 { font-size: 8rem; right: -10px; opacity: 0.7; }
}

/* Grille actualités : cartes autonomes (plus de conteneur bordé qui
   laisse un grand vide quand il y a peu d'articles) */
.actu-grid {
    border: none;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.actu-card {
    outline: none;
    border: 1px solid var(--border-strong);
}

/* ── Bas de footer : crédit Sarreinfo + dégagement du bouton flottant ── */
.footer-credit { color: var(--text-on-dark-muted); transition: color 0.3s; }
.footer-credit strong { color: var(--text-on-dark); font-weight: 600; }
.footer-credit:hover, .footer-credit:hover strong { color: var(--gold); }
/* les boutons flottants (contact bas droite, remonter bas gauche) ne
   doivent jamais recouvrir la ligne copyright/crédit ni les liens légaux */
.footer-bottom { padding-right: 104px; padding-left: 96px; }
/* lever le max-width 68ch global des <p> : copyright + crédit sur une ligne */
.footer-copy { max-width: none; }
.footer-credit { white-space: nowrap; }
@media (max-width: 768px) {
    .footer-bottom { padding-right: 84px; padding-left: 76px; }
}

/* ════════════════════════════════════════════════════════════════
   QUIZZ BILAN 360° — cartes d'étapes, options, progression or
   ════════════════════════════════════════════════════════════════ */
.quiz-shell {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    padding: clamp(32px, 5vw, 56px);
    position: relative;
}
.quiz-shell::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 34px; height: 34px;
    border-top: 1.5px solid var(--gold);
    border-left: 1.5px solid var(--gold);
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: quizIn 0.45s var(--spring); }
@keyframes quizIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
.quiz-step-tag {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 14px;
}
.quiz-q { margin-bottom: 10px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.quiz-sub { font-size: 0.95rem; margin-bottom: 32px; }
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.quiz-opt {
    text-align: left;
    background: var(--paper);
    border: 1px solid var(--border-strong);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.3s, border-color 0.3s, transform 0.35s var(--spring);
}
.quiz-opt strong {
    font-family: var(--font-serif);
    font-size: 1.02rem;
    color: var(--ink);
}
.quiz-opt span { font-size: 0.78rem; color: var(--text-muted); }
.quiz-opt:hover {
    border-color: var(--gold);
    background: var(--gold-glow);
    transform: translateY(-2px);
}
.quiz-progress {
    height: 3px;
    background: var(--paper-2);
    margin-top: 40px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    width: 20%;
    background: var(--gold);
    transition: width 0.5s var(--spring);
}
.quiz-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}
.quiz-back {
    background: none;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s;
}
.quiz-back:hover { color: var(--gold-text); }
.quiz-count {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.quiz-check {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gold);
    color: var(--gold-text);
    position: relative;
}
@media (max-width: 640px) {
    .quiz-options { grid-template-columns: 1fr; }
}

/* Bande d'appel quizz (accueil) */
.quiz-band {
    background:
        radial-gradient(ellipse 55% 90% at 85% 50%, rgba(240,168,0,0.1) 0%, transparent 60%),
        var(--ink);
    border-top: 1px solid rgba(240,168,0,0.35);
    border-bottom: 1px solid rgba(240,168,0,0.35);
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}
.quiz-band-head {
    max-width: 760px;
    margin: 0 auto clamp(36px, 5vw, 56px);
    text-align: center;
}
.quiz-band h2 { color: var(--paper); margin-bottom: 12px; }
.quiz-band h2 em { color: var(--gold); }
.quiz-band p { color: var(--text-on-dark-muted); max-width: 560px; margin: 0 auto; }
/* la carte claire du quizz tranche sur le bandeau encre */
.quiz-band .quiz-shell { border-color: rgba(240,168,0,0.45); }

/* ════════════════════════════════════════════════════════════════
   CIBLES TACTILES
   Le critère pertinent n'est pas la largeur de l'écran mais le type de
   pointeur : une tablette ou un portable tactile en 1280px a besoin des
   mêmes cibles qu'un téléphone. `pointer: coarse` cible le doigt, quelle
   que soit la résolution, et laisse la souris tranquille.
   ════════════════════════════════════════════════════════════════ */
@media (pointer: coarse) {
    .nav-dropdown-footer a,
    .nav-dropdown-item,
    .footer-link,
    .footer-legal-link,
    .footer-contact-line,
    .actu-read-more,
    .service-link,
    .cred-pill,
    .breadcrumb a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .footer-legal-links { gap: 8px 26px; flex-wrap: wrap; }
    /* Le survol n'existe pas au doigt : on retire le décalage au survol
       qui, sur tactile, se déclenche au moment du tap et fait « sauter »
       le lien sous le doigt. */
    .footer-link:hover { padding-left: 0; }
}

/* Cibles restantes sous 44px au doigt : le bouton d'ouverture du menu est
   la commande la plus sollicitée sur mobile, elle doit être la plus sûre. */
@media (pointer: coarse) {
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    .quiz-back,
    .footer-credit {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}


/* ── EXERGUE DU FONDATEUR ────────────────────────────────────────
   Remplace l'ancienne bannière pleine largeur : la citation gagne à être
   lue au contact du texte qu'elle introduit plutôt qu'isolée entre deux
   sections. Filet or à gauche, italique de la serif : le vocabulaire
   éditorial déjà en place, sans nouvel effet. */
.about-quote {
    margin: 0 0 30px;
    padding: 4px 0 4px 26px;
    border-left: 2px solid var(--gold);
    position: relative;
}
.about-quote svg { color: var(--gold); opacity: .55; margin-bottom: 10px; display: block; }
.about-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.12rem, 1.9vw, 1.45rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 10px;
}
.about-quote cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: .74rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .about-quote { padding-left: 18px; margin-bottom: 24px; }
}

/* ════════════════════════════════════════════════════════════════
   FINITIONS — matière et jonctions
   Ce qui sépare une maquette propre d'un site fini se joue sur les
   bords : comment une section en rejoint une autre, comment une photo
   se termine. Rien ici n'ajoute d'effet visible isolément ; l'ensemble
   donne la densité qu'on attend d'un cabinet patrimonial.
   ════════════════════════════════════════════════════════════════ */

/* ── Jonction claire → sombre ────────────────────────────────────
   Un passage sec entre papier et encre fait « collage ». Un filet or
   d'un pixel, doublé d'une ombre courte projetée vers le haut, crée
   une couture nette : la section sombre semble posée sur la claire. */
.section-dark,
.quiz-band,
.process-section,
.cta-photo {
    position: relative;
}
.section-dark::before,
.quiz-band::before,
.process-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(240,168,0,0.55) 18%,
        rgba(240,168,0,0.55) 82%,
        transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* ── Matière sur les photos éditoriales ──────────────────────────
   Un vignettage très léger empêche la photo de « flotter » : les bords
   s'assombrissent à peine, l'œil reste au centre. C'est le traitement
   des tirages argentiques, invisible tant qu'on ne l'enlève pas. */
/* NE PAS positionner .editorial-photo : plusieurs photos de fond portent
   cette classe ET position:absolute (cta-photo-bg, hero...). Une regle
   position:relative ici les remet dans le flux, elles poussent alors le
   contenu hors cadre. Ne styler que les CONTENEURS. */
.about-frame,
.actu-card-img,
.article-banner,
.visual-band-art,
.cta-photo,
.hero--cinema {
    position: relative;
}
/* .about-frame::after est deja pris (degrade encre du portrait, plus haut) :
   ne pas le reprendre ici, il serait ecrase. */
.actu-card-img::after,
.article-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 78% 78% at 50% 45%,
        transparent 45%, rgba(14,13,11,0.16) 100%);
}

/* ── Le hero gagne une profondeur de champ ───────────────────────
   Dégradé encre du bas vers le haut : le texte repose sur une base
   dense, la photo respire au-dessus. Le bloc de texte cesse de flotter
   sur l'image, il y est assis. */
.hero--cinema::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 62%;
    background: linear-gradient(to top,
        rgba(12,11,9,0.88) 0%,
        rgba(12,11,9,0.55) 38%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}
/* NE PAS repositionner les enfants du hero ici : .hero-bg est un conteneur
   en position:absolute z-index:0 ; lui imposer position:relative l effondre
   et la photo disparait. Le contenu (.hero-inner) porte deja son z-index. */
.hero--cinema .hero-inner, .hero--cinema .hero-foot { position: relative; z-index: 2; }

/* ── Les boutons prennent du relief ──────────────────────────────
   Une ombre portée courte et une bordure interne claire : le bouton
   or cesse d'être un aplat, il devient un objet posé sur la page. */
.btn-primary {
    box-shadow:
        0 2px 0 rgba(140,96,0,0.55),
        0 10px 26px -8px rgba(240,168,0,0.5);
    transition: transform 0.28s var(--spring), box-shadow 0.28s var(--ease);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 3px 0 rgba(140,96,0,0.55),
        0 16px 34px -8px rgba(240,168,0,0.62);
}
.btn-primary:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .btn-primary, .btn-primary:hover { transform: none; transition: none; }
    .stat-item::after { transition: none; }
}
