/* Qyvrakenth LLC — style suisse / International.
   Fond blanc, encre noire, un seul rouge signal (#e10600) réservé au logo, au point final du titre,
   à la navigation active et au focus. Coins droits, grille de 12, Inter Tight serrée. */

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-tight-latin-wght-normal.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: "Inter Tight";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-tight-latin-ext-wght-normal.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;
}

:root {
  --paper: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --muted: #5c5c5c;
  --hair: #d4d4d4;
  --tint: #f2f2f2;
  --red: #e10600;
  --red-deep: #b80500;
  --on-ink-muted: #a8a8a8;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --t-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --t-lead: clamp(1.125rem, 1.04rem + 0.4vw, 1.375rem);
  --t-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --t-h2: clamp(1.625rem, 1.1rem + 1.6vw, 2.625rem);
  --t-h1: clamp(2.75rem, 0.8rem + 6.4vw, 6.6rem);
  --t-page: clamp(2.75rem, 1.2rem + 5.2vw, 6.25rem);

  --maxw: 1440px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
  --section: clamp(4rem, 2.6rem + 5.5vw, 8.5rem);
  --section-s: clamp(3rem, 2.2rem + 3.5vw, 6rem);
  --header-h: 72px;
  --util-h: 36px;
  --ease: cubic-bezier(.2, .7, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-base)/1.55 var(--font); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: 1; overflow-wrap: break-word; text-wrap: balance; }
h3 { font-size: var(--t-h3); letter-spacing: -0.025em; line-height: 1.15; font-weight: 650; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.ic { flex: none; }
.nw { white-space: nowrap; }

/* ---------------------------------------------------------------- buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.4rem; border: 2px solid var(--ink);
  font: 600 1rem/1 var(--font); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--red); border-color: var(--red); }
.btn-primary:active { background: var(--red-deep); border-color: var(--red-deep); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 42px; padding: 0 1rem; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 599px) { .actions .btn { flex: 1 1 100%; } }

.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link .ic { transition: transform .25s var(--ease); }
.link:hover { text-decoration-color: var(--red); }
.link:hover .ic { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: calc(-1 * var(--util-h) - 1px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.util { height: calc(var(--util-h) + 1px); border-bottom: 1px solid var(--hair); font-size: .8125rem; color: var(--ink-2); }
.util-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.util-row p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.util-short { display: none; }
.util-mail { text-decoration: none; white-space: nowrap; }
.util-mail:hover { text-decoration: underline; }
.bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand .logo { height: 26px; width: auto; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  margin-right: -10px; background: none; border: 0; color: var(--ink); cursor: pointer;
}
.menu-close, .menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline-flex; }
.nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--ink); padding: .5rem var(--gutter) 1.5rem;
}
.nav.is-open { display: block; }
.nav-links { display: flex; flex-direction: column; }
.nav-links a { font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; padding: .8rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--red); }
.lang { display: flex; gap: 1rem; margin: 1.25rem 0; font-weight: 600; font-size: .9375rem; }
.lang span { color: var(--ink); border-bottom: 2px solid var(--red); }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.nav .btn { width: 100%; }

@media (min-width: 1080px) {
  .brand .logo { height: 30px; }
  .menu-btn { display: none; }
  .nav { display: flex; position: static; align-items: center; gap: 2rem; padding: 0; border: 0; background: none; }
  .nav-links { flex-direction: row; gap: 1.75rem; }
  .nav-links a { font-size: .9688rem; font-weight: 550; letter-spacing: -0.01em; padding: .4rem 0; border: 0; position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"] { color: var(--ink); }
  .nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
  .lang { margin: 0; gap: .6rem; font-size: .875rem; }
  .nav .btn { width: auto; }
}
@media (max-width: 599px) {
  :root { --header-h: 64px; }
  .util-mail, .util-long { display: none; }
  .util-short { display: inline; }
}

/* ---------------------------------------------------------------- shared blocks */
.fig { margin: 0; }
.fig img { width: 100%; object-fit: cover; background: var(--tint); }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.012em; }
.section { padding: var(--section) 0 0; }
.section + .section { padding-top: var(--section-s); }
.section-tight { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
main > :last-child { padding-bottom: var(--section); }

/* Repère de section : à gauche du titre sur grand écran (index suisse), masqué sur mobile. */
.sec-head { display: grid; gap: 1rem; border-top: 2px solid var(--ink); padding-top: 1.1rem; margin-bottom: clamp(1.75rem, 1.3rem + 2vw, 3rem); }
.sec-label { display: none; font-size: .875rem; font-weight: 600; color: var(--muted); letter-spacing: -0.005em; }
.sec-title h2 { font-size: var(--t-h2); max-width: 22ch; }
.sec-title p { margin-top: 1rem; max-width: 56ch; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.45; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .sec-head .sec-label { display: block; grid-column: 1 / span 3; align-self: start; padding-top: .35rem; }
  .sec-head .sec-title { grid-column: 4 / -1; }
}

.dashes { display: grid; gap: .65rem; }
.dashes li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.dashes li::before { content: "–"; position: absolute; left: 0; top: 0; color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- home: hero */
.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); }
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 { font-size: var(--t-h1); line-height: .92; letter-spacing: -0.045em; word-spacing: .06em; font-weight: 720; }
.hero h1 .l { display: block; text-wrap: balance; }
html[lang="fr"] .hero h1 { font-size: clamp(2.3rem, 0.6rem + 4.2vw, 4.5rem); line-height: .98; }
.hero h1 .dot { color: var(--red); }
.hero .lead { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); max-width: 46ch; }
.fig-hero img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .hero-copy { grid-column: 1 / span 8; padding-bottom: 2.2rem; }
  .fig-hero { grid-column: 9 / -1; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero h1 { font-size: clamp(2.75rem, 0.2rem + 5.6vw, 4.6rem); }
  html[lang="fr"] .hero h1 { font-size: clamp(2.2rem, 0.2rem + 4vw, 3.4rem); }
}

