/* ==========================================================================
   Metomega : feuille de styles principale
   Socle, en-tête, hero. Couleurs alignées sur le logo MΩ (docs/logo/).
   ========================================================================== */

/* Polices auto-hébergées (public/assets/fonts/, licence SIL OFL) ----------- */
@font-face {
    font-family: "Instrument Sans";
    src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Jetons ------------------------------------------------------------------ */
:root {
    /* Bleus nuit : --ink-900 est le bleu nuit du logo */
    --ink-950: #0c1440;
    --ink-900: #14215e;
    --ink-700: #353f75;
    --ink-500: #5d6285;
    --ink-300: #a9adc6;
    --line: #e3e4ee;
    --paper: #f6f6fa;
    --white: #fff;
    --navy-soft: #e9ebf5;

    /* Bleu électrique et bleu ciel : l'Ω du logo */
    --accent: #2e5bff;
    --accent-strong: #1f45e0;
    --accent-soft: #e8eeff;
    --sky: #3fa8ff;
    --gradient-omega: linear-gradient(90deg, var(--accent), var(--sky));

    --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --nav-h: 76px;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    /* Grain très fin : points bleu nuit (fonds clairs) ou blancs (fonds sombres) */
    --texture-on-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .13 0 0 0 0 .37 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --texture-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Socle ------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: var(--nav-h);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-900);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    color: inherit;
}

abbr[title] {
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink-900);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

/* Boutons ----------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: .9em 1.4em;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 600 1rem/1.2 var(--font-sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn svg {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    transition: transform .3s var(--ease-out);
}

.btn:hover svg {
    transform: translateX(3px);
}

/* Icône placée avant le texte (téléphone…) : elle ne glisse pas au survol */
.btn:hover .btn__lead-icon {
    transform: none;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 10px 28px -12px rgb(46 91 255 / .9);
}

.btn--primary:hover {
    background: var(--accent-strong);
}

.btn--ghost {
    background: rgb(255 255 255 / .7);
    border-color: rgb(20 33 94 / .14);
    color: var(--ink-900);
}

.btn--ghost:hover {
    background: var(--white);
    border-color: var(--ink-900);
}

/* Bouton secondaire sur fond sombre */
.btn--ghost-light {
    background: rgb(255 255 255 / .04);
    border-color: rgb(255 255 255 / .28);
    color: var(--white);
}

.btn--ghost-light:hover {
    background: rgb(255 255 255 / .12);
    border-color: var(--white);
}

.btn--dark {
    background: var(--ink-900);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--accent);
}

.btn--sm {
    padding: .7em 1.15em;
    font-size: .9375rem;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(20 33 94 / .12);
    border-radius: 999px;
    color: var(--ink-700);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.icon-btn svg {
    width: 17px;
    height: 17px;
}

.icon-btn:hover {
    background: var(--ink-900);
    border-color: var(--ink-900);
    color: var(--white);
}

/* Logo -------------------------------------------------------------------- */
.logo-mark {
    width: 66px;
    height: auto;
    flex: none;
    overflow: visible;
}

.logo-mark__m {
    fill: var(--logo-m, var(--ink-900));
    transition: fill .3s ease;
}

.logo-mark__s0 {
    stop-color: var(--logo-s0, #14215e);
    transition: stop-color .3s ease;
}

.logo-mark__s1 {
    stop-color: var(--logo-s1, #2e5bff);
    transition: stop-color .3s ease;
}

/* Le V se déforme depuis son bord haut, accroché aux fûts.
   Ancrage en coordonnées du dessin (x = 48, y = 0) : avec fill-box, Chromium n'affiche pas l'animation. */
.logo-mark__v {
    transform-box: view-box;
    transform-origin: 48px 0;
}

.logo-mark__draw {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
}

/* Arrivée (is-intro, retirée par main.js) : le M se pose, l'Ω se trace, un reflet passe */
.logo-mark.is-intro .logo-mark__m {
    animation: logo-rise .6s var(--ease-out) .1s backwards;
}

.logo-mark.is-intro .logo-mark__draw {
    animation: logo-draw .8s var(--ease-in-out) .35s backwards;
}

.logo-mark.is-intro .logo-mark__sheen {
    animation: logo-sheen .9s var(--ease-in-out) 1.1s backwards;
}

/* Survol ou focus : le V se creuse avec un rebond, l'Ω se retrace, puis le reflet passe */
.brand:hover .logo-mark:not(.is-intro) .logo-mark__v,
.brand:focus-visible .logo-mark:not(.is-intro) .logo-mark__v {
    animation: logo-dip .8s var(--ease-in-out);
}

.brand:hover .logo-mark:not(.is-intro) .logo-mark__draw,
.brand:focus-visible .logo-mark:not(.is-intro) .logo-mark__draw {
    animation: logo-redraw .65s var(--ease-in-out);
}

.brand:hover .logo-mark:not(.is-intro) .logo-mark__sheen,
.brand:focus-visible .logo-mark:not(.is-intro) .logo-mark__sheen {
    animation: logo-sheen-hover .9s var(--ease-in-out) .45s backwards;
}

/* Au repos (is-glint, posée de temps en temps par main.js) : un reflet discret */
.logo-mark.is-glint .logo-mark__sheen {
    animation: logo-glint 1s var(--ease-in-out);
}

/* En-tête ----------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
    background: rgb(246 246 250 / .82);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}

.menu-open .site-header {
    background: var(--paper);
    box-shadow: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--nav-h);
    transition: height .3s var(--ease-out);
}

.is-scrolled .nav {
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    border-radius: 8px;
    color: var(--ink-900);
    text-decoration: none;
    transition: color .3s ease;
}

.brand__word {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
}

.nav__links {
    display: flex;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__link {
    position: relative;
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--ink-700);
    text-decoration: none;
    transition: color .2s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 3px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-omega);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    color: var(--ink-950);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__toggle {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(20 33 94 / .12);
    border-radius: 999px;
    background: rgb(255 255 255 / .7);
    cursor: pointer;
}

.nav__toggle-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink-900);
    transition: top .3s var(--ease-out), transform .3s var(--ease-out), background-color .3s ease;
}

.nav__toggle-bar:nth-of-type(2) {
    top: 16px;
}

.nav__toggle-bar:nth-of-type(3) {
    top: 24px;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(2) {
    top: 20px;
    transform: rotate(45deg);
    background: var(--accent);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-of-type(3) {
    top: 20px;
    transform: rotate(-45deg);
}

/* En-tête au-dessus d'un hero sombre (classe on-dark, mise à jour au défilement) */
body:not(.menu-open) .site-header.on-dark {
    --logo-m: var(--white);
    --logo-s0: var(--white);
    --logo-s1: #6a8aff;
}

body:not(.menu-open) .site-header.on-dark.is-scrolled {
    background: rgb(12 20 64 / .6);
    box-shadow: 0 1px 0 rgb(255 255 255 / .08);
}

body:not(.menu-open) .on-dark .brand {
    color: var(--white);
}

body:not(.menu-open) .on-dark .nav__link {
    color: rgb(255 255 255 / .75);
}

body:not(.menu-open) .on-dark .nav__link:hover,
body:not(.menu-open) .on-dark .nav__link[aria-current="page"] {
    color: var(--white);
}

body:not(.menu-open) .on-dark .icon-btn {
    border-color: rgb(255 255 255 / .22);
    color: var(--white);
}

body:not(.menu-open) .on-dark .icon-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink-900);
}

body:not(.menu-open) .on-dark .nav__cta {
    background: var(--white);
    color: var(--ink-900);
}

body:not(.menu-open) .on-dark .nav__cta:hover {
    background: var(--accent);
    color: var(--white);
}

body:not(.menu-open) .on-dark .nav__toggle {
    background: rgb(255 255 255 / .08);
    border-color: rgb(255 255 255 / .22);
}

body:not(.menu-open) .on-dark .nav__toggle-bar {
    background: var(--white);
}

/* Menu mobile ------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s linear .45s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .3s ease, transform .45s var(--ease-out), visibility 0s;
}

.mobile-menu__links {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.mobile-menu__links a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--ink-950);
    text-decoration: none;
}

.mobile-menu__links a[aria-current="page"] {
    color: var(--accent-strong);
}

.mobile-menu__num {
    width: 2ch;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--accent-strong);
    font-variant-numeric: tabular-nums;
}

.mobile-menu__links svg {
    width: 22px;
    height: 22px;
    margin-left: auto;
    color: var(--ink-300);
    transition: transform .3s var(--ease-out), color .3s ease;
}

.mobile-menu__links a:hover svg {
    color: var(--accent);
    transform: translateX(4px);
}

.mobile-menu.is-open .mobile-menu__links li {
    animation: rise .5s var(--ease-out) backwards;
}

.mobile-menu.is-open .mobile-menu__links li:nth-child(2) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(3) { animation-delay: .08s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(4) { animation-delay: .12s; }
.mobile-menu.is-open .mobile-menu__links li:nth-child(5) { animation-delay: .16s; }

.mobile-menu__footer {
    display: grid;
    gap: 16px;
    margin-top: auto;
}

.mobile-menu__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: .9375rem;
}

.mobile-menu__contact a {
    color: var(--ink-500);
    text-decoration: none;
}

.mobile-menu__contact a:hover {
    color: var(--ink-950);
}

/* Hero -------------------------------------------------------------------- */
/* Calé sur la hauteur de l'écran ; grandit seulement si le contenu ne tient pas */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: max(620px, 100vh);
    min-height: max(620px, 100svh);
    padding-top: var(--nav-h);
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(48% 60% at 76% 46%, rgb(46 91 255 / .42), transparent 70%),
        radial-gradient(40% 50% at 96% 96%, rgb(63 168 255 / .2), transparent 70%),
        linear-gradient(165deg, #0c1440 0%, #14215e 60%, #0b123c 100%);
}

/* Grain léger, pour éviter l'aspect « dégradé numérique » */
.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .35;
    mix-blend-mode: soft-light;
    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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Anneaux concentriques (écho de l'anneau de l'Ω) et points en orbite */
.hero__orbits {
    position: absolute;
    top: 50%;
    left: 74%;
    z-index: -1;
    width: min(1180px, 135vh);
    height: auto;
    max-width: none;
    overflow: visible;
    transform: translate(-50%, -50%);
    pointer-events: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
    mask-image: radial-gradient(closest-side, #000 60%, transparent);
}

.hero__ring {
    fill: none;
    stroke: rgb(255 255 255 / .08);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.hero__ring--dashed {
    stroke: rgb(255 255 255 / .16);
    stroke-dasharray: 2 9;
}

.hero__orbit {
    animation: orbit 40s linear infinite;
}

.hero__orbit--1 { animation-duration: 26s; animation-delay: -6s; }
.hero__orbit--2 { animation-duration: 38s; animation-delay: -21s; animation-direction: reverse; }
.hero__orbit--3 { animation-duration: 54s; animation-delay: -12s; }
.hero__orbit--4 { animation-duration: 72s; animation-delay: -47s; animation-direction: reverse; }

.hero__orbit-dot {
    fill: #d6e6ff;
}

.hero__inner {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    padding-block: clamp(28px, 6vh, 72px);
}

.hero__content > *,
.page-hero__content > * {
    animation: rise .8s var(--ease-out) backwards;
}

.hero__content > :nth-child(2),
.page-hero__content > :nth-child(2) { animation-delay: .06s; }
.hero__content > :nth-child(3),
.page-hero__content > :nth-child(3) { animation-delay: .14s; }
.hero__content > :nth-child(4),
.page-hero__content > :nth-child(4) { animation-delay: .22s; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 6px;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 999px;
    background: rgb(255 255 255 / .06);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: rgb(255 255 255 / .88);
}

.eyebrow__dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgb(63 168 255 / .18);
}

.eyebrow__dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    animation: ping 2.4s ease-out infinite;
}

/* Le H1 contient le badge et le titre : on neutralise ses styles par défaut */
.hero__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.hero__title {
    display: block;
    margin-top: 28px;
    font-size: min(clamp(2.5rem, 1rem + 3.9vw, 4.6rem), 9.2vh);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.035em;
    color: var(--white);
}

.hero__title-start {
    display: block;
}

/* Le mot qui change : italique à empattements, dans le dégradé de l'Ω */
.hero__word-line {
    display: block;
}

.hero__word {
    display: inline-block;
    padding: 0 .1em .08em .02em;
    font-family: var(--font-serif);
    font-size: 1.12em;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.005em;
    white-space: nowrap;
    color: var(--sky);
    background: linear-gradient(90deg, #8fb0ff, var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), filter .5s var(--ease-out);
}

/* Changement de mot (main.js) : sortie vers le haut, puis entrée par le bas */
/* Point final : rapproché du mot (qui garde une marge à droite pour son italique) */
.hero__word-dot {
    margin-left: -.06em;
}

.hero__word.is-out {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-35%);
    transition-duration: .3s;
    transition-timing-function: ease-in;
}

.hero__word.is-in {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(35%);
    transition: none;
}

.hero__lead {
    max-width: 34rem;
    margin-top: 24px;
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    line-height: 1.6;
    color: rgb(255 255 255 / .72);
    text-wrap: pretty;
}

.hero__lead strong {
    font-weight: 600;
    color: var(--white);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

/* Illustration : une proposition d'embauche qui se signe, vue en perspective -- */
.hero__visual {
    position: relative;
    z-index: 0;
    justify-self: end;
    width: 100%;
    max-width: 450px;
    margin-right: 48px;
    perspective: 1600px;
    perspective-origin: 30% 40%;
}

/* Ombre portée sous la carte */
.hero__visual::after {
    content: "";
    position: absolute;
    right: -4%;
    bottom: -10%;
    left: 10%;
    z-index: -1;
    height: 20%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(3 6 25 / .65), transparent);
    filter: blur(14px);
}

/* --rx et --ry : inclinaison supplémentaire qui suit la souris (main.js) */
.offer {
    --rx: 0deg;
    --ry: 0deg;
    position: relative;
    padding: 22px 24px;
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55);
    font-size: 14px;
    line-height: 1.4;
    color: var(--ink-900);
    transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-20deg + var(--ry))) rotateZ(2deg);
    transform-style: preserve-3d;
    transition: transform .6s var(--ease-out);
    animation: offer-in 1.2s var(--ease-out) .15s backwards;
}

