/* polices hébergées (SIL OFL 1.1) : Geist, Geist Mono, Archivo */
@font-face{font-family:'Geist';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geist-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist';font-style:normal;font-weight:300 700;font-display:swap;src:url(/assets/fonts/geist-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/geist-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/geist-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-stretch:125%;font-display:swap;src:url(/assets/fonts/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:500;font-stretch:125%;font-display:swap;src:url(/assets/fonts/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* MAIORIS.NET 2.0 — identité « Portes », alignée sur le logo MAIORIS
   VOICE   : cabinet institutionnel, précis, sûr de lui ; chaleur portée par une seule couleur
   IDEA    : la grille d'un rapport stratégique + les quatre panneaux du logo (des portes qui s'ouvrent : beyond)
   PICTURE : grandes masses typographiques ; le symbole du logo comme seule image
   COLOUR  : bleu MAIORIS #243AFF et blanc dominants ; bleu marine #0B1650 pour le texte ; bleu pâle #F2F4FF pour le rythme
   TYPE    : Geist (titres et texte) · Geist Mono (repères) */

:root {
  --paper: #FFFFFF; --paper2: #F2F4FF; --ink: #0B1650; --mute: #4A5280; --line: #DDE1F2;
  --red: #243AFF; --red-ink: #243AFF; --on-dark: #FFFFFF; --mute-dark: #A7AAC4;
  --sans: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --w: 1320px; --pad: max(4.5vw, 20px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; font-feature-settings: "ss01", "cv11"; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 5px; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--mute); }
