/* Ravesteyn Avocats — démo TBconcept. Mise en page éditoriale : une colonne de lecture centrée, rubriques numérotées. */
:root {
  --papier: #F3EEE3;
  --papier-clair: #FBF8F1;
  --papier-fonce: #E7DFCD;
  --encre: #172033;
  --encre-doux: #4A5263;
  --nuit: #141C2C;
  --laiton: #A8853F;          /* filets et ornements */
  --laiton-texte: #7A5A1E;    /* texte sur papier : 5,9:1 */
  --laiton-clair: #D9BD7E;    /* texte sur nuit : 9:1 */
  --filet: rgba(23, 32, 51, .22);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gouttiere: clamp(20px, 4.5vw, 56px);
  --large: 1180px;
  --mesure: 44rem;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden en repli (anciens Safari), clip quand il est reconnu : jamais de défilement horizontal,
   sinon les éléments fixes (pastille) paraissent décalés et coupés. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--encre);
  font: 400 1.125rem/1.6 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--laiton-texte); }
figure { margin: 0; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ol, ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
abbr[title] { text-decoration: none; }
sup { line-height: 0; }

.page { width: 100%; max-width: calc(var(--large) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--encre); color: var(--papier); padding: 10px 16px; font: 500 .95rem var(--sans); }
.evitement:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--laiton-texte); outline-offset: 3px; }

.fictif {
  display: inline-block; margin-left: .3em; padding: 0 .45em;
  border: 1px solid currentColor; border-radius: 2px; opacity: .75;
  font: 500 .62rem/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: .2em; white-space: nowrap;
}

/* ---------- Bandeau de titre (masthead) ---------- */
.titre-journal { padding-top: clamp(14px, 2vw, 22px); text-align: center; }
.titre-journal__filet {
  display: flex; justify-content: space-between; gap: 1rem; margin: 0;
  padding-bottom: .55rem; border-bottom: 1px solid var(--encre);
  font: 500 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux);
}
.titre-journal__filet a { text-decoration: none; color: var(--encre); }
.marque { display: block; padding: clamp(1.3rem, 3vw, 2.2rem) 0 clamp(1rem, 2vw, 1.5rem); text-decoration: none; }
.marque:hover { color: inherit; }
.marque__nom {
  display: block; font: 400 clamp(2.1rem, 10.5vw, 6.6rem)/.9 var(--serif);
  letter-spacing: .07em; text-transform: uppercase; padding-left: .07em;
  font-variation-settings: 'opsz' 72;
}
.marque__sous {
  display: block; margin-top: .9rem;
  font: 500 .78rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--laiton-texte);
}

/* Sommaire : en ligne sous le titre sur grand écran, en page pleine sinon */
.sommaire { border-top: 1px solid var(--encre); border-bottom: 3px double var(--encre); }
.sommaire__titre { display: none; }
.sommaire ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 2.1rem; padding: .8rem 0; }
.sommaire a {
  display: inline-block; padding: .2rem 0; text-decoration: none;
  font: 500 .82rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.sommaire__num { margin-right: .35em; font: italic 400 1rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--laiton-texte); }

.sommaire-bouton {
  display: none; position: fixed; z-index: 70;
  top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right));
  align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem;
  background: var(--encre); color: var(--papier); border: 0; border-radius: 2px; cursor: pointer;
  font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 22px -12px rgba(20, 28, 44, .6);
}
.sommaire-bouton:hover { background: #24304A; }
.sommaire-bouton:focus-visible { outline-color: var(--encre); }
.sommaire-bouton__traits, .sommaire-bouton__traits::before, .sommaire-bouton__traits::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .25s ease;
}
.sommaire-bouton__traits { position: relative; }
.sommaire-bouton__traits::before, .sommaire-bouton__traits::after { content: ""; position: absolute; left: 0; }
.sommaire-bouton__traits::before { top: -5px; }
.sommaire-bouton__traits::after { top: 5px; }
.sommaire-bouton[aria-expanded="true"] .sommaire-bouton__traits { background: transparent; }
.sommaire-bouton[aria-expanded="true"] .sommaire-bouton__traits::before { transform: translateY(5px) rotate(45deg); }
.sommaire-bouton[aria-expanded="true"] .sommaire-bouton__traits::after { transform: translateY(-5px) rotate(-45deg); }

