/* ==========================================================================
   Acorelia Studio
   La robe, le serment, la déontologie : un site d'avocats, fait par des gens
   qui connaissent les avocats. Gilda Display (la voix du logo) + Hanken Grotesk.
   ========================================================================== */

@font-face { font-family: "Gilda Display"; src: url("../fonts/gilda-display-normal-latin.woff2") format("woff2"); font-display: swap; 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: "Gilda Display"; src: url("../fonts/gilda-display-normal-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-normal-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; 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: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-normal-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap; 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 {
  --noir: #100D0E;
  --noir-2: #1B1718;
  --noir-3: #26201F;
  --ivoire: #F5F1E8;
  --ivoire-2: #ECE5D7;
  --papier: #FCFAF6;
  --bordeaux: #4A0E26;
  --bordeaux-2: #5C1430;
  --bordeaux-3: #3A0A1D;
  --laiton: #8A7E64;
  --laiton-clair: #CDBB8E;
  --encre: #171213;
  --gris: #6B6163;
  --gris-clair: #A39A9B;
  --trait: rgba(23, 18, 19, .12);
  --trait-clair: rgba(245, 241, 232, .14);
  --ok: #2F7A55;
  --alerte: #B4462E;
  --vigilance: #B98A1E;

  --display: "Gilda Display", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --max: 1360px;
  --pad: clamp(20px, 4.4vw, 72px);
  --rail: 0px;
  --sec: clamp(96px, 12vw, 190px);
  --ease: cubic-bezier(.22, .8, .16, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (min-width: 1180px) { :root { --rail: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--ivoire); color: var(--encre);
  font: 400 17.5px/1.6 var(--text); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bordeaux); color: var(--ivoire); }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 2px; }
.theme-dark :focus-visible, .theme-bordeaux :focus-visible { outline-color: var(--laiton-clair); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--bordeaux); color: var(--ivoire); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--rail)); margin: 0 auto; padding: 0 var(--pad) 0 calc(var(--pad) + var(--rail)); }

/* Thèmes de section */
.theme-dark { background: var(--noir); color: var(--ivoire); }
.theme-bordeaux { background: var(--bordeaux); color: var(--ivoire); }
.theme-paper { background: var(--papier); }
.theme-sand { background: var(--ivoire-2); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-bordeaux h1, .theme-bordeaux h2, .theme-bordeaux h3 { color: var(--ivoire); }

/* Typographie */
.d-1 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 1; letter-spacing: -.018em; }
.d-2 { font-size: clamp(2.1rem, 3.8vw, 3.9rem); line-height: 1.04; }
.d-3 { font-size: clamp(1.6rem, 2.3vw, 2.2rem); line-height: 1.12; }
.d-4 { font-size: 1.45rem; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.35vw, 1.28rem); line-height: 1.55; color: var(--gris); max-width: 36em; }
.theme-dark .lead, .theme-bordeaux .lead { color: rgba(245, 241, 232, .74); }
.muted { color: var(--gris); }
.theme-dark .muted, .theme-bordeaux .muted { color: rgba(245, 241, 232, .62); }
.small { font-size: .9rem; }
.kicker { display: block; font: 600 .76rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton); margin-bottom: 22px; }
.theme-dark .kicker, .theme-bordeaux .kicker { color: var(--laiton-clair); }

