/* Bois & Matière — studio de mobilier contemporain (site de démonstration TBconcept, entreprise fictive) */

:root {
  --creme: #f7f3ec;
  --lin: #efe7da;
  --sable: #e4d6c1;
  --sable-fonce: #cdb999;
  --noyer: #6b4a34;
  --noyer-fonce: #4a3223;
  --noir: #1c1b19;
  --texte: #24211e;
  --texte-doux: #6a6057;
  --ligne: rgba(36, 33, 30, .12);

  --titre: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --corps: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;

  --gouttiere: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --r-img: clamp(12px, 1.4vw, 20px);
  --r-ui: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--texte); font: 400 1.0625rem/1.65 var(--corps); overflow-x: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .55em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); letter-spacing: -.015em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--noyer); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--noir); color: var(--creme); padding: 10px 16px; border-radius: var(--r-ui); }
.skip:focus { top: 12px; }
.muted { opacity: .7; font-size: .92em; }
:focus-visible { outline: 2px solid var(--noyer); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--noir); color: var(--creme); font: 500 1rem/1 var(--corps); letter-spacing: .01em;
  padding: 1.05rem 1.7rem; border: 1px solid var(--noir); border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--noyer-fonce); border-color: var(--noyer-fonce); }
.btn:active { transform: translateY(1px); }
.btn-small { padding: .75rem 1.2rem; font-size: .95rem; }
.btn-ghost { background: rgba(247, 243, 236, .55); color: var(--noir); border-color: rgba(28, 27, 25, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--creme); color: var(--noir); border-color: var(--noir); }

.eyebrow { font: 500 .8rem/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--noyer); margin-bottom: 1.1rem; }
.eyebrow-light { color: var(--sable-fonce); }

/* ---------- En-tête : transparent sur le hero, opaque au défilement ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s; }
.site-header.is-scrolled { background: rgba(247, 243, 236, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--ligne); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--noir); }
.logo-mark { width: 30px; height: 30px; color: var(--noyer); flex: none; }
.logo-text { font: 500 1.32rem/1 var(--titre); letter-spacing: -.02em; white-space: nowrap; }
.logo .amp { font-style: italic; font-weight: 400; color: var(--noyer); }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .97rem; color: #4a433c; transition: color .2s; padding: .4rem 0; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--noir); }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(28,27,25,.2); border-radius: 999px; background: rgba(247,243,236,.6); cursor: pointer; color: var(--noir); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background-color .25s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); height: calc(100dvh - var(--header-h)); background: var(--creme); padding: 1rem var(--gouttiere) 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--ligne); }
  .nav li:last-child { border: 0; padding-top: 1.6rem; }
  .nav a:not(.btn) { display: block; font: 500 1.75rem/1.2 var(--titre); letter-spacing: -.02em; color: var(--noir); padding: 1rem 0; }
  .nav .btn { width: 100%; padding: 1.1rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--creme); }
}

/* ---------- Accueil plein écran ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; animation: heroZoom 2.8s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
/* Voile clair : le mur crème à gauche porte un texte foncé */
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(247,243,236,.55) 0%, rgba(247,243,236,0) 18%),
    linear-gradient(0deg, rgba(247,243,236,.95) 0%, rgba(247,243,236,.8) 42%, rgba(247,243,236,.3) 62%, rgba(247,243,236,0) 78%); }
.hero-content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(5.5rem, 12vh, 8rem); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.035em; max-width: 9.5em; text-wrap: balance; color: var(--noir); }
.hero-sub { font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: #3d3731; max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-line { animation: rise 1s var(--ease) both; animation-delay: calc(.3s + var(--d, 0s)); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.scroll-hint { display: none; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 30px; height: 52px; justify-content: center; }
.scroll-line { width: 1px; height: 100%; background: rgba(28,27,25,.25); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--noir); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }

