@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #0a0a0a;
  --anthracite: #111111;
  --anthracite-2: #1a1a1a;
  --beige: #e6e0d6;
  --blanc: #ffffff;
  --gris: #a8a29a;
  --gris-brun: #5a5650;
  --terre: #d9663a;
  --terre-fonce: #a8431f;
  --quatre: #8ccb6a;
  --encre-doux: #2a2723;
  --noir-doux: #262626;
  --pad: clamp(26px, 4.8vw, 72px);
  --gap: clamp(12px, 2.4vw, 36px);
  --inset: calc(var(--pad) - var(--gap));
  --bubble: clamp(28px, 3.4vw, 52px);
  --header: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--beige);
  color-scheme: light;
  scrollbar-color: var(--gris-brun) var(--beige);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--encre);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--terre); color: var(--encre); }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
:focus-visible { outline: 3px solid var(--focus, var(--terre-fonce)); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: absolute; left: var(--pad); top: -80px; z-index: 100;
  background: var(--blanc); color: var(--encre); padding: 0.75em 1.1em;
  border-radius: 10px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1500px; margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.top {
  position: fixed; top: var(--gap); left: var(--gap); right: var(--gap); z-index: 50; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(max(var(--pad), (100% - 1500px) / 2) - var(--gap));
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(10, 10, 10, 0.06), 0 12px 32px -12px rgba(10, 10, 10, 0.22);
  color: var(--encre); --focus: var(--terre-fonce);
}
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(230, 224, 214, 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top::before { background: rgba(230, 224, 214, 0.96); }
}
.brand { justify-self: start; display: inline-flex; border-radius: 6px; }
.brand-mark { display: none; }
.nav { display: flex; gap: clamp(1.25rem, 3vw, 2.75rem); }
.nav a { font-size: 0.95rem; font-weight: 500; text-decoration: none; padding: 0.4em 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--terre); }
.top .btn { justify-self: end; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 0.65em;
  background: var(--terre); color: var(--encre);
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1.05em 1.45em; border-radius: 10px; text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--encre); color: var(--blanc); transform: translateY(-2px); }
.g-quatre .btn { background: var(--encre); color: var(--blanc); }
.g-quatre .btn:hover { background: var(--blanc); color: var(--encre); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { font-size: 0.9rem; padding: 0.85em 1.15em; }

.link {
  display: inline-flex; align-items: center; gap: 0.6em;
  color: var(--terre-fonce); font-weight: 600; font-size: 1.05rem;
}
.link .arrow { transition: transform 0.4s var(--ease); }
.link:hover { color: var(--encre); }
.link:hover .arrow { transform: translateX(4px); }

/* Type */
.giant {
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.9;
  font-size: clamp(3.4rem, 11.6vw, 14rem);
}
.hero .giant {
  font-size: clamp(3.4rem, min(11.6vw, calc((min(100vw - 2 * var(--pad), 1500px) - 24rem) / 5.7)), 14rem);
}
.h2 {
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.5rem, 7vw, 6.25rem);
  max-width: 14ch; text-wrap: balance;
}
.body { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; max-width: 52ch; }
.lead-in { margin-top: clamp(1.25rem, 2vw, 2rem); }

.mask { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.mask > span { display: block; }

/* Hero */
.hero {
  --hero-b: clamp(2rem, 5vw, 4.5rem);
  padding: calc(var(--header) + var(--gap) + var(--hero-b)) var(--pad) var(--hero-b);
  min-height: min(94svh, 1000px);
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: max-content minmax(0, 22rem); column-gap: 2rem;
  align-items: end; justify-content: center;
  width: 100%; max-width: 1500px; margin: 0 auto;
}
.line { display: block; overflow: hidden; padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em; }
.w { display: inline-block; }
.tile {
  display: inline-block; position: relative;
  width: 1.28em; height: 0.7em; border-radius: 0.07em;
  vertical-align: baseline;
}
.tile img { position: absolute; inset: 0; margin: auto; width: 44%; height: auto; }
.t1, .t3 { background: var(--encre); }
.t2 { background: var(--quatre); }
.tile::after {
  content: ""; position: absolute; left: 0.16em; bottom: -0.17em; width: 0.19em; height: 0.19em;
  background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%);
}
.tile::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 48%);
}
.hero-foot {
  align-self: end; justify-self: start; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem;
  padding-bottom: 0.4rem;
}
.lede { font-size: clamp(1.05rem, 1.45vw, 1.35rem); line-height: 1.45; max-width: 30ch; }

