:root {
  color-scheme: light;
  --ink: #10251d;
  --paper: #f0eee5;
  --paper-bright: #f7f5ee;
  --acid: #c9ab7f;
  --muted: #918f82;
  --rule-light: rgba(16, 37, 29, .2);
  --rule-dark: rgba(240, 238, 229, .23);
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
body, button, input { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--acid); }

.snap-container { height: 100svh; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.snap-container::-webkit-scrollbar { display: none; }
.panel { position: relative; min-height: 100svh; height: 100svh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; isolation: isolate; }

html.js-enabled .stage { position: relative; height: 400svh; }
html.js-enabled .stage-step { position: absolute; left: 0; width: 100%; height: 100svh; pointer-events: none; scroll-snap-align: start; scroll-snap-stop: always; }
html.js-enabled .stage-step:nth-child(1) { top: 0; }
html.js-enabled .stage-step:nth-child(2) { top: 100svh; }
html.js-enabled .stage-step:nth-child(3) { top: 200svh; }
html.js-enabled .stage-step:nth-child(4) { top: 300svh; }
html.js-enabled .stage-view { position: sticky; top: 0; height: 100svh; overflow: hidden; }
html.js-enabled .stage .panel { position: absolute; inset: 0; scroll-snap-align: none; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
html.js-enabled .stage .panel.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .7s ease; }
html.js-enabled .snap-container { position: relative; }
html.js-enabled .panel.hero, html.js-enabled .panel.contact { scroll-snap-align: none; scroll-snap-stop: normal; }
html.js-enabled .free-snap { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-snap-align: start; }

html.scroll-titles .title-track { position: relative; height: 200svh; }
html.scroll-titles .title-track > .panel { position: sticky; top: 0; }
html.scroll-titles .hero .reveal, html.scroll-titles .hero .reveal-scale, html.scroll-titles .contact .reveal, html.scroll-titles .contact .reveal-scale { opacity: 1; transform: none; transition: none; }
html.scroll-titles .stage { height: 970svh; }
html.scroll-titles .stage-step:nth-child(2) { height: 370svh; }
html.scroll-titles .stage-step:nth-child(3) { top: 570svh; height: 300svh; }
html.scroll-titles .stage-step:nth-child(4) { top: 870svh; }
html.scroll-titles .jobs .reveal { opacity: 1; transform: none; transition: none; }
html.scroll-titles .jobs.is-handover .reveal, html.scroll-titles .cv.is-handover .reveal { opacity: 1; transform: none; transition: none; }
/* Page 3 : vidéo de la poignée de main en arrière-plan plein écran, sous un léger voile vert. */
.expertise-photo { position: absolute; z-index: 0; inset: 0; margin: 0; overflow: hidden; }
.expertise-photo video { position: absolute; right: 0; bottom: 0; display: block; width: 112%; height: 112%; object-fit: cover; }
/* Bouton lecture / pause de la vidéo, en haut à droite sous l'en-tête, avec anneau de progression doré. */
.video-toggle { position: absolute; z-index: 2; top: 178px; right: 7.2%; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(8,21,15,.35); color: var(--acid); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s ease, background .25s ease; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-toggle.is-live { opacity: .85; pointer-events: auto; }
.video-toggle.is-live:hover, .video-toggle.is-live:focus-visible { opacity: 1; background: rgba(8,21,15,.55); outline: none; }
.video-toggle > svg:not(.video-ring) { position: relative; width: 11px; height: 11px; fill: currentColor; }
.video-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; }
.video-ring-track { stroke: rgba(201,171,127,.22); stroke-width: 1; }
.video-ring-progress { stroke: var(--acid); stroke-width: 1.2; stroke-linecap: round; }
.video-toggle .video-toggle-play { display: none; margin-left: 2px; }
.video-toggle.is-paused .video-toggle-play { display: block; }
.video-toggle.is-paused .video-toggle-pause { display: none; }
/* Ombre de la page 3 pendant son arrivée : du côté de la page 3, le long de son bord haut et sur la vidéo. */
.expertise-depth { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(0,0,0,.82) 0, rgba(0,0,0,.55) 22px, rgba(0,0,0,.3) 90px, rgba(0,0,0,0) 190px), linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.1) 45%, rgba(0,0,0,.2)), radial-gradient(ellipse 85% 75% at 50% 50%, transparent 50%, rgba(0,0,0,.3)); }
.expertise-photo-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,21,15,.7), rgba(8,21,15,.42) 55%, rgba(8,21,15,.55)); }
.expertise-heading, .expertise-layout { position: relative; z-index: 1; }
html.scroll-titles .expertise .reveal { opacity: 1; transform: none; transition: none; }
html.scroll-titles .vision.is-handover .reveal { opacity: 1; transform: none; transition: none; }
html.scroll-titles .hero-title { animation: title-in 1.4s ease-out both; }
@keyframes title-in { from { opacity: 0; } }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 156px; padding: 0 7.2% 0 7.8%; display: flex; align-items: center; justify-content: space-between; color: #f2efe6; background: transparent; border-bottom: 1px solid rgba(240,238,229,.15); transition: color .45s ease, background .45s ease, height .45s ease, border-color .45s ease; }
body[data-theme="light"] .site-header { height: 156px; color: var(--ink); background: var(--paper); border-bottom-color: rgba(16,37,29,.12); }
body[data-panel="accueil"] .site-header { border-bottom-color: transparent; }
.brand { position: relative; display: block; flex-shrink: 0; height: 136px; aspect-ratio: 518 / 434; }
.brand-logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .45s ease; }
.brand-logo-dark { opacity: 0; }
body[data-theme="light"] .brand-logo-light { opacity: 0; }
body[data-theme="light"] .brand-logo-dark { opacity: 1; }
.footer-mark { font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .13em; }
.footer-mark span { color: var(--acid); }
.header-right { display: flex; align-items: center; gap: 40px; }
.main-nav { --nav-gap: 40px; display: flex; gap: var(--nav-gap); }
/* Petits traits verticaux entre les rubriques, de la couleur du cadre de « Nous contacter ». */
.main-nav a { position: relative; }
.main-nav a:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: calc(var(--nav-gap) / -2); width: 1px; height: 13px; background: var(--acid); transform: translateY(-50%); pointer-events: none; }
body[data-theme="light"] .main-nav a:not(:last-child)::after { background: var(--ink); }
.main-nav a, .header-cta { font-family: "Avenir Next", "Montserrat", var(--sans); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.main-nav a:hover { color: var(--acid); }
/* « Nous contacter » : même écriture et même couleur que « Scroller pour découvrir ». */
.site-header .header-cta { display: inline-flex; align-items: center; padding: 14px 23px; border: 1px solid var(--acid); font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: rgba(243,239,228,.7); }
.site-header .header-cta:hover { color: var(--ink); background: var(--acid); }
body[data-theme="light"] .main-nav a:hover { color: #8d7555; }
body[data-theme="light"] .site-header .header-cta { border-color: var(--ink); color: rgba(16,37,29,.75); }
body[data-theme="light"] .site-header .header-cta:hover { color: var(--paper); background: var(--ink); }

.dot-nav { position: fixed; z-index: 21; right: 3.2%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 13px; }
.dot-nav a { width: 18px; height: 18px; display: grid; place-items: center; }
.dot-nav a span { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; background: transparent; transition: width .25s ease, height .25s ease, background .25s ease; }
.dot-nav a[aria-current="true"] span { width: 9px; height: 9px; background: var(--acid); border-color: var(--acid); }
.dot-nav { color: var(--paper); transition: color .4s ease; }
body[data-theme="light"] .dot-nav { color: var(--ink); }

.eyebrow { margin: 0 0 25px; display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span:not(.eyebrow-number) { color: var(--acid); }
.eyebrow-number { color: #8d9187; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-weight: 400; letter-spacing: 0; }
h1, h2 { font-family: var(--serif); }
h1 em, h2 em { font-weight: 400; }
.panel-index { position: absolute; right: 7.2%; bottom: 34px; font-size: 10px; letter-spacing: .13em; color: #8b8e86; }
.reveal, .reveal-scale { opacity: 1; }
html.js-enabled .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js-enabled .reveal-scale { opacity: 0; transform: scale(.975); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
html.js-enabled .panel.is-visible .reveal { opacity: 1; transform: translateY(0); }
html.js-enabled .panel.is-visible .reveal-scale { opacity: 1; transform: scale(1); }
html.js-enabled .panel.is-visible .reveal:nth-child(2) { transition-delay: .08s; }
html.js-enabled .panel.is-visible .reveal:nth-child(3) { transition-delay: .16s; }
html.js-enabled .panel.is-visible .reveal:nth-child(4) { transition-delay: .24s; }
html.js-enabled .panel.is-visible .reveal:nth-child(5) { transition-delay: .32s; }

.hero { color: var(--paper); background: #13281e url("images/fond-vert.jpg") left center / cover no-repeat; }
.hero-image { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: 74%; background: url("images/hero-accueil.jpg") 50% center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%), linear-gradient(0deg, transparent, #000 22%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 22%), linear-gradient(0deg, transparent, #000 22%); mask-composite: intersect; }
.hero-shade { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 74%; background: linear-gradient(180deg, rgba(10,26,19,.7), transparent 28%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.hero-content { position: absolute; left: 7.8%; top: 53%; width: min(700px, 52vw); transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { margin-bottom: 30px; color: var(--acid); font-size: 11px; font-weight: 500; letter-spacing: .38em; }
.hero .eyebrow > span { margin: 0 4px; }
.hero-title { color: #f3efe4; font-size: clamp(46px, 5.6vw, 92px); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; }
.hero-title em { color: var(--acid); font-style: italic; font-weight: 400; }
.hero-rule { display: block; width: 62px; height: 1px; margin: 34px 0 30px; background: var(--acid); }
.hero-promise { margin: 0; color: rgba(243,239,228,.88); font-size: clamp(15px, 1.35vw, 20px); line-height: 1.5; }
/* Essai : même écriture que « Nous contacter » (sans majuscules). */
.hero-link { margin-top: 42px; display: inline-flex; align-items: center; gap: 22px; padding: 19px 38px; border: 1px solid var(--acid); color: rgba(243,239,228,.7); font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .32em; transition: color .2s ease, background .2s ease; }
.hero-link span { color: var(--acid); transition: transform .2s ease, color .2s ease; }
.hero-link:hover { color: var(--ink); background: var(--acid); }
.hero-link:hover span { color: var(--ink); transform: translateX(4px); }
.hero-scroll { position: absolute; left: 7.8%; bottom: 34px; display: flex; align-items: flex-end; gap: 26px; color: rgba(243,239,228,.7); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; }
.hero-scroll span:last-child { margin-bottom: 24px; }
.scroll-arrow { position: relative; display: block; width: 1px; height: 50px; background: var(--acid); animation: scroll-hint 2.4s ease-in-out infinite; }
.scroll-arrow::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 7px; height: 7px; border-right: 1px solid var(--acid); border-bottom: 1px solid var(--acid); transform: rotate(45deg); }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.vision { color: var(--paper); background: #0c1e16; display: grid; grid-template-columns: auto minmax(0, 640px); justify-content: start; align-items: center; align-content: safe center; padding: 190px calc(7.8% + 40px) 50px 8.2%; column-gap: clamp(56px, 7vw, 130px); }
/* Fond de la page 2 : la texture de la page 1 retournée verticalement, pour que le haut de la page 2 prolonge exactement le bas de la page 1. */
/* Fond du logo sur toute la hauteur de la page 2. */
.vision::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: #13281e url("images/fond-vert.jpg") left center / cover no-repeat; transform: scaleY(-1); }
/* Ombre de profondeur du fond de la page 2 pendant son arrivée (pilotée par le défilement, absente sinon). */
.vision-depth { position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(4,11,8,.62), rgba(4,11,8,.28) 38%, rgba(4,11,8,.12) 75%, rgba(4,11,8,.2)); box-shadow: inset 0 46px 90px -30px rgba(0,0,0,.7); }
html.scroll-titles .vision .reveal { opacity: 1; transform: none; transition: none; }
.vision-copy { position: relative; z-index: 1; max-width: 640px; }
.vision .eyebrow { gap: 22px; color: var(--acid); font-weight: 500; letter-spacing: .38em; }
.eyebrow-line { width: 40px; height: 1px; background: var(--acid); }
.vision h2 { font-size: clamp(48px, 5.4vw, 88px); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
.vision h2 em { color: var(--acid); font-style: italic; font-weight: 400; }
.jobs h2, .cv h2, .contact h2 { font-size: clamp(48px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.02em; }
.jobs h2 em, .cv h2 em { color: #8d7555; }
.vision-text { max-width: 680px; margin: 28px 0 0; color: rgba(243,239,228,.72); font-size: clamp(14px, .82vw, 16px); line-height: 1.75; text-align: justify; -webkit-hyphens: none; hyphens: none; }
.vision-text p { margin: 0 0 .85em; }
.vision-text p:last-child { margin-bottom: 0; }
/* Colonne de gauche : portrait au format d'origine (2:3, non recadré), aussi haut que la page le permet */
.vision-aside { position: relative; z-index: 1; margin: 0; height: calc(100svh - 280px); max-height: 760px; aspect-ratio: 933 / 1400; }
.vision-portrait { display: block; width: 100%; height: 100%; object-fit: contain; box-shadow: 0 30px 60px -28px rgba(0,0,0,.65); }
.vision .text-link { border-color: var(--acid); }
.vision .text-link span { color: var(--acid); }
.text-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 600; }
/* « Ce qui nous anime » (page 2) : même forme que « Découvrir notre vision » en page 1, sous le texte. */
.vision-link { margin-top: 20px; gap: 22px; padding: 19px 38px; border: 1px solid var(--acid); color: rgba(243,239,228,.7); font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .32em; transition: color .2s ease, background .2s ease; }
.vision-link span { font-size: inherit; transition: transform .2s ease, color .2s ease; }
/* Sur ordinateur, le bouton se place sous le dernier paragraphe, aligné à droite du texte. */
@media (min-width: 1101px) { .vision .vision-link { display: flex; width: fit-content; margin-left: auto; } }
.vision-link:hover { color: var(--ink); background: var(--acid); }
.vision-link:hover span { color: var(--ink); transform: translateX(4px); }
.text-link span { font-size: 15px; }

.expertise { padding: 166px 12.5% 60px; color: var(--paper); background: #0c1e16; }
.expertise .eyebrow { color: rgba(255,255,255,.72); }
/* Mêmes colonnes que la liste et le bloc de détail en dessous, pour aligner le texte d'introduction sur le texte de détail. */
.expertise-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); column-gap: 8%; align-items: end; }
.expertise-heading h2 { width: max-content; }
.expertise-heading .eyebrow { grid-column: 1 / -1; }
.expertise h2 { font-size: clamp(48px, 5vw, 72px); line-height: 1.02; }
.expertise h2 em { color: var(--acid); }
.expertise-intro { width: 296px; max-width: none; margin: 0 0 6px; padding-left: 27px; text-align: justify; -webkit-hyphens: none; hyphens: none; color: #a9ada3; font-size: 13px; line-height: 1.8; }
.expertise-layout { margin-top: 52px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 8%; align-items: center; }
.expertise-grid { border-top: 1px solid var(--rule-dark); }
.expertise-button { position: relative; isolation: isolate; width: 100%; min-height: 78px; display: grid; grid-template-columns: 42px 1fr 24px; gap: 12px; align-items: center; padding: 0 4px; color: white; border: 0; border-bottom: 1px solid var(--rule-dark); background: transparent; text-align: left; cursor: pointer; }
/* Survol et rubrique choisie : un voile doré très léger apparaît, un filet d'or se dessine de gauche à droite,
   l'intitulé glisse doucement et la flèche arrive en diagonale. */
.expertise-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(201,171,127,.11), rgba(201,171,127,.03) 55%, rgba(201,171,127,0)); opacity: 0; transition: opacity .6s cubic-bezier(.22,.61,.36,1); }
.expertise-button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--acid), rgba(201,171,127,.35) 70%, rgba(201,171,127,0)); transform: scaleX(0); transform-origin: left center; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.expertise-count { color: #858a80; font-size: 10px; letter-spacing: .08em; transition: color .5s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.expertise-name { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); transition: color .5s ease, transform .6s cubic-bezier(.22,.61,.36,1), letter-spacing .6s cubic-bezier(.22,.61,.36,1); }
.expertise-name i { color: #969b8f; font-style: normal; }
.expertise-arrow { justify-self: end; color: var(--acid); font-size: 16px; opacity: 0; transform: translate(-10px, 10px); transition: opacity .45s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.expertise-button:is(:hover, :focus-visible, .is-selected)::before { opacity: 1; }
.expertise-button:is(:hover, :focus-visible, .is-selected)::after { transform: scaleX(1); }
.expertise-button:is(:hover, :focus-visible, .is-selected) .expertise-count { color: var(--acid); transform: translateX(8px); }
.expertise-button:is(:hover, :focus-visible, .is-selected) .expertise-name { color: var(--acid); transform: translateX(10px); letter-spacing: .01em; }
.expertise-button:is(:hover, :focus-visible, .is-selected) .expertise-arrow { opacity: 1; transform: none; }
/* Une rubrique survolée mais pas choisie reste un peu plus discrète que la rubrique ouverte. */
.expertise-button:not(.is-selected):is(:hover, :focus-visible) .expertise-name { color: #e6d3b3; }
.expertise-button:not(.is-selected):is(:hover, :focus-visible)::before { opacity: .7; }
.expertise-button:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .expertise-button::before, .expertise-button::after, .expertise-count, .expertise-name, .expertise-arrow { transition: none; }
}
.expertise-detail { position: relative; display: flex; flex-direction: column; width: fit-content; min-height: 268px; padding: 4px 0 4px 30px; border-left: 1px solid var(--rule-dark); }
.detail-kicker { display: block; color: var(--acid); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.expertise-detail h3 { margin: 16px 0 14px; font-family: var(--serif); font-size: clamp(27px, 2.25vw, 32px); font-weight: 400; line-height: 1.2; white-space: pre-line; }
/* Le texte prend exactement la largeur du titre au-dessus (il n'élargit pas le bloc lui-même). */
/* Le lien reste en bas du bloc : sa position ne bouge pas quand le contenu change. */
.expertise-detail .text-link { align-self: flex-start; margin-top: auto; }
/* Ordinateur et tablette : chaque ligne du titre reste entière (« Une expérience affirmée, » sur une seule ligne). */
@media (min-width: 651px) { .expertise-detail h3, .expertise-detail .detail-subtitle { white-space: pre; } }
.detail-clone { position: absolute; margin: 0; pointer-events: none; }
.expertise-detail p { contain: inline-size; max-width: none; min-height: 0; margin-bottom: 20px; text-align: justify; -webkit-hyphens: none; hyphens: none; color: #c4c7be; font-size: 14px; line-height: 1.7; }
.text-link-light { font-size: 11.5px; }
/* Liste à puces d'une rubrique (ex. CDI, CDD, intérim) : petits tirets dorés. */
.expertise-detail .detail-list { contain: inline-size; margin: -8px 0 22px; padding: 0; list-style: none; color: #c4c7be; font-size: 14px; line-height: 1.7; }
.expertise-detail .detail-list li { position: relative; padding-left: 22px; }
.expertise-detail .detail-list li + li { margin-top: 6px; }
.expertise-detail .detail-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 11px; height: 1px; background: var(--acid); }
.expertise-detail .detail-list strong { color: var(--paper); font-weight: 500; }
/* Échelle hiérarchique (Diversité des profils) : un montant doré, un barreau par niveau ; plus on monte, plus le texte s'affirme. */
.expertise-detail .detail-ladder { position: relative; display: flex; flex-direction: column; gap: 9px; margin: -6px 0 24px; padding: 2px 0 2px 26px; list-style: none; contain: inline-size; }
.expertise-detail .detail-ladder::before { content: ""; position: absolute; left: 4px; top: 4px; bottom: 6px; width: 1px; background: linear-gradient(to top, rgba(201,171,127,.25), var(--acid)); }
.expertise-detail .detail-ladder li { position: relative; color: #c4c7be; font-size: 13px; line-height: 1.3; opacity: calc(.55 + var(--rang) * .1125); }
.expertise-detail .detail-ladder li::before { content: ""; position: absolute; left: -26px; top: 50%; width: calc(9px + var(--rang) * 2px); height: 1px; background: var(--acid); }
.expertise-detail .detail-ladder li::after { content: ""; position: absolute; left: -21.5px; top: calc(50% - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--acid); translate: -50% 0; }
.expertise-detail .detail-ladder li.is-top { color: var(--paper); font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.expertise-detail .detail-ladder li.ladder-more { color: var(--acid); opacity: 1; font-family: var(--serif); font-size: 24px; letter-spacing: .25em; line-height: .5; margin: -2px 0 4px; }
.expertise-detail .detail-ladder li.ladder-more::before, .expertise-detail .detail-ladder li.ladder-more::after { content: none; }
.expertise-detail .detail-ladder li.is-top::after { width: 7px; height: 7px; top: calc(50% - 3.5px); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y) .expertise-detail .detail-ladder li { animation: barreau .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.2s + var(--rang) * .09s); }
  @keyframes barreau { from { opacity: 0; translate: 0 8px; } }
}
@media (max-width: 650px) {
  .expertise-detail .detail-ladder { gap: 7px; margin: -2px 0 16px; }
  .expertise-detail .detail-ladder li { font-size: 12.5px; }
  .expertise-detail .detail-ladder li.is-top { font-size: 17px; }
}
@media (max-width: 650px) { .expertise-detail .detail-list { margin: -4px 0 14px; font-size: 13px; line-height: 1.6; } }
/* Seconde partie d'une rubrique : petit titre, puis son texte (séparés de la première partie par un filet). */
.expertise-detail .detail-subtitle { margin: 2px 0 10px; padding-top: 18px; border-top: 1px solid var(--rule-dark); font-family: var(--serif); font-size: clamp(21px, 1.75vw, 25px); font-weight: 400; line-height: 1.2; white-space: pre-line; }

.jobs { padding: 172px 12.5% 60px; background: var(--paper); }
.jobs-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 43px; }
.jobs h2 { font-size: clamp(50px, 5vw, 72px); }
.jobs-intro { width: 225px; margin: 0 5% 5px 25px; color: #6b6e65; font-size: 12px; line-height: 1.8; }
.job-list { border-top: 1px solid var(--rule-light); }
.job-row { min-height: 101px; display: grid; grid-template-columns: 34px minmax(210px, 1fr) 150px 140px 100px; gap: 18px; align-items: center; border-bottom: 1px solid var(--rule-light); }
.job-number { align-self: start; padding-top: 25px; color: #8f9289; font-size: 10px; }
.job-title h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 20px; font-weight: 400; }
.job-title p { margin: 0; color: #787b73; font-size: 10px; }
.job-tag { justify-self: start; padding: 7px 10px; border: 1px solid #d5d6cd; border-radius: 2px; color: #62665d; font-size: 9px; }
.job-location { color: #777a72; font-size: 10px; }
.job-apply { justify-self: end; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; }
.job-apply span { color: #a3855c; font-size: 16px; transition: transform .2s ease; }
.job-apply:hover span { transform: translate(3px, -3px); }
.jobs-footnote { margin: 18px 0 0 34px; color: #8a8d84; font-size: 9px; }
/* Pagination des offres : quatre postes par page, flèches sous la liste lorsqu'il y en a davantage. */
.job-row.is-empty { visibility: hidden; }
.jobs-empty { padding: 46px 0 0; border-top: 1px solid var(--rule-light); }
.jobs-empty[hidden] { display: none; }
.jobs-empty-title { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(30px, 2.6vw, 42px); font-weight: 400; line-height: 1.15; color: var(--ink); }
.jobs-empty-title em { color: #8d7555; }
.jobs-empty-text { max-width: 520px; margin: 18px 0 30px; color: #6b6e65; font-size: 13px; line-height: 1.8; }
.jobs-empty-link { color: var(--ink); }
.jobs-empty-link span { color: #a3855c; transition: transform .2s ease; }
.jobs-empty-link:hover span { transform: translateX(4px); }
@media (max-width: 650px) {
  .jobs-empty { padding-top: 26px; }
  .jobs-empty-title { font-size: clamp(26px, 7.4vw, 32px); }
  .jobs-empty-text { margin: 14px 0 22px; font-size: 12px; }
}
html.a11y .jobs-empty-text { color: #2f342d; font-size: 16px; }
.job-pager { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 16px; }
.job-pager[hidden] { display: none; }
.job-pager button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 1px solid var(--rule-light); border-radius: 50%; background: transparent; color: var(--ink); font-size: 15px; cursor: pointer; transition: border-color .25s ease, color .25s ease, opacity .25s ease; }
.job-pager button:hover:not(:disabled), .job-pager button:focus-visible { border-color: #a3855c; color: #a3855c; outline: none; }
.job-pager button:disabled { opacity: .3; cursor: default; }
.job-pager-count { min-width: 56px; color: #8f9289; font-size: 10px; letter-spacing: .12em; text-align: center; }
.job-pager-count b { color: var(--ink); font-weight: 600; }
/* Avec les flèches, les lignes se resserrent selon la hauteur de la fenêtre pour que tout reste visible. */
@media (min-width: 651px) { .jobs.is-paged .job-row { min-height: clamp(66px, calc((100svh - 480px) / 4), 101px); } }

.cv { padding: 172px 12.5% 60px; display: grid; grid-template-columns: 1fr .85fr; gap: 11%; align-items: center; background: var(--paper); }
.cv-aside { align-self: center; }
.cv h2 { font-size: clamp(47px, 5.1vw, 74px); }
.cv-intro { max-width: 350px; margin: 24px 0 26px; color: #696d62; font-size: 13px; line-height: 1.85; }
.cv-note { display: flex; align-items: center; gap: 10px; color: #656a58; font-size: 10px; }
.cv-note span { color: #a3855c; font-size: 17px; }
.cv-form { padding-top: 9px; }
/* Page 5 en deux parties : candidature à gauche, besoins entreprise à droite.
   ← : la partie droite s'efface et laisse place au formulaire de CV ; → : la partie gauche laisse place au formulaire client. */
.cv { grid-template-columns: 1fr 1fr; grid-template-areas: "left right"; gap: 0 9%; }
.cv > .cv-aside { align-self: center; }
.besoins-aside h2 em { white-space: nowrap; }
.cv > .cv-aside:not(.besoins-aside), .cv > .besoins-form { grid-area: left; }
.cv > .besoins-aside, .cv > #cv-form { grid-area: right; }
.cv > .cv-aside, .cv > .cv-form { transition: opacity .55s ease, visibility 0s linear 0s, translate .55s ease; }
.cv > #cv-form, .cv > .besoins-form { opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .45s ease, visibility 0s linear .45s, translate .45s ease; }
.cv[data-mode="cv"] > .besoins-aside, .cv[data-mode="besoins"] > .cv-aside:not(.besoins-aside) { opacity: 0; visibility: hidden; translate: 0 -10px; transition: opacity .4s ease, visibility 0s linear .4s, translate .4s ease; }
.cv[data-mode="cv"] > #cv-form, .cv[data-mode="besoins"] > .besoins-form { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .55s ease .25s, visibility 0s linear .25s, translate .55s ease .25s; }
.besoins-aside h2 em { color: #8d7555; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.besoins-form .form-row { margin-bottom: 12px; }
.besoins-form select, .besoins-form textarea { width: 100%; padding: 0 2px; border: 0; border-bottom: 1px solid #aeb2a2; border-radius: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 12px; }
.besoins-form select { height: 42px; cursor: pointer; }
.besoins-form textarea { min-height: 54px; padding-top: 10px; resize: none; line-height: 1.5; }
.besoins-form textarea::placeholder { color: #989c90; }
.besoins-form select:focus, .besoins-form textarea:focus { border-bottom-color: #866e4e; }
.besoins-form .submit-button { margin-top: 10px; }
.cv-switches { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 46px; pointer-events: none; }
.cv-switches > * { pointer-events: auto; }
.cv-switch[data-cv-mode="cv"] { justify-self: end; }
.cv-switch[data-cv-mode="besoins"] { justify-self: start; }
.cv-switch { white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--ink); font-family: "Avenir Next", "Montserrat", var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.cv-switch-arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--acid); border-radius: 50%; color: #8d7555; font-size: 18px; letter-spacing: 0; transition: background .25s ease, color .25s ease, transform .25s ease; }
.cv-switch:hover .cv-switch-arrow, .cv-switch:focus-visible .cv-switch-arrow, .cv-switch[aria-pressed="true"] .cv-switch-arrow { background: var(--acid); color: var(--ink); }
.cv-switch[data-cv-mode="cv"]:hover .cv-switch-arrow { transform: translateX(-3px); }
.cv-switch[data-cv-mode="besoins"]:hover .cv-switch-arrow { transform: translateX(3px); }
.cv-switch:focus-visible { outline: none; }
.cv-reset { width: 44px; height: 44px; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--acid); border-radius: 50%; background: none; cursor: pointer; transition: background .25s ease, opacity .25s ease; }
.cv-reset span { width: 8px; height: 8px; border-radius: 50%; background: #8d7555; transition: background .25s ease, transform .25s ease; }
.cv-reset:hover, .cv-reset:focus-visible { background: var(--acid); outline: none; }
.cv-reset:hover span, .cv-reset:focus-visible span { background: var(--ink); transform: scale(1.25); }
.cv:not([data-mode]) .cv-reset { opacity: .45; cursor: default; pointer-events: none; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; }
.form-row label span { color: #777b70; font-weight: 400; }
.form-row input:not([type="file"]) { width: 100%; height: 42px; padding: 0 2px; border: 0; border-bottom: 1px solid #aeb2a2; border-radius: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.form-row input::placeholder { color: #989c90; }
.form-row input:focus { border-bottom-color: #866e4e; }
.file-row input { width: 100%; color: #62665c; font-size: 10px; }
.file-row input::file-selector-button { margin-right: 12px; padding: 9px 12px; border: 1px solid #aeb2a2; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 10px; cursor: pointer; }
.submit-button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding: 0 16px; border: 0; color: white; background: var(--ink); font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.submit-button:hover { background: #41483a; }
.submit-button span { color: var(--acid); font-size: 16px; }
.form-status { min-height: 18px; margin: 10px 0 0; color: #41521a; font-size: 10px; line-height: 1.6; }
.privacy-note { margin: 0; color: #777b70; font-size: 9px; line-height: 1.6; }

/* Haut de la page 6 et bas du côté vert de la page 5 : même teinte unie à la jonction, pour que les deux fonds se fondent. */
.contact { padding: 166px 12.5% 0; color: var(--paper); background: linear-gradient(to bottom, #16251c, rgba(22,37,28,.6) 120px, rgba(22,37,28,0) 320px), #13281e url("images/fond-vert.jpg") left center / cover no-repeat; display: flex; flex-direction: column; }
.contact-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr .84fr; gap: 9%; align-items: center; }
.contact h2 { font-size: clamp(52px, 5.4vw, 78px); }
.contact h2 em { color: var(--acid); }
.contact-intro { max-width: 370px; margin: 24px 0; color: #b6b9b0; font-size: 12px; line-height: 1.8; }
.contact-email { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.5); font-family: var(--serif); font-size: 19px; }
.contact-email span { color: var(--acid); font-family: var(--sans); font-size: 15px; }
.contact-details { display: flex; gap: 35px; margin-top: 31px; }
.contact-details p { margin: 0; color: #d7d9d3; font-size: 10px; line-height: 1.8; }
.contact-details p span { display: block; margin-bottom: 7px; color: #8e9388; font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.contact-linkedin { border-bottom: 1px solid rgba(201,171,127,.5); transition: color .2s ease, border-color .2s ease; }
.contact-linkedin b { color: var(--acid); font-weight: 400; }
.contact-linkedin:hover { color: var(--acid); border-color: var(--acid); }
/* Page 6 : formulaire de contact à droite, en ivoire et doré sur le fond vert. */
.contact-form { width: 100%; max-width: 470px; justify-self: end; color: var(--paper); }
.contact-form .form-row { margin-bottom: 14px; }
.contact-form .form-row label { color: var(--paper); }
.contact-form .form-row label span { color: rgba(240,238,229,.55); }
.contact-form input, .contact-form textarea { width: 100%; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(240,238,229,.32); border-radius: 0; outline: 0; color: var(--paper); background: transparent; font: inherit; font-size: 12px; }
.contact-form .form-row input:not([type="file"]) { color: var(--paper); border-bottom-color: rgba(240,238,229,.32); }
.contact-form textarea { min-height: 62px; padding-top: 10px; resize: none; line-height: 1.5; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(240,238,229,.42); }
.contact-form .form-row input:focus, .contact-form textarea:focus { border-bottom-color: var(--acid); }
.contact-form .submit-button { margin-top: 8px; color: var(--ink); background: var(--acid); }
.contact-form .submit-button:hover { background: #d8bf98; }
.contact-form .submit-button span { color: var(--ink); }
.contact-form .form-status { color: var(--acid); }
/* Case de consentement au-dessus du bouton d'envoi du formulaire de contact. */
.contact-form .form-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 12px; }
.contact-form .form-check input { flex: none; width: 15px; height: 15px; margin: 1px 0 0; padding: 0; border: 0; accent-color: var(--acid); cursor: pointer; }
.contact-form .form-check label { color: rgba(240,238,229,.78); font-size: 10px; line-height: 1.6; cursor: pointer; }
.contact-form .form-check a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 3px; transition: color .2s ease; }
.contact-form .form-check a:hover, .contact-form .form-check a:focus-visible { color: var(--acid); }
/* Fenêtre de confirmation du formulaire de contact. */
.contact-dialog .contact-result-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.contact-dialog .contact-result-text { margin: -10px 0 24px; text-align: center; }
.contact-dialog .contact-send:disabled { opacity: .7; cursor: progress; }
.site-footer { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--rule-dark); color: #a7aaa2; font-size: 9px; }
.footer-mark { color: white; font-size: 10px; }
.site-footer > a:last-of-type { color: white; }
.site-footer > a:last-of-type span { color: var(--acid); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a, .footer-copyright { transition: color .25s ease; }
.footer-legal a:hover, .footer-legal a:focus-visible, .footer-copyright:hover, .footer-copyright:focus-visible { color: white; }

/* Propositions de fin d'adresse e-mail sous les champs e-mail. */
.mail-field { position: relative; }
.mail-suggestions { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px 0; list-style: none; border: 1px solid rgba(16,37,29,.12); background: var(--paper-bright); box-shadow: 0 14px 30px rgba(16,37,29,.14); }
.mail-suggestions[hidden] { display: none; }
/* La ligne qui contient la liste ouverte passe devant les lignes suivantes du formulaire. */
.cv-form > :has(.mail-suggestions:not([hidden])), .contact-form > :has(.mail-suggestions:not([hidden])), .form-pair > :has(.mail-suggestions:not([hidden])) { position: relative; z-index: 10; }
.mail-suggestions li { padding: 8px 14px; overflow: hidden; color: #696d62; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.mail-suggestions li b { color: var(--ink); font-weight: 600; }
.mail-suggestions li:hover, .mail-suggestions li[aria-selected="true"] { background: rgba(201,171,127,.2); }
.besoins-form .mail-suggestions, .contact-form .mail-suggestions { border-color: rgba(240,238,229,.16); background: #10251d; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.besoins-form .mail-suggestions li, .contact-form .mail-suggestions li { color: rgba(240,238,229,.55); }
.besoins-form .mail-suggestions li b, .contact-form .mail-suggestions li b { color: var(--paper); }
.besoins-form .mail-suggestions li:hover, .besoins-form .mail-suggestions li[aria-selected="true"], .contact-form .mail-suggestions li:hover, .contact-form .mail-suggestions li[aria-selected="true"] { background: rgba(201,171,127,.18); }

/* Fenêtre de consentement avant l'envoi d'une candidature. */
.consent-dialog { width: min(520px, calc(100vw - 32px)); max-width: none; padding: 44px 46px 38px; border: 0; color: var(--ink); background: var(--paper-bright); box-shadow: 0 30px 80px rgba(8,21,15,.35); }
.consent-dialog[open] { animation: consent-in .45s cubic-bezier(.2,.7,.2,1); }
.consent-dialog::backdrop { background: rgba(10,24,18,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes consent-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.consent-dialog .eyebrow { margin-bottom: 20px; color: #8d7555; }
.consent-text { margin: 0; color: #4f5449; font-size: 13px; line-height: 1.8; text-align: justify; -webkit-hyphens: none; hyphens: none; }
.consent-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 3px; transition: color .2s ease; }
.consent-text a:hover, .consent-text a:focus-visible { color: #8d7555; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.consent-actions { display: flex; align-items: center; justify-content: flex-end; gap: 26px; margin-top: 30px; }
.consent-actions .submit-button { width: auto; min-width: 190px; gap: 30px; margin: 0; }
.consent-cancel { padding: 0; border: 0; border-bottom: 1px solid rgba(16,37,29,.3); color: #696d62; background: none; font-size: 11px; font-weight: 500; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.consent-cancel:hover { color: var(--ink); border-color: var(--ink); }
.consent-done { text-align: center; }
.consent-done[hidden] { display: none; }
.consent-check { width: 54px; height: 54px; display: inline-grid; place-items: center; border: 1px solid var(--acid); border-radius: 50%; color: #8d7555; font-size: 22px; animation: consent-in .5s cubic-bezier(.2,.7,.2,1); }
.consent-done-title { margin: 20px 0 26px; font-size: clamp(30px, 3vw, 40px); }
@media (max-width: 650px) {
  .consent-dialog { padding: 34px 26px 28px; }
  .consent-text { font-size: 12px; text-align: left; }
}

@media (max-width: 1280px) {
  .header-right { gap: 24px; }
  .main-nav { --nav-gap: 24px; }
  .main-nav a, .header-cta { font-size: 14px; }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
}

@media (max-width: 1000px) {
  .main-nav { display: none; }
}

@media (max-width: 900px) {
  .site-header { padding-inline: 7.8% 5%; }
  .vision, .expertise, .jobs, .cv, .contact { padding-left: 8%; padding-right: 8%; }
  .vision { column-gap: 5%; }
  .expertise-layout { gap: 5%; }
  .expertise-heading { column-gap: 5%; }
  .job-row { grid-template-columns: 26px minmax(180px, 1fr) 115px 110px 85px; gap: 12px; }
  .cv { gap: 7%; }
  .contact-main { gap: 6%; }
}

@media (max-width: 650px) {
  html.scroll-titles .title-track { height: 160svh; }
  html.scroll-titles .stage { height: 860svh; }
  html.scroll-titles .stage-step:nth-child(2) { height: 300svh; }
  html.scroll-titles .stage-step:nth-child(3) { top: 480svh; height: 280svh; }
  html.scroll-titles .stage-step:nth-child(4) { top: 760svh; }
  .site-header, body[data-theme="light"] .site-header { height: 80px; padding-inline: 16px; }
  .brand { height: 70px; }
  .main-nav { display: none; }
  .site-header .header-cta { padding: 9px 12px; font-size: 8px; }
  .dot-nav { right: 10px; gap: 8px; }
  .dot-nav a { width: 16px; height: 16px; }
  .dot-nav a span { width: 4px; height: 4px; }
  .dot-nav a[aria-current="true"] span { width: 7px; height: 7px; }
  .panel-index, .hero-index { right: 22px; bottom: 20px; font-size: 9px; }
  .hero-image, .hero-shade { width: 100%; }
  .hero-image { background-position: 38% 20%; }
  .hero-image, .hero-shade { -webkit-mask-image: none; mask-image: none; }
  .hero-shade { background: linear-gradient(0deg, #0f241a 0%, rgba(15,36,26,.92) 45%, rgba(15,36,26,.35) 75%, rgba(15,36,26,.6)); }
  .hero-content { left: 16px; right: 16px; top: auto; bottom: 92px; width: auto; transform: none; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 9px; letter-spacing: .3em; }
  .hero-title { font-size: clamp(40px, 11vw, 54px); }
  .hero-rule { margin: 20px 0 16px; }
  .hero-promise { font-size: 14px; }
  .hero-link { margin-top: 24px; padding: 14px 22px; font-size: 11px; }
  .hero-scroll { left: 16px; bottom: 20px; gap: 14px; font-size: 8px; }
  .scroll-arrow { height: 32px; }
  .hero-scroll span:last-child { margin-bottom: 12px; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }

  .vision { padding: 98px 38px 52px 16px; grid-template-columns: 1fr; align-content: center; gap: 0; }
  .vision h2, .jobs h2, .cv h2, .contact h2 { font-size: clamp(42px, 11vw, 58px); }
  .vision-text { max-width: 100%; margin: 16px 0 13px; font-size: 13px; line-height: 1.7; }
  .vision-copy { max-width: 100%; }
  .vision-aside { display: none; }
  .vision-link { margin-top: 18px; padding: 14px 22px; font-size: 11px; }
  .text-link { font-size: 10px; }

  .expertise { padding: 99px 8% 55px; display: flex; flex-direction: column; justify-content: center; }
  .expertise-heading { display: block; }
  .expertise h2 { font-size: clamp(43px, 10.7vw, 58px); }
  .expertise-heading h2 { width: auto; }
  .expertise-intro { width: auto; max-width: 314px; margin: 13px 0 0; padding-left: 14px; font-size: 10px; }
  .expertise-layout { margin-top: 28px; display: block; }
  .expertise-button { min-height: 58px; grid-template-columns: 28px 1fr 20px; }
  .expertise-name { font-size: 21px; }
  .expertise-detail { min-height: auto; margin-top: 19px; padding: 0 0 0 14px; width: auto; }
  .expertise-detail h3 { margin: 9px 0 8px; font-size: 22px; }
  .expertise-detail .detail-subtitle { margin: 0 0 6px; padding-top: 10px; font-size: 18px; }
  .expertise-detail p { min-height: 0; margin-bottom: 12px; font-size: 13px; line-height: 1.6; text-align: left; }
  .expertise-detail .text-link-light { font-size: 10.5px; }
  .detail-kicker { font-size: 9.5px; }

  .jobs { padding: 99px 8% 52px; display: flex; flex-direction: column; justify-content: center; }
  .jobs-top { display: block; margin-bottom: 23px; }
  .jobs h2 { font-size: clamp(44px, 10.8vw, 60px); }
  .jobs-intro { width: auto; max-width: 280px; margin: 12px 0 0; font-size: 10px; }
  .job-row { min-height: 100px; grid-template-columns: 22px 1fr auto; gap: 8px 10px; padding: 12px 0; }
  .job-number { grid-row: 1 / span 2; padding-top: 3px; }
  .job-title { grid-column: 2; }
  .job-title h3 { margin-bottom: 4px; font-size: 17px; }
  .job-title p { font-size: 9px; }
  .job-tag { grid-column: 2; grid-row: 2; padding: 5px 7px; font-size: 8px; }
  .job-location { grid-column: 3; grid-row: 1; align-self: start; padding-top: 4px; font-size: 8px; text-align: right; }
  .job-apply { grid-column: 3; grid-row: 2; align-self: end; font-size: 9px; }
  .job-apply span { font-size: 13px; }
  .jobs-footnote { margin: 12px 0 0 30px; font-size: 8px; }
  .jobs.is-paged .job-row { min-height: 84px; }
  .job-pager { gap: 10px; margin-top: 10px; }
  .job-pager button { width: 34px; height: 34px; font-size: 13px; }

  .cv { padding: 96px 8% 80px; display: grid; grid-template-columns: 1fr; grid-template-areas: "left" "right"; align-content: center; gap: 22px; }
  .cv[data-mode="cv"] { grid-template-areas: "left" "right"; }
  /* Téléphone : « Exprimez vos besoins » reste en bas ; son formulaire s'ouvre en haut, à la place du bloc CV. */
  .cv[data-mode="besoins"] { grid-template-areas: "left" "right"; }
  .form-pair { gap: 0 12px; }
  .besoins-form .form-row { margin-bottom: 6px; }
  .besoins-form select { height: 32px; font-size: 11px; }
  .besoins-form textarea { min-height: 40px; font-size: 11px; }
  .cv-switches { bottom: 16px; gap: 12px; }
  .besoins-aside h2 br:nth-of-type(2) { display: none; }
  .cv-switch { font-size: 8px; gap: 8px; }
  .cv-switch-arrow { width: 34px; height: 34px; font-size: 14px; }
  .cv-reset { width: 34px; height: 34px; }
  .cv h2 { font-size: clamp(41px, 10vw, 55px); }
  .cv-intro { margin: 12px 0; font-size: 10px; }
  .cv-note { margin: 0; font-size: 9px; }
  .cv-form { width: 100%; padding: 0; }
  .form-row { margin-bottom: 11px; }
  .form-row label { margin-bottom: 5px; font-size: 9px; }
  .form-row input:not([type="file"]) { height: 32px; font-size: 11px; }
  .file-row input { font-size: 9px; }
  .file-row input::file-selector-button { padding: 7px 9px; font-size: 9px; }
  .submit-button { min-height: 43px; margin-top: 10px; font-size: 10px; }
  .form-status { min-height: 0; margin-top: 5px; font-size: 9px; }
  .privacy-note { font-size: 8px; }

  .contact { height: auto; min-height: 100svh; padding: 88px 8% 0; }
  .contact-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 16px; padding-bottom: 10px; }
  .contact h2 { font-size: clamp(38px, 9.6vw, 52px); }
  .contact-intro { margin: 13px 0; max-width: 320px; font-size: 10px; }
  .contact-email { font-size: 16px; }
  .contact-details { gap: 22px; margin-top: 14px; }
  .contact-details p { font-size: 9px; }
  .contact-form { max-width: none; }
  .contact-form .form-row { margin-bottom: 6px; }
  .contact-form .form-row label { margin-bottom: 3px; }
  .contact-form .form-row input:not([type="file"]) { height: 30px; font-size: 11px; }
  .contact-form textarea { min-height: 38px; padding-top: 6px; font-size: 11px; }
  .contact-form .submit-button { min-height: 40px; margin-top: 4px; }
  .contact-form .form-status { min-height: 0; margin: 4px 0 0; }
  .contact-form .form-check { margin: 2px 0 6px; }
  .contact-form .form-check label { font-size: 9px; line-height: 1.5; }
  .site-footer { min-height: 57px; flex-wrap: wrap; justify-content: space-between; row-gap: 4px; padding: 10px 0; font-size: 8px; }
  .footer-mark { font-size: 9px; }
  .footer-legal { flex-wrap: wrap; gap: 4px 12px; }
  .contact .panel-index { bottom: 18px; }
  .video-toggle { top: 94px; right: 16px; width: 34px; height: 34px; }
}

/* Page « Notre vision » sur les écrans étroits : portrait un peu plus petit pour laisser de la place au texte. */
@media (max-width: 1100px) and (min-width: 651px) {
  .vision .vision-aside { height: min(calc(100svh - 280px), 46vw); }
}

/* Page « Notre vision » sur les écrans peu hauts : titre et interlignes resserrés pour que le bouton reste visible. */
@media (max-height: 820px) and (min-width: 651px) {
  .vision { padding-top: 150px; padding-bottom: 40px; }
  .vision h2 { font-size: clamp(44px, 4.4vw, 60px); }
  .vision-text { margin-top: 20px; line-height: 1.62; }
  .vision-link { margin-top: 14px; padding: 16px 32px; }
  .vision-aside { height: calc(100svh - 230px); }
}

/* Page « Nos expertises » sur les écrans peu hauts (portables) : tout est resserré pour que le bas de la page reste visible.
   Si cela ne suffit pas, script.js réduit légèrement l'ensemble (voir « ajusterExpertises »). */
@media (max-height: 920px) and (min-width: 651px) {
  .expertise { padding-bottom: 28px; }
  .expertise h2 { font-size: clamp(44px, min(5vw, 8vh), 72px); }
  .expertise-layout { margin-top: 30px; }
  .expertise-button { min-height: clamp(54px, 8.4vh, 78px); }
  .expertise-detail h3 { margin: 12px 0 10px; }
  .expertise-detail p { margin-bottom: 14px; line-height: 1.6; }
  .expertise-detail .detail-ladder { gap: 6px; margin: -4px 0 16px; }
  .expertise-detail .detail-list { margin: -6px 0 16px; line-height: 1.6; }
  .expertise-detail .detail-list li + li { margin-top: 3px; }
}

@media (max-height: 740px) and (min-width: 651px) {
  .vision, .expertise, .jobs, .cv, .contact { padding-top: 118px; }
  .vision { padding-top: 134px; padding-bottom: 32px; }
  .site-header { height: 108px; }
  .video-toggle { top: 126px; }
  body[data-theme="light"] .site-header { height: 108px; }
  .brand { height: 92px; }
  .hero-content { top: 55%; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-rule { margin: 22px 0 18px; }
  .hero-link { margin-top: 26px; }
  .expertise-layout { margin-top: 27px; }
  .job-row { min-height: 82px; }
  .cv { padding-bottom: 55px; }
  .jobs.is-paged .jobs-top { margin-bottom: 30px; }
  .jobs.is-paged .job-row { min-height: 76px; }
}

/* Essai : partie gauche de la page 5 sur le fond du logo, partie droite ivoire.
   Au clic sur une flèche, la partie qui reste se resserre pour laisser plus de place au formulaire. */
@property --split { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.panel.cv { --split: 50%; padding: 172px 0 60px; grid-template-columns: var(--split) 1fr; gap: 0;}
.panel.cv[data-mode="cv"] { --split: 42%; }
.panel.cv[data-mode="besoins"] { --split: 58%; }
.cv::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: var(--split); background: linear-gradient(to top, #16251c, rgba(22,37,28,.6) 110px, rgba(22,37,28,0) 260px), #13281e url("images/fond-vert.jpg") left center / max(100vw, 267.3svh) auto no-repeat; }
.cv > .cv-aside:not(.besoins-aside), .cv > .besoins-form { padding: 0 4vw 0 8vw; }
.cv > .besoins-aside, .cv > #cv-form { padding: 0 8vw 0 4vw; }
.cv > .cv-form { width: auto; }
.cv > .cv-aside:not(.besoins-aside) h2 em { display: block; white-space: nowrap; }
/* Le titre qui reste se réduit d'un seul bloc (échelle), sans recalculer la taille des lettres à chaque image :
   le mouvement est fluide et les lettres ne tremblent pas. Le rapport exact est calculé par script.js (--cv-title-scale). */
.cv h2 { transform-origin: left center; transition: scale .9s cubic-bezier(.65, 0, .35, 1); }
html.js-enabled .cv h2.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), scale .9s cubic-bezier(.65, 0, .35, 1); }
@media (min-width: 651px) {
  /* Lignes fixées par les <br> : le titre ne se recoupe pas quand sa colonne se resserre. */
  .cv h2 { white-space: nowrap; }
  .cv > .cv-aside { min-width: 0; }
  /* !important : les animations d'apparition (GSAP) remettent « scale: none » directement sur le titre. */
  .cv[data-mode="cv"] > .cv-aside:not(.besoins-aside) h2, .cv[data-mode="besoins"] > .besoins-aside h2 { scale: var(--cv-title-scale, .84) !important; }
}
/* Textes de la partie gauche en ivoire sur le fond vert. */
.cv > .cv-aside:not(.besoins-aside) { color: var(--paper); }
.cv > .cv-aside:not(.besoins-aside) h2 em { color: var(--acid); }
.cv > .cv-aside:not(.besoins-aside) .eyebrow-number { color: rgba(240,238,229,.5); }
.cv > .cv-aside:not(.besoins-aside) .cv-intro { color: rgba(243,239,228,.72); }
.cv > .cv-aside:not(.besoins-aside) .cv-note { color: rgba(243,239,228,.62); }
.cv > .cv-aside:not(.besoins-aside) .cv-note span { color: var(--acid); }
.besoins-form { color: var(--paper); }
.besoins-form .form-row label span { color: rgba(240,238,229,.55); }
.besoins-form .form-row input:not([type="file"]), .besoins-form select, .besoins-form textarea { color: var(--paper); border-bottom-color: rgba(240,238,229,.32); }
.besoins-form .form-row input::placeholder, .besoins-form textarea::placeholder { color: rgba(240,238,229,.42); }
.besoins-form .form-row input:focus, .besoins-form select:focus, .besoins-form textarea:focus { border-bottom-color: var(--acid); }
.besoins-form select option { color: var(--ink); }
.besoins-form .submit-button { color: var(--ink); background: var(--acid); }
.besoins-form .submit-button:hover { background: #d8bf98; }
.besoins-form .submit-button span { color: var(--ink); }
.besoins-form .form-status { color: var(--acid); }
/* Flèches : celle de gauche en ivoire sur le vert, celle de droite couleur fond du logo ; le cercle suit la séparation. */
.cv-switches { grid-template-columns: var(--split) 1fr; gap: 0; }
.cv-switch[data-cv-mode="cv"] { margin-right: 68px; color: var(--paper); }
.cv-switch[data-cv-mode="besoins"] { margin-left: 68px; color: #13281e; }
.cv-switch[data-cv-mode="cv"] .cv-switch-arrow { border-color: var(--paper); color: var(--paper); }
.cv-switch[data-cv-mode="cv"]:hover .cv-switch-arrow, .cv-switch[data-cv-mode="cv"]:focus-visible .cv-switch-arrow, .cv-switch[data-cv-mode="cv"][aria-pressed="true"] .cv-switch-arrow { background: var(--paper); color: #13281e; }
.cv-reset { position: absolute; left: var(--split); top: 50%; translate: -50% -50%; background: var(--paper); }
.cv:not([data-mode]) .cv-reset { opacity: 1; }
.cv:not([data-mode]) .cv-reset span { opacity: .35; }

/* Essai : les couleurs de la page 5 arrivent avec ses textes, au rythme du défilement.
   --wipe : le fond vert s'étend depuis la gauche ; --tint : les textes de gauche passent du sombre à l'ivoire (0 → 1). */
@property --wipe { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --tint { syntax: "<number>"; inherits: true; initial-value: 1; }
.cv::before { clip-path: inset(0 calc((1 - var(--wipe)) * 100%) 0 0); }
.cv > .cv-aside:not(.besoins-aside), .cv-switch[data-cv-mode="cv"] { color: color-mix(in srgb, var(--paper) calc(var(--tint) * 100%), var(--ink)); }
.cv > .cv-aside:not(.besoins-aside) h2 em { color: color-mix(in srgb, var(--acid) calc(var(--tint) * 100%), #8d7555); }
.cv > .cv-aside:not(.besoins-aside) .eyebrow-number { color: color-mix(in srgb, rgba(240,238,229,.5) calc(var(--tint) * 100%), #8d9187); }
.cv > .cv-aside:not(.besoins-aside) .cv-intro { color: color-mix(in srgb, rgba(243,239,228,.72) calc(var(--tint) * 100%), #696d62); }
.cv > .cv-aside:not(.besoins-aside) .cv-note { color: color-mix(in srgb, rgba(243,239,228,.62) calc(var(--tint) * 100%), #656a58); }
.cv > .cv-aside:not(.besoins-aside) .cv-note span { color: color-mix(in srgb, var(--acid) calc(var(--tint) * 100%), #a3855c); }
.cv-switch[data-cv-mode="cv"] .cv-switch-arrow { border-color: color-mix(in srgb, var(--paper) calc(var(--tint) * 100%), var(--acid)); color: color-mix(in srgb, var(--paper) calc(var(--tint) * 100%), #8d7555); }

@media (max-width: 650px) {
  .panel.cv, .panel.cv[data-mode] { padding: 96px 0 80px; grid-template-columns: 1fr; gap: 22px; }
  .cv::before { display: none; }
  .cv > .cv-aside:not(.besoins-aside), .cv > .besoins-form { padding: 22px 8%; background: #13281e url("images/fond-vert.jpg") left center / cover no-repeat; }
  /* Sur mobile, le bloc vert apparaît en fondu (voile crème qui s'efface) pendant l'arrivée des textes. */
  /* Le fond vert est porté par un calque transparent au départ : pendant le passage depuis « Nos opportunités »,
     le bloc ne masque plus le haut de la page précédente (avant, un voile crème opaque le recouvrait). */
  .cv > .cv-aside:not(.besoins-aside) { position: relative; isolation: isolate; background: none; }
  .cv > .cv-aside:not(.besoins-aside)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #13281e url("images/fond-vert.jpg") left center / cover no-repeat; opacity: var(--wipe); }
  .cv > .besoins-aside, .cv > #cv-form { padding: 0 8%; }
  .cv-switches { grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .cv-switch[data-cv-mode="cv"] { margin-right: 0; color: #13281e; }
  .cv-switch[data-cv-mode="besoins"] { margin-left: 0; }
  .cv-switch[data-cv-mode="cv"] .cv-switch-arrow { border-color: #13281e; color: #13281e; }
  .cv-switch[data-cv-mode="cv"][aria-pressed="true"] .cv-switch-arrow, .cv-switch[data-cv-mode="cv"]:hover .cv-switch-arrow { background: #13281e; color: var(--paper); }
  .cv-reset { position: static; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (max-height: 700px) and (min-width: 651px) { .jobs.is-paged .job-row { min-height: 70px; } }

/* Bouton d'accessibilité dans l'en-tête : même filet que « Nous contacter ». */
.a11y-toggle { width: 42px; height: 42px; flex: none; display: grid; place-items: center; margin-left: -22px; padding: 0; border: 1px solid var(--acid); border-radius: 50%; background: transparent; color: rgba(243,239,228,.85); cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.a11y-toggle svg { width: 22px; height: 22px; fill: currentColor; }
/* Écrans moyens : l'en-tête est plus serré, le bouton d'accessibilité et le sélecteur de langue gardent un peu d'air. */
@media (max-width: 1280px) and (min-width: 651px) {
  .site-header .a11y-toggle { margin-left: -10px; }
  .site-header .lang-switch { margin-left: -8px; }
}
/* Sélecteur de langue (FR / EN), tout à droite de l'en-tête : la langue affichée est en doré. */
.lang-switch { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 10px; margin-left: -22px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .18em; }
.lang-switch a { padding: 6px 0; color: rgba(243,239,228,.55); transition: color .2s ease; }
.lang-switch a + a::before { content: ""; display: inline-block; width: 1px; height: 11px; margin-right: 10px; vertical-align: -1px; background: rgba(243,239,228,.3); }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--paper); }
.lang-switch a[aria-current] { color: var(--acid); }
body[data-theme="light"] .lang-switch a { color: rgba(16,37,29,.5); }
body[data-theme="light"] .lang-switch a + a::before { background: rgba(16,37,29,.3); }
body[data-theme="light"] .lang-switch a:hover { color: var(--ink); }
body[data-theme="light"] .lang-switch a[aria-current] { color: #8d7555; }
html.a11y .lang-switch { font-size: 14px; }
html.a11y .lang-switch a { color: var(--paper); }
.a11y-toggle:hover, .a11y-toggle:focus-visible { color: var(--ink); background: var(--acid); outline: none; }
body[data-theme="light"] .a11y-toggle { border-color: var(--ink); color: rgba(16,37,29,.8); }
body[data-theme="light"] .a11y-toggle:hover, body[data-theme="light"] .a11y-toggle:focus-visible { color: var(--paper); background: var(--ink); }
@media (max-width: 650px) {
  .site-header .header-right { gap: 10px; }
  .a11y-toggle { width: 36px; height: 36px; margin-left: 0; }
  .a11y-toggle svg { width: 17px; height: 17px; }
  .lang-switch { margin-left: 0; gap: 7px; font-size: 10px; letter-spacing: .12em; }
  .lang-switch a + a::before { margin-right: 7px; }
}

/* Mode accessible : défilement classique sans animation, sections qui s'allongent selon leur contenu,
   textes plus contrastés, contour de focus bien visible. */
html.a11y *, html.a11y *::before, html.a11y *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y .snap-container { height: auto; overflow: visible; scroll-snap-type: none; }
html.a11y .panel { height: auto; min-height: 100svh; overflow-x: clip; overflow-y: visible; scroll-snap-align: none; }
html.a11y .stage-step { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
html.a11y main p, html.a11y .consent-text { text-align: left; }
html.a11y .site-header, html.a11y body[data-theme="light"] .site-header { color: #f2efe6; background: var(--ink); border-bottom-color: rgba(240,238,229,.15); }
html.a11y .site-header .header-cta { color: var(--paper); font-size: 14px; letter-spacing: .14em; }
html.a11y .a11y-toggle { color: var(--ink); background: var(--acid); border-color: var(--acid); }
html.a11y .dot-nav, html.a11y .video-toggle { display: none; }
html.a11y :focus-visible { outline: 3px solid var(--acid) !important; outline-offset: 3px !important; }
html.a11y .jobs :is(.job-number, .job-title p, .job-tag, .job-location, .jobs-intro, .job-pager-count) { color: #2f342d; }
html.a11y .jobs .job-tag { border-color: #6b6e65; }
html.a11y .besoins-aside p:not(.eyebrow), html.a11y #cv-form :is(.privacy-note, label span) { color: #2f342d; }
html.a11y #cv-form ::placeholder { color: #5b5f55; }
html.a11y :is(.besoins-form, .contact-form) label span { color: rgba(240,238,229,.88); }
html.a11y :is(.besoins-form, .contact-form) ::placeholder { color: rgba(240,238,229,.72); }
html.a11y .panel.cv { padding-bottom: 130px; }
@media (max-width: 650px) {
  html.a11y .site-header .header-cta { font-size: 14px; letter-spacing: .06em; padding: 8px 10px; }
  html.a11y .cv-switch { white-space: normal; letter-spacing: .04em; }
  html.a11y .cv-switch[data-cv-mode="cv"] { text-align: right; }
}
html.a11y .eyebrow { white-space: normal; max-width: 100%; }
html.a11y .hero .eyebrow { white-space: normal; letter-spacing: .14em; }
@media (max-width: 650px) {
  html.a11y .cv-switches { position: static; margin-top: 28px; padding: 0 8%; }
}
html.a11y .cv-switch-arrow { flex: none; }

/* Contour clavier du bouton d'accessibilité (site initial et mode accessible). */
.a11y-toggle:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
html.a11y .a11y-toggle:focus-visible { outline: 3px solid var(--paper) !important; outline-offset: 3px !important; }
/* Lien « Aller au contenu » : premier arrêt du clavier en mode accessible, visible seulement lorsqu'il a le focus. */
.skip-link { display: none; }
html.a11y .skip-link { display: block; position: fixed; z-index: 40; top: 12px; left: 12px; padding: 12px 18px; color: var(--ink); background: var(--acid); font-size: 15px; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
html.a11y .skip-link:focus { transform: none; }
html.a11y main:focus { outline: none; }
/* Le défilement (clavier, ancres) réserve la hauteur de l'en-tête fixe : rien ne se retrouve caché dessous. */
html.a11y { --a11y-header: 172px; scroll-padding-top: var(--a11y-header); scroll-behavior: auto; }
@media (max-width: 650px) { html.a11y { --a11y-header: 96px; } }
@media (max-height: 740px) and (min-width: 651px) { html.a11y { --a11y-header: 124px; } }
/* Les sections ont déjà leur marge sous l'en-tête : les liens du menu arrivent tout en haut de la section. */
html.a11y :is(.stage-step, .panel) { scroll-margin-top: calc(-1 * var(--a11y-header)); }

/* Mode accessible : bouton « Afficher plus de postes » sous la liste des offres. */
html.a11y .job-row[hidden], .job-more-button[hidden] { display: none; }
.job-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 24px; }
.job-more-count { margin: 0; color: #2f342d; font-size: 15px; }
.job-more-button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; }
.job-more-button span { color: #8d7555; }
.job-more-button:hover { color: var(--paper); background: var(--ink); }
.job-more-button:hover span { color: var(--acid); }
/* Mode accessible : textes qui apparaissent après coup (suggestions d'e-mail, messages des formulaires) à 14 px minimum. */
html.a11y .mail-suggestions li { font-size: 15px; }
html.a11y .form-status { font-size: 14px; }
/* Mode accessible, page 3 : voile plus soutenu sur la poignée de main figée, pour un texte bien contrasté. */
html.a11y .expertise-photo-shade { background: linear-gradient(90deg, rgba(8,21,15,.84), rgba(8,21,15,.66) 55%, rgba(8,21,15,.74)); }
@media (max-width: 650px) { html.a11y .expertise-photo-shade { background: rgba(8,21,15,.76); } }
/* Page 6 : titre « Et si tout commençait par un premier contact ? » sur deux lignes, à une taille qui suit la largeur et la hauteur de l'écran. */
@media (min-width: 651px) { .contact h2#contact-title { font-size: clamp(40px, min(4.4vw, 7.8svh), 76px); } }
/* Accueil : « Le talent donne le ton. La rencontre change la donne. », une phrase par ligne sur ordinateur ;
   « change la donne. » reste groupé sur mobile. La taille suit la largeur et la hauteur de l'écran. */
.hero-title em { white-space: nowrap; }
@media (min-width: 651px) { .hero-title { font-size: clamp(42px, min(4.6vw, 8.2svh), 64px); } }
@media (max-width: 650px) { .hero-title { font-size: clamp(32px, min(10vw, 5.6svh), 50px); } }

/* ---------------------------------------------------------------------------
   Menu tablette et téléphone (en dessous de 1180 px, les liens du haut n'ont plus la place) :
   bouton « Menu » dans l'en-tête, qui ouvre un panneau plein écran sur fond vert.
   --------------------------------------------------------------------------- */
.menu-toggle, .main-nav-extra { display: none; }
@media (max-width: 1180px) {
  .menu-toggle { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 42px; padding: 0 2px; border: 0; background: none; color: inherit; font-family: var(--sans); font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; cursor: pointer; }
  .menu-toggle-lines { position: relative; width: 26px; height: 9px; }
  .menu-toggle-lines span { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .5s cubic-bezier(.22,.61,.36,1), width .5s cubic-bezier(.22,.61,.36,1), top .5s cubic-bezier(.22,.61,.36,1); }
  .menu-toggle-lines span:first-child { top: 0; }
  .menu-toggle-lines span:last-child { top: 8px; width: 68%; }
  .menu-toggle:hover .menu-toggle-lines span:last-child { width: 100%; }
  body.menu-open .menu-toggle-lines span:first-child { top: 4px; transform: rotate(45deg); }
  body.menu-open .menu-toggle-lines span:last-child { top: 4px; width: 100%; transform: rotate(-45deg); }
  .menu-toggle:focus-visible { outline: 1px solid var(--acid); outline-offset: 4px; }

  .site-header .main-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; padding: 120px 10% 56px; counter-reset: menu; background: linear-gradient(to bottom, rgba(12,30,22,.55), rgba(12,30,22,.15) 45%, rgba(12,30,22,.75)), #10251d url("images/fond-vert.jpg") center / cover no-repeat; opacity: 0; visibility: hidden; transition: opacity .55s cubic-bezier(.22,.61,.36,1), visibility 0s linear .55s; }
  body.menu-open .site-header .main-nav { opacity: 1; visibility: visible; transition: opacity .55s cubic-bezier(.22,.61,.36,1); }
  .site-header .main-nav a { display: flex; align-items: baseline; gap: 20px; padding: 9px 0; color: var(--paper); font-family: var(--serif); font-size: clamp(30px, 7.4vw, 48px); font-weight: 400; line-height: 1.15; letter-spacing: 0; white-space: normal; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .7s cubic-bezier(.22,.61,.36,1), color .3s ease; }
  .site-header .main-nav a::after { display: none; }
  .site-header .main-nav a:not(.main-nav-mail)::before { counter-increment: menu; content: counter(menu, decimal-leading-zero); min-width: 22px; color: var(--acid); font-family: var(--sans); font-size: 10px; letter-spacing: .12em; }
  .site-header .main-nav a:hover, .site-header .main-nav a:focus-visible { color: var(--acid); outline: none; }
  .site-header .main-nav .main-nav-extra { display: flex; }
  .site-header .main-nav .main-nav-mail { margin-top: clamp(24px, 5vh, 48px); padding-top: 22px; border-top: 1px solid rgba(201,171,127,.35); color: rgba(240,238,229,.75); font-family: var(--sans); font-size: 13px; letter-spacing: .06em; }
  body.menu-open .site-header .main-nav a { opacity: 1; transform: none; }
  body.menu-open .site-header .main-nav a:nth-child(1) { transition-delay: .08s; }
  body.menu-open .site-header .main-nav a:nth-child(2) { transition-delay: .13s; }
  body.menu-open .site-header .main-nav a:nth-child(3) { transition-delay: .18s; }
  body.menu-open .site-header .main-nav a:nth-child(4) { transition-delay: .23s; }
  body.menu-open .site-header .main-nav a:nth-child(5) { transition-delay: .28s; }
  body.menu-open .site-header .main-nav a:nth-child(6) { transition-delay: .33s; }
  body.menu-open .site-header .main-nav a:nth-child(7) { transition-delay: .4s; }
  /* Menu ouvert : l'en-tête reste clair sur le fond vert, même depuis une page à fond crème. */
  body.menu-open .site-header, body.menu-open[data-theme="light"] .site-header { color: #f2efe6; background: transparent; border-bottom-color: rgba(240,238,229,.12); }
  body.menu-open[data-theme="light"] .brand-logo-light { opacity: 1; }
  body.menu-open[data-theme="light"] .brand-logo-dark { opacity: 0; }
  body.menu-open[data-theme="light"] .a11y-toggle { border-color: var(--acid); color: #f2efe6; }
  body.menu-open[data-theme="light"] .site-header .header-cta { border-color: var(--acid); color: #f2efe6; }
  body.menu-open[data-theme="light"] .lang-switch a { color: rgba(243,239,228,.55); }
  body.menu-open[data-theme="light"] .lang-switch a + a::before { background: rgba(243,239,228,.3); }
  body.menu-open[data-theme="light"] .lang-switch a[aria-current] { color: var(--acid); }
  body.menu-open .dot-nav { opacity: 0; pointer-events: none; }
}
@media (max-width: 650px) {
  .site-header .header-cta { display: none; }
  .site-header .header-right { gap: 14px; }
  .menu-toggle { gap: 10px; font-size: 9.5px; letter-spacing: .22em; }
  .site-header .main-nav { padding: 104px 9% 40px; }
  .site-header .main-nav a { gap: 16px; padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .main-nav, .site-header .main-nav a, .menu-toggle-lines span { transition: none !important; }
}
html.a11y body.menu-open .site-header { background: var(--ink); }

/* ---------------------------------------------------------------------------
   Téléphone : finitions « premium » (lisibilité, confort au doigt, mise en page plus aérée).
   --------------------------------------------------------------------------- */
@media (max-width: 650px) {
  /* Les points de navigation sur le côté sont remplacés par le menu : le texte retrouve des marges égales. */
  .dot-nav { display: none; }
  .vision { padding-right: 16px; }

  /* Textes un peu plus grands, alignés à gauche (pas d'espaces irréguliers dans les colonnes étroites). */
  .eyebrow, .hero .eyebrow { font-size: 10px; }
  .hero-scroll { font-size: 9px; }
  .text-link { font-size: 11px; }
  .vision-text { text-align: left; }
  .expertise-intro { max-width: none; font-size: 12.5px; line-height: 1.7; text-align: left; }
  .detail-kicker { font-size: 10px; }
  .expertise-detail .text-link-light { font-size: 11px; }
  .jobs-intro { max-width: 320px; font-size: 12px; line-height: 1.6; }
  .job-title p { font-size: 10.5px; }
  .job-tag { font-size: 9.5px; }
  .job-location { font-size: 10px; }
  .job-apply { font-size: 11px; }
  .job-pager button { width: 42px; height: 42px; }
  .cv-switch { font-size: 9.5px; }
  .cv-intro { font-size: 12px; line-height: 1.6; }
  .cv-note { font-size: 10.5px; }
  .form-row label { font-size: 10.5px; }
  .submit-button { font-size: 11px; }
  .form-status { font-size: 10.5px; }
  .privacy-note { font-size: 9.5px; line-height: 1.5; }
  .contact-intro { font-size: 12px; line-height: 1.6; }
  .contact-details p { font-size: 10.5px; }
  .contact-details p span { font-size: 8.5px; }
  .contact-form .form-check label { font-size: 10.5px; }
  .site-footer { font-size: 10px; }
  .footer-mark { font-size: 10px; }
  .footer-legal { gap: 2px 16px; }
  .footer-legal a, .footer-copyright { display: inline-block; padding: 6px 0; }

  /* Champs de saisie en 16 px : l'iPhone ne zoome plus automatiquement quand on touche un champ. */
  .form-row input:not([type="file"]), .contact-form .form-row input:not([type="file"]), .contact-form textarea, .cv-form textarea, .cv-form select, .besoins-form select, .besoins-form textarea { font-size: 16px; }
}
@media (max-width: 650px) {
  /* Page Contact (plus haute que l'écran) : l'en-tête prend un fond vert pour que le texte ne passe pas sous le logo. */
  body[data-panel="contact"] .site-header, body[data-panel="contact"][data-theme] .site-header { background: rgba(16,37,29,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  /* Coordonnées sur deux colonnes : l'adresse à gauche, téléphone et LinkedIn à droite. */
  .contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .contact-details p:first-child { grid-row: span 2; }
}
@media (max-width: 650px) {
  /* Notre vision sur téléphone : portrait en grand à gauche, sur-titre et titre à sa droite,
     puis le texte et le bouton sur toute la largeur. (.vision-copy « s'efface » pour que ses éléments se placent dans la grille.) */
  .vision { grid-template-columns: min(38vw, 160px) minmax(0, 1fr); grid-template-rows: auto auto auto auto; column-gap: 18px; row-gap: 0; align-content: center; }
  .vision-copy { display: contents; }
  .vision-aside { display: block; grid-column: 1; grid-row: 1 / span 2; align-self: start; z-index: 1; width: 100%; height: auto; max-height: none; margin: 0; }
  .vision-portrait { height: auto; object-fit: cover; box-shadow: 0 22px 40px -22px rgba(0,0,0,.75); }
  .vision .eyebrow { grid-column: 2; grid-row: 1; align-self: end; gap: 14px; margin: 0 0 12px; white-space: nowrap; letter-spacing: .3em; }
  .vision .eyebrow::after { width: 26px; flex: none; }
  .vision h2 { grid-column: 2; grid-row: 2; align-self: start; max-width: none; font-size: clamp(27px, 7.4vw, 42px); line-height: 1.08; }
  .vision h2 em { display: block; }
  .vision-text { grid-column: 1 / -1; grid-row: 3; margin: 20px 0 0; line-height: 1.62; }
  .vision-link { grid-column: 1 / -1; grid-row: 4; justify-self: start; }
}
@media (max-width: 650px) and (max-height: 760px) {
  /* Petits écrans : portrait un peu plus petit et texte plus compact pour que tout tienne sous l'en-tête. */
  .vision { grid-template-columns: min(34vw, 150px) minmax(0, 1fr); padding-top: 88px; padding-bottom: 30px; }
  .vision h2 { font-size: clamp(27px, 7.6vw, 38px); }
  .vision-text { margin-top: 14px; font-size: 12px; line-height: 1.55; }
  .vision-text p { margin-bottom: 8px; }
  .vision-link { margin-top: 10px; padding: 12px 20px; }
}
@media (max-width: 650px) {
  /* Nos expertises : avec la 4ᵉ rubrique, tout est resserré pour tenir sur un écran, sous l'en-tête. */
  .expertise { padding-top: 92px; padding-bottom: 26px; }
  .expertise h2 { font-size: clamp(33px, 9.2vw, 52px); }
  .expertise-intro { margin-top: 10px; line-height: 1.6; }
  .expertise-layout { margin-top: 16px; }
  .expertise-button { min-height: 48px; }
  .expertise-name { font-size: 19px; }
  .expertise-detail { margin-top: 14px; }
  .expertise-detail h3 { margin: 6px 0; font-size: 20px; }
  .expertise-detail p { margin-bottom: 10px; font-size: 12.5px; line-height: 1.55; }
  /* Page CV : les boutons du bas gardent une marge avec les bords de l'écran. */
  .cv-switches { padding: 0 16px; }
}
@media (max-width: 650px) and (max-height: 760px) {
  .expertise { padding-top: 88px; padding-bottom: 18px; }
  .expertise h2 { font-size: clamp(30px, 8.4vw, 44px); }
  .expertise-intro { font-size: 11.5px; line-height: 1.5; }
  .expertise-button { min-height: 42px; }
  .expertise-name { font-size: 18px; }
  .expertise-detail p { font-size: 12px; line-height: 1.5; }
}

/* Ouverture du site : écran vert, puis les initiales du slogan, qui s'écartent pour dévoiler la phrase entière ;
   le logo et le menu arrivent ensuite (script.js, « Ouverture du site »). */
html.intro .site-header, html.intro .dot-nav, html.intro .hero-scroll { opacity: 0; }
html.intro .hero-title { animation: none; opacity: 0; }
.hero-word { display: inline-block; white-space: nowrap; }
.hero-char { display: inline-block; }

/* Téléphone, page CV / besoins : le cercle reste au milieu ; « Déposez votre CV » à gauche avec une flèche vers le haut
   (son bloc est en haut), « Exprimez vos besoins » à droite avec une flèche vers le bas (son bloc est en bas). */
@media (max-width: 650px) {
  .cv-switches { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; }
  .cv-switch { white-space: normal; line-height: 1.5; gap: 7px; letter-spacing: .07em; }
  .cv-switch[data-cv-mode="cv"] { justify-self: start; text-align: left; }
  .cv-switch[data-cv-mode="besoins"] { justify-self: end; text-align: right; }
  .cv-switch-arrow { flex: none; rotate: 90deg; }
  /* La ligne des deux boutons et du cercle est posée sur la séparation entre le bloc vert et le bloc crème
     (comme le cercle sur le trait vertical de la version ordinateur) : le bord du bloc vert passe par son milieu. */
  .cv, .cv[data-mode="cv"], .cv[data-mode="besoins"] { grid-template-areas: "left" "right"; }
  /* Le bloc vert est collé au bas de sa case et la ligne part du haut de la case suivante, remontée de la moitié
     de sa hauteur (marge négative : GSAP réécrit « translate ») : le trait coupe le cercle et les deux pastilles exactement en leur milieu. */
  .panel.cv, .panel.cv[data-mode] { padding-bottom: 40px; row-gap: 0; }
  .cv > .cv-aside:not(.besoins-aside), .cv > .besoins-form { align-self: end; padding-bottom: 46px; }
  .cv-switches { position: relative; inset: auto; z-index: 3; grid-area: right; align-self: start; height: 40px; margin-top: -20px; padding: 0 4%; align-items: center; }
  .cv > .besoins-aside, .cv > #cv-form { padding-top: 46px; }
  /* Chaque intitulé est une pastille crème : le trait passe derrière, comme derrière le cercle. */
  .cv-switch { padding: 5px 12px 5px 5px; border: 1px solid var(--acid); border-radius: 999px; background: var(--paper); }
  .cv-switch[data-cv-mode="besoins"] { padding: 5px 5px 5px 12px; }
  .cv-switch .cv-switch-arrow { width: 28px; height: 28px; font-size: 12px; }
  /* Les deux pastilles ont la même hauteur (intitulés sur deux lignes chacun). */
  .cv-switch { height: 40px; box-sizing: border-box; }
  .cv-switch { min-width: 0; max-width: 100%; }
  .cv-switch > span:not(.cv-switch-arrow) { min-width: 0; max-width: 7.6em; white-space: normal; }
  @media (max-width: 360px) { .cv-switch { padding-right: 8px; gap: 5px; letter-spacing: .04em; } .cv-switch[data-cv-mode="besoins"] { padding: 5px 5px 5px 8px; } .cv-switches { gap: 6px; padding: 0 3%; } }
  /* Les deux intitulés sur deux lignes chacun, pour un ensemble symétrique autour du cercle. */
  .cv-switch > span:not(.cv-switch-arrow) { max-width: 9.5em; text-wrap: balance; }
  .cv-switch[data-cv-mode="cv"]:hover .cv-switch-arrow, .cv-switch[data-cv-mode="besoins"]:hover .cv-switch-arrow { transform: none; }
  /* « à lancer ? Parlons-en. » : l'espace manquait quand les deux lignes sont réunies. */
  .besoins-aside h2 em { margin-left: .22em; }
}

/* Page « Nos opportunités » : ligne « Créer une alerte » sous la liste (à gauche), flèches de pages à droite. */
.jobs-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 16px; min-height: 38px; }
.jobs-bottom .job-pager { margin: 0 0 0 auto; }
.jobs-alert { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0; color: #6b6e65; font-size: 12px; line-height: 1.6; }
.jobs-alert-open { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 3px; border: 0; border-bottom: 1px solid #a3855c; background: none; color: var(--ink); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.jobs-alert-open span { color: #a3855c; transition: transform .2s ease; }
.jobs-alert-open:hover, .jobs-alert-open:focus-visible { color: #8d7555; outline: none; }
.jobs-alert-open:hover span, .jobs-alert-open:focus-visible span { transform: translateX(4px); }
html.a11y .jobs-alert { color: #2f342d; font-size: 15px; }
html.a11y .jobs-alert-open { font-size: 14px; }

/* Fenêtre « Alerte offres » : même habillage que les fenêtres de confirmation des formulaires. */
.alerte-dialog { width: min(500px, calc(100vw - 32px)); }
.alerte-titre { margin: -6px 0 14px; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); font-weight: 400; line-height: 1.1; color: var(--ink); }
.alerte-titre em { color: #8d7555; }
.alerte-form .consent-text { margin-bottom: 24px; }
.alerte-form select { width: 100%; height: 42px; padding: 0 2px; border: 0; border-bottom: 1px solid #aeb2a2; border-radius: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.alerte-form select:focus { border-bottom-color: #866e4e; }
.alerte-form select:invalid { color: #989c90; }
.alerte-form option { color: var(--ink); }
.alerte-accord { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; color: #4f5449; font-size: 11px; line-height: 1.6; cursor: pointer; }
.alerte-accord input { flex: none; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.alerte-accord a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 3px; }
.alerte-erreur { margin: 16px 0 0; color: #8a3b22; font-size: 11px; line-height: 1.6; }
.alerte-envoyer:disabled { opacity: .7; cursor: progress; }
.alerte-fait.is-error .consent-check { color: #8a3b22; }

@media (max-width: 650px) {
  .jobs-bottom { align-items: center; gap: 12px; margin-top: 10px; }
  .jobs-bottom .job-pager { flex: none; margin: 0 0 0 auto; }
  .jobs-alert { font-size: 10px; line-height: 1.5; gap: 3px 10px; }
  .jobs-alert-open { font-size: 10px; }
  .alerte-titre { font-size: 28px; }
}
/* La ligne « Créer une alerte » est toujours présente sous la liste : les lignes d'offres prennent la hauteur
   réduite prévue pour les flèches de pages, afin que tout tienne dans l'écran. */
@media (min-width: 651px) { .jobs .job-row { min-height: clamp(66px, calc((100svh - 480px) / 4), 101px); } }
@media (max-height: 740px) and (min-width: 651px) { .jobs .jobs-top { margin-bottom: 30px; } .jobs .job-row { min-height: 70px; } }
@media (max-width: 650px) { .jobs .job-row { min-height: 84px; } }
@media (max-height: 640px) and (min-width: 651px) { .jobs .jobs-top { margin-bottom: 20px; } .jobs .job-row { min-height: 60px; } .jobs-bottom { margin-top: 10px; } }
/* Téléphone : seul le lien « Créer une alerte » reste, à côté des flèches de pages (aucune hauteur en plus).
   Sans flèches (4 offres ou moins), la phrase courte l'accompagne. */
.jobs-alert-court { display: none; }
@media (max-width: 650px) {
  .jobs-alert-text { display: none; }
  .jobs-bottom:has(.job-pager[hidden]) .jobs-alert-court { display: inline; }
  .jobs-alert-open { font-size: 11px; }
}
/* Téléphone, page « Déposez votre CV » : « commence ici. » sur la même ligne que « chapitre » (taille ajustée à l'écran). */
@media (max-width: 650px) {
  .cv > .cv-aside:not(.besoins-aside) h2 { font-size: min(clamp(41px, 10vw, 55px), 8.7vw); white-space: nowrap; }
  .cv > .cv-aside:not(.besoins-aside) h2 em { display: inline; }
}
/* Téléphone, page « Nous contacter » : le formulaire forme un bloc à part (cadre doré, fond plus sombre, petit titre),
   bien distinct des coordonnées au-dessus. */
.contact-form-titre { display: none; }
@media (max-width: 650px) {
  .contact-form { margin-top: 14px; padding: 20px 18px 8px; border: 1px solid rgba(201,171,127,.38); background: rgba(8,21,15,.42); }
  .contact-form-titre { display: block; margin: 0 0 14px; color: var(--acid); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
}

/* Expertise sectorielle : étiquettes « Notre cœur de métier » (dorées, pleines) et « Et au-delà » (simple contour). */
.expertise-detail .detail-tags { contain: inline-size; display: grid; gap: 14px; margin: -4px 0 22px; }
.detail-tags-label { margin: 0 0 7px; color: var(--acid); font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.detail-tags-group ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.detail-tags-group li { padding: 4px 9px; border: 1px solid rgba(201,171,127,.55); border-radius: 999px; font-size: 11px; line-height: 1.2; white-space: nowrap; }
.detail-tags-group.is-core li { border-color: var(--acid); background: rgba(201,171,127,.16); color: var(--paper); }
.detail-tags-group.is-more li { color: #c4c7be; border-color: rgba(196,199,190,.35); }
.detail-tags-group.is-more .detail-tags-label { color: #a9ada3; }
@media (max-height: 920px) and (min-width: 651px) { .expertise-detail .detail-tags { gap: 10px; margin-bottom: 16px; } }
@media (max-width: 650px) {
  .expertise-detail .detail-tags { gap: 10px; margin: -2px 0 16px; }
  .detail-tags-group li { font-size: 10.5px; padding: 4px 9px; }
}
.expertise-detail .detail-tags-group li.is-etc { padding: 4px 2px; border: 0; background: none; color: var(--acid); font-family: var(--serif); font-size: 22px; letter-spacing: .12em; line-height: .6; align-self: flex-end; }

/* Diversité des profils : repères « ↑ Direction » en haut et « Terrain » en bas de l'échelle (sans barreau ni point). */
.expertise-detail .detail-ladder li.ladder-cap { opacity: 1; color: var(--acid); font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; }
.expertise-detail .detail-ladder li.ladder-cap::before, .expertise-detail .detail-ladder li.ladder-cap::after { content: none; }
/* Les repères sont posés au-dessus et au-dessous du trait, sans ajouter de hauteur au bloc. */
.expertise-detail .detail-ladder li.ladder-cap { position: absolute; left: 0; }
.expertise-detail .detail-ladder li.ladder-cap.is-top-cap { top: -25px; }
.expertise-detail .detail-ladder li.ladder-cap.is-bottom { bottom: -25px; left: 0; color: #8e9388; }
.expertise-detail .detail-ladder:has(.ladder-cap) { margin-top: 50px; margin-bottom: 44px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y) .expertise-detail .detail-ladder li.ladder-cap { animation: barreau .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: .1s; }
  html:not(.a11y) .expertise-detail .detail-ladder li.ladder-cap.is-top-cap { animation-delay: .85s; }
}

/* Diversité contractuelle : frise de durée, de l'intérim (court) au CDI (durable) ; les points grossissent. */
.expertise-detail .detail-timeline { contain: inline-size; margin: -2px 0 24px; }
.timeline-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.timeline-steps::before { content: ""; position: absolute; top: 9px; left: calc(100% / 6); right: calc(100% / 6); height: 1px; background: linear-gradient(to right, rgba(201,171,127,.35), var(--acid)); transform-origin: left center; }
.timeline-steps::after { content: ""; position: absolute; top: 6px; right: calc(100% / 6 - 14px); border: 3.5px solid transparent; border-left: 6px solid var(--acid); }
.timeline-steps li { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.timeline-dot { width: calc(8px + var(--rang) * 4px); height: calc(8px + var(--rang) * 4px); margin: calc(5px - var(--rang) * 2px) 0 calc(9px - var(--rang) * 2px); border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(19,40,30,.85); position: relative; z-index: 1; }
.timeline-steps strong { color: var(--paper); font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.1; }
.timeline-key { color: #a9ada3; font-size: 10.5px; line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y) .timeline-steps::before { animation: frise .9s cubic-bezier(.65,0,.35,1) .25s both; }
  html:not(.a11y) .timeline-steps::after { animation: barreau .4s ease 1.05s both; }
  html:not(.a11y) .timeline-steps li { animation: barreau .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.3s + var(--rang) * .3s); }
  @keyframes frise { from { transform: scaleX(0); } }
}
@media (max-width: 650px) {
  .expertise-detail .detail-timeline { margin: 0 0 16px; }
  .timeline-steps strong { font-size: 17px; }
  .timeline-key { font-size: 9.5px; }
}
/* Écrans d'ordinateur peu hauts : étiquettes et sous-titre resserrés pour limiter la réduction du bloc. */
@media (max-height: 920px) and (min-width: 651px) {
  .detail-tags-label { margin-bottom: 5px; }
  .detail-tags-group li { padding: 3px 8px; font-size: 10.5px; }
  .expertise-detail h3 { font-size: clamp(25px, min(2.25vw, 3.7vh), 32px); }
  .expertise-detail .detail-subtitle { padding-top: 12px; margin-bottom: 8px; }
}

/* Zone d'intervention : carte de l'Île-de-France au trait doré ; Paris en doré plein, petite couronne légèrement teintée. */
.expertise-detail .detail-map { contain: inline-size; margin: -4px 0 18px; }
.carte-idf { display: block; width: min(100%, 250px); height: auto; overflow: visible; }
.carte-idf .dep { fill: none; stroke: rgba(201,171,127,.7); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.carte-idf .dep.pc { fill: rgba(201,171,127,.14); }
.carte-idf .dep.paris { fill: var(--acid); stroke: var(--acid); }
.carte-idf .num { fill: #e8e2d4; font: 600 12px var(--sans); letter-spacing: .04em; text-anchor: middle; dominant-baseline: central; }
.carte-idf .num.pc { font-size: 10px; }
.carte-idf .num.paris { fill: #10251d; font-size: 9.5px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y) .carte-idf .dep { animation: carte-trait 1.2s cubic-bezier(.65,0,.35,1) both; stroke-dasharray: 1200; }
  html:not(.a11y) .carte-idf .dep.paris { animation: carte-paris .6s ease 1s both; stroke-dasharray: none; }
  html:not(.a11y) .carte-idf .num { animation: barreau .5s ease 1.1s both; }
  @keyframes carte-trait { from { stroke-dashoffset: 1200; fill-opacity: 0; } 70% { fill-opacity: 0; } }
  @keyframes carte-paris { from { opacity: 0; transform: scale(.6); } }
  .carte-idf .dep.paris { transform-box: fill-box; transform-origin: center; }
}
@media (max-height: 920px) and (min-width: 651px) { .carte-idf { width: min(100%, 210px); } .expertise-detail .detail-map { margin-bottom: 12px; } }
@media (max-width: 650px) { .carte-idf { width: min(100%, 260px); } .expertise-detail .detail-map { margin-bottom: 14px; } }
/* Survol de la carte : département éclairé et bulle « 78 Yvelines » qui suit la souris. */
.expertise-detail .detail-map { position: relative; }
.carte-idf .dep { cursor: default; transition: fill .2s ease, stroke .2s ease; }
.carte-idf .dep.is-hover { fill: rgba(201,171,127,.38); stroke: var(--acid); }
.carte-idf .dep.paris.is-hover { fill: #e2c79c; }
.carte-idf .num { pointer-events: none; }
.carte-bulle { position: absolute; z-index: 2; padding: 5px 10px; border-radius: 2px; background: var(--paper); color: var(--ink); font: 600 11px var(--sans); letter-spacing: .02em; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0,0,0,.3); opacity: 0; translate: -50% calc(-100% - 12px); transition: opacity .15s ease; }
.carte-bulle.is-visible { opacity: 1; }
/* Les blocs facultatifs des rubriques (échelle, frise, étiquettes, carte…) ont leur propre mise en page :
   l'attribut « hidden » doit l'emporter, sinon un bloc vide (trait de l'échelle, marges) restait visible ailleurs. */
.expertise-detail [hidden] { display: none !important; }
/* Départements sans remplissage (77, 78, 91, 95) : sans cette règle, seul leur contour réagissait à la souris. */
.carte-idf .dep { pointer-events: all; }

/* Page « Déposez votre CV / Exprimez vos besoins » (ordinateur) : le titre qui reste se réduit plus lentement et
   régulièrement (1,2 s, accélération douce), exactement au rythme de la séparation verte qui glisse (script.js). */
@media (min-width: 651px) {
  html.js-enabled .cv .cv-aside h2, html.js-enabled .cv .cv-aside h2.reveal {
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), scale 1.2s cubic-bezier(.45,.05,.35,1);
    transition-delay: 0s;
  }
  /* Le texte et la mention sous le titre se décalent en douceur avec lui, au lieu de se recaler d'un coup. */
  .cv > .cv-aside .cv-intro, .cv > .cv-aside .cv-note { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1), max-width 1.2s cubic-bezier(.45,.05,.35,1); }
}

/* Téléphone, page « Nos expertises » : le contenu part du haut (sous l'en-tête) au lieu d'être centré, pour ne jamais
   passer sous le logo ; le bouton pause de la vidéo se range à droite du sur-titre. */
@media (max-width: 650px) {
  .expertise { justify-content: flex-start; padding-top: 98px; padding-bottom: 22px; }
  .video-toggle { top: 88px; }
  .carte-idf { width: min(100%, 200px); }
  .expertise-detail .detail-ladder:has(.ladder-cap) { margin-top: 30px; margin-bottom: 34px; }
  .expertise-detail .detail-ladder li.ladder-cap.is-top-cap { top: -21px; }
  .expertise-detail .detail-ladder li.ladder-cap.is-bottom { bottom: -21px; }
}
@media (max-width: 650px) and (max-height: 760px) {
  .expertise { padding-top: 88px; }
  .expertise h2 { font-size: clamp(36px, 9.4vw, 46px); }
}
/* Très petits téléphones (iPhone SE…) : la phrase d'introduction des expertises est retirée pour laisser la place
   à la liste et à son contenu (la zone d'intervention reste détaillée dans la rubrique 04). */
@media (max-width: 650px) and (max-height: 700px) { .expertise-intro { display: none; } }

/* Téléphone, page CV / besoins : quand un formulaire est choisi, le titre garde sa taille ; la ligne des boutons
   remonte et recouvre la petite phrase (qui s'efface en premier), le formulaire vient juste en dessous. Le retour aux deux présentations
   les rend à leur taille. */
@media (max-width: 650px) {
  .panel.cv, .panel.cv[data-mode] { align-content: safe center; }
  .cv > .cv-aside h2 { transition: font-size .7s cubic-bezier(.45,.05,.35,1); }
  .cv > .cv-aside .cv-intro, .cv > .cv-aside .cv-note { max-height: 6em; overflow: hidden; transition: max-height .7s cubic-bezier(.45,.05,.35,1), opacity .3s ease, margin .7s cubic-bezier(.45,.05,.35,1); }
  .cv[data-mode="cv"] > .cv-aside:not(.besoins-aside) :is(.cv-intro, .cv-note),
  .cv[data-mode="besoins"] > .besoins-aside :is(.cv-intro, .cv-note) { max-height: 0; margin-top: 0; margin-bottom: 0; opacity: 0; }
}
/* Téléphone : les blocs masqués (formulaire non choisi, présentation remplacée) ne réservent plus de place,
   sinon ils repoussaient le bloc visible vers le bas et le formulaire sortait de l'écran. */
@media (max-width: 650px) {
  .cv:not([data-mode="cv"]) > #cv-form,
  .cv:not([data-mode="besoins"]) > .besoins-form,
  .cv[data-mode="cv"] > .besoins-aside,
  .cv[data-mode="besoins"] > .cv-aside:not(.besoins-aside) { position: absolute; top: 0; left: 0; right: 0; transition: none; pointer-events: none; }
}
/* Copie de l'ancien contenu qui s'efface pendant un changement de rubrique : ses animations (barreaux de l'échelle,
   frise, carte) ne doivent pas se rejouer pendant qu'elle disparaît. */
.detail-clone, .detail-clone * { animation: none !important; }

/* Nos expertises : l'élément survolé (poste de l'échelle, contrat de la frise, étiquette) grossit légèrement,
   s'affirme un peu et s'éclaire ; il reprend sa taille quand la souris s'en va. */
@media (hover: hover) {
  .expertise-detail .detail-ladder li:not(.ladder-cap):not(.ladder-more),
  .timeline-steps li, .detail-tags-group li:not(.is-etc) { transition: transform .25s cubic-bezier(.2,.7,.2,1), color .2s ease, opacity .2s ease, text-shadow .2s ease; }
  .expertise-detail .detail-ladder li:not(.ladder-cap):not(.ladder-more) { transform-origin: left center; }
  .expertise-detail .detail-ladder li:not(.ladder-cap):not(.ladder-more):hover { opacity: 1; color: var(--paper); font-weight: 600; transform: scale(1.07); }
  .expertise-detail .detail-ladder li.is-top:hover { font-weight: 600; }
  .timeline-steps li { transform-origin: center top; }
  .timeline-steps li:hover { transform: scale(1.1); }
  .timeline-steps li:hover strong { font-weight: 600; }
  .timeline-steps li:hover .timeline-key { color: var(--paper); }
  .detail-tags-group li:not(.is-etc):hover { position: relative; z-index: 1; color: var(--paper); transform: scale(1.08); text-shadow: 0 0 .5px currentColor, 0 0 .5px currentColor; }
}
/* Téléphone : le formulaire choisi apparaît un peu plus tôt, pendant que les blocs glissent à leur place. */
@media (max-width: 650px) {
  .cv[data-mode="cv"] > #cv-form, .cv[data-mode="besoins"] > .besoins-form { transition: opacity .6s ease .12s, visibility 0s linear .12s, translate .6s ease .12s; }
}
/* Téléphone : une fois un formulaire choisi, le contenu se cale en haut de l'écran (sous l'en-tête) au lieu de rester
   centré : le titre remonte, sans changer de taille, et le formulaire suit dessous. */
@media (max-width: 650px) {
  .panel.cv[data-mode] { align-content: start; padding-top: 92px; }
}
/* Téléphone : les deux titres de la page (« Votre prochain chapitre… » et « Un recrutement à lancer ?… ») ont la même taille. */
@media (max-width: 650px) {
  .cv > .besoins-aside h2 { font-size: min(clamp(41px, 10vw, 55px), 8.7vw); }
}
/* « La suite vous appartient. » : le bloc du titre épouse son texte, pour que son arrivée en grand soit bien centrée
   (sur téléphone, il collait au bord gauche). */
.jobs h2 { width: max-content; max-width: 100%; }

/* Zones cliquables agrandies sans rien changer à l'apparence : une surface invisible autour des petits liens
   (points de navigation, bas de page, coordonnées, FR / EN), pour viser plus facilement à la souris et au doigt. */
.dot-nav a, .footer-legal a, .footer-mark, .footer-copyright, .contact-details a, .lang-switch a { position: relative; }
.dot-nav a::after { content: ""; position: absolute; inset: -5px; }
.footer-legal a::after, .footer-mark::after, .footer-copyright::after { content: ""; position: absolute; inset: -9px -4px; }
.contact-details a::after { content: ""; position: absolute; inset: -7px -3px; }
.lang-switch a::after { content: ""; position: absolute; inset: 0 -5px; }
@media (min-width: 651px) { .site-header .main-nav a { padding-block: 10px; margin-block: -10px; } }

/* Page « Nos opportunités » (ordinateur) : un peu plus d'air entre l'en-tête et « NOS OPPORTUNITÉS » ;
   les lignes d'offres se resserrent d'autant pour que tout tienne toujours dans l'écran. */
@media (min-width: 651px) {
  .jobs { padding-top: 190px; }
  .jobs .job-row { min-height: clamp(66px, calc((100svh - 500px) / 4), 101px); }
}
@media (min-width: 651px) and (max-height: 740px) { .jobs { padding-top: 132px; } }

/* Notre vision : légende centrée sous le portrait, « Sofian Hadini | FONDATEUR » : le nom dans l'écriture des titres
   (minuscules, majuscules initiales), la fonction en petites capitales dorées espacées, un fin trait vertical entre les deux. */
.vision-legende { position: absolute; left: 0; right: 0; top: calc(100% + 16px); display: flex; justify-content: center; align-items: center; gap: 14px; white-space: nowrap; }
.vision-nom { color: var(--paper); font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: .01em; line-height: 1; }
.vision-role { display: flex; align-items: center; gap: 14px; color: var(--acid); font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; line-height: 1; }
.vision-role::before { content: ""; width: 1px; height: 14px; background: var(--acid); opacity: .75; }
@media (max-width: 650px) {
  .vision-legende { position: static; margin-top: 10px; gap: 7px; }
  .vision-nom { font-size: 13.5px; }
  .vision-role { gap: 7px; font-size: 8.5px; letter-spacing: .14em; }
  .vision-role::before { height: 10px; }
}
/* Téléphones étroits : nom et fonction l'un sous l'autre (sans le trait), centrés sous le portrait. */
@media (max-width: 400px) {
  .vision-legende { flex-direction: column; gap: 4px; }
  .vision-role::before { display: none; }
}
/* Essai : « FONDATEUR » sous le nom, partout (ordinateur compris), sans trait vertical. */
.vision-legende { flex-direction: column; gap: 7px; top: calc(100% + 14px); }
.vision-role::before { display: none; }
@media (max-width: 650px) { .vision-legende { gap: 4px; } }
/* La photo cède un peu de hauteur pour que la légende sur deux lignes respire au-dessus du bas de l'écran. */
@media (min-width: 651px) {
  .vision-aside { height: calc(100svh - 320px); }
  .vision .vision-aside { height: min(calc(100svh - 320px), 46vw); }
}
@media (min-width: 651px) and (max-height: 820px) { .vision-aside, .vision .vision-aside { height: calc(100svh - 270px); } }

/* ===== ESSAI LISIBILITÉ (19/11/2026) : textes un peu plus grands, gris plus contrastés. =====
   Pour revenir en arrière : supprimer tout ce bloc, jusqu'à « FIN ESSAI LISIBILITÉ ». */
.expertise-intro { color: #c6c9c0; font-size: 14px; }
.expertise-detail p, .expertise-detail .detail-list { color: #d4d6ce; }
.job-title p { color: #61645c; font-size: 11.5px; }
.job-tag { color: #4f5349; font-size: 10px; }
.job-location { color: #5f6259; font-size: 11.5px; }
.jobs-empty-text { color: #53574e; font-size: 14.5px; }
.jobs-alert { color: #53574e; font-size: 13px; }
.besoins-aside .cv-intro { color: #53574e; }
.cv-intro { font-size: 14.5px; }
.cv-note { font-size: 11.5px; }
.form-row label { font-size: 11.5px; }
.form-row input:not([type="file"]), .besoins-form select, .besoins-form textarea { font-size: 13.5px; }
.privacy-note { color: #62665b; font-size: 10.5px; }
.contact-intro { color: #d0d2ca; font-size: 14px; }
.contact-details p { font-size: 12px; }
.contact-details p span { color: #aeb2a8; font-size: 9.5px; }
.contact-form .form-check label { font-size: 11.5px; }
.contact-form input, .contact-form textarea { font-size: 13.5px; }
.site-footer { color: #c4c7bf; font-size: 11px; }
.footer-mark { font-size: 12px; }
@media (max-width: 650px) {
  .vision-text { font-size: 14px; }
  .expertise-intro { font-size: 12px; }
  .expertise-detail p, .expertise-detail .detail-list { font-size: 14px; }
  .job-title p { font-size: 10.5px; }
  .job-tag, .job-location { font-size: 9.5px; }
  .job-apply { font-size: 10.5px; }
  .jobs-empty-text { font-size: 13.5px; }
  .jobs-alert, .jobs-alert-open { font-size: 11.5px; }
  .cv-switch { font-size: 9px; }
  .cv-intro { font-size: 12.5px; }
  .cv-note { font-size: 10.5px; }
  .form-row label { font-size: 10.5px; }
  .form-row input:not([type="file"]), .besoins-form select, .besoins-form textarea { font-size: 12.5px; }
  .privacy-note { font-size: 9.5px; }
  .contact-intro { font-size: 12.5px; }
  .contact-details p { font-size: 11px; }
  .contact-details p span { font-size: 8.5px; }
  .contact-form .form-row input:not([type="file"]), .contact-form textarea { font-size: 12.5px; }
  .contact-form .form-check label { font-size: 10.5px; }
  .site-footer { font-size: 10px; }
  .footer-mark { font-size: 10.5px; }
}
/* ===== FIN ESSAI LISIBILITÉ ===== */

/* Téléphone : vérification de mise en page de chaque page (19/11/2026). */
@media (max-width: 650px) {
  /* Notre vision : le contenu se centre dans l'espace sous l'en-tête ; script.js le réduit légèrement si l'écran est
     trop court (« ajusterVisionTelephone »), pour qu'on voie toujours la page entière, bouton compris. */
  .vision { padding-top: 88px; padding-bottom: 18px; align-content: safe center; }
  /* Coordonnées : « Rejoignez-nous sur LinkedIn ↗ » ne se coupe plus avant la flèche. */
  .contact-linkedin { white-space: nowrap; }
}
@media (max-width: 650px) and (max-height: 760px) { .expertise-intro { display: none; } }
@media (max-width: 650px) { .expertise { padding-bottom: 34px; } }
@media (max-width: 650px) { .jobs { padding-top: 90px; padding-bottom: 20px; justify-content: safe center; } }

/* Téléphone, page CV / besoins : les petites phrases sous les titres ne s'effacent plus en fondu. Leur bloc se replie
   en douceur et la ligne des boutons, suivie du formulaire, glisse par-dessus : le texte disparaît sous elle, ligne
   après ligne ; il n'est masqué tout à fait qu'à la fin du mouvement. Au retour, il réapparaît aussitôt et se déplie. */
@media (max-width: 650px) {
  .cv > .cv-aside .cv-intro, .cv > .cv-aside .cv-note {
    transition: max-height .8s cubic-bezier(.45,.05,.3,1), margin .8s cubic-bezier(.45,.05,.3,1), opacity 0s linear 0s;
  }
  .cv[data-mode="cv"] > .cv-aside:not(.besoins-aside) :is(.cv-intro, .cv-note),
  .cv[data-mode="besoins"] > .besoins-aside :is(.cv-intro, .cv-note) {
    transition: max-height .8s cubic-bezier(.45,.05,.3,1), margin .8s cubic-bezier(.45,.05,.3,1), opacity 0s linear .8s;
  }
}
/* Téléphone : texte de « Notre vision » justifié, comme sur ordinateur. */
@media (max-width: 650px) { .vision-text { text-align: justify; } }
/* Nos expertises : un peu moins de défilement entre l'arrivée du titre et l'affichage complet de la page
   (même enchaînement, simplement plus court : 290 au lieu de 370 hauteurs d'écran pour cette étape). */
html.scroll-titles .stage { height: 890svh; }
html.scroll-titles .stage-step:nth-child(2) { height: 290svh; }
html.scroll-titles .stage-step:nth-child(3) { top: 490svh; height: 300svh; }
html.scroll-titles .stage-step:nth-child(4) { top: 790svh; }
/* Téléphone : carte de l'Île-de-France plus grande (on la touche du doigt au lieu de la survoler), numéros plus lisibles. */
@media (max-width: 650px) {
  .carte-idf { width: min(100%, 290px); }
  .carte-idf .num { font-size: 13px; }
  .carte-idf .num.pc { font-size: 11px; }
  .carte-idf .num.paris { font-size: 10px; }
}
/* Petits téléphones (peu hauts) : la carte garde sa taille d'origine, sinon toute la page devrait rétrécir. */
@media (max-width: 650px) and (max-height: 760px) { .carte-idf { width: min(100%, 200px); } }
/* Ordinateur : « OU LAISSEZ-NOUS UN MESSAGE » au-dessus du formulaire de contact aussi (petites capitales dorées). */
@media (min-width: 651px) {
  .contact-form-titre { display: block; margin: 0 0 18px; color: var(--acid); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
}
/* Ouverture du site : le slogan reste caché tant que l'animation n'a pas démarré. Sans « !important », la règle
   d'apparition des textes (.panel.is-visible .reveal) l'emportait et le slogan complet s'affichait une fraction de
   seconde au chargement, avant l'animation. */
html.intro .hero-title { opacity: 0 !important; }
/* Astérisque « ✳ » devant les mentions de confidentialité : toujours en version texte (sur iPhone, il s'affichait en émoji). */
.cv-note span { font-variant-emoji: text; }
/* Symboles (©, ↗, ✓, ✳…) toujours affichés en version texte, jamais en émoji (iPhone, Android). */
html { font-variant-emoji: text; }

/* Téléphone, accueil : la photo se fond dans le même vert texturé que la page suivante (« Notre vision »), au lieu d'un
   dégradé vert uni plus foncé. La photo s'efface vers le bas et laisse voir le fond de la page (fond-vert.jpg). */
@media (max-width: 650px) {
  .hero-image { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0,0,0,.35) 50%, transparent 66%); mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0,0,0,.35) 50%, transparent 66%); }
  .hero-shade { background: linear-gradient(180deg, rgba(10,26,19,.55) 0%, rgba(10,26,19,.2) 30%, rgba(10,26,19,.35) 50%, rgba(10,26,19,0) 66%); }
}

/* Téléphone uniquement : flèches des boutons « Déposez votre CV » / « Exprimez vos besoins » dessinées (et non plus
   tapées au clavier), pour être exactement au centre de leur cercle (le caractère « ← », une fois tourné vers le haut
   ou le bas, paraissait décalé). L'ordinateur garde ses flèches d'origine. */
@media (max-width: 650px) {
  .cv-switch-arrow { font-size: 0 !important; }
  .cv-switch-arrow::before {
    content: ""; display: block; width: 13px; height: 8px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13.5M10.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13.5M10.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .cv-switch[data-cv-mode="cv"] .cv-switch-arrow::before { transform: scaleX(-1); }
}
/* Téléphone : défilement encore plus court entre l'arrivée du titre des expertises et l'affichage complet de la page. */
@media (max-width: 650px) {
  html.scroll-titles .stage { height: 790svh; }
  html.scroll-titles .stage-step:nth-child(2) { height: 190svh; }
  html.scroll-titles .stage-step:nth-child(3) { top: 390svh; height: 300svh; }
  html.scroll-titles .stage-step:nth-child(4) { top: 690svh; }
}
/* Téléphone, page « Nous contacter » : plus haute que l'écran, elle défile normalement (plus d'accrochage en haut
   pendant son arrivée), pour que ses éléments arrivent vite et que le haut ne disparaisse pas d'un coup. */
@media (max-width: 650px) {
  html.scroll-titles .title-track:has(> .contact) { height: auto; }
  html.scroll-titles .title-track > .panel.contact { position: relative; }
}
/* Téléphone : la flèche dessinée est placée au centre exact du cercle (le caractère d'origine, devenu invisible,
   prenait encore une place à côté et la décalait d'environ 4 px). */
@media (max-width: 650px) {
  .cv-switch-arrow { position: relative; }
  .cv-switch-arrow::before { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
}
/* Téléphone : slogan d'accueil sur deux lignes (« Le talent donne le ton. » / « La rencontre change la donne. »),
   taille ajustée à la largeur de l'écran pour que chaque ligne tienne. */
@media (max-width: 650px) {
  .hero-title { white-space: nowrap; font-size: min(clamp(32px, min(10vw, 5.6svh), 50px), 7.6vw); }
}
/* ESSAI (téléphone) : défilement des expertises encore raccourci d'environ 15 % (160 au lieu de 190 hauteurs d'écran).
   Pour revenir à la version précédente : supprimer ce bloc. */
@media (max-width: 650px) {
  html.scroll-titles .stage { height: 760svh; }
  html.scroll-titles .stage-step:nth-child(2) { height: 160svh; }
  html.scroll-titles .stage-step:nth-child(3) { top: 360svh; height: 300svh; }
  html.scroll-titles .stage-step:nth-child(4) { top: 660svh; }
}
/* FIN ESSAI */
/* Téléphone, dernière page : l'effet de flou de l'en-tête enfermait le menu plein écran dans la bande de l'en-tête
   (le menu s'ouvrait coupé, ses liens par-dessus la page). Menu ouvert : flou retiré, le menu reprend tout l'écran. */
body.menu-open[data-panel="contact"] .site-header, body.menu-open[data-panel="contact"][data-theme] .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Téléphone : étape « Nos opportunités » plus courte (230 au lieu de 300 hauteurs d'écran) : on passe plus vite
   du titre « La suite vous appartient. » à la page « Déposez votre CV ». */
@media (max-width: 650px) {
  html.scroll-titles .stage { height: 690svh; }
  html.scroll-titles .stage-step:nth-child(3) { top: 360svh; height: 230svh; }
  html.scroll-titles .stage-step:nth-child(4) { top: 590svh; }
}

/* ===== Offres : colonne « Missions » (24/11/2026). Ordre : intitulé + description, missions, secteur, lieu et mode, postuler. ===== */
.job-row { grid-template-columns: 34px minmax(200px, 1fr) minmax(200px, 1.15fr) 120px 130px 90px; gap: 22px; padding: 14px 0; }
.job-title p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5; }
.job-missions { margin: 0; padding: 0; list-style: none; color: #5f6259; font-size: 11px; line-height: 1.45; }
.job-missions li { position: relative; padding-left: 12px; }
.job-missions li + li { margin-top: 2px; }
.job-missions li::before { content: ""; position: absolute; left: 0; top: .68em; width: 4px; height: 1px; background: #a3855c; }
.job-missions li:nth-child(n+5) { display: none; }
html.a11y .jobs .job-missions { color: #2f342d; font-size: 15px; }
html.a11y .job-missions li:nth-child(n+5) { display: list-item; }
@media (max-width: 900px) and (min-width: 651px) {
  .job-row { grid-template-columns: 26px minmax(160px, 1fr) minmax(150px, 1fr) 95px 100px 75px; gap: 12px; }
  .job-missions { font-size: 10px; }
}
@media (max-width: 650px) {
  .job-row { grid-template-columns: 22px 1fr auto; gap: 6px 10px; padding: 12px 0; }
  .job-number { grid-row: 1 / span 3; }
  .job-missions { grid-column: 2 / span 2; grid-row: 2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 9.5px; line-height: 1.45; }
  .job-missions li { display: inline; padding-left: 0; }
  .job-missions li::before { display: none; }
  .job-missions li + li::before { content: "·"; display: inline; position: static; width: auto; height: auto; margin: 0 5px; background: none; color: #a3855c; }
  .job-missions li:nth-child(n+5) { display: inline; }
  .job-tag { grid-row: 3; }
  .job-apply { grid-row: 3; }
  .job-tag, .job-apply { margin-top: 4px; }
}

/* Offres : description en italique, puces rondes dorées, petit repère de lieu (24/11/2026). */
.job-title p { font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.35; color: #5a5e55; }
.job-missions li { padding-left: 14px; }
.job-missions li::before { top: .62em; width: 4px; height: 4px; border-radius: 50%; background: #a3855c; }
.job-location { display: inline-flex; align-items: center; gap: 7px; }
.job-location:not(:empty)::before { content: ""; flex: none; width: 10px; height: 13px; background: #a3855c;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 .6A4.2 4.2 0 0 0 .8 4.8C.8 8 5 12.4 5 12.4s4.2-4.4 4.2-7.6A4.2 4.2 0 0 0 5 .6Zm0 5.8a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 13'%3E%3Cpath d='M5 .6A4.2 4.2 0 0 0 .8 4.8C.8 8 5 12.4 5 12.4s4.2-4.4 4.2-7.6A4.2 4.2 0 0 0 5 .6Zm0 5.8a1.6 1.6 0 1 1 0-3.2 1.6 1.6 0 0 1 0 3.2Z'/%3E%3C/svg%3E") center / contain no-repeat; }
html.a11y .jobs .job-title p { color: #2f342d; }
@media (max-width: 650px) {
  .job-title p { font-size: 13px; }
  .job-location { justify-content: flex-end; gap: 5px; }
  .job-location:not(:empty)::before { width: 8px; height: 11px; }
  .job-missions li { padding-left: 0; }
  .job-missions li::before { display: none; }
  .job-missions li + li::before { content: ""; display: inline-block; position: static; width: 3px; height: 3px; margin: 0 7px; vertical-align: middle; border-radius: 50%; background: #a3855c; }
}
@media (min-width: 901px) { .job-row { grid-template-columns: 34px minmax(200px, 1fr) minmax(200px, 1.1fr) 105px 165px 90px; } .job-location { white-space: nowrap; } }

/* Offres : ligne « Prérequis : … » dans les missions, en italique et sans puce (24/11/2026). */
.job-missions li.job-prerequis { display: block; margin-top: 6px; padding-left: 0; font-family: var(--serif); font-style: italic; font-size: 13.5px; color: #5a5e55; }
.job-missions li.job-prerequis::before { display: none; }
@media (max-width: 650px) {
  .job-missions { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .job-missions li.job-prerequis { margin-top: 3px; font-size: 12px; }
  .job-missions li.job-prerequis::before { display: none !important; }
}

/* Offres : avec moins de 4 offres (une seule page), les lignes vides disparaissent et l'alerte remonte sous la liste (24/11/2026). */
.jobs:has(.job-pager[hidden]) .job-row.is-empty { display: none; }
.jobs:has(.job-pager[hidden]) .jobs-bottom { margin-top: 26px; }

/* Offres sur téléphone : intitulé et description sur toute la largeur, secteur + lieu + « Postuler » sur la dernière ligne ;
   2 offres par page, les emplacements vides ne prennent pas de place (24/11/2026). */
@media (max-width: 650px) {
  .job-row { grid-template-columns: 22px auto 1fr auto; gap: 6px 10px; }
  .job-number { grid-row: 1 / span 4; }
  .job-title { grid-column: 2 / -1; grid-row: 1; }
  .job-missions { grid-column: 2 / -1; grid-row: 2; }
  .job-tag { grid-column: 2; grid-row: 3; align-self: center; margin-top: 4px; }
  .job-location { grid-column: 3; grid-row: 3; align-self: center; justify-content: flex-start; margin-top: 4px; padding-top: 0; text-align: left; white-space: nowrap; }
  .job-apply { grid-column: 4; grid-row: 3; align-self: center; margin-top: 4px; }
  .job-row:has(.job-tag[style*="hidden"]) .job-tag { display: none; }
  .job-row:has(.job-tag[style*="hidden"]) .job-location { grid-column: 2 / span 2; }
  .jobs .job-row.is-empty { display: none; }
}

/* Flèches de pages des offres : l'animation d'arrivée pilote leur opacité, l'état « désactivé » passe donc par la couleur
   (une transition d'opacité faisait rester les flèches invisibles) (24/11/2026). */
.job-pager button { transition: border-color .25s ease, color .25s ease; }
.job-pager button:disabled { opacity: 1; color: rgba(16, 37, 29, .28); border-color: rgba(16, 37, 29, .12); }

/* ===== Flèches obliques remplacées (24/11/2026) : un trait fin terminé par un petit anneau, qui s'allonge au survol.
   Avant : le caractère « ↗ ». Les flèches horizontales et celle de la première page ne changent pas. ===== */
.fleche { display: inline-flex; align-items: center; vertical-align: middle; line-height: 1; }
.fleche::before { content: ""; width: 1em; height: 1px; background: currentColor; transition: width .4s cubic-bezier(.22,.61,.36,1); }
.fleche::after { content: ""; flex: none; box-sizing: border-box; width: .36em; height: .36em; border: 1px solid currentColor; border-radius: 50%; }
:is(a, button):is(:hover, :focus-visible) .fleche::before,
.expertise-button.is-selected .fleche::before { width: 1.5em; }
.job-apply:hover span.fleche { transform: none; }
.expertise-arrow.fleche { transform: translateX(-10px); }
.expertise-button:is(:hover, :focus-visible, .is-selected) .expertise-arrow.fleche { transform: none; }
.contact-linkedin b.fleche { margin-left: 4px; }
@media (prefers-reduced-motion: reduce) { .fleche::before { transition: none; } }
.contact-linkedin { white-space: nowrap; }