/* Boutons */
.btn {
  --b: var(--bordeaux); --f: var(--ivoire);
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden;
  padding: 18px 26px; border: 0; border-radius: 100px; background: var(--b); color: var(--f);
  font: 600 .98rem/1 var(--text); letter-spacing: .005em; text-decoration: none; cursor: pointer; isolation: isolate;
  transition: transform .35s var(--ease), color .35s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noir); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn .arr { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--light { --b: var(--ivoire); --f: var(--noir); }
.btn--light::before { background: var(--laiton-clair); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: currentColor; }
.btn--ghost:hover { color: var(--ivoire); }
.theme-dark .btn--ghost:hover, .theme-bordeaux .btn--ghost:hover { color: var(--noir); }
.link { position: relative; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: currentColor; padding: 4px 0; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.link .arr { width: 16px; height: 16px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* ---------------------------------------------------------------- en-tête */
.top { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .45s, color .45s, transform .5s var(--ease), box-shadow .45s; color: var(--encre); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 88px; }
.brand { position: relative; display: block; width: 150px; height: 48px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .45s; }
.brand .on-light { opacity: 1; } .brand .on-dark { opacity: 0; }
.top.is-dark { color: var(--ivoire); }
.top.is-dark .brand .on-light { opacity: 0; } .top.is-dark .brand .on-dark { opacity: 1; }
.top.is-solid { background: rgba(245, 241, 232, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--trait); }
.top.is-solid.is-dark { background: rgba(16, 13, 14, .82); box-shadow: 0 1px 0 var(--trait-clair); }
.top.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav a { font: 500 .95rem/1 var(--text); text-decoration: none; opacity: .82; transition: opacity .25s; position: relative; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.nav .btn { opacity: 1; padding: 14px 20px; font-size: .92rem; margin-left: 8px; }
.top.is-dark .nav .btn { --b: var(--ivoire); --f: var(--noir); }
.top.is-dark .nav .btn::before { background: var(--laiton-clair); }
.menu-toggle { display: none; }
@media (max-width: 1100px) {
  .top .wrap { height: 72px; }
  .brand { width: 124px; height: 40px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 12px 0; font: 600 .95rem/1 var(--text); cursor: pointer; color: inherit; position: relative; z-index: 2; }
  .menu-toggle i { width: 24px; height: 10px; position: relative; display: block; }
  .menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
  .menu-toggle i::before { top: 0; } .menu-toggle i::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 96px var(--pad) 40px; background: var(--noir); color: var(--ivoire);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease-io), visibility 0s .7s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io); }
  .nav a:not(.btn) { font: 400 clamp(2.2rem, 9vw, 3.4rem)/1.1 var(--display); padding: 8px 0; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
  .nav.is-open a:not(.btn) { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .05s; } .nav.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open a:nth-child(4) { transition-delay: .15s; } .nav.is-open a:nth-child(5) { transition-delay: .2s; } .nav.is-open a:nth-child(6) { transition-delay: .25s; }
  .nav a:not(.btn)[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 10px; height: 10px; background: var(--laiton-clair); }
  .nav .btn { margin: 34px 0 0; justify-content: center; --b: var(--ivoire); --f: var(--noir); padding: 20px; }
  body.menu-open .top { color: var(--ivoire); }
  body.menu-open .top .brand .on-light { opacity: 0; } body.menu-open .top .brand .on-dark { opacity: 1; }
  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------- les 33 boutons */
.robe { position: fixed; left: 26px; top: 50%; z-index: 90; transform: translateY(-50%); display: none; }
@media (min-width: 1180px) { .robe { display: block; } }
.robe ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--gap, 11px); }
.robe li { position: relative; }
.robe button {
  display: block; width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.4px solid rgba(23, 18, 19, .32); background: transparent;
  transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.robe button::after { content: ""; position: absolute; left: -8px; right: -8px; top: -5px; bottom: -5px; }
.robe li.is-on button { background: var(--bordeaux); border-color: var(--bordeaux); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.robe li.is-station button { width: 11px; height: 11px; }
.robe li.is-station button { border-color: rgba(23,18,19,.55); }
.robe li.is-dark button { border-color: rgba(245, 241, 232, .34); }
.robe li.is-dark.is-on button { background: var(--laiton-clair); border-color: var(--laiton-clair); box-shadow: none; }
.robe button:hover { transform: scale(1.35); }
.robe .tip {
  position: absolute; left: 26px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; pointer-events: none;
  background: var(--noir); color: var(--ivoire); padding: 9px 13px; border-radius: 8px; font: 500 .82rem/1.3 var(--text);
  opacity: 0; transition: opacity .25s, transform .35s var(--ease);
}
.robe .tip b { display: block; font-weight: 600; }
.robe .tip span { color: var(--laiton-clair); font-size: .76rem; }
.robe li:hover .tip, .robe button:focus-visible + .tip { opacity: 1; transform: translate(0, -50%); }

/* ------------------------------------------------------- intro : la robe s'ouvre */
.intro { position: fixed; inset: 0; z-index: 400; pointer-events: auto; }
.intro .pan { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--noir); transition: transform 1.1s var(--ease-io); }
.intro .pan.l { left: 0; } .intro .pan.r { right: 0; }
.intro .seam { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; gap: 9px; transition: opacity .4s; }
.intro .seam i { width: 9px; height: 9px; border-radius: 50%; border: 1.3px solid rgba(205, 187, 142, .45); transition: background .2s, border-color .2s; }
.intro .seam i.on { background: var(--laiton-clair); border-color: var(--laiton-clair); }
.intro .mark { position: absolute; left: 50%; top: 50%; width: min(300px, 60vw); transform: translate(-50%, -50%); opacity: 0; transition: opacity .6s; }
.intro.show-mark .seam { opacity: 0; }
.intro.show-mark .mark { opacity: 1; }
.intro.open .pan.l { transform: translateX(-101%); }
.intro.open .pan.r { transform: translateX(101%); }
.intro.open .mark { opacity: 0; transition-duration: .3s; }
.intro.gone { display: none; }

/* --------------------------------------------------------------- accueil */
/* Contrôle déontologique */
.sec { padding: var(--sec) 0; position: relative; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.head .lead { margin: 0; }
@media (max-width: 900px) { .head { grid-template-columns: 1fr; } }

/* Réalisation : avant / après */
.case { display: grid; grid-template-columns: minmax(0, 8.4fr) minmax(0, 3.6fr); gap: clamp(28px, 3vw, 48px); align-items: center; }
@media (max-width: 960px) { .case { grid-template-columns: 1fr; } }
.compare { --pos: 50%; position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(23,18,19,.45); user-select: none; touch-action: pan-y; aspect-ratio: 1600 / 712; background: #ddd; cursor: ew-resize; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translate(-50%, -50%); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12'%3E%3Cpath d='M6 1L1 6l5 5M16 1l5 5-5 5' fill='none' stroke='%23100D0E' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.compare .tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 99px; font: 600 .74rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; background: rgba(16,13,14,.7); color: #fff; backdrop-filter: blur(6px); }
.compare .tag.b { left: 16px; } .compare .tag.a { right: 16px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.phone { width: min(100%, 260px); margin: 0 auto; border-radius: 38px; padding: 10px; background: var(--noir); box-shadow: 0 40px 80px -30px rgba(23,18,19,.55); }
.phone img { border-radius: 29px; width: 100%; }
/* Offres + simulateur */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } }
.offer { position: relative; display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); border-radius: 20px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .12); transition: background .4s, transform .5s var(--ease); }
.offer:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.offer .gem { width: 40px; height: 40px; margin-bottom: 30px; }
.offer h3 { font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; }
.offer .for { margin: 10px 0 26px; color: rgba(245, 241, 232, .66); min-height: 3.2em; }
.offer .price { font: 400 clamp(2.8rem, 4vw, 3.8rem)/1 var(--display); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; }
.offer .price small { font: 600 .8rem/1 var(--text); letter-spacing: .1em; color: var(--laiton-clair); }
.offer ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.offer li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .96rem; color: rgba(245, 241, 232, .86); }
.offer li::before { content: ""; width: 10px; height: 10px; margin-top: .45em; border-radius: 50%; border: 1.5px solid var(--laiton-clair); }
.offer .delay { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--trait-clair); font-size: .88rem; color: rgba(245, 241, 232, .6); margin-bottom: 22px; }
.offer .btn { align-self: flex-start; }

.simu { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: 22px; overflow: hidden; background: var(--ivoire); color: var(--encre); }
@media (max-width: 960px) { .simu { grid-template-columns: minmax(0, 1fr); } }
.simu-in { padding: clamp(24px, 3.4vw, 48px); }
.simu-in h3 { color: var(--encre); margin-bottom: 8px; }
.simu-in > p { color: var(--gris); margin-bottom: 30px; }
.simu fieldset { border: 0; margin: 0 0 26px; padding: 0; min-width: 0; }
@media (max-width: 560px) { .seg { gap: 6px; } .seg span { padding: 11px 10px; } .seg span b { font-size: 1.05rem; } .seg span small { font-size: .74rem; display: block; line-height: 1.35; } .simu-in, .simu-out { padding: 22px 18px; } }
.simu legend { font: 600 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--laiton); margin-bottom: 12px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--trait); transition: box-shadow .25s, background .25s; }
.seg span b { display: block; font: 400 1.2rem/1.1 var(--display); }
.seg span small { color: var(--gris); font-size: .84rem; }
.seg input:checked + span { background: var(--papier); box-shadow: inset 0 0 0 2px var(--bordeaux); }
.seg input:focus-visible + span { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--trait); }
.opt.is-off { opacity: .4; }
.opt label { display: flex; align-items: center; gap: 12px; cursor: pointer; flex: 1; }
.opt input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--gris-clair); margin: 0; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.opt input[type=checkbox]:checked { background: var(--bordeaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; box-shadow: none; }
.opt em { font-style: normal; color: var(--gris); font-size: .9rem; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--ivoire-2); cursor: pointer; font-size: 1.05rem; line-height: 1; }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.simu-out { background: var(--noir); color: var(--ivoire); padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; }
.simu-out .total small { display: block; font: 600 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 14px; }
.simu-out .total b { display: block; font: 400 clamp(3.2rem, 5.4vw, 5rem)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.simu-out .total span { display: block; margin-top: 8px; color: rgba(245, 241, 232, .55); font-size: .88rem; }
.ledger { margin: 34px 0 0; display: grid; gap: 0; }
.ledger div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--trait-clair); font-size: .95rem; }
.ledger dt { color: rgba(245, 241, 232, .7); }
.ledger dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.simu-out .btn { margin-top: 30px; align-self: flex-start; }
.simu-out .fine { margin-top: auto; padding-top: 26px; font-size: .78rem; color: rgba(245, 241, 232, .42); }

