/* MPCISEP: feuille de style. Couleurs issues de la charte graphique. */
@font-face { font-family: "Lexend"; src: url("fonts/lexend-variable.woff2?v=1ec8f6ee27") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --night: #2E1B78;
  --night-2: #36238A;
  --indigo: #28106A;
  --violet: #6A35D4;
  --blue: #2B5FC9;
  --teal: #12B5A5;
  --teal-bright: #46E0CB;
  --lilac: #B3A6D9;
  --mist: #F4F2FB;
  --paper: #FBFAFE;
  --ink: #1A0D4A;
  --ink-soft: #4E4775;
  --line: #DCD6EF;
  --white: #FFFFFF;
  --rupture: #FF7A6B;
  --error: #C4281C;
  --grad: linear-gradient(100deg, var(--teal) 0%, var(--blue) 52%, var(--violet) 100%);

  --display: "Lexend", system-ui, sans-serif;
  --text: "Lexend", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 16.5px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-bright); color: var(--night); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 600; max-width: 13ch; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 600; max-width: 22ch; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 58ch; }
.prose { max-width: 66ch; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 0; font: 600 1rem/1.1 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease; }
.btn-glow { color: var(--white); background: var(--grad); box-shadow: 0 8px 24px -10px rgba(70, 224, 203, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-glow:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(106, 53, 212, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-glow:active { transform: translateY(0); }
.btn-line { color: var(--white); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1.5px rgba(179,166,217,.55); }
.btn-line:hover { color: var(--white); background: rgba(255,255,255,.1); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .95rem; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(40, 24, 108, .9); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(179,166,217,.16); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.brand img { height: 54px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { color: #DCD6F5; text-decoration: none; font: 500 .96rem var(--display); }
.nav a:not(.btn):hover, .nav a.is-active, .nav a[aria-current="page"] { color: var(--teal-bright); }
.nav .btn { color: var(--white); background: var(--grad); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #EDEAFB; background:
  radial-gradient(900px 500px at 85% 20%, rgba(106,53,212,.38), transparent 60%),
  radial-gradient(700px 480px at 10% 100%, rgba(18,181,165,.22), transparent 60%),
  var(--night); padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 40%, transparent 100%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 40%, transparent 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(27,16,80,.9)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { color: var(--white); }
.hero-lead { font-size: 1.2rem; color: #CFC8EE; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.chips li { font-size: .9rem; padding: 6px 14px; border-radius: 999px; color: #E4DEFA; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(179,166,217,.28); }

/* Parcours animé */
.journey { margin: 0; padding: 26px 26px 18px; border-radius: 22px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); box-shadow: inset 0 0 0 1px rgba(179,166,217,.22), 0 30px 80px -40px rgba(0,0,0,.6); }
.journey figcaption { font: 500 .95rem var(--display); color: var(--lilac); margin-bottom: 18px; }
.journey-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.journey-steps > li { position: relative; padding: 0 0 22px 40px; }
.journey-steps > li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--night); box-shadow: 0 0 0 3px var(--teal-bright), 0 0 16px rgba(70,224,203,.6); }
.journey-steps > li::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 2px; width: 3px; border-radius: 3px; background: linear-gradient(var(--teal-bright), var(--blue)); }
.journey-steps > li:last-child::after { display: none; }
.journey-steps > li:last-child::before { box-shadow: 0 0 0 3px var(--violet), 0 0 18px rgba(106,53,212,.8); }
.journey-steps strong { display: block; color: var(--white); font: 600 1.02rem/1.3 var(--display); }
.journey-steps span { display: block; color: #BDB4E3; font-size: .93rem; }
.journey-steps > li.journey-gap { padding: 0 0 0 40px; height: 52px; margin: -16px 0 6px; }
.journey-steps > li.journey-gap::before { display: none; }
.journey-steps > li.journey-gap::after { top: 0; bottom: 0; background: repeating-linear-gradient(var(--rupture) 0 6px, transparent 6px 12px); animation: seal .9s 1.6s ease forwards; }
.journey-gap span { position: absolute; left: 40px; top: 14px; font: 500 .9rem var(--display); }
.journey-gap .gap-before { color: var(--rupture); animation: fadeOut .4s 1.6s ease forwards; }
.journey-gap .gap-after { color: var(--teal-bright); opacity: 0; animation: fadeIn .5s 2.1s ease forwards; }
@keyframes seal { to { background: linear-gradient(var(--blue), var(--teal-bright), var(--violet)); box-shadow: 0 0 14px rgba(70,224,203,.7); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Bande constat */
.facts-band { background: var(--night-2); color: #DCD6F5; padding: 40px 0 44px; border-top: 1px solid rgba(179,166,217,.14); }
.readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0 0 22px; }
.readouts div { padding-left: 18px; border-left: 2px solid var(--teal-bright); }
.readouts div:nth-child(2) { border-left-color: var(--blue); }
.readouts div:nth-child(3) { border-left-color: var(--violet); }
.readouts dt { font: 600 clamp(2rem, 4vw, 2.8rem)/1 var(--display); color: var(--white); margin-bottom: 8px; letter-spacing: -.02em; }
.readouts dd { margin: 0; font-size: .98rem; color: #C9C1EA; }
.readouts dd .cite { display: block; width: fit-content; }
.band-line { margin: 0 0 8px; font: 500 1.15rem var(--display); color: var(--white); }
.band-sub { margin: 0; max-width: 72ch; color: #C9C1EA; font-size: .98rem; }
.readouts .cite { display: inline-block; font-size: .82rem; color: var(--lilac); margin-top: 6px; text-decoration: underline; text-decoration-color: rgba(179,166,217,.45); text-underline-offset: 3px; }
.readouts .cite:hover { color: var(--teal-bright); }

/* Fil conducteur (grands écrans) */
.spine-wrap { position: relative; }
.spine { display: none; }
@media (min-width: 1300px) {
  .spine { display: block; position: absolute; z-index: 2; left: max(16px, calc((100% - 1180px) / 2 - 30px)); top: 0; bottom: 0; width: 2px; background: rgba(179,166,217,.45); pointer-events: none; }
  .spine-fill { position: absolute; inset: 0; background: linear-gradient(var(--teal), var(--blue), var(--violet)); transform-origin: top; transform: scaleY(0); }
  .node-dot { position: absolute; left: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px rgba(179,166,217,.8); transition: box-shadow .4s, background .4s; }
  .node-dot.on { background: var(--white); box-shadow: 0 0 0 3px var(--teal), 0 0 18px rgba(18,181,165,.7); }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-mist { background: radial-gradient(700px 360px at 0% 0%, rgba(18,181,165,.08), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(106,53,212,.08), transparent 60%), var(--mist); }
.section-night { background: radial-gradient(800px 420px at 90% 0%, rgba(106,53,212,.3), transparent 60%), var(--night); color: #DCD6F5; }
.section-night h2, .section-night h3 { color: var(--white); }
.section-night .lead { color: #C9C1EA; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.with-art { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.section-head .art { width: 100%; max-width: 420px; height: auto; justify-self: end; }
.section-night .section-head .art { filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }

/* Autodiagnostic */
.quiz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.quiz-q { margin: 0; padding: 22px; border: 0; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.quiz-q legend { float: left; width: 100%; font: 600 1.05rem var(--display); margin-bottom: 14px; padding: 0; }
.options { clear: both; display: grid; gap: 8px; }
.options label { position: relative; display: block; cursor: pointer; }
.options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.options span { display: block; padding: 11px 14px 11px 40px; border-radius: 10px; font-size: .97rem; line-height: 1.35; background: var(--mist); box-shadow: inset 0 0 0 1px transparent; transition: background .15s, box-shadow .15s; }
.options span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--lilac); background: var(--white); transition: box-shadow .15s; }
.options label:hover span { background: #ECE8F8; }
.options input:checked + span { background: #EAF8F6; box-shadow: inset 0 0 0 1.5px var(--teal); font-weight: 700; }
.options input:checked + span::before { box-shadow: inset 0 0 0 4px var(--teal); }
.options input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.quiz-hint { grid-column: 1 / -1; margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }
.result { grid-column: 1 / -1; position: relative; padding: clamp(24px, 4vw, 40px); border-radius: 20px; color: #E4DEFA; background: radial-gradient(600px 300px at 100% 0%, rgba(106,53,212,.45), transparent 60%), var(--night); box-shadow: 0 30px 60px -30px rgba(18,10,58,.55); overflow: hidden; animation: rise .45s ease; }
.result::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.result:focus { outline: none; }
.result-label { color: var(--teal-bright); font: 500 .95rem var(--display); margin-bottom: 6px; }
.result h3 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.result p { max-width: 70ch; color: #CFC8EE; }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 22px 0 26px; }
.result-grid dt { font: 600 .85rem var(--display); color: var(--lilac); margin-bottom: 4px; }
.result-grid dd { margin: 0; color: var(--white); font-size: .97rem; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Prestations */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.module::before { content: ""; position: absolute; inset: 0 24px auto 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); opacity: .35; transition: opacity .2s; }
.module:hover { box-shadow: inset 0 0 0 1px var(--lilac), 0 18px 40px -28px rgba(40,16,106,.5); transform: translateY(-2px); }
.module:hover::before { opacity: 1; }
.module-key { box-shadow: inset 0 0 0 1.5px var(--teal); }
.module-key::before { opacity: 1; }
.module.is-target { box-shadow: inset 0 0 0 2px var(--violet), 0 18px 40px -24px rgba(106,53,212,.6); }
.icon { width: 40px; height: 40px; margin-bottom: 16px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.module p { color: var(--ink-soft); font-size: .98rem; }
.module dl { margin: 0 0 16px; display: grid; gap: 8px; font-size: .93rem; }
.module dt { font-weight: 700; color: var(--ink); }
.module dd { margin: 0; color: var(--ink-soft); }
.module .tag { align-self: flex-start; font-size: .86rem; font-weight: 700; color: #0B6E64; background: #E3F6F3; padding: 4px 12px; border-radius: 999px; margin: 0 0 18px; }
.module-cta { margin-top: auto; font: 600 .98rem var(--display); color: var(--violet); text-decoration: none; }
.module-cta:hover { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }

/* Pour qui */
.audience { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; }
.audience-tabs { display: flex; flex-direction: column; gap: 4px; }
.audience-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 12px 16px; border-radius: 10px; font: 500 1rem var(--display); color: var(--ink-soft); }
.audience-tabs button:hover { background: var(--mist); color: var(--ink); }
.audience-tabs button[aria-selected="true"] { background: var(--night); color: var(--white); }
.audience-tabs button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.audience-panels [role="tabpanel"] { padding: 30px 32px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.funding a { color: var(--violet); }
.funding { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--indigo); font-weight: 700; font-size: .98rem; }

/* Méthode */
.track { list-style: none; counter-reset: d; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0 0 56px; padding: 0; position: relative; }
.track::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 2px; background: var(--grad); opacity: .8; }
.track li { counter-increment: d; position: relative; padding: 52px 18px 0 0; }
.track li::before { content: counter(d); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--white); font: 600 .95rem var(--display); box-shadow: 0 0 0 2px var(--teal-bright), 0 0 18px rgba(70,224,203,.35); }
.track strong { display: block; color: var(--white); font: 600 1rem/1.3 var(--display); margin-bottom: 6px; }
.track span { color: #BDB4E3; font-size: .93rem; }
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pledges > div { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(179,166,217,.2); }
.pledges p { margin: 0; color: #C9C1EA; font-size: .97rem; }

/* Fondatrice */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.founder-side { position: sticky; top: calc(var(--header) + 24px); }
.portrait { width: 100%; max-width: 280px; aspect-ratio: 1; border-radius: 50%; padding: 5px; background: conic-gradient(from 210deg, var(--teal), var(--blue), var(--violet), var(--teal)); box-shadow: 0 24px 60px -30px rgba(106,53,212,.6); }
.portrait img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--white); }
.founder-contact { margin-top: 22px; font-size: .98rem; }
.founder-contact strong { display: block; font-family: var(--display); }
.timeline { list-style: none; padding: 0; margin: 2em 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 24px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--violet); }
.timeline time { display: block; font: 600 .9rem var(--display); color: var(--violet); }
.timeline span { display: block; color: var(--ink-soft); font-size: .95rem; }

/* Déroulement */
.process { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; }
.process li { counter-increment: s; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.process li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px; background: var(--grad); color: var(--white); font: 600 .95rem var(--display); }
.process strong { display: block; font: 600 1.02rem var(--display); margin-bottom: 4px; }
.process span { color: var(--ink-soft); font-size: .95rem; }

/* Devis */
.quote { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.quote-intro a { color: var(--teal-bright); font-weight: 700; }
.form { padding: clamp(22px, 4vw, 40px); border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step > legend { font: 600 1.3rem var(--display); margin-bottom: 18px; padding: 0; }
.progress { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: p; }
.progress li { counter-increment: p; font-size: .85rem; color: var(--ink-soft); padding-top: 10px; border-top: 4px solid var(--line); }
.progress li::before { content: counter(p) ". "; }
.progress li.is-done { border-top-color: var(--teal); }
.progress li.is-current { border-top-color: var(--violet); color: var(--ink); font-weight: 700; }
.field { margin-bottom: 20px; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; font: 16px/1.4 var(--text); color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(106,53,212,.18); }
.checks { display: grid; gap: 2px; }
.checks label, .consent label { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-weight: 400; cursor: pointer; line-height: 1.4; }
input[type=checkbox] { width: 22px; height: 22px; flex: none; accent-color: var(--violet); margin: 0; }
.error { display: none; color: var(--error); font-size: .92rem; margin: 6px 0 0; }
.invalid .error { display: block; }
.invalid input:not([type=checkbox]), .invalid select { border-color: var(--error); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.step-actions .btn:only-child { margin-left: auto; }
.form .btn-line { color: var(--indigo); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.form .btn-line:hover { color: var(--indigo); background: var(--mist); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done h3 { color: var(--indigo); }
.done:focus { outline: none; }
.form-status { margin: 12px 0 0; font-size: .95rem; color: var(--error); }
.form-status:empty { display: none; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details { border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font: 600 1.02rem var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }
.sources { margin: 0; padding: 0 22px 20px 42px; display: grid; gap: 10px; color: var(--ink-soft); font-size: .95rem; }

/* Pied de page */
.site-footer { background: var(--night); color: #C9C1EA; padding: 56px 0 120px; font-size: .95rem; border-top: 1px solid rgba(179,166,217,.14); }
.site-footer a { color: var(--white); }
.site-footer img { width: 200px; height: auto; margin-bottom: 16px; }
.site-footer strong { color: var(--white); font-family: var(--display); font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 32px; }

.mobile-cta { display: none; }

/* Pages secondaires */
.legal { padding: 56px 0 80px; }
.legal h1 { max-width: none; font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal-list { margin: 0; display: grid; gap: 10px; }
.legal-list div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-list dt { font-weight: 500; color: var(--ink); }
.legal-list dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .legal-list div { grid-template-columns: 1fr; gap: 2px; } }

/* Responsive */
@media (max-width: 1080px) {
  .modules { grid-template-columns: 1fr 1fr; }
  .quiz { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .track { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .track::before { display: none; }
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .quote, .founder, .audience, .section-head.with-art { grid-template-columns: 1fr; }
  .section-head .art { justify-self: start; max-width: 340px; }
  .readouts { grid-template-columns: 1fr; gap: 20px; }
  .pledges { grid-template-columns: 1fr; }
  .founder-side { position: static; display: flex; gap: 20px; align-items: center; }
  .founder .portrait { max-width: 150px; flex: none; }
  .founder-contact { margin: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .audience-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .audience-tabs::-webkit-scrollbar { display: none; }
  .audience-tabs button { white-space: nowrap; flex: none; }
}
@media (max-width: 760px) {
  :root { --header: 64px; }
  body { font-size: 16px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; font: 600 .95rem var(--display); background: rgba(255,255,255,.06); border: 0; box-shadow: inset 0 0 0 1.5px rgba(179,166,217,.5); border-radius: 999px; padding: 9px 16px; color: var(--white); cursor: pointer; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; border-bottom: 1px solid rgba(179,166,217,.2); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(179,166,217,.14); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; }
  .modules, .process, .result-grid { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; row-gap: 0; margin-bottom: 40px; }
  .track li { padding: 0 0 26px 56px; min-height: 64px; }
  .track li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 0; width: 2px; background: linear-gradient(var(--teal-bright), var(--violet)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .journey { padding: 22px 18px 10px; }
  .audience-panels [role="tabpanel"] { padding: 22px 20px; }
  .step-actions .btn { flex: 1; }
  .mobile-cta { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 50; min-height: 54px; color: var(--white); background: var(--grad); font: 600 1rem var(--display); border-radius: 999px; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(18,10,58,.6); transition: transform .25s, opacity .25s; }
  .mobile-cta.hide { transform: translateY(160%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}

/* ===================================================================
   Code couleur de la charte, appliqué dans un ordre fixe
   Chaque page descend le dégradé du logo, du turquoise vers l'indigo.
   Les sections reçoivent tour à tour turquoise, bleu, violet, indigo,
   rappelés par le liseré sous le titre et par les arcs de fond,
   repris de la trame officielle MPCISEP.
   =================================================================== */
body::before { content: ""; position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--teal) 0%, var(--blue) 40%, var(--violet) 72%, var(--indigo) 100%); pointer-events: none; }
.accent-teal   { --accent: #12B5A5; --accent-rgb: 18, 181, 165; }
.accent-blue   { --accent: #2B5FC9; --accent-rgb: 43, 95, 201; }
.accent-violet { --accent: #6A35D4; --accent-rgb: 106, 53, 212; }
.accent-indigo { --accent: #28106A; --accent-rgb: 40, 16, 106; }
.section-night.accent-indigo { --accent: #B3A6D9; --accent-rgb: 179, 166, 217; }
[class*="accent-"] h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 18px; border-radius: 4px; background: var(--accent); }
.section[class*="accent-"] { background-image:
    radial-gradient(circle at 104% 108%, transparent 0 250px, rgba(var(--accent-rgb), .16) 251px 253px, transparent 254px 292px, rgba(var(--accent-rgb), .1) 293px 295px, transparent 296px),
    radial-gradient(circle at -6% -10%, transparent 0 180px, rgba(var(--accent-rgb), .08) 181px 183px, transparent 184px); }
.section-mist[class*="accent-"] { background-color: var(--mist); }
.section-night[class*="accent-"] { background-color: var(--night); }
.section:not(.section-mist):not(.section-night)[class*="accent-"] { background-color: var(--paper); }

/* ===================================================================
   Pages intérieures
   =================================================================== */
.page-hero { position: relative; overflow: hidden; color: #E4DEFA; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px);
  background: radial-gradient(800px 420px at 85% 10%, rgba(106,53,212,.4), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(18,181,165,.22), transparent 60%), var(--night); }
.page-hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(179,166,217,.18), 0 0 0 40px rgba(179,166,217,.04); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 20ch; }
.page-hero .hero-lead { max-width: 62ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-grid .art { width: 100%; max-width: 380px; justify-self: end; }
.crumbs { margin: 0 0 18px; font-size: .92rem; color: var(--lilac); }
.crumbs a { color: var(--lilac); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.prose h3 { margin-top: 1.6em; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars li { padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pillars strong { display: block; font: 600 1.1rem var(--display); margin-bottom: 8px; }
.pillars li:nth-child(1) { border-top: 4px solid var(--teal); }
.pillars li:nth-child(2) { border-top: 4px solid var(--blue); }
.pillars li:nth-child(3) { border-top: 4px solid var(--violet); }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field-card { padding: 24px 24px 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--accent, var(--teal)); }
.field-card h3 { font-size: 1.1rem; }
.field-card p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.field-card:nth-child(4n+1) { --accent: var(--teal); }
.field-card:nth-child(4n+2) { --accent: var(--blue); }
.field-card:nth-child(4n+3) { --accent: var(--violet); }
.field-card:nth-child(4n+4) { --accent: var(--indigo); }
.cta-band { padding: clamp(40px, 6vw, 64px); border-radius: 24px; color: #E4DEFA; background: radial-gradient(600px 300px at 100% 0%, rgba(106,53,212,.5), transparent 60%), var(--night); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band h2::after { display: none !important; }
.cta-band p { margin: 0; color: #CFC8EE; }

/* Équipe */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; padding: 32px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.person .portrait { max-width: 220px; }
.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.role { position: relative; padding: 26px 24px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.role .when { display: inline-block; font: 500 .85rem var(--display); color: var(--white); background: var(--accent, var(--teal)); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.role:nth-child(4n+1) { --accent: #0E8C80; } .role:nth-child(4n+2) { --accent: var(--blue); } .role:nth-child(4n+3) { --accent: var(--violet); } .role:nth-child(4n+4) { --accent: var(--indigo); }
.role h3 { font-size: 1.12rem; }
.role dl { margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.role dt { font-weight: 500; color: var(--ink); }
.role dd { margin: 0; color: var(--ink-soft); }
.note { font-size: .95rem; color: var(--ink-soft); max-width: 70ch; }

/* Actualités */
.news-list { display: grid; gap: 22px; }
.news-card { display: grid; grid-template-columns: 300px 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.news-card:hover { color: inherit; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--lilac), 0 20px 40px -28px rgba(40,16,106,.5); }
.news-card .thumb { background: radial-gradient(400px 240px at 80% 20%, rgba(106,53,212,.45), transparent 60%), var(--night); display: grid; place-items: center; padding: 20px; }
.news-card .thumb img { width: 100%; max-width: 260px; }
.news-card .body { padding: 28px 30px; }
.news-meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 10px; }
.news-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); max-width: none; }
.news-card h2::after { display: none !important; }
.news-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.news-card .more { font: 600 .98rem var(--display); color: var(--violet); }

.article { max-width: 760px; margin: 0 auto; }
.article .chapo { font-size: 1.2rem; color: var(--ink); line-height: 1.6; padding-left: 20px; border-left: 4px solid var(--teal); }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.8em; max-width: none; }
.article h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 12px; border-radius: 3px; background: var(--accent, var(--teal)); }
.article h2:nth-of-type(4n+1) { --accent: var(--teal); } .article h2:nth-of-type(4n+2) { --accent: var(--blue); } .article h2:nth-of-type(4n+3) { --accent: var(--violet); } .article h2:nth-of-type(4n+4) { --accent: var(--indigo); }
.article p, .article li { font-size: 1.04rem; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .5em; }
.facts-box { margin: 28px 0; padding: 24px 26px; border-radius: 18px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.facts-box h3 { margin-top: 0; }
.facts-box dl { margin: 0; display: grid; gap: 12px; }
.facts-box dt { font: 600 1.5rem var(--display); color: var(--indigo); }
.facts-box dd { margin: 0; color: var(--ink-soft); }
.pull { margin: 32px 0; padding: 24px 28px; border-radius: 18px; color: var(--white); background: var(--night); font: 500 1.2rem/1.5 var(--display); }
.pull cite { display: block; margin-top: 10px; font: 300 .92rem var(--text); color: var(--lilac); font-style: normal; }
.checklist { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.checklist li { position: relative; padding: 16px 18px 16px 52px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin: 0; }
.checklist li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); }
.checklist li::after { content: ""; position: absolute; left: 25px; top: 22px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.article .sources { padding-left: 1.2em !important; font-size: .95rem; }
.updated { font-size: .92rem; color: var(--ink-soft); }

/* Candidature */
.file-field input[type=file] { width: 100%; padding: 14px; border: 1.5px dashed var(--lilac); border-radius: 12px; background: var(--mist); font: 15px var(--text); color: var(--ink); cursor: pointer; }
.file-field input[type=file]::file-selector-button { font: 500 .95rem var(--display); margin-right: 14px; padding: 9px 16px; border: 0; border-radius: 999px; color: var(--white); background: var(--indigo); cursor: pointer; }
.file-field .hint { font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }
.file-field.invalid input[type=file] { border-color: var(--error); }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { padding-left: 22px; position: relative; }
.values li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.values li:nth-child(2)::before { background: var(--blue); } .values li:nth-child(3)::before { background: var(--violet); } .values li:nth-child(4)::before { background: var(--indigo); }

@media (max-width: 900px) {
  .page-hero-grid, .two-col, .person, .news-card, .cta-band { grid-template-columns: 1fr; }
  .page-hero-grid .art { justify-self: start; max-width: 300px; }
  .pillars, .roles, .fields { grid-template-columns: 1fr; }
  .person { padding: 24px; gap: 20px; }
  .person .portrait { max-width: 160px; }
  .news-card .thumb { padding: 16px; }
}
@media (max-width: 760px) { body::before { width: 4px; } }

/* Septième prestation, présentée sur toute la largeur */
.module-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px 40px; }
.module-wide > div:last-child { display: flex; flex-direction: column; }
.contact-block strong { display: block; font-weight: 500; color: var(--white); }

/* Notre conviction, image et citation */
.manifesto { display: grid; grid-template-columns: minmax(320px, 38%) 1fr; align-items: center; background: #F6EAD3; color: #2A2140; overflow: hidden; }
.manifesto picture { order: 2; align-self: stretch; }
.manifesto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.manifesto-text { order: 1; padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(40px, 6vw, 88px) max(var(--gutter), calc((100vw - 1180px) / 2 + 40px)); }
.manifesto h2 { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 500; color: var(--violet); margin-bottom: 14px; }
.manifesto-quote { margin: 0 0 18px; }
.manifesto-quote blockquote { margin: 0; }
.manifesto-quote blockquote p { margin: 0; font: 500 clamp(1.45rem, 2.4vw, 2.1rem)/1.25 var(--display); letter-spacing: -.01em; color: var(--indigo); }
.manifesto-quote figcaption { margin-top: 14px; font-size: .92rem; color: #5A4E6E; }
.manifesto-quote figcaption span { display: block; margin-top: 4px; font-style: italic; }
.manifesto-text > p { margin: 0; font-size: 1rem; color: #3C3352; padding-top: 14px; border-top: 2px solid var(--teal); }
@media (max-width: 1080px) { .module-wide { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-text { padding: 48px var(--gutter) 32px; max-width: 640px; }
  .manifesto img { height: auto; }
}

/* Politique de confidentialité */
.legal-doc h2 { scroll-margin-top: 90px; }
.treatment { margin: 18px 0; padding: 22px 24px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-left: 4px solid var(--accent, var(--teal)); }
.treatment:nth-of-type(4n+1) { --accent: var(--teal); } .treatment:nth-of-type(4n+2) { --accent: var(--blue); } .treatment:nth-of-type(4n+3) { --accent: var(--violet); } .treatment:nth-of-type(4n+4) { --accent: var(--indigo); }
.treatment h3 { margin: 0 0 12px; font-size: 1.1rem; }
.treatment dl { margin: 0; display: grid; gap: 10px; }
.treatment dl div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; }
.treatment dt { font-weight: 500; color: var(--ink); }
.treatment dd { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.contact-line strong { font-weight: 500; }
@media (max-width: 640px) { .treatment dl div { grid-template-columns: 1fr; gap: 2px; } }

/* Veille des appels à projets */
.veille-barre { display: grid; gap: 14px; margin-bottom: 28px; }
.veille-etat { margin: 0; font: 500 .95rem var(--display); color: var(--violet); }
.veille-filtres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.veille-filtres .champ-large { grid-column: span 2; }
.veille-reinit { min-height: 46px; color: var(--indigo); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.veille-reinit:hover { color: var(--indigo); background: var(--mist); }
.aap-limite.avenir { color: #1F48A0; background: #E6EEFC; }
.veille-filtres .field { margin: 0; }
.veille-case { display: flex; gap: 10px; align-items: center; padding: 13px 0; cursor: pointer; }
.veille-compte { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.veille-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.aap { display: flex; flex-direction: column; padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--teal); }
.aap:nth-child(4n+2) { border-top-color: var(--blue); } .aap:nth-child(4n+3) { border-top-color: var(--violet); } .aap:nth-child(4n+4) { border-top-color: var(--indigo); }
.aap-tete { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.aap-source, .aap-limite { font: 500 .8rem var(--display); padding: 4px 10px; border-radius: 999px; }
.aap-source { color: var(--white); background: var(--indigo); }
.aap-limite { color: #0B6E64; background: #E3F6F3; }
.aap-limite.urgent { color: #9A2A1F; background: #FDE8E5; }
.aap-limite.neutre { color: var(--ink-soft); background: var(--mist); }
.aap-titre { font-size: 1.08rem; margin-bottom: 8px; }
.aap-titre a { color: var(--ink); text-decoration: none; }
.aap-titre a:hover { color: var(--violet); text-decoration: underline; }
.aap-resume { color: var(--ink-soft); font-size: .95rem; }
.aap-meta { margin: 0 0 14px; display: grid; gap: 4px; font-size: .9rem; }
.aap-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.aap-meta dt { font-weight: 500; }
.aap-meta dd { margin: 0; color: var(--ink-soft); }
.aap-lien { margin-top: auto; font: 600 .95rem var(--display); color: var(--violet); }
.veille-sources { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.veille-sources li { padding: 14px 16px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.veille-sources .mention { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 900px) { .veille-filtres, .veille-liste { grid-template-columns: 1fr; } .veille-filtres .champ-large { grid-column: auto; } .veille-case { padding: 0; } }

/* Menu compact dès 1000 px, pour que les six rubriques ne se tassent jamais */
@media (max-width: 1180px) {
  .menu-toggle { display: block; font: 600 .95rem var(--display); background: rgba(255,255,255,.06); border: 0; box-shadow: inset 0 0 0 1.5px rgba(179,166,217,.5); border-radius: 999px; padding: 9px 16px; color: var(--white); cursor: pointer; }
  .nav { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px; border-bottom: 1px solid rgba(179,166,217,.2); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid rgba(179,166,217,.14); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; }
}

/* Réseaux sociaux, pied de page (gérés depuis l'administration) */
.social-zone:empty, .social-zone:has(> :only-child:empty) { display: none; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(179,166,217,.2); }
.social span { color: #C9C1EA; margin-right: 6px; font-size: .9rem; }
.social a { padding: 6px 14px; border-radius: 999px; color: var(--white); text-decoration: none; font: 500 .88rem var(--display); box-shadow: inset 0 0 0 1px rgba(179,166,217,.4); }
.social a:hover { background: rgba(255,255,255,.08); color: var(--teal-bright); }

/* ---------- L'essentiel en trente secondes ---------- */
.en-bref { background: var(--white); padding: clamp(44px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.en-bref h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 0 0 clamp(22px, 3vw, 34px); }
.answers { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.answers article { display: flex; flex-direction: column; padding-top: 18px; border-top: 3px solid var(--teal); }
.answers article:nth-child(2) { border-top-color: var(--rupture); }
.answers article:nth-child(3) { border-top-color: var(--blue); }
.answers article:nth-child(4) { border-top-color: var(--violet); }
.answers h3 { font: 600 .98rem/1.3 var(--display); color: var(--ink-soft); margin: 0 0 10px; }
.answers p { font: 400 1.08rem/1.5 var(--display); color: var(--ink); margin: 0 0 14px; }
.answer-link { margin-top: auto; font: 600 .95rem var(--display); color: var(--violet); text-decoration: none; }
.answer-link:hover { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }

/* ---------- Services en quatre familles ---------- */
.pillar-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pillar-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 11px 18px; border-radius: 999px; font: 500 1rem var(--display); color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, color .15s, box-shadow .15s; }
.pillar-tabs button:hover { box-shadow: inset 0 0 0 1px var(--lilac); }
.pillar-tabs button[aria-selected="true"] { background: var(--night); color: var(--white); box-shadow: none; }
.pillar-tabs button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pillar-intro { font: 400 1.1rem/1.5 var(--display); color: var(--ink); max-width: 62ch; margin: 0 0 22px; }
.pillars-tabs [role="tabpanel"] .modules { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pillars-tabs .module > div { display: flex; flex-direction: column; }
.pillars-tabs .module > div:last-child { flex: 1; }
.domains { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; font-size: .93rem; color: var(--ink-soft); }
.domains li { padding-left: 16px; position: relative; }
.domains li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@media (max-width: 1000px) { .answers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .answers { grid-template-columns: 1fr; }
  .pillar-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter) 6px; }
  .pillar-tabs::-webkit-scrollbar { display: none; }
  .pillar-tabs button { flex: none; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .pillar-tabs button { transition: none; } }

/* ---------- Expertises de la fondatrice ---------- */
.expertises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 1.6em 0; }
.expertises article { padding: 20px 20px 18px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(40,16,106,.45); border-top: 3px solid var(--teal); }
.expertises article:nth-child(2) { border-top-color: var(--blue); }
.expertises article:nth-child(3) { border-top-color: var(--violet); }
.expertises article:nth-child(4) { border-top-color: var(--indigo); }
.expertises article:nth-child(5) { border-top-color: var(--rupture); }
.expertises h3 { font: 600 1.06rem/1.3 var(--display); margin: 0 0 8px; }
.expertises p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 10px; }
.expertises .plus { margin: 0; color: var(--ink); font-weight: 500; }
.founder-sum { font: 400 1.08rem/1.6 var(--display); color: var(--ink); padding-left: 18px; border-left: 3px solid var(--violet); }

/* =====================================================================
   Relief et présence : un design plus affirmé, humain, légèrement en 3D
   ===================================================================== */
:root { --depth-1: 0 1px 0 rgba(255,255,255,.7) inset, 0 2px 4px rgba(26,13,74,.06), 0 12px 28px -18px rgba(40,16,106,.45);
        --depth-2: 0 2px 6px rgba(26,13,74,.08), 0 26px 50px -26px rgba(40,16,106,.6); }

/* Boutons en relief, qui s'enfoncent au clic */
.btn-glow { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -3px 0 rgba(18,10,58,.28) inset, 0 10px 22px -8px rgba(106,53,212,.65), 0 3px 0 #1F0F5C; }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -3px 0 rgba(18,10,58,.28) inset, 0 16px 30px -10px rgba(106,53,212,.75), 0 5px 0 #1F0F5C; }
.btn-glow:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 4px 10px -6px rgba(106,53,212,.7), 0 1px 0 #1F0F5C; }

/* Hero, l'image de la rivière posée comme une photographie, la citation en surimpression */
.hero-visual { position: relative; margin: 0; perspective: 1400px; }
.hero-visual picture { display: block; border-radius: 26px; overflow: hidden; transform: rotateY(-7deg) rotateX(3deg); transform-origin: 70% 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.75), -26px 26px 0 -8px rgba(70,224,203,.22), -48px 48px 0 -16px rgba(106,53,212,.18);
  transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-visual:hover picture { transform: rotateY(-3deg) rotateX(1deg); }
.hero-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1292 / 941; object-fit: cover; }
.hero-quote { position: absolute; left: -28px; right: 18%; bottom: -34px; padding: 20px 24px 18px; border-radius: 18px; color: var(--ink);
  background: rgba(255,255,255,.94); box-shadow: var(--depth-2); border-left: 4px solid var(--teal); }
.hero-quote blockquote { margin: 0; }
.hero-quote blockquote p { margin: 0; font: 500 clamp(1.02rem, 1.5vw, 1.22rem)/1.35 var(--display); color: var(--indigo); }
.hero-quote span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-soft); }
.hero .hero-grid { padding-bottom: 34px; }

/* Les quatre réponses, en tuiles posées */
.answers article { border-top: 0; padding: 22px 22px 20px; border-radius: 18px; background: var(--white); box-shadow: var(--depth-1); position: relative; transition: transform .25s, box-shadow .25s; }
.answers article::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--teal); }
.answers article:nth-child(2)::before { background: var(--rupture); }
.answers article:nth-child(3)::before { background: var(--blue); }
.answers article:nth-child(4)::before { background: var(--violet); }
.answers article:hover { transform: translateY(-4px) rotateX(2deg); box-shadow: var(--depth-2); }
.en-bref { background: linear-gradient(180deg, var(--mist), var(--white)); }

/* Cartes de services, profondeur et légère inclinaison au survol */
.modules { perspective: 1600px; }
.module { box-shadow: var(--depth-1); border-radius: 18px; }
.module:hover { transform: translateY(-5px) rotateX(2.5deg); box-shadow: 0 0 0 1px var(--lilac), var(--depth-2); }
.module .icon { filter: drop-shadow(0 6px 8px rgba(106,53,212,.25)); }
.field-card, .expertises article { box-shadow: var(--depth-1); border-radius: 18px; transition: transform .25s, box-shadow .25s; }
.field-card:hover, .expertises article:hover { transform: translateY(-3px); box-shadow: var(--depth-2); }

/* Conviction et parcours, côte à côte */
.conviction { position: relative; padding: clamp(56px, 8vw, 104px) 0; color: #E4DEFA; background:
  radial-gradient(700px 380px at 85% 20%, rgba(106,53,212,.35), transparent 70%),
  radial-gradient(600px 360px at 10% 90%, rgba(18,181,165,.22), transparent 70%), var(--night); }
.conviction-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.conviction h2 { font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 500; color: var(--teal-bright); margin-bottom: 14px; }
.conviction .manifesto-quote blockquote p { color: var(--white); font: 500 clamp(1.5rem, 2.6vw, 2.2rem)/1.25 var(--display); margin: 0; }
.conviction .manifesto-quote { margin: 0 0 20px; }
.conviction .manifesto-quote figcaption { color: #BDB4E3; font-size: .92rem; margin-top: 14px; }
.conviction .manifesto-quote figcaption span { display: block; margin-top: 4px; font-style: italic; }
.conviction-text > p { margin: 0; padding-top: 16px; border-top: 2px solid var(--teal); color: #D6D0F2; }
.journey-stage { perspective: 1400px; }
.journey-stage .journey { transform: none; box-shadow: inset 0 0 0 1px rgba(179,166,217,.25), 0 40px 80px -30px rgba(0,0,0,.7), 22px 22px 0 -6px rgba(106,53,212,.25); background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); }

/* Légende des rôles de l'illustration */
.roles-figure { max-width: 560px; }
.roles-legend { list-style: none; counter-reset: role; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-soft); }
.roles-legend li { counter-increment: role; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.roles-legend li::before { content: counter(role); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--white); font: 700 .85rem var(--display); background: var(--violet); box-shadow: 0 3px 0 rgba(26,13,74,.25); }
.roles-legend li:nth-child(2)::before { background: var(--teal); }
.roles-legend li:nth-child(3)::before { background: var(--blue); }
.roles-legend strong { color: var(--ink); font-weight: 600; }

/* Adresses cliquables vers la carte */
.map-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(70,224,203,.6); text-underline-offset: 3px; }
.map-link::after { content: " ↗"; font-size: .85em; color: var(--teal-bright); }
.map-link:hover { color: var(--teal-bright); }
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.place { display: grid; gap: 6px; padding: 24px; border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--depth-1); border-left: 4px solid var(--teal); transition: transform .25s, box-shadow .25s; }
.place:nth-child(2) { border-left-color: var(--violet); }
.place strong { font: 600 1.1rem var(--display); }
.place span { color: var(--ink-soft); }
.place .place-go { margin-top: 6px; font: 600 .95rem var(--display); color: var(--violet); }
.place:hover { transform: translateY(-4px); box-shadow: var(--depth-2); }

@media (max-width: 960px) {
  .conviction-grid { grid-template-columns: 1fr; }
  .journey-stage .journey { transform: none; }
  .hero-visual picture { transform: none; }
  .hero-quote { position: relative; left: auto; right: auto; bottom: auto; margin: -36px 14px 0; }
  .hero .hero-grid { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual picture, .module, .answers article, .field-card, .expertises article, .place { transition: none; }
  .hero-visual:hover picture { transform: rotateY(-7deg) rotateX(3deg); }
  .module:hover, .answers article:hover, .field-card:hover, .expertises article:hover, .place:hover { transform: none; }
}

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: flex; gap: 2px; margin-left: auto; margin-right: 14px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(179,166,217,.25); }
.lang-switch a { padding: 5px 9px; border-radius: 999px; font: 600 .78rem/1 var(--display); letter-spacing: .04em; color: #CFC7EE; text-decoration: none; }
.lang-switch a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.lang-switch a[aria-current="true"] { color: var(--night); background: var(--teal-bright); }
.lang-switch a:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.translation-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; font-size: .92rem; color: var(--ink); background: #FFF6E5; border-left: 3px solid #F0A43A; max-width: 70ch; }
@media (min-width: 1181px) { .lang-switch { order: 3; margin: 0 0 0 16px; } }

/* ---------- Page International : carte des zones ---------- */
.zones-grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.zone-filters { border: 0; padding: 0; margin: 24px 0 18px; display: grid; gap: 10px; }
.zone-filters legend { font: 600 .95rem var(--display); margin-bottom: 10px; color: var(--ink); }
.zone-filter { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--depth-1); cursor: pointer; }
.zone-filter input { width: 18px; height: 18px; accent-color: var(--indigo); margin: 0; }
.zf-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,1), 0 0 0 5px currentColor; }
.zf-france { color: #28106A; } .zf-europe { color: #2B5FC9; } .zf-ameriques { color: #6A35D4; } .zf-afr_fr { color: #12B5A5; } .zf-afr_pt { color: #E8892B; }
.zf-dot { background: currentColor; }
.zf-text { display: grid; color: var(--ink); }
.zf-text strong { font: 600 .98rem/1.3 var(--display); }
.zf-text small { font-size: .86rem; color: var(--ink-soft); }
.zone-filter:has(input:not(:checked)) { opacity: .55; }
.zone-views { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 14px; border-radius: 999px; font: 500 .9rem var(--display); color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.chip-btn:hover { box-shadow: inset 0 0 0 1px var(--lilac); }
.chip-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.map-frame { position: relative; }
.map { position: relative; height: clamp(380px, 62vh, 600px); border-radius: 22px; overflow: hidden; background:
  radial-gradient(500px 300px at 30% 30%, rgba(70,224,203,.18), transparent 70%), radial-gradient(500px 300px at 75% 70%, rgba(106,53,212,.3), transparent 70%), var(--night);
  box-shadow: 0 0 0 1px rgba(179,166,217,.3), 0 40px 70px -36px rgba(18,10,58,.7), 18px 18px 0 -4px rgba(18,181,165,.18); }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 28px; text-align: center; color: #DCD6F5; }
.map-consent svg { width: 84px; height: 84px; }
.map-consent p { max-width: 46ch; margin: 0; font-size: .98rem; }
.map.is-live { background: #DDE7EE; }
.map-status { min-height: 1.4em; margin: 10px 4px 0; font-size: .88rem; color: var(--ink-soft); }
.map .leaflet-tooltip { font: 600 .85rem var(--display); color: var(--ink); border: 0; border-radius: 8px; box-shadow: 0 6px 18px -8px rgba(18,10,58,.5); }
.map .leaflet-popup-content-wrapper { border-radius: 12px; font-family: var(--text); }
.map .leaflet-popup-content strong { font-family: var(--display); color: var(--indigo); }
.map .leaflet-container a { color: var(--violet); }
.map .zone { transition: transform .2s; }
@media (max-width: 900px) { .zones-grid { grid-template-columns: 1fr; } .map { height: 420px; } }

/* =====================================================================
   Signature MPCISEP : le vocabulaire de l'emblème dans le fond des pages
   Trois marches, un chemin qui part d'un anneau ouvert, des nœuds, l'étoile
   et l'arc d'horizon. Chaque page recompose le motif à sa façon (script.js).
   ===================================================================== */
.section[class*="accent-"] { position: relative; isolation: isolate; overflow: clip; background-image: none; }
.section[class*="accent-"]:not(.section-night) { background-image: url(images/signature/grain.svg?v=7db586a0c8); }
.section[class*="accent-"]::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(240px, 30vw, 430px); aspect-ratio: 21 / 20;
  right: var(--sig-x, -36px); bottom: var(--sig-y, -24px);
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .07));
  -webkit-mask: url(images/signature/motif.svg?v=dfc7403eaf) center / contain no-repeat; mask: url(images/signature/motif.svg?v=dfc7403eaf) center / contain no-repeat;
  transform: rotate(var(--sig-r, -6deg)) scale(var(--sig-s, 1)) scaleX(var(--sig-f, 1));
}
.section-night[class*="accent-"]::before { background: linear-gradient(150deg, rgba(70,224,203,.16), rgba(179,166,217,.1)); }
.section.sig-left[class*="accent-"]::before { right: auto; left: var(--sig-x, -36px); }
.en-bref { background-image: url(images/signature/grain.svg?v=7db586a0c8), linear-gradient(180deg, var(--mist), var(--white)); }

/* Le chemin du logo souligne chaque titre de section */
[class*="accent-"] h2::after { width: 78px; height: 12px; border-radius: 0; background: var(--accent);
  -webkit-mask: url(images/signature/souligne.svg?v=a97fa1ff78) left center / contain no-repeat; mask: url(images/signature/souligne.svg?v=a97fa1ff78) left center / contain no-repeat; }

/* L'arc d'horizon du logo au bas des bandeaux sombres */
.hero, .page-hero { position: relative; }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; top: auto; bottom: 6px; width: auto; height: 34px; border-radius: 0; box-shadow: none; pointer-events: none;
  background: linear-gradient(90deg, rgba(70,224,203,0) 5%, rgba(70,224,203,.55) 35%, rgba(179,166,217,.6) 65%, rgba(106,53,212,0) 95%);
  -webkit-mask: url(images/signature/horizon.svg?v=b9ed486c36) center / 100% 100% no-repeat; mask: url(images/signature/horizon.svg?v=b9ed486c36) center / 100% 100% no-repeat; }

/* Les pastilles de la légende prennent la forme des marches */
.zf-dot { width: 18px; height: 18px; border-radius: 0; box-shadow: none; background: currentColor;
  -webkit-mask: url(images/signature/tuile.svg?v=98c1604937) center / contain no-repeat; mask: url(images/signature/tuile.svg?v=98c1604937) center / contain no-repeat; }
@media (max-width: 760px) { .section[class*="accent-"]::before { width: 220px; opacity: .8; } }

/* Marqueurs de la carte : étoile, anneau et marches de l'emblème */
.zone-icon { background: none; border: 0; }
.zone-icon svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(18,10,58,.35)); transition: transform .2s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 60%; }
.zone-icon:hover svg, .zone-icon:focus-visible svg { transform: translateY(-2px) scale(1.18); }
.zone-icon:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.zone-france svg { filter: drop-shadow(0 0 6px rgba(70,224,203,.65)) drop-shadow(0 3px 4px rgba(18,10,58,.35)); }
@media (prefers-reduced-motion: reduce) { .zone-icon svg { transition: none; } }

/* Menu : les libellés plus longs (portugais, anglais) restent sur une ligne */
@media (min-width: 1181px) {
  .nav { gap: clamp(12px, 1.45vw, 26px); }
  .nav a { white-space: nowrap; }
  .nav .btn-small { padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 1181px) and (max-width: 1300px) {
  .nav a { font-size: .9rem; }
  .brand img { width: 150px; height: auto; }
  .lang-switch { margin-left: 10px; }
  .lang-switch a { padding: 5px 7px; }
}

/* Hero : la photographie en paysage à droite du texte, la citation dessous */
.hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; padding-bottom: 0; }
.hero-visual { perspective: none; display: grid; gap: 14px; }
.hero-visual picture { transform: none; border-radius: 20px; aspect-ratio: 1600 / 1081;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 34px 70px -30px rgba(8,4,30,.75), 14px 14px 0 -2px rgba(70,224,203,.28); }
.hero-visual:hover picture { transform: none; }
.hero-visual img { aspect-ratio: 1600 / 1081; }
.hero-quote { position: static; left: auto; right: auto; bottom: auto; margin: 0; padding: 14px 18px 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(179,166,217,.28); border-left: 4px solid var(--teal-bright); }
.hero-quote blockquote p { color: var(--white); font: 500 clamp(1.02rem, 1.45vw, 1.2rem)/1.4 var(--display); }
.hero-quote span { color: #D9D2F5; }
@media (max-width: 960px) { .hero .hero-grid { grid-template-columns: 1fr; } .hero-quote { margin: 0; } }

/* Violet de fond plus lumineux : lueurs de la charte plus présentes, profondeur conservée */
.hero { background:
  radial-gradient(900px 520px at 88% 12%, rgba(124,77,232,.55), transparent 62%),
  radial-gradient(760px 520px at 6% 100%, rgba(18,181,165,.26), transparent 60%),
  linear-gradient(160deg, #35208A 0%, var(--night) 55%, #261664 100%); }
.page-hero { background:
  radial-gradient(800px 440px at 85% 10%, rgba(124,77,232,.55), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(18,181,165,.26), transparent 60%),
  linear-gradient(160deg, #35208A 0%, var(--night) 60%, #271769 100%); }
.section-night { background: radial-gradient(800px 420px at 90% 0%, rgba(124,77,232,.42), transparent 62%), var(--night); }

/* ---------- Menu des langues (icône de traduction, liste déroulante) ---------- */
.lang-switch { display: none; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 10px 6px 9px; border-radius: 999px; cursor: pointer;
  color: #E4DEFA; font: 600 .82rem var(--display); letter-spacing: .04em; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(179,166,217,.35); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.lang-menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-menu summary:hover { background: rgba(255,255,255,.14); color: var(--white); }
.lang-menu summary:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.lang-icon { width: 19px; height: 19px; fill: var(--teal-bright); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 168px; margin: 0; padding: 6px; list-style: none; border-radius: 14px;
  background: var(--white); box-shadow: 0 18px 40px -12px rgba(18,10,58,.55), 0 0 0 1px rgba(40,16,106,.08); }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink) !important; font: 500 .95rem var(--display); text-decoration: none; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--mist); outline: none; }
.lang-list a[aria-current="true"] { color: var(--violet) !important; font-weight: 600; }
.lang-list a[aria-current="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@media (max-width: 1180px) {
  .nav .lang-menu { margin-top: 12px; }
  .nav .lang-list { position: static; margin-top: 8px; box-shadow: none; background: rgba(255,255,255,.06); }
  .nav .lang-list a { color: #E4DEFA !important; }
  .nav .lang-list a[aria-current="true"] { color: var(--teal-bright) !important; }
  .nav .lang-list a:hover { background: rgba(255,255,255,.08); }
}
@media (prefers-reduced-motion: reduce) { .lang-menu summary::after { transition: none; } }

/* ---------- Carrières : postes à venir en étapes ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 3.5vw, 40px); position: relative; }
.stage { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(18px, 3vw, 40px); align-items: start; position: relative; }
.stage-head { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; position: sticky; top: calc(var(--header) + 20px); }
.stage-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 700 1.1rem var(--display); color: var(--white);
  background: linear-gradient(140deg, var(--teal), var(--violet)); box-shadow: 0 6px 16px -8px rgba(106,53,212,.7), 0 0 0 5px var(--mist); }
.stage-head h3 { font: 600 1.2rem/1.25 var(--display); margin: 6px 0 6px; }
.stage-head p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.job { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; border-radius: 18px; background: var(--white); box-shadow: var(--depth-1); border-top: 3px solid var(--teal); transition: transform .25s, box-shadow .25s; }
.stage:nth-child(2) .job { border-top-color: var(--blue); }
.stage:nth-child(3) .job { border-top-color: var(--violet); }
.stage:nth-child(4) .job { border-top-color: var(--indigo); }
.job:hover { transform: translateY(-3px); box-shadow: var(--depth-2); }
.job h4 { font: 600 1.06rem/1.3 var(--display); margin: 0; color: var(--ink); }
.job .when { align-self: flex-start; font: 600 .8rem var(--display); color: #0B6E64; background: #E3F6F3; padding: 3px 10px; border-radius: 999px; }
.job dl { margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.job dt { font-weight: 600; color: var(--ink); }
.job dd { margin: 0; color: var(--ink-soft); }
.job-cta { margin-top: auto; padding-top: 6px; font: 600 .95rem var(--display); color: var(--violet); text-decoration: none; }
.job-cta::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.job-cta:hover { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } .stage-head { position: static; } }
@media (prefers-reduced-motion: reduce) { .job { transition: none; } .job:hover { transform: none; } }

/* ---------- Par où commencer : illustration et légende des rôles ---------- */
#pour-qui .section-head.with-art { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.roles-figure { margin: 0; justify-self: stretch; padding: 18px 20px 20px; border-radius: 22px; background: var(--white); box-shadow: var(--depth-1); }
.roles-figure img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.roles-figure .roles-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.45; }
.roles-figure .roles-legend li { grid-template-columns: 26px 1fr; gap: 8px; }
.roles-figure .roles-legend strong { display: block; }
@media (max-width: 960px) { #pour-qui .section-head.with-art { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .roles-figure .roles-legend { grid-template-columns: 1fr; } }

/* Second motif signature pour les sections hautes : en haut, côté opposé, plus discret */
.section.sig-double[class*="accent-"]::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(200px, 24vw, 340px); aspect-ratio: 21 / 20;
  left: -40px; right: auto; top: var(--sig-y2, 80px);
  background: linear-gradient(150deg, rgba(var(--accent-rgb), .13), rgba(var(--accent-rgb), .05));
  -webkit-mask: url(images/signature/motif.svg?v=dfc7403eaf) center / contain no-repeat; mask: url(images/signature/motif.svg?v=dfc7403eaf) center / contain no-repeat;
  transform: rotate(var(--sig-r2, 12deg)) scale(var(--sig-s2, .8)) scaleX(-1);
}
.section.sig-double.sig-left[class*="accent-"]::after { left: auto; right: -40px; transform: rotate(calc(var(--sig-r2, 12deg) * -1)) scale(var(--sig-s2, .8)); }
.section-night.sig-double[class*="accent-"]::after { background: linear-gradient(150deg, rgba(70,224,203,.13), rgba(179,166,217,.08)); }
@media (max-width: 760px) { .section.sig-double[class*="accent-"]::after { width: 170px; opacity: .8; } }
/* Légende des rôles : numéro en pastille à gauche, nom et rôle dans un seul bloc de texte */
.roles-legend li, .roles-figure .roles-legend li { display: block; position: relative; padding-left: 36px; min-height: 26px; }
.roles-legend li::before { position: absolute; left: 0; top: 0; }
.roles-figure .roles-legend strong { margin-bottom: 2px; }
#pour-qui .section-head .roles-figure.art { width: 100%; max-width: 620px; justify-self: end; }
#pour-qui .roles-figure .roles-legend { font-size: .92rem; }
@media (max-width: 960px) { #pour-qui .section-head .roles-figure.art { justify-self: stretch; max-width: none; } }

/* Article : texte justifié, césure selon la langue de la page pour éviter les grands blancs */
.article p:not(.news-meta):not(.note), .article li { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.article .sources li, .article .sources a, .article p:has(> .btn:only-child) { text-align: left; -webkit-hyphens: manual; hyphens: manual; }

/* Le problème : trois pertes, chiffrées et sourcées */
.band-title { margin: 0 0 10px; font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--display); color: var(--white); letter-spacing: -.01em; max-width: 30ch; }
.band-intro { margin: 0 0 28px; max-width: 68ch; color: #C9C1EA; font-size: 1.02rem; }
.losses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 26px; }
.loss { display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(179,166,217,.18); border-top: 3px solid var(--teal-bright); }
.loss:nth-child(2) { border-top-color: var(--blue); }
.loss:nth-child(3) { border-top-color: var(--violet); }
.loss h3 { margin: 0 0 12px; font: 600 1.05rem/1.3 var(--display); color: var(--white); }
.loss .loss-num { margin: 0 0 8px; font: 600 clamp(2rem, 3.6vw, 2.6rem)/1 var(--display); color: var(--teal-bright); letter-spacing: -.02em; }
.loss:nth-child(2) .loss-num { color: #8FB8FF; }
.loss:nth-child(3) .loss-num { color: #C8B5FF; }
.loss p { margin: 0 0 12px; color: #DCD6F5; font-size: .96rem; }
.loss .loss-src { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.loss .cite { font-size: .82rem; color: var(--lilac); text-decoration: underline; text-decoration-color: rgba(179,166,217,.45); text-underline-offset: 3px; }
.loss .cite:hover { color: var(--teal-bright); }
.facts-band .band-line { font-size: 1.2rem; max-width: 60ch; }
@media (max-width: 900px) { .losses { grid-template-columns: 1fr; } }

/* Relais : texte sur plusieurs lignes possible */
.journey-steps > li.journey-gap { height: auto; min-height: 52px; display: grid; align-items: center; padding: 10px 0 10px 40px; }
.journey-gap span { position: static; grid-area: 1 / 1; line-height: 1.35; }

/* Services : à qui s'adresse chaque service, visible tout de suite */
.module-for { margin: -4px 0 14px; padding: 8px 12px; border-radius: 10px; background: #EEF8F6; color: #0B4F48; font-size: .92rem; line-height: 1.45; }
.module-for strong { display: block; color: #0B6E64; font: 600 .86rem var(--display); }

/* Selon votre situation : bénéfices d'abord */
.gain-title { margin: 0 0 10px; font: 600 1.02rem var(--display); color: var(--indigo); }
.gain-title + p { margin-top: 0; }
.gains { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.gains li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 500; }
.gains li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Appel vers l'autodiagnostic */
.diag-teaser .section-head { margin-bottom: 0; }
.diag-teaser .btn { margin-top: 6px; }

/* Contexte chiffré en tête d'un profil */
.panel-context { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--violet); border-radius: 0 10px 10px 0; background: var(--mist); color: var(--ink); font-size: .95rem; }
.panel-context .cite { display: inline-block; margin-left: 4px; font-size: .82rem; color: var(--violet); text-underline-offset: 3px; }

/* Veille : correspondance projet et alertes */
.veille-projet { margin-bottom: 24px; }
.veille-projet .form-status { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); }
.projet-liste:empty { display: none; }
.aap-correspondance { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--mist); }
.aap-niveau { margin: 0 0 6px; font: 600 .9rem var(--display); }
.aap-niveau.fort { color: #0B6E64; }
.aap-niveau.bonne { color: #1F48A0; }
.aap-niveau.partielle { color: var(--ink-soft); }
.aap-raisons { margin: 0; padding-left: 18px; font-size: .88rem; color: var(--ink-soft); display: grid; gap: 2px; }
.alerte-form { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); align-self: start; }
.alerte-form .field { margin: 0; }
.alerte-form .btn { justify-self: start; }
.alerte-statut { margin: 0; font-size: .95rem; color: var(--error); }
.alerte-statut:empty { display: none; }
.alerte-statut.reussi { color: #0B6E64; font-weight: 500; }
.alerte-panneau { max-width: 640px; padding: 26px 28px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-top: 4px solid var(--violet); }
.alerte-panneau h2 { margin-top: 0; }
.alerte-panneau h2:focus { outline: none; }
.alerte-panneau .alerte-statut { margin-top: 14px; }
@media (max-width: 760px) { .veille-projet { grid-template-columns: 1fr; } .veille-projet .champ-large { grid-column: auto; } }

/* Veille sur téléphone : filtres plus compacts pour voir les appels plus vite, fiches plus larges, liens faciles à toucher */
@media (max-width: 600px) {
  .veille-barre .veille-filtres { gap: 10px; padding: 16px 12px; }
  .veille-barre .veille-filtres .field:not(.champ-large) { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; }
  .veille-barre .veille-filtres .field:not(.champ-large) label { margin: 0; font-size: .85rem; }
  .veille-barre .veille-filtres select { min-width: 0; padding-left: 10px; }
  .veille-barre .veille-case { padding: 4px 0; }
  .aap { padding: 18px 16px; }
  .aap-titre { font-size: 1.05rem; overflow-wrap: anywhere; hyphens: auto; }
  .aap-resume { font-size: .93rem; }
  .aap-meta div { grid-template-columns: 96px 1fr; gap: 8px; }
  .aap-meta dd { overflow-wrap: anywhere; }
  .aap-lien { display: flex; align-items: center; min-height: 44px; margin-bottom: -8px; }
  .aap-correspondance { padding: 10px; }
  .veille-sources li { padding: 12px 14px; }
}
