/* Pages légales v11 (prototype) : mêmes jetons, nav et pied de page que direction-v11.html, sans animation lourde. */
:root {
  --bone: #FFFFFF; --bone-2: #F4F4F3; --white: #FFFFFF;
  --ink: #0F0F12; --ink-2: #18181D;
  --iris: #6B68FF; --violet: #B18CFF; --gold: #F4B740;
  --muted: #6D6C74; --muted-d: rgba(243, 241, 236, .62);
  --line: rgba(15, 15, 18, .09);
  --irid: linear-gradient(100deg, #6B68FF 0%, #B18CFF 48%, #F4B740 100%);
  --display: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font: 100%/1.6 var(--text); background: var(--bone); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
p, li, td { text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--irid); }
.irid { background: var(--irid); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[data-theme="dark"] :focus-visible { outline-color: var(--bone); }

/* Boutons (identiques à la v11) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; border: 0; cursor: pointer;
  font: 600 .98rem/1 var(--text); letter-spacing: -.01em; padding: 18px 28px; border-radius: 999px; transition: background-color .25s ease; }
.btn-ink { background: #14172F; color: #FFFFFF; } /* bouton principal : noir bleuté, texte blanc */
.btn-gold { background: var(--gold); color: var(--ink); }
@media (hover: hover) { .btn-ink:hover { background: #262B4F; } .btn-gold:hover { background: #F7C766; } .nav-links a:hover { background: rgba(15, 15, 18, .06); } }
.btn:active { scale: .97; }

/* Navigation pilule (v11) */
.nav { position: fixed; top: 14px; left: 50%; z-index: 60; width: min(1184px, calc(100% - 24px)); translate: -50% 0; }
.nav-in { display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(15, 15, 18, .35); }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; min-height: 44px; }
.logo-mark { width: 32px; height: 32px; display: grid; place-items: center; --mark-fill: url(#markInk); }
.foot .logo-mark { --mark-fill: url(#markBone); }
.logo-mark svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 4px; font-size: .92rem; }
.nav-links a { padding: 8px 12px; border-radius: 999px; transition: background-color .2s ease; }
.nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-right .login { font-size: .92rem; padding: 0 10px; opacity: .75; }
.nav .btn { padding: 12px 18px; font-size: .9rem; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(15, 15, 18, .06); color: inherit; position: relative; cursor: pointer; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .25s ease; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; border-radius: 28px; background: var(--ink); color: var(--bone); display: none; }
.sheet.open { display: block; }
/* Menu mobile : il défile lui-même (Métiers ouvert, il dépasse l'écran) et la page derrière ne bouge plus tant qu'il est ouvert */
.sheet { max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html:has(#burger[aria-expanded="true"]) { overflow: hidden; }
.sheet a { display: block; padding: 14px 16px; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; }
.sheet .sheet-login { opacity: .75; }
.sheet .btn-ink { background: #F3F1EC; color: #0F0F12; } /* menu mobile sombre : principal en crème */
.sheet .btn { display: flex; margin: 8px 6px 6px; font-size: .98rem; letter-spacing: -.01em; }

/* En-tête de page */
.l-head { padding: 150px 28px 56px; }
.l-head h1 { margin-top: 16px; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .95; letter-spacing: -.055em; }
.l-head .lede { margin-top: 22px; max-width: 760px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); }
.l-head .lede b { color: var(--ink); }
.l-head .meta { margin-top: 18px; font-size: .86rem; color: var(--muted); }

/* Corps : sommaire collant + texte */
.l-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 120px; }
.toc { position: sticky; top: 100px; padding: 22px 20px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); max-height: calc(100vh - 120px); overflow: auto; }
.toc summary { list-style: none; cursor: pointer; font-weight: 700; font-family: var(--display); letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .2s; }
.toc[open] summary::after { rotate: 225deg; translate: 0 2px; }
.toc ol { list-style: none; margin-top: 12px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.toc a::before { content: counter(t, decimal-leading-zero); font-variant-numeric: tabular-nums; font-size: .78rem; padding-top: 2px; opacity: .7; }
.toc a:hover, .toc a.on { background: var(--bone); color: var(--ink); }

.doc { max-width: 780px; }
.doc section { padding-top: 8px; margin-bottom: 56px; scroll-margin-top: 100px; }
.doc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px; }
.doc h3 { font-size: 1.15rem; letter-spacing: -.015em; margin: 26px 0 10px; }
.doc p, .doc li { color: #3A3940; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol.list { margin: 10px 0 0 1.2em; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--ink); }
.doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(107, 104, 255, .5); }
.doc a:hover { text-decoration-color: var(--iris); }
.doc b, .doc strong { color: var(--ink); }

/* Carte d'identité (mentions) */
.card { margin-top: 6px; padding: 24px 26px; border-radius: 24px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.card dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 10px 18px; }
.card dt { font-size: .86rem; color: var(--muted); }
.card dd { color: var(--ink); overflow-wrap: anywhere; }

/* Public visé (confidentialité) */
.aud { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: .78rem; font-weight: 600; }
.aud i { width: 7px; height: 7px; border-radius: 50%; background: var(--irid); }

/* Encadré */
.note { margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: var(--bone-2); font-size: .95rem; }

/* Tableaux : défilement horizontal interne sur mobile (la page ne déborde jamais) */
.tbl { margin-top: 14px; overflow-x: auto; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: .74rem; color: var(--muted); font-weight: 600; background: #F4F4F3; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }

/* Point à confirmer : très visible, pour relecture */
.tbc { background: rgba(244, 183, 64, .28); box-shadow: inset 0 -1.5px 0 var(--gold); color: var(--ink); padding: 0 4px; border-radius: 4px; font-size: .92em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Pied de page (v11, sans la courbe animée) */
footer { background: var(--ink-2); color: var(--muted-d); padding: 80px 0 46px; border-radius: 36px 36px 0 0; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-end; }
.foot .logo { color: var(--bone); font-size: 2rem; }
.foot .logo-mark { width: 48px; height: 48px; } .foot .logo-mark svg { width: 48px; height: 48px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: .92rem; }
.foot nav a:hover, .legal a:hover { color: var(--bone); }
.legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
.legal a[aria-current="page"] { color: var(--bone); }

@media (max-width: 960px) {
  .nav-links, .nav-right .login { display: none; }
  .burger { display: block; }
  .nav-in { gap: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-right .btn { padding: 0 16px; min-height: 44px; }
  .l-head { padding: 124px 28px 36px; }
  .l-body { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 80px; }
  .toc { position: static; max-height: none; }
  .toc a { padding: 10px 8px; font-size: 1rem; }
  .doc section { margin-bottom: 44px; }
  .doc p, .doc li { font-size: 1rem; }
  .card dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .card dd { margin-bottom: 12px; }
  .foot .logo { display: none; }
  .foot nav a, .legal a { display: inline-block; padding: 12px 0; }
}
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } /* gouttières seules : garde la marge haute de l'en-tête */ .card { padding: 20px 18px; } }
/* Cibles : au moins 24 px partout, 44 px sur les écrans tactiles (tablettes en paysage comprises) */
@media (min-width: 961px) { .nav-right .login { display: inline-flex; align-items: center; min-height: 24px; } }
@media (pointer: fine) { .foot nav a, .legal a { display: inline-block; padding-block: 4px; } }
@media (pointer: coarse) {
  .nav-links a, .nav-right .btn { min-height: 44px; display: inline-flex; align-items: center; }
    @media (min-width: 961px) { .nav-right .login { min-height: 44px; } }
  .toc summary { min-height: 44px; }
  .toc a { min-height: 44px; align-items: center; }
  .foot nav a, .legal a { display: inline-block; min-width: 44px; padding: 12px 0; text-align: center; }
    .nav .logo { min-height: 44px; }
}
@media print { .nav, .toc, footer { display: none; } .l-body { display: block; } .l-head { padding-top: 0; } }

/* ═════════ Direction éditoriale (comme la page d'accueil v11) ═════════ */
@font-face { font-family: "Cabinet Grotesk"; src: url("/assets/fonts/cabinet-grotesk/CabinetGrotesk-Bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
.eyebrow { font: 500 .78rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.eyebrow i { display: none; }
.irid { background: none; color: inherit; }
.dot { display: inline-block; width: .15em; height: .15em; margin-left: .04em; border-radius: 50%; background: var(--gold, #F4B740); color: transparent; overflow: hidden; vertical-align: baseline; line-height: 0; }
.nav-in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .97); }


/* ═════════ Barre de menu : rien ne se lit derrière (ni dans la pilule, ni entre le haut de l'écran et la pilule) ═════════ */
.nav-in { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.nav.on-dark .nav-in { background: rgba(24, 24, 29, .96); }
.nav::before { content: ""; position: absolute; z-index: -1; top: -14px; left: 50%; width: 100vw; height: calc(100% + 30px); translate: -50% 0; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, .96) 0 50%, rgba(255, 255, 255, 0));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(#000 0 55%, transparent); mask-image: linear-gradient(#000 0 55%, transparent); }
.nav.on-dark::before { background: linear-gradient(rgba(15, 15, 18, .96) 0 50%, rgba(15, 15, 18, 0)); }
/* Tableaux larges sur iPhone : une ombre au bord signale qu'on peut faire défiler (elle disparaît au bout du tableau) */
.tbl { background:
  linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left / 40px 100% no-repeat local,
  linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(15, 15, 18, .18), rgba(15, 15, 18, 0)) left / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(15, 15, 18, .18), rgba(15, 15, 18, 0)) right / 14px 100% no-repeat scroll, #fff; }
.tbl th { background: transparent; }
@media (max-width: 600px) { .tbl table { min-width: 520px; } }
/* Menu mobile : la page en cours est signalée, bouton d'au moins 44 px */
.sheet a[aria-current="page"] { color: var(--gold); }
.sheet .btn { min-height: 44px; align-items: center; justify-content: center; }
/* Pied de page commun au site (3 colonnes) */
footer { border-radius: 0; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.foot-cols h2 { font: 500 .78rem var(--mono); letter-spacing: normal; color: var(--muted-d); margin-bottom: 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.foot-cols a:hover { color: var(--bone); }
.foot-cols .foot-mail { margin-top: 18px; font-size: .94rem; }
.foot-cols .foot-mail a { text-decoration: underline; text-underline-offset: 3px; }
.foot-brand .logo { color: var(--bone); font-size: 1.15rem; }
.foot-brand .logo-mark { --mark-fill: url(#markBone); }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
@media (max-width: 960px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .foot-cols .foot-brand { grid-column: 1 / -1; }
}
.foot-cols a[aria-current="page"] { color: var(--bone); }
:root { --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; }
/* Lien d'évitement : invisible jusqu'à ce que le clavier y arrive */
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #0F0F12; color: #F3F1EC; font-weight: 600; transform: translateY(-160%); }
.skip:focus { transform: none; outline: 2px solid #F4B740; outline-offset: 2px; }

/* ── Navigation : entrée « Métiers » (12/11). Menu déroulant au survol et au clavier (:focus-within), sans script ── */
.nav-dd { position: relative; display: flex; }
.nav-dd-b { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; transition: background-color .2s ease; }
.nav-dd-b svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.nav-dd.is-current .nav-dd-b { box-shadow: inset 0 -1.5px 0 var(--gold); border-radius: 999px; }
.nav-dd-p { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60; display: grid; gap: 2px; min-width: 224px; padding: 8px; border-radius: 20px; background: #FFFFFF; color: #0F0F12;
  box-shadow: 0 0 0 1px rgba(15, 15, 18, .08), 0 18px 36px -18px rgba(15, 15, 18, .32); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
.nav-dd-p::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }   /* pont pour garder le survol */
.nav-dd-p a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; font-weight: 550; }
.nav-dd-p a img { width: 24px; height: 24px; object-fit: contain; flex: none; }
.nav-dd-p a[aria-current="page"] { background: rgba(15, 15, 18, .05); }
.nav-dd:focus-within .nav-dd-p { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.nav-dd:focus-within .nav-dd-b svg { transform: rotate(180deg); }
@media (hover: hover) {
  .nav-dd:hover .nav-dd-p { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
  .nav-dd:hover .nav-dd-b svg { transform: rotate(180deg); }
  .nav-dd-b:hover { background: rgba(15, 15, 18, .06); }
  .nav.on-dark .nav-dd-b:hover { background: rgba(255, 255, 255, .08); }
  .nav-dd-p a:hover { background: rgba(15, 15, 18, .05); }
}
@media (min-width: 961px) { .nav-dd-b { min-height: 44px; } }
/* Menu mobile : les 5 métiers en pastilles sous « Comment ça marche » */
.sheet .sheet-lbl { display: block; padding: 14px 16px 2px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; opacity: .62; }
.sheet .sheet-dd { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 6px; padding: 0 12px; }
.sheet .sheet-dd a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); font-family: var(--text, inherit); font-size: .95rem; font-weight: 600; letter-spacing: 0; }
.sheet .sheet-dd a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold); }
.nav-links a, .nav-dd-b, .nav-right .login { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1140px) { .nav-links { gap: 0; font-size: .88rem; } .nav-links a, .nav-dd-b { padding-left: 9px; padding-right: 9px; } .nav-right .login { display: none; } }

/* ═════ Pied de page (12/11) : « Fidaly. » en très grand, coupé par le bas de l'écran ; le corbeau posé sur le point doré ═════ */
footer.ft { position: relative; overflow: hidden; background: #FFFFFF; color: var(--ink); padding: 96px 0 0; box-shadow: inset 0 1px 0 rgba(15, 15, 18, .08); }
.ft-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.ft-slogan { font: 700 clamp(2rem, 3.6vw, 3.2rem)/1 var(--display); letter-spacing: -.045em; max-width: 9em; }
.ft-slogan .dot, .ft-word .dot { color: var(--gold); }
.ft-cta .btn { margin-top: 28px; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ft-cols h2 { font: 600 .8rem var(--text); color: #6D6C74; letter-spacing: 0; margin: 0 0 14px; }
.ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft-cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: .95rem; color: var(--ink); }
@media (hover: hover) { .ft-cols a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.ft-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(15, 15, 18, .09); font-size: .82rem; color: #6D6C74; }
.ft-word { position: relative; margin: 48px 0 0; padding: 0 1.2vw; font: 700 38.5vw/.74 var(--display); letter-spacing: -.055em; color: var(--ink); white-space: nowrap; margin-bottom: -.055em; user-select: none; }
.ft-dot { position: relative; display: inline-block; width: .15em; height: .15em; margin-left: .03em; border-radius: 50%; background: var(--gold); vertical-align: baseline; }
.ft-crow { position: absolute; left: 50%; bottom: 100%; width: .32em; aspect-ratio: 1; transform: translate(-50%, 11%); pointer-events: none; }
.cb svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cb .head { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-box: view-box; }
.cb .wing, .cb .wing2, .cb .legs, .cb .farleg { transform-box: view-box; }
.cb .wing { transform-origin: 150px 122px; } .cb .wing2 { transform-origin: 150px 118px; }
.cb .legs, .cb .farleg { transform-origin: 112px 184px; transition: transform .25s; }
.cb.is-flying .wing { animation: cb-flap .16s ease-in-out infinite alternate; }
.cb.is-flying .wing2 { animation: cb-flap .16s ease-in-out infinite alternate-reverse; }
.cb.is-flying .legs, .cb.is-flying .farleg { transform: scaleY(.45); }
.cb.is-flying .shadow { opacity: 0; }
.cb.is-landing svg { animation: cb-land .4s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 90%; }
@keyframes cb-flap { from { transform: rotate(-26deg); } to { transform: rotate(48deg); } }
@keyframes cb-land { 0% { transform: scale(1.06, .9); } 100% { transform: none; } }
@media (max-width: 960px) {
  footer.ft { padding-top: 72px; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .ft-word { margin-top: 40px; font-size: 37vw; }
}

/* ═════ Fin de page (12/11, v2) : la section finale et le pied de page ne font plus qu'un bloc foncé, écriture blanche ═════ */
.final, footer.ft { background: #17161C; }
.final { padding-bottom: 96px; }
footer.ft { color: #F3F1EC; padding-top: 0; box-shadow: none; }
.ft-top { grid-template-columns: minmax(0, 1fr); padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-cols h2 { color: rgba(243, 241, 236, .55); }
.ft-cols a { color: #F3F1EC; }
.ft-legal { border-top-color: rgba(255, 255, 255, .1); color: rgba(243, 241, 236, .6); }
.ft-word { color: #F3F1EC; }
.ft-crow .shadow { display: none; }
#finalCrow, #finalPerch { display: none; }   /* un seul corbeau dans ce bloc : celui posé sur le point doré */
@media (max-width: 960px) { .final { padding-bottom: 64px; } .ft-top { padding-top: 40px; } }

/* 13/11 : menu mobile, « Métiers » se déplie (flèche) au lieu d'afficher toutes les pastilles */
.sheet .sheet-mt summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.04em; cursor: pointer; list-style: none; }
.sheet .sheet-mt summary::-webkit-details-marker { display: none; }
.sheet .sheet-mt summary svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.sheet .sheet-mt[open] summary svg { transform: rotate(180deg); }
.sheet .sheet-mt .sheet-dd { display: block; margin: 0 0 8px; padding: 0 0 0 18px; }
.sheet .sheet-mt .sheet-dd a { display: block; min-height: 0; padding: 10px 16px; border-radius: 0; box-shadow: none; font-size: 1.25rem; opacity: .85; }
.sheet .sheet-mt .sheet-dd a[aria-current="page"] { color: var(--gold); box-shadow: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .sheet .sheet-mt[open] .sheet-dd { animation: mt-in .35s cubic-bezier(.16, 1, .3, 1); } @keyframes mt-in { from { opacity: 0; transform: translateY(-6px); } } }