/* Feuillets empilés derrière la carte, en profondeur */
.offer::before,
.offer::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 20px;
    pointer-events: none;
}

.offer::before {
    background: rgb(255 255 255 / .12);
    transform: translate3d(20px, 16px, -60px);
}

.offer::after {
    background: rgb(255 255 255 / .06);
    transform: translate3d(40px, 32px, -120px);
}

/* Éléments légèrement décollés de la feuille */
.offer__head {
    transform-style: preserve-3d;
}

.offer__status {
    transform: translateZ(40px);
}

.offer__track {
    transform: translateZ(26px);
    box-shadow: 0 14px 24px -18px rgb(20 33 94 / .45);
}

.offer__signs {
    transform: translateZ(12px);
}

.offer__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.offer__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.offer__icon svg {
    width: 20px;
    height: 20px;
}

.offer__heading {
    flex: 1;
    min-width: 0;
}

.offer__kicker,
.offer__fields dt,
.offer__label,
.offer__sign span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.offer__title {
    overflow: hidden;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink-950);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.offer__status {
    display: grid;
    flex: none;
}

.offer__status > span {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.offer__status-pending {
    background: var(--navy-soft);
    color: var(--ink-700);
    opacity: 0;
}

.offer__status-signed {
    background: var(--accent);
    color: var(--white);
}

.offer__status-signed svg {
    width: 13px;
    height: 13px;
}

.offer__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0 0;
}

.offer__fields dd {
    margin: 3px 0 0;
    font-weight: 500;
    color: var(--ink-900);
}

.offer__track {
    margin-top: 18px;
    padding: 14px 14px 12px;
    border-radius: 14px;
    background: var(--paper);
}

.offer__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    color: var(--ink-700);
}

/* Rail et progression entre les étapes */
.offer__steps::before,
.offer__steps::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10%;
    left: 10%;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
}

.offer__steps::after {
    background: var(--gradient-omega);
    transform-origin: left;
}

.offer__steps li {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 6px;
}

.offer__step-dot {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--paper);
}

.offer__step-dot svg {
    width: 12px;
    height: 12px;
}

.offer__signs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 18px;
}

.offer__sign {
    display: grid;
    gap: 6px;
}

.offer__sign svg {
    width: 100%;
    height: auto;
    padding-bottom: 4px;
    border-bottom: 1px dashed var(--ink-300);
}

.offer__sign path {
    fill: none;
    stroke: var(--ink-900);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 0;
}

/* Déroulé d'un exemple (classe is-playing, relancée en JS pour chaque exemple) :
   champs, étapes cochées une à une, deux signatures, puis statut « Signée ». */
.offer.is-playing .offer__title,
.offer.is-playing .offer__fields > div {
    animation: rise .5s var(--ease-out) backwards;
}

.offer.is-playing .offer__fields > div:nth-child(1) { animation-delay: .08s; }
.offer.is-playing .offer__fields > div:nth-child(2) { animation-delay: .16s; }

.offer.is-playing .offer__steps::after {
    animation: progress 1.6s linear .5s backwards;
}

.offer.is-playing .offer__step-dot {
    animation: step-on .3s ease .5s backwards;
}

.offer.is-playing .offer__steps li:nth-child(2) .offer__step-dot { animation-delay: .9s; }
.offer.is-playing .offer__steps li:nth-child(3) .offer__step-dot { animation-delay: 1.3s; }
.offer.is-playing .offer__steps li:nth-child(4) .offer__step-dot { animation-delay: 1.7s; }
.offer.is-playing .offer__steps li:nth-child(5) .offer__step-dot { animation-delay: 2.1s; }

.offer.is-playing .offer__sign path {
    animation: sign .8s var(--ease-in-out) 2.3s backwards;
}

.offer.is-playing .offer__sign:nth-child(2) path {
    animation-delay: 3s;
}

.offer.is-playing .offer__status-pending {
    animation: hold 3.9s;
}

.offer.is-playing .offer__status-signed {
    animation: pop .4s var(--ease-out) 3.9s backwards;
}

/* Transition vers l'exemple suivant */
.offer.is-leaving .offer__title,
.offer.is-leaving .offer__fields dd,
.offer.is-leaving .offer__sign svg,
.offer.is-leaving .offer__status {
    opacity: 0;
    transition: opacity .35s ease;
}

/* Bandeau défilant des profils recrutés */
.hero__ticker {
    border-top: 1px solid rgb(255 255 255 / .1);
    background: rgb(255 255 255 / .04);
    color: rgb(255 255 255 / .86);
}

.ticker {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 60px;
}

.ticker__label {
    flex: none;
    padding-right: 24px;
    border-right: 1px solid rgb(255 255 255 / .16);
    font-size: .75rem;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sky);
}

.ticker__viewport {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.ticker__track {
    display: flex;
    flex: none;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: ticker 30s linear infinite;
}

.ticker__track li {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    font-size: .9375rem;
    font-weight: 500;
    white-space: nowrap;
}

.ticker__track li::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7d9bff, var(--sky));
}

.hero__ticker:hover .ticker__track {
    animation-play-state: paused;
}

/* Hero des pages intérieures ---------------------------------------------- */
/* Même fond que le hero de l'accueil ; hauteur selon le contenu (pas calée sur l'écran) */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--nav-h) + clamp(32px, 6vh, 72px)) 0 clamp(64px, 10vh, 112px);
    color: var(--white);
    background:
        radial-gradient(48% 60% at 76% 46%, rgb(46 91 255 / .42), transparent 70%),
        radial-gradient(40% 50% at 96% 96%, rgb(63 168 255 / .2), transparent 70%),
        linear-gradient(165deg, #0c1440 0%, #14215e 60%, #0b123c 100%);
}

.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
}

/* Fil d'Ariane : Accueil / Expertises / page courante */
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .8125rem;
    font-weight: 500;
    color: rgb(255 255 255 / .55);
}

.breadcrumb li + li::before {
    content: "/";
    margin-inline: 10px;
    color: rgb(255 255 255 / .3);
}