/* Calendrier de procédure */
.cal { position: relative; }
.cal-tabs { margin-bottom: 30px; }
.cal .tabs { background: rgba(23, 18, 19, .06); }
.cal .tab { color: var(--gris); }
.cal .tab[aria-selected="true"] { background: var(--noir); color: var(--ivoire); }
.track { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 0 20px; }
.track .row { display: contents; }
.track .rl { padding: 12px 0; border-top: 1px solid var(--trait); }
.track .rl b { display: block; font: 400 1.15rem/1.2 var(--display); }
.track .rl small { color: var(--gris); font-size: .82rem; }
.track .lane { position: relative; border-top: 1px solid var(--trait); min-height: 62px; }
.track .bar { position: absolute; top: 50%; height: 26px; transform: translateY(-50%); border-radius: 99px; background: var(--bordeaux); left: calc(var(--s) * 1%); width: calc(var(--w) * 1%); min-width: 26px; transition: left .8s var(--ease), width .8s var(--ease); }
.track .bar em { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); font: 500 .8rem/1 var(--text); font-style: normal; color: var(--encre); white-space: nowrap; }
.track .bar.flip em { left: auto; right: calc(100% + 12px); }
.track .bar.you { background: var(--laiton-clair); }
.track .bar.end { background: var(--noir); box-shadow: 0 0 0 5px rgba(23, 18, 19, .1); }
.track .bar.dot { width: 26px !important; }
.cal-mark { position: absolute; left: 240px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.cal-mark i { position: absolute; top: 0; bottom: 0; left: calc(var(--m) * 1%); border-left: 1px dashed var(--laiton); transition: left .8s var(--ease); }
.axis { grid-column: 2; position: relative; display: flex; justify-content: space-between; border-top: 1px solid var(--encre); padding-top: 10px; font-size: .8rem; color: var(--gris); }
.axis .m { position: absolute; left: calc(var(--m) * 1%); top: 10px; transform: translateX(-50%); color: var(--encre); font-weight: 600; white-space: nowrap; transition: left .8s var(--ease); }
.axis [data-c=end] { color: var(--encre); font-weight: 600; }
.cal-sum { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cal-sum div { background: var(--papier); border-radius: 16px; padding: 22px; box-shadow: inset 0 0 0 1px var(--trait); }
.cal-sum b { display: block; font: 400 2.4rem/1 var(--display); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.cal-sum span { color: var(--gris); font-size: .92rem; }
@media (max-width: 760px) {
  .track { grid-template-columns: 1fr; }
  .track .lane { border-top: 0; min-height: 44px; margin-bottom: 6px; }
  .cal-mark { display: none; }
  .axis { grid-column: 1; }
  .axis .m { display: none; }
  .cal-sum { grid-template-columns: 1fr; }
}

/* Questions */
.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 24px; align-items: center; padding: 26px 0; font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.2 var(--display); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bordeaux); }
.faq summary i { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--trait); position: relative; transition: background .35s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--bordeaux); color: var(--ivoire); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 80px 30px 0; color: var(--gris); max-width: 50em; }
.faq-cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; } .faq .answer { padding-right: 0; } }