/* Panels that rise over each other */
.panel {
  position: relative; margin: 0 var(--gap) var(--gap); border-radius: var(--bubble);
  padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(5rem, 11vw, 10rem);
  scroll-margin-top: calc(var(--header) + var(--gap) * 2);
}
.panel { padding-left: var(--inset); padding-right: var(--inset); }
.panel .wrap { padding-left: 0; padding-right: 0; }
.panel {
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -3px 8px rgba(10, 10, 10, 0.05), 0 30px 60px -36px rgba(10, 10, 10, 0.4);
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 32%);
}
.g-noir::before { background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 34%); }
.panel > * { position: relative; }
/* Grounds: light by default; only the top bar and the interview frames stay ink */
.g-beige { background: var(--beige); color: var(--encre); --muted: var(--gris-brun); --rule: rgba(10, 10, 10, 0.16); --focus: var(--terre-fonce); }
.g-blanc { background: var(--blanc); color: var(--encre); --muted: var(--gris-brun); --rule: rgba(10, 10, 10, 0.16); --focus: var(--terre-fonce); }
.g-quatre { background: var(--quatre); color: var(--encre); --muted: var(--encre-doux); --rule: rgba(10, 10, 10, 0.28); --focus: var(--encre); }
.g-noir { background: var(--noir-doux); color: var(--blanc); --muted: #d2ccc2; --rule: rgba(255, 255, 255, 0.18); --focus: var(--terre); border-color: rgba(255, 255, 255, 0.16); }

/* Interviews: colour cards in alternating wide and narrow rows, as on radical.net */
.reel {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px); margin-top: clamp(3rem, 6vw, 6rem);
}
.card {
  --card-r: clamp(18px, 2vw, 28px);
  position: relative; display: flex; border-radius: var(--card-r);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.card-in {
  position: relative; display: flex; flex-direction: column; flex: 1; min-width: 0; overflow: hidden;
  padding: clamp(14px, 1.9vw, 28px); border-radius: inherit;
  background: var(--card); color: var(--card-ink);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.14), inset 0 0 26px rgba(255, 255, 255, 0.1);
}
.card-in::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: calc(100% - var(--sheen-cut, 8.5rem));
  border-radius: var(--card-r) var(--card-r) 0 0; pointer-events: none;
  background: radial-gradient(60% 50% at var(--mx, 18%) var(--my, 0%), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 70%);
  opacity: 0.75; transition: opacity 0.4s ease;
}
.card-in > * { position: relative; z-index: 1; }
.c1 { grid-column: 1 / span 8; --card: #0e7a5a; --card-ink: #ffffff; --card-soft: rgba(255, 255, 255, 0.9); --glow: rgba(14, 122, 90, 0.55); }
.c2 { grid-column: 9 / span 4; --card: #2a5db0; --card-ink: #ffffff; --card-soft: rgba(255, 255, 255, 0.9); --glow: rgba(42, 93, 176, 0.55); }
.c3 { grid-column: 1 / span 4; --card: #f2a900; --card-ink: #0a0a0a; --card-soft: rgba(10, 10, 10, 0.82); --glow: rgba(242, 169, 0, 0.6); }
.c4 { grid-column: 5 / span 8; --card: #7a3b8f; --card-ink: #ffffff; --card-soft: rgba(255, 255, 255, 0.9); --glow: rgba(122, 59, 143, 0.55); }
.media {
  position: relative; flex: 1 1 auto; min-height: 220px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.16); display: grid; place-items: center;
}
.c1 .media, .c4 .media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
.c3 .media { background: rgba(255, 255, 255, 0.32); }
.media .mark { width: 20%; max-width: 116px; height: auto; }
.tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-size: 0.8125rem; font-weight: 500; color: var(--encre-doux);
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(8px) saturate(1.5); backdrop-filter: blur(8px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75); border-radius: 999px; padding: 0.2em 0.8em;
}
.card-text { display: flex; flex-direction: column; gap: 0.35rem; padding-top: clamp(14px, 1.7vw, 24px); }
.meta { font-size: 0.875rem; font-weight: 600; color: var(--card-soft); }
.card-title { font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.45; letter-spacing: -0.01em; }
.card-desc { font-size: clamp(0.95rem, 1.1vw, 1.0625rem); line-height: 1.45; color: var(--card-soft); max-width: 46ch; }
@media (hover: hover) {
  .card:hover, .card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 8px 26px rgba(10, 10, 10, 0.16), 0 30px 56px -22px var(--glow);
  }
  .card:hover .card-in::before { opacity: 1; }
}

/* Services: every row is a liquid-glass bubble */
.services { margin-top: clamp(3rem, 6vw, 5.5rem); display: grid; gap: clamp(12px, 1.6vw, 20px); }
.svc {
  --svc-r: clamp(22px, 2.6vw, 34px);
  position: relative; display: flex; border-radius: var(--svc-r);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.svc-in {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  display: grid; grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px); align-items: center;
  padding: clamp(18px, 2.4vw, 34px) clamp(20px, 2.8vw, 40px);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), inset 0 -2px 6px rgba(0, 0, 0, 0.3), inset 0 0 28px rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}
