/* ==========================================================
   ZOMI — Coaching Professionnel Consulting
   Feuille de style commune à toutes les pages
   ========================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --navy: #243442;
  --navy-2: #2f4558;
  --navy-3: #1b2833;
  --ink: #26323d;
  --slate: #5d6c7a;
  --grey: #9aa7b2;
  --line: #d7dfe5;
  --mist: #eef2f5;
  --paper: #f8fafb;
  --white: #ffffff;
  --sky: #b9cfe0;
  --sun: #eebf93;

  --font-sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --font-mark: "Montserrat", "Arial Black", sans-serif;

  --header-h: 84px;
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: var(--white); }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icônes injectées par js/main.js */
.ico { width: 1em; height: 1em; display: inline-block; flex: none; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Typographie ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 18px;
}
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.in .eyebrow::after, .eyebrow.in::after, .hero.ready .eyebrow::after { transform: scaleX(1); }
.light .eyebrow { color: rgba(255,255,255,.85); }

h1, h2, h3 { font-weight: 400; color: var(--navy); letter-spacing: -.012em; }
.h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; }
.h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.22; }
.h1 em, .h2 em { font-style: italic; font-weight: 600; }
.script { font-family: var(--font-script); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--navy); }
.light, .light h2, .light h3, .light .script { color: var(--white); }
.lead { font-size: 1.05rem; color: var(--slate); max-width: 46ch; }
.muted { color: var(--slate); font-size: .95rem; }
.rule { width: 34px; height: 2px; background: var(--navy); margin: 22px 0; transform-origin: left; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }

/* ---------- 4. Boutons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white); --bd: var(--navy);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: .86rem; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hover, var(--navy-2)); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(36,52,66,.55); }
.btn .ico { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(5px); }
.btn.outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); --hover: var(--navy); }
.btn.outline:hover { color: var(--white); }
.btn.white { --bg: var(--white); --fg: var(--navy); --bd: var(--white); --hover: var(--mist); }
.btn.ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.7); --hover: rgba(255,255,255,.16); }
.btn.sm { padding: 10px 20px; font-size: .8rem; }

/* ---------- 5. Barre de progression + header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: linear-gradient(90deg, var(--sky), var(--navy)); transform: scaleX(0); transform-origin: left; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: height .4s var(--ease); }
/* Le fond flouté est sur un pseudo-élément : un backdrop-filter sur le header lui-même
   ferait de lui le repère du menu mobile (position: fixed) et le réduirait à 70px de haut. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248,250,251,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.scrolled { height: 70px; }
.site-header.scrolled::before { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 58px; width: auto; mix-blend-mode: multiply; transition: height .4s var(--ease); }
.scrolled .brand img { height: 46px; }

.nav ul { display: flex; gap: 34px; }
.nav a { position: relative; font-size: .84rem; color: var(--ink); padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { font-weight: 600; color: var(--navy); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--navy); transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; background: linear-gradient(120deg, #f5ece4 0%, #dbe6ef 55%, #b9cfe0 100%); }
.hero.compact { min-height: min(68vh, 560px); padding-bottom: 60px; }
.hero-media { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 70% 40%); transform: scale(1.12); transition: transform 2.8s var(--ease), opacity 1.2s; opacity: 0; filter: saturate(.88) contrast(.98); }
.hero.ready .hero-media img { transform: scale(1); opacity: 1; }
/* voile clair à gauche pour la lisibilité, teinte bleu/pêche de la marque */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(250,248,245,.92) 0%, rgba(250,248,245,.72) 32%, rgba(250,248,245,0) 62%),
  linear-gradient(180deg, rgba(185,207,224,.28), rgba(238,191,147,.12)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; background: linear-gradient(180deg, transparent, rgba(248,250,251,.55)); }

.watermark { position: absolute; z-index: 2; right: 1%; top: 50%; width: min(560px, 52vw); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.04); display: grid; place-items: center; font-family: var(--font-mark); font-weight: 800; font-size: min(18vw, 230px); letter-spacing: -.04em; color: rgba(255,255,255,.55); transform: translateY(-50%); backdrop-filter: blur(1.5px); pointer-events: none; animation: breathe 12s ease-in-out infinite; }
.watermark img {
  opacity: 0.44;
  object-fit: contain;
  position: absolute;
  top: -0.5%;
}
@keyframes breathe { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-52%) scale(1.035); } }