mark.sun { background: none; color: inherit; }
mark.todo { background: #FBE2D9; color: #8A2310; border: 1px dashed var(--red-ink); padding: 0 6px; font: 500 .82em/1.6 var(--sans); }

/* ---------- type ---------- */
.lbl { display: flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: .02em; color: var(--mute); margin: 0 0 22px; }
.lbl::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
.lbl a { color: inherit; text-decoration: none; }
.lbl a:hover { color: var(--ink); text-decoration: underline; }
.thesis { font: 600 clamp(52px, 9vw, 136px)/.92 var(--sans); letter-spacing: -.055em; margin: 0; text-wrap: balance; }
.thesis em { font-style: normal; font-weight: 300; }
.thesis.s { font-size: clamp(40px, 5.8vw, 84px); line-height: .98; letter-spacing: -.045em; }
.h2 { font: 600 clamp(30px, 3.8vw, 52px)/1.04 var(--sans); letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
.h2 em { font-style: normal; font-weight: 300; }
.h2.narrow { max-width: 900px; }
.h3 { font: 600 clamp(22px, 2.1vw, 28px)/1.15 var(--sans); letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.h3 a { color: inherit; text-decoration: none; }
.h3 a:hover { color: var(--red-ink); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 660px; color: #2A2926; }
.tag { font: 500 12px/1.4 var(--mono); color: var(--mute); margin-bottom: 10px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 24px; background: var(--ink); color: var(--paper); font: 500 15px/1.2 var(--sans); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.btn::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; transition: transform .25s; }
.btn:hover { background: var(--red); color: #fff; }
.btn:hover::after { background: #fff; transform: scale(1.3); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-sun { background: var(--red); color: #fff; }
.btn-sun::after { background: #fff; }
.btn-sun:hover { background: var(--paper); color: var(--ink); }
.link { background: none; border: 0; color: var(--ink); font: 500 15px var(--sans); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; min-height: 44px; padding: 0; }
.link-inv { color: var(--on-dark); }
.link-inv:hover { color: #B9C1FF; }
.actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 40px; }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { max-width: 1480px; margin: 0 auto; padding: 16px var(--pad); display: flex; align-items: center; gap: 24px; transition: padding .25s; }
.hd.compact .hd-in { padding-top: 9px; padding-bottom: 9px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 500 17px/1 "Archivo", var(--sans); font-stretch: 125%; letter-spacing: .1em; color: var(--red); text-decoration: none; margin: 0; }
.logo svg { width: 26px; height: 26px; flex: none; fill: var(--red); }
#nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: space-between; }
#nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 0 auto; padding: 0; }
#nav ul a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
#nav ul a:hover, #nav ul a[aria-current] { border-bottom-color: var(--red); }
.hd-end { display: flex; align-items: center; gap: 18px; }
.lang { font: 500 12px var(--mono); color: var(--mute); text-decoration: none; text-transform: uppercase; }
.lang:hover { color: var(--ink); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span[aria-hidden], .burger span[aria-hidden]::before, .burger span[aria-hidden]::after { position: absolute; left: 12px; width: 24px; height: 2px; background: var(--ink); content: ""; transition: transform .25s; }
.burger span[aria-hidden] { top: 23px; }
.burger span[aria-hidden]::before { left: 0; top: -7px; }
.burger span[aria-hidden]::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span[aria-hidden] { background: transparent; }
.burger[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) {
  .burger { display: block; }
  /* backdrop-filter fait de .hd le bloc conteneur du menu fixe : le panneau ne couvrait que l'en-tête */
  .hd { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FFFFFF; }
  #nav { display: none; position: fixed; inset: 64px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; justify-content: space-between; padding: 24px var(--pad) 32px; overflow-y: auto; }
  #nav.open { display: flex; }
  #nav ul { flex-direction: column; margin: 0; gap: 0; }
  #nav ul a { display: block; font: 600 30px/1.15 var(--sans); letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hd-end { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 24px; }
  .hd-end .btn { justify-content: center; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--line); }
.hero { position: relative; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero.sub { padding-top: clamp(44px, 6vw, 80px); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.g12 > * { grid-column: 1 / -1; }
.hero .thesis { grid-column: 1 / span 12; }
.hero .lead { grid-column: 1 / span 6; margin-top: 48px; }
.hero .note { grid-column: 7 / span 3; grid-row: 2; margin-top: 52px; padding: 20px 0 0; border-top: 2px solid var(--ink); font-size: 15px; line-height: 1.55; color: var(--mute); }
.hero .note p:last-child { margin: 0; }
.hero .note .lbl { margin-bottom: 10px; }
.hero.sub .thesis { grid-column: 1 / span 8; }
.hero.sub .actions { grid-column: 1 / span 8; }
.hero .cartouche { grid-column: 9 / span 4; grid-row: 2 / span 3; margin-top: 8px; align-self: start; }
.g12 .side { grid-column: 1 / span 3; }
.g12 .main { grid-column: 4 / span 9; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.mirror { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols3 > div { border-top: 2px solid var(--ink); padding-top: 20px; }
@media (max-width: 880px) {
  .g12 .side, .g12 .main, .hero .thesis, .hero.sub .thesis, .hero.sub .actions, .hero .lead, .hero .note, .hero .cartouche { grid-column: 1 / -1; grid-row: auto; }
  .split, .mirror, .cols3 { grid-template-columns: 1fr; gap: 40px; }
}

/* symbole du logo dans le héro de l'accueil */
body[data-page="home"] .hero { isolation: isolate; }
body[data-page="home"] .hero::after { content: ""; position: absolute; right: max(4vw, 24px); bottom: 9%; width: clamp(150px, 19vw, 300px); aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23243AFF%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; z-index: -1; }
@media (max-width: 880px) { body[data-page="home"] .hero::after { display: none; } }

/* versus */
.versus { margin: 0; border-top: 2px solid var(--ink); }
.versus div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.versus dt { color: var(--mute); }
.versus dd { margin: 0; }
.versus .us { border-bottom: 2px solid var(--ink); background: linear-gradient(90deg, rgba(36, 58, 255, .09), transparent 70%); padding-left: 14px; margin-left: -14px; }
.versus .us dt, .versus .us dd { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .versus div { grid-template-columns: 1fr; gap: 4px; } }

/* index list */
.index { list-style: none; margin: 8px 0 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: ix; }
.index li { border-bottom: 1px solid var(--line); counter-increment: ix; }
.index a, .index.static li { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: baseline; padding: 20px 0; color: var(--ink); text-decoration: none; font: 500 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); letter-spacing: -.01em; transition: background .2s, padding .2s; }
.index a::before, .index.static li::before { content: counter(ix, decimal-leading-zero); font: 500 12px var(--mono); color: var(--mute); }
.index em { font: normal 500 12px var(--mono); color: var(--mute); white-space: nowrap; }
.index a:hover { background: var(--ink); color: var(--paper); padding-left: 12px; padding-right: 12px; }
.index a:hover em, .index a:hover::before { color: #B9C1FF; }
@media (max-width: 640px) { .index a, .index.static li { grid-template-columns: 36px 1fr; } .index em { grid-column: 2; } }

/* plan */
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); border: 2px solid var(--ink); margin-top: 16px; }
.plan.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.room, .plan .cell { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); background: var(--paper); color: var(--ink); text-decoration: none; min-height: 210px; transition: background .25s, color .25s; }
.rn { font: 500 12px var(--mono); color: var(--red-ink); margin: 0; }
.rt { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.03em; }
.rd { color: var(--mute); font-size: 15px; margin-top: auto; }
a.room:hover { background: var(--ink); color: var(--paper); }
a.room:hover .rn { color: #B9C1FF; }
a.room:hover .rd { color: var(--mute-dark); }
.cap { font: 500 12px/1.5 var(--mono); color: var(--mute); margin-top: 14px; }
.cap span { color: var(--red-ink); margin-right: 6px; }
.cap a { color: inherit; }
.cap.inv { color: var(--mute-dark); }
@media (max-width: 720px) { .plan, .plan.three { grid-template-columns: 1fr; } .room, .plan .cell { min-height: 0; } }

/* dark band + circuit */
.navy { background: var(--ink); color: var(--on-dark); border-bottom: 0; position: relative; overflow: hidden; }
.navy .lbl { color: var(--mute-dark); }
.navy .h2 { color: var(--on-dark); }
.circuit { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 40px 0 32px; padding: 0; counter-reset: s; background: #2A2926; border: 2px solid #2A2926; }
.circuit li { counter-increment: s; padding: 18px 16px 22px; background: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.circuit li::before { content: counter(s, decimal-leading-zero); font: 500 11px var(--mono); color: var(--mute-dark); }
.circuit li:last-child { background: var(--red); color: #fff; }
.circuit li:last-child::before { color: #DDE1FF; }
.circuit.big { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.circuit.big li { padding: 24px; min-height: 180px; }
.circuit.big span { font-size: 14px; font-weight: 400; color: var(--mute-dark); }
.circuit.big li:last-child span { color: #DDE1FF; }
.circuit.big strong { font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
@media (max-width: 1000px) { .circuit { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .circuit, .circuit.big { grid-template-columns: 1fr; } .circuit li { min-height: 0; } }

/* figures: horizon */
.fig { margin: 0; }
.brise { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.brise::before { content: ""; position: absolute; inset: 22% 30%; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23243AFF%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.brise::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 58, 255, .22) 0 1px, transparent 1px) 0 0 / 8.333% 100%; }
.fig figcaption, .portrait figcaption { font: 500 12px/1.5 var(--mono); color: var(--mute); margin-top: 12px; }
.fig figcaption span { color: var(--red-ink); margin-right: 6px; }

/* work */
.work-feature { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: end; }
.work-list { display: flex; flex-direction: column; gap: 88px; }
@media (max-width: 760px) { .work-feature { grid-template-columns: 1fr; gap: 24px; } }
.industries-line { font: 600 clamp(28px, 3.8vw, 54px)/1.18 var(--sans); letter-spacing: -.04em; margin: 0; }
.industries-line a { color: var(--ink); text-decoration: none; }
.industries-line a:hover { color: var(--red-ink); }
.industries-line span { color: var(--red); font-weight: 300; }

/* challenge & offer rows */
.chal, .offer-row { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; padding: 44px 0; border-top: 1px solid var(--line); }
.chal:first-child, .offer-row:first-child { border-top: 2px solid var(--ink); }
.chal p:not(.lbl), .offer-row p:not(.rn) { max-width: 720px; }
.answer { font-weight: 600; }
.offer-row { grid-template-columns: 1fr 7fr 4fr; align-items: start; transition: background .2s; }
.offer-row .rn { font-size: 28px; font-family: var(--sans); font-weight: 300; color: var(--red-ink); padding-top: 0; letter-spacing: -.02em; }
.mini { margin: 6px 0 0; font-size: 14px; }
.mini div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini dt { font: 500 12px/1.8 var(--mono); color: var(--mute); }
.mini dd { margin: 0; }
@media (max-width: 760px) { .chal, .offer-row { grid-template-columns: 1fr; gap: 8px; } }

/* cartouche */
.cartouche { margin: 0; background: var(--ink); color: var(--on-dark); font-size: 14px; }
.cartouche div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #2E2D2A; }
.cartouche div:last-child { border-bottom: 0; }
.cartouche div:first-child { border-top: 4px solid var(--red); }
.cartouche dt { font: 500 12px/1.7 var(--mono); color: var(--mute-dark); }
.cartouche dd { margin: 0; }
.cartouche mark.todo { background: #3A1A12; color: #FFB7A3; border-color: #FFB7A3; }

ul.dash, ul.outcomes { list-style: none; padding: 0; margin: 0; }
ul.dash li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; }
ul.dash li::before { content: ""; position: absolute; left: 0; top: 20px; width: 9px; height: 2px; background: var(--red); }
ul.outcomes li { font: 600 clamp(22px, 2.3vw, 32px)/1.2 var(--sans); letter-spacing: -.025em; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cta-band { background: var(--red); color: #fff; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; border-radius: 4px; }
.cta-band p { font: 600 clamp(28px, 3.4vw, 48px)/1.02 var(--sans); letter-spacing: -.04em; margin: 0; max-width: 760px; }
.cta-band .btn-sun { background: var(--ink); color: var(--paper); }
.cta-band .btn-sun::after { background: var(--red); }
.cta-band .btn-sun:hover { background: var(--paper); color: var(--ink); }
.related { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.chain { font: 500 clamp(20px, 2.1vw, 28px)/1.45 var(--sans); letter-spacing: -.02em; max-width: 1040px; }
.themes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 2px solid var(--ink); }
.themes li { font: 600 clamp(20px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .themes { grid-template-columns: 1fr; } }
.route { font: 500 clamp(14px, 1.4vw, 16px)/1.6 var(--mono); color: #B9C1FF; }
.founder { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
.portrait .brise { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; gap: 28px; } }
.prose { max-width: 760px; }
.prose h2 { font: 600 21px/1.3 var(--sans); letter-spacing: -.01em; margin: 44px 0 12px; }

/* closing */
.closing { border-bottom: 0; background: var(--paper2); }
.navy + .sec, .hero + .sec { }
.sec.alt { background: var(--paper2); }
.closing-t { font: 600 clamp(48px, 8vw, 120px)/.92 var(--sans); letter-spacing: -.055em; margin: 0; max-width: 1180px; text-wrap: balance; }

/* ---------- form ---------- */
.form-wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 72px; align-items: start; }
@media (max-width: 880px) { .form-wrap { grid-template-columns: 1fr; } }
.qualify fieldset { border: 0; padding: 0; margin: 0; }
.qualify legend { font: 600 clamp(28px, 3vw, 40px)/1.05 var(--sans); letter-spacing: -.035em; margin-bottom: 26px; padding: 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 0 0 44px; counter-reset: st; }
.steps li { counter-increment: st; padding: 12px 0 0; font: 500 12px/1.4 var(--mono); color: var(--mute); border-top: 3px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero) "  "; }
.steps li.on { color: var(--ink); border-top-color: var(--red); }
.steps li.ok { color: var(--ink); border-top-color: var(--ink); }
@media (max-width: 520px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; } }
.f { margin-bottom: 22px; }
.f label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.f input, .f select, .f textarea { width: 100%; font: 16px/1.4 var(--sans); color: var(--ink); background: #FFFFFF; border: 1px solid #B9B6AE; border-radius: 6px; padding: 13px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(36, 58, 255, .25); outline: none; }
.f textarea { resize: vertical; }
.f [aria-invalid="true"] { border: 2px solid var(--red-ink); }
.hint { font-size: 14px; color: var(--mute); margin-top: 6px; }
.f .hint { margin: -2px 0 10px; }
.f .hint.wc { margin: 8px 0 0; text-align: right; font-variant-numeric: tabular-nums; }
.f .hint.wc.ok { color: var(--ink); font-weight: 600; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
@media (max-width: 640px) { .choices { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 12px; align-items: center; background: #FFFFFF; border: 1px solid #B9B6AE; border-radius: 6px; padding: 13px 14px; cursor: pointer; min-height: 52px; font-size: 15px; transition: border-color .2s, background .2s; }
.choice:hover { border-color: var(--ink); }
.choice input { width: 20px; height: 20px; accent-color: var(--red-ink); flex: none; }
.choice:has(input:checked) { border: 2px solid var(--ink); padding: 12px 13px; background: var(--paper2); font-weight: 600; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-top: 8px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red-ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.form-nav [data-next], .form-nav [type=submit] { margin-left: auto; }
.err { color: #8A2310; background: #FBE2D9; padding: 12px 14px; font-size: 15px; margin-top: 16px; border-radius: 6px; }
.done { background: var(--ink); color: var(--on-dark); padding: clamp(32px, 5vw, 56px); border-top: 6px solid var(--red); }
.done .lbl { color: var(--mute-dark); }
.done .h2 { color: var(--on-dark); }
.done a { color: var(--on-dark); }
.done mark.todo { background: #3A1A12; color: #FFB7A3; border-color: #FFB7A3; }
.direct { border-top: 2px solid var(--ink); padding-top: 18px; }
.mail { font: 500 16px var(--mono); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: var(--on-dark); padding: 80px 0 32px; font-size: 15px; position: relative; overflow: hidden; }
.ft::before { content: ""; position: absolute; right: max(var(--pad), 3vw); bottom: 118px; width: 200px; aspect-ratio: 1; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23243AFF%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; opacity: .35; }
.ft-in { position: relative; max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.ft .logo { color: var(--on-dark); margin-bottom: 16px; }
.ft .logo { color: #fff; }
.ft .logo svg { fill: #fff; }
.ft p { margin: 0 0 6px; }
.ft-h { font: 500 12px var(--mono); color: var(--mute-dark); margin-bottom: 14px !important; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { padding: 4px 0; }
.ft a { color: var(--on-dark); text-decoration: none; }
.ft a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--red); }
.ft mark.todo { background: #3A1A12; color: #FFB7A3; border-color: #FFB7A3; }
.ft .ft-legal { position: relative; max-width: calc(var(--w) - 2 * var(--pad)); margin: 64px auto 0; padding: 20px 0 0; border-top: 1px solid #2E2D2A; font: 500 12px var(--mono); color: var(--mute-dark); }
@media (max-width: 880px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-in { grid-template-columns: 1fr; } }


/* ================= BLEU & BLANC DOMINANTS ================= */
/* boutons : bleu sur blanc, blanc sur bleu */
.btn { background: var(--red); color: #fff; }
.btn::after { background: #fff; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:hover::after { background: #fff; }
.on-blue .btn, body[data-page="home"] .hero .btn, .navy .btn, .cta-band .btn, .cta-band .btn-sun, .done .btn { background: #fff; color: var(--red); }
.on-blue .btn::after, body[data-page="home"] .hero .btn::after, .navy .btn::after, .cta-band .btn::after, .cta-band .btn-sun::after { background: var(--red); }
body[data-page="home"] .hero .btn:hover, .navy .btn:hover, .cta-band .btn:hover, .cta-band .btn-sun:hover { background: var(--ink); color: #fff; }
.btn-sun { background: var(--red); color: #fff; }
.hd .btn { background: var(--red); }
.hd .btn:hover { background: var(--ink); }

/* héro de l'accueil : grand aplat bleu */
body[data-page="home"] .hero { background: var(--red); color: #fff; border-bottom: 0; }
body[data-page="home"] .hero .thesis { color: #fff; }
body[data-page="home"] .hero .thesis em { color: #CBD2FF; }
body[data-page="home"] .hero .lead { color: #E6E9FF; }
body[data-page="home"] .hero .note { border-top-color: #fff; color: #DDE1FF; }
body[data-page="home"] .hero .lbl { color: #DDE1FF; }
body[data-page="home"] .hero .lbl::before { background: #fff; }
body[data-page="home"] .hero .link { color: #fff; text-decoration-color: #fff; }
body[data-page="home"] .hero::after { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23FFFFFF%22%20fill-opacity%3D%221%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; z-index: 0; pointer-events: none; }
body[data-page="home"] .hero .wrap { position: relative; z-index: 1; }

/* héros des pages intérieures : titre en bleu */
.hero.sub { background: linear-gradient(180deg, var(--paper2), #fff); }
.hero.sub .thesis { color: var(--red); }

/* bandes de rythme */
.sec.alt { background: var(--paper2); }
.navy { background: var(--red); color: #fff; }
.navy .lbl { color: #DDE1FF; }
.navy .lbl::before { background: #fff; }
.navy .h2 { color: #fff; }
.navy .cap.inv, .cap.inv { color: #DDE1FF; }
.link-inv { color: #fff; text-decoration-color: #fff; }
.link-inv:hover { color: #fff; text-decoration-color: var(--ink); }
.route { color: #fff; }
.circuit { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .45); }
.circuit li { background: var(--red); color: #fff; }
.circuit li::before { color: #CBD2FF; }
.circuit li:last-child { background: #fff; color: var(--red); }
.circuit li:last-child::before { color: var(--red); }
.circuit.big span { color: #E6E9FF; }
.circuit.big li:last-child span { color: var(--ink); }

/* traits et structures en bleu */
.versus, .index, .cols3 > div, .themes, .direct, .chal:first-child, .offer-row:first-child, .hero .note { border-top-color: var(--red); }
.versus .us { border-bottom-color: var(--red); background: linear-gradient(90deg, rgba(36, 58, 255, .1), transparent 75%); }
.versus .us dt, .versus .us dd { color: var(--red); }
.plan { background: var(--red); border-color: var(--red); }
a.room:hover { background: var(--red); color: #fff; }
a.room:hover .rn { color: #DDE1FF; }
a.room:hover .rd { color: #E6E9FF; }
.index a:hover { background: var(--red); color: #fff; }
.index a:hover em, .index a:hover::before { color: #DDE1FF; }
.h2, .h3, .industries-line a { color: var(--ink); }
.industries-line span { color: var(--red); }
ul.outcomes li { color: var(--red); }
.offer-row .rn { color: var(--red); }

/* figures : symbole blanc sur bleu */
.brise { background: var(--red); }
.brise::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23FFFFFF%22%20fill-opacity%3D%221%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.brise::after { background: linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px) 0 0 / 8.333% 100%; }

/* cartouche, bandeau d'action, confirmation */
.cartouche { background: var(--red); color: #fff; }
.cartouche div { border-bottom-color: rgba(255, 255, 255, .28); }
.cartouche div:first-child { border-top: 4px solid var(--ink); }
.cartouche dt { color: #DDE1FF; }
.cta-band { background: var(--ink); color: #fff; }
.done { background: var(--red); border-top-color: var(--ink); }
.done .lbl { color: #DDE1FF; }
.done .lbl::before { background: #fff; }

/* conclusion et pied de page */
.closing { background: #fff; }
.closing-t { color: var(--red); }
.ft { background: var(--red); }
.ft::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22%23FFFFFF%22%20fill-opacity%3D%220.16%22%3E%3Cstyle%3Epath%7Btransform-box:fill-box%3Btransform-origin:50%25%20100%25%3Banimation:c%204s%20infinite%7Dpath:nth-child%282%29%7Banimation-delay:.1s%7Dpath:nth-child%283%29%7Banimation-delay:.2s%7Dpath:nth-child%284%29%7Banimation-delay:.3s%7D%40keyframes%20c%7B0%25%2C14%25%7Btransform:none%3Bopacity:1%3Banimation-timing-function:cubic-bezier%28.7%2C0%2C.84%2C0%29%7D24%25%7Btransform:scaleY%28.1%29%3Bopacity:.55%3Banimation-timing-function:cubic-bezier%28.2%2C1.5%2C.4%2C1%29%7D42%25%2C100%25%7Btransform:none%3Bopacity:1%7D%7D%40media%28prefers-reduced-motion:reduce%29%7Bpath%7Banimation:none%7D%7D%3C/style%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; opacity: 1; }
.ft-h { color: #DDE1FF; }
.ft a:hover { text-decoration-color: #fff; }
.ft .ft-legal { border-top-color: rgba(255, 255, 255, .3); color: #DDE1FF; }
.ft mark.todo, .cartouche mark.todo, .done mark.todo { background: #fff; color: #8A2310; border-color: #8A2310; }

/* formulaire */
.choice:has(input:checked) { border-color: var(--red); color: var(--red); background: var(--paper2); }
.choice input, .consent input { accent-color: var(--red); }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(36, 58, 255, .2); }
.steps li.ok { border-top-color: var(--ink); }


/* ---------- photos (traitement bleu automatique) ---------- */
.photo-band { padding: clamp(32px, 4vw, 56px) 0 0; }
.photo { position: relative; margin: 0; overflow: hidden; background: var(--red); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.05); mix-blend-mode: luminosity; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 22, 80, .35)); pointer-events: none; }
.photo.empty .brise { position: absolute; inset: 0; aspect-ratio: auto; }
.photo.empty::after { display: none; }
.photo .ph { position: absolute; left: 0; bottom: 0; right: 0; margin: 0; padding: 14px 18px; background: rgba(11, 22, 80, .72); color: #fff; font: 500 12px/1.5 var(--mono); }
.photo .ph b { font-weight: 600; margin-right: 6px; }
.photo .ph code { font: inherit; color: #CBD2FF; }
.photo + figcaption { font: 500 12px/1.5 var(--mono); color: var(--mute); margin-top: 12px; }
.photo + figcaption span { color: var(--red); margin-right: 6px; }
.photo.portrait { aspect-ratio: 4 / 5; }
@media (max-width: 640px) { .photo.wide { aspect-ratio: 4 / 3 !important; } }
.photo.portrait img, .photo.natural img { filter: none; mix-blend-mode: normal; }
.photo.portrait::after, .photo.natural::after { display: none; }


/* ================= RAFFINEMENTS 20/20 ================= */
/* héro : les portes s'ouvrent */
body[data-page="home"] .hero::after { display: none; }
.hero-sym { position: absolute; right: max(4vw, 24px); bottom: 9%; width: clamp(160px, 21vw, 320px); aspect-ratio: 1; z-index: 0; pointer-events: none; will-change: transform; }
.hero-sym svg { width: 100%; height: 100%; fill: #fff; overflow: visible; }
.hero-sym .pn { transform-box: fill-box; transform-origin: center; animation: door 1.4s cubic-bezier(.2, .8, .2, 1) both; }
.hero-sym .pn:nth-child(1) { --dx: 60%; animation-delay: .15s; }
.hero-sym .pn:nth-child(2) { --dx: 120%; animation-delay: .05s; }
.hero-sym .pn:nth-child(3) { --dx: -120%; animation-delay: .05s; }
.hero-sym .pn:nth-child(4) { --dx: -60%; animation-delay: .15s; }
/* après l'ouverture : cascade verticale en boucle de 4 s.
   Les barres se rétractent vers le bas puis remontent l'une après l'autre, de gauche à droite, avec un ressort net. */
.hero-sym .pn { transform-origin: 50% 100%; animation: door 1.4s cubic-bezier(.2, .8, .2, 1) both, cascade 4s var(--cd, 2s) infinite; }
.hero-sym .pg:nth-child(1) .pn { --cd: 2s; animation-delay: .15s, 2s; }
.hero-sym .pg:nth-child(2) .pn { --cd: 2.1s; animation-delay: .05s, 2.1s; }
.hero-sym .pg:nth-child(3) .pn { --cd: 2.2s; animation-delay: .05s, 2.2s; }
.hero-sym .pg:nth-child(4) .pn { --cd: 2.3s; animation-delay: .15s, 2.3s; }
@keyframes cascade {
  0%, 14% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  24% { transform: scaleY(.1); opacity: .55; animation-timing-function: cubic-bezier(.2, 1.5, .4, 1); }
  42%, 100% { transform: none; opacity: 1; }
}
.hero-sym .pg:nth-child(1) .pn { --dx: -60%; } .hero-sym .pg:nth-child(2) .pn { --dx: -120%; } .hero-sym .pg:nth-child(3) .pn { --dx: 120%; } .hero-sym .pg:nth-child(4) .pn { --dx: 60%; }
@keyframes door { from { opacity: 0; transform: translateX(var(--dx)) scaleY(.82); } to { opacity: 1; transform: none; } }
.hero .thesis { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero .lead, .hero .note, .hero .actions, .hero .cartouche { animation: rise 1s .18s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .hero-sym { display: none; } }

/* illustration de marque à la place des photos absentes */
.photo.empty { background: var(--red); }
.corridor { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo.empty .corridor g:last-child { transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.photo-band .photo { border-radius: 4px; }

/* en-tête qui s'efface à la descente */
.hd { transition: transform .35s ease, box-shadow .35s ease; }
.hd.hide { transform: translateY(-100%); }
.hd.compact { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 22, 80, .35); }

/* piliers : grands numéros et flèche */
.room .rn, .plan .cell .rn { font: 300 clamp(34px, 3.4vw, 48px)/1 var(--sans); letter-spacing: -.03em; color: var(--red); }
a.room { position: relative; }
a.room::after { content: "→"; position: absolute; right: clamp(24px, 3vw, 40px); top: clamp(24px, 3vw, 40px); font-size: 22px; color: var(--red); transition: transform .3s, color .3s; }
a.room:hover::after { color: #fff; transform: translateX(6px); }
a.room:hover .rn { color: #fff; }

/* listes : flèche qui avance, apparition en cascade */
.index em { transition: transform .3s; }
.index a:hover em { transform: translateX(-6px); }

/* conclusion : symbole en filigrane */
.closing { position: relative; overflow: hidden; }
.closing::after { content: ""; position: absolute; right: -4vw; top: 50%; width: clamp(240px, 34vw, 520px); aspect-ratio: 1; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%22385%20213%201312%201311%22%20fill%3D%22none%22%20stroke%3D%22%23243AFF%22%20stroke-opacity%3D%22.14%22%20stroke-width%3D%2210%22%3E%3Cpath%20d%3D%22M385%20213L670%20379V1359L385%201524Z%22/%3E%3Cpath%20d%3D%22M750%20424L1024%20581L995%20606V1131L1024%201156L750%201313Z%22/%3E%3Cpath%20d%3D%22M1332%20424L1059%20581L1087%20606V1131L1059%201156L1332%201313Z%22/%3E%3Cpath%20d%3D%22M1697%20213L1412%20379V1359L1697%201524Z%22/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.closing .wrap { position: relative; z-index: 1; }

/* typographie : finitions */
.h2, .closing-t, .thesis { font-kerning: normal; font-variant-ligatures: common-ligatures; }
.lead { font-weight: 400; }
::selection { background: var(--red); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero-sym .pn, .hero .thesis, .hero .lead, .hero .note, .hero .actions, .hero .cartouche { animation: none; }
}


/* ================= ANIMATIONS DE TEXTE ET DE MOUVEMENT ================= */
/* titres : mot par mot, chaque mot sort d'une ligne masquée */
.ws .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0 .14em; margin: -.12em 0 -.14em; }
.ws .wi { display: inline-block; transform: translateY(108%); transition: transform 1s cubic-bezier(.16, .84, .24, 1); transition-delay: calc(var(--wi, 0) * 55ms); }
.ws.on .wi { transform: none; }
.hero .thesis.ws { animation: none; }

/* repères : le carré bleu se pose */
.js [data-reveal] .lbl::before { transform: scale(0) rotate(-45deg); transition: transform .6s .15s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].in .lbl::before, .hero .lbl::before { transform: none; }

/* photos : dévoilement en volet + léger zoom arrière */
.js .photo-band[data-reveal] { opacity: 1; transform: none; }
.js .photo-band[data-reveal] .photo { clip-path: inset(18% 0 0 0); transition: clip-path 1.3s cubic-bezier(.16, .84, .24, 1); }
.js .photo-band[data-reveal] .photo img, .js .photo-band[data-reveal] .photo .corridor { transform: scale(1.12); transition: transform 1.8s cubic-bezier(.16, .84, .24, 1); }
.js .photo-band[data-reveal].in .photo { clip-path: inset(0 0 0 0); }
.js .photo-band[data-reveal].in .photo img, .js .photo-band[data-reveal].in .photo .corridor { transform: none; }

/* circuit MCPS : le système tourne */
.circuit li { transition: background .5s ease, color .5s ease; }
.circuit li.lit:not(:last-child) { background: #fff; color: var(--red); }
.circuit li.lit:not(:last-child)::before { color: var(--red); }
.circuit li.lit:not(:last-child) span { color: var(--ink); }

/* bandeau défilant : deux rangées identiques, boucle sans raccord visible */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: clamp(18px, 2.4vw, 28px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 60s linear infinite; will-change: transform; }
.mq-row { display: flex; align-items: center; flex: none; }
.mq-item { font: 600 clamp(22px, 3vw, 42px)/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; padding: 0 clamp(18px, 2.2vw, 32px); }
.mq-item.alt { color: var(--red); }
.mq-sep { display: inline-flex; flex: none; }
.mq-sep svg { width: clamp(16px, 1.6vw, 22px); height: clamp(16px, 1.6vw, 22px); fill: var(--red); }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* barre de progression de lecture */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }

/* liens : le soulignement respire */
a { transition: color .2s, text-underline-offset .25s, text-decoration-color .25s; }
.main a:hover, .related a:hover, .answer a:hover, .link:hover, .cap a:hover { text-underline-offset: 9px; }

/* boutons : la pastille glisse */
.btn::after { transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
.btn:hover::after { transform: translateX(4px) scale(1.35); }

@media (prefers-reduced-motion: reduce) {
  .ws .wi { transform: none; transition: none; }
  .js .photo-band[data-reveal] .photo { clip-path: none; }
  .js .photo-band[data-reveal] .photo img, .js .photo-band[data-reveal] .photo .corridor { transform: none; }
  .mq-track { animation: none; }
  .progress { display: none; }
}


/* ================= ANIMATIONS AVANCÉES ================= */
/* 1. transitions entre pages : les portes du logo */
.doors { position: fixed; inset: 0; z-index: 100; pointer-events: none; visibility: hidden; transition: visibility 0s linear 1.05s; }
.dr-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dp { transform-box: fill-box; transform: scaleX(0); transition: transform .8s cubic-bezier(.65, 0, .35, 1); shape-rendering: crispEdges; }
.dp.a, .dp.d { fill: #243AFF; }
.dp.b, .dp.c { fill: #1F33E6; }
.dp.a, .dp.b { transform-origin: left center; }
.dp.c, .dp.d { transform-origin: right center; }
.dp.b, .dp.c { transition-delay: 0s; }
.dp.a, .dp.d { transition-delay: .12s; }
.dr-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(80vw, 760px); text-align: center; color: #fff; opacity: 0; transition: opacity .35s ease; }
.dr-mid svg { width: 56px; height: 56px; fill: #fff; display: block; margin: 0 auto 22px; }
.dr-mid svg path { transform-box: fill-box; transform: translateY(10px); opacity: 0; transition: transform .7s cubic-bezier(.22, .8, .3, 1), opacity .6s ease; }
.dr-to { margin: 0; font: 600 clamp(30px, 4.4vw, 60px)/1.04 var(--sans); letter-spacing: -.035em; transform: translateY(12px); opacity: 0; transition: transform .8s cubic-bezier(.22, .8, .3, 1), opacity .7s ease; }
.doors.shut { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.doors.shut .dp { transform: scaleX(1.01); }
.doors.shut .dp.a, .doors.shut .dp.d { transition-delay: 0s; }
.doors.shut .dp.b, .doors.shut .dp.c { transition-delay: .12s; }
.doors.shut .dr-mid { opacity: 1; transition-delay: .45s; }
.doors.shut .dr-mid svg path { transform: none; opacity: 1; }
.doors.shut .dr-mid svg path:nth-child(1) { transition-delay: .5s; }
.doors.shut .dr-mid svg path:nth-child(2) { transition-delay: .58s; }
.doors.shut .dr-mid svg path:nth-child(3) { transition-delay: .66s; }
.doors.shut .dr-mid svg path:nth-child(4) { transition-delay: .74s; }
.doors.shut .dr-to { transform: none; opacity: 1; transition-delay: .6s; }
.doors.instant, .doors.instant *, .doors.instant .dp { transition: none !important; }
.doors.opening .dr-mid { opacity: 0; transition: opacity .4s ease; }

/* 2. parallaxe dans les photos */
.photo img, .photo .corridor { transform: translateY(var(--py, 0px)) scale(1.14) !important; transition: none !important; will-change: transform; }

/* 3. méthode pilotée par le défilement */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .cps-scroll { height: calc(100vh + 7 * 38vh); padding: 0; overflow: visible; }
  .js .cps-scroll[data-reveal] { opacity: 1; transform: none; }
  .cps-scroll > .wrap { position: sticky; top: 64px; min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
  .cps-scroll .circuit { background: transparent; border: 0; gap: 8px; }
  .cps-scroll .circuit li { transition: background .45s ease, color .45s ease, transform .45s ease; border: 1px solid rgba(255, 255, 255, .45); }
  .cps-scroll .circuit li:last-child:not(.act) { background: var(--red); color: #fff; }
  .cps-scroll .circuit li:last-child:not(.act)::before { color: #CBD2FF; }
  .cps-scroll .circuit li:last-child:not(.act) span { color: #E6E9FF; }
  .cps-scroll .circuit li.act { background: #fff; color: var(--red); transform: translateY(-6px); }
  .cps-scroll .circuit li.act span { color: var(--ink); }
  .cps-scroll .circuit li.act::before { color: var(--red); }
  .cps-scroll .circuit li.done-step { background: #1F33E6; }
  .cps-meter { height: 3px; background: rgba(255, 255, 255, .25); margin-top: 6px; }
  .cps-meter i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
}

/* 4. formulaire : étapes qui glissent, confirmation qui s'ouvre */
.qualify { overflow-x: clip; overflow-clip-margin: 8px; }
.qualify fieldset:not([hidden]) { animation: stepIn .5s cubic-bezier(.2, .8, .2, 1) both; }
.qualify fieldset.back:not([hidden]) { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
.steps li { position: relative; border-top-color: var(--line) !important; }
.steps li::after { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.steps li.on::after, .steps li.ok::after { transform: none; }
.steps li.ok::after { background: var(--ink); }
.done-sym { width: 64px; height: 64px; margin-bottom: 28px; }
.done-sym svg { width: 100%; height: 100%; fill: #fff; overflow: visible; }
.done-sym .pn { transform-box: fill-box; transform-origin: center; animation: door 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.done-sym .pn:nth-child(1) { --dx: 60%; } .done-sym .pn:nth-child(2) { --dx: 120%; } .done-sym .pn:nth-child(3) { --dx: -120%; } .done-sym .pn:nth-child(4) { --dx: -60%; }
.done:not([hidden]) { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }

/* 5. boutons magnétiques */
.btn.mag { transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .2s, color .2s; }

/* 6. secteurs : description au survol */
.ind-desc { min-height: 3.2em; margin: 28px 0 0; max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--mute); transition: opacity .3s; }
.ind-desc.on { color: var(--ink); }
.industries-line a { transition: color .25s, opacity .25s; }
.industries-line.hovering a:not(.hl) { opacity: .35; }

/* 7. symbole d'accueil sensible à la souris */
.hero-sym .pg { transition: transform .6s cubic-bezier(.2, .8, .2, 1); transform-box: fill-box; }

@media (prefers-reduced-motion: reduce) {
  .doors { display: none; }
  .photo img, .photo .corridor { transform: none !important; }
  .qualify fieldset:not([hidden]), .done:not([hidden]), .done-sym .pn { animation: none; }
}

/* ---------- motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}
@media print { .hd, .ft, .closing, .burger { display: none; } .js [data-reveal] { opacity: 1; transform: none; } }

/* ===== PREUVES, CONTACT DIRECT, SUITE DU CONTACT ===== */
.hd-tel { display: none; flex-direction: column; line-height: 1.15; font: 500 13px var(--mono); color: var(--ink); text-decoration: none; }
.hd-tel span { font: 500 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.hd-tel:hover { color: var(--red); }
@media (min-width: 1380px) { .hd-tel { display: flex; } }
@media (max-width: 1240px) { .hd-tel { display: flex; font-size: 15px; } }

.proof .pf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--red); margin-top: 8px; }
.pf-c { padding: 28px 24px 26px 0; border-right: 1px solid var(--line); }
.pf-c + .pf-c { padding-left: 24px; }
.pf-c:last-child { border-right: 0; }
.pf-n { margin: 0; font: 600 clamp(48px, 6vw, 88px)/1 var(--sans); letter-spacing: -.04em; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-n span { font-size: .28em; letter-spacing: 0; margin-left: .35em; color: var(--ink); font-weight: 500; }
.pf-d { margin: 14px 0 0; color: var(--mute); max-width: 26ch; }
.pf-src { font: 500 12px/1.5 var(--mono); color: var(--mute); margin: 18px 0 0; }
.brands { margin-top: clamp(48px, 6vw, 80px); }
.brands ul { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { flex: 1 1 180px; padding: 26px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font: 600 clamp(17px, 1.5vw, 21px)/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); text-align: center; transition: background .25s, color .25s; }
.brands li:hover { background: var(--red); color: #fff; }
@media (max-width: 900px) { .proof .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pf-c:nth-child(2) { border-right: 0; } .pf-c:nth-child(3) { padding-left: 0; } .pf-c:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .proof .pf { grid-template-columns: 1fr; } .pf-c, .pf-c + .pf-c { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); } .brands li { flex-basis: 140px; } }

.next { margin-bottom: 34px; }
.next ol { list-style: none; margin: 14px 0 0; padding: 0; }
.next li { display: grid; grid-template-columns: 38px 1fr; column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.next li span { grid-row: span 2; font: 500 13px var(--mono); color: var(--red); padding-top: 2px; }
.next li strong { font-weight: 600; color: var(--ink); }
.next li em { font-style: normal; color: var(--mute); font-size: 15px; margin-top: 2px; }
.mail a { color: inherit; }
.proof .pf { grid-template-columns: 1fr 1fr 1.35fr 1fr; }
.pf-n { font-size: clamp(44px, 5vw, 80px); }
.brands ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brands li { display: flex; align-items: center; justify-content: center; min-height: 92px; }
@media (max-width: 900px) { .proof .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .proof .pf { grid-template-columns: 1fr; } .brands ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brands li:last-child:nth-child(odd) { grid-column: 1 / -1; } .brands li { min-height: 72px; font-size: 16px; } }

/* ===== ICÔNES ===== */
.ico { display: block; flex: none; width: 28px; height: 28px; overflow: visible; }
.room { position: relative; }
.ri { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); width: clamp(30px, 2.6vw, 38px); height: auto; aspect-ratio: 1; color: var(--red); transition: transform .35s ease, color .25s; }
a.room::after { top: auto; bottom: clamp(24px, 3vw, 40px); }
a.room:hover .ri { color: #fff; transform: rotate(-8deg) scale(1.06); }
.room .rt { padding-right: 52px; }
.circuit li { position: relative; }
.ci { position: absolute; top: 15px; right: 14px; width: 22px; height: 22px; opacity: .9; }
.circuit.big .ci { top: 22px; right: 22px; width: 30px; height: 30px; }
.circuit li:not(:last-child) .ci { color: #DDE1FF; }
.circuit li.lit:not(:last-child) .ci, .circuit li.act .ci { color: var(--red); }
.or-k, .chal-k { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.oi, .ki { width: 38px; height: 38px; color: var(--red); transition: transform .35s ease; }
.offer-row:hover .oi { transform: translateY(-3px); }
.chal-k .lbl { margin: 0; }
.next li span .ico { width: 24px; height: 24px; color: var(--red); }
.next li { grid-template-columns: 42px 1fr; }
@media (max-width: 760px) { .or-k, .chal-k { flex-direction: row; align-items: center; gap: 14px; } .oi, .ki { width: 30px; height: 30px; } }
@media (max-width: 600px) { .circuit li { padding-right: 48px; } }
.direct .photo.door { margin: 0 0 30px; max-height: 440px; width: 100%; }
@media (max-width: 880px) { .direct .photo.door { aspect-ratio: 16 / 10 !important; max-height: none; } .direct .photo.door img { object-position: 50% 40%; } }
body[data-page="veone"] .photo-band .photo { aspect-ratio: 3 / 1 !important; }
@media (max-width: 640px) { body[data-page="veone"] .photo-band .photo { aspect-ratio: 2 / 1 !important; } }
/* ===== MUR DE LOGOS ===== */
.brands li { flex-direction: column; gap: 10px; min-height: 132px; padding: 28px 20px; }
.brands li:hover { background: var(--paper2); color: var(--red); }
.bl { display: block; max-width: 82%; height: auto; transition: transform .35s ease, filter .35s ease; }
.brands li:hover .bl { filter: brightness(0) saturate(100%) invert(19%) sepia(96%) saturate(5400%) hue-rotate(235deg) brightness(102%) contrast(103%); }
.brands li:hover .bl { transform: scale(1.04); }
.bw { font: 700 clamp(24px, 2.2vw, 32px)/1 var(--sans); letter-spacing: -.035em; text-transform: lowercase; }
.brands small { font: 500 11px/1.2 var(--mono); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.brands li:hover small { color: var(--red); }
@media (max-width: 480px) { .brands li { min-height: 104px; padding: 22px 12px; } .bl { max-width: 88%; } }
/* ===== PREUVES v2 : 3 chiffres, grand titre ===== */
.proof .pf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-c:nth-child(3) { border-right: 0; }
.pf-n sup { font-size: .5em; vertical-align: .55em; margin-left: .04em; color: var(--red); }
.brands-t { margin: 0 0 clamp(28px, 4vw, 52px); max-width: 16ch; font: 600 clamp(40px, 6.4vw, 96px)/.98 var(--sans); letter-spacing: -.045em; color: var(--ink); }
.brands-t mark { background: none; color: var(--red); }
.brands ul { margin-top: 0; }
@media (max-width: 900px) { .proof .pf { grid-template-columns: 1fr 1fr 1fr; } .pf-c:nth-child(2) { border-right: 1px solid var(--line); } .pf-c:nth-child(-n+2) { border-bottom: 0; } .pf-c:nth-child(3) { padding-left: 24px; } }
@media (max-width: 640px) { .proof .pf { grid-template-columns: 1fr; } .pf-c, .pf-c + .pf-c, .pf-c:nth-child(3) { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .proof .pf-c:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
/* ===== RÉFÉRENCE MISE EN AVANT, PLEINE LARGEUR ===== */
.work-feature { grid-template-columns: 1fr; gap: 28px; align-items: start; }
.work-feature .photo { width: 100%; }
.work-feature.wide { margin-top: 18px; }
.work-feature.wide .photo { aspect-ratio: 16 / 9 !important; }
.work-feature.wide > div:last-child { display: grid; grid-template-columns: 4fr 6fr; column-gap: 48px; align-items: start; }
.work-feature.wide > div:last-child .tag { grid-column: 1 / -1; }
.work-feature.wide > div:last-child .h3 { margin-top: 0; font-size: clamp(30px, 3.4vw, 48px); }
@media (max-width: 760px) { .work-feature.wide > div:last-child { grid-template-columns: 1fr; } }

/* ===== MUR DE LOGOS PREMIUM : ROTATION CASE PAR CASE ===== */
.brands ul.lw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lw-rot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lw-cell { position: relative; height: clamp(130px, 12.5vw, 184px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
  opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform 1s cubic-bezier(.16, .84, .24, 1), background .5s ease; transition-delay: calc(var(--d, 0) * 110ms), calc(var(--d, 0) * 110ms), 0s; }
.lw-rot.lw-in .lw-cell { opacity: 1; transform: none; }
.lw-img { position: absolute; left: 50%; top: 50%; width: calc(var(--w, 160) * 1px); max-width: 70%; height: auto; transform: translate(-50%, -50%);
  transition: transform .85s cubic-bezier(.16, .84, .24, 1), opacity .6s ease, filter .6s ease; will-change: transform, opacity; }
.lw-img.enter { transform: translate(-50%, 40%); opacity: 0; filter: blur(8px); transition: none; }
.lw-img.leave { transform: translate(-50%, -140%); opacity: 0; filter: blur(8px); transition: transform .5s cubic-bezier(.7, 0, .84, 0), opacity .38s ease, filter .38s ease; }
.lw-cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 120%, rgba(36, 58, 255, .09), rgba(36, 58, 255, 0) 60%); opacity: 0; transition: opacity .6s ease; }
.lw-cell::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; opacity: 1; }
.lw-cell.tick::after { animation: lw-tick 1.6s cubic-bezier(.65, 0, .35, 1) both; }
.lw-cell.tick::before { opacity: 1; transition-duration: .3s; }
.lw-cell:not(:hover).tick::before { animation: lw-glow 2.2s ease both; }
@keyframes lw-tick { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
@keyframes lw-glow { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.lw-cell:hover { background: var(--paper2); }
.lw-cell:hover::before { opacity: 1; }
.lw-cell:hover .lw-img:not(.leave):not(.enter) { filter: brightness(0) saturate(100%) invert(19%) sepia(96%) saturate(5400%) hue-rotate(235deg) brightness(102%) contrast(103%); transform: translate(-50%, -50%) scale(1.05); }
@media (max-width: 640px) { .lw-rot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lw-cell { height: 112px; } .lw-img { width: calc(var(--w, 160) * .56px); max-width: 82%; } }

/* ===== ANALYSES ===== */
.arts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--red); }
.arts li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.arts li:last-child { border-right: 0; }
.arts a { position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 30px 28px 32px 0; color: var(--ink); text-decoration: none; transition: background .35s ease, padding .35s ease; }
.arts li + li a { padding-left: 28px; }
.arts a:hover { background: var(--paper2); padding-left: 28px; }
.arts .at { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.arts .ah { font: 600 clamp(21px, 1.9vw, 28px)/1.15 var(--sans); letter-spacing: -.02em; }
.arts .ad { color: var(--mute); font-size: 16px; line-height: 1.55; }
.arts .am { margin-top: auto; padding-top: 8px; font: 500 12px var(--mono); color: var(--mute); }
.arts a::after { content: "→"; position: absolute; top: 28px; right: 22px; color: var(--red); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.arts a:hover::after { opacity: 1; transform: none; }
.arts.mini .ah { font-size: clamp(18px, 1.5vw, 22px); }
.sec .main .arts.mini { margin: 26px 0 24px; }
@media (max-width: 900px) { .arts { grid-template-columns: 1fr; } .arts li { border-right: 0; } .arts a, .arts li + li a { padding: 26px 0; } .arts a:hover { padding-left: 14px; } }
.art-h { max-width: 20ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font: 500 12px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.art-meta span:first-child { color: var(--red); }
.prose { max-width: 720px; margin: 0 auto; font-size: clamp(18px, 1.35vw, 20px); line-height: 1.75; color: var(--ink); }
.prose p { margin: 0 0 1.35em; }
.prose > p:first-child::first-letter { float: left; font: 600 4.2em/.82 var(--sans); padding: .06em .1em 0 0; color: var(--red); }
.prose h2 { margin: 2em 0 .7em; font: 600 clamp(26px, 2.4vw, 34px)/1.15 var(--sans); letter-spacing: -.025em; }
.prose ul { margin: 0 0 1.5em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prose li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); }
.prose li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 12px; height: 2px; background: var(--red); }
.prose blockquote { margin: 1.8em 0; padding: 26px 0 26px 28px; border-left: 3px solid var(--red); }
.prose blockquote p { margin: 0; font: 600 clamp(24px, 2.4vw, 34px)/1.25 var(--sans); letter-spacing: -.02em; color: var(--red); }
/* ===== MENU : une seule ligne ===== */
@media (min-width: 1101px) {
  #nav ul { flex-wrap: nowrap; gap: 4px clamp(14px, 1.4vw, 24px); }
  #nav ul a { white-space: nowrap; font-size: clamp(13px, .95vw, 14px); }
  .hd .btn { white-space: nowrap; }
}
@media (min-width: 1101px) and (max-width: 1640px) { .hd-tel { display: none !important; } }
@media (min-width: 1101px) and (max-width: 1320px) { .hd .btn-sm { padding-left: 16px; padding-right: 16px; } .hd-end { gap: 14px; } #nav { gap: 16px; } }
.arts.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .arts.two { grid-template-columns: 1fr; } }

/* ===== SECTEURS : ICÔNES XXL DESSINÉES ===== */
.chal.ind { grid-template-columns: minmax(180px, 3fr) 9fr; align-items: start; }
.chal.ind .chal-k { gap: 22px; }
.kx-wrap { position: relative; width: clamp(150px, 15vw, 220px); aspect-ratio: 1; display: grid; place-items: center; background: var(--paper2); transition: background .6s cubic-bezier(.2, .8, .2, 1); }
.kx-wrap::before, .kx-wrap::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--red); transition: transform .5s ease, border-color .5s ease; }
.kx-wrap::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.kx-wrap::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.kx-orbit { position: absolute; inset: 14%; border: 1px dashed rgba(36, 58, 255, .28); border-radius: 50%; animation: kx-orbit 48s linear infinite; transition: border-color .5s ease; }
@keyframes kx-orbit { to { transform: rotate(360deg); } }
.kx { position: relative; width: 56%; height: 56%; color: var(--red); overflow: visible; transition: color .5s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.kx * { stroke-width: .5; stroke-linecap: butt; stroke-linejoin: round; }
.chal.ind:hover .kx-wrap { background: var(--red); }
.chal.ind:hover .kx-wrap::before { transform: translate(-6px, -6px); }
.chal.ind:hover .kx-wrap::after { transform: translate(6px, 6px); }
.chal.ind:hover .kx-orbit { border-color: rgba(255, 255, 255, .45); }
.chal.ind:hover .kx { color: #fff; transform: scale(1.06); }
@media (prefers-reduced-motion: no-preference) {
  .js .chal.ind .kx * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--k, 0) * .14s + .25s); }
  .js .chal.ind.in .kx * { stroke-dashoffset: 0; }
  .js .chal.ind .kx-wrap { opacity: 0; transform: scale(.88); transition: opacity .8s ease, transform 1s cubic-bezier(.16, .84, .24, 1), background .6s cubic-bezier(.2, .8, .2, 1); }
  .js .chal.ind.in .kx-wrap { opacity: 1; transform: none; }
  .chal.ind.in:hover .kx * { animation: kx-redraw 1.1s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--k, 0) * .08s); }
  @keyframes kx-redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { .kx-orbit { animation: none; } }
@media (max-width: 760px) { .chal.ind { grid-template-columns: 1fr; } .chal.ind .chal-k { flex-direction: column; align-items: flex-start; } .kx-wrap { width: 132px; } }

/* ===== PREUVES : 2 CHIFFRES ===== */
.proof .pf { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.proof .pf-c:nth-child(2) { border-right: 0; padding-left: 24px; }
@media (max-width: 640px) { .proof .pf { grid-template-columns: 1fr !important; } .proof .pf-c:nth-child(2) { padding-left: 0; } }

/* ===== ACCOMPAGNEMENT : ICÔNES DESSINÉES ===== */
.oi.dr * { stroke-linecap: butt; }
@media (prefers-reduced-motion: no-preference) {
  .js .offer-row .oi.dr * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--i, 0) * .12s + var(--k, 0) * .12s + .3s); }
  .js .offer-row.in .oi.dr * { stroke-dashoffset: 0; }
  .offer-row.in:hover .oi.dr * { animation: kx-redraw 1s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--k, 0) * .07s); }
  .offer-row .oi.dr { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
  .offer-row:hover .oi.dr { transform: translateY(-4px) rotate(-6deg) scale(1.12); }
}

/* ===== ANALYSES : CARTE DE L'AFRIQUE DE L'OUEST ===== */
.ins-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.ins-txt .lead { max-width: 44ch; }
.ins-map { position: relative; margin-right: calc(var(--pad) * -.5); }
.wa-map { display: block; width: 100%; height: auto; overflow: visible; }
.wa-c { fill: #E6EAFB; stroke: #fff; stroke-width: 1.3; stroke-linejoin: round; }
.wa-c.civ { fill: var(--red); }
.wa-arc { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1; opacity: .55; }
.wa-run { fill: var(--red); opacity: 0; }
.wa-dot { fill: var(--ink); stroke: #fff; stroke-width: 1.5; }
.wa-hq { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.wa-ring { fill: none; stroke: #fff; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wa-l { font: 600 11px var(--mono); fill: var(--ink); letter-spacing: .02em; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.wa-hql { font-size: 13px; font-weight: 700; fill: var(--red); text-anchor: end; }
@keyframes wa-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wa-fill { from { fill-opacity: 0; } to { fill-opacity: 1; } }
@keyframes wa-pop { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: scale(1); } }
@keyframes wa-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(5); } }
@keyframes wa-run { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .wa-c { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
  .js .ins-hero.in .wa-c { animation: wa-draw 1.4s cubic-bezier(.65, 0, .35, 1) both, wa-fill .9s ease both; animation-delay: calc(var(--k) * 60ms + .15s), calc(var(--k) * 60ms + 1s); }
  .js .ins-hero.in .wa-c.civ { animation-delay: .15s, 1.9s; animation-duration: 1.4s, 1s; }
  .js .wa-arc { stroke-dashoffset: 1; }
  .js .ins-hero.in .wa-arc { animation: wa-draw 1.1s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--k) * 130ms + 2.4s); }
  .js .wa-dot, .js .wa-hq { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .js .ins-hero.in .wa-dot { animation: wa-pop .6s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--k) * 130ms + 3.3s); }
  .js .ins-hero.in .wa-hq { animation: wa-pop .7s cubic-bezier(.3, 1.4, .5, 1) 2.1s both; }
  .js .wa-l { opacity: 0; }
  .js .ins-hero.in .wa-l { animation: wa-fade .5s ease both; animation-delay: calc(var(--k) * 130ms + 3.5s); }
  .js .ins-hero.in .wa-hql { animation: wa-fade .6s ease 2.3s both; }
  .ins-hero.in .wa-ring { animation: wa-ring 3s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: calc(var(--r) * 1s + 2.6s); }
  .ins-hero.in .wa-run { animation: wa-run 3.4s cubic-bezier(.45, 0, .25, 1) infinite; animation-delay: calc(var(--k) * .5s + 4.4s); }
}
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; } .ins-map { max-width: 600px; margin-right: 0; } }
.ins-txt .thesis { font-size: clamp(44px, 5.2vw, 82px); }

/* ===== BANDEAUX ANIMÉS PAR RUBRIQUE ===== */
.anim-band { padding: 0 0 clamp(40px, 6vw, 88px); }
.ab { position: relative; overflow: hidden; background: var(--red); }
.ab-svg { display: block; width: 100%; height: 100%; }
.ab-bg { fill: var(--red); }
.ab-l { font-family: var(--sans); font-weight: 500; fill: #fff; }
@media (max-width: 640px) { .ab .ab-l { display: none; } }

/* 1. Enjeux */
.en-knot { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2.4; }
.en-line { fill: none; stroke: #fff; stroke-width: 3; }
.en-run { fill: #fff; opacity: 0; }
.en-node { fill: var(--red); stroke: #fff; stroke-width: 3; }
.en-num { font: 500 22px var(--mono); fill: rgba(255, 255, 255, .6); }
.en-lab { font-size: 27px; }
/* 2. Accompagnement */
.ac-floor { stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.ac-frame { fill: none; stroke: #fff; stroke-width: 3; }
.ac-light { fill: #fff; }
.ac-leaf { fill: #1B2CC9; stroke: rgba(255, 255, 255, .5); stroke-width: 2; transform-box: fill-box; transform-origin: left center; }
.ac-knob { stroke: #fff; stroke-width: 4; stroke-linecap: round; transform-box: view-box; }
.ac-beam { fill: rgba(255, 255, 255, .16); opacity: 0; }
.ac-num { font: 500 22px var(--mono); fill: rgba(255, 255, 255, .65); }
.ac-lab { font-size: 28px; }
/* 3. Système d'intelligence */
.in-track { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.5; stroke-dasharray: 1; }
.in-dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
.in-halo { fill: rgba(255, 255, 255, .25); opacity: 0; transform-box: fill-box; transform-origin: center; }
.in-num { font: 500 20px var(--mono); fill: rgba(255, 255, 255, .6); }
.in-lab { font-size: 27px; }
.in-ret { font: 500 22px var(--mono); fill: rgba(255, 255, 255, .7); letter-spacing: .06em; }
.in-pulse { fill: #fff; filter: drop-shadow(0 0 14px rgba(255, 255, 255, .9)); }
.in-out { fill: none; stroke: #fff; stroke-width: 3; opacity: 0; }
/* 4. Secteurs */
.se-beam { stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; }
.se-thread { stroke: rgba(255, 255, 255, .7); stroke-width: 2; }
.se-bob { fill: #fff; }
.se-ico { color: var(--red); }
.se-lab { font-size: 27px; }
.se-pend { transform-box: view-box; transform-origin: var(--x) 120px; }
/* 5. Références */
.re-sheet { transform-box: fill-box; transform-origin: center; transform: rotate(var(--r)); }
.re-paper { fill: #fff; filter: drop-shadow(0 30px 40px rgba(6, 14, 70, .28)); }
.re-name { font: 700 40px var(--sans); fill: var(--red); letter-spacing: -.02em; }
.re-rule { fill: var(--red); }
.re-line { fill: #D9DEF8; transform-box: fill-box; transform-origin: left center; }
.re-check { fill: none; stroke: var(--red); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.re-scan { fill: rgba(36, 58, 255, .08); opacity: 0; }
.re-seal circle { fill: var(--red); stroke: #fff; stroke-width: 4; }
.re-seal .re-seal-in { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 2; stroke-dasharray: 6 6; }
.re-seal { transform-box: fill-box; transform-origin: center; transform: rotate(-12deg); }
.re-seal-t { font: 700 26px var(--mono); fill: #fff; letter-spacing: .08em; }
.re-seal-t.s { font-size: 17px; letter-spacing: .2em; fill: rgba(255, 255, 255, .75); }
/* 6. À propos */
.ap-horizon { stroke: rgba(255, 255, 255, .5); stroke-width: 2; }
.ap-grid { stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.ap-route { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; }
.ap-run { fill: #fff; opacity: 0; filter: drop-shadow(0 0 10px #fff); }
.ap-dot { fill: var(--red); stroke: #fff; stroke-width: 4; }
.ap-lab { font-size: 30px; }
.ap-origin { font: 500 24px var(--mono); fill: rgba(255, 255, 255, .8); }
.ap-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ap-logo path { fill: #fff; }

@keyframes ab-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ab-pop { 0% { opacity: 0; transform: scale(.2); } 70% { opacity: 1; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ab-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ab-run { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes ac-open { 0%, 8% { transform: scaleX(1); } 22%, 62% { transform: scaleX(.14) skewY(-4deg); } 76%, 100% { transform: scaleX(1); } }
@keyframes ac-beam { 0%, 10% { opacity: 0; } 24%, 60% { opacity: 1; } 74%, 100% { opacity: 0; } }
@keyframes ac-knob { 0%, 8% { transform: none; } 22%, 62% { transform: translateX(-140px); opacity: 0; } 76%, 100% { transform: none; opacity: 1; } }
@keyframes in-loop { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes in-flash { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes in-out { 0% { opacity: 0; transform: translateX(0); } 10% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(-1320px); } }
@keyframes se-swing { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }
@keyframes se-drop { from { opacity: 0; transform: translateY(-120px); } to { opacity: 1; transform: none; } }
@keyframes re-write { 0% { transform: scaleX(0); } 14%, 78% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes re-tick { 0%, 12% { stroke-dashoffset: 1; } 20%, 78% { stroke-dashoffset: 0; } 90%, 100% { stroke-dashoffset: 1; } }
@keyframes re-scan { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 70% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(590px); } }
@keyframes re-stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(2.2); } 60% { opacity: 1; transform: rotate(-12deg) scale(.92); } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes ap-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(9); } }

@media (prefers-reduced-motion: no-preference) {
  .js .anim-band .ab { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16, .84, .24, 1); }
  .js .anim-band.in .ab { opacity: 1; transform: none; }
  /* enjeux */
  .js .en-knot, .js .en-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .anim-band.in .en-knot { animation: ab-draw 1.6s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--k) * .15s + .3s); }
  .js .anim-band.in .en-line { animation: ab-draw .8s cubic-bezier(.65, 0, .35, 1) both; animation-delay: calc(var(--k) * .15s + 1.8s); }
  .js .en-node, .js .en-lab, .js .en-num { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .js .anim-band.in .en-node { animation: ab-pop .6s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--k) * .15s + 2.5s); }
  .js .anim-band.in .en-lab, .js .anim-band.in .en-num { animation: ab-fade .7s ease both; animation-delay: calc(var(--k) * .15s + 2.6s); }
  .anim-band.in .en-run { animation: ab-run 4.6s cubic-bezier(.5, 0, .3, 1) infinite; animation-delay: calc(var(--k) * .55s + 3.6s); }
  /* accompagnement */
  .anim-band.in .ac-leaf { animation: ac-open 9s cubic-bezier(.65, 0, .35, 1) infinite; animation-delay: calc(var(--k) * .45s + .8s); }
  .anim-band.in .ac-knob { animation: ac-knob 9s cubic-bezier(.65, 0, .35, 1) infinite; animation-delay: calc(var(--k) * .45s + .8s); }
  .anim-band.in .ac-beam { animation: ac-beam 9s ease infinite; animation-delay: calc(var(--k) * .45s + .8s); }
  .js .ac-lab, .js .ac-num { opacity: 0; }
  .js .anim-band.in .ac-lab, .js .anim-band.in .ac-num { animation: ab-fade .7s ease both; animation-delay: calc(var(--k) * .12s + .4s); }
  /* intelligence */
  .js .in-track { stroke-dashoffset: 1; }
  .js .anim-band.in .in-track { animation: ab-draw 2s cubic-bezier(.65, 0, .35, 1) .2s both; }
  .js .in-node { opacity: 0; transform-box: fill-box; transform-origin: center; }
  .js .anim-band.in .in-node { animation: ab-fade .7s ease both; animation-delay: calc(var(--k) * .14s + .8s); }
  .js .in-pulse { opacity: 0; }
  .anim-band.in .in-pulse { opacity: 1; animation: in-loop 10s linear 2.2s infinite both; }
  .anim-band.in .in-halo { animation: in-flash 10s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: calc(var(--f) * 10s + 2.2s); }
  .anim-band.in .in-out { animation: in-out 10s linear infinite; animation-delay: calc(var(--k) * 2s + 3s); }
  .js .in-ret { opacity: 0; }
  .js .anim-band.in .in-ret { animation: ab-fade .8s ease 2s both; }
  /* secteurs */
  .js .se-beam { stroke-dashoffset: 1; }
  .js .anim-band.in .se-beam { animation: ab-draw 1.3s cubic-bezier(.65, 0, .35, 1) .2s both; }
  .js .se-pend { opacity: 0; }
  .js .anim-band.in .se-pend { animation: se-drop 1s cubic-bezier(.3, 1.3, .5, 1) both, se-swing var(--d) ease-in-out infinite alternate; animation-delay: calc(var(--k) * .15s + .9s), calc(var(--k) * .15s + 1.9s); }
  /* références */
  .anim-band.in .re-line { animation: re-write 8s cubic-bezier(.65, 0, .35, 1) infinite; animation-delay: calc(var(--k) * .18s + .4s); }
  .js .re-line { transform: scaleX(0); }
  .js .re-check { stroke-dashoffset: 1; }
  .anim-band.in .re-check { animation: re-tick 8s ease infinite; animation-delay: calc(var(--k) * .18s + .9s); }
  .anim-band.in .re-scan { animation: re-scan 8s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: calc(var(--k) * .1s + .3s); }
  .js .re-seal { opacity: 0; }
  .js .anim-band.in .re-seal { animation: re-stamp .7s cubic-bezier(.3, 1.2, .5, 1) 3.4s both; }
  /* à propos */
  .js .ap-route { stroke-dashoffset: 1; }
  .js .anim-band.in .ap-route { animation: ab-draw 2.6s cubic-bezier(.65, 0, .35, 1) .5s both; }
  .js .ap-stop, .js .ap-logo, .js .ap-origin { opacity: 0; }
  .js .anim-band.in .ap-stop { animation: ab-fade .7s ease both; animation-delay: calc(var(--k) * .75s + .6s); }
  .js .anim-band.in .ap-logo, .js .anim-band.in .ap-origin { animation: ab-fade .8s ease .2s both; }
  .anim-band.in .ap-ring { animation: ap-ring 3.6s cubic-bezier(.2, .6, .3, 1) infinite; animation-delay: calc(var(--r) * 1.2s + 1s); }
  .anim-band.in .ap-run { animation: ab-run 4s cubic-bezier(.45, 0, .25, 1) 3.4s infinite; }
}
.in-center { font: 700 86px var(--sans); fill: rgba(255, 255, 255, .1); letter-spacing: -.03em; }
@keyframes door-fallback { to { visibility: hidden; opacity: 0; } }
.doors.shut.instant { animation: door-fallback 0s linear 2.6s forwards; }
@media (prefers-reduced-motion: reduce) { .doors { display: none !important; } }

/* ===== AUTODIAGNOSTIC ===== */
.diag-sec { padding-top: 0; }
.diag { max-width: 920px; margin: 0 auto; min-height: 460px; border-top: 2px solid var(--red); padding-top: 34px; }
.dg-in > * { animation: dg-in .6s cubic-bezier(.16, .84, .24, 1) both; }
.dg-in > *:nth-child(2) { animation-delay: .07s; } .dg-in > *:nth-child(3) { animation-delay: .14s; } .dg-in > *:nth-child(4) { animation-delay: .2s; }
@keyframes dg-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dg-in > * { animation: none; } }
.dg-top { display: flex; align-items: center; gap: 22px; }
.dg-count { font: 500 13px var(--mono); color: var(--red); white-space: nowrap; letter-spacing: .04em; text-transform: uppercase; }
.dg-count em { font-style: normal; color: var(--mute); }
.dg-bar { flex: 1; height: 3px; background: var(--line); position: relative; overflow: hidden; }
.dg-bar i { position: absolute; inset: 0 auto 0 0; background: var(--red); transition: width .6s cubic-bezier(.16, .84, .24, 1); }
.dg-q { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: center; margin: 44px 0 36px; }
.dg-ico { display: grid; place-items: center; width: 96px; aspect-ratio: 1; background: var(--paper2); color: var(--red); }
.dg-ico svg { width: 46%; height: 46%; }
.dg-text { margin: 0; font: 600 clamp(24px, 2.6vw, 36px)/1.2 var(--sans); letter-spacing: -.025em; color: var(--ink); }
.dg-scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dg-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 500 17px var(--sans); text-align: left; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .25s; }
.dg-opt:hover { border-color: var(--red); transform: translateY(-2px); }
.dg-opt:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.dg-opt.on { background: var(--red); border-color: var(--red); color: #fff; }
.dg-n { font: 500 12px var(--mono); color: var(--mute); }
.dg-opt.on .dg-n { color: rgba(255, 255, 255, .75); }
.dg-nav { min-height: 44px; margin-top: 24px; }
.dg-prev, .dg-again { background: none; border: 0; padding: 8px 0; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; border-bottom: 1px solid currentColor; }
.dg-prev:hover, .dg-again:hover { color: var(--red); }
.dg-rt { display: flex; align-items: center; gap: 22px; margin: 14px 0 0; font: 600 clamp(30px, 3.6vw, 52px)/1.08 var(--sans); letter-spacing: -.035em; color: var(--red); outline: none; }
.dg-ico.xl { width: 88px; flex: none; }
.dg-rd { max-width: 60ch; margin: 20px 0 0; color: var(--ink); font-size: 18px; line-height: 1.6; }
.dg-ans { margin: 22px 0 0; font-size: 18px; }
.dg-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.dg-prof { margin-top: 56px; }
.dg-prof ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.dg-prof li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 42px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.dg-prof li.top { color: var(--ink); font-weight: 600; }
.dg-bv { height: 8px; background: var(--paper2); position: relative; overflow: hidden; }
.dg-bv i { position: absolute; inset: 0; background: var(--ink); opacity: .35; transform: scaleX(var(--v)); transform-origin: left; animation: dg-bar 1s cubic-bezier(.16, .84, .24, 1) both; }
.dg-prof li.top .dg-bv i { background: var(--red); opacity: 1; }
@keyframes dg-bar { from { transform: scaleX(0); } }
.dg-bs { font: 500 13px var(--mono); text-align: right; }
.dg-note { margin: 26px 0 18px; font: 500 13px/1.5 var(--mono); color: var(--mute); }
.diag-priv { max-width: 920px; margin: 26px auto 0; font: 500 12px var(--mono); color: var(--mute); }
@media (max-width: 760px) {
  .dg-q { grid-template-columns: 1fr; gap: 18px; margin: 30px 0 26px; } .dg-ico { width: 72px; }
  .dg-scale { grid-template-columns: 1fr 1fr; } .dg-opt { padding: 18px 16px; font-size: 16px; }
  .dg-rt { flex-direction: column; align-items: flex-start; } .dg-prof li { grid-template-columns: 1fr 34px; } .dg-bv { grid-column: 1 / -1; grid-row: 2; }
}
.diag-band .db-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: clamp(32px, 4vw, 56px); background: var(--red); color: #fff; }
.diag-band .lbl { color: rgba(255, 255, 255, .8); }
.diag-band .lbl::before { background: #fff; }
.db-t { margin: 12px 0 8px; font: 600 clamp(30px, 3.4vw, 50px)/1.05 var(--sans); letter-spacing: -.035em; }
.db-d { margin: 0; color: rgba(255, 255, 255, .85); font-size: 18px; }
.btn-inv { background: #fff !important; color: var(--red) !important; }
.btn-inv .dot { background: var(--red) !important; }
.diag-link { margin: 0 0 28px; padding: 16px 18px; background: var(--paper2); font-size: 15px; }
.diag-link a { font-weight: 600; }
.lnk { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lnk:hover { color: var(--red); }
/* ===== WHATSAPP ET AGENDA ===== */
.wa-btn { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none; font: 500 14px var(--sans); box-shadow: 0 14px 30px rgba(11, 22, 80, .25); transition: transform .3s ease, background .3s ease; }
.wa-btn:hover { background: var(--red); transform: translateY(-3px); }
.wa-btn svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .wa-btn span { display: none; } .wa-btn { padding: 14px; right: 16px; bottom: 16px; } }
.book-link { margin: 0 0 18px; }

/* ---------- contact rapide : WhatsApp et rendez-vous ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 25; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: #0F7B3F; color: #FFFFFF; font: 600 15px/1 var(--sans); text-decoration: none; box-shadow: 0 8px 24px -8px rgba(11, 22, 80, .45); transition: transform .2s, box-shadow .2s; }
.wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(11, 22, 80, .55); }
.wa:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-ic { width: 24px; height: 24px; flex: none; }
@media (max-width: 640px) { .wa { padding: 0; width: 54px; height: 54px; justify-content: center; right: 14px; bottom: 14px; } .wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media print { .wa { display: none; } }
.direct-cta { display: grid; gap: 10px; margin-top: 22px; }
.direct-cta .btn { justify-content: center; }
.btn-wa { background: #0F7B3F; }
.btn-wa:hover { background: var(--ink); }
.btn-wa .wa-ic { width: 20px; height: 20px; }

/* bandeau de preuves : 4 repères, règle finale */
.proof .pf { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.proof .pf > .pf-c { padding: 28px 22px 26px; border-right: 1px solid var(--line); border-bottom: 0; border-left: 0; }
.proof .pf > .pf-c:first-child { padding-left: 0; }
.proof .pf > .pf-c:last-child { border-right: 0; }
.proof .pf-n { font-size: clamp(40px, 4.6vw, 72px); }
.proof .pf-d { max-width: 24ch; }
@media (max-width: 900px) {
  .proof .pf { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .proof .pf > .pf-c { padding: 24px 18px 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof .pf > .pf-c:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .proof .pf { grid-template-columns: 1fr !important; }
  .proof .pf > .pf-c, .proof .pf > .pf-c:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ---------- FAQ et MAIORIS Insights ---------- */
[hidden] { display: none !important; }
.lead2 { margin-top: 18px !important; }
.closing-t.long { font-size: clamp(32px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.04em; max-width: 1040px; }
.closing-p { max-width: 620px; margin: 24px 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #2A2926; }
.faq { border-top: 2px solid var(--red); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 28px; gap: 8px 16px; align-items: baseline; padding: 26px 0; font: 600 clamp(19px, 1.8vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; color: var(--ink); transition: color .25s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--red); }
.faq summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.fq-n { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--red); }
.fq-i { position: relative; width: 20px; height: 20px; justify-self: end; align-self: center; }
.fq-i::before, .fq-i::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--red); transition: transform .3s ease; }
.fq-i::after { transform: rotate(90deg); }
.faq details[open] .fq-i::after { transform: rotate(0deg); }
.fq-a { padding: 0 48px 32px 72px; max-width: 840px; font-size: 18px; line-height: 1.7; color: var(--ink); animation: fqin .35s ease; }
.fq-a p { margin: 0 0 1em; }
.fq-a ul { margin: 0 0 1.2em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fq-a li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); }
.fq-a li::before { content: ""; position: absolute; left: 2px; top: 1.1em; width: 12px; height: 2px; background: var(--red); }
.fq-steps { counter-reset: st; margin: 0 0 1.2em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fq-steps li { counter-increment: st; padding: 16px 0 16px 48px; }
.fq-steps li::before { content: counter(st, decimal-leading-zero); width: auto; height: auto; background: none; top: 19px; left: 0; font: 500 13px/1 var(--mono); color: var(--red); }
.fq-steps strong { display: block; font: 600 19px/1.3 var(--sans); margin-bottom: 4px; }
.fq-cta { margin: 28px 0 0; }
@keyframes fqin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .faq summary { grid-template-columns: 34px 1fr 22px; padding: 22px 0; } .fq-a { padding: 0 0 28px 0; font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .fq-a { animation: none; } .fq-i::before, .fq-i::after, .faq summary { transition: none; } }
.ins-intro p { max-width: 700px; margin: 0 0 1.1em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.ins-intro p:last-child { font-weight: 600; margin-bottom: 0; }
.terr { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.terr li { padding: 26px 22px 30px 0; border-right: 1px solid var(--line); }
.terr li + li { padding-left: 22px; }
.terr li:last-child { border-right: 0; }
.tn { display: block; font: 500 12px/1 var(--mono); letter-spacing: .06em; color: var(--red); margin-bottom: 14px; }
.th { font: 600 clamp(19px, 1.6vw, 23px)/1.2 var(--sans); letter-spacing: -.02em; margin: 0 0 10px; }
.terr p { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 1100px) { .terr { grid-template-columns: repeat(2, minmax(0, 1fr)); } .terr li, .terr li + li { padding: 24px 18px 26px 0; border-right: 0; border-bottom: 1px solid var(--line); } .terr li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); } }
@media (max-width: 560px) { .terr { grid-template-columns: 1fr; } .terr li:nth-child(even) { padding-left: 0; border-left: 0; } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.chip { font: 500 13px/1 var(--sans); padding: 12px 18px; min-height: 44px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--paper2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.feat { margin-top: 18px; padding: 8px 0 0; }
.feat a { position: relative; display: grid; gap: 16px; max-width: 940px; padding: 34px 0; border-top: 2px solid var(--red); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.feat .at { font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.feat .ah { font: 600 clamp(28px, 3.6vw, 50px)/1.06 var(--sans); letter-spacing: -.03em; text-wrap: balance; transition: color .25s; }
.feat a:hover .ah { color: var(--red); }
.feat .ad { max-width: 720px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--mute); }
.feat .am { font: 500 12px var(--mono); color: var(--mute); }
.feat .fl { font: 600 15px var(--sans); color: var(--red); }
.feat a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.arts li[hidden] { display: none; }
.arts-note { margin: 22px 0 0; color: var(--mute); }
.prose h3 { font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--sans); letter-spacing: -.015em; margin: 1.7em 0 .35em; }
.prose h3 + p { margin-top: 0; }
.prose ol { counter-reset: pn; margin: 0 0 1.5em; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prose ol li { counter-increment: pn; padding-left: 46px; }
.prose ol li::before { content: counter(pn, decimal-leading-zero); width: auto; height: auto; background: none; top: 1.35em; left: 2px; font: 500 12px/1 var(--mono); color: var(--red); }
.cta-inline { margin: 2.2em 0 0; }
.thesis.s.art-long { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.04em; max-width: 26ch; }

/* ---------- niveaux d'accompagnement ---------- */
.lv-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 40px 0 0; padding: 0; grid-column: 1 / -1; }
.lv-nav a { display: inline-flex; gap: 10px; align-items: baseline; padding: 8px 0; color: var(--ink); text-decoration: none; font: 500 15px/1.3 var(--sans); border-bottom: 2px solid transparent; }
.lv-nav a:hover { border-bottom-color: var(--red); }
.lv-nav a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.lv-nav span { font: 500 12px/1 var(--mono); color: var(--red); letter-spacing: .06em; }
.lv-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 14px; margin-bottom: 36px; }
.lv-head .lbl { grid-column: 1 / -1; }
.lv-head .h2 { grid-column: 1 / span 7; margin: 0; }
.lv-head .lv-sub { grid-column: 1 / span 6; margin: 0; max-width: 620px; color: var(--mute); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.lv-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.lv { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 3fr); gap: 0 40px; padding: 40px 0 44px; border-bottom: 1px solid var(--line); align-items: start; }
.lv-n { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: var(--red); padding-top: 12px; }
.lv-t { font: 600 clamp(28px, 3.2vw, 46px)/1.04 var(--sans); letter-spacing: -.035em; margin: 0 0 14px; }
.lv-p { margin: 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #2A2926; }
.lv-price { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.lv-price span { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.lv-price b { display: block; font: 600 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.lv-note { margin: 28px 0 0; max-width: 720px; color: var(--mute); font-size: 16px; line-height: 1.6; }
.fcl .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.fcl-head { grid-column: 1 / span 5; }
.fcl-body { grid-column: 7 / span 6; }
.fcl .lbl { margin-bottom: 22px; }
.fcl-t { font: 600 clamp(36px, 4.8vw, 70px)/1 var(--sans); letter-spacing: -.045em; margin: 0 0 26px; text-wrap: balance; }
.fcl-lead { margin: 0; max-width: 520px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.fcl-price { margin: 34px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .4); max-width: 520px; }
.fcl-price span { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.fcl-price b { display: block; font: 600 20px/1.3 var(--sans); letter-spacing: -.01em; }
.fcl-more { margin: 26px 0 0; }
.fcl-more a { color: #fff; font: 600 15px var(--sans); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.fcl-more a:hover { text-decoration-color: rgba(255, 255, 255, .6); }
.fcl-more a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.fcl-body dl { margin: 0; border-top: 1px solid rgba(255, 255, 255, .4); }
.fcl-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 28px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.fcl-row dt { font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 5px; opacity: .88; }
.fcl-row dd { margin: 0; font-size: 17.5px; line-height: 1.65; }
.fcl-row ul { list-style: none; margin: 14px 0 0; padding: 0; }
.fcl-row li { position: relative; padding: 6px 0 6px 24px; }
.fcl-row li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 12px; height: 2px; background: #fff; }
.ent-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.ent-txt { grid-column: 1 / span 5; }
.ent-dom { grid-column: 7 / span 6; }
.ent-t { font: 600 clamp(32px, 4vw, 58px)/1.02 var(--sans); letter-spacing: -.04em; margin: 0 0 22px; text-wrap: balance; }
.ent-txt p { margin: 0 0 1.1em; max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.ent-mode { display: inline-block; margin: 8px 0 22px; padding: 8px 14px; border: 1px solid var(--ink); font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ent-dom .themes { grid-template-columns: 1fr; }
.ent-dom .lbl { margin-bottom: 14px; }
@media (max-width: 900px) {
  .lv-head .h2, .lv-head .lv-sub { grid-column: 1 / -1; }
  .lv { grid-template-columns: 44px minmax(0, 1fr); gap: 18px 16px; padding: 30px 0 34px; }
  .lv-price { grid-column: 2; }
  .fcl-head, .fcl-body, .ent-txt, .ent-dom { grid-column: 1 / -1; }
  .fcl-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}
@media (max-width: 480px) { .lv { grid-template-columns: 1fr; } .lv-price { grid-column: 1; } .lv-n { padding-top: 0; } }

/* ---------- outil : évaluer son brief ---------- */
.bf { max-width: 860px; }
.bf-q { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 28px 0; min-width: 0; }
.bf-q:first-of-type { border-top: 2px solid var(--red); }
.bf-q legend { padding: 0; float: left; width: 100%; display: flex; gap: 16px; align-items: baseline; font: 600 clamp(20px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; }
.bf-q legend + * { clear: both; }
.bf-p { margin: 10px 0 18px 48px; max-width: 640px; color: var(--mute); font-size: 17px; line-height: 1.55; }
.bf-o { display: flex; flex-wrap: wrap; gap: 10px; margin-left: 48px; }
.bf-o label { position: relative; cursor: pointer; }
.bf-o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bf-o span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font: 500 15px/1 var(--sans); transition: background .2s, color .2s; }
.bf-o label:hover span { background: var(--paper2); }
.bf-o input:checked + span, .bf-o label:hover input:checked + span { background: var(--ink); color: var(--paper); }
.bf-o input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }
.bf-act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.bf-err { margin: 0; color: #8A2310; font-size: 15px; }
.bf-res { max-width: 860px; margin-top: 8px; padding-top: 36px; border-top: 2px solid var(--red); }
.bf-res:focus { outline: none; }
.bf-res .bf-score { margin: 8px 0 18px; max-width: none; font: 600 clamp(48px, 7vw, 96px)/1 var(--sans); letter-spacing: -.05em; color: var(--red); font-variant-numeric: tabular-nums; }
.bf-res .bf-score span { margin-left: .2em; font-size: .35em; letter-spacing: 0; color: var(--ink); }
.bf-res h2 { margin: 0 0 12px; font: 600 clamp(26px, 3vw, 40px)/1.1 var(--sans); letter-spacing: -.03em; }
.bf-res p { max-width: 640px; font-size: 18px; line-height: 1.6; }
.bf-res ul { margin: 12px 0 24px; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 640px; }
.bf-res li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.bf-res li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 2px; background: var(--red); }
.bf-res .actions { margin-top: 28px; }
.bf-res button.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
@media (max-width: 640px) { .bf-p, .bf-o { margin-left: 0; } .bf-q legend { flex-direction: column; gap: 6px; } }

/* Bloc partagé « Poursuivre votre diagnostic » (tools/sync_tools.py) */
.tnx-lead { max-width: 640px; margin: 0 0 28px; font-size: 17px; line-height: 1.55; color: var(--mute); }
.tnx-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tnx-i > a, .tnx-i > div { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border: 1px solid var(--ink); background: #fff; color: var(--ink); text-decoration: none; }
.tnx-i > a:hover { background: var(--ink); color: var(--paper); }
.tnx-i > a:hover .tnx-k, .tnx-i > a:hover .tnx-q { color: var(--on-dark); }
.tnx-i > a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.tnx-i.cur > div { border-style: dashed; background: transparent; }
.tnx-k { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.tnx-i b { font: 600 20px/1.25 var(--sans); letter-spacing: -.01em; }
.tnx-q { font-size: 15px; line-height: 1.5; color: var(--mute); }
.tnx-go, .tnx-here { margin-top: auto; padding-top: 10px; font: 600 14px/1.2 var(--sans); }
.tnx-here { font: 500 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 600px) { .tnx-list { grid-template-columns: 1fr; } }

/* deux marchés (accueil) */
.two-mk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 34px; }
.two-mk > div { padding: 28px clamp(0px, 3vw, 40px) 32px 0; }
.two-mk > div + div { padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid var(--line); }
.two-mk h3 { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.03em; margin: 0 0 6px; }
.two-mk .lbl { margin: 0 0 14px; }
.two-mk p { margin: 0 0 16px; color: var(--mute); max-width: 46ch; }
@media (max-width: 760px) { .two-mk { grid-template-columns: 1fr; } .two-mk > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* apparition en cascade des blocs de texte : même mouvement que les listes de l'accueil, sur les pages d'offre, Partners et Direct */

/* visionneuse de document (PDF présenté en pages) : le site reste visible, assombri, derrière */
.pdfv { border: 0; padding: 0; width: min(1120px, 94vw); max-height: 92vh; margin: auto; background: var(--paper); color: var(--ink); border-radius: 10px; box-shadow: 0 40px 120px rgba(11, 22, 80, .45); overflow: hidden; }
.pdfv[open] { display: flex; flex-direction: column; animation: pdfv-in .42s cubic-bezier(.2, .8, .2, 1) both; }
.pdfv::backdrop { background: rgba(11, 22, 80, .58); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); animation: pdfv-fade .35s ease both; }
.pdfv-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line); background: var(--paper); flex: none; }
.pdfv-t { margin: 0; font: 600 clamp(16px, 1.6vw, 20px)/1.25 var(--sans); letter-spacing: -.02em; }
.pdfv-n { margin: 3px 0 0; font: 400 13px/1.4 var(--sans); color: var(--mute); }
.pdfv-act { display: flex; align-items: center; gap: 18px; flex: none; }
.pdfv-x { min-height: 44px; padding: 10px 18px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; font: 500 14px/1 var(--sans); cursor: pointer; }
.pdfv-x:hover { background: var(--red); }
.pdfv-pages { overflow-y: auto; overscroll-behavior: contain; padding: clamp(12px, 2vw, 24px); display: grid; gap: clamp(12px, 2vw, 22px); background: var(--paper2); }
.pdfv-pages img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 6px 24px rgba(11, 22, 80, .14); background: #fff; }
.pdfv-pages:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
html.pdfv-open { overflow: hidden; }
@keyframes pdfv-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pdfv-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .pdfv { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; } .pdfv-bar { flex-wrap: wrap; } .pdfv-act { width: 100%; justify-content: space-between; } }
@media (prefers-reduced-motion: reduce) { .pdfv[open], .pdfv::backdrop { animation: none; } }

/* niveaux d'accompagnement : situation, intervention, résultat, livrables */
.lv-ex { margin: 14px 0 0; display: grid; gap: 0; max-width: 62ch; }
.lv-ex > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.lv-ex dt { font: 500 12px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.lv-ex dd { margin: 0; }
.lv-next { font-size: 14px; color: var(--mute); margin-top: 10px; }
@media (max-width: 520px) { .lv-ex > div { grid-template-columns: 1fr; gap: 2px; } }

/* preuves de valeur : argumentaire du leadership fractionné et autorité de la méthode MCPS (préfixe vp-) */
.vp-in { max-width: 1120px; }
.vp-h { font: 600 clamp(26px, 3.2vw, 44px)/1.08 var(--sans); letter-spacing: -.04em; margin: 0 0 16px; text-wrap: balance; max-width: 24ch; }
.vp-lead { font-size: 18px; line-height: 1.6; color: var(--mute); max-width: 68ch; margin: 0 0 22px; }
.vp-lead b { color: var(--ink); font-weight: 600; }
.vp-scroll { overflow-x: auto; border-top: 2px solid var(--ink); margin: 8px 0 0; }
.vp-scroll:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.vp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.vp-table th, .vp-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.vp-table thead th { font: 600 13px/1.4 var(--sans); color: var(--ink); padding-top: 16px; }
.vp-table tbody th { font-weight: 600; width: 18%; }
.vp-ex-t { min-width: 520px; }
.vp-fine { margin: 12px 0 0; font-size: 14px; line-height: 1.55; color: var(--mute); max-width: 74ch; }
.vp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 5vw, 72px); margin-top: 34px; }
.vp-cols h3, .vp-sim { font: 600 18px/1.3 var(--sans); letter-spacing: -.02em; margin: 0 0 10px; }
.vp-sim { margin-top: 44px; }
.vp-cols p { margin: 0; max-width: 56ch; }
.vp-ul { margin: 0; padding-left: 18px; line-height: 1.6; }
.vp-ul li { margin: 6px 0; }
.vp-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 34px; }
@media (max-width: 760px) { .vp-cols { grid-template-columns: 1fr; } }
.vp-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.vp-stage { padding: 24px clamp(14px, 1.8vw, 26px) 28px 0; border-bottom: 1px solid var(--line); }
.vp-stage:not(:nth-child(3n+1)) { padding-left: clamp(14px, 1.8vw, 26px); border-left: 1px solid var(--line); }
.vp-stage h3 { font: 600 20px/1.2 var(--sans); letter-spacing: -.02em; margin: 0 0 14px; }
.vp-stage p { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.vp-stage b { display: block; font: 600 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 2px; }
@media (max-width: 1000px) { .vp-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vp-stage:not(:nth-child(3n+1)) { border-left: 0; padding-left: 0; } .vp-stage:nth-child(even) { padding-left: clamp(14px, 1.8vw, 26px); border-left: 1px solid var(--line); } }
@media (max-width: 640px) { .vp-stages { grid-template-columns: 1fr; } .vp-stage, .vp-stage:nth-child(even) { padding-left: 0; border-left: 0; } }
.vp-exs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px clamp(24px, 4vw, 56px); margin-top: 10px; }
.vp-ex h3 { font: 600 18px/1.3 var(--sans); letter-spacing: -.02em; margin: 0 0 4px; }
.vp-tag { margin: 0 0 6px; font: 500 12px/1.5 var(--mono); letter-spacing: .04em; color: var(--red-ink); }
@media (max-width: 900px) { .vp-exs { grid-template-columns: 1fr; } }
.vp-cases { display: grid; gap: 28px; margin-top: 8px; }
.vp-case { border-top: 2px solid var(--ink); padding-top: 18px; }
.vp-case h3 { font: 600 clamp(22px, 2.4vw, 30px)/1.15 var(--sans); letter-spacing: -.03em; margin: 0 0 14px; }
.vp-case-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(18px, 3vw, 40px); }
.vp-case-g h4 { font: 600 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 6px; }
.vp-case-g p { margin: 0; font-size: 15.5px; line-height: 1.55; }
@media (max-width: 860px) { .vp-case-g { grid-template-columns: 1fr; } }
.vp-links { list-style: none; margin: 14px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.vp-links li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.vp-links span { color: var(--mute); font-size: 15px; }
@media (max-width: 640px) { .vp-links li { grid-template-columns: 1fr; } }

.vp-art li b { font-weight: 600; }

/* barre d'inscription à la lettre MAIORIS Insights, au-dessus du pied de page */
.nlb { background: var(--paper2); border-top: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; }
.nlb-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px clamp(24px, 5vw, 72px); align-items: center; }
.nlb-t { font: 600 clamp(20px, 2.2vw, 28px)/1.15 var(--sans); letter-spacing: -.03em; margin: 0; max-width: 22ch; }
.nlb .lbl { margin-bottom: 10px; }
.nlb-row { display: flex; gap: 10px; }
.nlb-row input[type=email] { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid #B9B6AE; border-radius: 6px; background: #fff; font: 400 16px var(--sans); color: var(--ink); }
.nlb-row input[type=email][aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 2px rgba(179, 38, 30, .15); }
.nlb-row .btn { flex: none; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nlb-consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--mute); cursor: pointer; }
.nlb-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.nlb-consent input[aria-invalid="true"] { outline: 2px solid #B3261E; outline-offset: 2px; }
.nlb .nl-status { margin: 10px 0 0; min-height: 1.4em; font-size: 14px; }
.nlb .nl-status.ok { color: #0B6B3A; }
.nlb .nl-status.err { color: #B3261E; }
@media (max-width: 860px) { .nlb-in { grid-template-columns: 1fr; } .nlb-t { max-width: none; } }
@media (max-width: 480px) { .nlb-row { flex-direction: column; } .nlb-row .btn { justify-content: center; } }

/* rappel discret vers la barre de la lettre (ordinateur et mobile), qui est en bas de page */
.nlb-chip { display: none; }
.nlb-chip:not([hidden]) { display: flex; align-items: stretch; position: fixed; left: 12px; bottom: 14px; z-index: 40; background: var(--ink); color: #fff; border-radius: 999px; box-shadow: 0 8px 26px rgba(11, 22, 80, .35); overflow: hidden; }
.nlb-chip-a { display: flex; align-items: center; min-height: 48px; padding: 0 8px 0 20px; color: #fff; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.nlb-chip-a::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-left: 10px; }
.nlb-chip-x { width: 48px; min-height: 48px; background: none; border: 0; color: #fff; font: 400 24px/1 var(--sans); cursor: pointer; }
.nlb-chip-x:focus-visible, .nlb-chip-a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
@media (max-width: 760px) { .nlb-chip:not([hidden]) { max-width: calc(100vw - 96px); } }

/* pied de page : le symbole reste au-dessus du filet, sans le toucher */
@media (max-width: 880px) { .ft::before { width: 120px; bottom: 130px; } }