.breadcrumb a {
    color: rgb(255 255 255 / .75);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb [aria-current] {
    color: var(--sky);
}

.page-hero__title {
    margin-top: 24px;
    font-size: clamp(2.25rem, 1rem + 3vw, 3.75rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--white);
    text-wrap: balance;
}

/* Fin du titre en italique à empattements, dans le dégradé de l'Ω */
.page-hero__title em {
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: 1.08em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.005em;
    color: var(--sky);
    background: linear-gradient(90deg, #8fb0ff, var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.page-hero__lead {
    max-width: 36rem;
    margin-top: 24px;
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    line-height: 1.6;
    color: rgb(255 255 255 / .72);
    text-wrap: pretty;
}

/* Médaillon : grand signe typographique (§, ®, &) dans des anneaux, entouré de fiches profils
   (mêmes fiches en verre que le radar de l'accueil) */
.page-hero__visual {
    display: grid;
    place-items: center;
}

.medal {
    position: relative;
    display: grid;
    place-items: center;
    width: min(80%, 400px);
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / .12);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle closest-side, transparent 0 calc(25% - 1px), rgb(255 255 255 / .07) calc(25% - 1px) 25%),
        radial-gradient(circle closest-side, rgb(46 91 255 / .35), rgb(12 20 64 / .2) 70%, transparent);
    box-shadow: inset 0 0 80px rgb(63 168 255 / .12), 0 40px 100px -40px rgb(0 0 0 / .6);
}

/* Anneau en pointillés qui tourne lentement autour du médaillon */
.medal::before {
    content: "";
    position: absolute;
    inset: -22px;
    border: 1px dashed rgb(255 255 255 / .2);
    border-radius: 50%;
    animation: radar-spin 90s linear infinite;
}

.medal__glyph {
    padding-right: .08em;
    font-family: var(--font-serif);
    font-size: clamp(9rem, 15vw, 14rem);
    font-style: italic;
    line-height: 1;
    color: var(--sky);
    background: linear-gradient(135deg, #c9d8ff, var(--sky) 60%, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 36px rgb(63 168 255 / .35));
}

.medal__chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 6px;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 999px;
    background: rgb(10 16 52 / .6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 36px -18px rgb(0 0 0 / .6);
    white-space: nowrap;
}

/* Positions : en haut à gauche, à droite, en bas à gauche */
.medal__chip--1 { top: 6%; left: -14%; }
.medal__chip--2 { top: 46%; right: -16%; }
.medal__chip--3 { bottom: 4%; left: -2%; }

/* Paire de signes (page d'ensemble) : deux disques, le droit (§) et la PI (®), qui se chevauchent
   au centre. Le cadre reste carré : les fiches se placent au-dessus et au-dessous des disques. */
.medal--pair {
    width: min(94%, 470px);
    border: 0;
    background: none;
    box-shadow: none;
}

.medal--pair::before {
    display: none;
}

.medal__disc {
    position: absolute;
    top: 19%;
    display: grid;
    place-items: center;
    width: 62%;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle closest-side, transparent 0 calc(25% - 1px), rgb(255 255 255 / .06) calc(25% - 1px) 25%),
        radial-gradient(circle closest-side, rgb(46 91 255 / .3), rgb(12 20 64 / .15) 70%, transparent);
    box-shadow: inset 0 0 60px rgb(63 168 255 / .12);
}

/* Chaque signe est centré dans la partie du disque qui ne chevauche pas l'autre */
.medal__disc:first-child {
    left: 0;
    padding-right: 24%;
}

.medal__disc:nth-child(2) {
    right: 0;
    padding-left: 24%;
}

/* Anneau en pointillés autour de chaque disque, les deux tournent en sens inverse */
.medal__disc::before {
    content: "";
    position: absolute;
    inset: -14px;
    border: 1px dashed rgb(255 255 255 / .18);
    border-radius: 50%;
    animation: radar-spin 90s linear infinite;
}

.medal__disc:nth-child(2)::before {
    animation-direction: reverse;
}

.medal--pair .medal__glyph {
    font-size: clamp(5.5rem, 9vw, 8.5rem);
}

/* Réseau (page Le cabinet) : des professionnels reliés au cabinet, au centre ;
   des impulsions circulent le long des liens vers le centre, les points scintillent */
.network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
}

.network__link {
    stroke: rgb(255 255 255 / .16);
    stroke-width: 1;
}

.network__link--mesh {
    stroke: rgb(156 200 255 / .22);
    stroke-dasharray: 2 5;
}

.network__pulse {
    stroke: #9cc8ff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 7 93;
    opacity: 0;
}

.network__node {
    fill: #9cc8ff;
}

.network__node--relay {
    fill: #14215e;
    stroke: var(--sky);
    stroke-width: 2;
}

.network__halo {
    fill: rgb(63 168 255 / .12);
    stroke: rgb(255 255 255 / .22);
    stroke-dasharray: 3 6;
}

@media (prefers-reduced-motion: no-preference) {
    .network__pulse {
        opacity: 1;
        animation: network-pulse 2.8s linear infinite;
        animation-delay: calc(var(--n) * -.37s);
    }

    .network__node {
        animation: network-blink 4s ease-in-out infinite;
        animation-delay: calc(var(--n) * -.5s);
    }

    .network__node--relay {
        animation: none;
    }
}

@keyframes network-pulse {
    to { stroke-dashoffset: -100; }
}

@keyframes network-blink {
    50% { opacity: .35; }
}

.medal--pair .medal__chip--1 { top: 2%; left: -4%; }
.medal--pair .medal__chip--2 { top: 72%; right: -8%; }
.medal--pair .medal__chip--3 { bottom: 0; left: 4%; }

/* Pastille et texte des fiches (même dessin que les fiches du radar de l'accueil, un peu plus grandes) */
.medal__avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--sky));
}

.medal__avatar svg {
    width: 64%;
    height: 64%;
    fill: none;
    stroke: var(--white);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.medal__who {
    display: grid;
    font-size: 11.5px;
    line-height: 1.25;
    color: rgb(255 255 255 / .6);
}

.medal__who strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

/* Entrée : le médaillon apparaît, puis les fiches une à une ; elles flottent ensuite doucement */
@media (prefers-reduced-motion: no-preference) {
    .medal {
        animation: medal-in 1.1s var(--ease-out) .15s backwards;
    }

    .medal__chip {
        animation:
            chip-in .7s cubic-bezier(.34, 1.56, .64, 1) backwards,
            chip-float 6s ease-in-out infinite;
        animation-delay: calc(.7s + var(--i) * .18s), calc(var(--i) * -2s);
    }

    /* Paire : les deux disques glissent l'un vers l'autre jusqu'à se croiser */
    .medal__disc {
        animation: disc-in 1.2s var(--ease-out) .2s backwards;
    }

    .medal__disc:first-child {
        --from: 22%;
    }

    .medal__disc:nth-child(2) {
        --from: -22%;
    }
}

@keyframes disc-in {
    from { opacity: 0; translate: var(--from) 0; }
}

@keyframes medal-in {
    from { opacity: 0; scale: .88; }
}

@keyframes chip-in {
    from { opacity: 0; scale: .6; }
}

@keyframes chip-float {
    50% { translate: 0 -8px; }
}

/* Version compacte (pages légales, page introuvable) : une colonne, sans illustration, titre plus petit */
.page-hero--compact {
    padding-bottom: clamp(48px, 7vh, 80px);
}

.page-hero--compact .page-hero__inner {
    grid-template-columns: minmax(0, 1fr);
}

.page-hero--compact .page-hero__title {
    font-size: clamp(2rem, 1rem + 2.4vw, 3.25rem);
}

.page-hero--compact .hero__orbits {
    left: 90%;
}

/* Textes longs (pages légales) : colonne de lecture, intertitres, tableaux */
/* Colonne de lecture alignée à gauche, comme le titre du hero */
.prose {
    color: var(--ink-700);
}

.prose > * {
    max-width: 48rem;
}

.prose__updated {
    font-size: .875rem;
    color: var(--ink-500);
}

.prose h2 {
    margin-top: 48px;
    font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink-950);
}

.prose h3 {
    margin-top: 32px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink-900);
}

.prose p,
.prose ul {
    margin-top: 14px;
    line-height: 1.7;
}

.prose ul {
    padding-left: 1.25rem;
}

.prose li + li {
    margin-top: 6px;
}

.prose a {
    color: var(--accent-strong);
    text-underline-offset: 3px;
}

.prose strong {
    color: var(--ink-900);
}

.prose code {
    font-size: .875em;
    color: var(--ink-900);
}

.prose__facts {
    margin: 20px 0 0;
    border-top: 1px solid var(--line);
}

.prose__facts > div {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 4px 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.prose__facts dt {
    font-weight: 600;
    color: var(--ink-900);
}

.prose__facts dd {
    margin: 0;
}

/* Tableau défilant horizontalement sur petit écran plutôt que de déborder */
.prose__table {
    margin-top: 16px;
    overflow-x: auto;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
}

.prose th,
.prose td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--paper);
    font-weight: 600;
    color: var(--ink-900);
}

/* Traitements par finalité (présentation d'Ordipat) : sous-finalités en italique, puis tableau
   à 5 colonnes plus large que le texte (jusqu'à 74rem), qui défile horizontalement sur petit écran */
.prose__sub {
    color: var(--ink-500);
}

.prose__sub + .prose__sub {
    margin-top: 4px;
}

.prose > .prose__table--wide {
    max-width: 74rem;
}

.prose__table--wide table {
    min-width: 760px;
    font-size: .875rem;
    line-height: 1.5;
}

/* Page introuvable : liens vers les pages principales */
.lost {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lost a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    font-weight: 600;
    color: var(--ink-950);
    text-decoration: none;
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.lost a:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 24px 48px -36px rgb(20 33 94 / .45);
    translate: 0 -3px;
}

.lost svg {
    flex: none;
    width: 1.1em;
    height: 1.1em;
    color: var(--accent);
}

