/* =========================================================================
   La Cave aux Instrum' — feuille de style principale
   Atelier familial · direction artistique artisanale et chaleureuse.
   Tons bois (noyer, ivoire) + accents cuivre / laiton.
   Titres : serif (Fraunces). Texte : sans-serif système.
   ========================================================================= */

/* Fraunces — serif chaleureuse et "old style" pour les titres.
   Police auto-hébergée (aucun appel à Google Fonts) : fichiers dans
   assets/fonts/. Variable, graisses 400 à 700, axe optique 9-144.
   Mise à jour : télécharger les .woff2 sur fonts.google.com/specimen/Fraunces
   ou gwfh.mranftl.com, puis remplacer les fichiers. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  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: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  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 {
  /* Bois & ivoire */
  --walnut-900:  #241812;
  --walnut-800:  #2f2015;
  --walnut-700:  #3d2a1c;
  --walnut-600:  #5a3d28;
  --wood-500:    #7a563a;
  --ivory:       #f7f0e1;
  --ivory-2:     #efe4cf;
  --paper:       #fffdf7;

  /* Cuivre / laiton */
  --brass:       #b07a35;
  --brass-light: #cd9a5b;
  --brass-dark:  #8a5c25;
  --copper:      #a5623a;
  --verdigris:   #4f6d5e;

  --ink:         #2b2016;
  --text:        #3a2e22;
  --text-soft:   #6c5c49;
  --line:        #e0d2b8;

  --focus:       #1a5fb4;

  --radius:      12px;
  --radius-sm:   7px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(36, 24, 18, .09), 0 1px 2px rgba(36, 24, 18, .06);
  --shadow-md:   0 14px 34px -14px rgba(36, 24, 18, .34);
  --shadow-lg:   0 30px 60px -22px rgba(36, 24, 18, .42);
  --container:   1160px;

  --font: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino,
          Georgia, "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ivory:      #1c1611;
    --ivory-2:    #241c14;
    --paper:      #241a12;
    --walnut-900: #f3e8d5;
    --walnut-800: #ece0cb;
    --walnut-700: #e4d6bd;
    --ink:        #f4ebda;
    --text:       #eaddc8;
    --text-soft:  #b7a488;
    --line:       #3c2f21;
    --brass:      #cd9a5b;
    --brass-light:#e0b984;
    --brass-dark: #b07a35;
    --verdigris:  #7c9c8b;
  }
}

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

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

/* Pages internes : même direction artistique que l'accueil. */
body:has(.breadcrumb) .breadcrumb { background: #0d0d11; border-bottom-color: #332619; color: #b7b2aa; }
body:has(.breadcrumb) .site-footer { background: #140d08; border-top-color: #332619; color: #b7b2aa; }
body:has(.breadcrumb) .cta-band, body:has(.breadcrumb) .catalogue-filters, body:has(.breadcrumb) .cat-card { background: rgba(24,24,29,.78); border-color: #3d2f1f; box-shadow: 0 16px 50px rgba(0,0,0,.22); }
body:has(.breadcrumb) .cat-card:hover, body:has(.breadcrumb) .cta-band:hover { border-color: #8d7749; box-shadow: 0 20px 60px rgba(223,183,72,.12); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.03rem;
  line-height: 1.68;
  color: var(--text);
  background-color: var(--ivory);
  background-image:
    radial-gradient(1400px 700px at 100% -5%, rgba(176, 122, 53, .10), transparent 60%),
    radial-gradient(900px 500px at -10% 8%, rgba(122, 86, 58, .08), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brass-dark); text-underline-offset: 2px; }
a:hover { color: var(--copper); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  line-height: 1.15;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.35rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.1rem);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--walnut-900);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  font-family: var(--font-display);
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: .02em;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brass-dark);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: translateY(-.35em);
}
.eyebrow--light { color: var(--brass-light); }