@media (min-width: 960px) {
  .scroll-hint { display: flex; }
  .hero { align-items: center; }
  .hero-img { object-position: 15% 50%; }
  .hero-shade { background:
    linear-gradient(90deg, rgba(247,243,236,.7) 0%, rgba(247,243,236,.35) 32%, rgba(247,243,236,0) 52%),
    linear-gradient(0deg, rgba(247,243,236,.35) 0%, rgba(247,243,236,0) 30%); }
  .hero-content { padding-bottom: 4rem; }
  .hero h1 { max-width: 6.6em; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-split { max-width: none; display: grid; gap: 1rem; align-items: end; }
.section-intro { color: var(--texte-doux); margin: 0; }
@media (min-width: 960px) { .section-head-split { grid-template-columns: 1.6fr 1fr; gap: 4rem; } .section-head-split h2 { margin-bottom: 0; } .section-intro { text-align: right; } }

/* ---------- Le studio ---------- */
.studio-grid { display: grid; gap: 1rem 4rem; align-items: start; }
.studio-grid h2 { margin-bottom: 0; }
.studio-text > p { color: var(--texte-doux); max-width: 46ch; }
.studio-facts { list-style: none; display: grid; gap: 1.2rem; margin: 2rem 0; padding-top: 1.4rem; border-top: 1px solid var(--ligne); }
.studio-facts li { display: grid; gap: .1rem; align-content: start; }
.studio-facts strong { font: 500 1.1rem/1.2 var(--titre); }
.studio-facts span { font-size: .92rem; color: var(--texte-doux); }
.studio-sign { font: 500 1rem/1.4 var(--titre); color: var(--texte) !important; margin: 0; }
@media (min-width: 560px) { .studio-facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Bandeaux photo pleine largeur ---------- */
.bandeau { position: relative; width: 100%; height: 62vh; height: 62svh; min-height: 340px; max-height: 760px; overflow: hidden; background: var(--sable); isolation: isolate; }
.bandeau-media { position: absolute; inset: 0; z-index: -2; }
.bandeau-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.bandeau::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,18,16,.62) 0%, rgba(20,18,16,.18) 38%, rgba(20,18,16,0) 60%); }
.bandeau-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gouttiere) clamp(1.6rem, 4vw, 3.4rem); max-width: calc(var(--max) + 2 * var(--gouttiere)); margin: 0 auto; }
.bandeau-text span { display: block; max-width: 18em; font: 500 clamp(1.6rem, 3.4vw, 3.2rem)/1.08 var(--titre); letter-spacing: -.025em; color: #fff; text-wrap: balance; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.js .zoom { transform: scale(1.08); transition: transform 1.8s var(--ease); }
.js .zoom.is-visible { transform: scale(1); }
@media (min-width: 960px) { .bandeau { height: min(82vh, 52vw); min-height: 460px; } }

/* ---------- Créations ---------- */
.cards { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.2rem, 2.5vw, 2rem); }
.card { display: flex; flex-direction: column; }
.card-media { overflow: hidden; border-radius: var(--r-img); background: var(--sable); }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding-top: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body > p { color: var(--texte-doux); }
.price { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; font-size: .95rem; color: var(--texte-doux) !important; }
.price strong { font: 500 1.3rem/1 var(--titre); color: var(--noir); }
.price em { font-style: normal; font-size: .85rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Méthode ---------- */
.methode { background: var(--noir); color: #d8cfc2; }
.methode h2, .methode h3 { color: var(--creme); }
.steps { list-style: none; display: grid; gap: 0; }
.step { padding: 1.2rem 0; border-top: 1px solid rgba(228, 214, 193, .2); display: grid; grid-template-columns: 2.8rem 1fr; column-gap: .8rem; }
.step-num { grid-row: span 2; font-size: .9rem; color: var(--sable-fonce); letter-spacing: .08em; padding-top: .2rem; }
.step h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.step p { margin: 0; font-size: .97rem; color: #bdb2a4; }
.essence-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.essence-list li { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .5rem; border: 1px solid rgba(228, 214, 193, .22); border-radius: 999px; font-size: .95rem; color: var(--creme); }
.swatch { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
  .step { display: block; padding-top: 1.4rem; border-top-color: rgba(228, 214, 193, .3); }
  .step-num { display: block; margin-bottom: 1.6rem; }
}

/* ---------- Réalisations : 3 grandes images ---------- */
.gallery { list-style: none; display: grid; gap: clamp(.8rem, 1.6vw, 1.4rem); }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: var(--sable); position: relative; overflow: hidden; border-radius: var(--r-img); cursor: zoom-in; color: var(--noir); text-align: left; font: inherit; }
.g-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.03); }
.g-cap { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: rgba(247, 243, 236, .93); padding: .45rem .9rem; border-radius: 999px; font-weight: 500; font-size: .88rem; }
.note { font-size: .85rem; color: var(--texte-doux); margin-top: 1.2rem; }
@media (min-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-1 { grid-column: 1 / -1; }
  .g-1 img { aspect-ratio: 2 / 1; object-position: 50% 60%; }
  .g-cap { left: 18px; bottom: 18px; font-size: .92rem; }
}