@media (max-width: 639.98px) {
    .prose__facts > div {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Sections de la page d'accueil -------------------------------------------- */
/* Apparition au défilement : seulement si JS actif et mouvement autorisé */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
        transition-delay: var(--reveal-delay, 0ms);
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

.section {
    position: relative;
    padding-block: clamp(80px, 10vw, 136px);
}

.section--white {
    background: var(--white);
}

.section--dark {
    color: rgb(255 255 255 / .72);
    background:
        radial-gradient(60% 80% at 85% 0%, rgb(46 91 255 / .28), transparent 70%),
        linear-gradient(165deg, #0c1440 0%, #14215e 70%, #0b123c 100%);
}

.section__head {
    max-width: 46rem;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.kicker::before {
    content: "";
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient-omega);
}

.kicker--light {
    color: var(--sky);
}

.section__title {
    margin-top: 16px;
    font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--ink-950);
    text-wrap: balance;
}

.section--dark .section__title {
    color: var(--white);
}

/* Fin de titre en italique à empattements, dans le dégradé de l'Ω */
.section__title em {
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: 1.06em;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--accent);
    background: linear-gradient(90deg, var(--accent), #3c8dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.section--dark .section__title em {
    background-image: linear-gradient(90deg, #8fb0ff, var(--sky));
}

.section__intro {
    max-width: 40rem;
    margin-top: 20px;
    font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
    line-height: 1.65;
    color: var(--ink-500);
}

.section__head--center .section__intro {
    margin-inline: auto;
}

.section--dark .section__intro {
    color: rgb(255 255 255 / .7);
}

.expertise__link svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease-out);
}

.expertise__link:hover svg {
    transform: translateX(4px);
}

/* Approche directe : arguments et radar */
/* Le radar passe à gauche (le hero a déjà son illustration à droite) */
.approach {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
}

/* Fond texturé : grain très fin sur toute la section, puis ondes concentriques
   et halo bleu derrière le radar (à gauche), qui s'estompent vers les bords */
.section--approach {
    overflow: hidden;
    background-color: var(--paper);
    background-image: var(--texture-on-light);
}

.section--approach::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -14%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgb(46 91 255 / .14), transparent 70%),
        repeating-radial-gradient(circle closest-side, transparent 0 calc(10% - 1px), rgb(20 33 94 / .07) calc(10% - 1px) 10%);
    -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent);
    mask-image: radial-gradient(closest-side, #000 35%, transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

/* Trois leviers complémentaires, reliés par un trait qui passe derrière les pictogrammes
   et descend jusqu'à la carte sombre « Votre sélection » : les canaux convergent, ils ne s'opposent pas. */
.levers {
    --lever-pad: 18px;
    --lever-icon: 44px;
    position: relative;
    display: grid;
    gap: 12px;
    margin-top: 40px;
}

.levers__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Trait de liaison : du centre du premier pictogramme à celui de la sélection */
.levers::before {
    content: "";
    position: absolute;
    top: calc(var(--lever-pad) + var(--lever-icon) / 2);
    bottom: calc(var(--lever-pad) + var(--lever-icon) / 2);
    left: calc(var(--lever-pad) + var(--lever-icon) / 2 - 1px);
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(to bottom, rgb(46 91 255 / .12), var(--accent) 85%, var(--sky));
    transform-origin: top;
}

.lever {
    position: relative;
    display: grid;
    grid-template-columns: var(--lever-icon) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: var(--lever-pad) 24px var(--lever-pad) var(--lever-pad);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 20px 40px -32px rgb(12 20 64 / .4);
}

.lever__icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: var(--lever-icon);
    height: var(--lever-icon);
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.lever__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lever__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-bottom: 4px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink-900);
}

.lever__tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--paper);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.lever__text {
    font-size: .9375rem;
    line-height: 1.5;
    color: var(--ink-500);
}

.lever--result {
    border: 0;
    background: linear-gradient(160deg, #1a2a78, #0c1440 75%);
    box-shadow: 0 40px 70px -30px rgb(12 20 64 / .6);
}

/* Liseré lumineux en dégradé sur le bord de la carte sombre */
.lever--result::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(140deg, rgb(63 168 255 / .8), rgb(63 168 255 / 0) 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.lever--result .lever__icon {
    background: var(--gradient-omega);
    color: var(--white);
}

.lever--result .lever__icon svg {
    stroke-width: 2.2;
}

.lever--result .lever__title {
    color: var(--white);
}

.lever--result .lever__text {
    color: rgb(255 255 255 / .72);
}

/* Entrée au défilement : les leviers glissent un à un, le trait se dessine de haut en bas,
   puis la carte « Votre sélection » arrive et sa coche s'allume */
@media (prefers-reduced-motion: no-preference) {
    .js .levers.reveal {
        opacity: 1;
        transform: none;
    }

    .lever {
        transition: opacity .6s ease, translate .8s var(--ease-out);
        transition-delay: calc(var(--i) * .16s);
    }

    .js .levers:not(.is-visible) .lever {
        opacity: 0;
        translate: 32px 0;
    }

    .js .levers:not(.is-visible) .lever--result {
        translate: 0 20px;
    }

    .levers::before {
        transition: scale 1s var(--ease-in-out) .15s;
    }

    .js .levers:not(.is-visible)::before {
        scale: 1 0;
    }

    .js .levers.is-visible .lever--result .lever__icon svg {
        animation: pop .45s var(--ease-out) backwards;
        animation-delay: .85s;
    }
}

/* Le radar est incliné en 3D vers le texte ; les mini-fiches et la pastille ressortent en profondeur */
.radar-wrap {
    order: -1;
    perspective: 1600px;
}

.radar {
    position: relative;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 28px;
    background: linear-gradient(160deg, #0c1440, #14215e);
    box-shadow: 0 50px 90px -40px rgb(12 20 64 / .65);
    transform: rotateX(8deg) rotateY(14deg);
    transform-style: preserve-3d;
}

/* Écran rond : anneaux et réticule dessinés en dégradés */
.radar__screen {
    position: relative;
    transform-style: preserve-3d;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / .1);
    border-radius: 50%;
    background:
        linear-gradient(to right, transparent calc(50% - .5px), rgb(255 255 255 / .08) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
        linear-gradient(to bottom, transparent calc(50% - .5px), rgb(255 255 255 / .08) calc(50% - .5px) calc(50% + .5px), transparent calc(50% + .5px)),
        repeating-radial-gradient(circle closest-side, transparent 0 calc(25% - 1px), rgb(255 255 255 / .09) calc(25% - 1px) 25%),
        radial-gradient(circle closest-side, rgb(46 91 255 / .18), transparent);
}

/* Balayage : bord lumineux en tête, traînée derrière ; un tour en 6 s */
.radar__sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgb(63 168 255 / 0) 290deg, rgb(63 168 255 / .3) 358deg, rgb(170 210 255 / .85) 360deg);
    animation: radar-spin 6s linear infinite;
}

/* Chaque point s'allume quand le balayage passe sur lui (retard calculé depuis son angle) */
.radar__dot {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #9cc8ff;
    opacity: .35;
    animation: radar-ping 6s linear infinite;
    animation-delay: calc(var(--a) / 360 * 6s);
}

/* Mini-fiche profil compacte et translucide : on voit le radar à travers.
   Elle s'illumine quand le balayage passe sur son point. */
.radar__profile {
    position: absolute;
    top: var(--y);
    left: var(--x);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 11px 5px 5px;
    border: 1px solid rgb(255 255 255 / .16);
    border-radius: 999px;
    background: rgb(10 16 52 / .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    white-space: nowrap;
    transform: translate3d(12px, -50%, 30px);
    animation: radar-profile 6s linear infinite;
    animation-delay: calc(var(--a) / 360 * 6s);
}

.radar__profile--left {
    transform: translate3d(calc(-100% - 12px), -50%, 30px);
}

.radar__avatar {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--sky));
}

.radar__avatar svg {
    width: 64%;
    height: 64%;
    fill: none;
    stroke: var(--white);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.radar__who {
    display: grid;
    font-size: 10.5px;
    line-height: 1.25;
    color: rgb(255 255 255 / .6);
}

.radar__who strong {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.radar__badge {
    position: absolute;
    top: 30px;
    right: -22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px 9px 11px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 18px 30px -14px rgb(12 20 64 / .55);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-900);
    transform: translateZ(80px);
}

.radar__badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Entrée au défilement du radar : il pivote depuis une forte inclinaison jusqu'à sa place,
   puis les fiches apparaissent une à une et la pastille tombe en place */
@media (prefers-reduced-motion: no-preference) {
    .js .radar-wrap.reveal {
        opacity: 1;
        transform: none;
    }

    .radar {
        transition: transform 1.3s var(--ease-out), opacity .9s ease;
    }

    .js .radar-wrap:not(.is-visible) .radar {
        opacity: 0;
        transform: rotateX(20deg) rotateY(48deg) translateX(-60px) scale(.9);
    }

    .radar__profile {
        transition: opacity .5s ease, scale .7s cubic-bezier(.34, 1.56, .64, 1);
        transition-delay: calc(.9s + var(--d) * .2s);
    }

    .js .radar-wrap:not(.is-visible) .radar__profile {
        opacity: 0;
        scale: .5;
    }

    .radar__badge {
        transition: opacity .5s ease, translate .8s cubic-bezier(.34, 1.56, .64, 1);
        transition-delay: 1.5s;
    }

    .js .radar-wrap:not(.is-visible) .radar__badge {
        opacity: 0;
        translate: 0 -28px;
    }
}

.radar__caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgb(255 255 255 / .7);
}

.radar__live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    animation: ping 2.4s ease-out infinite;
}

/* Expertises : deux grandes cartes */
.expertises {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.expertise {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(180deg, var(--white), var(--paper));
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.expertise::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--gradient-omega);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}

/* Soulèvement avec translate (et non transform, déjà utilisé par l'apparition au défilement) */
.expertise:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 30px 60px -36px rgb(20 33 94 / .4);
    translate: 0 -4px;
}

.expertise:hover::before {
    transform: scaleX(1);
}

/* Grand signe décoratif (§ pour le droit, ® pour la propriété industrielle) */
.expertise__glyph {
    position: absolute;
    top: -.2em;
    right: .08em;
    font-family: var(--font-serif);
    font-size: clamp(9rem, 14vw, 13rem);
    font-style: italic;
    line-height: 1;
    color: var(--accent);
    opacity: .07;
    pointer-events: none;
}

.expertise__title {
    max-width: 80%;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink-950);
}

.expertise__text {
    max-width: 30rem;
    margin-top: 12px;
    color: var(--ink-500);
}

.expertise__profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.expertise__profiles li {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-700);
    transition: border-color .3s ease;
}