.svc-in::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(55% 90% at var(--mx, 12%) var(--my, 0%), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 70%);
  opacity: 0.7; transition: opacity 0.4s ease;
}
.svc-in > * { position: relative; z-index: 1; }
.svc-mark { width: 100%; max-width: 72px; height: auto; }
.svc-title { font-weight: 700; letter-spacing: -0.025em; line-height: 1.4; font-size: clamp(1.75rem, 4vw, 3.4rem); }
.svc-text { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.2rem); max-width: 36ch; }
.more { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* Glass bubble button */
.btn-bubble {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.65em;
  font-family: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1; color: var(--blanc); text-decoration: none;
  padding: 1.1em 1.6em; border-radius: 24px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s ease;
}
.btn-bubble::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 120% at var(--mx, 15%) var(--my, 0%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
}
.btn-bubble .arrow { transition: transform 0.4s var(--ease); }
@media (hover: hover) {
  .svc:hover, .svc:focus-within { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.5); }
  .svc:hover .svc-in { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
  .svc:hover .svc-in::before { opacity: 1; }
  .btn-bubble:hover, .btn-bubble:focus-visible { transform: translateY(-3px); background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 34px rgba(0, 0, 0, 0.5); }
  .btn-bubble:hover .arrow { transform: translateX(4px); }
}

/* About */
.about { display: grid; grid-template-columns: minmax(140px, 0.5fr) 1.5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-mark { width: clamp(140px, 20vw, 300px); height: auto; }
.about-copy .body { margin-top: 1.25rem; }
.about-copy .h2 { margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }

/* Closing call */
.close { padding-bottom: clamp(5rem, 9vw, 8rem); }
.close .body { margin-top: clamp(1.25rem, 2vw, 2rem); }
.actions { margin-top: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.handle { color: var(--muted); font-size: 1rem; }

/* Footer */
.foot { background: var(--beige); color: var(--encre); border-top: 1px solid rgba(10, 10, 10, 0.16); padding: clamp(2rem, 4vw, 3.5rem) var(--pad); }
.foot .wrap { padding-left: 0; padding-right: 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.foot-line { font-weight: 600; font-size: 1.05rem; }
.foot-small { color: var(--gris-brun); font-size: 0.9rem; }

/* Motion: content is visible by default; hidden states exist only when JavaScript runs */
.js .hero .w { transform: translateY(108%); transition: transform 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.js .hero .tile { opacity: 0; transform: scale(0.6); transition: transform 0.95s var(--ease), opacity 0.5s ease; transition-delay: calc(var(--i, 0) * 110ms + 420ms); }
.js .hero .hero-foot { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.9s var(--ease); transition-delay: 1.15s; }
.js.is-ready .hero .w { transform: none; }
.js.is-ready .hero .tile { opacity: 1; transform: none; }
.js.is-ready .hero .hero-foot { opacity: 1; transform: none; }

.js .mask > span { transform: translateY(108%); transition: transform 1.1s var(--ease); }
.js .mask.in > span { transform: none; }

.js .card .card-in { clip-path: inset(100% 0 0 0 round var(--card-r)); transition: clip-path 1.15s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
.js .card.in .card-in { clip-path: inset(0 0 0 0 round var(--card-r)); }

.js .svc .svc-in { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.8s ease, transform 1s var(--ease), background-color 0.4s ease, border-color 0.4s ease; transition-delay: calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), 0s, 0s; }
.js .svc.in .svc-in { opacity: 1; transform: none; }

.js .about-mark { opacity: 0; transform: scale(0.82); transition: opacity 0.8s ease, transform 1.2s var(--ease); }
.js .about-mark.in { opacity: 1; transform: none; }

.js .lead-in[data-reveal], .js .about-copy .body[data-reveal], .js .close .body[data-reveal], .js .actions[data-reveal], .js .more[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms);
}
.js .lead-in.in, .js .about-copy .body.in, .js .close .body.in, .js .actions.in, .js .more.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .hero { align-items: flex-start; min-height: 0; }
  .hero .giant { font-size: clamp(3.4rem, 13vw, 9rem); }
  .hero-grid { grid-template-columns: max-content; gap: 2.25rem; align-items: start; justify-content: center; }
  .hero-foot { justify-self: start; width: 100%; max-width: 30rem; }
}
@media (max-width: 900px) {
  .svc-in { grid-template-columns: clamp(48px, 12vw, 72px) minmax(0, 1fr); }
  .svc-text { grid-column: 2; margin-top: -0.5rem; }
  .c1, .c2, .c3, .c4 { grid-column: 1 / -1; }
  .c2 .media, .c3 .media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --header: 56px; }
  .top { border-radius: 18px; }
  .giant, .hero .giant { font-size: clamp(3.4rem, 16vw, 7rem); }
  .hero { align-items: flex-start; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-foot { justify-self: start; width: 100%; }
  .t3 { display: none; }
  .h2 { max-width: none; }
}
@media (max-width: 520px) {
  .tag { left: 10px; top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Services page (placeholder until the details and prices exist) */
.sub .hero { min-height: 0; align-items: flex-start; }
.sub .hero-grid { grid-template-columns: 1fr; justify-content: stretch; align-items: start; row-gap: 2rem; }
.sub .hero .giant { font-size: clamp(3rem, 10vw, 9rem); }
.sub .hero-foot { max-width: 34rem; }
.sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sub-back { font-weight: 600; color: var(--terre-fonce); }
.sub-back:hover { color: var(--encre); }

/* Glass buttons on the green closing bubble */
.g-quatre .btn-bubble {
  color: var(--encre); background: rgba(255, 255, 255, 0.38); border-color: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -2px 5px rgba(10, 10, 10, 0.12);
}
.g-quatre .btn-bubble::before { background: radial-gradient(70% 120% at var(--mx, 15%) var(--my, 0%), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%); }
.social { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.glass-icon {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  color: var(--brand, var(--encre)); background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px) saturate(1.5); backdrop-filter: blur(12px) saturate(1.5);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 5px rgba(10, 10, 10, 0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s ease;
}
.glass-icon::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 120% at var(--mx, 15%) var(--my, 0%), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 70%);
}
.glass-icon svg { width: 26px; height: 26px; }
@media (hover: hover) {
  .g-quatre .btn-bubble:hover, .glass-icon:hover, .glass-icon:focus-visible {
    transform: translateY(-4px); background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85), inset 0 -2px 5px rgba(10, 10, 10, 0.1), 0 10px 26px rgba(10, 10, 10, 0.2), 0 28px 46px -22px rgba(10, 10, 10, 0.38);
  }
}
.close .actions { gap: 1.25rem 1.75rem; }
.close .handle { margin-top: 1.25rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terre); }
.sub main > .panel:first-child { margin-top: calc(var(--header) + var(--gap) * 2); }

/* Social icons in their own brand colours */
.is-instagram { --brand: #d62976; }
.is-linkedin { --brand: #0a66c2; }
.is-youtube { --brand: #d40000; }
.is-facebook { --brand: #1465d8; }
.glass-icon svg { stroke-width: 2.2; }
@media (hover: hover) {
  .glass-icon:hover, .glass-icon:focus-visible { background: color-mix(in srgb, var(--brand) 18%, rgba(255, 255, 255, 0.85)); }
}

/* Header menu: two bars on small screens, every tab inside */
.menu-toggle { display: none; }
.nav-home, .nav-cta { display: none; }
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; }
  .top .btn { display: none; }
  .brand-full { display: block; height: 30px; width: auto; }
  .brand-mark { display: none; }
  .menu-toggle {
    display: grid; place-items: center; justify-self: end; width: 46px; height: 46px; padding: 0; cursor: pointer;
    color: var(--encre); background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 15px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(10, 10, 10, 0.08);
    transition: background-color 0.3s ease, transform 0.4s var(--ease);
  }
  .menu-toggle:active { transform: scale(0.95); }
  .menu-toggle .bars { position: relative; display: block; width: 22px; height: 12px; }
  .menu-toggle i {
    position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor;
    transition: transform 0.45s var(--ease), top 0.45s var(--ease);
  }
  .menu-toggle i:first-child { top: 1px; }
  .menu-toggle i:last-child { top: 8.5px; }
  .top.menu-open .menu-toggle i:first-child { top: 5px; transform: rotate(45deg); }
  .top.menu-open .menu-toggle i:last-child { top: 5px; transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px;
    background: rgba(230, 224, 214, 0.8); border: 1px solid rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 26px 50px -22px rgba(10, 10, 10, 0.4);
  }
  .top.menu-open .nav { display: flex; }
  .nav a { padding: 0.95em 1.05em; border-radius: 14px; font-size: 1.05rem; font-weight: 600; }
  .nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.6); text-decoration: none; }
  .nav .nav-home { display: block; }
  .nav a.nav-cta { display: block; margin-top: 6px; text-align: center; background: var(--terre); color: var(--encre); }
  .nav a.nav-cta:hover { background: var(--encre); color: var(--blanc); }
}

/* Small glass bubble on the white interviews bubble */
.g-blanc .btn-bubble {
  color: var(--encre); background: rgba(230, 224, 214, 0.6); border-color: rgba(10, 10, 10, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(10, 10, 10, 0.07);
}
.g-blanc .btn-bubble::before { background: radial-gradient(70% 120% at var(--mx, 15%) var(--my, 0%), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%); }
@media (hover: hover) {
  .g-blanc .btn-bubble:hover, .g-blanc .btn-bubble:focus-visible {
    transform: translateY(-3px); background: rgba(230, 224, 214, 0.92);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(10, 10, 10, 0.07), 0 10px 26px rgba(10, 10, 10, 0.14), 0 26px 44px -22px rgba(10, 10, 10, 0.3);
  }
}
.reel + .more { margin-top: clamp(1.75rem, 3vw, 2.5rem); }

/* Interviews page: one bubble per interview */
.ib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.ib .card-in { --sheen-cut: 6rem; }
.ib-btn {
  display: flex; flex-direction: column; width: 100%; margin: 0; padding: 0; border: 0; background: none;
  color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: inherit;
}
.ib-btn:focus-visible { outline: 3px solid var(--card-ink); outline-offset: 6px; }
.ib-portrait {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 14px; background: rgba(255, 255, 255, 0.16);
}
.ib-portrait .mark { width: 22%; max-width: 100px; height: auto; }
.ib-portrait .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ib-name { margin-top: clamp(14px, 1.6vw, 22px); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -0.01em; }
.ib-country { color: var(--card-soft); font-size: 0.95rem; }
.ib-quote {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 14px 16px; border-radius: 16px;
  background: rgba(10, 10, 10, 0.5); border: 1px solid rgba(255, 255, 255, 0.25); color: #ffffff;
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.45;
  opacity: 0; transform: translateY(14px); transition: opacity 0.4s ease, transform 0.5s var(--ease); pointer-events: none;
}
@media (hover: hover) {
  .ib-btn:hover .ib-quote, .ib-btn:focus-visible .ib-quote { opacity: 1; transform: none; }
}
@media (hover: none) { .ib-quote { opacity: 1; transform: none; } }

/* Interview window */
html:has(dialog[open]) { overflow: hidden; }
.iv-dialog {
  width: min(92vw, 820px); max-height: 92svh; margin: auto; padding: 0; overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 28px;
  background: var(--card); color: var(--card-ink);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 40px 80px -30px rgba(10, 10, 10, 0.6);
}
.iv-dialog::backdrop { background: rgba(10, 10, 10, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.iv-in { position: relative; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); padding: clamp(16px, 2.4vw, 32px); }
.iv-close {
  position: absolute; top: clamp(16px, 2.4vw, 32px); right: clamp(16px, 2.4vw, 32px); z-index: 3;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer; color: inherit;
  background: rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 14px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.iv-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 14px;
  background: rgba(255, 255, 255, 0.16); color: inherit; text-decoration: none; overflow: hidden;
}
.iv-media .mark { width: 14%; max-width: 96px; height: auto; transition: transform 0.5s var(--ease); }
.iv-media:hover .mark { transform: scale(1.08); }
.iv-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.iv-quote { font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: -0.015em; }
.iv-summary { color: var(--card-soft); max-width: 58ch; }
.iv-dialog .btn-bubble {
  margin-top: 0.4rem; color: var(--card-ink);
  background: rgba(10, 10, 10, 0.22); border-color: color-mix(in srgb, var(--card-ink) 45%, transparent);
}
@media (max-width: 900px) { .ib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ib-grid { grid-template-columns: minmax(0, 1fr); } }

/* Reviews: stars, context, from point A to point B */
.stars { display: inline-flex; gap: 2px; color: var(--star, #ffd23f); }
.stars .star { width: 18px; height: 18px; fill: currentColor; }
.ib-quote .stars { display: flex; margin-bottom: 6px; color: #ffd23f; }
.ib-quote-text { display: block; }
.iv-role { color: var(--card-soft); font-size: 0.95rem; margin-top: -0.35rem; }
.iv-text > .stars { margin: 0.1rem 0 0.2rem; }
.iv-summary b { font-weight: 700; margin-right: 0.35em; }
.tag-inline { position: static; display: inline-block; }
.av-ab { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; width: 100%; margin-top: 0.6rem; }
.av-ab .av-arrow { align-self: center; }
.av-point {
  padding: 14px 16px; border-radius: 18px; font-size: 0.95rem; line-height: 1.4;
  background: rgba(10, 10, 10, 0.2); border: 1px solid color-mix(in srgb, var(--card-ink) 30%, transparent);
}
.av-point b { display: block; font-weight: 700; margin-bottom: 4px; }
.av-arrow { width: 28px; height: 28px; flex: none; }
@media (max-width: 640px) {
  .av-ab { grid-template-columns: minmax(0, 1fr); }
  .av-arrow { justify-self: center; transform: rotate(90deg); }
}

/* Video that starts inside the bubble on hover */
.ib-video {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
}
.ib-portrait.is-playing .ib-video { opacity: 1; }

/* About page: the founder */
.me { display: grid; grid-template-columns: minmax(180px, 0.55fr) 1.45fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.me-portrait {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: clamp(20px, 2.4vw, 32px); overflow: hidden;
  background: rgba(255, 255, 255, 0.42); border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.85), inset 0 -2px 6px rgba(10, 10, 10, 0.1), 0 24px 50px -28px rgba(10, 10, 10, 0.4);
}
.me-portrait .mark { width: 22%; max-width: 110px; height: auto; }
.me-portrait .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.me-role { margin: clamp(1rem, 2vw, 1.5rem) 0 0; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4; }
.me-copy .body { margin-top: 1.1rem; }
@media (max-width: 900px) { .me { grid-template-columns: minmax(0, 1fr); } .me-portrait { max-width: 360px; } }

/* Interviews: video or written, with a filter */
.ib-type {
  position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.25em 0.75em 0.25em 0.6em; border-radius: 999px; color: #ffffff; font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
  background: rgba(10, 10, 10, 0.5); border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
}
.ib-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1; cursor: pointer;
  padding: 0.85em 1.3em; border-radius: 999px; color: var(--encre);
  background: rgba(230, 224, 214, 0.6); border: 1px solid rgba(10, 10, 10, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(10, 10, 10, 0.07);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s ease, color 0.3s ease;
}
.chip[aria-pressed="true"] { background: var(--encre); color: var(--blanc); border-color: var(--encre); box-shadow: none; }
@media (hover: hover) {
  .chip:hover { transform: translateY(-2px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 8px 22px rgba(10, 10, 10, 0.14); }
  .chip[aria-pressed="true"]:hover { box-shadow: 0 8px 22px rgba(10, 10, 10, 0.3); }
}
.ib-count { margin: 0.9rem 0 0; color: var(--gris-brun); font-size: 0.95rem; }
.ib-filter ~ .ib-grid { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.card.ib[hidden] { display: none; }

/* Written interview page */
.article { max-width: 68ch; margin: 0 auto; display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.article .body { max-width: none; }
.article-quote { margin: 0; font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.2; letter-spacing: -0.02em; }

/* Services page: offers with their prices */
.offers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(3rem, 6vw, 5rem); }
.o-audit { grid-column: 1 / span 5; --card: #f2a900; --card-ink: #0a0a0a; --card-soft: rgba(10, 10, 10, 0.82); --glow: rgba(242, 169, 0, 0.6); --bb: rgba(255, 255, 255, 0.4); }
.o-parole { grid-column: 6 / span 7; --card: #0e7a5a; --card-ink: #ffffff; --card-soft: rgba(255, 255, 255, 0.9); --glow: rgba(14, 122, 90, 0.55); --bb: rgba(10, 10, 10, 0.22); }
.o-porte { grid-column: 1 / -1; --card: #7a3b8f; --card-ink: #ffffff; --card-soft: rgba(255, 255, 255, 0.9); --glow: rgba(122, 59, 143, 0.55); --bb: rgba(10, 10, 10, 0.22); }
.offer .card-in { gap: clamp(1rem, 1.8vw, 1.5rem); padding: clamp(22px, 3vw, 44px); --sheen-cut: 55%; }
.offer-name { font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.2rem, 4.2vw, 3.8rem); text-wrap: balance; }
.offer-desc { color: var(--card-soft); font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.5; max-width: 42ch; }
.offer-note { color: var(--card-soft); font-size: 0.95rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.5em; font-weight: 600; color: var(--card-soft); }
.price b { color: var(--card-ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-variant-numeric: tabular-nums; }
.price-rows { border-bottom: 1px solid color-mix(in srgb, var(--card-ink) 25%, transparent); }
.price-rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3em 1em; padding: 0.85em 0; border-top: 1px solid color-mix(in srgb, var(--card-ink) 25%, transparent); font-weight: 600; }
.price-rows b { font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-rows small { font-size: max(0.8125rem, 0.55em); font-weight: 600; margin-left: 0.15em; color: var(--card-soft); }
.incl { display: grid; gap: 0.55rem; }
.incl li { display: flex; gap: 0.6em; line-height: 1.45; }
.incl li::before {
  content: ""; flex: none; width: 1.1em; height: 1.1em; margin-top: 0.18em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.offer .btn-bubble { align-self: flex-start; margin-top: auto; color: var(--card-ink); background: var(--bb); border-color: color-mix(in srgb, var(--card-ink) 40%, transparent); }
@media (hover: hover) {
  .offer .btn-bubble:hover, .offer .btn-bubble:focus-visible { background: var(--bb-h); }
}
.o-audit { --bb-h: rgba(255, 255, 255, 0.65); }
.o-parole, .o-porte { --bb-h: rgba(10, 10, 10, 0.36); }
.o-porte .card-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.offer-head, .offer-body { display: flex; flex-direction: column; gap: clamp(1rem, 1.8vw, 1.5rem); }
.o-porte .btn-bubble { margin-top: 0.5rem; }
.facts { margin-top: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.facts > div { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); gap: 0.4rem 2rem; padding: clamp(1.1rem, 2vw, 1.6rem) 0; border-top: 1px solid var(--rule); }
.facts dt { font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.4; }
.facts dd { margin: 0; color: var(--muted); max-width: 58ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.js .facts[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.9s var(--ease); }
.js .facts.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .o-audit, .o-parole, .o-porte { grid-column: 1 / -1; }
  .o-porte .card-in { grid-template-columns: minmax(0, 1fr); row-gap: clamp(1rem, 1.8vw, 1.5rem); }
  .facts > div { grid-template-columns: minmax(0, 1fr); }
}

/* Grouped header menu: a large white bubble per group, as on radical.net */
.nav-group { display: contents; }
.nav-trigger {
  font: inherit; font-size: 0.95rem; font-weight: 500; color: inherit; line-height: 1.6;
  background: none; border: 0; padding: 0.4em 0; cursor: pointer;
  text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
}
.nav-trigger:hover, .nav-trigger.is-current, .nav-group.is-open .nav-trigger { text-decoration: underline; text-decoration-color: var(--terre); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 3.5vw, 4rem); align-items: start;
  padding: clamp(24px, 2.6vw, 40px); border-radius: clamp(22px, 2.4vw, 32px);
  background: var(--blanc); color: var(--encre);
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.06), 0 34px 70px -28px rgba(10, 10, 10, 0.42);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.99); transform-origin: top center;
  transition: opacity 0.25s ease, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.nav-group.is-open .mega { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.5s var(--ease), visibility 0s; }
.mega-slogan { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(2.4rem, 4.4vw, 4.6rem); text-wrap: balance; max-width: 9ch; }
.nav .mega-feature {
  display: flex; flex-direction: column; gap: 0.9rem; padding: 12px 12px 1.4rem; border-radius: 20px;
  background: var(--card); color: #ffffff; font-size: 1.05rem; font-weight: 600; line-height: 1.4; text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.14);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav .mega-feature.is-light { color: var(--encre); }
.mega-media { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; background: rgba(255, 255, 255, 0.18); }
.is-light .mega-media { background: rgba(255, 255, 255, 0.34); }
.mega-media img { width: 22%; max-width: 72px; height: auto; transition: transform 0.6s var(--ease); }
.mega-caption { padding: 0 0.35rem; }
.nav .mega-feature:hover { text-decoration: none; transform: translateY(-4px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 10px 26px rgba(10, 10, 10, 0.16), 0 28px 48px -22px rgba(10, 10, 10, 0.35); }
.mega-feature:hover .mega-media img { transform: scale(1.08); }
.mega-links { display: grid; gap: 0.15rem; }
.nav .mega-links a {
  display: inline-block; padding: 0.05em 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  font-size: clamp(1.7rem, 2.5vw, 2.7rem); text-decoration: none; white-space: nowrap;
  transition: color 0.25s ease, transform 0.45s var(--ease);
}
.nav .mega-links a:hover, .nav .mega-links a:focus-visible { color: var(--terre-fonce); transform: translateX(6px); text-decoration: none; }
.nav .mega-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terre); text-decoration-thickness: 0.06em; }
@media (max-width: 1100px) and (min-width: 901px) {
  .mega { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mega-slogan { display: none; }
}
@media (max-width: 900px) {
  .nav { max-height: calc(100svh - var(--header) - var(--gap) * 3); overflow-y: auto; overscroll-behavior: contain; }
  .nav-group { display: block; padding-top: 6px; }
  .nav-trigger { display: block; width: 100%; text-align: left; padding: 0.6em 1.05em 0.2em; font-size: 0.85rem; font-weight: 600; color: var(--gris-brun); cursor: default; text-decoration: none !important; }
  .mega { position: static; display: block; padding: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .mega-slogan, .nav .mega-feature { display: none; }
  .mega-links { gap: 2px; }
  .nav .mega-links a { display: block; padding: 0.8em 1.05em; border-radius: 14px; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; transform: none; }
  .nav .mega-links a:hover, .nav .mega-links a[aria-current="page"] { color: var(--encre); background: rgba(255, 255, 255, 0.6); text-decoration: none; }
}

/* Header tools: search, light or dark */
.top-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.tool-btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer; color: var(--encre);
  background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 14px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 4px rgba(10, 10, 10, 0.08);
  transition: background-color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tool-btn:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-2px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 8px 20px rgba(10, 10, 10, 0.14); }
.tool-btn:active { transform: scale(0.95); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-faq[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terre); }
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto auto; column-gap: 10px; }
  .top-tools { grid-column: 2; grid-row: 1; gap: 8px; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .tool-btn { width: 46px; height: 46px; border-radius: 15px; }
}
@media (max-width: 380px) { .top-tools .tool-btn:first-child { display: none; } }

/* Reading progress, from the top edge of the screen */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 3px; pointer-events: none; }
.progress-bar { display: block; height: 100%; background: var(--terre); border-radius: 0 3px 3px 0; transform-origin: 0 50%; transform: scaleX(0); }

/* Floating buttons: back to top and the exchange request */
.float { position: fixed; right: var(--gap); bottom: var(--gap); z-index: 45; display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; pointer-events: none; }
.float > a { pointer-events: auto; transition: opacity 0.35s ease, transform 0.55s var(--ease), visibility 0s, background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s var(--ease); }
.float-ready .float > a:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96); transition: opacity 0.25s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s; }
.float-top {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--encre);
  background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 10px 26px rgba(10, 10, 10, 0.18);
}
.float-top:hover { background: rgba(255, 255, 255, 0.92); transform: translateY(-3px); }
.float-cta {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 1em 1.35em; border-radius: 999px;
  background: var(--terre); color: var(--encre); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 10px 26px -6px rgba(10, 10, 10, 0.3);
}
.float-cta:hover { background: var(--encre); color: var(--blanc); transform: translateY(-3px); }
.float-cta .arrow { transition: transform 0.4s var(--ease); }
.float-cta:hover .arrow { transform: translateX(4px); }

/* Search window */
.search {
  width: min(92vw, 720px); max-height: min(78svh, 680px); margin: calc(var(--header) + var(--gap) * 2) auto auto; padding: 0; overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.08); border-radius: 26px; background: var(--blanc); color: var(--encre);
  box-shadow: 0 40px 80px -30px rgba(10, 10, 10, 0.5);
}
.search::backdrop { background: rgba(10, 10, 10, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-in { display: flex; flex-direction: column; max-height: min(78svh, 680px); }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid rgba(10, 10, 10, 0.1); }
.search-bar:focus-within { box-shadow: inset 0 -2px 0 var(--terre); }
.search-ico { flex: none; color: var(--gris-brun); }
.search-input { flex: 1; min-width: 0; padding: 0.35em 0; border: 0; outline: none; background: none; color: inherit; font: inherit; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
.search-input::placeholder { color: var(--gris-brun); opacity: 1; font-weight: 500; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-close { flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer; color: inherit; background: rgba(10, 10, 10, 0.06); border: 0; border-radius: 13px; }
.search-close:hover { background: rgba(10, 10, 10, 0.12); }
.search-status { padding: 12px 20px 6px; color: var(--gris-brun); font-size: 0.95rem; }
.search-results { overflow-y: auto; overscroll-behavior: contain; padding: 4px 10px 14px; }
.search-results a { display: grid; gap: 2px; padding: 12px 12px; border-radius: 14px; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: rgba(10, 10, 10, 0.05); }
.search-results a:focus-visible { outline-offset: 0; }
.sr-page { font-size: 0.8125rem; font-weight: 600; color: var(--terre-fonce); }
.sr-title { font-weight: 700; font-size: 1.1rem; line-height: 1.35; }
.sr-text { color: var(--gris-brun); font-size: 0.95rem; line-height: 1.45; }
.search mark { background: rgba(217, 102, 58, 0.3); color: inherit; border-radius: 3px; padding: 0 0.08em; }

/* FAQ page */
.faq { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); max-width: 980px; }
.faq-title { font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem); scroll-margin-top: calc(var(--header) + var(--gap) * 3); }
.faq-item { border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header) + var(--gap) * 3); }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; list-style: none; cursor: pointer;
  padding: clamp(1rem, 1.8vw, 1.4rem) 0; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.4;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terre-fonce); }
.faq-ico { flex: none; transition: transform 0.45s var(--ease); }
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-item p { padding: 0 0 clamp(1.1rem, 2vw, 1.6rem); color: var(--muted); max-width: 62ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.faq-item p a { color: var(--terre-fonce); font-weight: 600; }
.js .faq-group[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms); }
.js .faq-group.in { opacity: 1; transform: none; }

/* Dark mode: the beige and white grounds turn to warm blacks; colour bubbles keep their colours */
[data-theme="dark"] { color-scheme: dark; background: #121110; scrollbar-color: #5a5650 #121110; }
[data-theme="dark"] body { background: #121110; color: #f2eee8; }
[data-theme="dark"] .g-beige { background: #121110; color: #f2eee8; --muted: #b9b1a5; --rule: rgba(242, 238, 232, 0.14); --focus: var(--terre); }
[data-theme="dark"] .g-blanc { background: #1d1b19; color: #f2eee8; --muted: #b9b1a5; --rule: rgba(242, 238, 232, 0.14); --focus: var(--terre); }
[data-theme="dark"] .g-noir { background: #2a2825; }
[data-theme="dark"] .panel:not(.g-quatre) { border-color: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 30px 60px -36px rgba(0, 0, 0, 0.8); }
[data-theme="dark"] .panel:not(.g-quatre)::before { background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 32%); }
[data-theme="dark"] .top { color: #f2eee8; --focus: var(--terre); border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 32px -12px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .top::before { background: rgba(18, 17, 16, 0.62); }
[data-theme="dark"] .tool-btn, [data-theme="dark"] .menu-toggle { color: #f2eee8; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .tool-btn:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.4); }
[data-theme="dark"] .mega { background: #1d1b19; color: #f2eee8; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 34px 70px -28px rgba(0, 0, 0, 0.85); }
[data-theme="dark"] .nav .mega-links a:hover, [data-theme="dark"] .nav .mega-links a:focus-visible { color: var(--terre); }
[data-theme="dark"] .btn:hover { background: #f2eee8; color: var(--encre); }
[data-theme="dark"] .link, [data-theme="dark"] .sub-back, [data-theme="dark"] .faq-item p a { color: var(--terre); }
[data-theme="dark"] .link:hover, [data-theme="dark"] .sub-back:hover { color: #f2eee8; }
[data-theme="dark"] .faq-item summary:hover { color: var(--terre); }
[data-theme="dark"] .foot { background: #121110; color: #f2eee8; border-top-color: rgba(242, 238, 232, 0.12); }
[data-theme="dark"] .foot-small, [data-theme="dark"] .ib-count { color: #b9b1a5; }
[data-theme="dark"] .t1, [data-theme="dark"] .t3 { background: #34312d; }
[data-theme="dark"] .g-blanc .btn-bubble { color: #f2eee8; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .g-blanc .btn-bubble::before { background: radial-gradient(70% 120% at var(--mx, 15%) var(--my, 0%), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 70%); }
[data-theme="dark"] .g-blanc .btn-bubble:hover, [data-theme="dark"] .g-blanc .btn-bubble:focus-visible { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.5); }
[data-theme="dark"] .chip { color: #f2eee8; background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
[data-theme="dark"] .chip[aria-pressed="true"] { background: #f2eee8; color: var(--encre); border-color: #f2eee8; }
[data-theme="dark"] .float-top { color: #f2eee8; background: rgba(29, 27, 25, 0.72); border-color: rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 10px 26px rgba(0, 0, 0, 0.5); }
[data-theme="dark"] .float-top:hover { background: rgba(45, 42, 39, 0.92); }
[data-theme="dark"] .float-cta:hover { background: #f2eee8; color: var(--encre); }
[data-theme="dark"] .search { background: #1d1b19; color: #f2eee8; border-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .search-bar { border-bottom-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .search-close { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .search-close:hover, [data-theme="dark"] .search-results a:hover, [data-theme="dark"] .search-results a:focus-visible { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .search-status, [data-theme="dark"] .sr-text, [data-theme="dark"] .search-ico, [data-theme="dark"] .search-input::placeholder { color: #b9b1a5; }
[data-theme="dark"] .sr-page { color: var(--terre); }
@media (max-width: 900px) {
  [data-theme="dark"] .nav { background: rgba(24, 23, 21, 0.9); border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 26px 50px -22px rgba(0, 0, 0, 0.8); }
  [data-theme="dark"] .nav a:hover, [data-theme="dark"] .nav a[aria-current="page"], [data-theme="dark"] .nav .mega-links a:hover, [data-theme="dark"] .nav .mega-links a[aria-current="page"] { color: #f2eee8; background: rgba(255, 255, 255, 0.08); }
  [data-theme="dark"] .nav-trigger { color: #b9b1a5; }
}
[data-theme="dark"] .card { --glow: rgba(0, 0, 0, 0.7); }

/* Contact page: a five-step form in the middle of the screen */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-contact[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--terre); }
.contact { padding: calc(var(--header) + var(--gap) * 2 + clamp(1.5rem, 4vw, 3.5rem)) var(--gap) clamp(2rem, 5vw, 4rem); display: grid; justify-items: center; gap: clamp(1.75rem, 3.5vw, 3rem); }
.contact-head { text-align: center; display: grid; justify-items: center; gap: 1rem; max-width: 40rem; padding: 0 var(--inset); }
.contact-title { font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; font-size: clamp(2.6rem, 7vw, 5.6rem); text-wrap: balance; }
.contact-head .lede { max-width: 34ch; }
.stepper { width: min(100%, 860px); margin: 0; padding: clamp(22px, 4vw, 56px); }
.step-meta { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.step-count { flex: none; font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.step-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--rule); overflow: hidden; }
.step-bar span { display: block; height: 100%; width: 100%; background: var(--terre); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--progress, 1)); transition: transform 0.6s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js-form .step:not(.is-active) { display: none; }
.stepper:not(.js-form) .step + .step { margin-top: 3rem; }
.js-form .step.is-active { animation: step-in 0.55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step-title { padding: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(1.9rem, 4vw, 3rem); text-wrap: balance; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.step-help { margin: calc(clamp(1.25rem, 2.5vw, 2rem) * -0.5) 0 1.25rem; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.choice {
  position: relative; display: grid; align-content: start; gap: 0.35rem; cursor: pointer; min-height: 11rem;
  padding: clamp(16px, 2vw, 24px); border-radius: clamp(18px, 2vw, 26px); background: var(--card); color: #ffffff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.14);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.choice.is-light { color: var(--encre); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-mark { width: 52px; height: 52px; margin-bottom: 0.6rem; }
.choice-name { font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; }
.choice-desc { font-size: 0.98rem; line-height: 1.45; opacity: 0.9; max-width: 30ch; }
.choice-check {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: var(--encre); opacity: 0; transform: scale(0.6);
  transition: opacity 0.25s ease, transform 0.45s var(--ease);
}
.choice:has(input:checked) { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 0 0 3px var(--blanc), 0 0 0 6px var(--encre); }
.choice:has(input:checked) .choice-check { opacity: 1; transform: none; }
.choice:has(input:focus-visible) { outline: 3px solid var(--terre-fonce); outline-offset: 5px; }
@media (hover: hover) { .choice:hover { transform: translateY(-4px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 10px 24px rgba(10, 10, 10, 0.16); } }
.fields.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.15rem; color: inherit; padding: 0.85em 1em; border-radius: 16px;
  background: rgba(230, 224, 214, 0.45); border: 1.5px solid rgba(10, 10, 10, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--gris-brun); opacity: 0.85; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terre-fonce); background: var(--blanc); box-shadow: 0 0 0 4px rgba(217, 102, 58, 0.22); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field-error, .form-error { color: #b3261e; font-weight: 600; font-size: 0.95rem; margin-top: 0.5rem; }
.form-error a { color: inherit; }
.step-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.step-next { margin-left: auto; font-size: 1.05rem; }
.step-next[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.step-back { font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 0.6em 0.2em; cursor: pointer; text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: transparent; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.step-back:hover { color: inherit; text-decoration-color: var(--terre); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Voice message */
.rec { margin-top: 1rem; display: grid; gap: 0.75rem; }
.rec-start, .rec-stop, .rec-redo, .rec-del {
  font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 0.6em; justify-self: start;
  padding: 0.85em 1.25em; border-radius: 999px; color: inherit; background: rgba(230, 224, 214, 0.6); border: 1px solid rgba(10, 10, 10, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(10, 10, 10, 0.07);
  transition: transform 0.35s var(--ease), background-color 0.2s ease;
}
.rec-start:hover, .rec-redo:hover, .rec-del:hover { transform: translateY(-2px); background: rgba(230, 224, 214, 0.95); }
.rec-live { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; padding: 0.7rem 0.7rem 0.7rem 1.1rem; border-radius: 999px; background: rgba(217, 102, 58, 0.12); justify-self: start; }
.rec-live[hidden], .rec-done[hidden] { display: none; }
.rec-pulse { width: 12px; height: 12px; border-radius: 50%; background: #d42a1e; animation: rec-pulse 1.2s ease-in-out infinite; }
@keyframes rec-pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
.rec-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-max { color: var(--muted); font-size: 0.95rem; }
.rec-stop { background: var(--encre); color: var(--blanc); border-color: var(--encre); box-shadow: none; }
.rec-done { display: grid; gap: 0.75rem; }
.rec-done audio { width: 100%; max-width: 460px; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rec-note { color: var(--muted); font-size: 0.95rem; }
.rec-note:empty { display: none; }
/* After sending */
.contact-done { display: none; width: min(100%, 860px); margin: 0; padding: clamp(28px, 5vw, 64px); }
.contact-done:target, .contact-done.is-shown { display: block; }
.contact-done .body { margin-top: 1.25rem; }
.contact-done .actions { margin-top: 1.75rem; }
.contact:has(.contact-done:target) .stepper, .contact:has(.contact-done:target) .contact-head { display: none; }
@media (max-width: 640px) {
  .choices, .fields.two { grid-template-columns: minmax(0, 1fr); }
  .choice { min-height: 0; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .choice-mark { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .choice-check { width: 30px; height: 30px; top: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) { .js-form .step.is-active { animation: none; } .rec-pulse { animation: none; } }
[data-theme="dark"] .field input, [data-theme="dark"] .field textarea { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.18); }
[data-theme="dark"] .field input:focus, [data-theme="dark"] .field textarea:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--terre); }
[data-theme="dark"] .field input::placeholder, [data-theme="dark"] .field textarea::placeholder { color: #b9b1a5; }
[data-theme="dark"] .field-error, [data-theme="dark"] .form-error { color: #ff8a80; }
[data-theme="dark"] .field input[aria-invalid="true"] { border-color: #ff8a80; }
[data-theme="dark"] .rec-start, [data-theme="dark"] .rec-redo, [data-theme="dark"] .rec-del { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
[data-theme="dark"] .rec-start:hover, [data-theme="dark"] .rec-redo:hover, [data-theme="dark"] .rec-del:hover { background: rgba(255, 255, 255, 0.14); }
[data-theme="dark"] .rec-stop { background: #f2eee8; color: var(--encre); }
[data-theme="dark"] .choice:has(input:checked) { box-shadow: 0 0 0 3px #1d1b19, 0 0 0 6px #f2eee8; }
[data-theme="dark"] .choice:has(input:focus-visible) { outline-color: var(--terre); }
[hidden] { display: none !important; }

/* Phone only: an app-style bar at the bottom of the screen */
.tabbar { display: none; }
@media (max-width: 900px) {
  :root { --tabbar: 64px; }
  body { padding-bottom: calc(var(--tabbar) + var(--gap) * 2 + env(safe-area-inset-bottom, 0px)); }
  .tabbar {
    position: fixed; z-index: 55; left: var(--gap); right: var(--gap); bottom: calc(var(--gap) + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; height: var(--tabbar); padding: 0 6px;
    isolation: isolate; border-radius: 24px; color: var(--encre);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 34px -12px rgba(10, 10, 10, 0.3);
  }
  .tabbar::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: rgba(230, 224, 214, 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.7); backdrop-filter: blur(18px) saturate(1.7);
  }
  .tab {
    position: relative; justify-self: center; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
    color: inherit; background: none; border: 0; border-radius: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform 0.35s var(--ease), background-color 0.2s ease;
  }
  .tab:active { transform: scale(0.9); }
  .tab[aria-current="page"]::after, .tab[aria-expanded="true"]::after {
    content: ""; position: absolute; bottom: 2px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--terre-fonce);
  }
  .tab[aria-expanded="true"] { background: rgba(255, 255, 255, 0.6); }
  .tab-contact { width: 56px; height: 56px; border-radius: 50%; background: var(--terre); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 8px 18px -6px rgba(10, 10, 10, 0.35); }
  .tab-contact img { width: 26px; height: auto; }
  .tab-contact[aria-current="page"]::after { bottom: -9px; }
  .tab-avatar { display: block; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 3.5px rgba(10, 10, 10, 0.18); }
  .tab-me[aria-current="page"] .tab-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 4px var(--terre-fonce); }
  .tab-avatar img { width: 100%; height: 100%; object-fit: cover; }
  /* The bar takes over search, the menu and the exchange button on phones */
  .top .menu-toggle, .top-tools [data-search-open], .float-cta { display: none !important; }
  .top { grid-template-columns: 1fr auto; }
  .float { bottom: calc(var(--tabbar) + var(--gap) * 2 + env(safe-area-inset-bottom, 0px)); }
  .nav {
    position: fixed; top: auto; left: var(--gap); right: var(--gap); bottom: calc(var(--tabbar) + var(--gap) * 2 + env(safe-area-inset-bottom, 0px));
    max-height: calc(100svh - var(--tabbar) - var(--header) - var(--gap) * 5);
  }
  body:has(.stepper :focus) .tabbar { display: none; }
}
[data-theme="dark"] .tabbar { color: #f2eee8; border-color: rgba(255, 255, 255, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px -12px rgba(0, 0, 0, 0.7); }
[data-theme="dark"] .tabbar::before { background: rgba(24, 23, 21, 0.78); }
[data-theme="dark"] .tab[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .tab[aria-current="page"]::after, [data-theme="dark"] .tab[aria-expanded="true"]::after { background: var(--terre); }
[data-theme="dark"] .tab-avatar { box-shadow: 0 0 0 2px #1d1b19, 0 0 0 3.5px rgba(255, 255, 255, 0.3); }
