/* ==========================================================================
   AIROS · airos.css · site en ligne v1 · 15 octobre 2026
   Styles communs aux pages françaises et anglaises, repris de la maquette v9.
   Version noire par défaut (html[data-theme="inverse"]), version claire sans l'attribut.
   ========================================================================== */

/* Polices hébergées sur le site (aucun appel à Google) : Geist, Geist Mono, Newsreader */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/geist-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/geist-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/geist-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FFFFFF;
  --panel: #F4F3F0;
  --ink: #111110;
  --ink-2: #3D3B37;
  --ink-3: #6B6862;
  --line: rgba(17, 17, 16, .12);
  --line-strong: rgba(17, 17, 16, .85);
  --dark: #111110;
  --on-dark: #F4F1EB;
  --on-dark-2: #CBC5BA;
  --on-dark-3: #9C958A;
  --line-dark: rgba(244, 241, 235, .2);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 3vw, 40px);
  --edge: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); line-height: 1.4; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-light:hover { background: transparent; color: var(--on-dark); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 10.5px; }
.link { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: opacity .2s; }
.link:hover { opacity: .6; }

/* Bandeau du haut */
.topbar { background: var(--ink); color: #D9D3C8; font-size: 13px; letter-spacing: .01em; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-left { color: #A9A297; }
.topbar-left em { font-family: var(--serif); font-size: 15px; color: var(--on-dark); margin-right: 4px; }
.topbar-right { display: flex; align-items: center; }
.topbar-right > * { padding: 0 18px; border-left: 1px solid rgba(244, 241, 235, .16); line-height: 1; }
.topbar-right > *:first-child { border-left: 0; }
.topbar-right > *:last-child { padding-right: 0; }
.topbar a { transition: opacity .2s; }
.topbar a:hover { opacity: .65; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #9FBF8F; margin-right: 8px; vertical-align: 1px; }
.topbar .lang { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: #8F897F; }
.topbar .lang b { font-weight: 400; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.nav-left { display: flex; gap: 26px; }
.nav-left a, .menu-btn { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.nav-left a { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav-left a:hover { border-color: var(--ink); }
.has-sub { position: relative; }
.sub-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.sub-btn::after { content: ""; width: 6px; height: 6px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.has-sub:hover .sub-btn::after, .has-sub.open .sub-btn::after { transform: translateY(1px) rotate(-135deg); }
.sub { position: absolute; top: calc(100% + 18px); left: -24px; width: 360px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(17, 17, 16, .08); padding: 20px 24px 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s, visibility .25s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -19px; height: 19px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub .label { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sub a { display: grid; grid-template-columns: 28px 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: inherit; text-transform: none; letter-spacing: 0; }
.sub a:last-child { border-bottom: 0; }
.sub a:hover { border-color: var(--line); }
.sub a:hover strong { font-style: italic; }
.sub a .n { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--ink-3); padding-top: 5px; }
.sub a strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.sub a small { display: block; font-size: 13.5px; color: var(--ink-3); line-height: 1.4; }
.mobile-nav .sub-links a { font-size: 19px; padding-left: 18px; color: var(--ink-2); }
.wordmark { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: .16em; padding-left: .16em; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.menu-btn { display: none; min-height: 44px; align-items: center; gap: 10px; }
.menu-btn i { width: 18px; height: 7px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
.mobile-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; }
.mobile-nav .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.menu-open .mobile-nav { display: block; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(calc(100svh - 102px), 900px); }
.hero-text { background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 36px var(--gutter) 40px var(--edge); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 28px; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero h1 em { font-weight: 350; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 500px; }
.actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 36px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid var(--line); }
.hero-meta div { padding-top: 16px; }
.hero-meta strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 6px; }
.hero-photo { position: relative; overflow: hidden; margin: 0; background: #E9E9E6; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(17, 15, 12, 0) 0%, rgba(17, 15, 12, .55) 100%); pointer-events: none; }
.photo-caption { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; display: flex; align-items: baseline; gap: 14px; color: #fff; }
.photo-caption .label { color: rgba(255, 255, 255, .72); }
.photo-caption .cap { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.3; }

/* Sections */
.section { padding: clamp(88px, 10vw, 152px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; margin-bottom: clamp(44px, 5vw, 76px); }
.section-head .label { grid-column: 1 / 4; align-self: start; padding-top: 14px; }
.section-head h2 { grid-column: 4 / 10; }
.section-head .aside { grid-column: 10 / 13; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
/* Variante (Méthode) : titre plus large, texte d'introduction en petit sous le titre */
.section-head--pile h2, .section-head--pile .aside { grid-column: 4 / 13; }

/* Promesse */
.promise { padding: clamp(88px, 10vw, 150px) 0; }
.promise-statement { text-align: center; }
.promise-statement p { font-family: var(--serif); font-size: clamp(32px, 4vw, 60px); line-height: 1.1; letter-spacing: -.02em; max-width: 1000px; margin: 22px auto 0; text-wrap: balance; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(56px, 7vw, 96px); }
.pillar { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.pillar .label { color: var(--ink); }
.pillar h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin: 28px 0 12px; }
.pillar p { font-size: 16px; color: var(--ink-2); max-width: 400px; }

/* Fondateur */
.founder { background: var(--dark); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.portrait { position: relative; min-height: 460px; background: #23211D; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.portrait-ph { text-align: center; padding: 24px; }
.portrait-ph .mono { font-family: var(--serif); font-style: italic; font-size: clamp(88px, 9vw, 150px); line-height: .8; color: rgba(244, 241, 235, .08); display: block; }
.portrait-ph .label { color: var(--on-dark-3); display: block; margin-top: 28px; }
.inset { position: absolute; right: 28px; bottom: 28px; width: 38%; margin: 0; }
.inset img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.inset figcaption { margin-top: 8px; color: var(--on-dark-3); }
.founder-text { padding: clamp(56px, 6vw, 88px) var(--edge) clamp(56px, 6vw, 88px) clamp(24px, 5vw, 88px); display: flex; flex-direction: column; justify-content: center; }
.founder .label { color: var(--on-dark-3); }
.founder h2 { font-size: clamp(32px, 3.2vw, 48px); margin: 16px 0 22px; }
.quote { font-family: var(--serif); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; color: var(--on-dark); max-width: 680px; }
.quote + .quote { margin-top: .8em; }.signature { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
.signature strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 22px; }
.signature span { font-size: 14px; color: var(--on-dark-2); }
.exp { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 24px 0 26px; }
.exp .label { margin-right: 8px; }
.exp ul { display: flex; flex-wrap: wrap; gap: 8px; }
.exp li { list-style: none; border: 1px solid rgba(244, 241, 235, .32); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--on-dark); }
.founder .link { align-self: flex-start; color: var(--on-dark); }

/* Secteurs */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.sector:nth-child(even) { margin-top: 64px; }
.sector-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--panel); }
.sector-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; background: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; padding: 5px 8px; }
.sector-body { padding-top: 20px; }
.sector h3 { font-size: 27px; line-height: 1.15; margin-bottom: 10px; }
.sector p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 14px; }

/* Expertises : index */
.index { border-bottom: 1px solid var(--line-strong); }
.row { border-top: 1px solid var(--line-strong); }
.row-head { width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 28px; align-items: center; gap: 24px; padding: 26px 0; text-align: left; }
.row-head .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.row-head .name { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.02em; transition: transform .5s var(--ease); }
.row-head:hover .name, .row.open .name { transform: translateX(12px); font-style: italic; }
.row-head .tags { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: right; }
.plus { position: relative; width: 20px; height: 20px; justify-self: end; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: var(--ink); transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.row.open .plus::after { transform: rotate(0deg); }
.row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.row.open .row-body { grid-template-rows: 1fr; }
.row-inner { overflow: hidden; min-height: 0; }
.row-content { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 4px 0 40px; }
.row-content p { grid-column: 2; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.profils { grid-column: 3; }
.profils ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profils li { border: 1px solid rgba(17, 17, 16, .3); border-radius: 999px; padding: 7px 14px; font-size: 14px; }

/* Méthode */
.method-photo { margin: 0 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; aspect-ratio: 21 / 8; background: var(--panel); }
.method-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
/* Légende comme celle du hero : italique blanc sur un léger dégradé sombre, sans cadre */
.method-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, rgba(17, 15, 12, 0) 0%, rgba(17, 15, 12, .5) 100%); pointer-events: none; }
.method-photo figcaption { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 1; color: #fff; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.3; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 1px solid var(--line-strong); padding-top: 24px; }
.step-num { display: block; font-family: var(--serif); font-style: italic; font-size: 60px; line-height: 1; margin-bottom: 44px; }
.step h3 { font-size: 25px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--ink-2); }
.step .label { display: block; margin-top: 18px; color: var(--ink); }

/* Pourquoi AIROS */
.why { background: var(--panel); padding: clamp(88px, 10vw, 152px) 0; }
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.why-left { position: sticky; top: 112px; }
.letters { display: grid; grid-template-columns: repeat(6, .9em); font-family: var(--serif); font-size: clamp(46px, 6.2vw, 100px); line-height: 1.04; margin-top: 36px; }
.letters span { text-align: center; }
.letters .d { color: rgba(17, 17, 16, .16); }
.letters-cap { margin-top: 28px; max-width: 360px; }
.why h2 { margin-bottom: 24px; }
.why-intro { font-size: 17.5px; color: var(--ink-2); max-width: 560px; }
.convictions { margin-top: 48px; }
.conv { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-strong); }
.conv h3 { font-size: clamp(30px, 2.8vw, 40px); font-style: italic; line-height: 1; }
.conv .label { display: block; margin-top: 10px; }
.conv p { font-size: 16.5px; color: var(--ink-2); padding-top: 4px; max-width: 520px; }
.conv.fides { color: var(--on-dark); border-top: 0; padding: 30px 24px; margin: 0 -24px;
  background: radial-gradient(120% 180% at 88% 0%, #2B2621 0%, #211E1A 55%, #1C1A17 100%); }
.conv.fides .label { color: #B9AE9C; }
.conv.fides p { color: #D5CEC2; }
.fides-intro { font-family: var(--serif); font-style: italic; font-size: 19px; padding: 22px 0 18px; border-top: 1px solid var(--line-strong); }

/* Rejoindre : travailler en confiance */
.join { position: relative; overflow: hidden; background: #15120E; color: var(--on-dark); }
.join-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.join-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 13, .94) 0%, rgba(20, 17, 13, .86) 42%, rgba(20, 17, 13, .66) 72%, rgba(20, 17, 13, .5) 100%); }
.join-inner { position: relative; z-index: 1; padding-top: clamp(96px, 11vw, 168px); padding-bottom: clamp(96px, 11vw, 168px); }
.join-content { max-width: 940px; padding-left: clamp(0px, 9vw, 160px); }
.join .label { color: #B9AE9C; }
.join h2 { margin: 18px 0 18px; font-size: clamp(44px, 5.2vw, 76px); }
.join .intro { color: #D5CEC2; font-size: 16.5px; max-width: 560px; }
.join-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 52px; }
.join-values div { border-top: 1px solid rgba(244, 241, 235, .24); padding: 22px 0 28px; }
.join-values h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 8px; }
.join-values p { color: #C9C2B6; font-size: 15px; line-height: 1.6; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; }

/* Contact : le brief */
.brief-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.brief-intro h2 { margin: 20px 0 24px; }
.brief-intro > p { font-size: 17px; color: var(--ink-2); max-width: 420px; }
.interlocutor { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 18px; background: var(--panel); max-width: 420px; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #DCD8D1; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink-2); }
.interlocutor strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.interlocutor span { font-size: 14.5px; color: var(--ink-2); }
.contacts { margin-top: 32px; border-top: 1px solid var(--line); }
.contacts > * { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.contacts a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.form { background: var(--panel); padding: clamp(24px, 4vw, 48px); }
fieldset { border: 0; margin-bottom: 28px; min-width: 0; }
legend { font-family: var(--serif); font-size: 22px; margin-bottom: 14px; }
legend .n { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); margin-right: 10px; vertical-align: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid rgba(17, 17, 16, .24); border-radius: 999px; background: #fff; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.summary { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 22px 0 24px; margin: 4px 0 28px; }
.summary p { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.35; margin-top: 10px; }
.slot { font-style: italic; }
.slot.empty { display: inline-block; min-width: 4.5em; border-bottom: 1px dashed var(--ink-3); color: transparent; line-height: 1.1; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(17, 17, 16, .3); border-radius: 0; padding: 10px 0; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.thanks { display: none; padding: 24px 0; }
.thanks h3 { font-size: clamp(30px, 3vw, 42px); margin: 14px 0 14px; }
.thanks p { color: var(--ink-2); max-width: 460px; }
.form.sent .form-body { display: none; }
.form.sent .thanks { display: block; }

/* Footer */
.site-footer { background: var(--dark); color: var(--on-dark); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 64px; }
.footer-top p { color: var(--on-dark-2); max-width: 360px; font-size: 15px; margin-top: 14px; }
.footer-top .brand { font-family: var(--serif); font-size: 26px; letter-spacing: .16em; }
.footer-top .sig { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--on-dark); margin-top: 18px; }
.footer-top h4 { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 16px; }
.footer-top ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.footer-top ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.giant { font-family: var(--serif); font-size: clamp(88px, 26vw, 420px); line-height: .78; letter-spacing: -.035em; text-align: center; user-select: none; margin-top: .1em; padding-bottom: .04em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line-dark); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); }


/* ===== Animations : états de départ et styles utilisés par motion.js ===== */
/* Avant leur entrée, les éléments animés sont invisibles mais gardent leur place (aucun saut de page) */
.has-motion [data-reveal]:not([data-stagger]),
.has-motion [data-reveal][data-stagger] > :not([data-reveal]),
.has-motion .hero-top, .has-motion .hero h1, .has-motion .lede, .has-motion .actions > *,
.has-motion .hero-meta > div, .has-motion .photo-caption { visibility: hidden; }
.hero-curtain { display: none; }
.has-motion .hero-curtain { display: block; position: absolute; inset: 0; z-index: 2; background: var(--panel); pointer-events: none; }
.line-mask { display: block; overflow: hidden; padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; }
.sl-mask { padding-bottom: .1em; margin-bottom: -.1em; }
.sc-mask { padding: .14em .02em .04em; margin: -.14em -.02em -.04em; }
/* Pas de transition CSS sur l'opacité des liens animés : elle freinerait GSAP */
.has-motion .link { transition: none; }
.site-header { transition: transform .5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Secteurs : section horizontale épinglée (classe ajoutée par motion.js, ordinateur uniquement) */
#expertises, #expertise { border-top: 1px solid var(--line); }
.h-progress { display: none; }
/* La section fait la hauteur de l'écran : en haut la piste des secteurs, en bas la barre de progression.
   Les photos prennent la place qui reste au-dessus des textes : rien ne passe jamais sous la barre. */
.is-horizontal { position: relative; padding: 0; overflow: hidden; height: 100vh; display: flex; flex-direction: column; }
.is-horizontal .h-track { max-width: none; width: max-content; flex: 1 1 auto; min-height: 0; display: flex; align-items: stretch; gap: clamp(48px, 5vw, 96px); padding: calc(72px + 4vh) var(--edge) 0; }
.is-horizontal .h-track > .section-head { display: block; flex: none; align-self: center; width: min(30vw, 440px); margin: 0; }
.is-horizontal .h-track > .section-head .label { display: block; padding: 0; margin-bottom: 20px; }
.is-horizontal .h-track > .section-head h2 { margin-bottom: 24px; }
.is-horizontal .sectors { display: flex; align-items: stretch; gap: clamp(24px, 3vw, 48px); }
.is-horizontal .sector { flex: none; display: flex; flex-direction: column; width: clamp(280px, 25vw, 420px); margin-top: 0; }
.is-horizontal .sector:nth-child(even) { margin-top: min(8vh, 72px); }
.is-horizontal .sector-img { flex: 1 1 0; min-height: 140px; aspect-ratio: auto; }
.is-horizontal .sector-body { flex: none; }
.is-horizontal .sector p { margin-bottom: 12px; }
.is-horizontal .h-progress { display: flex; flex: none; width: 100%; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 32px; }
/* Écrans peu hauts (portables) : marges resserrées pour laisser la place aux photos */
@media (max-height: 720px) {
  .is-horizontal .h-track { padding-top: calc(60px + 2vh); }
  .is-horizontal .sector:nth-child(even) { margin-top: 4vh; }
  .is-horizontal .h-progress { padding-top: 16px; padding-bottom: 20px; }
}
.h-bar { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.h-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

/* Bandeau en boucle : les profils que nous présentons. Un nom qui sort de l'écran revient
   plus loin avec un autre profil de la liste (motion.js) : jamais deux fois le même à l'écran. */
.marquee { overflow: hidden; margin-top: clamp(72px, 8vw, 120px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { flex: none; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.005em; color: var(--ink-2); white-space: nowrap; padding: 0 .8em; }
.marquee-track span::after { content: "·"; color: var(--ink-3); margin-left: 1.6em; }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .sector-img img, .row-head .name, .row-body { transition: none; }
}

@media (max-width: 1180px) {
  .nav-right .btn-line { display: none; }
  .nav-left { gap: 20px; }
}

@media (max-width: 1100px) {
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 20px; }
  .sector:nth-child(even) { margin-top: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 24px; }
  .section-head h2 { grid-column: 4 / 13; }
  .section-head .aside { grid-column: 4 / 13; }
  .row-head .tags { display: none; }
  .row-head { grid-template-columns: 72px minmax(0, 1fr) 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-left { position: static; }
  .topbar .hide-md { display: none; }
}

@media (max-width: 860px) {
  .nav-left, .nav-right .btn { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { gap: 44px; padding: 28px var(--gutter) 32px; }
  .hero-photo { aspect-ratio: 4 / 5; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .label, .section-head h2, .section-head .aside { grid-column: auto; }
  .section-head .label { padding-top: 0; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .founder { grid-template-columns: 1fr; }
  .portrait { min-height: 0; aspect-ratio: 16 / 10; }
  .hero h1 { font-size: clamp(34px, 10vw, 52px); }
  .photo-caption, .method-photo figcaption { left: 16px; right: 16px; bottom: 16px; }
  .inset { width: 36%; right: 16px; bottom: 16px; }
  .founder-text { padding: 56px var(--gutter); }
  .method-photo { aspect-ratio: 4 / 3; }
  .conv { grid-template-columns: 1fr; gap: 10px; }
  .join-content { padding-left: 0; }
  .join-veil { background: rgba(20, 17, 13, .82); }
  .join-values { grid-template-columns: 1fr; }
  .brief-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .row-head { grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; padding: 22px 0; }
  .row-head:hover .name, .row.open .name { transform: none; }
  .row-content { grid-template-columns: 1fr; gap: 20px; }
  .row-content p, .profils { grid-column: auto; }
  .topbar .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 560px) {
  .sectors, .steps, .fields { grid-template-columns: 1fr; }
  .hero-meta strong { font-size: 18px; }
  .caption-card { left: 12px; bottom: 12px; right: 12px; max-width: none; }
  .step-num { margin-bottom: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .conv.fides { margin: 0 calc(var(--gutter) * -1); padding: 24px var(--gutter); }
  .inset { display: none; }
}
/* ===== Version noire : noir chaud dominant, temps forts en ivoire =====
   Tout est sous html[data-theme="inverse"] : sans cet attribut, la page affiche la version claire. */
html[data-theme="inverse"] {
  color-scheme: dark;
  --bg: #111110;
  --panel: #1A1917;
  --ink: #F4F1EB;
  --ink-2: #CBC5BA;
  --ink-3: #9C958A;
  --line: rgba(244, 241, 235, .14);
  --line-strong: rgba(244, 241, 235, .62);
  --ivory: #F4F1EB;
  --ivory-2: #ECE7DF;
}
/* Zones claires : les jetons du thème clair reviennent, « dark » devient l'ivoire */
html[data-theme="inverse"] :is(.founder, .join, .conv.fides, .site-footer) {
  color-scheme: light;
  --ink: #111110;
  --ink-2: #3D3B37;
  --ink-3: #6B6862;
  --line: rgba(17, 17, 16, .12);
  --line-strong: rgba(17, 17, 16, .7);
  --dark: #F4F1EB;
  --on-dark: #111110;
  --on-dark-2: #3D3B37;
  --on-dark-3: #6B6862;
  --line-dark: rgba(17, 17, 16, .14);
}

/* Boutons : le « plein » devient ivoire, son texte noir */
html[data-theme="inverse"] .btn-dark { color: var(--bg); }
html[data-theme="inverse"] .btn-dark:hover { background: transparent; color: var(--ink); }
html[data-theme="inverse"] .btn-line:hover { color: var(--bg); }

/* Bandeau du haut : ivoire */
html[data-theme="inverse"] .topbar { background: var(--ivory); color: #3D3B37; }
html[data-theme="inverse"] .topbar-left { color: #6B6862; }
html[data-theme="inverse"] .topbar-left em { color: #111110; }
html[data-theme="inverse"] .topbar-right > * { border-left-color: rgba(17, 17, 16, .16); }
html[data-theme="inverse"] .topbar .dot { background: #6E9A5E; }
html[data-theme="inverse"] .topbar .lang { color: #6B6862; }
html[data-theme="inverse"] .topbar .lang b { color: #111110; }

/* Header et menu déroulant */
html[data-theme="inverse"] .site-header { background: rgba(17, 17, 16, .9); }
html[data-theme="inverse"] .sub { background: var(--panel); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); }

/* Hero */
html[data-theme="inverse"] .hero-photo { background: #23211D; }

/* Fondateur : ivoire */
html[data-theme="inverse"] .portrait { background: var(--ivory-2); }
html[data-theme="inverse"] .portrait-ph .mono { color: rgba(17, 17, 16, .07); }
html[data-theme="inverse"] .exp li { border-color: rgba(17, 17, 16, .3); }

/* Secteurs, expertises, méthode */
html[data-theme="inverse"] .tag { background: var(--bg); }
html[data-theme="inverse"] .profils li { border-color: rgba(244, 241, 235, .28); }

/* Pourquoi AIROS : Fides devient le bloc ivoire */
html[data-theme="inverse"] .letters .d { color: rgba(244, 241, 235, .16); }
html[data-theme="inverse"] .conv.fides { color: var(--ink); background: radial-gradient(120% 180% at 88% 0%, #FBF9F5 0%, #F4F1EB 55%, #ECE7DF 100%); }
html[data-theme="inverse"] .conv.fides .label { color: var(--ink-3); }
html[data-theme="inverse"] .conv.fides p { color: var(--ink-2); }

/* Rejoindre : voile ivoire sur le travertin, texte noir */
html[data-theme="inverse"] .join { background: var(--ivory-2); color: var(--ink); }
html[data-theme="inverse"] .join-veil { background: linear-gradient(90deg, rgba(244, 241, 235, .95) 0%, rgba(244, 241, 235, .88) 42%, rgba(244, 241, 235, .62) 72%, rgba(244, 241, 235, .4) 100%); }
html[data-theme="inverse"] .join .label { color: var(--ink-3); }
html[data-theme="inverse"] .join .intro, html[data-theme="inverse"] .join-values p { color: var(--ink-2); }
html[data-theme="inverse"] .join-values div { border-top-color: rgba(17, 17, 16, .2); }
html[data-theme="inverse"] .join .btn-light { background: #111110; color: var(--ivory); border-color: #111110; }
html[data-theme="inverse"] .join .btn-light:hover { background: transparent; color: #111110; }

/* Contact */
html[data-theme="inverse"] .avatar { background: #2A2824; }
html[data-theme="inverse"] .chip span { background: var(--bg); border-color: rgba(244, 241, 235, .24); }
html[data-theme="inverse"] .chip input:checked + span { color: var(--bg); }
html[data-theme="inverse"] .field input, html[data-theme="inverse"] .field textarea { border-bottom-color: rgba(244, 241, 235, .3); }


@media (max-width: 860px) {
  html[data-theme="inverse"] .join-veil { background: rgba(244, 241, 235, .88); }
}

/* ===== Logo : le A du logo retenu (piste 1 de la v7, tracé exact) et le nom en Newsreader espacé =====
   Le A suit la couleur du texte : ivoire sur noir chaud, noir sur ivoire. */
.mark { display: block; width: auto; aspect-ratio: 156 / 204; overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--mark-sw, 5); stroke-linecap: round; stroke-linejoin: round; }
.lockup { display: inline-flex; align-items: center; gap: 14px; }
.lockup-name { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: .3em; margin-right: -.3em; }

/* En-tête : le logo à gauche, la navigation juste après, séparée par un filet */
.header-inner { grid-template-columns: auto minmax(0, 1fr) auto; height: 72px; }
.site-brand .mark { height: 44px; --mark-sw: 6.5; }
.site-brand .lockup-name { font-size: 19px; }
.nav-left { align-items: center; margin-left: 36px; padding-left: 36px; border-left: 1px solid var(--line); min-height: 28px; }
.hero { min-height: min(calc(100svh - 112px), 900px); }
/* Au survol, les trois traits se retracent l'un après l'autre */
.site-brand:hover .mark-trait { animation: retrace .9s var(--ease) both; animation-delay: calc(var(--i) * 120ms); }
@keyframes retrace { from { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; } to { stroke-dasharray: 1 2; stroke-dashoffset: 0; } }

/* Pourquoi AIROS : le A sous les lettres, ses trois traits se tracent avec Kairos, Aidos et Kaizen */
.why-mark { display: flex; align-items: flex-end; gap: 26px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); max-width: 420px; }
.why-mark .mark { flex: none; height: 132px; --mark-sw: 5; }
.why-mark p { max-width: 260px; padding-bottom: 6px; }
.why-mark p em { font-family: var(--serif); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--ink); }

/* Pied de page : la version claire du logo */
.foot-brand .mark { height: 60px; --mark-sw: 6; }
.foot-brand .lockup-name { font-size: 22px; }
.foot-brand { gap: 18px; }
/* Grand AIROS du pied de page : plus petit, espacé comme le nom du logo */
.giant { font-size: clamp(56px, 11vw, 180px); line-height: 1; letter-spacing: .3em; padding: .12em 0 .32em .3em; margin-top: 0; }

@media (max-width: 860px) {
  .header-inner { grid-template-columns: 1fr auto; height: 64px; }
  .site-brand .mark { height: 38px; }
  .site-brand .lockup-name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-brand:hover .mark-trait { animation: none; }
}


/* ===== Site en ligne : ajouts par rapport à la maquette v9 ===== */

/* Bandeau du haut : langue et thème, même style que le choix de langue de la maquette.
   Le choix actif est en clair, l'autre est un lien ou un bouton plus discret. */
.prefs { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8F897F; white-space: nowrap; }
.prefs a, .prefs button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 4px 0; transition: color .2s; }
.topbar-right > * { white-space: nowrap; }
/* Le bandeau du haut garde une seule ligne : l'accroche de gauche ne s'affiche que sur les grands écrans */
@media (max-width: 1400px) { .topbar .topbar-left { display: none; } }
@media (min-width: 861px) and (max-width: 1400px) { .topbar-inner { justify-content: flex-end; } }
.topbar .prefs a:hover, .prefs button:hover { color: #fff; opacity: 1; }
.prefs b, .prefs [aria-pressed="true"] { font-weight: 400; color: #fff; }
.prefs .sep { margin: 0 4px; }
html[data-theme="inverse"] .prefs { color: #6B6862; }
html[data-theme="inverse"] .topbar .prefs a:hover, html[data-theme="inverse"] .prefs button:hover,
html[data-theme="inverse"] .prefs b, html[data-theme="inverse"] .prefs [aria-pressed="true"] { color: #111110; }

/* Menu mobile : langue et thème en bas du menu */
.mobile-prefs { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mobile-prefs button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 8px 0; }
.mobile-nav .mobile-prefs a:not(.btn) { display: inline; padding: 8px 0; border: 0; font-family: inherit; font-size: inherit; }
.mobile-prefs b, .mobile-prefs [aria-pressed="true"] { font-weight: 400; color: var(--ink); }
.mobile-prefs .sep { margin: 0 6px; }

/* Fondateur : en attendant le portrait, le A du logo en filigrane */
.portrait-mark { height: min(62%, 300px); color: var(--on-dark); opacity: .12; --mark-sw: 3; }

/* Formulaire : champ piège pour les robots (invisible), message d'erreur, envoi en cours */
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin-top: 18px; font-size: 15px; color: var(--ink); border-left: 2px solid currentColor; padding-left: 12px; }
.form.error .form-error { display: block; }
.form.sending button[type="submit"] { opacity: .5; pointer-events: none; }

/* Pied de page : liens légaux */
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--on-dark); }

/* Lien d'évitement (clavier) */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.skip:focus { top: 16px; }

/* Pages légales et page 404 : une colonne de lecture */
.page-legal { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.page-legal .container { max-width: 860px; }
.page-legal h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin: 18px 0; text-wrap: balance; }
.page-legal .chapo { font-size: 17px; color: var(--ink-2); max-width: 620px; }
.page-legal h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin: 64px 0 8px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.page-legal h3 { font-size: 22px; margin: 36px 0 8px; }
.page-legal p, .page-legal li { font-size: 16px; color: var(--ink-2); max-width: 68ch; }
.page-legal p + p { margin-top: 12px; }
.page-legal ul { padding-left: 1.2em; margin-top: 10px; display: grid; gap: 6px; }
.page-legal main a { border-bottom: 1px solid currentColor; }
.page-legal main a:hover { opacity: .6; }
.page-legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); margin-top: 14px; border-top: 1px solid var(--line); }
.page-legal dt, .page-legal dd { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.page-legal dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 15px; }
.page-legal dd { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.a-completer { background: rgba(233, 217, 107, .3); color: var(--ink); padding: 0 4px; }
.page-404 { min-height: 62vh; display: flex; align-items: center; }
.page-404 .actions { margin-top: 28px; }
@media (max-width: 560px) {
  .page-legal dl { grid-template-columns: 1fr; }
  .page-legal dt { border-bottom: 0; padding-bottom: 0; }
}

/* Pied de page court (pages légales, 404) */
.site-footer--court { padding-top: 0; }

/* ===== 2026-10-17 : en-tête sans bandeau du haut (décision de Florian) ===== */
/* Langue et thème dans la navigation, à droite, séparés des boutons par un filet.
   Les règles « .topbar » plus haut ne servent plus (le bandeau a été retiré du HTML). */
html .nav-prefs { display: flex; align-items: center; gap: 16px; margin-right: 12px; padding-right: 20px; border-right: 1px solid var(--line); }
html .nav-prefs .prefs { color: var(--ink-3); }
html .nav-prefs .prefs a:hover, html .nav-prefs .prefs button:hover, html .nav-prefs .prefs b, html .nav-prefs .prefs [aria-pressed="true"] { color: var(--ink); }
/* Navigation décalée de 20 px vers la gauche pour laisser de l'air avant FR / EN */
.nav-left { margin-left: 26px; padding-left: 26px; }
/* Le haut de page récupère les 40 px du bandeau */
.hero { min-height: min(calc(100svh - 72px), 900px); }
/* Sous 1100 px, la navigation passe dans le menu, qui contient déjà langue et thème */
@media (max-width: 1100px) {
  html .nav-left, html .nav-prefs, html .nav-right .btn-line { display: none; }
  html .menu-btn { display: inline-flex; }
}

/* ===== 2026-10-17 : brief en 4 menus déroulants, sur 2 lignes de 2 (décision de Florian) ===== */
.sel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin-bottom: 30px; }
.sel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sel-q { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.sel-q .n { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); margin-right: 10px; vertical-align: 3px; }
.sel-box { position: relative; }
.sel-box::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel-box select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 48px; padding: 0 44px 0 18px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid rgba(17, 17, 16, .24); border-radius: 999px; cursor: pointer; transition: border-color .2s; }
.sel-box select:hover { border-color: var(--ink); }
.sel-box select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sel-box select:has(option[value=""]:checked) { color: var(--ink-3); }
.sel-box select option { color: var(--ink); }
html[data-theme="inverse"] .sel-box select { background: var(--bg); border-color: rgba(244, 241, 235, .24); }
html[data-theme="inverse"] .sel-box select:hover { border-color: var(--ink); }
@media (max-width: 860px) { .sel-grid { grid-template-columns: 1fr; gap: 20px; } }