.expertise:hover .expertise__profiles li {
    border-color: rgb(46 91 255 / .25);
}

.expertise__link {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: auto;
    padding-top: 32px;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: none;
}

/* Pages Expertises -------------------------------------------------------- */
/* Fond clair avec le même grain que la section « Notre approche » de l'accueil */
.section--textured {
    background-color: var(--paper);
    background-image: var(--texture-on-light);
}

/* Anneaux concentriques discrets en haut à droite de la section (écho du radar et de l'Ω) ;
   le contenu passe au-dessus */
.section--rings {
    overflow: hidden;
}

.section--rings::before {
    content: "";
    position: absolute;
    top: -12%;
    right: -16%;
    width: min(62%, 820px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgb(46 91 255 / .1), transparent 70%),
        repeating-radial-gradient(circle closest-side, transparent 0 calc(10% - 1px), rgb(20 33 94 / .07) calc(10% - 1px) 10%);
    -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent);
    mask-image: radial-gradient(closest-side, #000 35%, transparent);
    pointer-events: none;
}

.section--rings > .container {
    position: relative;
}

/* Postes recrutés : une carte par famille de métiers (pictogramme, grand numéro, intitulés en pastilles).
   Au survol : liseré en dégradé en haut, pictogramme plein, pastilles teintées. */
.families {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 56px;
}

.family {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(90% 70% at 100% 0%, rgb(46 91 255 / .07), transparent 60%),
        var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.family::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--gradient-omega);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}

.family:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 30px 60px -36px rgb(20 33 94 / .45);
    translate: 0 -4px;
}

.family:hover::before {
    transform: scaleX(1);
}

.family__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

/* Pictogramme sur pastille bleutée (familles de postes, atouts du cabinet) : plein au survol de sa carte */
.icon-tile {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}

.icon-tile .line-icon {
    width: 26px;
    height: 26px;
}

.family:hover .icon-tile,
.insight:hover .icon-tile {
    background-color: var(--accent);
    box-shadow: 0 12px 24px -10px rgb(46 91 255 / .7);
    color: var(--white);
}

/* Grand numéro en italique, dans le dégradé de l'Ω, très discret */
.family__num {
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-style: italic;
    line-height: .9;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .3;
    transition: opacity .3s ease;
}

.family:hover .family__num {
    opacity: .7;
}

.family__title {
    margin-top: 22px;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ink-950);
}

.family__text {
    margin-top: 8px;
    color: var(--ink-500);
}

.family .expertise__profiles {
    margin-top: 22px;
}

.family .expertise__profiles li {
    border-color: transparent;
    background: var(--paper);
    transition: background-color .3s ease, color .3s ease;
}

.family:hover .expertise__profiles li {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

/* Niveaux, contrats ou domaines techniques : un panneau blanc en deux parties */
.scope {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    margin-top: 20px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
}

.scope__facet {
    margin-left: clamp(24px, 4vw, 48px);
    padding-left: clamp(24px, 4vw, 48px);
    border-left: 1px solid var(--line);
}

.scope__label {
    margin-bottom: 22px;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-500);
}

/* Échelle des niveaux : un trait en dégradé relie cinq étapes, la dernière (Direction) est pleine */
.ladder {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.ladder::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 10%;
    left: 10%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgb(46 91 255 / .25), var(--accent) 70%, var(--sky));
    transform-origin: left;
}

.ladder li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding-inline: 4px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--ink-700);
}

.ladder li::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 5px rgb(46 91 255 / .1);
}

.ladder li:last-child {
    color: var(--accent-strong);
}

.ladder li:last-child::before {
    border-color: transparent;
    background: var(--gradient-omega);
    box-shadow: 0 0 0 5px rgb(46 91 255 / .16), 0 6px 14px rgb(46 91 255 / .4);
}

/* Contrats, domaines techniques : pastilles bleutées */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chips li {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: .875rem;
    font-weight: 600;
    color: var(--accent-strong);
}

/* Entrée au défilement : le trait de l'échelle se dessine, puis les étapes s'allument une à une */
@media (prefers-reduced-motion: no-preference) {
    .ladder::before {
        transition: scale 1.1s var(--ease-in-out) .25s;
    }

    .js .scope:not(.is-visible) .ladder::before {
        scale: 0 1;
    }

    .ladder li::before {
        transition: scale .45s cubic-bezier(.34, 1.56, .64, 1);
        transition-delay: calc(.35s + var(--i) * .2s);
    }

    .js .scope:not(.is-visible) .ladder li::before {
        scale: 0;
    }
}

/* Enjeux : quatre cartes, grand numéro en italique, motif d'anneaux dans le coin */
.insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
}

.insight {
    position: relative;
    overflow: hidden;
    padding: 30px 32px 32px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: var(--paper);
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.insight::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 190px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle closest-side, transparent 0 calc(20% - 1px), rgb(46 91 255 / .14) calc(20% - 1px) 20%);
    -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
    mask-image: radial-gradient(closest-side, #000 40%, transparent);
    pointer-events: none;
    transition: scale .6s var(--ease-out);
}

.insight:hover {
    border-color: rgb(46 91 255 / .2);
    background-color: var(--white);
    box-shadow: 0 30px 60px -40px rgb(20 33 94 / .45);
    translate: 0 -3px;
}

.insight:hover::after {
    scale: 1.15;
}

.insight__num {
    display: block;
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-style: italic;
    line-height: .9;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.insight__title {
    margin-top: 18px;
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink-950);
}

.insight p {
    margin-top: 8px;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--ink-500);
}

/* Structures accompagnées : bandeau sombre texturé, halo bleu à gauche, un pictogramme par structure */
.clients {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px 48px;
    margin-top: 40px;
    padding: 30px 36px;
    border-radius: 24px;
    background:
        var(--texture-on-dark),
        radial-gradient(50% 140% at 0% 0%, rgb(63 168 255 / .28), transparent 65%),
        linear-gradient(160deg, #1a2a78, #0c1440 75%);
    box-shadow: 0 40px 70px -40px rgb(12 20 64 / .6);
    color: rgb(255 255 255 / .68);
}

.clients__label {
    max-width: 9em;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sky);
}

.clients__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.clients__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    font-size: .875rem;
    line-height: 1.45;
}

.clients__list li > span:last-child {
    display: grid;
    gap: 2px;
}

.clients__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgb(255 255 255 / .14);
    border-radius: 12px;
    background: rgb(255 255 255 / .06);
    color: var(--sky);
}

.clients__icon .line-icon {
    width: 20px;
    height: 20px;
}

.clients__list strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

/* Carte vers l'autre expertise : signe de l'autre page, question, flèche qui glisse au survol */
.related {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px 28px;
    margin-top: 20px;
    padding: 24px 32px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(60% 160% at 0% 50%, rgb(46 91 255 / .1), transparent 70%),
        var(--white);
    color: var(--ink-900);
    text-decoration: none;
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.related:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 30px 60px -40px rgb(20 33 94 / .45);
    translate: 0 -3px;
}

.related__glyph {
    padding-right: .08em;
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-style: italic;
    line-height: 1;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related__text {
    display: grid;
    gap: 4px;
}

.related__kicker {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.related__text strong {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ink-950);
}

.related__cta {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 600;
    white-space: nowrap;
    color: var(--accent-strong);
}

.related__cta svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease-out);
}

.related:hover .related__cta svg {
    transform: translateX(4px);
}

/* Blog --------------------------------------------------------------------- */
/* Ligne d'informations au-dessus du titre d'un hero (date et temps de lecture d'un article) */
.page-hero__meta {
    margin-top: 24px;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: rgb(255 255 255 / .65);
}

.page-hero__meta + .page-hero__title {
    margin-top: 12px;
}

/* Grille des articles : trois colonnes, le premier article de la liste en grande carte */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.post-card:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 30px 60px -36px rgb(20 33 94 / .45);
    translate: 0 -4px;
}

.post-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(160deg, #1a2a78, #0c1440 75%);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale .6s var(--ease-out);
}

.post-card:hover .post-card__media img {
    scale: 1.04;
}

/* Sans image : signe ¶ dans le dégradé de l'Ω, sur des anneaux */
.post-card__placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    background: repeating-radial-gradient(circle at 70% 30%, transparent 0 39px, rgb(255 255 255 / .06) 39px 40px);
    font-family: var(--font-serif);
    font-size: clamp(4rem, 7vw, 6rem);
    font-style: italic;
    line-height: 1;
    color: var(--sky);
}

.post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 26px;
}

.post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: .8125rem;
    color: var(--ink-500);
}

.post-card__title {
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--ink-950);
    text-wrap: balance;
}

.post-card__title a {
    color: inherit;
    text-decoration: none;
}

/* Carte entièrement cliquable par le lien du titre */
.post-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.post-card__excerpt {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--ink-500);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-card__more {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: auto;
    padding-top: 20px;
    font-weight: 600;
    color: var(--accent-strong);
}

.post-card__more svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease-out);
}

.post-card:hover .post-card__more svg {
    transform: translateX(4px);
}

.post-card--featured {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.post-card--featured .post-card__media {
    aspect-ratio: auto;
    min-height: 320px;
}

.post-card--featured .post-card__body {
    justify-content: center;
    padding: clamp(28px, 4vw, 48px);
}

.post-card--featured .post-card__title {
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}

.blog-empty {
    padding: 48px 0;
    font-size: 1.125rem;
    text-align: center;
    color: var(--ink-500);
}

.blog-cta {
    margin-top: 48px;
}

/* Pagination ?page=N */
.pager {
    margin-top: 48px;
}

.pager__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 600;
    color: var(--ink-900);
    text-decoration: none;
}

.pager__link:hover {
    border-color: rgb(46 91 255 / .4);
}

.pager__link.is-current {
    border-color: var(--ink-950);
    background: var(--ink-950);
    color: var(--white);
}

.pager__link svg {
    width: 1em;
    height: 1em;
}

/* Article : image à la une, contenu (colonne de lecture .prose), pied d'article */
.post__section {
    padding-top: clamp(40px, 6vw, 72px);
}

.post__cover {
    max-width: 60rem;
    margin: 0 0 clamp(32px, 5vw, 56px);
}

.post__cover img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 40px 80px -48px rgb(12 20 64 / .55);
}