.hero-inner { position: relative; z-index: 3; max-width: 560px; }
.hero .rise { opacity: 0; transform: translateY(26px); }
.hero.ready .rise { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .12s + .15s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .script.tag { margin-top: 22px; transform: rotate(-4deg) translateY(26px); transform-origin: left; }
.hero.ready .script.tag { animation: riseTag 1s var(--ease) forwards; animation-delay: .9s; }
@keyframes riseTag { to { opacity: 1; transform: rotate(-4deg); } }
.hero-sub { font-size: 1.05rem; color: var(--ink); max-width: 44ch; margin-top: 4px; }
.hero-sub + .hero-sub { margin-top: 14px; font-weight: 500; }
.hero .btn { margin-top: 30px; }
.hero .rule { transform: scaleX(0); }
.hero.ready .rule { animation: grow 1s var(--ease) .75s forwards; }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- 7. Sections génériques ---------- */
.section { padding: 96px 0; position: relative; overflow: hidden; }
.section.mist { background: var(--mist); }
.section.tight { padding: 64px 0; }
.mini-wm { position: absolute; width: 360px; aspect-ratio: 1; border-radius: 50%; background: rgba(36,52,66,.0); display: grid; place-items: center; font-family: var(--font-mark); font-weight: 800; font-size: 130px; color: rgba(36,52,66,.06); pointer-events: none; }
.mini-wm img {
  opacity: 0.1;
  object-fit: contain;
  position: absolute;
  top: -0.5%;
}

/* Colonnes séparées par un filet vertical (motif récurrent de la maquette) */
.cols { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.cols > * { padding: 4px 26px; border-left: 1px solid var(--line); }
.cols > *:first-child { border-left: 0; padding-left: 0; }
.cols h3, .col-title { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 14px 0 8px; color: var(--navy); line-height: 1.4; }
.cols p { font-size: .88rem; color: var(--slate); line-height: 1.55; }
.cols .ico { font-size: 34px; color: var(--navy); transition: transform .5s var(--ease); }
.cols > *:hover .ico { transform: translateY(-5px) rotate(-6deg); }
.cols > * { transition: background .4s; }

/* ---------- 8. Accueil — deux panneaux ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.panel { position: relative; overflow: hidden; padding: 56px max(24px, 4vw); display: flex; flex-direction: column; justify-content: center; }
.panel > * { position: relative; z-index: 2; max-width: 300px; }
.panel .ico.big { font-size: 38px; margin-bottom: 14px; }
.panel h2 { font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; line-height: 1.5; }
.panel h2 + .rule { margin: 14px 0 18px; width: 28px; height: 1px; }
.panel p { font-size: .92rem; margin-bottom: 24px; }
.panel .pic { position: absolute; z-index: 1; top: 0; bottom: 0; width: 56%; max-width: none; overflow: hidden; }
.panel .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panel:hover .pic img { transform: scale(1.08); }
.panel.light-panel { background: var(--paper); }
.panel.light-panel .pic { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.panel.dark-panel { background: var(--navy); }
.panel.dark-panel, .panel.dark-panel h2, .panel.dark-panel p, .panel.dark-panel .ico { color: var(--white); }
.panel.dark-panel .pic { right: 0; width: 38%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }

/* ---------- 9. Accueil — approche ---------- */
.approach { display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 40px; }
.approach .label { font-size: 1.02rem; font-weight: 500; letter-spacing: .16em; line-height: 1.6; }
.approach .cols { --n: 3; }
.approach .cols > * { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; align-items: start; }
.approach .cols .ico { grid-row: span 2; font-size: 30px; margin-top: 2px; }
.approach .cols h3 { margin: 0 0 4px; }

/* ---------- 10. Bandeaux photo (CTA) ---------- */
.banner { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(110deg, #1c2a37, #3f5b73 60%, #c99a78); }
.banner > img.bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: 0; will-change: transform; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27,40,51,.78), rgba(27,40,51,.35) 60%, rgba(27,40,51,.1)); }
.banner .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 50px; padding-block: 80px; }
.banner h2, .banner h3 { color: var(--white); }
.banner p { color: rgba(255,255,255,.88); font-size: .95rem; max-width: 46ch; }
.banner .eyebrow { color: rgba(255,255,255,.8); }
.banner .cta-side { justify-self: end; }
.banner.sm .wrap { padding-block: 56px; }

/* CTA « Parlons de votre enjeu » */
.talk { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--mist); }
.talk .left { padding: 56px max(24px, 6vw); display: flex; align-items: center; gap: 36px; }
.talk .left .script { font-size: clamp(1.9rem, 3vw, 2.5rem); border-right: 1px solid var(--line); padding-right: 36px; }
.talk .left p { font-size: .92rem; color: var(--slate); max-width: 26ch; }
.talk .right { background: var(--navy); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 40px; }
.talk .right .circle { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; color: var(--white); font-size: 20px; transition: transform .5s var(--ease), background .4s; }
.talk .right:hover .circle { transform: rotate(-45deg); background: rgba(255,255,255,.12); }
.talk .mini-wm { right: -60px; top: -40px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.06); }