/* ---------- Bande d'annonce défilante ---------- */
.announce-bar {
  overflow: hidden;
  background: linear-gradient(135deg, #7a1f1f, #b13030);
  color: #fff;
  white-space: nowrap;
}
.announce-track {
  display: inline-flex;
  width: max-content;
  animation: announce-scroll 24s linear infinite;
}
.announce-track span {
  padding: .5rem 2rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
@keyframes announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .announce-bar { overflow-x: auto; }
}

/* ---------- En-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg, .brand img { width: 42px; height: 42px; flex: none; }
.brand span small {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  font-size: .67rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .55rem .7rem;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}

.main-nav ul {
  display: flex;
  gap: .2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--walnut-700);
  font-size: .95rem;
  font-weight: 500;
}
.main-nav a:hover { background: var(--ivory-2); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brass-dark); background: var(--ivory-2); }
.main-nav .btn { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82rem 1.5rem;
  background: var(--brass-dark);
  color: #fff;
  border: 1px solid var(--brass-dark);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:disabled:hover { background: var(--brass-dark); border-color: var(--brass-dark); }
.btn--ghost {
  background: transparent;
  color: var(--brass-dark);
  border-color: var(--brass);
}
.btn--ghost:hover { background: var(--ivory-2); color: var(--brass-dark); box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #f4e9d6;
  background:
    linear-gradient(90deg, rgba(28,18,13,.87) 0%, rgba(28,18,13,.70) 48%, rgba(28,18,13,.28) 100%),
    linear-gradient(180deg, rgba(28,18,13,.15), rgba(28,18,13,.58)),
    #241812;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg fill='none' stroke='%23cd9a5b' stroke-opacity='.16'%3E%3Cpath d='M0 12h120M0 4h120M0 20h120'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.75rem, 9vw, 7rem);
  max-width: 820px;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p { font-size: 1.18rem; color: #e9dcc4; max-width: 60ch; }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .btn--ghost { color: #f4e9d6; border-color: rgba(244,233,214,.45); }
.hero .btn--ghost:hover { background: rgba(244,233,214,.12); color: #fff; }
.hero-quote {
  margin-top: 2.2rem;
  max-width: 34ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-soft);
}
.hero-signature {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brass-light);
}
@media (max-width: 700px) {
  .hero { background-position: 61% center; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
main > section[id] { scroll-margin-top: 88px; }
.section--alt {
  background: var(--ivory-2);
  border-block: 1px solid var(--line);
}
.section--walnut {
  background: linear-gradient(160deg, #2f2015, #241812);
  color: #ecdfc8;
}
.section--walnut h1, .section--walnut h2, .section--walnut h3 { color: #fff; }
.section--walnut .eyebrow { color: var(--brass-light); }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head .eyebrow { margin-bottom: .7rem; }
.section-head p { color: var(--text-soft); margin-bottom: 0; font-size: 1.08rem; }
.section--walnut .section-head p { color: #d8c8ab; }
.section--walnut .lead { color: #e3d5ba; }
.section--walnut .prose { color: inherit; }

/* ---------- Grilles génériques ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-soft); margin-bottom: 0; }
.card .card-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--ivory-2);
  color: var(--brass-dark);
  margin-bottom: 1rem;
}
.card .card-ico svg { width: 26px; height: 26px; }

a.card {
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brass);
}

/* ---------- Notre histoire ---------- */
.story {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.story-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--ivory-2);
  aspect-ratio: 3 / 2;
}
.story-portrait img { width: 100%; height: 100%; object-fit: cover; }
.story-slides { position: relative; aspect-ratio: 4 / 5; cursor: pointer; }
.story-slides picture, .service-slides picture { display: block; position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.story-slides picture.is-active, .service-slides picture.is-active { opacity: 1; }
.story-slides:focus-visible, .service-slides:focus-visible { outline: 3px solid #d9b454; outline-offset: 3px; }
.story-slides-dots { position: absolute; left: 0; right: 0; bottom: .8rem; display: flex; justify-content: center; gap: .4rem; }
.story-slides-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .3s, transform .3s; }
.story-slides-dots i.is-active { background: #fff; transform: scale(1.25); }
.home .service-slides { position: relative; width: calc(100% + 4rem); margin: 0 -2rem 1.7rem; height: 230px; overflow: hidden; cursor: pointer; }
.home .service-slides .service-photo { margin: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .story-slides picture, .service-slides picture { transition: none; } }

.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.timeline li {
  position: relative;
  padding-left: 1.8rem;
  padding-bottom: 1.4rem;
  border-left: 2px solid var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px; top: .2em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brass);
  border: 3px solid var(--ivory);
}
.section--walnut .timeline li { border-left-color: rgba(205,154,91,.32); }
.section--walnut .timeline li::before { border-color: var(--walnut-800); }
.timeline strong { display: block; color: var(--ink); font-size: 1.05rem; }
.section--walnut .timeline strong { color: #fff; }
.timeline p { margin: .2rem 0 0; color: var(--text-soft); }
.timeline-quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brass-dark);
}
.section--walnut .timeline p { color: #d3c2a4; }

/* Encart "la relève" — met Amaury en avant */
.spotlight {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.section--walnut .spotlight {
  background: rgba(255,255,255,.06);
  border-color: rgba(205,154,91,.4);
  border-left-color: var(--brass-light);
}
.spotlight h3 { margin-bottom: .3rem; }
.spotlight p { margin-bottom: 0; color: var(--text-soft); }
.section--walnut .spotlight p { color: #dcccae; }

/* ---------- Nos services (deux colonnes) ---------- */
.services {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.service-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  background: var(--ivory-2);
  border-radius: 999px;
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.service-tag--verdigris { color: var(--verdigris); }
.service h3 { font-size: 1.5rem; }
.service > p { color: var(--text-soft); }
.check-list { list-style: none; margin: .5rem 0 1.5rem; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 1.15rem; height: 1.15rem;
  background: var(--brass-dark);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.service .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Galerie (zoom au survol) ---------- */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.gallery .frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery .frame img,
.gallery .frame .placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery figure:hover .frame img,
.gallery figure:focus-within .frame img,
.gallery figure:hover .frame .placeholder { transform: scale(1.08); }
.gallery figcaption {
  padding: .75rem .9rem;
  font-size: .9rem;
  color: var(--text-soft);
}

/* Réalisations avant/après (gérées depuis l'admin) */
.gallery-realisation { grid-column: span 2; }
#galerie-grid .gallery-realisation { border-radius: 4px 4px var(--radius-lg) 4px; }
#galerie-grid .realisation-title {
  display: flex;
  align-items: center;
  min-height: 3rem;
  margin: 0;
  padding: .5rem 1rem;
  background: var(--brass-dark);
  color: #16120a;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
#galerie-grid .gallery-realisation figcaption {
  background: var(--ivory-2);
  color: var(--text);
  font-size: .95rem;
  line-height: 1.5;
  padding: .9rem 1rem;
}
.realisation-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  aspect-ratio: 16 / 9;
  background: var(--line);
}
.realisation-half { position: relative; overflow: hidden; }
.realisation-half img { width: 100%; height: 100%; object-fit: cover; display: block; }
.realisation-badge {
  position: absolute;
  top: .5rem; left: .5rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 4px;
}
@media (max-width: 560px) {
  .gallery-realisation { grid-column: 1 / -1; }
  .realisation-photos { grid-template-columns: 1fr; aspect-ratio: auto; }
  .realisation-half { aspect-ratio: 4 / 3; }
}

.review-summary {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.review-stars { display: block; color: var(--brass); font-size: 1.35rem; letter-spacing: .12em; }
.review-summary strong { font-family: var(--font-display); font-size: 2rem; margin-right: .4rem; }
.review-summary small { display: block; margin-top: 1rem; color: var(--text-soft); font-size: .78rem; }
.testimonials .quote { display: none; }
.testimonials .review-summary { grid-column: 1 / -1; }

/* Galerie sans wrapper .frame (pages secondaires) */
.gallery figure > img,
.gallery figure > .placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.gallery figure:hover > img,
.gallery figure:hover > .placeholder { transform: scale(1.08); }

/* Illustration de repli quand aucune photo n'est fournie */
.placeholder {
  display: grid; place-items: center;
  color: var(--brass-dark);
  background:
    repeating-linear-gradient(45deg, var(--ivory-2) 0 14px, var(--ivory) 14px 28px);
}
.placeholder svg { width: 56px; height: 56px; opacity: .5; }
.story-portrait .placeholder { width: 100%; height: 100%; }

/* ---------- Bloc média + texte (pages secondaires) ---------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}
.split--reverse .split-media { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--ivory-2);
  aspect-ratio: 4 / 3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .placeholder { width: 100%; height: 100%; }

/* Section-head sans classe utilitaire (pages secondaires) */
.section-head h1 { margin-bottom: .3em; }

/* ---------- Témoignages ---------- */
.testimonials {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink);
}
.quote blockquote::before { content: "\201C"; color: var(--brass); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: .06em; }
.quote figcaption { margin-top: auto; font-size: .92rem; color: var(--text-soft); }
.quote figcaption strong { color: var(--ink); display: block; font-weight: 600; }

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brass-dark), var(--copper));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f7ecd9; max-width: 48ch; margin-inline: auto; }
.cta-band .btn { background: #fff; color: var(--brass-dark); border-color: #fff; margin-top: .5rem; }
.cta-band .btn:hover { background: var(--walnut-900); color: #fff; border-color: var(--walnut-900); }

/* ---------- Contact ---------- */
.info-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.info-item h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-item p { margin: 0; color: var(--text-soft); }
.info-item a { font-weight: 600; }
address { font-style: normal; }

.contact-split {
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
.contact-map {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--ivory-2);
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease;
}
.contact-map:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.contact-map .map-illus { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-map .map-cta {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(36, 24, 18, .82);
  color: #f4e9d6;
  font-size: .85rem;
  font-weight: 600;
}
.contact-map .map-cta svg { width: 16px; height: 16px; }
.contact-map:hover .map-cta { background: #241812; color: #fff; }
.map-actions { display: flex; }

.hours {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--text-soft); }
.hours li span:last-child { font-weight: 600; color: var(--ink); }
.hours li[data-closed] span:last-child { color: var(--text-soft); font-weight: 400; }

/* ---------- Formulaire ---------- */
.form-note { font-size: .88rem; color: var(--text-soft); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { background: var(--ivory-2); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: .8rem 0;
  font-size: .88rem;
  color: var(--text-soft);
}
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--brass); }
.breadcrumb a { text-decoration: none; }
.home > .breadcrumb { position: sticky; top: var(--header-height, 77px); z-index: 99; margin: 0; overflow: hidden; isolation: isolate; box-shadow: none; }
.home > .breadcrumb ol { padding-block: .45rem; }
.home > .breadcrumb::before, .home > .breadcrumb::after { content: none; }
.home main > section[id] { scroll-margin-top: var(--navigation-height, 135px); }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--walnut-900);
  color: #cdbfa5;
  padding-block: 3.25rem 1.5rem;
  margin-top: 0;
}
.site-footer a { color: #e6d8bd; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9c8a6d;
  font-family: var(--font);
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.footer-brand svg, .footer-brand img { width: 36px; height: 36px; }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem;
  color: #9c8a6d;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Catalogue filtrable ---------- */
.catalogue-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  align-items: end;
  padding: 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.cat-field { display: flex; flex-direction: column; gap: .35rem; }
.cat-field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.cat-field input[type="search"],
.cat-field select {
  padding: .6rem .7rem;
  font: inherit;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.cat-field input:focus, .cat-field select:focus {
  border-color: var(--brass);
  outline: 3px solid color-mix(in srgb, var(--brass) 35%, transparent);
}
.cat-field--check { flex-direction: row; align-items: center; }
.cat-field--check label { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.catalogue-filters .btn { align-self: end; }

.catalogue-count { font-size: .9rem; color: var(--text-soft); margin: 0 0 1rem; }
.catalogue-empty {
  padding: 1.5rem;
  background: var(--ivory-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-soft);
}

.catalogue-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ---------- « À la une » : tribune journalistique ---------- */
.news-feed {
  border-top: 3px solid var(--brass-dark);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2.25rem, 5vw, 3.5rem);
  align-items: start;
}
a.news-article {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.news-article:nth-child(n+3) { padding-top: clamp(2rem, 4vw, 3rem); }
/* Filet horizontal pleine largeur entre la 1re et la 2e rangée. */
.news-feed .news-article:nth-child(3)::after { content: ""; position: absolute; top: 0; left: 0; width: calc(200% + clamp(2.25rem, 5vw, 3.5rem)); height: 1px; background: var(--line); }
/* Filet vertical façon colonnes de journal, colonne de droite. */
.news-feed .news-article:nth-child(2n)::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(-1 * clamp(1.125rem, 2.5vw, 1.75rem));
  width: 1px;
  background: var(--line);
}
.news-article:hover .news-article-title { color: var(--brass-dark); }
.news-article-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  font-family: var(--font-display);
  font-style: italic;
  font-variant: small-caps;
  letter-spacing: .02em;
  font-size: .95rem;
  font-weight: 600;
  color: var(--brass-dark);
}
.news-article-kicker::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: translateY(-.35em);
}
.news-article-head { margin-bottom: 1rem; }
.news-article-date {
  display: block;
  margin-top: .3rem;
  color: var(--text-soft);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.news-article-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  margin: .3rem 0 0;
  transition: color .15s ease;
}
.news-article-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  background: var(--ivory-2);
  margin: 1.2rem 0;
}
.news-article-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-article-body { font-size: .98rem; line-height: 1.6; color: var(--text); }
.news-article-body p { white-space: pre-wrap; margin: 0; }
.news-article-more { display: block; margin-top: .5rem; color: var(--brass-dark); font-weight: 600; font-size: .9rem; }
@media (max-width: 720px) {
  .news-feed { grid-template-columns: minmax(0, 1fr); }
  .news-feed .news-article::before { display: none; }
  .news-article:nth-child(n+2) { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); }
  .news-feed .news-article:nth-child(3)::after { display: none; }
}

