/* HOLON · styles communs à toutes les pages (charte direction A · Système). Les styles propres à une page restent dans la page. */
/* Layout: alternating Encre and Pierre bands on a 12-column grid, 64px margins, square corners, hairlines, one Bronze rule per surface.
   Single brand look (HOLON design system, direction A Systeme): colours set explicitly, independent of the viewer theme. */
:root {
  --encre: #15191E;
  --pierre: #EFEBE4;
  --bronze: #B5713E;
  --bronze-text: #8E5528;
  --ardoise: #5B6168;
  --lin: #C9C3B8;
  --pierre-deep: #E4DED4;
  --hair-light: #D3CCC1;
  --hair-dark: rgba(201, 195, 184, 0.22);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--pierre); color: var(--encre); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
/* skip link: visible on keyboard focus only */
.skip { position: absolute; left: 16px; top: -200px; z-index: 100; background: var(--pierre); color: var(--encre); padding: 12px 16px; font-weight: 600; font-size: 13px; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* language switching: both languages live in the markup */
html[lang="fr"] [data-l="en"], html:not([lang="fr"]) [data-l="fr"] { display: none !important; }

/* bands and containers */
.band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.dark { background: var(--encre); color: var(--pierre); }
.light { background: var(--pierre); color: var(--encre); }
.inner { max-width: var(--max); margin: 0 auto; padding-inline: clamp(0px, 4vw, 48px); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.ruled { border-top: 1px solid var(--hair-light); }

/* type */
.label { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ardoise); margin: 0; }
.dark .label { color: var(--lin); }
.rule { width: 48px; height: 2px; background: var(--bronze); border: 0; margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: 1.04; }
h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; max-width: 34em; margin: 0; }
.dark .lead { color: var(--lin); }
.sig { font-family: var(--serif); font-style: italic; font-weight: 500; }
.sig-line { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.35; color: var(--bronze-text); margin: 0; text-wrap: balance; }
.dark .sig-line { color: var(--bronze); }
.muted { color: var(--ardoise); }
.dark .muted { color: var(--lin); }
.head { display: grid; gap: 20px; justify-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.head.center { justify-items: center; text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--bronze); cursor: pointer; background: transparent; color: inherit; transition: background-color .25s ease, color .25s ease; }
.btn-solid { background: var(--bronze); color: var(--encre); }
.btn-solid:hover { background: #C27F4C; }
.btn-line:hover { background: rgba(181, 113, 62, 0.14); }
.light .btn-line { border-color: var(--encre); }
.light .btn-line:hover { background: var(--encre); color: var(--pierre); }
.textlink { font-weight: 600; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; color: var(--bronze-text); }
.dark .textlink { color: var(--bronze); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 1px solid var(--hair-dark); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: block; line-height: 0; flex: none; }
.brand svg { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--lin); transition: color .2s ease; }
.nav a:hover { color: var(--pierre); }
.tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 2px; font-weight: 600; font-size: 12px; letter-spacing: 0.14em; }
.lang button { background: none; border: 0; color: var(--lin); font: inherit; letter-spacing: inherit; padding: 8px 6px; cursor: pointer; border-bottom: 1px solid transparent; }
.lang button[aria-pressed="true"] { color: var(--pierre); border-bottom-color: var(--bronze); }
.lang span { color: var(--hair-dark); }
.menu-btn { display: none; background: none; border: 1px solid var(--hair-dark); color: var(--pierre); font: 600 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 12px 14px; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .mobile-nav:not([hidden]) { display: grid; gap: 4px; padding-block: 8px 20px; border-top: 1px solid var(--hair-dark); }
  .mobile-nav a { padding: 12px 0; font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--lin); }
}
@media (max-width: 560px) {
  .tools .btn { display: none; }
  .brand svg { height: 44px; }
}

.nw { white-space: nowrap; }
.tbc { display: inline-block; justify-self: start; border: 1px dashed var(--ardoise); padding: 3px 8px; }

/* footer */
.site-footer { padding-block: 48px 40px; border-top: 1px solid var(--hair-dark); }
.foot-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.foot-top .brand svg { height: 40px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-nav a { font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--lin); }
.foot-nav a:hover { color: var(--pierre); }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13px; color: var(--lin); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--pierre); }
.foot-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* text pages (legal notice, privacy policy) */
.doc { display: grid; gap: 36px; max-width: 46em; }
.doc section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--hair-light); }
.doc h2 { font-size: clamp(26px, 2.4vw, 32px); }
.doc p, .doc ul { margin: 0; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc dl { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 8px 24px; margin: 0; }
.doc dt { color: var(--ardoise); font-size: 14px; padding-top: 2px; }
.doc dd { margin: 0; }
.doc a { color: var(--bronze-text); overflow-wrap: anywhere; }
@media (max-width: 560px) { .doc dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .doc dd { margin-bottom: 10px; } }