.prose h4 {
    margin-top: 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-900);
}

.prose ol {
    margin-top: 14px;
    padding-left: 1.4rem;
    line-height: 1.7;
}

.prose blockquote {
    position: relative;
    margin: 28px 0 0;
    padding: 20px 24px 20px 28px;
    border-radius: 0 16px 16px 0;
    background: var(--paper);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--ink-950);
}

.prose blockquote::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--gradient-omega);
}

.prose blockquote > :first-child {
    margin-top: 0;
}

.prose img {
    height: auto;
    margin-top: 20px;
    border-radius: 16px;
}

.prose hr {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.prose pre {
    margin-top: 16px;
    padding: 16px 18px;
    overflow-x: auto;
    border-radius: 12px;
    background: var(--ink-950);
    font-size: .875rem;
    color: var(--white);
}

.prose pre code {
    color: inherit;
}

.post__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    max-width: 48rem;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.post__back,
.post__share {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: none;
}

.post__back svg,
.post__share svg {
    width: 1.1em;
    height: 1.1em;
}

.post__back:hover,
.post__share:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-grid--recent {
    margin-top: 48px;
}

/* Offres d'emploi ---------------------------------------------------------- */
/* En-tête de section avec un lien à droite (offres des pages Expertises, « D'autres postes ») */
.section__head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    max-width: none;
    margin-bottom: 40px;
}

.section__head--split > div {
    max-width: 46rem;
}

/* Filtres de /offres : domaine en pastilles, contrat et lieu en listes, nombre d'offres à droite */
.offer-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 28px;
    margin-bottom: 32px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
}

.offer-filters[hidden] {
    display: none;
}

.offer-filters__group {
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.offer-filters__label {
    padding: 0;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.segmented {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.segmented label {
    position: relative;
}

/* Bouton radio invisible posé sur sa pastille : clic, clavier et lecteurs d'écran inchangés */
.segmented input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.segmented span {
    display: inline-flex;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink-700);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.segmented label:hover span {
    border-color: rgb(46 91 255 / .4);
}

.segmented input:checked + span {
    border-color: var(--ink-950);
    background: var(--ink-950);
    color: var(--white);
}

.segmented input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.offer-filters select {
    min-width: 200px;
    padding: 9px 42px 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2314215e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 14px;
    font: 600 .9375rem/1.3 var(--font-sans);
    color: var(--ink-900);
    cursor: pointer;
    appearance: none;
}

.offer-filters select:hover {
    border-color: rgb(46 91 255 / .4);
}

.offer-filters__count {
    margin-left: auto;
    padding-bottom: 9px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--ink-500);
}

/* Cartes : domaine et date, intitulé, structure, pastilles (lieu, contrat, mode, rémunération) */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 24px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
    transition: border-color .3s ease, box-shadow .3s ease, translate .4s var(--ease-out);
}

.offer-card:hover {
    border-color: rgb(46 91 255 / .3);
    box-shadow: 0 30px 60px -36px rgb(20 33 94 / .45);
    translate: 0 -4px;
}

.offer-card[hidden] {
    display: none;
}

.offer-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    font-size: .8125rem;
    color: var(--ink-500);
}

.offer-card__domain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.offer-card__glyph {
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: 1.625rem;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--sky));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.offer-card__title {
    margin-top: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    color: var(--ink-950);
    text-wrap: balance;
}

.offer-card__title a {
    color: inherit;
    text-decoration: none;
}

/* Carte entièrement cliquable par le lien du titre */
.offer-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.offer-card__structure {
    margin-top: 8px;
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--ink-500);
}

.offer-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.offer-card__facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background: var(--paper);
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-700);
}

.offer-card__facts .line-icon {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.offer-card__more {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: auto;
    padding-top: 22px;
    font-weight: 600;
    color: var(--accent-strong);
}

.offer-card__more svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease-out);
}

.offer-card:hover .offer-card__more svg {
    transform: translateX(4px);
}

/* Candidature spontanée : carte sombre, toujours affichée en fin de liste */
.offer-card--spontaneous {
    overflow: hidden;
    border-color: transparent;
    background:
        repeating-radial-gradient(circle at 100% 0%, transparent 0 39px, rgb(255 255 255 / .05) 39px 40px),
        radial-gradient(80% 80% at 100% 0%, rgb(46 91 255 / .35), transparent 70%),
        linear-gradient(160deg, #1a2a78, var(--ink-950) 75%);
    color: rgb(255 255 255 / .72);
}

.offer-card--spontaneous .offer-card__domain {
    color: var(--sky);
}

.offer-card--spontaneous .offer-card__glyph {
    background-image: linear-gradient(135deg, #8fb0ff, var(--sky));
}

.offer-card--spontaneous .offer-card__title {
    color: var(--white);
}

.offer-card--spontaneous .offer-card__structure {
    color: rgb(255 255 255 / .7);
}

.offer-card--spontaneous .offer-card__more {
    color: var(--white);
}

/* Aucune offre pour les filtres choisis : message sur toute la largeur de la grille */
.offer-grid__empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed rgb(20 33 94 / .2);
    border-radius: 20px;
    font-size: 1.0625rem;
    text-align: center;
    color: var(--ink-500);
}

.offer-grid__empty[hidden] {
    display: none;
}

.offer-grid__reset {
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* Aucune offre en ligne : message et bouton vers la candidature spontanée */
.offers-empty {
    display: grid;
    justify-items: start;
    gap: 14px;
    max-width: 46rem;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 24px 48px -40px rgb(12 20 64 / .4);
    color: var(--ink-500);
}

.offers-empty__title {
    font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink-950);
}

.offers-empty .btn {
    margin-top: 8px;
}

/* Page d'une offre : contenu à gauche, fiche résumée collante à droite.
   (.offer est la carte animée de l'accueil, en perspective : ne pas réutiliser ce nom ici) */
.offer-section {
    padding-top: clamp(40px, 6vw, 72px);
}

.offer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: clamp(40px, 6vw, 88px);
}

.offer-layout__main > h2:first-child {
    margin-top: 0;
}

.offer-layout__aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: grid;
    gap: 20px;
}

.offer-summary {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
}

/* Liseré en dégradé le long du bord haut */
.offer-summary::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--gradient-omega);
}

.offer-summary__title {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.offer-summary__facts {
    margin: 14px 0 0;
}

.offer-summary__facts div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: .9375rem;
}

.offer-summary__facts div:last-child {
    border-bottom: 0;
}

.offer-summary__facts dt {
    flex: none;
    color: var(--ink-500);
}

.offer-summary__facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    color: var(--ink-950);
}

.offer-summary__cta {
    width: 100%;
    margin-top: 20px;
}

/* Lien vers la page Expertises du domaine, avec son signe */
.offer-aside__expertise {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    font-weight: 600;
    color: var(--ink-950);
    text-decoration: none;
    transition: border-color .3s ease;
}

.offer-aside__expertise:hover {
    border-color: rgb(46 91 255 / .4);
}

.offer-aside__expertise > span:nth-child(2) {
    flex: 1;
}

.offer-aside__expertise svg {
    flex: none;
    width: 1.1em;
    height: 1.1em;
    color: var(--accent-strong);
    transition: transform .3s var(--ease-out);
}

.offer-aside__expertise:hover svg {
    transform: translateX(4px);
}

.offer-aside__glyph {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    line-height: 1;
    color: var(--accent);
}

/* Offre pourvue ou expirée : bandeau en tête du contenu */
.offer-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 60rem;
    margin-bottom: clamp(32px, 5vw, 48px);
    padding: 20px 24px;
    border: 1px solid rgb(46 91 255 / .25);
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--ink-700);
}

.offer-banner .line-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--accent-strong);
}

.offer-banner__title {
    margin-bottom: 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink-950);
}

.offer-banner a {
    font-weight: 600;
    color: var(--accent-strong);
    text-underline-offset: 3px;
}

/* Postuler (offre en ligne et candidature spontanée) : texte et garanties à gauche, formulaire à droite.
   Le formulaire reprend la carte du rendez-vous (.rdv-form), avec une ombre adaptée au fond clair. */
.apply {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(40px, 6vw, 88px);
}

.apply__text {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.apply__text .section__intro strong {
    color: var(--ink-900);
}

.apply__points {
    display: grid;
    gap: 18px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.apply__points li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--ink-500);
}

.apply__points strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink-950);
}

.apply__point-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.apply__point-icon .line-icon {
    width: 20px;
    height: 20px;
}

.apply__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: none;
}

.apply__more svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .3s var(--ease-out);
}

.apply__more:hover svg {
    transform: translateX(4px);
}

.apply-form {
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -56px rgb(12 20 64 / .5);
}

.apply-form .rdv-form__badge .line-icon {
    width: 20px;
    height: 20px;
}

.apply-form__link {
    font-weight: 600;
    color: var(--accent-strong);
}

/* Confirmation : comment exercer ses droits (aucun e-mail n'est envoyé au candidat) */
.apply-form__note {
    margin-top: 12px;
    font-size: .875rem;
    color: var(--ink-500);
}

.apply-form__note a {
    color: var(--accent-strong);
}

/* Candidature spontanée : domaine en pastilles (styles .segmented des filtres de la liste) */
.apply-choice {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.apply-choice legend {
    margin-bottom: 7px;
    padding: 0;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-700);
}

/* Champ du CV : bouton « Parcourir » aux couleurs du site */
.field--file input[type="file"] {
    padding: 7px;
    font-size: .9375rem;
    cursor: pointer;
}

.field--file input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: var(--ink-950);
    font: 600 .875rem/1.2 var(--font-sans);
    color: var(--white);
    cursor: pointer;
}

.field--file input[type="file"]:hover::file-selector-button {
    background: var(--accent-strong);
}

/* Page Le cabinet --------------------------------------------------------- */
/* Fondateur : portrait posé sur un bloc décalé dans le dégradé de l'Ω, nom en étiquette de verre */
.founder {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(56px, 8vw, 120px);
}

.founder__portrait {
    position: relative;
    isolation: isolate;
    justify-self: center;
    width: 100%;
    max-width: 440px;
    margin: 0;
}

.founder__portrait::before {
    content: "";
    position: absolute;
    inset: 28px -28px -28px 28px;
    z-index: -1;
    border-radius: 28px;
    background: var(--gradient-omega);
    box-shadow: 0 40px 80px -40px rgb(46 91 255 / .6);
}