/* ---------- Page d'un article isolé ---------- */
.article-full { max-width: 42rem; margin-inline: auto; }
.article-full .news-article-media { aspect-ratio: 16 / 9; margin: 1.5rem 0; }
.article-full .news-article-body p { white-space: pre-wrap; margin: 0 0 1.1em; }
.article-gallery { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.article-gallery img { width: 140px; height: 105px; object-fit: cover; border-radius: 4px; cursor: pointer; }
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cat-card.is-unavailable { opacity: .78; }
.cat-card-media { position: relative; aspect-ratio: 4 / 3; height: auto; overflow: hidden; background: var(--ivory-2); }
.cat-card-media img { display: block; width: 100%; height: 100%; min-width: 100%; min-height: 100%; object-fit: cover; object-position: center; }
.cat-card-media .placeholder { width: 100%; height: 100%; }
.cat-badge {
  position: absolute;
  left: 10px; top: 10px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(36,24,18,.82);
  color: #f4e9d6;
}
.cat-badge--ok { background: #2f6d43; color: #fff; }
.cat-card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; flex: 1; }
.cat-card-body h3 { margin: 0; font-size: 1.12rem; }
.cat-card-meta { margin: 0; font-size: .85rem; color: var(--brass-dark); font-weight: 600; }
.cat-card-desc { margin: 0; font-size: .92rem; color: var(--text-soft); }
.cat-card-foot {
  margin-top: auto;
  padding-top: .7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  flex-wrap: wrap;
}
.cat-card-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 600; }
.cat-card-foot .btn { padding: .55rem 1rem; font-size: .88rem; }