.idbar { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 2px solid var(--ink); }
.idbar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.idbar-list div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--hair); min-width: 0; }
.idbar-list dt { font-size: .8125rem; color: var(--muted); }
.idbar-list dd { margin: .25rem 0 0; font-weight: 650; letter-spacing: -0.015em; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .idbar-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
  .idbar-list div { border-bottom: 0; padding-bottom: 0; }
}

/* ---------------------------------------------------------------- home: activities (index en lignes) */
.acts { border-top: 1px solid var(--ink); }
.act a { display: grid; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.fig-act img { aspect-ratio: 3 / 2; }
.act h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem); letter-spacing: -0.04em; line-height: 1; font-weight: 700; }
.act p { color: var(--ink-2); max-width: 46ch; }
.act-go { display: none; }
.act a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
@media (min-width: 900px) {
  .act a { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .fig-act { grid-column: 1 / span 3; }
  .act h3 { grid-column: 4 / span 4; }
  .act p { grid-column: 8 / span 4; font-size: 1.0625rem; }
  .act-go { display: block; grid-column: 12; justify-self: end; transition: transform .25s var(--ease); }
  .act a:hover .act-go { transform: translateX(4px); color: var(--red); }
}

/* ---------------------------------------------------------------- home: band */
.band { padding-top: var(--section-s); }
.fig-band img { height: clamp(300px, 52vw, 780px); }
.band-card { background: var(--paper); border-top: 2px solid var(--ink); margin-top: 1.75rem; padding: 1.4rem 0 0; display: grid; gap: 1rem; }
.band-card h2 { font-size: var(--t-h2); max-width: 18ch; }
.band-card p { color: var(--ink-2); max-width: 56ch; }
@media (min-width: 900px) {
  .band-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .band-card { grid-column: 6 / -1; margin-top: clamp(-14rem, -16vw, -8rem); position: relative; padding: 2rem 0 0 2.25rem; }
  .band-card::before { content: ""; position: absolute; top: -2px; bottom: 0; left: 100%; width: var(--gutter); background: var(--paper); border-top: 2px solid var(--ink); }
}

/* ---------------------------------------------------------------- definition tables */
.glance { margin: 0; border-top: 1px solid var(--ink); }
.glance div { display: grid; gap: .35rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); }
.glance dt { font-weight: 650; letter-spacing: -0.012em; }
.glance dd { margin: 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
.glance dd a { font-weight: 600; text-decoration-thickness: 2px; }
.glance-links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1.75rem; }
.glance-wrap > .dashes { border-top: 1px solid var(--ink); padding-top: .9rem; }
.glance-wrap > .dashes li { font-size: 1.0625rem; padding-bottom: .65rem; border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) {
  .glance div { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .glance dt { grid-column: 1 / span 3; }
  .glance dd { grid-column: 4 / span 8; font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.4; color: var(--ink); }
  .glance-id dd { font-size: 1.125rem; }
  .glance-wrap > .glance-links, .glance-wrap > .dashes { margin-left: calc(25% + var(--gap) / 4); }
  .glance-wrap > .dashes li { font-size: var(--t-h3); letter-spacing: -0.02em; }
}

/* ---------------------------------------------------------------- home: contact cta */
.cta-grid { display: grid; gap: 2.5rem; border-top: 2px solid var(--ink); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cta-copy { display: grid; align-content: start; gap: 1.1rem; }
.cta-copy h2 { font-size: var(--t-h2); max-width: 16ch; }
.cta-copy .lead { max-width: 48ch; }
.fig-cta img { aspect-ratio: 4 / 5; }
.c-lines { display: grid; gap: .75rem; margin-top: .75rem; }
.c-lines li { display: flex; gap: .75rem; align-items: center; font-weight: 550; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .cta-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .fig-cta { grid-column: 1 / span 5; }
  .cta-copy { grid-column: 7 / -1; align-self: center; }
}

/* ---------------------------------------------------------------- inner pages: head */
.page-head { padding: clamp(2.5rem, 1.6rem + 4vw, 5.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 2px solid var(--ink); }
.ph-grid { display: grid; gap: 1.5rem; }
.page-head h1 { font-size: var(--t-page); line-height: .92; letter-spacing: -0.045em; word-spacing: .05em; font-weight: 720; }
.ph-grid .lead { max-width: 46ch; }
.anchors { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); display: grid; border-top: 1px solid var(--ink); counter-reset: anc; }
.anchors li { counter-increment: anc; }
.anchors a { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 650; font-size: 1.125rem; letter-spacing: -0.02em; }
.anchors a::before { content: counter(anc); font-size: .8125rem; font-weight: 550; color: var(--muted); width: 1.5rem; flex: none; }
.anchors a .ic { margin-left: auto; transition: transform .25s var(--ease); }
.anchors a:hover { color: var(--red); }
.anchors a:hover .ic { transform: translateX(4px); }
@media (min-width: 900px) {
  .ph-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .ph-grid h1 { grid-column: 1 / span 7; }
  .ph-grid .lead { grid-column: 8 / -1; padding-top: .6rem; }
  .anchors { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
}
.page-head-legal h1 { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem); max-width: 18ch; }
.page-head-legal .lead { margin-top: 1.25rem; max-width: 56ch; }
.updated { margin-top: 1rem; font-size: .875rem; color: var(--muted); }

/* ---------------------------------------------------------------- services */
.svc { padding-top: var(--section-s); }
.svc-grid { display: grid; gap: 2rem; }
.svc-body { display: grid; align-content: start; gap: 1.1rem; border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.svc-body h2 { font-size: var(--t-h2); }
.svc-intro { font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.grps { display: grid; gap: 2rem; margin: .75rem 0 .5rem; }
.grp h3 { font-size: 1rem; letter-spacing: -0.01em; margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--hair); }
.own-note { font-size: .9375rem; color: var(--muted); }
.glance-tight div { grid-template-columns: 1fr; padding: .9rem 0; }
.glance-tight dt, .glance-tight dd { grid-column: auto; font-size: 1rem; line-height: 1.5; color: var(--ink-2); letter-spacing: -0.006em; }
.glance-tight dt { color: var(--ink); }
.glance-tight strong { color: var(--ink); font-weight: 700; }
.glance-tight + .actions { margin-top: 1rem; }
@media (min-width: 600px) { .glance-tight div { grid-template-columns: 9rem 1fr; column-gap: 1.25rem; } }
@media (min-width: 900px) {
  .glance-tight dt, .glance-tight dd { grid-column: auto; font-size: 1rem; letter-spacing: -0.006em; }
  .svc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .fig-svc { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .svc-body { grid-column: 7 / -1; }
  .svc-flip .fig-svc { grid-column: 8 / -1; grid-row: 1; }
  .svc-flip .svc-body { grid-column: 1 / span 6; grid-row: 1; }
}
@media (min-width: 1200px) { .grps { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }

.limits { display: grid; border-top: 1px solid var(--ink); }
.limits li { display: grid; grid-template-columns: 20px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); font-size: 1.0625rem; line-height: 1.5; }
.limits .ic { margin-top: .2em; color: var(--ink); }
@media (min-width: 900px) {
  .limits-wrap { margin-left: calc(25% + var(--gap) / 4); }
  .limits li { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.4; }
  .limits .ic { margin-top: .3em; }
}

/* ---------------------------------------------------------------- how we work */
.steps-grid { display: grid; gap: 2rem; }
.fig-steps img { aspect-ratio: 4 / 5; }
.steps { border-top: 2px solid var(--ink); counter-reset: step; }
.step { counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 1rem; row-gap: .45rem; padding: 1.4rem 0; border-bottom: 1px solid var(--hair); }
.step::before { content: counter(step); grid-row: 1 / span 2; font-size: .875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .3rem; }
.step h3 { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.875rem); letter-spacing: -0.035em; }
.step p { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .fig-steps { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .steps { grid-column: 7 / -1; }
  .step { padding: 1.75rem 0; }
}

/* ---------------------------------------------------------------- about */
.wide-fig { padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.fig-wide img { height: clamp(260px, 42vw, 640px); }
.prose-cols { display: grid; gap: 1.25rem; font-size: 1.0625rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .prose-cols { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); font-size: var(--t-h3); letter-spacing: -0.015em; line-height: 1.45; color: var(--ink); }
  .prose-cols p:first-child { grid-column: 4 / span 5; }
  .prose-cols p:nth-child(2) { grid-column: 9 / -1; font-size: 1.0625rem; color: var(--ink-2); letter-spacing: -0.006em; }
}

/* ---------------------------------------------------------------- contact */
.contact-grid, .two-col { display: grid; gap: 2.5rem; }
.h-sm { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -0.035em; margin-bottom: 1.25rem; padding-top: 1rem; border-top: 2px solid var(--ink); }
.c-details li { display: grid; grid-template-columns: 22px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--hair); overflow-wrap: anywhere; }
.c-details li:first-child { padding-top: .25rem; }
.c-details .ic { margin-top: .15em; }
.c-k { font-weight: 650; letter-spacing: -0.012em; }
.c-details p:not(.c-k) { color: var(--ink-2); }
.body-l { font-size: 1.0625rem; color: var(--ink-2); max-width: 56ch; }
.fig-contact img { aspect-ratio: 3 / 2; }
.fig-contact { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .contact-grid, .two-col { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .contact-main { grid-column: 1 / span 7; }
  .contact-side { grid-column: 9 / -1; }
  .two-col > div:first-child { grid-column: 1 / span 6; }
  .two-col > div:last-child { grid-column: 8 / -1; }
}

/* Formulaire : champs à angles droits, filet noir, focus rouge. */
.form { display: grid; gap: 1.25rem var(--gap); }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label { font-weight: 650; font-size: .9375rem; letter-spacing: -0.01em; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-width: 0; font: 400 1.0625rem/1.4 var(--font); color: var(--ink);
  background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: .85rem .9rem;
  transition: box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 2px var(--red); }
.form-note { font-size: .875rem; color: var(--muted); }
.form-note a { color: var(--ink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot .btn { cursor: pointer; }
.form-foot .btn:disabled { opacity: .5; cursor: progress; }
.form-status { font-weight: 600; max-width: 46ch; }
.form-status:empty { display: none; }
.form-status[data-kind="success"] { color: var(--ink); border-left: 3px solid var(--ink); padding-left: .75rem; }
.form-status[data-kind="error"] { color: var(--red-deep); border-left: 3px solid var(--red); padding-left: .75rem; }
.form-status[data-kind="info"] { color: var(--ink-2); border-left: 3px solid var(--hair); padding-left: .75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .form-foot .btn { flex: 1 1 100%; } }

/* ---------------------------------------------------------------- legal */
.legal-grid { display: grid; gap: 2rem; padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); padding-bottom: var(--section); }
.legal-nav { display: flex; gap: 0 1.5rem; overflow-x: auto; border-bottom: 1px solid var(--hair); scrollbar-width: none; }
.legal-nav::-webkit-scrollbar { display: none; }
.legal-nav a { flex: none; padding: .75rem 0; text-decoration: none; font-weight: 550; white-space: nowrap; border-bottom: 2px solid transparent; }
.legal-nav a:hover { border-bottom-color: var(--ink); }
.legal-nav a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--red); }
.id-card { padding: 1.1rem; background: var(--tint); font-size: .875rem; line-height: 1.5; display: grid; gap: .2rem; overflow-wrap: anywhere; align-self: start; }
.id-card .c-k { margin-bottom: .25rem; }
.prose { max-width: 70ch; min-width: 0; }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.15; margin: 2.5rem 0 .9rem; padding-top: 1rem; border-top: 1px solid var(--ink); }
.prose > h2:first-child { margin-top: 0; }
.prose > p:first-child { font-size: 1.0625rem; color: var(--ink); }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose p + p { margin-top: .9rem; }
.prose ul { display: grid; gap: .6rem; margin: .9rem 0; }
.prose li { position: relative; padding-left: 1.25rem; }
.prose li::before { content: "–"; position: absolute; left: 0; top: 0; color: var(--ink); font-weight: 600; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose a:hover { color: var(--red-deep); }
.prose .glance { margin-bottom: 2.5rem; }
.prose .glance div { grid-template-columns: 1fr; padding: .9rem 0; }
.prose .glance dt, .prose .glance dd { grid-column: auto; font-size: 1rem; line-height: 1.5; letter-spacing: -0.006em; }
@media (min-width: 700px) {
  .prose .glance div { grid-template-columns: minmax(0, 14rem) 1fr; column-gap: 1.5rem; }
}
@media (min-width: 900px) {
  .legal-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap); row-gap: 1.75rem; }
  .legal-nav { grid-column: 1 / span 3; grid-row: 1; flex-direction: column; overflow: visible; border-top: 2px solid var(--ink); border-bottom: 0; }
  .legal-nav a { padding: .7rem 0; border-bottom: 1px solid var(--hair); }
  .legal-nav a:hover { border-bottom-color: var(--hair); text-decoration: underline; }
  .legal-nav a[aria-current="page"] { border-bottom-color: var(--hair); box-shadow: inset 3px 0 0 var(--red); padding-left: .85rem; }
  .prose { grid-column: 4 / span 8; grid-row: 1 / span 2; }
  .prose .glance dt, .prose .glance dd { grid-column: auto; }
  .id-card { grid-column: 1 / span 3; grid-row: 2; }
}

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 2rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-top { display: grid; gap: 1.25rem; padding-bottom: 2.5rem; border-bottom: 1px solid #3a3a3a; }
.brand-light .logo { height: 32px; }
.f-top p { color: var(--on-ink-muted); max-width: 52ch; }
.f-grid { display: grid; gap: 2rem var(--gap); padding: 2.5rem 0; }
.f-h { font-size: .875rem; font-weight: 650; letter-spacing: -0.005em; margin-bottom: 1rem; color: var(--paper); }
.f-grid address, .f-grid li { color: var(--on-ink-muted); font-size: .9375rem; line-height: 1.6; overflow-wrap: anywhere; }
.f-grid address strong { color: var(--paper); font-weight: 650; }
.f-grid ul { display: grid; gap: .45rem; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; border-top: 1px solid #3a3a3a; font-size: .8125rem; color: var(--on-ink-muted); }
@media (min-width: 600px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .f-top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .f-top .brand { grid-column: 1 / span 5; }
  .f-top p { grid-column: 7 / -1; }
  .f-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .f-grid > div:nth-child(1) { grid-column: 1 / span 4; }
  .f-grid > div:nth-child(2) { grid-column: 6 / span 2; }
  .f-grid > div:nth-child(3) { grid-column: 8 / span 2; }
  .f-grid > div:nth-child(4) { grid-column: 10 / -1; }
}

/* ---------------------------------------------------------------- motion
   Aucun contenu n'est masqué en attendant le défilement : un robot de revue (banque, PSP)
   qui capture la page sans la faire défiler doit tout voir. Seuls les survols sont animés. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