/* Pied de page */
.foot { background: var(--noir); color: rgba(245, 241, 232, .66); padding: 90px 0 30px; font-size: .94rem; overflow: hidden; }
.foot a { color: var(--ivoire); text-decoration: none; }
.foot a:hover { color: var(--laiton-clair); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; }
.foot h2 { font: 600 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot { padding-bottom: 72px; }
.foot h2.foot-logo { margin: 0 0 22px; }
.foot-logo img { display: block; width: 200px; height: auto; }
.foot-note { max-width: 26em; margin: 16px 0 0; font-size: .84rem; line-height: 1.6; color: rgba(245, 241, 232, .5); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }


/* ========================================================================== 
   Accueil, v4
   ========================================================================== */
.d-hero { font-size: clamp(2.5rem, 4.9vw, 5rem); line-height: 1.02; letter-spacing: -.02em; }

.hero { position: relative; padding: clamp(130px, 15vh, 170px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::after { content: ""; position: absolute; right: -10vw; top: -20vh; width: 70vw; height: 110vh; background: radial-gradient(closest-side, rgba(74, 14, 38, .5), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero-top { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto clamp(56px, 7vw, 96px); max-width: 1000px; }
.hero-top .actions { justify-content: center; }
.hero-top .hero-foot { justify-content: center; }
.hero-side { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.hero-eyebrow { text-wrap: balance; margin: 0 0 22px; font-size: .95rem; color: var(--laiton-clair); }
.hero h1 { margin: 0; }
.hero .lead { margin: 0 0 32px; max-width: 36em; }
.hero-foot { margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: rgba(245, 241, 232, .58); }
.hero-foot span { display: inline-flex; align-items: center; gap: 9px; }
.hero-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--laiton-clair); }
@media (max-width: 1060px) { .hero { padding-top: 124px; } .hero .lead { max-width: 34em; } }

/* L'atelier : une esquisse de site de cabinet, en direct */
.atelier { position: relative; display: grid; grid-template-columns: minmax(0, 8.2fr) minmax(0, 3.8fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.stage { position: relative; padding: 0 9% 34px 0; align-self: center; }
.browser { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.07); }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 36px; padding: 0 14px; background: #EDEAE4; }
.browser-bar .dots, .mail-bar .dots, .inbox-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i, .mail-bar .dots i, .inbox-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #D3CDC3; }
.browser-bar .url { flex: 1; max-width: 330px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font: 500 .72rem/1 var(--text); color: #5b5557; }
.browser-bar .url svg { width: 10px; height: 10px; color: #2F7A55; }
.browser-bar .url b { transition: opacity .22s; }
.browser-bar .url b.swap { opacity: 0; }
.browser-bar .sketch { font: 600 .64rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #8b8378; border: 1px dashed #b9b1a4; border-radius: 99px; padding: 5px 9px; }

.cab { --c-bg: #0F1A2B; --c-ink: #F4EFE6; --c-acc: #C9A86A; --c-soft: rgba(244,239,230,.68); --c-line: rgba(244,239,230,.14); --c-font: "Gilda Display", Georgia, serif;
  container: cab / inline-size; position: relative; background: var(--c-bg); color: var(--c-ink); font-family: var(--text); overflow: hidden; transition: background .7s, color .7s; }
.cab[data-style="editorial"] { --c-bg: #F4EEE4; --c-ink: #2A1018; --c-acc: #6B1634; --c-soft: rgba(42,16,24,.66); --c-line: rgba(42,16,24,.16); }
.cab[data-style="contemporain"] { --c-bg: #FFFFFF; --c-ink: #121212; --c-acc: #1F5C4C; --c-soft: rgba(18,18,18,.6); --c-line: rgba(18,18,18,.1); --c-font: "Hanken Grotesk", Arial, sans-serif; }
.cab * { transition: color .6s, background .6s, opacity .4s; }
.cab-nav { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 5cqw; font-size: 1.15cqw; letter-spacing: .12em; text-transform: uppercase; }
.cab-nav b { font: 400 1.9cqw/1 var(--c-font); letter-spacing: .1em; margin-right: auto; }
.cab-nav .links { display: flex; gap: 2.6cqw; color: var(--c-soft); }
.cab-nav .rdv { font-style: normal; padding: 1cqw 1.7cqw; border: 1px solid currentColor; }
.cab-nav .burger { display: none; }
.cab-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 5cqw; align-items: center; padding: 4cqw 5cqw 5cqw; }
.cab-hero small { display: block; font-size: 1.2cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--c-acc); margin-bottom: 1.8cqw; }
.cab-hero h3 { font: 400 5.4cqw/1.03 var(--c-font); color: var(--c-ink); margin: 0 0 2cqw; letter-spacing: -.01em; min-height: 1.03em; }
.cab-hero p { font-size: 1.5cqw; line-height: 1.55; color: var(--c-soft); margin: 0 0 3cqw; max-width: 36em; }
.cab-hero .cta { display: inline-block; font-size: 1.2cqw; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 1.4cqw 2.4cqw; background: var(--c-acc); color: var(--c-bg); }
.cab-visual { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 25%, color-mix(in srgb, var(--c-acc) 22%, transparent), transparent 70%), color-mix(in srgb, var(--c-ink) 6%, transparent); }
.cab-visual::before { content: ""; position: absolute; inset: 1.4cqw; border: 1px solid color-mix(in srgb, var(--c-acc) 55%, transparent); }
.cab-visual b { font: 400 9cqw/1 var(--c-font); color: var(--c-acc); letter-spacing: .02em; }
.cab-domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 5cqw 4.5cqw; border-top: 1px solid var(--c-line); }
.cab-domains div { padding: 2.2cqw 2cqw 0 0; }
.cab-domains i { display: block; font: 600 1cqw/1 var(--text); font-style: normal; letter-spacing: .14em; color: var(--c-acc); margin-bottom: 1.2cqw; }
.cab-domains b { display: block; font: 400 2cqw/1.2 var(--c-font); }
/* Classique : composition centrée, médaillon */
.cab[data-style="classique"] .cab-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 0; padding-top: 2cqw; }
.cab[data-style="classique"] .cab-visual { order: -1; width: 12cqw; aspect-ratio: 1; border-radius: 50%; margin-bottom: 3cqw; background: none; }
.cab[data-style="classique"] .cab-visual::before { inset: 0; border-radius: 50%; }
.cab[data-style="classique"] .cab-visual b { font-size: 4.2cqw; }
.cab[data-style="classique"] .cab-hero p { margin-left: auto; margin-right: auto; max-width: 30em; }
.cab[data-style="classique"] .cab-domains div { text-align: center; padding-right: 0; }
.cab[data-style="classique"] .cab-domains div + div { border-left: 1px solid var(--c-line); }
/* Éditorial : grand nom à gauche, portrait cadré à droite */
.cab[data-style="editorial"] .cab-hero h3 { font-size: 6.6cqw; }
.cab[data-style="editorial"] .cab-hero .cta { background: transparent; color: var(--c-acc); padding: 0 0 .6cqw; border-bottom: 1px solid currentColor; }
.cab[data-style="editorial"] .cab-visual { background: color-mix(in srgb, var(--c-acc) 10%, transparent); }
/* Contemporain : écran partagé, sans serif */
.cab[data-style="contemporain"] .cab-nav b { font-weight: 700; letter-spacing: -.01em; text-transform: none; font-size: 1.9cqw; }
.cab[data-style="contemporain"] .cab-nav .rdv { border: 0; background: var(--c-acc); color: #fff; border-radius: 99px; }
.cab[data-style="contemporain"] .cab-hero { grid-template-columns: .8fr 1.2fr; }
.cab[data-style="contemporain"] .cab-visual { order: -1; background: var(--c-acc); aspect-ratio: 1 / 1.05; border-radius: 1.2cqw; }
.cab[data-style="contemporain"] .cab-visual::before { display: none; }
.cab[data-style="contemporain"] .cab-visual b { color: #fff; font-weight: 600; letter-spacing: -.05em; font-size: 10cqw; }
.cab[data-style="contemporain"] .cab-hero h3 { font-weight: 650; letter-spacing: -.04em; }
.cab[data-style="contemporain"] .cab-hero .cta { border-radius: 99px; color: #fff; text-transform: none; letter-spacing: 0; }
.cab[data-style="contemporain"] .cab-domains { border: 0; gap: 1.4cqw; }
.cab[data-style="contemporain"] .cab-domains div { background: #F2F2EF; border-radius: 1.2cqw; padding: 2cqw; }
.cab[data-style="contemporain"] .cab-domains b { font-weight: 600; letter-spacing: -.02em; }
/* Version téléphone de l'esquisse */
.phone-mini { position: absolute; right: 0; bottom: 0; width: 22%; aspect-ratio: 9 / 18.5; border-radius: 22px; padding: 6px; background: #0b0909; box-shadow: 0 40px 70px -24px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1); }
.phone-mini .cab { height: 100%; border-radius: 17px; }
@container cab (max-width: 380px) {
  .cab-nav { padding: 7cqw 7cqw 5cqw; }
  .cab-nav b { font-size: 5cqw; }
  .cab-nav .links, .cab-nav .rdv { display: none; }
  .cab-nav .burger { display: block; width: 7cqw; height: 4cqw; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .cab-hero, .cab[data-style] .cab-hero { grid-template-columns: 1fr; gap: 0; padding: 4cqw 7cqw 7cqw; text-align: left; justify-items: start; }
  .cab-visual, .cab[data-style] .cab-visual { order: -1; width: 100%; aspect-ratio: 1.4; margin-bottom: 7cqw; border-radius: 0; }
  .cab[data-style="classique"] .cab-visual { width: 24cqw; aspect-ratio: 1; border-radius: 50%; }
  .cab[data-style="contemporain"] .cab-visual { border-radius: 3cqw; }
  .cab-visual b, .cab[data-style] .cab-visual b { font-size: 16cqw; }
  .cab[data-style="classique"] .cab-visual b { font-size: 9cqw; }
  .cab-hero small { font-size: 3.2cqw; margin-bottom: 3cqw; }
  .cab-hero h3, .cab[data-style] .cab-hero h3 { font-size: 11cqw; margin-bottom: 4cqw; }
  .cab-hero p { font-size: 3.8cqw; margin-bottom: 6cqw; }
  .cab-hero .cta { font-size: 3.2cqw; padding: 3.4cqw 5cqw; }
  .cab-domains { grid-template-columns: 1fr; margin: 0 7cqw; }
  .cab-domains div, .cab[data-style] .cab-domains div { padding: 4cqw 0; border-left: 0 !important; text-align: left; border-bottom: 1px solid var(--c-line); }
  .cab[data-style="contemporain"] .cab-domains div { padding: 4cqw; margin-bottom: 2cqw; border: 0; border-radius: 3cqw; }
  .cab-domains i { font-size: 2.6cqw; margin-bottom: 2cqw; }
  .cab-domains b { font-size: 5cqw; }
}
.cab .typing::after { content: ""; display: inline-block; width: .08em; height: .85em; margin-left: .05em; background: currentColor; vertical-align: -.05em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.dock { align-self: center; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: rgba(245, 241, 232, .035); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .08); }
.dock h2 { color: var(--ivoire); font-size: 1.35rem; margin: 2px 0 8px; }
.stage .pause { margin-top: 20px; }
.pause { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 99px; font: 500 .8rem/1 var(--text); color: rgba(245, 241, 232, .75); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .2); white-space: nowrap; transition: color .25s, box-shadow .25s; }
.pause:hover { color: var(--ivoire); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .5); }
.pause:focus-visible { outline: 2px solid var(--laiton-clair); outline-offset: 2px; }
.pause svg { width: 11px; height: 11px; fill: currentColor; }
.pause .i-play, .pause[aria-pressed="true"] .i-pause { display: none; }
.pause[aria-pressed="true"] .i-play { display: inline; }
.dock .f { border-radius: 12px; background: rgba(245, 241, 232, .045); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .1); padding: 11px 14px 12px; transition: box-shadow .3s; }
.dock .f:focus-within { box-shadow: inset 0 0 0 1px var(--laiton-clair); }
.dock label, .dock .lbl { display: block; font: 500 .78rem/1.2 var(--text); color: rgba(245, 241, 232, .52); margin-bottom: 7px; }
.dock input, .dock select { width: 100%; background: transparent; border: 0; padding: 0; font: 500 1rem/1.3 var(--text); color: var(--ivoire); outline: none; appearance: none; -webkit-appearance: none; }
.dock select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23F5F1E8' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right center; cursor: pointer; }
.dock select option { color: #111; }
.dock .seg3 { flex-wrap: wrap; }
.seg3 { display: flex; gap: 4px; }
.seg3 button, .chips .chip { border: 0; background: transparent; color: rgba(245, 241, 232, .7); padding: 6px 11px; border-radius: 99px; font: 500 .86rem/1.1 var(--text); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .18); transition: background .25s, color .25s, box-shadow .25s; }
.seg3 button:hover, .chips .chip:hover { color: var(--ivoire); box-shadow: inset 0 0 0 1px rgba(245, 241, 232, .45); }
.seg3 button[aria-pressed="true"], .chips .chip[aria-pressed="true"] { background: var(--ivoire); color: var(--noir); box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.atelier-note { margin: 6px 0 0; font-size: .86rem; line-height: 1.55; color: rgba(245, 241, 232, .58); max-width: 52em; }
.atelier-note b { color: var(--ivoire); font-weight: 600; }
@media (max-width: 1060px) { .atelier { grid-template-columns: 1fr; } .dock { display: grid; grid-template-columns: 1fr 1fr; } .dock h2, .dock .f-style, .dock .f-doms, .atelier-note { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .stage { padding: 0; }
  .phone-mini { display: none; }
  .dock { grid-template-columns: 1fr; padding: 16px; }
}

/* Le serment, et ce qu'il exige du site */
.serment { position: relative; height: 420vh; background: var(--ivoire); }
.serment-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.serment-stick .wrap { width: 100%; }
.serment-src { margin: 0 0 26px; font: 500 .82rem/1.3 var(--text); letter-spacing: .02em; color: var(--gris); }
.serment-text { font: 400 clamp(1.9rem, 3.7vw, 3.8rem)/1.32 var(--display); letter-spacing: 0; word-spacing: .08em; max-width: 19em; margin: 0; }
.serment-text .w { color: rgba(23, 18, 19, .26); transition: color .35s; }
.serment-text .w.on { color: var(--encre); }
.serment-text .key button { all: unset; cursor: default; position: relative; }
.serment-text .key button { transition: color .35s; }
.serment-text .key button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 2px; background: radial-gradient(circle, var(--laiton) 0 .9px, transparent 1.1px) 0 50% / 6px 2px repeat-x; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease), opacity .3s; }
.serment.done .serment-text .key button { cursor: pointer; }
.serment.done .serment-text .key button::after { transform: scaleX(1); opacity: .7; }
.serment.done .serment-text .key button.is-on { color: var(--bordeaux); }
.serment.done .serment-text .key button.is-on::after { opacity: 0; }
.serment-text .key button:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 4px; }
.serment-link { display: grid; grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); gap: 16px clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vh, 64px); opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .9s var(--ease); }
.serment.done .serment-link { opacity: 1; transform: none; }
.serment-intro { margin: 0; color: var(--gris); font-size: 1rem; line-height: 1.6; }
.serment-intro b { color: var(--encre); font-weight: 600; }
.vows { position: relative; min-height: 9.5em; }
.vow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px 36px; animation: vowIn .6s var(--ease) both; }
.vow[hidden] { display: none; }
@keyframes vowIn { from { opacity: 0; transform: translateY(10px); } }
.vow h3 { font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.12; }
.vow p { margin: 0 0 12px; color: var(--gris); font-size: .98rem; }
.vow .proof { display: flex; gap: 10px; align-items: flex-start; color: var(--encre); font-weight: 600; font-size: .92rem; margin: 0; }
.vow .proof svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ok); }
.vow-dots { grid-column: 2; display: flex; gap: 8px; }
.vow-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(23, 18, 19, .16); transition: background .3s; }
.vow-dots i.on { background: var(--bordeaux); }
@media (max-width: 900px) {
  .serment { height: auto; }
  .serment-stick { position: static; height: auto; padding: var(--sec) 0; }
  .serment-text .w { color: var(--encre); }
  .serment-link, .vow { grid-template-columns: 1fr; opacity: 1; transform: none; }
  .vow-dots { grid-column: 1; }
  .serment-text .key button { cursor: pointer; }
  .serment-text .key button::after { transform: scaleX(1); opacity: .7; }
}

/* Onglets */
.tabs { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(23, 18, 19, .06); margin-bottom: 24px; }
.tab { border: 0; background: transparent; color: var(--gris); padding: 10px 18px; border-radius: 99px; font: 600 .9rem/1 var(--text); cursor: pointer; transition: background .3s, color .3s; }
.tab[aria-selected="true"] { background: var(--noir); color: var(--ivoire); }

/* Contrôle déontologique : une page relue, annotée en marge */
.checker { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--papier); color: var(--encre); border-radius: 6px; box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04); overflow: hidden; }
.checker::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(7 / 12 * 100%); border-left: 1.5px solid rgba(180, 70, 46, .32); }
.checker-in { padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; }
.checker-in [data-pane="texte"]:not([hidden]) { flex: 1; display: flex; flex-direction: column; }
.editor { position: relative; flex: 1; display: flex; }
.editor .hl, .editor textarea { margin: 0; padding: 4px 0; font: 400 clamp(1.35rem, 2vw, 1.85rem)/1.62 var(--display); letter-spacing: -.005em; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: break-word; border: 0; width: 100%; min-height: 220px; }
.editor .hl { position: absolute; inset: 0; color: transparent; pointer-events: none; overflow: hidden; }
.editor textarea { flex: 1; position: relative; display: block; background: transparent; color: var(--encre); resize: none; outline: none; caret-color: var(--bordeaux); }
.editor mark { color: transparent; background: var(--m); border-radius: 2px; text-decoration: underline wavy var(--u); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.editor mark.r { --m: rgba(180, 70, 46, .13); --u: #B4462E; }
.editor mark.o { --m: rgba(185, 138, 30, .14); --u: #B98A1E; }
.domain-field { display: flex; align-items: baseline; gap: 4px; padding: 4px 0 10px; border-bottom: 1.5px solid var(--encre); font: 400 clamp(1.4rem, 2.3vw, 2.1rem)/1.3 var(--display); }
.domain-field span { color: var(--gris-clair); }
.domain-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: inherit; color: var(--encre); padding: 0; }
.examples { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--gris); }
.examples button { border: 0; background: rgba(23, 18, 19, .05); color: var(--encre); padding: 7px 12px; border-radius: 99px; cursor: pointer; font: 500 .82rem/1 var(--text); transition: background .25s; }
.examples button:hover { background: rgba(23, 18, 19, .1); }
.checker-foot { margin-top: auto; padding-top: 28px; }
.legend { display: flex; gap: 22px; margin: 0 0 10px; font-size: .8rem; color: var(--gris); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 18px; height: 6px; background: radial-gradient(circle at 3px 3px, transparent 2px, #B4462E 2.2px, #B4462E 3px, transparent 3.2px) 0 0 / 6px 6px; }
.legend .o::before { background: radial-gradient(circle at 3px 3px, transparent 2px, #B98A1E 2.2px, #B98A1E 3px, transparent 3.2px) 0 0 / 6px 6px; }
.checker-note { margin: 0; font-size: .76rem; line-height: 1.5; color: var(--gris-clair); }
.checker-out { padding: clamp(24px, 3vw, 44px) clamp(22px, 2.6vw, 40px); display: flex; flex-direction: column; background: linear-gradient(90deg, rgba(23,18,19,.025), transparent 40%); }
.verdict { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--trait); }
.verdict .score { width: 58px; height: 58px; flex: none; position: relative; }
.verdict .score svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.verdict .score circle { fill: none; stroke-width: 3; }
.verdict .score .bg { stroke: rgba(23, 18, 19, .08); }
.verdict .score .fg { stroke: var(--v, var(--ok)); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease), stroke .4s; }
.verdict .score b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1rem/1 var(--text); font-variant-numeric: tabular-nums; }
.verdict h3 { font-size: 1.45rem; line-height: 1.15; color: var(--encre) !important; }
.verdict p { margin: 3px 0 0; color: var(--gris); font-size: .88rem; line-height: 1.45; }
.issues { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; gap: 18px; align-content: start; max-height: 430px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(23,18,19,.2) transparent; }
.issues li { position: relative; padding-left: 18px; animation: pop .45s var(--ease) both; }
.issues li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--alerte)); }
.issues li.o { --c: var(--vigilance); }
.issues li.ok { --c: var(--ok); }
.issues .code { font: 600 .68rem/1 var(--text); letter-spacing: .12em; color: var(--laiton); }
.issues b { display: block; margin: 5px 0 4px; font-weight: 600; font-size: .98rem; }
.issues p { margin: 0; font-size: .87rem; line-height: 1.55; color: var(--gris); }
.issues q { quotes: "« " " »"; color: var(--encre); font-weight: 500; }
.issues p span { color: var(--bordeaux) !important; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.checker-more { margin: 36px 0 0; }
@media (max-width: 960px) {
  .checker { grid-template-columns: 1fr; }
  .checker::before { display: none; }
  .checker-out { border-top: 1.5px solid rgba(180, 70, 46, .32); }
  .issues { max-height: none; }
}

/* Réalisation : la fiche du projet */
.case-meta { margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--papier); border-radius: 16px; box-shadow: 0 20px 50px -35px rgba(23,18,19,.35); }
.case-meta div { padding: 20px 22px; }
.case-meta div + div { box-shadow: -1px 0 0 var(--trait); }
.case-meta dt { color: var(--gris); font-size: .78rem; margin-bottom: 6px; }
.case-meta dd { margin: 0; font: 400 1.12rem/1.3 var(--display); }
@media (max-width: 960px) { .case-meta { grid-template-columns: 1fr 1fr; } .case-meta div + div { box-shadow: none; } .case-meta div { border-bottom: 1px solid var(--trait); } }