/* ---------- 11. Coaching professionnel ---------- */
.why { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 30px; min-height: 420px; }
.why .txt { max-width: 520px; position: relative; z-index: 2; }
.why .txt p { margin-top: 16px; font-size: .94rem; color: var(--slate); }
.why .txt p strong { color: var(--navy); font-weight: 600; }
.why .pic { position: relative; height: 420px; margin-right: calc((100vw - min(var(--wrap), 100vw - 48px)) / -2); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.why .pic img { width: 100%; height: 100%; object-fit: cover; }
.why .pic .script { position: absolute; right: 8%; top: 12%; z-index: 2; transform: rotate(-6deg); font-size: 1.5rem; max-width: 12ch; }
.why .pic .script::after { content: ""; display: block; width: 80%; height: 1.5px; background: var(--navy); margin-top: 8px; }
.why .mini-wm { left: 30%; top: 50%; transform: translateY(-50%); }

.purpose .intro { font-size: .98rem; margin-bottom: 36px; }
.purpose .cols { --n: 6; }
.purpose .cols > * { padding-inline: 20px; }
.purpose .cols p { font-size: .82rem; }
.purpose .cols .ico { font-size: 30px; }

.who { display: grid; grid-template-columns: 340px 1fr; background: var(--paper); }
.who .lead-panel { background: var(--navy); color: var(--white); padding: 52px 40px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.who .lead-panel .bgpic { position: absolute; inset: 0; opacity: .22; }
.who .lead-panel .bgpic img { width: 100%; height: 100%; object-fit: cover; }
.who .lead-panel > *:not(.bgpic) { position: relative; z-index: 2; }
.who .lead-panel h2 { color: var(--white); font-size: 1.45rem; line-height: 1.35; }
.who .lead-panel p { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 18px; }
.who .list { padding: 52px max(24px, 3vw); display: flex; align-items: center; }
.who .cols { --n: 4; width: 100%; }

.way .grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 46px; align-items: center; }
.way .intro p { margin-top: 14px; font-size: .94rem; color: var(--slate); max-width: 40ch; }
.way .intro strong { color: var(--navy); }
.way .quote { border-left: 1px solid var(--line); padding-left: 32px; font-size: .88rem; color: var(--slate); }
.way .quote p + p { margin-top: 6px; }
.way .quote strong { color: var(--navy); font-weight: 600; }
.way .mini-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.way .mini-cols div { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; }
.way .mini-cols .ico { font-size: 26px; grid-row: span 2; color: var(--navy); }
.way .mini-cols h3 { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.way .mini-cols p { font-size: .8rem; color: var(--slate); line-height: 1.45; }

/* ---------- 12. Performance commerciale ---------- */
.challenges { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.challenges .txt { padding-right: 40px; }
.challenges .txt p { margin-top: 16px; font-size: .94rem; color: var(--slate); }
.challenges .right { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--line); }
.checks { padding: 8px 0 8px 34px; display: grid; gap: 16px; align-content: center; }
.checks li { display: flex; gap: 12px; font-size: .9rem; align-items: baseline; opacity: 0; transform: translateX(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .1s + .2s); }
.in .checks li, .checks.in li { opacity: 1; transform: none; }
.checks li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); transform: rotate(45deg); flex: none; position: relative; top: -2px; }
.mug { position: relative; overflow: hidden; margin-right: calc((100vw - min(var(--wrap), 100vw - 48px)) / -2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); min-height: 320px; }
.mug img { width: 100%; height: 100%; object-fit: cover; }
.mug .script { position: absolute; right: 8%; bottom: 20%; color: #fff; font-family: var(--font-sans); font-size: .95rem; line-height: 1.35; max-width: 11ch; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.5); }

.expertise { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; }
.expertise h2 { font-size: 1.25rem; line-height: 1.35; }
.expertise .muted { margin-top: 12px; font-size: .88rem; }
.expertise .script { margin-top: 24px; transform: rotate(-3deg); font-size: 1.5rem; }
.expertise .cols { --n: 5; }
.expertise .cols > * { padding-inline: 18px; }
.expertise .cols p { font-size: .8rem; }

.career { display: grid; grid-template-columns: 38% 1fr; background: var(--paper); }
.career .photo { position: relative; background: var(--navy-2); overflow: hidden; }
.career .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.career .photo .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,52,66,.15), rgba(36,52,66,.9) 78%); }
.career .photo .copy { position: relative; z-index: 2; padding: 52px 40px; color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.career .photo h2 { color: #fff; font-size: 1.6rem; margin-bottom: 14px; }
.career .photo p { font-size: .88rem; color: rgba(255,255,255,.88); }
.career .photo .script { color: #fff; margin-top: 26px; font-size: 1.55rem; transform: rotate(-4deg); }
.career .timeline { padding: 52px max(24px, 3vw); display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.career ul { display: grid; gap: 22px; }
.career li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.career li .ico { font-size: 26px; color: var(--navy); grid-row: span 2; }
.career li h3 { font-size: .86rem; font-weight: 700; line-height: 1.3; }
.career li p { font-size: .78rem; color: var(--slate); line-height: 1.45; }
.career blockquote { margin: 0; padding-left: 32px; border-left: 1px solid var(--line); }
.career blockquote .ico { font-size: 34px; color: var(--grey); }
.career blockquote p { font-style: italic; font-size: .92rem; color: var(--slate); margin: 12px 0 18px; }
.career blockquote .script { font-size: 1.35rem; padding-top: 14px; border-top: 1px solid var(--navy); display: inline-block; transform: rotate(-3deg); }

.for-whom { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.for-whom .cols { --n: 4; }
.for-whom .cols > * { padding-inline: 22px; }

.steps { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.steps .cols { --n: 4; }

/* ---------- 13. À propos ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.journey .txt p { margin-top: 16px; font-size: .94rem; color: var(--slate); max-width: 46ch; }
.journey .txt p strong { color: var(--navy); }
.timeline-v { position: relative; display: grid; gap: 30px; padding-left: 38px; }
.timeline-v::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease); }
.in .timeline-v::before, .timeline-v.in::before { transform: scaleY(1); }
.timeline-v li { position: relative; }
.timeline-v li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 9px; height: 9px; border: 1.5px solid var(--navy); border-radius: 50%; background: var(--paper); transition: background .4s; }
.timeline-v li:hover::before { background: var(--navy); }
.timeline-v h3 { font-size: .9rem; font-weight: 700; }
.timeline-v p { font-size: .82rem; color: var(--slate); }
.portrait { position: relative; margin-right: calc((100vw - min(var(--wrap), 100vw - 48px)) / -2); min-height: 380px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; position: absolute; inset: 0; }
.portrait .script { position: absolute; bottom: 7%; right: 8%; z-index: 2; background: rgba(248,250,251,.85); padding: 6px 14px; transform: rotate(-3deg); font-size: 1.35rem; max-width: 16ch; }
.journey-wrap { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 36px; align-items: center; }

.values { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.values .cols { --n: 4; }

.cert { display: grid; grid-template-columns: 1fr 360px 1fr; background: var(--paper); }
.cert .pic { position: relative; background: var(--navy-3); overflow: hidden; min-height: 280px; }
.cert .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: grayscale(.4); }
.cert .mid { background: var(--navy); color: #fff; padding: 46px 40px; position: relative; z-index: 2; }
.cert .mid h2 { color: #fff; font-size: 1.45rem; margin-bottom: 14px; }
.cert .mid p { font-size: .85rem; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.cert .side { display: grid; grid-template-columns: 170px 1fr; align-items: center; padding: 40px max(24px, 3vw); gap: 30px; }
.icf-logo { font-family: var(--font-sans); color: #1d4f91; line-height: 1; }
.icf-logo b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: 6px; }
.icf-logo span { font-size: .8rem; font-weight: 600; display: block; }
.cert blockquote { margin: 0; padding-left: 28px; border-left: 1px solid var(--line); color: var(--slate); font-size: .9rem; font-style: italic; }
.cert blockquote .ico { font-size: 28px; color: var(--grey); display: block; margin-bottom: 8px; }
.cert blockquote cite { display: block; font-size: .74rem; font-style: normal; margin-top: 14px; }

.philo { position: relative; color: #fff; overflow: hidden; background: linear-gradient(110deg, #29415a, #6f8da6); }
.philo > img.bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.philo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36,52,66,.82), rgba(36,52,66,.4)); }
.philo .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 44px; align-items: center; padding-block: 64px; }
.philo .script { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.philo .eyebrow { color: rgba(255,255,255,.85); }
.philo .txt { border-left: 1px solid rgba(255,255,255,.4); padding-left: 36px; font-size: .92rem; color: rgba(255,255,255,.92); }
.philo .txt p + p { margin-top: 12px; }
.philo .side-note { font-family: var(--font-script); font-size: 1.4rem; display: flex; align-items: flex-end; gap: 10px; transform: rotate(-4deg); }
.philo .side-note .ico { font-size: 28px; transition: transform .5s var(--ease); }
.philo .side-note:hover .ico { transform: translateX(8px); }

.cta-line { display: grid; grid-template-columns: 90px 1fr auto; gap: 30px; align-items: center; padding: 56px 0; }
.cta-line .mini-wm { position: static; width: 80px; font-size: 30px; background: rgba(36,52,66,.08); color: rgba(36,52,66,.35); }
.cta-line h2 { font-style: italic; font-size: 1.6rem; }
.cta-line .ph { border-left: 1px solid var(--line); padding-left: 30px; }
.cta-line .ph p { font-size: .9rem; color: var(--slate); max-width: 56ch; margin-top: 4px; }

/* ---------- 14. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; align-items: start; }
.contact-info { padding-right: 56px; border-right: 1px solid var(--line); }
.contact-info > p { margin-top: 16px; font-size: .94rem; color: var(--slate); max-width: 44ch; }
.coords { margin-top: 36px; display: grid; gap: 26px; }
.coords li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center; }
.coords .ico { font-size: 32px; color: var(--navy); grid-row: span 2; transition: transform .5s var(--ease); }
.coords li:hover .ico { transform: scale(1.14) rotate(-6deg); }
.coords b { font-size: .86rem; font-weight: 600; color: var(--navy); }
.coords span, .coords a { font-size: .88rem; color: var(--slate); }
.coords a:hover { color: var(--navy); text-decoration: underline; }

.form-card { margin-left: 40px; background: var(--mist); padding: 36px; border-radius: 4px; position: relative; }
.form-card h2 { font-size: 1.35rem; font-weight: 500; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { position: absolute; left: 14px; top: 13px; font-size: .84rem; color: var(--slate); pointer-events: none; transition: all .25s var(--ease); background: transparent; }
.field input, .field select, .field textarea { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 22px 14px 8px; font-size: .9rem; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(36,52,66,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.filled + label { top: 5px; font-size: .68rem; letter-spacing: .06em; color: var(--navy); }
.field select { cursor: pointer; padding-right: 36px; }
.field.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field .err { display: none; font-size: .72rem; color: #a3402f; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c4624f; }
.field.invalid .err { display: block; }
.form-foot { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.privacy { font-size: .74rem; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.privacy .ico { font-size: 14px; }
.form-ok { display: none; text-align: center; padding: 40px 10px; }
.form-ok .circle { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--navy); margin: 0 auto 18px; display: grid; place-items: center; }
.form-ok svg { width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.form-card.sent form { display: none; }
.form-card.sent .form-ok { display: block; }
.form-card.sent .form-ok svg { animation: draw .7s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-ok h3 { font-size: 1.3rem; margin-bottom: 8px; }

.first { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.first .head { display: flex; align-items: center; gap: 12px; }
.first .head .ico { font-size: 28px; color: var(--navy); }
.first .txt p { margin: 14px 0 24px; font-size: .92rem; color: var(--slate); max-width: 46ch; }
.first .cols { --n: 4; }
.first .cols > * { padding-inline: 18px; }
.first .cols .ico { font-size: 28px; }

.sign { position: relative; color: #fff; overflow: hidden; background: linear-gradient(110deg, #1c2a37, #4a6a84 60%, #d6a883); }
.sign > img.bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.sign::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27,40,51,.55), rgba(27,40,51,.15)); }
.sign .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 58px; }
.sign .script { color: #fff; font-size: 2.4rem; transform: rotate(-6deg); }
.sign .brandmark { text-align: center; display: grid; gap: 4px; justify-items: center; }
.sign .brandmark img { height: 80px; filter: invert(1) grayscale(1) brightness(1.5); mix-blend-mode: screen; }
.sign blockquote { margin: 0; border-left: 1px solid rgba(255,255,255,.5); padding-left: 32px; font-size: .95rem; }
.sign blockquote cite { display: block; font-style: normal; font-size: .8rem; margin-top: 10px; opacity: .85; }
.sign .arrow-draw { width: 120px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.2; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2s var(--ease) .4s; }
.sign.in .arrow-draw { stroke-dashoffset: 0; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 26px 0; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.site-footer img { height: 54px; mix-blend-mode: multiply; }
.site-footer p { font-size: .76rem; color: var(--slate); text-align: center; }
.site-footer .links { display: flex; align-items: center; gap: 22px; font-size: .76rem; color: var(--slate); }
.site-footer .links a:hover { color: var(--navy); }
.site-footer .links .ico { font-size: 20px; color: var(--navy); }
.site-footer .links .sep { width: 1px; height: 18px; background: var(--line); }

/* ---------- 16. Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .11s); }
.stagger.in > * { opacity: 1; transform: none; }
.mask-img { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease); }
.mask-img.in { clip-path: inset(0); }
.script.write { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
.script.write.in { clip-path: inset(0 0 -20% 0); }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1080px) {
  .purpose .cols { --n: 3; row-gap: 32px; }
  .purpose .cols > *:nth-child(4) { border-left: 0; padding-left: 0; }
  .expertise, .for-whom, .steps, .values, .approach { grid-template-columns: 1fr; }
  .expertise .cols { --n: 3; row-gap: 28px; }
  .expertise .cols > *:nth-child(4) { border-left: 0; padding-left: 0; }
  .cert { grid-template-columns: 1fr; }
  .cert .pic { min-height: 200px; }
  .career { grid-template-columns: 1fr; }
  .career .photo { min-height: 380px; }
  .who { grid-template-columns: 1fr; }
  .journey-wrap { grid-template-columns: 1fr 1fr; }
  .philo .wrap { grid-template-columns: 1fr; gap: 24px; }
  .philo .txt { border-left: 0; padding-left: 0; }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
}

@media (max-width: 880px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .site-header .btn.sm { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--paper); padding: 110px 34px 40px; transform: translateX(100%); transition: transform .55s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.25); z-index: 99; }
  .menu-open .nav { transform: none; }
  .nav ul { flex-direction: column; gap: 22px; }
  .nav a { font-size: 1.1rem; }
  .burger { position: relative; z-index: 101; }

  .hero { min-height: 78vh; }
  .hero::before { background: linear-gradient(180deg, rgba(250,248,245,.9), rgba(250,248,245,.55) 60%, rgba(250,248,245,.2)); }
  .watermark { right: -30%; width: 70vw; }
  .section { padding: 70px 0; }
  .duo, .talk, .banner .wrap, .challenges, .why, .journey, .contact-grid, .first, .way .grid { grid-template-columns: 1fr; }
  .panel { min-height: 320px; }
  .talk .left { flex-direction: column; align-items: flex-start; }
  .talk .left .script { border: 0; padding: 0; }
  .banner .cta-side { justify-self: start; }
  .challenges .right { grid-template-columns: 1fr; border: 0; }
  .checks { padding-left: 0; margin-top: 24px; }
  .mug, .why .pic, .portrait { margin-right: 0; min-height: 280px; height: 280px; -webkit-mask-image: none; mask-image: none; }
  .cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .cols > * { border-left: 0 !important; padding-left: 0 !important; }
  .approach .cols { grid-template-columns: 1fr; }
  .career .timeline { grid-template-columns: 1fr; }
  .career blockquote { border-left: 0; padding-left: 0; }
  .cert .side { grid-template-columns: 1fr; }
  .contact-info { border: 0; padding: 0 0 40px; }
  .form-card { margin-left: 0; padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .journey-wrap { grid-template-columns: 1fr; }
  .cta-line { grid-template-columns: 1fr; }
  .cta-line .ph { border: 0; padding: 0; }
  .sign .wrap { flex-direction: column; text-align: center; }
  .sign blockquote { border: 0; padding: 0; }
  .way .quote { border: 0; padding: 0; }
  .who .cols, .for-whom .cols, .steps .cols, .values .cols, .first .cols { --n: 2; }
}

@media (max-width: 520px) {
  .cols { grid-template-columns: 1fr; }
  .purpose .cols, .expertise .cols { grid-template-columns: 1fr; }
  .way .mini-cols { grid-template-columns: 1fr; }
  .brand img { height: 48px; }
}

/* ---------- 18. Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .stagger > *, .hero .rise, .checks li { opacity: 1 !important; transform: none !important; }
  .mask-img, .script.write { clip-path: none !important; }
  .hero-media img { opacity: 1; transform: none; }
  .hero .script.tag { opacity: 1; transform: rotate(-4deg); }
  .hero .rule { transform: none; }
}

/* ==========================================================
   19. PAGES DE CONTENU (articles, blog, pages type CMS)
   Tout ce qui est dans <div class="prose"> est stylé automatiquement :
   p, h2, h3, ul, ol, blockquote, figure, table, hr, a, .callout…
   ========================================================== */
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 22px; font-size: .82rem; color: var(--slate); }
.post-meta .tag, .tag { display: inline-block; padding: 4px 12px; /*border: 1px solid var(--navy);*/ border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); /*background: rgba(255,255,255,.55); */}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey); }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 250px; justify-content: center; gap: 70px; align-items: start; }
.toc { position: sticky; top: 100px; border-left: 1px solid var(--line); padding-left: 22px; }
.toc .label { display: block; margin-bottom: 14px; }
.toc ol { display: grid; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { font-size: .84rem; color: var(--slate); display: flex; gap: 10px; line-height: 1.4; transition: color .3s, transform .3s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: .7rem; font-weight: 700; color: var(--grey); padding-top: 2px; transition: color .3s; }
.toc a:hover, .toc a.active { color: var(--navy); transform: translateX(4px); }
.toc a.active::before { color: var(--navy); }

.prose { font-size: 1.06rem; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose > .chapo { font-size: 1.25rem; line-height: 1.6; color: var(--navy); font-weight: 300; padding-bottom: 1.2em; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.25; margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h2::before { content: ""; display: block; width: 34px; height: 2px; background: var(--navy); margin-bottom: 16px; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.8em; scroll-margin-top: 100px; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--navy); }
.prose strong { font-weight: 600; color: var(--navy); }
.prose ul, .prose ol { padding-left: 0; display: grid; gap: .6em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 7px; height: 7px; border-top: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; position: relative; padding-left: 44px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border: 1px solid var(--navy); border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--navy); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 6px 0 6px 28px; border-left: 2px solid var(--navy); font-family: var(--font-script); font-size: 1.9rem; line-height: 1.25; color: var(--navy); }
.prose blockquote cite { display: block; margin-top: 10px; font-family: var(--font-sans); font-size: .8rem; font-style: normal; letter-spacing: .08em; color: var(--slate); }
.prose figure { margin-inline: 0; }
.prose figure img { width: 100%; border-radius: 4px; }
.prose figcaption { margin-top: 10px; font-size: .8rem; color: var(--slate); text-align: center; }
.prose figure.wide { margin-inline: -60px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.prose .callout { background: var(--mist); border-left: 3px solid var(--navy); padding: 22px 26px; border-radius: 0 4px 4px 0; font-size: .98rem; line-height: 1.7; }
.prose .callout > :first-child { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.prose .callout.dark { background: var(--navy); border-color: var(--sky); color: rgba(255,255,255,.92); }
.prose .callout.dark > :first-child { color: var(--sky); }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.prose th { text-align: left; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); padding: 12px 14px; border-bottom: 2px solid var(--navy); }
.prose td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:hover td { background: var(--mist); }

.author { display: grid; grid-template-columns: 76px 1fr; gap: 22px; align-items: center; margin-top: 56px; padding: 28px; background: var(--mist); border-radius: 4px; }
.author .avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-mark); font-weight: 800; font-size: 1.05rem; letter-spacing: -.03em; overflow: hidden; }
.author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author h3 { font-size: 1.05rem; font-weight: 600; }
.author p { font-size: .88rem; color: var(--slate); margin-top: 4px; line-height: 1.55; }
.share { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: .8rem; color: var(--slate); }
.share a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--navy); font-size: 18px; transition: background .3s, color .3s, transform .3s var(--ease); }
.share a:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(36,52,66,.45); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(120deg, #dbe6ef, #b9cfe0); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .thumb img { transform: scale(1.08); }
.card .body { padding: 22px; }
.card h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin: 12px 0 8px; }
.card p { font-size: .86rem; color: var(--slate); line-height: 1.55; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.card .more .ico { transition: transform .35s var(--ease); }
.card:hover .more .ico { transform: translateX(5px); }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 720px); gap: 34px; }
  .toc { position: static; order: -1; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 22px; }
  .prose figure.wide { margin-inline: 0; }
}
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; text-align: left; }
  .prose { font-size: 1rem; }
  .prose blockquote { font-size: 1.6rem; }
}