/* ---------- Devis ---------- */
.devis { background: var(--sable); }
.devis-grid { display: grid; gap: 2.5rem; }
.devis-intro > p { color: #5c5249; max-width: 40ch; }
.devis-alt a { color: var(--noir); font-weight: 600; }
.form { background: var(--creme); border-radius: var(--r-img); padding: clamp(1.4rem, 3.5vw, 2.8rem); display: grid; gap: 1.3rem; min-width: 0; box-shadow: 0 30px 60px -40px rgba(74, 50, 35, .35); }
.field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .45rem; }
.field > label, .field legend { font-weight: 600; font-size: .96rem; padding: 0; }
.field legend { margin-bottom: .45rem; }
.req { color: var(--noyer); }
.hint { font-weight: 400; font-size: .88rem; color: var(--texte-doux); margin: 0; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: #fffdf9; border: 1px solid #d9ccb8; border-radius: var(--r-ui); padding: .8rem .95rem; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 110px; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231c1b19' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .95rem center; background-size: 12px 8px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(28, 27, 25, .1); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #a3402a; }
.error { color: #a3402a; font-size: .9rem; margin: 0; }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.dims label { display: grid; gap: .3rem; font-size: .88rem; color: var(--texte-doux); }
.dims input { padding: .75rem .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem; border: 1px solid #d9ccb8; border-radius: 999px; background: #fffdf9; font-size: .94rem; transition: background-color .2s, border-color .2s, color .2s; }
.chip i { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); }
.chip input:checked + span { background: var(--noir); border-color: var(--noir); color: var(--creme); }
.chip input:focus-visible + span { outline: 2px solid var(--noyer); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; font-weight: 600; font-size: .96rem; line-height: 1.45; }
.check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: .1rem 0 0; flex: none; accent-color: var(--noir); }
.check .hint { display: block; }
.field-row { display: grid; gap: 1.3rem; }
.form-foot { display: grid; gap: .8rem; }
.form-foot .btn { justify-self: start; }
.form-result { background: var(--noir); color: var(--creme); padding: 1rem 1.2rem; border-radius: var(--r-ui); font-size: .97rem; }
.form-result strong { color: var(--sable); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .devis-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .devis-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; align-items: center; }
.coords { margin: 1.6rem 0 2rem; display: grid; }
.coords div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--ligne); }
.coords div:last-child { border-bottom: 1px solid var(--ligne); }
.coords dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--noyer); padding-top: .25rem; font-weight: 500; }
.coords dd { margin: 0; }
.coords a { text-underline-offset: 3px; text-decoration-color: var(--sable-fonce); }
.coords .muted { color: var(--texte-doux); opacity: 1; font-size: .86rem; }
.plan svg { width: 100%; height: auto; display: block; border-radius: var(--r-img); }
.plan figcaption { font-size: .85rem; color: var(--texte-doux); margin-top: .7rem; }
.p-bg { fill: var(--lin); }
.p-road { fill: none; stroke: #fffaf2; stroke-width: 14; stroke-linecap: round; }
.p-road-main { stroke-width: 24; }
.p-road-thin { stroke-width: 7; }
.p-park { fill: #d6d3bd; }
.p-label { fill: #8a7c6c; font: 500 12px var(--corps); letter-spacing: .1em; text-transform: uppercase; }
.p-label-main { font: 500 17px var(--titre); letter-spacing: -.01em; text-transform: none; fill: var(--noir); }
.p-halo { fill: rgba(107, 74, 52, .14); }
.p-dot { fill: var(--noir); stroke: var(--creme); stroke-width: 4; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #bdb2a4; padding: 3.5rem 0 5.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.2rem; border-bottom: 1px solid rgba(228, 214, 193, .14); }
.logo-footer { color: var(--creme); }
.logo-footer .logo-mark, .logo-footer .amp { color: var(--sable-fonce); }
.footer-tag { margin: 1rem 0 0; max-width: 40ch; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--creme); }
.footer-bottom { padding-top: 1.6rem; display: grid; gap: .4rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--sable); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } .footer-bottom { grid-template-columns: 1fr auto; } }

/* ---------- Pastille démo ---------- */
.demo-badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: .7rem; background: rgba(28, 27, 25, .9); color: var(--sable); font-size: .78rem; line-height: 1.2; padding: .45rem .5rem .45rem .85rem; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); max-width: calc(100vw - 24px); }
.demo-badge a { color: var(--noir); font-weight: 600; text-decoration: none; background: var(--sable); padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; }
.demo-badge a:hover { background: var(--creme); }
@media (max-width: 479px) { .demo-badge { font-size: .72rem; gap: .5rem; padding-left: .7rem; } }

/* ---------- Visionneuse ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); overflow: visible; }
.lightbox::backdrop { background: rgba(20, 18, 16, .9); }
.lightbox img { max-width: min(960px, 94vw); max-height: 80vh; width: auto; height: auto; border-radius: var(--r-img); margin: 0 auto; }
.lb-caption { color: var(--sable); text-align: center; margin: .9rem auto 0; font-size: .95rem; max-width: 60ch; }
.lb-close-form { position: absolute; top: -52px; right: 0; margin: 0; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247,243,236,.4); background: transparent; color: var(--creme); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(247,243,236,.12); }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal, .js .zoom { opacity: 1; transform: none; }
}