/* Clôture : un email qui s'écrit ici */
.close { padding: clamp(110px, 12vw, 190px) 0; position: relative; overflow: hidden; }
.close-grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.close h2 { font-size: clamp(3rem, 6.4vw, 6.8rem); line-height: .96; letter-spacing: -.028em; }
.close .lead { margin: 30px 0 26px; max-width: 26em; }
.close-alt { margin: 0; }
.mail { background: var(--papier); color: var(--encre); border-radius: 14px; overflow: hidden; box-shadow: 0 60px 120px -50px rgba(0,0,0,.9); }
.mail-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; background: #EDEAE4; font: 600 .76rem/1 var(--text); color: #6f6763; }
.mail-row { display: flex; align-items: baseline; gap: 14px; padding: 15px 22px; border-bottom: 1px solid var(--trait); font-size: .95rem; }
.mail-row span { width: 46px; flex: none; color: var(--gris-clair); font-size: .86rem; }
.mail-row b { font-weight: 500; }
.mail-row input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 500 .98rem/1.3 var(--text); color: var(--encre); padding: 0; }
.mail textarea { display: block; width: 100%; border: 0; background: transparent; outline: none; resize: vertical; padding: 18px 22px; min-height: 150px; font: 400 1.05rem/1.6 var(--text); color: var(--encre); }
.mail textarea::placeholder { color: var(--gris-clair); }
.mail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px 16px 22px; border-top: 1px solid var(--trait); }
.mail-foot span { font-size: .84rem; color: var(--gris); }
@media (max-width: 960px) { .close-grid { grid-template-columns: 1fr; } }