/* ---------- Barre d'actions mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: color-mix(in srgb, var(--walnut-900) 94%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(205,154,91,.3);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .55rem .4rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    color: #f0e6d3;
    text-decoration: none;
    font-size: .74rem;
    font-weight: 600;
  }
  .mobile-bar a + a { border-left: 1px solid rgba(205,154,91,.22); }
  .mobile-bar a:active { background: rgba(205,154,91,.16); }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .mb-wa { color: #cdeccf; }
  body { padding-bottom: 62px; }
  .site-footer { margin-bottom: 0; }
}

/* ---------- Espace d'administration (/admin/) ---------- */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}
.admin-count { color: var(--text-soft); font-size: .9rem; }
.admin-status { min-height: 1.4em; margin: 0 0 1rem; font-size: .92rem; color: var(--text-soft); }
.admin-status--ok { color: var(--success, #2f7d4f); }
.admin-status--warn { color: var(--copper); }
.admin-list { display: flex; flex-direction: column; gap: 1rem; }
.admin-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.admin-item-head { display: flex; gap: .6rem; align-items: center; }
.admin-nom { flex: 1; font-weight: 600; font-size: 1.05rem; }
.admin-item-actions { display: flex; gap: .3rem; flex: none; }
.admin-mini {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  background: var(--ivory);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-soft);
  font-size: .8rem;
}
.admin-mini:hover { border-color: var(--brass); color: var(--ink); }
.admin-mini--del:hover { border-color: var(--copper); color: var(--copper); }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .8rem 1rem;
  margin-top: .9rem;
}
.admin-grid label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
}
.admin-grid input,
.admin-grid select,
.admin-grid textarea {
  font: inherit;
  font-weight: 400;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--text);
}
.admin-grid input:focus,
.admin-grid select:focus,
.admin-grid textarea:focus {
  border-color: var(--brass);
  outline: 3px solid color-mix(in srgb, var(--brass) 30%, transparent);
}
.admin-grid textarea { resize: vertical; }
.admin-check { flex-direction: row !important; align-items: center; gap: .5rem !important; font-weight: 400 !important; }
.admin-check input { width: auto; }
.admin-wide { grid-column: 1 / -1; }
.admin-news-preview { max-height: 180px; }
.admin-preview { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.admin-preview-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.admin-preview-item-media { position: relative; }
.admin-preview-item img {
  max-height: 100px;
  max-width: 140px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.admin-preview-item figcaption { font-size: .74rem; color: var(--text-soft); }
.admin-preview-del {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--text-soft);
  font-size: .8rem;
  line-height: 1;
  cursor: pointer;
}
.admin-preview-del:hover { border-color: var(--copper); color: var(--copper); }
.admin-sep { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.admin-json code, .prose code {
  background: var(--ivory-2);
  padding: .1em .4em;
  border-radius: 4px;
  font-size: .92em;
}
.admin-details { margin-top: 1.5rem; }
.admin-details summary { cursor: pointer; font-weight: 600; color: var(--brass-dark); }
.admin-json {
  margin-top: .8rem;
  padding: 1rem;
  background: var(--walnut-900);
  color: #e7dcc6;
  border-radius: var(--radius-sm);
  overflow: auto;
  max-height: 340px;
  font-size: .82rem;
  line-height: 1.5;
}
.admin-hidden-ta { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* ---------- Utilitaires ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.16rem; color: var(--text-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.tag {
  font-size: .82rem;
  padding: .32rem .75rem;
  border-radius: 999px;
  background: var(--ivory-2);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

/* ---------- Nav responsive ---------- */
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .main-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1rem, 4vw, 2rem) 1.2rem;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .main-nav a { padding: .8rem .6rem; }
  .main-nav .btn { justify-content: center; margin-top: .6rem; }
}

/* Accueil : ivoire, laiton et photographies d'atelier. */
.home {
  --ivory: #f7f0e1; --ivory-2: #efe4cf; --paper: #fffdf7;
  --walnut-900: #241812; --walnut-800: #2f2015; --walnut-700: #3d2a1c;
  --ink: #2b2016; --text: #3a2e22; --text-soft: #6c5c49;
  --line: #e0d2b8; --brass: #b07a35; --brass-light: #cd9a5b; --brass-dark: #8a5c25;
  background: var(--ivory);
}
.home .hero::after { display: none; }
.home .hero .container { max-width: var(--container); padding-block: clamp(2.8rem, 7vw, 6rem); }
.home .hero h1 { max-width: 13ch; font-size: clamp(2.45rem, 5vw, 4.5rem); line-height: 1.07; text-wrap: balance; }
.home .hero p { max-width: 43ch; font-size: 1.08rem; }
.home .hero .eyebrow { color: #e9be86; }
.home .hero-signature { margin-top: 1.6rem; }
.home .section { padding-block: clamp(3.5rem, 7vw, 6.5rem); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.home .section-head { margin-bottom: 2.8rem; }
.home h2 { text-wrap: balance; margin-bottom: .7em; }
.home .story { align-items: start; }
.home .story-portrait { aspect-ratio: 3 / 4; border-radius: 4px 4px 70px 4px; }
.home .story-portrait img { object-position: center 9%; }
.home .spotlight { box-shadow: none; border-radius: 3px; }
.home .service { position: relative; overflow: hidden; padding: 0 2rem 2rem; border-radius: 8px; color: var(--text); }
.home .service h3 { color: var(--ink); font-size: 1.8rem; }
.home .service-photo { width: calc(100% + 4rem); max-width: none; margin: 0 -2rem 1.7rem; height: 230px; object-fit: cover; }
.home .service-photo--instrument { object-fit: cover; padding: 0; }
.home .service-tag { padding: 0; background: none; letter-spacing: .1em; }
.service-bubble {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  max-width: 62%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: .86rem;
  line-height: 1.35;
  padding: .55rem .85rem;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}
.home .check-list { font-size: .95rem; }
.home .service .btn { background: var(--brass-dark); color: white; }
.home .service .btn:hover { background: var(--copper); }
.home .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.home .gallery figure { border: 0; border-radius: 4px; box-shadow: none; background: transparent; }
.home .gallery .frame { aspect-ratio: 4 / 5; background: #fffdf7; }
.home .gallery .frame img { object-fit: contain; }
.home .gallery figcaption { padding: .85rem 0; font-size: .85rem; line-height: 1.45; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; color: inherit; }
.gallery-open .frame { display: block; }
.photo-viewer { width: min(1000px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 1rem; border: 1px solid #8a7259; border-radius: 10px; background: #241812; color: #f7f0e1; }
.photo-viewer::backdrop { background: rgba(15,10,7,.88); }
.photo-viewer img { margin: auto; max-width: 100%; max-height: calc(100dvh - 11rem); object-fit: contain; }
.photo-viewer p { margin: 1rem 0 0; text-align: center; }
.photo-viewer button { display: block; margin: 0 0 .8rem auto; min-height: 44px; padding: .5rem 1rem; border: 1px solid #b39571; border-radius: 30px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
html:has(.photo-viewer[open]) { overflow: hidden; }
@media (max-width: 860px) {
  .home .story-portrait { aspect-ratio: 3 / 4; border-radius: 4px 4px 40px 4px; }
  .home .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 640px) {
  .home .hero h1 { max-width: 15ch; }
  .home .hero-actions { gap: .6rem; margin-top: 1.25rem; }
  .home .hero-actions .btn { padding: .75rem 1rem; font-size: .9rem; }
  .home .hero p { font-size: 1rem; }
  .mobile-bar { background: #241812; grid-template-columns: 1.15fr 1fr 1fr; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { flex-direction: row; justify-content: center; gap: .4rem; padding: .65rem .3rem; min-height: 48px; }
  .mobile-bar a:first-child { background: #8a5c25; color: #fff; }
  .mobile-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}

/* Hero inspiré du site Lovable : saxophone sur fond noir. */
.home .hero {
  background: radial-gradient(ellipse at 15% 0%, rgba(180,137,51,.12), transparent 55%), #140d08;
  color: #f8f5ed;
}
.home .hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.home .hero-copy { min-width: 0; }
.home .hero h1 { font-weight: 500; }
.home .hero p { color: #c5c4c9; }
.home .hero .eyebrow, .home .hero .hero-signature { color: #d9b454; }
.home .hero .btn { background: #dfb748; border-color: #dfb748; color: #16120a; }
.home .hero .btn:hover { background: #efca65; border-color: #efca65; }
.home .hero .btn--ghost { background: transparent; border-color: #3b393b; color: #f8f5ed; }
.home .hero .btn--ghost:hover { background: #202024; border-color: #8d7749; }
.home .hero-saxophone { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; border: 1px solid #242124; }
@media (max-width: 760px) {
  .home .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .home .hero h1 { max-width: 16ch; }
  .home .hero-saxophone { max-width: 480px; margin-inline: auto; }
}

/* En-tête assorti au bandeau noir et or de l'accueil. */
.home .site-header {
  background: #140d08;
  border-bottom-color: #332619;
}
.home .site-header .brand,
.home .site-header .brand:hover { color: #f8f5ed; }
.home .site-header .brand small { color: #bcb5a8; }
.home .site-header .main-nav a { color: #dedbd4; }
.home .site-header .main-nav a:hover,
.home .site-header .main-nav a[aria-current="page"] { background: #201d18; color: #dfb748; }
.home .site-header .main-nav .btn { background: #dfb748; border-color: #dfb748; color: #16120a; }
.home .site-header .main-nav .btn:hover { background: #efca65; color: #16120a; }
.home .site-header .nav-toggle { color: #dfb748; border-color: #655332; }
@media (max-width: 940px) {
  .home .site-header .main-nav { background: #140d08; border-bottom-color: #332619; }
}

/* Accueil noir et or : halos diffus et panneaux de verre dépoli. */
.home {
  color-scheme: dark;
  --ivory: #1a120c;
  --ivory-2: #121217;
  --paper: #18181d;
  --ink: #f5f1e9;
  --text: #d7d3cd;
  --text-soft: #b7b2aa;
  --line: #3d2f1f;
  --brass: #dfb748;
  --brass-light: #e6c979;
  --brass-dark: #dfb748;
  --focus: #f1cf78;
  background: #1a120c;
}
.home .section {
  position: relative;
  isolation: isolate;
  background: #1a120c;
  border: 0;
  color: var(--text);
}
.home .section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 5% 35%, rgba(181,137,48,.10), transparent 52%), radial-gradient(ellipse at 95% 85%, rgba(104,101,146,.09), transparent 55%);
}
.home .section:nth-of-type(2n)::before {
  background: radial-gradient(ellipse at 90% 15%, rgba(181,137,48,.10), transparent 55%), radial-gradient(ellipse at 5% 85%, rgba(104,101,146,.08), transparent 50%);
}
.home h2, .home h3, .home .service h3 { color: var(--ink); }
.home .section-head p, .home .service > p, .home .spotlight p { color: var(--text-soft); }
.home .eyebrow { color: #dfb748; }
#services { padding-bottom: 1rem; }
.home .services { position: relative; z-index: 5; margin-bottom: -70px; }
.home #a-la-une { padding-top: calc(clamp(1.5rem, 3vw, 2.5rem) + 25px); }
.home #services { position: relative; z-index: 2; }
@media (max-width: 640px) {
  .home .services { margin-bottom: -36px; }
  .home #a-la-une { padding-top: calc(clamp(1.5rem, 3vw, 2.5rem) + 14px); }
}
.home .service, .home .spotlight, .home .review-summary, .home .hours,
.home .contact-split > div:last-child, .home .cta-band {
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid rgba(220,198,150,.20);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 18px 50px rgba(0,0,0,.2);
}
.home .spotlight { border-left: 3px solid #dfb748; }
.home .contact-split > div:last-child { padding: clamp(1.4rem, 3vw, 2.2rem); align-self: start; }
.home .story-portrait { border-color: #3d2f1f; box-shadow: 0 20px 55px rgba(0,0,0,.35); }
.home .gallery figure { background: rgba(255,255,255,.035); border: 1px solid #2e2214; border-radius: 12px; }
.home .gallery .frame { background: #111114; }
.home .gallery figcaption { padding: 1rem; color: #c4bfb6; }
.home .btn, .home .service .btn, .home .cta-band .btn {
  background: #dfb748; border-color: #dfb748; color: #17130a;
}
.home .btn:hover, .home .service .btn:hover, .home .cta-band .btn:hover { background: #efca65; border-color: #efca65; color: #17130a; }
/* Bouton « Voir le catalogue » (carte Trouver un instrument) : fond blanc, cadre orange. */
.home .service .btn[href="catalogue.html"], .home .service .btn[href="reparations.html"], .home .hero .btn[href="catalogue.html"] { background: #fff; border: 2px solid #ee7d1a; color: #17130a; }
.home .service .btn[href="catalogue.html"]:hover, .home .service .btn[href="reparations.html"]:hover, .home .hero .btn[href="catalogue.html"]:hover { background: #fff3e6; border-color: #d96a0a; color: #17130a; }
.home .btn--ghost { background: rgba(255,255,255,.025); color: #ead39c; border-color: #655638; }
.home .btn--ghost:hover { background: #252119; color: #fff1ca; }
.home a:not(.btn):hover { color: #f5d98a; }
.home .cta-band h2 { color: #f5f1e9; }
.home .cta-band p { color: #c4bfb6; }
.home .site-footer { background: #120b07; color: #b7b2aa; border-top: 1px solid #2e2214; }
.home .site-footer h2 { color: #dfb748; }
.home .footer-legal { color: #aaa49b; }
.home .mobile-bar { background: #09090c; }
.home .mobile-bar a:first-child { background: #dfb748; color: #17130a; }

/* Photos de chaque instrument : navigation manuelle et tactile. */
.cat-carousel { position: relative; touch-action: pan-y; }
.cat-carousel-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.cat-carousel-controls button { display: none; }
.cat-carousel-controls button:hover { background: rgba(0,0,0,.4); }
.cat-carousel-controls span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cat-card:hover .cat-carousel-controls, .cat-carousel:focus-within .cat-carousel-controls { opacity: 1; }
@media (hover: none) { .cat-carousel-controls { opacity: 1; } }
.cat-carousel { cursor: zoom-in; }
.cat-carousel img { will-change: transform, opacity; }
@keyframes cat-slide-next { from { transform: translateX(100%); opacity: .35; } to { transform: translateX(0); opacity: 1; } }
@keyframes cat-slide-prev { from { transform: translateX(-100%); opacity: .35; } to { transform: translateX(0); opacity: 1; } }
.cat-carousel img.cat-slide-next { animation: cat-slide-next .42s ease both; }
.cat-carousel img.cat-slide-prev { animation: cat-slide-prev .42s ease both; }
.featured-catalogue { margin-block: 2rem 3rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid #3d2f1f; border-radius: 20px; background: linear-gradient(135deg, rgba(223,183,72,.08), rgba(104,101,146,.1)); }
.featured-catalogue .section-head { margin-bottom: 1.2rem; }
.featured-catalogue .cat-card { border-color: rgba(223,183,72,.45); }
.cat-lightbox[hidden] { display: none; }
.cat-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 2rem; }
.cat-lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: blur(10px); }
.cat-lightbox-panel { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: min(100%, 1000px); }
.cat-lightbox-panel img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.cat-lightbox-panel button { border: 1px solid rgba(230,201,121,.55); border-radius: 50%; width: 48px; height: 48px; background: rgba(20,18,24,.9); color: #e6c979; font-size: 2rem; cursor: pointer; }
.cat-lightbox-panel button:hover { background: #e6c979; color: #161219; }
.cat-lightbox-close { position: absolute; right: 0; top: -3.5rem; }
.cat-lightbox-counter { position: absolute; bottom: -2rem; left: 50%; transform: translateX(-50%); color: #f5f1e9; font-size: .9rem; }
.has-lightbox { overflow: hidden; }
@media (max-width: 640px) { .cat-lightbox { padding: .75rem; } .cat-lightbox-panel { gap: .35rem; } .cat-lightbox-panel button { width: 40px; height: 40px; font-size: 1.5rem; } }

/* Lumière dorée progressive au survol des sections. */
.home .section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(218,173,65,.13), rgba(106,91,146,.07) 55%, transparent 90%);
  opacity: 0;
  transition: opacity .55s ease;
}
@media (hover: hover) {
  .home .section:hover::after { opacity: 1; }
}
.home .section:focus-within::after { opacity: 1; }
.home .service, .home .spotlight, .home .review-summary, .home .gallery figure {
  transition: border-color .35s ease, box-shadow .35s ease;
}
@media (hover: hover) {
  .home .service:hover, .home .spotlight:hover, .home .review-summary:hover, .home .gallery figure:hover {
    border-color: rgba(223,183,72,.55);
    box-shadow: 0 12px 40px rgba(180,137,48,.10), inset 0 1px 0 rgba(255,255,255,.08);
  }
}

/* Dégradé sur toute la section, au-dessus du fond et sous son contenu. */
.home main > section { position: relative; isolation: isolate; }
.home main > section + section { border-top: 1px solid rgba(255,255,255,.08); }
.home main > section > .container { position: relative; z-index: 1; }
.home main > section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: normal;
  background: radial-gradient(ellipse at 20% 35%, rgba(223,183,72,.20), transparent 65%), linear-gradient(115deg, rgba(157,113,37,.12), rgba(90,75,130,.10) 70%, transparent);
  opacity: 0;
  transition: opacity .5s ease;
}
.home .hero::after { display: block; }

/* Survol des sections : halo marqué, sans dépendre des calques du fond. */
.home main > section::after { display: block; }
.home main > section {
  transition: box-shadow .4s ease;
}
.home main > section::after {
  background: radial-gradient(ellipse at 25% 40%, rgba(226,175,52,.38) 0%, rgba(180,126,30,.20) 38%, transparent 75%), linear-gradient(110deg, rgba(171,115,28,.16), rgba(110,83,165,.22));
}
@media (hover: hover) {
  .home main > section:hover {
    box-shadow: inset 0 0 0 1px rgba(223,183,72,.35), inset 0 0 110px rgba(205,151,40,.12);
  }
}

/* Dégradé commun à toutes les sections de l'accueil. */
.home main > section,
.home main > section.section--alt,
.home main > section.section--walnut {
  background-color: #1a120c;
  background-image: radial-gradient(ellipse at 18% 30%, rgba(223,183,72,.12), transparent 62%), radial-gradient(ellipse at 86% 78%, rgba(109,88,170,.10), transparent 64%);
}
.home main > section::before {
  background: linear-gradient(120deg, rgba(223,183,72,.08), transparent 48%, rgba(109,88,170,.08));
  opacity: 1;
  transition: opacity .5s ease;
}
.home main > section::after {
  background: linear-gradient(120deg, rgba(223,183,72,.30), rgba(172,117,31,.12) 42%, rgba(109,88,170,.24) 78%, transparent);
  opacity: 0;
  transition: opacity .5s ease;
}
@media (hover: hover) {
  .home main > section:hover::after { opacity: 1; }
}
.home main > section:focus-within::after { opacity: 1; }

.admin-upload input[type="file"] { display: block; width: 100%; padding: .7rem; border: 1px dashed var(--brass); border-radius: var(--radius-sm); background: var(--ivory-2); color: var(--text); }
/* Pages internes : même direction artistique que l'accueil. */
body:has(.breadcrumb) {
  color-scheme: dark;
  --ivory: #1a120c;
  --ivory-2: #121217;
  --paper: #18181d;
  --ink: #f5f1e9;
  --text: #d7d3cd;
  --text-soft: #b7b2aa;
  --line: #3d2f1f;
  --brass: #dfb748;
  --brass-light: #e6c979;
  --brass-dark: #dfb748;
  --verdigris: #7c9c8b;
  background: #1a120c;
}
body:has(.breadcrumb) .site-header { background: #140d08; border-bottom-color: #332619; }
body:has(.breadcrumb) .brand, body:has(.breadcrumb) .brand:hover { color: #f8f5ed; }
body:has(.breadcrumb) .brand small { color: #bcb5a8; }
body:has(.breadcrumb) .main-nav a { color: #dedbd4; }
body:has(.breadcrumb) .main-nav a:hover, body:has(.breadcrumb) .main-nav a[aria-current="page"] { background: #201d18; color: #dfb748; }
body:has(.breadcrumb) .main-nav .btn { color: #16120a; }
body:has(.breadcrumb) .section { position: relative; isolation: isolate; background: #1a120c; border-color: #332619; color: var(--text); }
body:has(.breadcrumb) .section::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 5% 25%, rgba(181,137,48,.12), transparent 52%), radial-gradient(ellipse at 95% 80%, rgba(104,101,146,.11), transparent 55%); }
body:has(.breadcrumb) .section-head h1, body:has(.breadcrumb) h2, body:has(.breadcrumb) h3 { color: #f5f1e9; }

.featured-page .catalogue-filters, .featured-page #cat-grid, .featured-page .catalogue-count { display: none; }
.featured-page #cat-featured { margin-top: 0; }
.contact-dialog { width: min(560px, calc(100% - 32px)); max-height: 90vh; overflow: auto; padding: 2rem; border: 1px solid #685737; border-radius: 20px; background: #121217; color: #f5f1e9; color-scheme: dark; }
.contact-dialog::backdrop { background: #000b; backdrop-filter: blur(8px); }
.contact-dialog h2 { color: #f5f1e9; padding-right: 2rem; }
.contact-dialog form, .contact-dialog label { display: grid; gap: .5rem; }
.contact-dialog form { gap: 1rem; }
.contact-dialog input, .contact-dialog select, .contact-dialog textarea { width: 100%; padding: .7rem; background: #1a120c; color: #f5f1e9; border: 1px solid #685737; border-radius: 8px; font: inherit; }
.contact-close { position: absolute; top: .6rem; right: .8rem; padding: .3rem .7rem; border: 0; background: transparent; color: #e6c979; font-size: 1.8rem; cursor: pointer; }
.contact-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note--ok { color: #7bc47f; }
.form-note--warn { color: #e0a15c; }
#contact-form { display: grid; gap: 1rem; margin-top: 1.2rem; }
#contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
#contact-form input, #contact-form select, #contact-form textarea {
  padding: .7rem; font: inherit; color: var(--text); background: var(--ivory);
  border: 1px solid var(--line); border-radius: var(--radius-sm); width: 100%;
}
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus {
  border-color: var(--brass); outline: 3px solid color-mix(in srgb, var(--brass) 35%, transparent);
}
#contact-form button[type="submit"] { justify-self: start; }
#contact-form button[disabled] { opacity: .6; cursor: not-allowed; }
.admin-family-form { padding: 1.5rem; margin-block: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.admin-family-form label { display: block; margin-bottom: .4rem; }
.admin-family-form input { max-width: 100%; padding: .75rem; margin: 0 .5rem .75rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); color: var(--text); font: inherit; }
.admin-family-form p { margin-top: .75rem; }
.admin-news { margin-block: 2rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.admin-news > h2 { margin-bottom: .5rem; }
.admin-news [data-news-limit], .admin-news [data-realis-limit] { color: var(--copper); font-size: .88rem; margin-block: .5rem 0; }
.admin-news [data-news-list] { display: grid; gap: 1.5rem; margin-block: 1.5rem; }
.admin-news-empty { padding: 2rem; text-align: center; border: 1px dashed var(--line); border-radius: 12px; color: var(--text-soft); }
.admin-news-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .4fr); gap: 1rem; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); }
.admin-news-card h3, .admin-news-card label:has(textarea), .admin-news-card label:has([data-news-photo]), .admin-news-card img { grid-column: 1 / -1; }
.admin-news-card label { display: flex; flex-direction: column; gap: .4rem; min-width: 0; font-weight: 600; }
.admin-news-card input:not([type=checkbox]), .admin-news-card textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); font: inherit; }
.admin-news-card textarea { min-height: 160px; resize: vertical; }
.admin-news-card label:has([type=checkbox]) { flex-direction: row; align-items: center; font-weight: 400; }
.admin-news-card [data-news-remove] { justify-self: end; background: transparent; border: 1px solid #b66d63; color: var(--text); padding: .6rem .9rem; border-radius: 8px; cursor: pointer; }
.admin-news > a { display: inline-block; margin: .75rem; }
@media (max-width: 600px) { .admin-news-card { grid-template-columns: minmax(0, 1fr); } .admin-news-card [data-news-remove] { justify-self: start; } }
.admin-realisation-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-realisation-photos label { font-weight: 600; }
@media (max-width: 600px) { .admin-realisation-photos { grid-template-columns: minmax(0, 1fr); } }

/* Dégradés renforcés sur toutes les sections publiques. */
.home main > section::after { background: radial-gradient(ellipse at 22% 35%, rgba(226,175,52,.58) 0%, rgba(180,126,30,.32) 42%, transparent 78%), linear-gradient(110deg, rgba(171,115,28,.28), rgba(110,83,165,.34)); }
.home main > section::before { background: radial-gradient(ellipse at 5% 30%, rgba(223,183,72,.18), transparent 52%), radial-gradient(ellipse at 95% 80%, rgba(112,93,180,.18), transparent 55%); }
body:has(.breadcrumb) .section::before { background: radial-gradient(ellipse at 5% 25%, rgba(223,183,72,.22), transparent 52%), radial-gradient(ellipse at 95% 80%, rgba(112,93,180,.20), transparent 55%); }

/* ---------- Assistant « Piston » ---------- */
.chatbot { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 260; }
.chatbot-toggle {
  display: flex; align-items: center; gap: .6rem;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass-light));
  color: #fff; border: none; border-radius: 999px;
  padding: .8rem 1.2rem .8rem .8rem;
  font: inherit; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.chatbot-toggle:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.4); }
.chatbot-toggle-icon {
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: rgba(255,255,255,.22); font-size: 1.15rem;
}
.chatbot-panel[hidden] { display: none; }
.chatbot-panel {
  position: fixed; right: 1.1rem; bottom: 5rem;
  width: min(340px, calc(100vw - 2.2rem));
  height: min(480px, calc(100vh - 8rem));
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.chatbot-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem;
  background: linear-gradient(135deg, var(--brass-dark), var(--brass-light));
  color: #fff; font-weight: 700; font-size: .95rem;
}
.chatbot-header .chatbot-close {
  background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1;
  cursor: pointer; padding: 0 .2rem;
}
.chatbot-messages { flex: 1; overflow-y: auto; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .55rem; }
.chatbot-msg { margin: 0; padding: .55rem .8rem; border-radius: 12px; font-size: .88rem; line-height: 1.4; max-width: 88%; }
.chatbot-msg--bot { align-self: flex-start; background: var(--ivory-2); color: var(--text); border-bottom-left-radius: 3px; }
.chatbot-msg--user { align-self: flex-end; background: var(--brass-dark); color: #fff; border-bottom-right-radius: 3px; }
.chatbot-typing { opacity: .6; font-weight: 700; letter-spacing: .1em; }
.chatbot-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.chatbot-option {
  font: inherit; font-size: .82rem; font-weight: 600;
  background: var(--paper); color: var(--brass-dark);
  border: 1px solid var(--brass); border-radius: 999px;
  padding: .4rem .75rem; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chatbot-option:hover { background: var(--brass-dark); color: #fff; }
.chatbot-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--line); }
.chatbot-form input {
  flex: 1; min-width: 0; padding: .6rem .7rem;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); color: var(--text); font: inherit; font-size: .85rem;
}
.chatbot-form button {
  font: inherit; font-size: .85rem; font-weight: 700;
  background: var(--brass-dark); color: #fff; border: none;
  border-radius: 8px; padding: .6rem .9rem; cursor: pointer;
}
@media (max-width: 640px) {
  .chatbot { right: .7rem; bottom: calc(62px + .7rem); }
  .chatbot-panel { right: .7rem; bottom: calc(62px + 4.6rem); }
  .chatbot-toggle-label { display: none; }
  .chatbot-toggle { padding: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot-toggle { transition: none; }
}

/* ---------- Administration : connexion et historique ---------- */
.admin-login { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(10,7,4,.92); }
.admin-login-box { width: min(100%, 26rem); display: grid; gap: 1rem; padding: 2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.admin-login-box h2 { margin: 0; }
.admin-login-box label { display: grid; gap: .4rem; font-weight: 600; }
.admin-login-box input { padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); color: var(--text); font: inherit; }
.admin-login-msg { margin: 0; color: var(--text-soft); }
.admin-login-back { justify-self: center; font-size: .9rem; }
.admin-history { display: grid; gap: .7rem; padding-top: .8rem; max-width: 34rem; }
.admin-history select { padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); color: var(--text); font: inherit; }

/* <picture> (variantes WebP) : aucune boîte propre, la mise en page reste celle de l'<img>. */
picture { display: contents; }
picture > source { display: none; }

/* TEST — photo du saxophone démonté en fond de la section d'accueil (retirer ce bloc pour revenir en arrière). */
.home main > section.hero {
  background-color: #140d08;
  background-image: linear-gradient(90deg, #140d08 0%, #140d08 58%, rgba(20,13,8,.5) 72%, rgba(20,13,8,.1) 92%), url("../img/hero-saxophone-demonte.jpg");
  background-repeat: no-repeat;
  background-position: 0 0, right center;
  background-size: 100% 100%, auto 100%;
}
.home .hero picture { display: none; }
.footer-credit { display: inline-flex; align-items: center; gap: .45rem; }
.footer-credit img { display: block; width: 22px; height: auto; }
.footer-heart { color: #e0245e; }
.footer-credit img { position: relative; top: -3px; }