/* ==========================================================
   20. BANDEAU LOGOS DÉFILANT (partenaires / clients)
   ========================================================== */
.logos { padding: 44px 0 40px; background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.logos .eyebrow { justify-content: center; margin-bottom: 26px; }
.logos .eyebrow::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }

.logos-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos-track {
  display: flex; align-items: center; width: max-content;
  animation: logos-scroll var(--dur, 30s) linear infinite;
  will-change: transform;
}
/* Pause au survol uniquement sur les appareils à souris (sur mobile, le :hover reste « collé » après un tap) */
@media (hover: hover) {
  .logos-marquee:hover .logos-track { animation-play-state: paused; }
}
/* Pause pour la navigation au clavier uniquement (:focus-visible ne se déclenche pas après un clic souris) */
.logos-marquee:has(a:focus-visible) .logos-track { animation-play-state: paused; }
@keyframes logos-scroll { to { transform: translateX(var(--shift, -50%)); } }

/* largeur fixe par logo : le JS peut calculer la boucle sans attendre le chargement des images */
.logos-track li { flex: 0 0 auto; width: 220px; display: grid; place-items: center; padding: 0 28px; }
.logos-track a { display: grid; place-items: center; width: 100%; height: 70px; border-radius: 4px; }
.logos-track img {
  max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain;
  filter: grayscale(1); opacity: .55;
  transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.logos-track a:hover img, .logos-track a:focus-visible img { filter: none; opacity: 1; transform: scale(1.08); }

@media (max-width: 880px) {
  .logos-track li { width: 160px; padding: 0 18px; }
  .logos-track img { max-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================
   21. AVIS (carrousel en fondu, un avis à la fois)
   ========================================================== */
.reviews { padding: 90px 0; background: var(--mist); text-align: center; position: relative; overflow: hidden; }
.reviews .eyebrow { justify-content: center; }
.reviews .eyebrow::before { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }

/* tous les avis sont empilés dans la même cellule : la hauteur = celle du plus long, donc pas de saut de page */
.reviews-slider { display: grid; max-width: 760px; margin: 36px auto 0; }
.review {
  grid-area: 1 / 1; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 44px clamp(22px, 5vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 24px 50px -34px rgba(36,52,66,.45);
  opacity: 0; visibility: hidden; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s linear .6s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .4s, .4s, 0s; }   /* apparaît après le fondu de sortie */
.review.is-leaving { opacity: 0; transform: translateY(-18px); }                                             /* disparition vers le haut */

.stars { font-family: Arial, "Segoe UI Symbol", sans-serif; font-size: 1.5rem; letter-spacing: .2em; color: #f5b400; line-height: 1; text-indent: .2em; }
.review blockquote { margin: 0; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.7; color: var(--ink); font-style: italic; max-width: 56ch; }
.review figcaption { font-family: var(--font-script); font-size: 1.8rem; line-height: 1; color: var(--navy); }

.reviews-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.reviews-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--grey); opacity: .5; cursor: pointer; transition: width .4s var(--ease), background .3s, opacity .3s; }
.reviews-dots button:hover { opacity: .9; }
.reviews-dots button.is-active { width: 28px; background: var(--navy); opacity: 1; }

@media (max-width: 880px) {
  .reviews { padding: 64px 0; }
  .review { padding: 34px 22px; }
  .review figcaption { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .review, .review.is-active, .review.is-leaving { transform: none; }
}

/* ==========================================================
   22. SOUS-MENU « ARTICLES » (desktop + menu sandwich)
   ========================================================== */
.nav .has-sub { position: relative; }
/* même affichage pour TOUS les liens de premier niveau, sinon « Articles » est décalé verticalement */
.nav > ul { align-items: center; }
.nav > ul > li > a { display: inline-flex; align-items: center; gap: 8px; line-height: 1.65; }
/* chevron (le ::after du lien est déjà utilisé pour le soulignement) */
.nav .has-sub > a::before { content: ""; order: 2; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.nav .has-sub.open > a::before { transform: translateY(1px) rotate(225deg); }

.nav .submenu { display: grid; gap: 0; position: absolute; top: 100%; left: -22px; min-width: 270px; padding: 14px 0 6px; z-index: 5; }
/* panneau blanc : le haut du ul (14px) sert de « pont » pour que le survol ne se coupe pas */
.nav .submenu::before { content: ""; position: absolute; inset: 14px 0 0 0; z-index: -1; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 22px 40px -22px rgba(36,52,66,.4); }
.nav .submenu a { display: block; padding: 12px 22px; font-size: .84rem; line-height: 1.4; transition: background .3s, color .3s, padding .35s var(--ease); }
.nav .submenu a::after { display: none; }
.nav .submenu a:hover { background: var(--mist); color: var(--navy); padding-left: 28px; }

@media (min-width: 881px) {
  .nav .submenu { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
  .nav .has-sub.open > .submenu,
  .nav .has-sub:has(a:focus-visible) > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav .has-sub:has(a:focus-visible) > a::before { transform: translateY(1px) rotate(225deg); }
}
@media (min-width: 881px) and (hover: hover) {
  .nav .has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav .has-sub:hover > a::before { transform: translateY(1px) rotate(225deg); }
}
@media (min-width: 881px) and (max-width: 1100px) {
  .nav ul { gap: 22px; }
}

/* Menu sandwich : accordéon */
@media (max-width: 880px) {
  .nav { overflow-y: auto; }
  .nav .submenu { position: static; min-width: 0; padding: 0 0 0 16px; margin-top: 0; max-height: 0; overflow: hidden; visibility: hidden; border-left: 1px solid var(--line); transition: max-height .5s var(--ease), margin .5s var(--ease), visibility 0s linear .5s; }
  .nav .submenu::before { display: none; }
  .nav .has-sub.open > .submenu { max-height: 260px; margin-top: 14px; visibility: visible; transition-delay: 0s; }
  .nav .submenu a { font-size: .98rem; padding: 10px 0; }
  .nav .submenu a:hover { background: none; padding-left: 6px; }

  .nav > ul { align-items: stretch; }                  /* tous les <li> prennent la largeur du panneau… */
  .nav > ul > li { text-align: center; }               /* …et leur contenu est centré */
  .nav > ul > li > a { display: inline-flex; justify-content: center; }

  /* le chevron sort du flux pour ne pas décaler le mot « Articles » du centre */
  .nav .has-sub > a { position: relative; }
  .nav .has-sub > a::before { position: absolute; right: -20px; top: 50%; margin-top: -3px; }

  /* sous-menu centré lui aussi */
  .nav .submenu { padding: 0; border-left: 0; text-align: center; }
  .nav .submenu a:hover { padding-left: 0; }
}