/* Conformité : la fiche remise signée */
.fiche { max-width: 980px; margin: 0 auto; background: var(--papier); border-radius: 4px; box-shadow: 0 50px 100px -50px rgba(23,18,19,.45), 0 0 0 1px rgba(23,18,19,.05); padding: clamp(26px, 4.4vw, 64px); }
.fiche-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-bottom: 26px; border-bottom: 2px solid var(--encre); }
.fiche-head img { width: 54px; height: 54px; }
.fiche-title h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; }
.fiche-title p { margin: 4px 0 0; color: var(--gris); font-size: .9rem; }
.fiche-meta { display: flex; gap: 28px; margin: 0; }
.fiche-meta dt { font-size: .74rem; color: var(--gris); }
.fiche-meta dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.fr { border-bottom: 1px solid var(--trait); }
.fr summary { list-style: none; display: grid; grid-template-columns: 64px 1fr 34px 22px; gap: 14px; align-items: center; padding: 17px 0; cursor: pointer; }
.fr summary::-webkit-details-marker { display: none; }
.fr .code { font: 600 .74rem/1 var(--text); letter-spacing: .1em; color: var(--laiton); }
.fr .t { font: 400 clamp(1.08rem, 1.5vw, 1.32rem)/1.25 var(--display); }
.fr .box { width: 26px; height: 26px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(23,18,19,.25); display: grid; place-items: center; color: var(--ok); transition: box-shadow .3s; }
.fr .box svg { width: 18px; height: 18px; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s var(--ease); }
.fr.ok .box { box-shadow: inset 0 0 0 1.5px var(--ok); }
.fr.ok .box svg { stroke-dashoffset: 0; }
.fr .more { width: 12px; height: 12px; position: relative; justify-self: end; }
.fr .more::before, .fr .more::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--encre); transition: transform .35s var(--ease); }
.fr .more::after { transform: rotate(90deg); }
.fr[open] .more::after { transform: rotate(0); }
.fr-body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 56px 24px 78px; }
.fr-body p { margin: 0; font-size: .93rem; color: var(--gris); line-height: 1.6; }
.fr-body b { display: block; color: var(--encre); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.fiche-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 26px; }
.fiche-foot p { margin: 0; font-size: .86rem; color: var(--gris); max-width: 28em; }
.seal { display: flex; align-items: center; gap: 12px; opacity: .15; transform: scale(.9); transition: opacity .6s, transform .8s var(--ease); }
.fiche.signed .seal { opacity: 1; transform: none; }
.seal img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--bordeaux), 0 0 0 5px var(--papier), 0 0 0 6px rgba(74,14,38,.35); }
.seal span { font: 400 1.05rem/1.2 var(--display); color: var(--bordeaux); }
.fiche-note { max-width: 980px; margin: 22px auto 0; font-size: .86rem; color: var(--gris); }
@media (max-width: 700px) {
  .fiche-head { grid-template-columns: auto 1fr; }
  .fiche-meta { grid-column: 1 / -1; }
  .fr summary { grid-template-columns: 46px 1fr 28px 14px; gap: 10px; }
  .fr-body { grid-template-columns: 1fr; padding: 0 0 22px; gap: 14px; }
  .fiche-foot { flex-direction: column; align-items: flex-start; }
}