.js .sommaire-bouton { display: inline-flex; }
@media (min-width: 900px) {
  .js .sommaire-bouton { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
  .js.defile .sommaire-bouton, .js.sommaire-ouvert .sommaire-bouton { opacity: 1; visibility: visible; }
}
@media (max-width: 899px) {
  html { scroll-padding-top: 72px; }
  .titre-journal { padding-top: 70px; }
  .marque__sous { letter-spacing: .16em; font-size: .72rem; }
  .titre-journal__filet { flex-direction: column; align-items: center; gap: .25rem; }
  .js .sommaire { border-top: 0; border-bottom: 3px double var(--encre); }
  .js .sommaire ol { display: none; }
}
/* Sommaire ouvert : page pleine, façon table des matières */
.js.sommaire-ouvert { overflow: hidden; }
.js.sommaire-ouvert .sommaire {
  position: fixed; inset: 0; z-index: 65; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--gouttiere) 80px; background: var(--papier); border: 0; text-align: left;
}
.js.sommaire-ouvert .sommaire__titre {
  display: block; width: 100%; max-width: 34rem; margin: 0 auto 1.2rem; padding-bottom: .6rem; border-bottom: 3px double var(--encre);
  font: 500 .78rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--laiton-texte);
}
.js.sommaire-ouvert .sommaire ol { display: block; width: 100%; max-width: 34rem; margin: 0 auto; padding: 0; }
.js.sommaire-ouvert .sommaire li { border-bottom: 1px solid var(--filet); }
.js.sommaire-ouvert .sommaire a {
  display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0;
  font: 400 clamp(1.45rem, 5vw, 2rem)/1.2 var(--serif); letter-spacing: 0; text-transform: none;
}
.js.sommaire-ouvert .sommaire__num { width: 2.6rem; flex: none; font-size: 1.1rem; }