/* Motif d'anneaux qui dépasse en haut à gauche */
.founder__portrait::after {
    content: "";
    position: absolute;
    top: -56px;
    left: -56px;
    z-index: -1;
    width: 200px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle closest-side, transparent 0 calc(20% - 1px), rgb(46 91 255 / .22) calc(20% - 1px) 20%);
    -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
    mask-image: radial-gradient(closest-side, #000 45%, transparent);
}

.founder__portrait img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 50px 90px -40px rgb(12 20 64 / .55);
}

.founder__tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: grid;
    gap: 2px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgb(255 255 255 / .9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px -18px rgb(12 20 64 / .5);
}

.founder__tag strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-950);
}

.founder__tag span {
    font-size: .8125rem;
    color: var(--ink-500);
}

.founder__content .section__intro + .section__intro {
    margin-top: 14px;
}

.founder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Valeurs : trois colonnes ouvertes, séparées par un filet, titre en grand italique dans le dégradé */
.creed {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
}

.creed li {
    padding: 8px clamp(20px, 3vw, 40px) 8px 0;
}

.creed li + li {
    padding-left: clamp(20px, 3vw, 40px);
    border-left: 1px solid var(--line);
}

.creed__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.creed__icon .line-icon {
    width: 22px;
    height: 22px;
}

.creed__title {
    width: fit-content;
    margin-top: 20px;
    padding-right: .06em;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
    color: var(--accent);
    background: linear-gradient(90deg, var(--accent), #3c8dff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creed p {
    margin-top: 12px;
    color: var(--ink-500);
}

/* Cartes qui apparaissent au défilement ET réagissent au survol : la règle .reveal (plus prioritaire)
   remplacerait leurs transitions de survol, on garde donc les deux */
@media (prefers-reduced-motion: no-preference) {
    .js .expertise.reveal,
    .js .family.reveal,
    .js .insight.reveal,
    .js .related.reveal,
    .js .post-card.reveal {
        transition:
            opacity .7s var(--ease-out) var(--reveal-delay, 0ms),
            transform .7s var(--ease-out) var(--reveal-delay, 0ms),
            translate .4s var(--ease-out),
            border-color .3s ease,
            box-shadow .3s ease,
            background-color .3s ease;
    }
}

/* Méthode : frise de cinq étapes, la ligne se remplit à l'apparition */
.method {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    margin: 64px 0 0;
    padding: 0;
    list-style: none;
}

.method::before,
.method::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 0;
    left: 22px;
    height: 2px;
    border-radius: 2px;
    background: rgb(255 255 255 / .12);
}

.method::after {
    background: var(--gradient-omega);
    transform-origin: left;
    transition: transform 1.6s var(--ease-in-out) .2s;
}

.method__step {
    position: relative;
}

.method__num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgb(46 91 255 / .18);
    font-size: .875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--white);
    transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
    transition-delay: calc(.2s + var(--step) * .35s);
}

.method__title {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--white);
}

.method__step p {
    margin-top: 8px;
    font-size: .9375rem;
    line-height: 1.6;
    color: rgb(255 255 255 / .68);
}

.method__cta {
    margin-top: 56px;
}

@media (prefers-reduced-motion: no-preference) {
    .js .method:not(.is-visible)::after {
        transform: scaleX(0);
    }

    .js .method:not(.is-visible) .method__num {
        border-color: rgb(255 255 255 / .2);
        background: #14215e;
        box-shadow: none;
    }
}

/* Citation du fondateur (page Le cabinet) : grand italique, filet en dégradé à gauche */
.firm__quote {
    position: relative;
    margin: 36px 0 28px;
    padding: 24px 28px 24px 32px;
    border-radius: 0 20px 20px 0;
    background: var(--white);
}

.firm__quote::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--gradient-omega);
}

.firm__quote blockquote {
    margin: 0;
}

.firm__quote blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem);
    font-style: italic;
    line-height: 1.35;
    color: var(--ink-950);
}

.firm__quote figcaption {
    margin-top: 14px;
    font-size: .9375rem;
    color: var(--ink-500);
}

.firm__quote figcaption strong {
    color: var(--ink-900);
}

/* Pastilles des villes (pied de page) */
.city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgb(255 255 255 / .08);
    font-size: .9375rem;
    font-weight: 600;
    color: var(--white);
}

.city__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sky);
    box-shadow: 0 0 0 4px rgb(63 168 255 / .2);
}

/* Questions fréquentes */
.faq {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(40px, 6vw, 96px);
}

.faq__head {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
}

.faq__head .btn {
    margin-top: 28px;
}

.faq__list {
    border-top: 1px solid var(--line);
}

.faq__item {
    border-bottom: 1px solid var(--line);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    list-style: none;
    cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary h3 {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink-950);
    transition: color .2s ease;
}

.faq__item summary:hover h3 {
    color: var(--accent-strong);
}

/* Signe + qui pivote en × à l'ouverture */
.faq__item summary::after {
    content: "";
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:
        linear-gradient(var(--ink-900), var(--ink-900)) center / 12px 2px no-repeat,
        linear-gradient(var(--ink-900), var(--ink-900)) center / 2px 12px no-repeat,
        var(--paper);
    transition: transform .3s var(--ease-out);
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    padding: 0 56px 24px 0;
    line-height: 1.65;
    color: var(--ink-500);
}

/* La réponse apparaît en fondu quand on ouvre une question */
.faq__item[open] p {
    animation: faq-open .4s var(--ease-out);
}

@keyframes faq-open {
    from { opacity: 0; transform: translateY(-6px); }
}

/* Prise de rendez-vous */
.cta {
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -55%;
    width: 900px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 79px, rgb(255 255 255 / .06) 79px 80px);
    -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent);
    mask-image: radial-gradient(closest-side, #000 50%, transparent);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
}

/* Portrait du fondateur : pastille ronde cerclée du dégradé de l'Ω */
.cta__person {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.cta__person img {
    flex: none;
    width: 72px;
    height: 72px;
    padding: 3px;
    border-radius: 50%;
    background: var(--gradient-omega);
    object-fit: cover;
}

.cta__person p {
    display: grid;
    gap: 2px;
    font-size: .875rem;
    color: rgb(255 255 255 / .6);
}

.cta__person strong {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
}

.cta__person + .cta__phone {
    margin-top: 20px;
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--white);
    text-decoration: none;
    transition: color .2s ease;
}

.cta__phone svg {
    width: .8em;
    height: .8em;
    color: var(--sky);
}

.cta__phone:hover {
    color: var(--sky);
}

.cta__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 16px;
    font-size: .9375rem;
    color: rgb(255 255 255 / .55);
}

.cta__meta a {
    color: rgb(255 255 255 / .8);
}

.rdv-form {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 2.8vw, 32px);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 40px 80px -40px rgb(0 0 0 / .6);
    color: var(--ink-900);
}

/* Liseré en dégradé le long du bord haut de la carte */
.rdv-form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--gradient-omega);
}

.rdv-form__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.rdv-form__badge {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gradient-omega);
    box-shadow: 0 10px 20px -10px rgb(46 91 255 / .8);
    color: var(--white);
}

.rdv-form__badge svg {
    width: 20px;
    height: 20px;
}

.rdv-form__title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--ink-950);
}

.rdv-form__subtitle {
    margin-top: 3px;
    font-size: .8125rem;
    color: var(--ink-500);
}

.rdv-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-top: 18px;
}

.field {
    display: grid;
    gap: 5px;
}

.field--wide {
    grid-column: 1 / -1;
}

.field label {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--ink-700);
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    font: 500 1rem/1.3 var(--font-sans);
    color: var(--ink-950);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.field textarea {
    min-height: 84px;
    line-height: 1.5;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgb(46 91 255 / .15);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: #c62f48;
}

/* Astérisques des champs obligatoires et aide sous le libellé du message */
.field__mark {
    font-weight: 700;
    color: var(--accent);
}

.field__hint {
    display: block;
    margin-top: 2px;
    font-weight: 400;
    color: var(--ink-500);
}

.field input::placeholder {
    color: var(--ink-300);
}

/* Calcul anti-robots : question et petit champ réponse sur une ligne */
.field--captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 8px 8px 8px 14px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--paper);
}

.field--captcha label {
    font-size: .875rem;
}

.field--captcha input {
    flex: none;
    width: 72px;
    background: var(--white);
    text-align: center;
}

.rdv-form__submit {
    width: 100%;
    margin-top: 18px;
}

.rdv-form__legal {
    margin-top: 12px;
    font-size: .6875rem;
    line-height: 1.45;
    color: var(--ink-500);
}

.rdv-form__legal a {
    color: var(--accent-strong);
}

.rdv-form__alert {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fdecef;
    font-size: .9375rem;
    color: #8f1d31;
}

/* Mention d'information (aperçu statique), en bleu plutôt qu'en rouge d'erreur */
.rdv-form__alert--info {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.rdv-form__alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

/* Champ piège : hors écran (pas display:none, que certains robots repèrent) ; nom de classe neutre,
   qu'un robot lisant le HTML ne reconnaisse pas */
.rdv-form__extra {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rdv-form--sent {
    text-align: center;
}

.rdv-form__icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--gradient-omega);
    color: var(--white);
}

.rdv-form__icon svg {
    width: 26px;
    height: 26px;
}

/* Pied de page -------------------------------------------------------------- */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(72px, 9vw, 112px);
    background-color: #0a1035;
    background-image:
        radial-gradient(55% 70% at 12% 0%, rgb(46 91 255 / .24), transparent 70%),
        radial-gradient(40% 60% at 100% 100%, rgb(63 168 255 / .12), transparent 70%),
        var(--texture-on-dark);
    font-size: .9375rem;
    color: rgb(255 255 255 / .62);
}

/* Liseré lumineux le long du bord haut */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(63 168 255 / .7) 30%, rgb(46 91 255 / .7) 70%, transparent);
}

/* Grand MΩ en filigrane, au trait, qui déborde dans le coin */
.site-footer__mark {
    position: absolute;
    right: -12%;
    bottom: -30%;
    width: min(860px, 70vw);
    height: auto;
    max-width: none;
    fill: none;
    stroke: rgb(255 255 255 / .07);
    pointer-events: none;
}

