/* M.MorganPhoto — styles */
/* Polices hébergées sur le site (aucun appel à Google). Fichiers dans assets/fonts/ — voir README. */
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-regular.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/hanken-grotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/hanken-grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/hanken-grotesk-600.woff2') format('woff2'); }
:root {
  --ink: #0E0C0B; --paper: #F1ECE3; --gel: #D3CABC; --mute-d: #B8B0A5; --mute-l: #5C554C;
  --red: #D0584C; --red-l: #9A2E26;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --len-intro: 800vh; --len-event: 505vh; --len-wall: 420vh; --len-booth: 640vh;
}
@media (max-width: 760px) { :root { --len-intro: 720vh; --len-event: 460vh; --len-wall: 385vh; --len-booth: 585vh; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --paper: #EEE8DE; } }
:root[data-theme="dark"] { --paper: #EEE8DE; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; opacity: 0; transition: opacity .4s; }
#gl.on { opacity: 1; }
.progress { position: fixed; left: 0; top: 0; height: 1px; width: 100%; background: currentColor; opacity: .5; transform-origin: left; transform: scaleX(0); z-index: 51; color: var(--paper); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px clamp(18px, 4vw, 44px); color: var(--paper); transition: color .45s ease; }
.nav.on-light, .nav.on-light ~ .progress { color: var(--ink); }
.nav a { text-decoration: none; }
.logo { font-family: var(--serif); font-size: 24px; white-space: nowrap; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav ul a { padding: 12px 0; opacity: .85; }
.nav ul a:hover { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid currentColor; border-radius: 999px; padding: 0 18px; font-size: 14px; background: none; color: inherit; cursor: pointer; white-space: nowrap; text-decoration: none; }
.menu-btn { display: none; }
@media (max-width: 1060px) { .nav ul { display: none; } .menu-btn { display: inline-flex; } .nav .cta { display: none; } }
@media (max-width: 540px) { .nav .motion-toggle { display: none; } }
#menu { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper); display: none; flex-direction: column; justify-content: center; gap: 4px; padding: 32px; }
#menu.open { display: flex; }
#menu a { font-family: var(--serif); font-size: 46px; line-height: 1.25; text-decoration: none; }
#menu .close { position: absolute; top: 18px; right: 18px; }
#menu .motion { margin-top: 32px; align-self: flex-start; }

/* Séquences 3D */
.scene { position: relative; z-index: 1; }
#s-intro { height: var(--len-intro); } #s-event { height: var(--len-event); }
#portfolio { height: var(--len-wall); } #s-booth { height: var(--len-booth); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.sticky a, .sticky button { pointer-events: auto; }
.ov { position: absolute; opacity: 0; visibility: hidden; will-change: opacity, transform, filter; }
.hero { left: clamp(20px, 6vw, 88px); bottom: clamp(96px, 14vh, 150px); max-width: 580px; opacity: 1; visibility: visible; }
.hero h1 { font: 500 15px/1.4 var(--sans); letter-spacing: .03em; color: #E6DFD4; margin: 0 0 16px; }
.hero .sig { font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); line-height: 1.1; margin: 0; color: #F4EFE7; max-width: 22ch; }
.hero p:not(.sig) { margin: 18px 0 0; color: #C9C1B6; font-size: 16px; line-height: 1.55; }
.word { inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: clamp(64px, 11vw, 190px); letter-spacing: -.01em; text-align: center; padding: 0 20px; }
.caption { left: clamp(20px, 6vw, 88px); bottom: clamp(32px, 7vh, 64px); max-width: 420px; font-size: 16px; line-height: 1.6; color: #F1ECE3; }
.caption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 30px; margin-bottom: 6px; }
.caption a, .caption button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; border: 0; border-bottom: 1px solid rgba(241,236,227,.55); background: none; color: inherit; padding: 0; cursor: pointer; text-decoration: none; font-size: 15px; }
.fallback { display: none; padding: 120px clamp(20px, 6vw, 88px) 72px; }
.fb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
@media (max-width: 760px) { .fb-grid { grid-template-columns: 1fr 1fr; } }
body.lite .scene { height: auto !important; }
body.lite .sticky { position: relative; height: auto; overflow: visible; pointer-events: auto; }
body.lite .ov { display: none; }
body.lite .fallback { display: block; }
body.lite #gl { display: none; }

/* Zones calmes */
.calm { position: relative; z-index: 2; padding: clamp(96px, 12vw, 168px) clamp(20px, 6vw, 88px); }
.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--ink); color: var(--paper); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7.4vw, 112px); line-height: .96; margin: 0; letter-spacing: -.01em; }
h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1; margin: 0; }
.lede { font-family: var(--serif); font-size: clamp(25px, 2.5vw, 36px); line-height: 1.2; margin: 0; max-width: 28ch; }
.body { font-size: 17px; line-height: 1.7; max-width: 56ch; margin: 24px 0 0; }
.light .body { color: #4A443C; } .dark .body { color: var(--mute-d); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; margin-top: clamp(48px, 6vw, 80px); }
.split.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } }
.ph { background: #D6CEC1; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.tall { aspect-ratio: 4 / 5; } .ph.wide { aspect-ratio: 3 / 2; }
.facts { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--gel); }
.facts li { display: grid; grid-template-columns: minmax(120px, 210px) 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--gel); }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 25px; }
.facts span { font-size: 15px; line-height: 1.6; opacity: .82; }
.prices { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid currentColor; }
.prices li { display: grid; grid-template-columns: minmax(96px, 220px) 1fr auto; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--gel); }
.prices .d, .prices .p { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-variant-numeric: tabular-nums; }
.prices .n { font-size: 15px; opacity: .72; }
@media (max-width: 560px) { .prices li { grid-template-columns: 1fr auto; } .prices .n { grid-column: 1 / -1; grid-row: 2; } }
.todo { color: var(--red-l); font-weight: 500; }
.dark .todo { color: #F4A197; }
.note { font-size: 14px; line-height: 1.6; opacity: .86; margin-top: 20px; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 15px var(--sans); border: 0; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.dark .btn { background: var(--paper); color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { background: none; border: 0; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding: 10px 0 3px; cursor: pointer; font: inherit; font-size: 15px; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
@media (max-width: 860px) { .cols2 { grid-template-columns: 1fr; } }
.pb-formules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid currentColor; margin-top: 64px; }
.pb-formules div { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--gel); }
.pb-formules div + div { border-left: 1px solid var(--gel); padding-left: 24px; }
.pb-formules .q { font-family: var(--serif); font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.pb-formules .l { font-size: 14px; opacity: .72; margin-top: 10px; }
.pb-formules .p { font-family: var(--serif); font-size: 28px; margin-top: 22px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .pb-formules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-formules div:nth-child(3) { border-left: 0; padding-left: 0; } .pb-formules div + div { padding-left: 16px; } .pb-formules div { padding-right: 12px; } .pb-formules .p { font-size: 22px; } }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { border-top: 1px solid currentColor; padding-top: 22px; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 44px; display: block; line-height: 1; margin-bottom: 18px; color: var(--red); }
.steps b { display: block; font-weight: 500; font-size: 17px; margin-bottom: 8px; }
.steps span { font-size: 15px; line-height: 1.6; opacity: .8; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Formulaire */
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; margin-top: 56px; }
@media (max-width: 760px) { form { grid-template-columns: 1fr; } }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 14px; color: var(--mute-d); }
.f input, .f select, .f textarea { font: 17px var(--sans); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid #5A5148; padding: 12px 0; border-radius: 0; min-height: 48px; }
.f select option { color: #0E0C0B; }
.f textarea { min-height: 140px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom-color: var(--paper); }
.f [aria-invalid="true"] { border-bottom-color: #F08A7E; }
.f .err { font-size: 13px; color: #F4A197; min-height: 18px; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--mute-d); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: #F1ECE3; flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
#form-status { font-size: 15px; line-height: 1.6; max-width: 60ch; margin: 0; }
#form-status.ok { color: #CFE3C6; } #form-status.ko { color: #F4A197; }
.contact-direct { margin-top: 28px; font-size: 15px; color: var(--mute-d); line-height: 1.8; }
.contact-direct a { color: var(--paper); }

/* Galerie (lightbox) */
dialog#gallery { width: min(1200px, 96vw); max-height: 92vh; border: 0; padding: 0; background: var(--ink); color: var(--paper); }
dialog#gallery::backdrop { background: rgba(8, 7, 6, .86); }
.g-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--ink); z-index: 2; }
.g-head h2 { font-size: 36px; }
.g-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.g-tabs button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; padding: 0 22px 22px; }
.g-grid button { padding: 0; border: 0; background: #1C1916; cursor: zoom-in; aspect-ratio: 3 / 2; overflow: hidden; }
.g-grid img { width: 100%; height: 100%; object-fit: cover; }
.g-view { display: none; padding: 0 22px 22px; }
.g-view.on { display: block; }
.g-view img { max-height: 72vh; margin: 0 auto; object-fit: contain; }
.g-nav { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }

footer { position: relative; z-index: 2; background: var(--ink); color: var(--paper); padding: 80px clamp(20px, 6vw, 88px) 40px; border-top: 1px solid #2A2521; overflow: hidden; }
.wordmark { font-family: var(--serif); font-size: clamp(64px, 15.5vw, 270px); line-height: .82; letter-spacing: -.02em; margin: 0 0 56px; white-space: nowrap; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 14px; line-height: 1.9; }
.foot-row ul { list-style: none; margin: 0; padding: 0; }
.foot-row a { text-decoration: none; opacity: .85; }
.foot-row a:hover { opacity: 1; }
.legal { margin-top: 48px; font-size: 13px; opacity: .78; }
@media (prefers-reduced-motion: reduce) { .cue-track i, .cue-in { animation: none !important; } .cue-in { opacity: 1; } .btn { transition: none; } }

/* Pages légales */
body.legal-doc { background: var(--paper); color: var(--ink); }
.legal-nav { background: var(--paper); }
.legal-page { max-width: 760px; margin: 0 auto; padding: 140px 24px 96px; }
.legal-page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6vw, 72px); line-height: 1; margin: 0 0 12px; }
.legal-page h2 { font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 44px 0 10px; letter-spacing: 0; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; color: #3F3A33; }
.legal-page ul { padding-left: 20px; }
.legal-page blockquote { border-left: 2px solid var(--gel); margin: 24px 0; padding: 4px 0 4px 20px; }
.legal-page code { font-size: 14px; background: #E6DFD3; padding: 1px 6px; border-radius: 4px; }
.legal-maj { font-size: 14px; opacity: .7; margin: 0 0 32px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--gel); font-size: 14px; }
.legal-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* Téléphone à l'horizontale : accueil plus compact */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { max-width: 46%; bottom: 44px; }
  .hero h1 { display: none; }
  .hero .sig { font-size: 21px; }
  .hero p { font-size: 13px; margin-top: 10px; }
  .scroll-cue { bottom: 10px; }
  .cue-track { height: 22px; }
  .word { font-size: 64px; }
  .caption { bottom: 20px; font-size: 13px; }
  .caption strong { font-size: 22px; }
}

/* Indicateur de scroll : discret, centré, disparaît dès les premiers pixels de défilement */
.scroll-cue { left: 0; right: 0; bottom: clamp(20px, 4vh, 36px); display: flex; justify-content: center; opacity: 1; visibility: visible; }
.cue-in { display: flex; flex-direction: column; align-items: center; gap: 12px; opacity: 0; animation: cue-in 1s ease 1.2s forwards; }
.cue-label { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #D9D2C7; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.cue-track { position: relative; width: 1px; height: 38px; background: rgba(241,236,227,.25); overflow: hidden; }
.cue-track i { position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: #F1ECE3; animation: cue-run 2.2s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue-in { to { opacity: 1; } }
@keyframes cue-run { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }

/* Lisibilité des textes posés sur la 3D : voiles très doux et ombres portées, sans aplat */
.hero::before, .caption::before { content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -90px -140px -70px -160px; background: radial-gradient(ellipse 60% 60% at 35% 60%, rgba(8,7,6,.62), rgba(8,7,6,0) 72%); }
.hero, .caption { text-shadow: 0 1px 14px rgba(0,0,0,.55); isolation: isolate; }
.word { text-shadow: 0 2px 28px rgba(0,0,0,.5), 0 0 2px rgba(0,0,0,.25); }
.word::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 42% 26% at 50% 50%, rgba(8,7,6,.42), rgba(8,7,6,0) 70%); }
.word { isolation: isolate; }
.nav::before { content: ''; position: absolute; z-index: -1; inset: 0 0 -40px 0; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(rgba(8,7,6,.62), rgba(8,7,6,0)); }
.nav.over-scene::before { opacity: 1; }
@media (max-width: 760px) {
  .hero { bottom: 92px; right: 20px; }
  .hero .sig { font-size: 29px; }
  .caption { font-size: 15px; right: 20px; }
}
@media (max-width: 560px) { .facts li { grid-template-columns: 1fr; gap: 6px; } }

/* Deux séquences 3D qui se suivent (Portfolio → Photobooth) : la seconde s'accroche au moment où la première se termine,
   sans 100vh de noir entre les deux. */
#s-booth { margin-top: -100vh; }
body.lite #s-booth { margin-top: 0; }

/* Repère de chapitre : discret, sous le logo */
.chapter { position: fixed; z-index: 49; top: 78px; left: clamp(18px, 4vw, 44px); display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #E6DFD4; text-shadow: 0 1px 10px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-6px); transition: opacity .5s ease, transform .5s ease, color .45s ease; pointer-events: none; }
.chapter.on { opacity: 1; transform: none; }
.chapter.swap .ch-num, .chapter.swap .ch-name { animation: ch-in .45s ease both; }
@keyframes ch-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chapter .ch-num { color: var(--red); }
.chapter .ch-sep { width: 22px; height: 1px; background: currentColor; opacity: .6; }
.chapter .ch-bar { width: 44px; height: 1px; background: rgba(241,236,227,.22); overflow: hidden; margin-left: 4px; }
.chapter .ch-bar b { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
.chapter.on-light { color: #1A1816; text-shadow: none; }
.chapter.on-light .ch-num { color: var(--red-l); }
.chapter.on-light .ch-bar { background: rgba(14,12,11,.18); }
body.menu-open .chapter { opacity: 0; }

/* Annonce de la suite / relance, en bas au centre */
.next-cue { position: fixed; z-index: 48; left: 50%; bottom: clamp(16px, 3.5vh, 30px); transform: translate(-50%, 8px); display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity .5s ease, transform .5s ease; }
.next-cue.on { opacity: 1; transform: translate(-50%, 0); }
.next-cue .nc-label { font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #E6DFD4; text-shadow: 0 1px 10px rgba(0,0,0,.7); white-space: nowrap; }
.next-cue .cue-track { height: 26px; }
body.lite .next-cue { display: none; }
@media (max-width: 760px) {
  .chapter { top: 76px; font-size: 11px; letter-spacing: .16em; }
  .caption { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .chapter, .next-cue { transition: none; } .chapter.swap .ch-num, .chapter.swap .ch-name { animation: none; } }
.next-cue.on-light .nc-label { color: #1A1816; text-shadow: none; }
.next-cue.on-light .cue-track { background: rgba(14,12,11,.2); }
.next-cue.on-light .cue-track i { background: #1A1816; }

/* Pastille translucide : repères lisibles sur n'importe quel fond (photo claire, papier, nuit) */
.chapter, .next-cue .nc-label { background: rgba(10,9,8,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 999px; }
.chapter { padding: 8px 14px 8px 12px; margin-left: -12px; }
.next-cue .nc-label { padding: 8px 14px; }
.chapter.on-light, .next-cue.on-light .nc-label { background: rgba(241,236,227,.72); }

/* Pages légales : sommaire, tableau des durées, sous-titres, marqueurs à compléter */
.legal-page h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin: 28px 0 8px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 8px 0 8px; padding: 16px 0; border-top: 1px solid var(--gel); border-bottom: 1px solid var(--gel); font-size: 14px; }
.legal-toc a { min-height: 32px; display: inline-flex; align-items: center; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.55; color: #3F3A33; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--gel); }
.legal-table th { font-weight: 600; color: var(--ink); }
.todo { overflow-wrap: anywhere; }
.legal-page [hidden] { display: none; }

/* Formulaire : mention d'information RGPD et indication des champs */
.f label .req { color: var(--red); margin-left: 2px; }
.f label .opt { color: var(--mute-d); font-size: 12px; margin-left: 6px; }
.form-info { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.65; color: var(--mute-d); max-width: 70ch; }
.form-info a { color: var(--paper); }
.form-legend { grid-column: 1 / -1; margin: 0 0 -8px; font-size: 13px; color: var(--mute-d); }
.price-notes { margin-top: 18px; }
.price-notes p { margin: 6px 0 0; }