/* ---------- Ouverture typographique ---------- */
.ouverture { padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 5.5rem); text-align: center; }
.ouverture__titre {
  max-width: 13.5ch; margin: 0 auto;
  font: 300 clamp(2.7rem, 8vw, 7.2rem)/.98 var(--serif); letter-spacing: -.025em;
  font-variation-settings: 'opsz' 72; text-wrap: balance;
}
.ouverture__titre em { font-style: italic; font-weight: 300; color: var(--laiton-texte); }
.ouverture__corps { max-width: 37rem; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.chapeau { font-size: clamp(1.15rem, 1.7vw, 1.32rem); line-height: 1.55; color: #2A3245; }
.ouverture__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; margin: 1.8rem 0 0; }
.lien-principal {
  display: inline-flex; align-items: center; min-height: 48px; padding: .8rem 1.5rem;
  background: var(--encre); color: var(--papier); text-decoration: none; border-radius: 2px;
  font: 500 .86rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.lien-principal:hover { background: #24304A; color: var(--papier); }
.lien-discret { font: 500 .86rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration-color: var(--laiton); text-underline-offset: .4em; }
.faits {
  display: grid; max-width: 56rem; margin: clamp(3rem, 7vw, 5rem) auto 0;
  border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre);
}
.faits > div { padding: 1rem .5rem; }
.faits > div + div { border-top: 1px solid var(--filet); }
.faits dt { font: 500 .7rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--laiton-texte); margin-bottom: .3rem; }
.faits dd { font-size: 1.05rem; line-height: 1.35; }
@media (min-width: 720px) {
  .faits { grid-template-columns: repeat(3, 1fr); }
  .faits > div + div { border-top: 0; border-left: 1px solid var(--filet); }
}

/* ---------- Rubriques numérotées ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--filet { border-top: 1px solid var(--filet); }
.rubrique { max-width: 40rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.rubrique__num {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 1rem;
  font: italic 400 1.5rem/1 var(--serif); color: var(--laiton-texte);
}
.rubrique__num::before, .rubrique__num::after { content: ""; width: 2.5rem; height: 1px; background: var(--laiton); }
.rubrique h2 {
  font: 400 clamp(2rem, 4.6vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.015em;
  font-variation-settings: 'opsz' 60; text-wrap: balance;
}
.rubrique__note { margin: 1rem auto 0; max-width: 32rem; font-style: italic; color: var(--encre-doux); font-size: 1.08rem; }

/* ---------- I. Index des questions ---------- */
.index { max-width: 58rem; margin: 0 auto; }
.index__chapitre {
  display: flex; align-items: baseline; gap: .8rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding-bottom: .7rem; border-bottom: 1px solid var(--encre);
  font: 500 .8rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
}
.index__chapitre:first-child { margin-top: 0; }
.index__chapitre span { font: italic 400 1.4rem/1 var(--serif); letter-spacing: 0; color: var(--laiton-texte); }
.question { border-bottom: 1px solid var(--filet); }
.question summary {
  display: flex; align-items: baseline; gap: 0 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: "+"; flex: none; width: 1.6rem; text-align: right;
  font: 300 1.7rem/1 var(--serif); color: var(--laiton-texte);
}
.question[open] summary::after { content: "\2013"; }
.question__texte { flex: 0 1 auto; font: 400 clamp(1.2rem, 2.1vw, 1.55rem)/1.3 var(--serif); }
.question summary:hover .question__texte { color: var(--laiton-texte); }
.question__mots {
  flex: 1 0 9rem; display: flex; align-items: baseline; justify-content: flex-end; white-space: nowrap;
  font: 500 .72rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux);
}
.question__mots::before { content: ""; flex: 1; min-width: 1.5rem; margin-right: .75rem; border-bottom: 1px dotted rgba(23, 32, 51, .45); }
.question__reponse { max-width: 42rem; padding: 0 2.6rem 1.6rem 0; color: #2A3245; }
.question__apporter { margin: 0; padding-left: 1rem; border-left: 2px solid var(--laiton); font: 400 .92rem/1.55 var(--sans); color: var(--encre-doux); }
.question__apporter strong { font-weight: 600; color: var(--encre); }
@media (max-width: 640px) {
  .question summary { flex-wrap: wrap; position: relative; padding-right: 2.2rem; }
  .question summary::after { position: absolute; right: 0; top: 1.1rem; }
  .question__texte { flex-basis: 100%; }
  .question__mots { flex: none; justify-content: flex-start; margin-top: .5rem; white-space: normal; }
  .question__mots::before { display: none; }
  .question__reponse { padding-right: 0; }
}

/* ---------- II. Le cabinet : article ---------- */
.article { max-width: var(--mesure); margin: 0 auto; }
.article::after { content: ""; display: table; clear: both; }
.portrait { margin: 0 0 2rem; }
.portrait figcaption { margin-top: .7rem; font: 500 .82rem/1.4 var(--sans); letter-spacing: .04em; color: var(--encre-doux); }
@media (min-width: 720px) {
  .portrait { float: right; width: 44%; margin: .4rem 0 1.5rem 2.2rem; }
}
@media (min-width: 1100px) {
  .portrait { width: 340px; margin-right: -9rem; }
}
.duotone { position: relative; isolation: isolate; overflow: hidden; background: var(--encre); }
.duotone img { width: 100%; filter: grayscale(1) contrast(1.08) brightness(1.04); mix-blend-mode: screen; }
.duotone::after { content: ""; position: absolute; inset: 0; background: #F1E6CF; mix-blend-mode: multiply; pointer-events: none; }
.portrait .duotone { aspect-ratio: 4 / 5; }
.portrait .duotone img { height: 100%; object-fit: cover; object-position: 50% 15%; }
.article__lettrine::first-letter {
  float: left; margin: .08em .1em 0 0; padding: 0;
  font: 400 4.6em/.8 var(--serif); color: var(--laiton-texte); font-variation-settings: 'opsz' 72;
}
.article p { hyphens: auto; }
.citation { clear: none; margin: 2.2rem 0; padding: 1.4rem 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); }
.citation p { margin: 0; font: italic 300 clamp(1.45rem, 2.6vw, 1.9rem)/1.3 var(--serif); }
.notice { clear: both; margin-top: 2.5rem; border-top: 3px double var(--encre); }
.notice > div { display: grid; gap: .2rem 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--filet); }
.notice dt { font: 500 .72rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--laiton-texte); }
.notice dd { font-size: 1.02rem; line-height: 1.45; }
@media (min-width: 600px) { .notice > div { grid-template-columns: 9rem 1fr; } }