/* Méthode : la boîte de réception d'un projet */
.inbox { background: var(--papier); border-radius: 14px; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(23,18,19,.45), 0 0 0 1px rgba(23,18,19,.05); }
.inbox-bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 16px; background: #EDEAE4; font: 600 .76rem/1 var(--text); color: #6f6763; }
.inbox-bar .count { margin-left: auto; font-weight: 500; }
.inbox-in { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); min-height: 520px; }
.inbox-list { border-right: 1px solid var(--trait); display: flex; flex-direction: column; }
.msg { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 34px 1fr auto; gap: 2px 12px; padding: 14px 18px; border-bottom: 1px solid var(--trait); cursor: pointer; position: relative; transition: background .25s; }
.msg:hover { background: rgba(23,18,19,.025); }
.msg[aria-selected="true"] { background: var(--ivoire); }
.msg[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bordeaux); }
.msg:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: -2px; }
.av { grid-row: span 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 .7rem/1 var(--text); letter-spacing: .04em; background: var(--bordeaux); color: var(--ivoire); }
.msg.is-you .av, .read .av.you { background: var(--ivoire-2); color: var(--encre); }
.msg .who { font-size: .82rem; font-weight: 600; }
.msg .when { font-size: .76rem; color: var(--gris); }
.msg b { grid-column: 2 / -1; font-weight: 500; font-size: .92rem; }
.msg .ex { grid-column: 2 / -1; font-size: .8rem; color: var(--gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-read { padding: clamp(24px, 3.4vw, 48px); }
.read[hidden] { display: none; }
.read { animation: vowIn .5s var(--ease) both; }
.read h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; margin-bottom: 18px; }
.read header p { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--trait); }
.read header p > span:not(.av) { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.read header small { color: var(--gris); font-size: .8rem; }
.read header em { margin-left: auto; font-style: normal; font: 600 .72rem/1 var(--text); letter-spacing: .06em; padding: 7px 11px; border-radius: 99px; background: var(--ivoire-2); color: var(--encre); white-space: nowrap; }
.read .av { grid-row: auto; }
.read-body p { font-size: 1.02rem; line-height: 1.7; max-width: 36em; }
.att { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.att li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--trait); font-size: .84rem; font-weight: 500; }
.att li::before { content: ""; width: 14px; height: 17px; border-radius: 2px; background: linear-gradient(225deg, transparent 4px, var(--bordeaux) 4px); }
@media (max-width: 860px) {
  .inbox-in { grid-template-columns: 1fr; min-height: 0; }
  .inbox-list { border-right: 0; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; border-bottom: 1px solid var(--trait); }
  .msg { min-width: 250px; scroll-snap-align: start; border-bottom: 0; border-right: 1px solid var(--trait); }
  .msg[aria-selected="true"]::before { top: auto; right: 0; width: auto; height: 3px; }
}

/* ------------------------------------------------------- pages intérieures */
.page-hero { padding: clamp(150px, 16vw, 220px) 0 clamp(70px, 8vw, 120px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 12.5em; margin-bottom: 30px; }
.page-hero .lead { max-width: 38em; }
.crumbs { display: flex; gap: 10px; font-size: .86rem; color: var(--gris); margin-bottom: 30px; }
.theme-dark .crumbs { color: rgba(245, 241, 232, .5); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bordeaux); }
.theme-dark .crumbs a:hover { color: var(--laiton-clair); }

.cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); }
.cols > .side { position: relative; }
.cols > .side .sticky { position: sticky; top: 120px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols > .side .sticky { position: static; } }