.site-footer__mark path {
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.site-footer .container {
    position: relative;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .9fr)) minmax(0, 1.3fr);
    gap: 48px 40px;
    padding-bottom: clamp(56px, 7vw, 88px);
}

.site-footer__logo {
    display: inline-block;
    border-radius: 8px;
}

.site-footer__logo img {
    width: min(100%, 340px);
    height: auto;
}

.site-footer__pitch {
    max-width: 26rem;
    margin-top: 24px;
    line-height: 1.65;
}

.site-footer__cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.site-footer__title {
    margin-bottom: 18px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sky);
}

.site-footer ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Liens : un soulignement en dégradé se trace au survol */
.site-footer li a {
    padding-bottom: 2px;
    background: linear-gradient(90deg, var(--accent), var(--sky)) 0 100% / 0 1px no-repeat;
    color: rgb(255 255 255 / .78);
    text-decoration: none;
    transition: color .2s ease, background-size .35s var(--ease-out);
}

.site-footer li a:hover {
    background-size: 100% 1px;
    color: var(--white);
}

.site-footer address {
    display: grid;
    gap: 10px;
    font-style: normal;
}

.site-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--white);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__phone svg {
    width: 20px;
    height: 20px;
    color: var(--sky);
}

.site-footer__phone:hover {
    color: var(--sky);
}

.site-footer__mail {
    color: rgb(255 255 255 / .78);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer__mail:hover {
    color: var(--white);
}

.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.site-footer__social {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(255 255 255 / .22);
    border-radius: 999px;
    color: var(--white);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.site-footer__social svg {
    width: 17px;
    height: 17px;
}

.site-footer__social:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink-900);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    padding-block: 24px 32px;
    border-top: 1px solid rgb(255 255 255 / .1);
    font-size: .8125rem;
    color: rgb(255 255 255 / .5);
}

.site-footer__bottom ul {
    display: flex;
    gap: 20px;
}

/* Animations -------------------------------------------------------------- */
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
}

/* Logo : un nom par moment (arrivée, survol, repos), pour qu'aucune ne relance l'autre.
   Le reflet parcourt 248 unités, de la gauche du M à la droite de l'Ω. */
@keyframes logo-rise {
    from { opacity: 0; transform: translateY(14px); }
}

@keyframes logo-draw {
    from { stroke-dashoffset: 1; }
}

@keyframes logo-redraw {
    from { stroke-dashoffset: 1; }
}

@keyframes logo-dip {
    35% { transform: scaleY(1.24); }
    65% { transform: scaleY(.94); }
    85% { transform: scaleY(1.03); }
}

@keyframes logo-sheen {
    to { transform: translateX(248px); }
}

@keyframes logo-sheen-hover {
    to { transform: translateX(248px); }
}

@keyframes logo-glint {
    to { transform: translateX(248px); }
}

@keyframes orbit {
    to { transform: rotate(360deg); }
}

@keyframes progress {
    from { transform: scaleX(0); }
}

@keyframes step-on {
    from { background: var(--white); color: transparent; box-shadow: 0 0 0 4px var(--paper), inset 0 0 0 2px var(--line); }
}

@keyframes sign {
    from { stroke-dashoffset: 1; }
}

@keyframes hold {
    from, to { opacity: 1; }
}

@keyframes pop {
    from { opacity: 0; transform: scale(.8); }
}

/* Arrivée de la carte : elle pivote depuis la profondeur jusqu'à sa position */
@keyframes offer-in {
    from { opacity: 0; transform: rotateX(24deg) rotateY(-48deg) rotateZ(4deg) translate3d(60px, 40px, -160px); }
}

@keyframes ping {
    0% { box-shadow: 0 0 0 0 rgb(63 168 255 / .5); }
    70%, 100% { box-shadow: 0 0 0 8px rgb(63 168 255 / 0); }
}

@keyframes ticker {
    to { transform: translateX(-100%); }
}

@keyframes radar-spin {
    to { transform: rotate(360deg); }
}

@keyframes radar-ping {
    0% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 0 0 rgb(63 168 255 / .7); }
    25% { opacity: .55; transform: scale(1); box-shadow: 0 0 0 14px rgb(63 168 255 / 0); }
    100% { opacity: .35; }
}

@keyframes radar-profile {
    0% { border-color: rgb(63 168 255 / .95); box-shadow: 0 0 22px rgb(63 168 255 / .45); }
    30%, 100% { border-color: rgb(255 255 255 / .16); box-shadow: 0 0 0 rgb(63 168 255 / 0); }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1023.98px) {
    .nav__menu,
    .nav__linkedin {
        display: none;
    }

    .nav__toggle {
        display: block;
    }

    /* Écrans étroits : le hero tient en un écran, la carte d'illustration est masquée */
    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
        padding-block: 32px 48px;
    }

    .hero__visual,
    .page-hero__visual {
        display: none;
    }

    .hero__orbits {
        top: 85%;
        left: 78%;
    }

    .page-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 639.98px) {
    :root {
        --nav-h: 64px;
    }

    .logo-mark {
        width: 56px;
    }

    .brand__word {
        font-size: 1.25rem;
    }

    .nav__cta {
        display: none;
    }

    .hero__orbits {
        top: 82%;
        left: 60%;
        width: 820px;
    }

    .hero__actions .btn {
        flex: 1 1 auto;
    }

    .ticker {
        gap: 16px;
    }

    .ticker__label {
        padding-right: 16px;
        font-size: .6875rem;
    }
}

/* Mouvement réduit : tout est affiché d'emblée, rien ne bouge ------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }

    .ticker__track[aria-hidden="true"] {
        display: none;
    }

    /* Le bandeau devient une liste fixe : libellé au-dessus, profils à la suite */
    .ticker {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-block: 16px;
    }

    .ticker__label {
        padding-right: 0;
        border-right: 0;
        line-height: 1.4;
    }

    .ticker__viewport {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ticker__track {
        flex: 1;
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .ticker__track li {
        gap: 12px;
        padding-right: 12px;
        font-size: .875rem;
    }

    .ticker__track li:last-child::after {
        display: none;
    }
}

/* Sections de la page d'accueil et pied de page : écrans moyens et petits -- */
@media (max-width: 1023.98px) {
    .approach,
    .faq,
    .cta__inner,
    .clients,
    .founder {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Fondateur : le portrait passe au-dessus du texte, un peu plus petit */
    .founder__portrait {
        max-width: 380px;
    }

    .clients__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Blog : deux colonnes, la grande carte passe en une colonne (image au-dessus) */
    .post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-card--featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .post-card--featured .post-card__media {
        aspect-ratio: 16 / 9;
    }

    /* Offres : deux colonnes ; page d'une offre en une colonne, la fiche résumée passe sous le texte */
    .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-layout,
    .apply {
        grid-template-columns: minmax(0, 1fr);
    }

    .offer-layout__aside,
    .apply__text {
        position: static;
    }

    .offer-layout__aside {
        max-width: 480px;
    }

    .apply__form {
        max-width: 640px;
    }

    /* Une colonne : le radar revient sous le texte, les ondes du fond le suivent */
    .radar-wrap {
        order: 0;
        justify-self: center;
        width: 100%;
        max-width: 480px;
    }

    .radar {
        transform: rotateX(6deg) rotateY(8deg);
    }

    .section--approach::before {
        top: auto;
        bottom: -25%;
        left: 50%;
        width: 150%;
        transform: translateX(-50%);
    }

    .faq__head {
        position: static;
    }

    .site-footer__top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 899.98px) {
    .expertises,
    .families {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Valeurs empilées, séparées par un filet horizontal */
    .creed {
        grid-template-columns: minmax(0, 1fr);
    }

    .creed li,
    .creed li + li {
        padding: 28px 0;
        border-left: 0;
    }

    .creed li + li {
        border-top: 1px solid var(--line);
    }

    /* Panneau des niveaux : les contrats ou domaines passent sous l'échelle */
    .scope {
        grid-template-columns: minmax(0, 1fr);
    }

    .scope__facet {
        margin: 28px 0 0;
        padding: 28px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .section--rings::before {
        width: 110%;
        right: -45%;
    }

    /* Méthode en frise verticale */
    .method {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .method::before,
    .method::after {
        top: 22px;
        bottom: 22px;
        left: 22px;
        width: 2px;
        height: auto;
    }

    .method::after {
        transform-origin: top;
    }

    .method__step {
        padding-left: 72px;
    }

    .method__num {
        position: absolute;
        top: 0;
        left: 0;
    }

    .method__title {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 899.98px) {
    .js .method:not(.is-visible)::after {
        transform: scaleY(0);
    }
}

@media (max-width: 639.98px) {
    .rdv-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .insights,
    .clients__list,
    .post-grid,
    .offer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Filtres empilés, listes sur toute la largeur */
    .offer-filters {
        padding: 18px;
    }

    .offer-filters__group,
    .offer-filters select {
        width: 100%;
    }

    .offer-filters__count {
        margin-left: 0;
        padding-bottom: 0;
    }

    .offer-card {
        padding: 22px 20px 20px;
    }

    .insight,
    .clients {
        padding: 24px;
    }

    .ladder li {
        padding-inline: 2px;
        font-size: .75rem;
    }

    /* Bloc décalé derrière le portrait : moins de débord sur les petits écrans */
    .founder__portrait::before {
        inset: 16px -16px -16px 16px;
    }

    .founder__portrait::after {
        top: -36px;
        left: -36px;
        width: 140px;
    }

    /* Carte vers l'autre expertise : signe et question, le lien passe dessous */
    .related {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 20px 22px;
    }

    .related__glyph {
        font-size: 3.5rem;
    }

    .related__cta {
        grid-column: 1 / -1;
    }

    /* Leviers plus compacts : pictogramme réduit, marges intérieures resserrées */
    .levers {
        --lever-pad: 16px;
        --lever-icon: 40px;
    }

    .lever {
        gap: 14px;
        padding-right: 18px;
    }

    .radar__badge {
        right: 8px;
    }

    .radar__who {
        font-size: 10.5px;
    }

    .radar__who strong {
        font-size: 12px;
    }

    .faq__item p {
        padding-right: 0;
    }

    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__contact {
        grid-column: 1 / -1;
    }
}