/* ---------- III. Premier rendez-vous : articles de code ---------- */
.code { max-width: 58rem; margin: 0 auto; display: grid; gap: 0 3.5rem; }
.code__article { padding: 1.6rem 0; border-top: 1px solid var(--filet); }
.code__article:last-of-type { border-bottom: 1px solid var(--filet); }
.code__article h3 { font: 400 clamp(1.45rem, 2.4vw, 1.8rem)/1.2 var(--serif); margin-bottom: .7rem; }
.code__article h3 span {
  display: block; margin-bottom: .4rem;
  font: 500 .74rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--laiton-texte);
}
.code__article h3 sup { font-size: .75em; vertical-align: super; letter-spacing: 0; text-transform: none; }
.code__article p { margin: 0; color: #2A3245; }
.code__figure { margin-bottom: 1.5rem; }
@media (min-width: 560px) and (max-width: 859px) {
  .code__figure { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: end; }
}
.code__figure .duotone { aspect-ratio: 4 / 3; }
.code__figure .duotone img { height: 100%; object-fit: cover; }
.code__figure figcaption { margin-top: .7rem; font: italic 400 1rem/1.45 var(--serif); color: var(--encre-doux); }
@media (min-width: 860px) {
  .code { grid-template-columns: 1fr 17rem; }
  .code__figure { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: 80px; margin: 1.6rem 0 0; }
  .code__article { grid-column: 1; }
}

/* ---------- IV. Honoraires : barème ---------- */
.bareme { background: var(--nuit); color: #EEE8DA; }
.bareme .rubrique__num { color: var(--laiton-clair); }
.bareme .rubrique__num::before, .bareme .rubrique__num::after { background: var(--laiton-clair); opacity: .6; }
.bareme .rubrique__note { color: #C4C3BC; }
.bareme :focus-visible { outline-color: var(--laiton-clair); }
.tarifs { display: block; max-width: 44rem; margin: 0 auto; border-collapse: collapse; border-top: 1px solid rgba(238, 232, 218, .5); }
.tarifs tbody { display: block; }
.tarifs tr { display: flex; align-items: flex-end; gap: .8rem; padding: 1.15rem 0; border-bottom: 1px solid rgba(238, 232, 218, .16); }
.tarifs th { flex: 1; display: flex; align-items: flex-end; min-width: 0; text-align: left; font: 400 clamp(1.15rem, 2.2vw, 1.45rem)/1.25 var(--serif); }
.tarifs th::after { content: ""; flex: 1; min-width: 1rem; margin: 0 0 .32em .8rem; border-bottom: 1px dotted rgba(217, 189, 126, .6); }
.tarifs th small { display: block; margin-top: .25rem; font: 400 .8rem/1.3 var(--sans); letter-spacing: .04em; color: #B9B8B0; }
.tarifs td { white-space: nowrap; font: 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.1 var(--serif); color: var(--laiton-clair); }
.tarifs td sup { font: 500 .7rem var(--sans); margin-left: .15em; }
.notes { max-width: 44rem; margin: 2.2rem auto 0; counter-reset: note; font: 400 .92rem/1.6 var(--sans); color: #CFCDC4; }
.notes li { counter-increment: note; position: relative; padding-left: 1.6rem; margin-bottom: .9rem; }
.notes li::before { content: counter(note); position: absolute; left: 0; top: -.1em; font: italic 400 1.05rem var(--serif); color: var(--laiton-clair); }
.notes strong { color: #F4EFE4; font-weight: 600; }
@media (max-width: 480px) {
  .tarifs tr { flex-wrap: wrap; align-items: baseline; }
  .tarifs th { flex-basis: 100%; }
  .tarifs th::after { display: none; }
  .tarifs td { font-size: 1.3rem; }
}

/* ---------- V. Questions : format entretien ---------- */
.entretien { max-width: 62rem; margin: 0 auto; }
.qr { break-inside: avoid; padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--filet); }
.qr h3 { font: 500 1.24rem/1.35 var(--serif); margin-bottom: .6rem; }
.qr h3 abbr { font-style: italic; font-weight: 400; color: var(--laiton-texte); margin-right: .2em; }
.qr p { margin: 0; color: #2A3245; }
.qr p abbr { font: 600 .78rem var(--sans); letter-spacing: .1em; color: var(--laiton-texte); margin-right: .4em; }
@media (min-width: 860px) {
  .entretien { columns: 2; column-gap: 4rem; column-rule: 1px solid var(--filet); }
}

/* ---------- VI. Accès ---------- */
.acces { max-width: 62rem; margin: 0 auto; display: grid; gap: 2.5rem 3.5rem; }
@media (min-width: 900px) { .acces { grid-template-columns: 1.45fr 1fr; align-items: start; } }
.plan { border: 1px solid var(--encre); padding: 6px; background: var(--papier-clair); }
.plan svg { display: block; width: 100%; height: auto; }
.plan__fond { fill: var(--papier-fonce); }
.plan__rues path { fill: none; stroke: var(--papier-clair); stroke-width: 12; }
.plan__boulevard { fill: none; stroke: var(--papier-clair); stroke-width: 22; }
.plan__exemples { fill: none; stroke: var(--papier-clair); stroke-width: 16; }
.plan__avenue { fill: none; stroke: #DCC48F; stroke-width: 26; }
.plan__palais rect { fill: var(--papier-clair); stroke: var(--encre); stroke-width: 1.5; }
.plan__palais path { fill: none; stroke: var(--encre); stroke-width: 1; opacity: .55; }
.plan__place { fill: var(--papier-clair); stroke: var(--encre); stroke-width: 1; stroke-dasharray: 2 3; }
.plan__metro rect { fill: var(--encre); }
.plan__metro text { fill: var(--papier); font: 600 15px var(--sans); }
.plan__lieu { fill: var(--encre); font: 500 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.plan__lieu--fort { font-weight: 600; fill: var(--encre); }
.plan__rue { fill: var(--encre-doux); font: italic 400 14px var(--serif); }
.plan__trajet { fill: none; stroke: var(--laiton-texte); stroke-width: 2.5; stroke-dasharray: 1 6; stroke-linecap: round; }
.plan__cabinet circle { fill: var(--encre); stroke: var(--laiton); stroke-width: 3; }
.plan__cabinet .plan__cabinet-coeur { fill: var(--laiton-clair); stroke: none; }
.plan__mobile { display: none; }
@media (max-width: 599px) {
  .plan__rue, .plan__lieu { display: none; }
  .plan .plan__mobile { display: inline; font-size: 25px; }
  .plan .plan__echelle { font-size: 19px; }
}
.plan__echelle { fill: var(--encre-doux); font: 400 11px var(--sans); letter-spacing: .06em; }
.acces__texte address { font-style: normal; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.5rem; }
.trajets > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--filet); }
.trajets > div:last-child { border-bottom: 1px solid var(--filet); }
.trajets dt { font: 500 .72rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--laiton-texte); }
.trajets dd { font-size: 1rem; line-height: 1.45; }
.acces__photo { margin-top: 1.5rem; }
.acces__photo .duotone { aspect-ratio: 16 / 7; }
.acces__photo .duotone img { height: 100%; object-fit: cover; object-position: 50% 28%; }
.acces__photo figcaption { margin-top: .6rem; font: italic 400 .95rem var(--serif); color: var(--encre-doux); }

/* ---------- VII. Écrire : formulaire-lettre ---------- */
.ecrire { background: var(--papier-fonce); }
.ecrire .rubrique__note a { white-space: nowrap; }
.lettre {
  position: relative; max-width: 42rem; margin: 0 auto;
  padding: clamp(1.8rem, 6vw, 4rem) clamp(1.3rem, 6vw, 4.2rem);
  background: var(--papier-clair); color: var(--encre); font-size: 1.12rem;
  box-shadow: 0 1px 0 rgba(23, 32, 51, .08), 0 24px 50px -30px rgba(20, 28, 44, .45);
}
.lettre::before { /* feuille de dessous, à plat */
  content: ""; position: absolute; z-index: -1; left: 10px; right: -10px; top: 10px; bottom: -10px;
  background: #F6F1E6; box-shadow: 0 1px 0 rgba(23, 32, 51, .08);
}
.lettre { isolation: isolate; }
.lettre__destinataire { margin-left: auto; width: max-content; max-width: 100%; line-height: 1.45; }
.lettre__date { text-align: right; font-style: italic; color: var(--encre-doux); margin-bottom: 2rem; }
.lettre__objet { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; font-weight: 500; margin-bottom: 1.8rem; }
.lettre input, .lettre select, .lettre textarea {
  font: inherit; color: var(--encre); background: transparent;
  border: 0; border-bottom: 1px dotted var(--encre); border-radius: 0; padding: .15rem .2rem;
}
.lettre input:focus, .lettre select:focus, .lettre textarea:focus { outline: 2px solid var(--laiton-texte); outline-offset: 2px; border-bottom-color: transparent; }
.lettre ::placeholder { color: #8A8C8F; font-style: italic; }
.lettre select { padding-right: 1.4rem; cursor: pointer; -webkit-appearance: none; appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23172033' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right .2rem center / 10px 6px; max-width: 100%; }
.lettre__objet select { font-weight: 500; }
.lettre__ligne { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.lettre__ligne input { flex: 1 1 13rem; min-width: 0; }
.lettre__bloc label { display: block; margin-bottom: .4rem; }
.lettre textarea {
  display: block; width: 100%; resize: vertical; min-height: 9rem; border: 0; padding: 0 .2rem;
  line-height: 1.8rem; background: repeating-linear-gradient(transparent 0 calc(1.8rem - 1px), rgba(23, 32, 51, .28) calc(1.8rem - 1px) 1.8rem);
  background-attachment: local;
}
.lettre__erreur { flex-basis: 100%; font: 500 .85rem var(--sans); color: #8E2A22; }
.lettre [aria-invalid="true"] { border-bottom: 1px solid #8E2A22; }
.lettre__signature { min-height: 3rem; margin: 1.4rem 0 1.6rem; text-align: right; font: italic 300 2rem/1.2 var(--serif); color: var(--encre); }
.lettre__signature .est-vide { font-size: 1rem; color: #8A8C8F; }
.lettre__pied { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--filet); }
.bouton {
  min-height: 48px; padding: .8rem 1.5rem; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--encre); color: var(--papier); font: 500 .86rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.bouton:hover { background: #24304A; }
.lettre__demo { margin: 0; font: 400 .85rem/1.4 var(--sans); color: var(--encre-doux); }
.lettre__statut { margin: 1rem 0 0; font: 500 .95rem/1.5 var(--sans); color: #2C5A3B; }
.lettre__statut:empty { display: none; }
.lettre__mention { margin: 1rem 0 0; font: 400 .8rem/1.5 var(--sans); color: var(--encre-doux); }

/* ---------- Colophon ---------- */
.colophon { background: var(--nuit); color: #CFCDC4; padding: clamp(3rem, 6vw, 4.5rem) 0 6rem; font: 400 .9rem/1.6 var(--sans); }
.colophon a:hover { color: var(--laiton-clair); }
.colophon :focus-visible { outline-color: var(--laiton-clair); }
.colophon__marque {
  margin: 0 0 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(238, 232, 218, .25);
  font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--serif); letter-spacing: .07em; text-transform: uppercase; color: #F4EFE4;
}
.colophon__marque span { font: italic 300 .6em var(--serif); letter-spacing: .02em; text-transform: none; color: var(--laiton-clair); }
.colophon__grille { display: grid; gap: 1.2rem 3rem; }
@media (min-width: 860px) { .colophon__grille { grid-template-columns: 1.2fr 1.2fr .8fr; } }
.colophon__nav li { margin-bottom: .3rem; }
.colophon__nav a { text-decoration: none; color: #F4EFE4; }
.colophon__bas { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(238, 232, 218, .15); font-size: .8rem; color: #A9A8A1; }
.colophon__bas p { margin: 0 0 .3rem; }
.colophon__bas a { color: #F4EFE4; }

/* ---------- Pastille démo : toujours entièrement visible ---------- */
.pastille {
  position: fixed; z-index: 60;
  left: max(8px, env(safe-area-inset-left)); bottom: max(8px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: .5rem;
  width: auto; max-width: calc(100vw - 16px);
  padding: .35rem .4rem .35rem .85rem; border-radius: 3px;
  background: rgba(20, 28, 44, .96); color: #DAD6CA; font: 400 .76rem/1.25 var(--sans);
  box-shadow: 0 10px 24px -12px rgba(20, 28, 44, .6);
}
.pastille span { min-width: 0; }
.pastille a { flex: none; padding: .35rem .75rem; border-radius: 2px; background: var(--laiton-clair); color: var(--nuit); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pastille a:hover { background: #E8D3A4; color: var(--nuit); }
.pastille a:focus-visible { outline-color: var(--laiton-clair); }
@media (max-width: 479px) { .pastille { font-size: .68rem; gap: .4rem; padding-left: .7rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