.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 700px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--trait); background: var(--papier); }
.table th, .table td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--trait); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { font: 400 1.5rem/1.1 var(--display); background: var(--ivoire-2); }
.table thead th small { display: block; font: 600 .82rem/1.4 var(--text); color: var(--bordeaux); margin-top: 6px; }
.table tbody th { font-weight: 500; color: var(--gris); width: 24%; font-size: .9rem; }
.table td { color: var(--encre); }

.list-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list-opts li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 20px 22px; border-radius: 16px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.list-opts b { font: 400 1.3rem/1.2 var(--display); }
.list-opts span { grid-column: 1; color: var(--gris); font-size: .9rem; }
.list-opts i { font: 400 1.5rem/1 var(--display); font-style: normal; color: var(--bordeaux); grid-row: 1; grid-column: 2; }

.note { border-radius: 18px; padding: 26px 28px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.note h3 { font-size: 1.5rem; margin-bottom: 8px; }
.note p { color: var(--gris); margin: 0; }
.note + .note { margin-top: 14px; }
.theme-dark .note { background: var(--noir-2); box-shadow: inset 0 0 0 1px var(--trait-clair); }
.theme-dark .note p { color: rgba(245,241,232,.66); }

.points { counter-reset: p; display: grid; gap: 14px; }
.point { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 30px; border-radius: 20px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); scroll-margin-top: 110px; }
.point .n { font: 400 2.6rem/1 var(--display); color: var(--bordeaux); }
.point h2 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 10px; }
.point p { color: var(--gris); margin-bottom: 12px; }
.point .do { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--ivoire); color: var(--encre); }
.point .do b { color: var(--bordeaux); }
@media (max-width: 640px) { .point { grid-template-columns: 1fr; gap: 6px; padding: 22px; } }

.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; gap: 12px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--gris); font-size: .92rem; transition: background .25s, color .25s; }
.toc a span { color: var(--laiton); font-weight: 600; font-size: .8rem; min-width: 34px; }
.toc a:hover, .toc a.is-current { background: var(--papier); color: var(--encre); }
@media (max-width: 900px) { .toc { display: none; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: start; padding: 28px 30px; border-radius: 20px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 400 2.4rem/1 var(--display); color: var(--bordeaux); }
.steps h3 { font-size: 1.6rem; margin-bottom: 8px; }
.steps p { color: var(--gris); margin: 0; }
.steps .tag { font: 600 .78rem/1.3 var(--text); color: var(--laiton); background: var(--ivoire); padding: 8px 12px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 760px) { .steps li { grid-template-columns: 1fr; gap: 8px; padding: 22px; } }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards3 > div { padding: 28px; border-radius: 20px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.cards3 h3 { font-size: 1.55rem; margin-bottom: 14px; }
.cards3 ul { margin: 0; padding: 0 0 0 1.1em; color: var(--gris); }
.cards3 li { margin-bottom: 8px; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

.manifesto { font: 400 clamp(1.6rem, 2.7vw, 2.5rem)/1.3 var(--display); max-width: 26em; }
.manifesto p { margin-bottom: .8em; }
.nots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nots li { padding: 20px 24px; border-radius: 16px; background: var(--noir-2); box-shadow: inset 0 0 0 1px var(--trait-clair); color: rgba(245, 241, 232, .7); }
.nots b { color: var(--ivoire); font-weight: 600; }

.prose { max-width: 44em; }
.prose h2 { font-size: 1.85rem; line-height: 1.2; margin: 3rem 0 1rem; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose li { color: #3E3638; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--bordeaux); }
.prose strong, .prose b { font-weight: 600; color: var(--encre); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.coords { display: grid; gap: 10px; }
.coords div { padding: 20px 22px; border-radius: 16px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.coords dt { font-size: .82rem; color: var(--gris); margin-bottom: 4px; }
.coords dd { margin: 0; font: 400 1.35rem/1.25 var(--display); }
.coords dd small { display: block; font: 400 .9rem/1.4 var(--text); color: var(--gris); margin-top: 4px; }
.coords a { color: var(--bordeaux); text-decoration: none; }
.form { padding: clamp(24px, 3.6vw, 52px); border-radius: 24px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait), 0 40px 80px -60px rgba(23,18,19,.4); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full, .form-grid > .warning, .form-grid > .consent, .form-grid > .submit-row, .form-grid > .form-status { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--gris); }
.field input, .field select, .field textarea { font: 400 1.05rem/1.4 var(--text); background: var(--ivoire); border: 0; border-radius: 12px; padding: 15px 16px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background .25s; appearance: none; -webkit-appearance: none; outline: none; }
.field select { background: var(--ivoire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171213' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--bordeaux); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--alerte); }
.error { font-size: .82rem; color: var(--alerte); }
.error:empty { display: none; }
.warning { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--ivoire-2); font-size: .93rem; }
.warning svg { width: 22px; height: 22px; flex: none; color: var(--bordeaux); }
.warning p { margin: 0; }
.consent { font-size: .82rem; color: var(--gris); margin: 0; }
.consent a { color: var(--encre); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; padding: 14px 16px; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.is-ok { background: rgba(47,122,85,.1); color: var(--ok); }
.form-status.is-error { background: rgba(180,70,46,.1); color: var(--alerte); }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.lost { min-height: 100vh; display: flex; align-items: center; }
.lost .big { font: 400 clamp(6rem, 22vw, 18rem)/.85 var(--display); color: var(--laiton-clair); letter-spacing: -.04em; margin-bottom: 20px; }

/* Apparition */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * .08s + var(--d0, 0s)); }
.js .split.is-in .ln > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .split .ln > span { transform: none; }
  .serment { height: auto; }
  .serment-stick { position: static; height: auto; padding: var(--sec) 0; }
  .serment-text .w { color: var(--encre); }
  .serment-link { opacity: 1; transform: none; }
}
/* Animations arrêtées par le visiteur (bouton de l'accueil) */
.calm *, .calm *::before, .calm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
.calm.js [data-reveal] { opacity: 1; transform: none; }
.calm.js .split .ln > span { transform: none; }
.calm .serment { height: auto; }
.calm .serment-stick { position: static; height: auto; padding: var(--sec) 0; }
.calm .serment-text .w { color: var(--encre); }
.calm .serment-link { opacity: 1; transform: none; }
@media print { .top, .robe, .foot, .close, .intro { display: none !important; } body { background: #fff; } }

/* En-tête empilé : titre puis texte dessous, pour varier avec le gabarit en deux colonnes */
.head.stack { display: block; }
.head.stack .lead { margin-top: 22px; max-width: 40em; }
/* Le studio : un seul interlocuteur */
.solo h2 { margin-bottom: 40px; }
.solo .d-3 { font-family: var(--display); max-width: 30em; margin-bottom: 28px; }
.solo .lead { max-width: 44em; }
h1 .ln, h2 .ln, h3 .ln { display: block; }

/* Étiquettes avant/après : version courte sur téléphone */
@media (max-width: 640px) { .compare .tag-x { display: none; } }
