/* ============================================================
   WENGER — Maison de Diamants · « La Collection »
   ============================================================ */
:root {
  --ink: #001632;
  --paper: #fbf9f5;
  --gold: #b3924f;
  --gold-soft: #cdb68a;
  --stone: #7d7568;
  --line: rgba(22, 20, 15, 0.1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.28, 0, 0.18, 1);
  --strip: 20vw;


  --gf-accent: #00ebc7;
    --gf-accent-dark: #00bfa0;
    --gf-navy: #0a1b2b;
    --gf-navy-rgb: 10, 27, 43;
    --gf-navy-deep: #001632;
    --gf-navy-2: #132433;

}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #d3c6ab; }

/* ——— Grain papier ——— */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.5; mix-blend-mode: multiply;
}

/* ——— Typo ——— */
.label-caps {
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.34em; color: var(--gold);
}
.label-caps .sep { color: var(--stone); }
.display {
  font-family: var(--serif); font-weight: 300;
  line-height: 1.02; letter-spacing: -0.015em;
}
.display em { font-style: italic; color: var(--gold); }
.lead { font-size: 15px; line-height: 1.8; color: var(--stone); }
.hairline { display: inline-block; height: 1px; width: 52px; background: var(--gold); }

/* ——— Révélations ——— */
.rv {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv.blur-img {
  transform: scale(1.06);
  filter: blur(12px);
  transition: opacity 1.2s var(--ease), transform 1.6s var(--ease), filter 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}
.rv.in { opacity: 1; transform: none; filter: none; }

/* ——— Boutons ——— */
.btn-solid {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  padding: 16px 32px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  transition: background 0.35s ease;
}
.btn-solid:hover { background: var(--gold); }
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--ink); padding-bottom: 8px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.24em;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.btn-line:hover { color: var(--gold); border-color: var(--gold); }

/* ============================================================
   COLONNE PRINCIPALE (gauche, 78vw)
   ============================================================ */
.main-col {
  width: 78vw;
  min-height: 100vh;
  transition: transform 0.85s var(--ease);
}
body.collection-open .main-col { transform: translateX(-100%); }
@media (max-width: 860px) { .main-col { width: 100%; } }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 245, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 26px; width: auto; }
.brand span { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.42em; }
.site-header nav { display: none; gap: 32px; }
.site-header nav a {
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; color: var(--stone);
  transition: color 0.3s;
}
.site-header nav a:hover { color: var(--gold); }

/* Bouton burger (mobile uniquement) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

@media (max-width: 767px) {
  /* backdrop-filter sur le parent piégerait le nav fixe : on le neutralise sur mobile */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(251, 249, 245, 0.94);
  }
  .nav-toggle { display: flex; }
  /* logo + burger au-dessus de l'overlay du menu */
  .site-header .brand, .site-header .nav-toggle { position: relative; z-index: 21; }
  body.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header nav {
    display: flex;
    position: fixed; inset: 0; z-index: 19;
    flex-direction: column; align-items: center; justify-content: center; gap: 34px;
    background: rgba(251, 249, 245, 0.97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .site-header nav a { font-size: 13px; letter-spacing: 0.34em; color: var(--ink); }
  .site-header nav a[data-open-collection] { color: var(--gold); }
  body.nav-open .site-header nav {
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }
  /* le strip collection (z-index 50) ne doit pas recouvrir le menu ouvert */
  body.nav-open .collection-panel { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
}
@media (min-width: 768px) { .site-header nav { display: flex; align-items: center; }} 

/* ——— Manifeste (hero) ——— */
.manifesto {
  padding: 9vh 32px 8vh;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  max-height: 84svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.manifesto-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* Image de fin (29 s) : affichée progressivement quand la vidéo s'arrête */
.manifesto-end {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  opacity: 0; transition: opacity 1.2s ease; /* durée du fondu, paramétrable */
}
.manifesto-end.on { opacity: 1; }
/* Logo centré sur le poster : visible au chargement, disparaît au démarrage
   de la vidéo, réapparaît 1 s après l'image de fin */
.manifesto-logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(112px, 26vw, 336px); /* mobile ×2, autres supports ×4 */
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  opacity: 1;
  transition: opacity 1s ease; /* durée du fondu, paramétrable */
}
.manifesto-logo.is-hidden { opacity: 0; }
/* Fin de séquence : sur mobile le logo revient en ×1 ; sur desktop il ne réapparaît pas */
.manifesto-logo.is-end { width: 56px; }
@media (min-width: 768px) {
  .manifesto-logo.is-end { opacity: 0; }
}
.manifesto::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgba(2,82,202,0.13) 0%, rgba(112,135,186,0.50) 55%, rgba(0,0,0,0.69) 100%);
}
.manifesto-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
  transition: opacity 0.8s ease; /* durée du fondu, paramétrable */
}
.manifesto-poster.is-hidden { opacity: 0; }
.manifesto > *:not(.manifesto-bg):not(.manifesto-poster):not(.manifesto-end):not(.manifesto-logo) { position: relative; z-index: 4; }
.manifesto .label-caps { margin-bottom: 4vh; color: #fbe1ae; }
.manifesto h1 {
  font-size: clamp(38px, 5.6vw, 96px);
  line-height: 1.25;
  height: auto;
  overflow: visible;
  text-transform: uppercase;
}
.manifesto h1 .line.line-2 { margin-top: -0.3em; }
.manifesto h1 .line.line-3 { margin-top: -0.15em; }
.manifesto h1 .line { padding-right: 0.14em; }
.manifesto h1 .line { display: block; overflow: hidden; }
.manifesto h1 .line > span {
  display: block; transform: translateY(110%);
  animation: line-up 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}
.manifesto h1 .accent { text-transform: none; color: #fbe1ae; }
@keyframes line-up { to { transform: translateY(0); } }
.manifesto-foot {
  margin-top: 7vh; display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 768px) {
  .manifesto-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.manifesto-foot p { max-width: 440px; color: rgba(251,240,220,0.92); }
.manifesto-cta {
  position: relative; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end;
}
.cta-ring {
  position: absolute;
  right: 103px;
  bottom: calc(100% + 21px);
  width: clamp(70px, 8vw, 83px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
  transform: rotate(-7deg);
  transition: transform 0.6s var(--ease);
}
.manifesto-cta:hover .cta-ring { transform: rotate(-2deg) translateY(-7px); }

/* ——— La Maison ——— */
.maison-block { border-bottom: 1px solid var(--line); }
.maison-row {
  display: grid; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 768px) { .maison-row { grid-template-columns: 1fr 1fr; } }
.maison-row.flip { direction: rtl; }
.maison-row.flip > * { direction: ltr; }


.maison-photo {
    position: relative;

    background-image: url("../img/maison-fond.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;


    background-image: linear-gradient(180deg, rgba(var(--gf-navy-rgb), 0.47), rgba(var(--gf-navy-rgb), 0.98) 70%, var(--gf-navy)), url(../img/maison-fond.jpg);
    background-position: 0px 0px, 0% 50%;
    background-size: auto, cover;

}

/* Voile + dégradé */
.maison-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(to bottom, rgb(7 28 15 / 65%) 0%, rgba(0, 0, 0, 0.20) 50%, #001632 100%);*/
    pointer-events: none;
}

/* Le contenu reste au-dessus du voile */
.maison-photo > * {
    position: relative;
    z-index: 1;
}

.maison-photo {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    min-height: 88vh;
}

/* Titre doré + claim, ancrés en bas du visuel */
.maison-head {
    position: absolute; bottom: 6vh; left: 0; right: 0; z-index: 2;
    text-align: center; padding: 0 24px;
}
.maison-head .label-caps { color: var(--gold-soft); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.maison-gold-rule { display: block; border-bottom: 1px solid var(--gold); width: 150px; margin: 14px auto 0; position: relative; z-index: 1; }
.maison-title {
    position: relative;
    font-size: clamp(54px, 5.6vw, 86px); margin-top: 18px;
    padding: 0px 34px;
    display: inline-block;
    color: var(--gold);
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.55);
}
.maison-title::before {
    content: ""; position: absolute; inset: -5px -40px; z-index: -1;
    background: linear-gradient(90deg, rgba(22,20,15,0) 0%, rgba(22,20,15,0.62) 50%, rgba(22,20,15,0) 100%);
}
.maison-title { display: block; }
.maison-title em { color: #f0d9a8; }
.maison-claim {
    font-family: var(--serif); font-style: italic; font-weight: 300;
    font-size: clamp(19px, 1.7vw, 26px); line-height: 1.55;
    color: rgba(251, 249, 245, 0.92);
    max-width: 34ch; margin: 20px auto 0;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .maison-photo { background-attachment: scroll; min-height: 78vh; }
  .maison-head { bottom: 4vh; }
}
.maison-photo img {
  margin: 0 auto; max-width: 420px; width: 100%; padding-top: 10px;
  filter: drop-shadow(0 18px 44px rgba(0,0,0,0.35));
}
.maison-text { padding: 56px 32px; }
@media (min-width: 768px) { .maison-text { padding: 9vh 5vw; } }
.maison-text blockquote {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.25; margin-top: 20px;
}
.maison-text blockquote em { font-style: italic; color: var(--gold); }
.maison-sign {
  margin-top: 28px; display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--stone);
}
.maison-sign b { font-weight: 500; color: var(--ink); }

/* ——— Savoir-faire ——— */
.sf-sticky { position: relative; border-bottom: 1px solid var(--line); }
.sf-stage {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
}
@media (min-width: 768px) { .sf-stage { grid-template-columns: 1fr 1fr; min-height: 92vh; } }
.sf-visual { position: relative; background: #fff; overflow: hidden; min-height: 52vh; }
.sf-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
}
.sf-visual img.on { opacity: 1; transform: scale(1); }
.sf-info {
  position: relative; padding: 48px 32px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
}
@media (min-width: 768px) { .sf-info { padding: 0 4.5vw; } }
.sf-num-wrap {
  position: relative; height: 130px; overflow: hidden; margin-bottom: 32px;
}
.sf-num-col { transition: transform 0.8s var(--ease); }
.sf-num {
  height: 130px; font-family: var(--serif); font-weight: 300;
  font-size: 120px; line-height: 130px; color: var(--gold-soft);
}
.sf-steps { position: relative; min-height: 240px; }
.sf-step {
  position: absolute; inset: 0 auto auto 0; width: 100%;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sf-step.on { opacity: 1; transform: none; pointer-events: auto; }
.sf-step h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); margin: 14px 0 18px; }
.sf-step p { font-size: 14px; line-height: 1.8; color: var(--stone); max-width: 400px; }
.sf-pagination {
  margin-top: 48px; display: flex; gap: 28px;
}
.sf-page {
  flex: 1; text-align: left; padding: 16px 0 0;
  background: none; border: none; cursor: pointer;
  border-top: 6px solid rgba(22,20,15,0.15);
  transition: border-color 0.35s;
}
.sf-page-num {
  display: block; font-size: 10px; letter-spacing: 0.3em;
  color: var(--stone); transition: color 0.35s;
}
.sf-page-title {
  display: block; margin-top: 8px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.25;
  color: var(--stone); transition: color 0.35s;
}
.sf-page:hover .sf-page-title { color: var(--ink); }
.sf-page.on { border-top-color: var(--gold); }
.sf-page.on .sf-page-num { color: var(--gold); }
.sf-page.on .sf-page-title { color: var(--ink); }
@media (max-width: 767px) {
  .sf-visual { height: 52vh; }
  .sf-info { border-left: none; padding-bottom: 80px; }
  .sf-pagination { flex-direction: column; gap: 0; }
  .sf-page { padding: 14px 0; border-top: 1px solid rgba(22,20,15,0.1); }
}

/* ——— Les familles de pierres ——— */
.familles { border-bottom: 1px solid var(--line); padding: 10vh 32px 11vh; }
@media (min-width: 768px) { .familles { padding: 12vh 5vw 13vh; } }
.familles-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 7vh; }
.familles-head h2 { font-size: clamp(34px, 4.4vw, 58px); max-width: 18ch; }
.familles-grid {
  display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .familles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .familles-grid { grid-template-columns: 1fr 1fr 1fr; } }
.famille {
  display: flex; align-items: center; gap: 28px;
  padding: 34px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, padding 0.4s var(--ease);
}
.famille:hover { background: #fff; padding-left: 20px; }
.famille-stones { display: flex; align-items: center; flex: none; }
.famille-stones img {
  width: 54px; height: 54px; object-fit: cover; border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 8px 18px -10px rgba(22, 20, 15, 0.5);
  filter: saturate(0.95);
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}
.famille-stones img + img { margin-left: -16px; }
.famille:hover .famille-stones img { filter: saturate(1.1); }
.famille:hover .famille-stones img:nth-child(2) { transform: translateY(-6px); }
.famille-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.famille-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05;
  transition: color 0.35s ease;
}
.famille:hover .famille-name { color: var(--gold); }
.famille-go {
  font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--stone);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.35s ease;
}
.famille-go i { font-style: normal; transition: transform 0.45s var(--ease); }
.famille:hover .famille-go { color: var(--gold); }
.famille:hover .famille-go i { transform: translateX(5px); }

/* ——— Citation finale : galerie diffusée en parallaxe ——— */
.final-quote {
  position: relative; overflow: hidden;
  padding: 16vh 32px; text-align: center; border-bottom: 1px solid var(--line);
  background-image: url("../img/galerie-fond.jpg");
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: cover;
}
.final-quote::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(22,20,15,0.62) 0%, rgba(22,20,15,0.45) 50%, rgba(22,20,15,0.68) 100%);
}
.final-quote > * { position: relative; z-index: 1; }
.final-quote p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.2;
  max-width: 20ch; margin: 0 auto;
}
.final-quote p em { font-style: italic; color: var(--gold); }
.final-quote .label-caps { margin-bottom: 14px; color: #f0d9a6; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.final-quote .cities-line {
  font-family: var(--sans); font-size: clamp(7px, 1.6vw, 10px); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: rgba(251,240,220,0.75); white-space: nowrap;
  display: block; max-width: none; width: 100%; text-align: center;
  margin: 0 auto 44px; text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.final-quote .cities-line .sep { color: var(--gold); margin: 0 0.6em; }
.final-quote p.display { color: #fdf8ee; text-shadow: 0 2px 22px rgba(0,0,0,0.6); }

/* ——— Contact ——— */
.contact-grid {
  display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-left { padding: 80px 32px; }
@media (min-width: 900px) { .contact-left { padding: 11vh 5vw; border-right: 1px solid var(--line); } }
.contact-left h2 { font-size: clamp(40px, 5vw, 64px); margin: 20px 0 28px; }
.contact-left .lead { max-width: 420px; }
.contact-mail {
  display: inline-block; margin-top: 36px;
  font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.6vw, 30px);
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 1px; text-underline-offset: 8px;
  transition: color 0.3s;
}
.contact-mail:hover { color: var(--gold); }
.contact-meta { margin-top: 48px; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.contact-meta .label-caps { margin-bottom: 10px; }
.contact-meta p:not(.label-caps) { font-size: 13px; line-height: 1.8; color: var(--stone); }
.contact-form { padding: 80px 32px; background: #fff; }
@media (min-width: 900px) { .contact-form { padding: 11vh 4vw; } }

.field { margin-bottom: 26px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.26em; color: var(--stone);
}
.field input, .field textarea, .field select {
  width: 100%; border: none; border-bottom: 1px solid rgba(22, 20, 15, 0.2);
  background: transparent; padding: 12px 0;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  outline: none; border-radius: 0; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--gold); }
.field ::placeholder { color: #bdb6a6; }
.form-note {
  margin-top: 24px; border: 1px solid rgba(179, 146, 79, 0.4);
  background: rgba(239, 231, 216, 0.4); padding: 16px 20px; font-size: 14px;
}

/* ——— Pied de page (inversé) ——— */
.site-footer {
  background: var(--ink); color: var(--paper);
  padding: 10vh 32px 40px;
}
@media (min-width: 768px) { .site-footer { padding: 10vh 5vw 40px; } }
.footer-word {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(64px, 12vw, 190px); line-height: 0.9; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 24px;
}
.footer-word img { height: 0.62em; width: auto; filter: brightness(1) invert(0.5); opacity: 0.92; }
.footer-row {
  margin-top: 6vh; display: flex; flex-direction: column; gap: 24px;
  border-top: 1px solid rgba(251, 249, 245, 0.15); padding-top: 32px;
}
@media (min-width: 768px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-row nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-row nav a {
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.28em; color: rgba(251, 249, 245, 0.55); transition: color 0.3s;
}
.footer-row nav a:hover { color: var(--gold-soft); }
.footer-copy { font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; color: rgba(251, 249, 245, 0.4); }

/* ============================================================
   BANDE LATÉRALE + COLLECTION (droite, plein écran au clic)
   ============================================================ */
.collection-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 22vw;
  background: linear-gradient(180deg, #f4f1ea, #ece7db);
  color: var(--ink);
  z-index: 50;
  transition: width 0.85s var(--ease);
  overflow: hidden;
}
body.collection-hover:not(.collection-open) .collection-panel { width: 29vw; }
body.collection-open .collection-panel { width: 100%; overflow: hidden; }
@media (max-width: 860px) {
  .collection-panel { left: 0; top: 88%; width: 100vw; height: 100vh; height: 100svh; height: 100dvh; max-height: 100vh; max-height: 100svh; max-height: 100dvh;
    transition: top 0.85s var(--ease); }
  body.collection-hover:not(.collection-open) .collection-panel { top: 84%; }
  body.collection-open .collection-panel { top: 0; }
}

/* Bande visible (fermée) — mannequin + pierres */
.strip-face {
  position: absolute; top: 0; left: 0; height: 100%; width: 22vw;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 26px 8px; cursor: pointer;
  border-left: 1px solid rgba(22, 20, 15, 0.14);
  transition: opacity 0.4s ease;
}
.strip-face > *:not(.strip-model) { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .strip-face { width: 100vw; height: 12vh; flex-direction: row; justify-content: space-between; padding: 0 24px;
    border-left: none; border-top: 1px solid rgba(22, 20, 15, 0.14); }
}
body.collection-open .strip-face { opacity: 0; pointer-events: none; }

.strip-count {
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em; color: var(--gold);
  text-transform: uppercase;
  transition: color 0.6s ease;
}

/* ——— Médaillon du mannequin ——— */
/* état « petit » (style d'origine) : centré en absolu pour une transition fluide */
.strip-model {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(13vw, 220px); height: min(17.34vw, 293px);
  overflow: visible;
  border-radius: 999px;
  border: 1px solid rgba(179, 146, 79, 0.45);
  padding: 6px;
  background: rgba(251, 249, 245, 0.4);
  transition: width 0.9s var(--ease), height 0.9s var(--ease),
              border-radius 0.9s var(--ease), padding 0.9s var(--ease),
              border-color 0.5s ease, background 0.5s ease;
}
.strip-model img:not(.strip-logo-little) {
  position: absolute; inset: 6px;
  width: calc(100% - 12px); height: calc(100% - 12px);
  object-fit: cover; object-position: 50% 18%;
  border-radius: 999px;
  filter: saturate(0.96);
  opacity: 0; transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 1.6s var(--ease),
              filter 0.6s ease, border-radius 0.9s var(--ease);
}
.strip-model img.on { opacity: 1; transform: scale(1); }
body.collection-hover .strip-model img.on { transform: scale(1.07); filter: saturate(1.05); }
@media (max-width: 860px) { .strip-model { display: none; } }

/* état « plein espace » : quand la section #accueil est à l'écran */
@media (min-width: 861px) {
  body.strip-full .strip-model {
    width: calc(100% - 24px); height: calc(100% - 24px);
    border-radius: 18px; padding: 0;
    border-color: transparent; background: transparent;
    overflow: hidden;
  }
  body.strip-full .strip-model img { inset: 0; width: 100%; height: 100%; border-radius: 0; }
  body.strip-full .strip-count { color: #f3dfae; text-shadow: 0 1px 14px rgba(0,0,0,0.4); }
  body.strip-full .strip-stones { opacity: 0; pointer-events: none; }
}

/* ——— Panneau dégradé sous la légende (grand format) ——— */
.cap-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.82) 100%);
  opacity: 0; transition: opacity 0.9s ease;
  pointer-events: none;
}
@media (min-width: 861px) {
  body.strip-full .cap-panel { opacity: 1; }
}

/* ——— Légende liée à la collection ——— */
/* petit format : sous le médaillon, en petites capitales dorées */
.strip-model-cap {
  position: absolute; left: 50%; top: calc(100% + 14px);
  transform: translateX(-50%);
  width: 190%; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  pointer-events: none;
  transition: top 0.9s var(--ease), bottom 0.9s var(--ease), width 0.9s var(--ease);
}
.cap-rule { width: 26px; height: 1px; background: var(--gold); transition: width 0.6s ease, background 0.6s ease; }
.cap-text {
  display: block;
  font-size: 8.5px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.26em; line-height: 2; color: var(--gold);
  transition: font-size 0.6s ease, color 0.6s ease, letter-spacing 0.6s ease;
}
/* grand format : le même texte, en italique serif, incrusté au-dessus du panneau dégradé */
@media (min-width: 861px) {
  body.strip-full .strip-model-cap { top: auto; bottom: 96px; width: 82%; z-index: 1; }
  body.strip-full .cap-rule { width: 44px; background: #f0d9a8; }
  body.strip-full .cap-text {
    display: block;
    font-family: var(--serif); font-style: italic; font-weight: 300;
    text-transform: none; letter-spacing: 0.02em;
    font-size: clamp(15px, 1.25vw, 20px); line-height: 1.5;
    color: #fdf8ee; text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  }
}

/* ——— Titre « La Collection » ——— */
.strip-title {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 3.5vh; user-select: none;
}
.strip-title .t-la {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 14px; letter-spacing: 0.34em; padding-left: 0.34em;
  color: var(--gold); transition: color 0.6s ease;
}
.strip-title .t-word { display: flex; align-items: baseline; color: var(--ink); transition: color 0.6s ease; }
.strip-title .t-word i {
  font-style: normal; font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 3.6vw, 56px); line-height: 1;
  color: var(--gold); transition: color 0.6s ease;
}
.strip-title .t-word span {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(11px, 0.95vw, 14px);
  text-transform: uppercase; letter-spacing: 0.3em; margin-left: 3px;
}
/* grand format : le titre vient se poser juste au-dessus de la légende */
@media (min-width: 861px) {
  body.strip-full .strip-title {
    position: absolute; left: 0; right: 0; bottom: 180px; margin-top: 0;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0,0,0,0.45);
  }
  body.strip-full .strip-title .t-la { color: #f0d9a8; }
  body.strip-full .strip-title .t-word { color: rgba(253,248,238,0.94); justify-content: center; }
  body.strip-full .strip-title .t-word i { color: #f0d9a8; }
}
@media (max-width: 860px) {
  .strip-title { flex-direction: row; align-items: baseline; gap: 10px; margin-top: 0; }
  .strip-title .t-la { font-size: 12px; padding-left: 0; }
  .strip-title .t-word i { font-size: 30px; }
  .strip-title .t-word span { font-size: 10px; }
}

.strip-stones { display: flex; align-items: center; margin-top: auto; transition: opacity 0.6s ease; }
.strip-gem {
  width: 3.4vw; height: 3.4vw; min-width: 40px; min-height: 40px;
  max-width: 58px; max-height: 58px; flex: none;
  border-radius: 50%; overflow: hidden;
  border: 2px solid #f2ebdc;
  box-shadow: 0 6px 16px -8px rgba(22, 20, 15, 0.45);
  transition: transform 0.6s var(--ease);
}
.strip-gem img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.7); /* zoom : la pierre remplit le cercle, plus de zone transparente */
  transition: opacity 0.4s ease;
}
.strip-gem + .strip-gem { margin-left: -1.1vw; }
body.collection-hover .strip-gem { transform: translateY(-4px); }
body.collection-hover .strip-gem:nth-child(2) { transform: translateY(-4px) scale(1.06); }
@media (max-width: 860px) { .strip-stones { display: none; } }

/* ——— Bouton d'ouverture : diamant taille brillant, pulsation douce ——— */
.strip-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(179, 146, 79, 0.55);
  background: rgba(251, 249, 245, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 3vh;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.strip-arrow svg { display: block; animation: gem-pulse 2.6s var(--ease) infinite; }
@keyframes gem-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}
body.collection-hover .strip-arrow { background: var(--gold); border-color: var(--gold); color: #fff; }
@media (min-width: 861px) {
  body.strip-full .strip-arrow { color: #f0d9a6; border-color: rgba(253,248,238,0.6); background: rgba(22,20,15,0.18); }
  body.strip-full.collection-hover .strip-arrow { background: var(--gold); border-color: var(--gold); color: #fff; }
}
@media (max-width: 860px) {
  .strip-arrow { margin-top: 0; }
}

/* Collection ouverte */
.collection-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity 0.5s ease 0.3s, visibility 0.5s ease 0.3s;
}
body.collection-open .collection-body { opacity: 1; visibility: visible; }
.collection-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; border-bottom: 1px solid rgba(22, 20, 15, 0.14);
  flex: none;
}
.collection-top .label-caps { color: var(--gold); }
.collection-close {
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em;
  color: rgba(22, 20, 15, 0.7); transition: color 0.3s;
}
.collection-close:hover { color: var(--gold); }
.collection-close .x {
  width: 38px; height: 38px; border: 1px solid rgba(22, 20, 15, 0.3);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.collection-close:hover .x { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* rail horizontal */
.collection-rail-wrap { flex: 1; overflow: hidden; position: relative; }
.collection-rail {
  height: 100%; display: flex; align-items: stretch;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.collection-rail::-webkit-scrollbar { display: none; }
.piece {
  flex: none; width: 78vw; scroll-snap-align: center;
  display: grid; grid-template-columns: 1fr; align-content: center;
  padding: 24px 32px; gap: 20px;
}
@media (min-width: 900px) { .piece { width: 52vw; grid-template-columns: 1fr 1fr; gap: 40px; padding: 0 4vw; } }
.piece-fig { position: relative; overflow: hidden; background: #fff; }
.piece-fig img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.piece:hover .piece-fig img { transform: scale(1.08); }
.piece-info { align-self: center; }
.piece-id { font-size: 10px; letter-spacing: 0.3em; color: var(--gold); font-weight: 500; }
.piece-info h3 {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(28px, 2.8vw, 44px); margin: 14px 0 6px;
}
.piece-info .fam {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.6vw, 24px); color: var(--gold); margin-bottom: 18px;
}
.piece-info .specs { border-top: 1px solid rgba(22, 20, 15, 0.16); max-width: 380px; }
.piece-info .specs li {
  list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 10px 0; border-bottom: 1px solid rgba(22, 20, 15, 0.16);
}
.piece-info .specs li span:first-child {
  font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em;
  color: rgba(22, 20, 15, 0.5);
}
.piece-info .specs li span:last-child { font-size: 13px; color: var(--ink); text-align: right; }
.piece-info .btn-line { margin-top: 26px; color: var(--ink); border-color: rgba(22, 20, 15, 0.6); }
.piece-info .btn-line:hover { color: var(--gold); border-color: var(--gold); }

/* bas de collection */
.collection-bottom {
  flex: none; display: flex; align-items: center; gap: 24px;
  padding: 18px 32px; border-top: 1px solid rgba(22, 20, 15, 0.14);
}
.rail-btn {
  width: 42px; height: 42px; border: 1px solid rgba(22, 20, 15, 0.3);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s;
  flex: none;
}
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-progress { flex: 1; height: 1px; background: rgba(22, 20, 15, 0.2); position: relative; }
.rail-progress i {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: var(--gold); transition: width 0.2s linear;
}
.rail-counter {
  font-size: 10px; font-weight: 500; letter-spacing: 0.3em;
  color: rgba(22, 20, 15, 0.6); white-space: nowrap;
}

/* ============================================================
   MODALES
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(22, 20, 15, 0.35);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.modal-card {
  position: relative; width: 100%; max-width: 520px; max-height: 88vh; overflow-y: auto;
  background: #fff; padding: 40px 32px;
  box-shadow: 0 40px 90px -30px rgba(22, 20, 15, 0.4);
  transform: translateY(26px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}
@media (min-width: 768px) { .modal-card { padding: 48px; } }
.modal.open .modal-card { transform: translateY(0); opacity: 1; }
.modal-close {
  position: absolute; right: 20px; top: 20px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(22, 20, 15, 0.12); font-size: 17px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.modal-logo { height: 34px; width: auto; margin-bottom: 24px; }
.modal h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 4vw, 36px); margin-top: 12px; }
.modal .sub { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--stone); }
.modal form { margin-top: 30px; }
.modal form .btn-solid { width: 100%; justify-content: center; }
.modal-alt { margin-top: 22px; font-size: 12px; color: var(--stone); }
.modal-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.modal-alt a:hover { color: var(--gold); }

/* espace privé inline */
.prive-block {
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 900px) { .prive-block { grid-template-columns: 1fr 1fr; } }
.prive-left {
  position: relative; overflow: hidden;
  min-height: 82vh; padding: 80px 32px 7vh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
@media (min-width: 900px) { .prive-left { padding: 11vh 5vw 8vh; border-right: 1px solid var(--line); } }
.prive-photo { position: absolute; inset: 0; overflow: hidden; margin: 0; max-width: none; }
.prive-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.prive-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,20,15,0) 30%, rgba(22,20,15,0.55) 62%, rgba(22,20,15,0.88) 100%);
}
.prive-left > *:not(.prive-photo) { position: relative; z-index: 1; }
.prive-left .label-caps { color: #f0d9a6; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.prive-left h2 { color: #fdf8ee; text-shadow: 0 3px 26px rgba(0,0,0,0.55); }
.prive-left .lead { color: rgba(251,240,220,0.92); text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.prive-left .prive-note { color: rgba(251,240,220,0.65); }
.prive-left h2 { font-size: clamp(38px, 4.6vw, 58px); margin: 20px 0 24px; }
.prive-left .lead { max-width: 420px; }
.prive-left .btn-solid { margin-top: 32px; align-self: flex-start; }
.prive-note { margin-top: 14px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--stone); }
.prive-list { display: flex; flex-direction: column; }
.prive-list-head { padding: 56px 32px 8px; }
@media (min-width: 900px) { .prive-list-head { padding: 9vh 4vw 8px; } }
.prive-list-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2;
  margin: 14px 0 12px; color: var(--ink);
}
.prive-list-title em { color: var(--gold); }
.prive-item {
  position: relative;
  padding: 36px 32px; display: flex; gap: 28px; align-items: baseline;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}
.prive-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.prive-item:hover::before { transform: scaleY(1); }
.prive-item:last-child { border-bottom: none; }
.prive-item:hover { background: #fff; }
.prive-item .num {
  font-family: var(--serif); font-weight: 300; font-size: 34px; color: var(--gold-soft);
  flex: none; transition: color 0.3s;
}
.prive-item:hover .num { color: var(--gold); }
.prive-item h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 8px; }
.prive-item p { font-size: 13px; line-height: 1.7; color: var(--stone); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { transition: none; opacity: 1; transform: none; filter: none; }
  .manifesto h1 .line > span { animation: none; transform: none; }
  .strip-arrow svg { animation: none; }
}

/* ——— La Boutique : vitrines gemmes sur verre ——— */
.piece-fig { background: transparent; overflow: visible; display: flex; }
.gem-stage { border-radius:15px; position: relative; flex: 1; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8% 8% 4%; background: var(--stage-bg, #f8f5ef); transition: background 0.6s ease; }
@media (min-width: 900px) { .gem-stage { min-height: 52vh; } }
.gem { width: min(74%, 330px); filter: drop-shadow(0 20px 24px rgba(22,20,15,0.32)); }
.gem-svg { display: block; width: 100%; height: auto; }
.gem-ref { width: min(74%, 330px); margin-top: 3px; transform: scaleY(-1); filter: blur(1.2px); opacity: 0.5; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.38), transparent 58%); mask-image: linear-gradient(to bottom, rgba(0,0,0,0.38), transparent 58%); }
.glass-line { width: 84%; height: 1px; margin-top: 4px; background: linear-gradient(90deg, transparent, rgba(22,20,15,0.35), transparent); }
.rail-cat { flex: none; width: 38vw; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 4vw; text-align: center; position: relative; overflow: hidden; border-radius: 15px; }
.rail-cat-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rail-cat::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(248,245,239,0.42) 0%, rgba(248,245,239,0.62) 100%); }
.rail-cat-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  transition: opacity 0.8s ease; /* durée du fondu, paramétrable */
}
.rail-cat-poster.is-hidden { opacity: 0; }
.rail-cat > *:not(.rail-cat-video):not(.rail-cat-poster) { position: relative; z-index: 2; }
.rail-cat-num { font-family: var(--serif); font-weight: 300; line-height: 1; font-size: clamp(64px, 7vw, 120px); color: transparent; -webkit-text-stroke: 1px rgba(179,146,79,0.75); }
.rail-cat-rule { width: 52px; height: 1px; background: var(--gold); }
.rail-cat-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); color: var(--ink); }
.rail-cat-note { font-size: 9px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(22,20,15,0.45); }
@media (max-width: 899px) { .rail-cat { width: 82vw; } }
.stage-swatches { display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 0 auto; }
.stage-swatches .sw { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(22,20,15,0.25); cursor: pointer; transition: transform 0.25s ease; padding: 0; }
.stage-swatches .sw:hover { transform: scale(1.2); }
.stage-swatches .sw.on { outline: 1px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) { .stage-swatches { display: none; } }
.req-stone { display: flex; gap: 18px; align-items: center; background: #faf7f1; border: 1px solid rgba(22,20,15,0.1); padding: 14px 16px; margin: 8px 0 18px; }
.req-gem { width: 86px; flex: none; }
.req-name { font-family: var(--serif); font-size: 22px; font-weight: 300; color: var(--ink); line-height: 1.15; }
.req-sub { font-size: 9px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 4px 0 10px; }
.req-meta ul li { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-top: 1px solid rgba(22,20,15,0.1); font-size: 12px; }
.req-meta ul li span:first-child { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(22,20,15,0.5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ——— La Boutique : selects personnalisés coupe / couleur ——— */
.spec-sel { align-items: flex-start; }
.spec-sel > span { padding-top: 9px; }
.gsel { position: relative; min-width: 210px; }
.gsel-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: #faf7f1; border: 1px solid rgba(22,20,15,0.16);
  padding: 7px 12px; cursor: pointer;
  font-family: var(--sans, inherit); font-size: 12px; letter-spacing: 0.04em; color: var(--ink);
  transition: border-color 0.25s ease;
}
.gsel-btn:hover { border-color: rgba(179,146,79,0.8); }
.gsel-val { display: flex; align-items: center; gap: 10px; flex: 1; text-align: left; }
.gsel-caret { width: 10px; height: 6px; flex: none; color: var(--gold); }
.gsel-cut { width: 26px; height: 26px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.gsel-cut .cut-ico { width: 100%; height: 100%; }
.gsel-dot { width: 14px; height: 14px; border-radius: 50%; flex: none; border: 1px solid rgba(22,20,15,0.2); }
.gsel-pop {
  position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: #fdfbf7; border: 1px solid rgba(22,20,15,0.14);
  box-shadow: 0 18px 40px rgba(22,20,15,0.18);
  list-style: none; margin: 0; padding: 6px;
  max-height: 264px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.gsel.open .gsel-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.gsel-pop li {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; cursor: pointer; font-size: 12px; letter-spacing: 0.04em;
  transition: background 0.15s ease;
}
.gsel-pop li:hover { background: rgba(179,146,79,0.12); }
.gsel-pop li.on { background: rgba(179,146,79,0.16); }

/* ——— Repères gemmes dorés + tooltip ——— */
.rail-progress { height: 5px; }
.rail-gems { display: flex; align-items: center; gap: 9px; padding: 6px 4px 12px; flex: none; }
.rail-gem {
  background: none; border: none; padding: 2px; cursor: pointer;
  color: rgba(179,146,79,0.5); transition: color 0.25s ease, transform 0.25s ease;
}
.rail-gem svg { display: block; width: 20px; height: 20px; }
.rail-gem:hover { color: var(--gold); transform: translateY(-3px) scale(1.15); }
.rail-gem.on { color: var(--gold); transform: translateY(-2px); }
.rail-tip {
  position: fixed; z-index: 999; display: none;
  background: var(--ink); color: #f3ead9;
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px; white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(22,20,15,0.3);
}
.rail-tip::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border: 5px solid transparent; border-bottom: none; border-top-color: var(--ink);
}
@media (max-width: 899px) {
  .gsel { min-width: 170px; }
  .rail-gems { gap: 5px; overflow-x: auto; max-width: 60vw; }
}

/* ——— Repères gemmes : proportionnels sur toute la largeur de la barre ——— */
.rail-track { position: relative; flex: 1; height: 46px; }
.rail-progress { position: absolute; left: 0; right: 0; top: 23px; flex: none; }
.rail-gems { position: absolute; inset: 0; display: block; padding: 0; }
.rail-gem { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; background: none; border: none; padding: 0; cursor: pointer; color: rgba(179,146,79,0.5); transition: color 0.25s ease, transform 0.25s ease; }
.rail-gem svg { width: 20px; height: 20px; display: block; }
.rail-gem i { font-style: normal; font-size: 9px; font-weight: 700; line-height: 1; font-family: var(--sans); color: rgba(22,20,15,0.38); transition: color 0.25s ease; }
.rail-gem:hover { color: var(--gold); transform: translateX(-50%) translateY(-3px); }
.rail-gem:hover i, .rail-gem.on i { color: var(--ink); }
.rail-gem.on { color: var(--gold); }
.rail-gem.on svg { filter: drop-shadow(0 2px 3px rgba(179,146,79,0.55)); }

/* ——— Couleurs des selects personnalisés ——— */
.gsel-btn { background: #e6dac0; }
.gsel-pop { background: #f2e7ce; }
.gsel-pop li:hover { background: rgba(179,146,79,0.28); }
.gsel-pop li.on { background: rgba(179,146,79,0.34); }
.rail-progress { top: 27px; }

/* ——— Badges blancs sous les gemmes + crochets de catégories ——— */
.rail-track { height: 88px; }
.rail-progress { top: 26px; }
.rail-gem { width: 0; height: 100%; }
.rail-gem svg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.rail-gem i {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  width: 17px; height: 17px; border-radius: 50%;
  background: #ffffff; border: 1px solid rgba(179,146,79,0.45);
  box-shadow: 0 2px 5px rgba(22,20,15,0.18);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 8px; font-weight: 700; color: rgba(22,20,15,0.62);
}
.rail-gem:hover i, .rail-gem.on i { border-color: var(--gold); color: var(--ink); }
.rail-brackets { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; width: 100%; pointer-events: none; }
.rail-bracket-label { font-family: var(--sans); font-size: 8px; letter-spacing: 0.24em; text-transform: uppercase; fill: rgba(22,20,15,0.55); }
@media (max-width: 899px) { .rail-bracket-label { font-size: 6.5px; letter-spacing: 0.1em; } }

/* ——— Scrollbar du menu déroulant assortie ——— */
.gsel-pop { scrollbar-width: thin; scrollbar-color: #d8c8a6 #f2e7ce; }
.gsel-pop::-webkit-scrollbar { width: 8px; }
.gsel-pop::-webkit-scrollbar-track { background: #f2e7ce; }
.gsel-pop::-webkit-scrollbar-thumb { background: #d8c8a6; border-radius: 4px; border: 2px solid #f2e7ce; }
.gsel-pop::-webkit-scrollbar-thumb:hover { background: #c9b68f; }

/* ——— Calage visuel : gemmes remontées, badges sur la barre, crochets pointillés ——— */
.rail-gem svg { top: -3px; }
.rail-gem i { top: 20px; }
.rail-brackets { top: 42px; }
.rail-gem i { z-index: 2; }

/* ——— Crochets de catégories : div aux bordures ——— */
.bracket { position: absolute; top: 44px; height: 10px; box-sizing: border-box; pointer-events: none; border-left: 2px solid #b9944f; border-right: 2px solid #b9944f; border-bottom: 2px solid #b9944f; }
.bracket-label { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 8px; font-family: var(--sans); font-size: 8px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(22,20,15,0.55); white-space: nowrap; }
@media (max-width: 899px) { .bracket-label { font-size: 6.5px; letter-spacing: 0.1em; } }

/* ——— Crochets : version pointillée discrète ——— */
.bracket {
  top: 37px;
  height: 10px;
  border-left: 2px dotted rgba(22,20,15,0.2);
  border-right: 2px dotted rgba(22,20,15,0.2);
  border-bottom: 2px dotted rgba(22,20,15,0.2);
  border-top: 0;
}

/* ——— Pastille des tranches de carats + hauteur de piste ——— */
.gsel-dot--carat { background: radial-gradient(circle at 35% 30%, #e7ce9a, #b9944f 70%); border-color: rgba(179,146,79,0.6); }
.rail-track { height: 55px; }

/* ——— Menus déroulants : positionnement fixe et intelligent ——— */
.gsel-pop { position: fixed; z-index: 400; min-width: 210px; max-height: 60vh; }
.gsel-pop.show { opacity: 1; visibility: visible; transform: none; }

/* ——— Séparateurs de catégories : moins d'espace entre les groupes ——— */
.rail-cat { width: 19vw; padding: 0 1vw; }
@media (max-width: 899px) { .rail-cat { width: 44vw; } }

/* ——— Séparateurs de catégories : moins d'espace entre les groupes ——— */
.rail-cat { width: 19vw; padding: 0 1vw; }
@media (max-width: 899px) { .rail-cat { width: 44vw; } }

/* ——— Exception : dernier marqueur calé sur la fin de piste ——— */
.rail-gem--end { left: auto !important; right: 0; transform: none; }
.rail-gem--end:hover { transform: translateY(-3px); }

/* ——— Bande latérale : panneau catégories au survol ——— */
.strip-cats {
  position: absolute; inset: 0; z-index: 6;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.6vh, 26px);
  background: linear-gradient(180deg, rgba(22,20,15,0.28) 0%, rgba(22,20,15,0.55) 55%, rgba(22,20,15,0.72) 100%);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.strip-face:hover .strip-cats,
.strip-face:focus-visible .strip-cats { opacity: 1; visibility: visible; }
.strip-cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  writing-mode: vertical-rl; text-orientation: mixed;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease var(--d, 0ms), transform 0.5s ease var(--d, 0ms);
}
.strip-face:hover .strip-cat,
.strip-face:focus-visible .strip-cat { opacity: 1; transform: translateY(0); }
.strip-cat i {
  font-style: normal; font-family: var(--serif); font-size: 15px; color: transparent;
  -webkit-text-stroke: 0.7px rgba(230,218,192,0.9);
}
.strip-cat em {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(12px, 1.15vw, 15px); color: #f3ead9; letter-spacing: 0.08em;
}
.strip-cat b {
  font-family: var(--sans); font-weight: 500; font-size: 8px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.strip-cat::after {
  content: ""; width: 1px; height: 22px;
  background: linear-gradient(180deg, rgba(179,146,79,0.9), transparent);
}
.strip-cat:last-of-type::after { display: none; }
.strip-cats-note {
  font-family: var(--sans); font-size: 8px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; text-align: center; line-height: 2;
  color: rgba(243,234,217,0.75);
  border-top: 1px solid rgba(179,146,79,0.5);
  padding-top: 12px; margin-top: 4px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease var(--d, 0ms), transform 0.5s ease var(--d, 0ms);
}
.strip-face:hover .strip-cats-note,
.strip-face:focus-visible .strip-cats-note { opacity: 1; transform: translateY(0); }

/* ——— Bague rose à gauche : même animation, valeurs différentes ——— */
.cta-ring--left {
  left: auto;
  right: 183px;
  bottom: calc(100% + 22px);
  width: clamp(80px, 9.5vw, 100px);
  transform: rotate(10deg);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42));
  transition: transform 0.6s var(--ease) 0.06s;
}
.manifesto-cta:hover .cta-ring--left { transform: rotate(4deg) translateY(-12px); }
@media (max-width: 768px) { .cta-ring--left { left: -18px; } }

/* ——— strip-cats : repositionné dans la colonne de droite ——— */
.strip-cats {
  inset: auto 0 0 auto;
  top: 0;
  width: clamp(70px, 32%, 120px);
  background: none;
  backdrop-filter: none;
  border-left: 1px solid rgba(179,146,79,0.35);
  gap: clamp(10px, 1.8vh, 20px);
}
.strip-cat { gap: 6px; }
.strip-cat i { -webkit-text-stroke: 0.7px rgba(179,146,79,0.95); }
.strip-cat em { color: rgba(22,20,15,0.78); }
.strip-cat b { color: #b3924f; }
.strip-cat::after { background: linear-gradient(180deg, rgba(179,146,79,0.7), transparent); }
.strip-cats-note {
  color: rgba(22,20,15,0.55);
  border-top-color: rgba(179,146,79,0.45);
  font-size: 7px;
}
@media (max-width: 899px) { .strip-cats { display: none; } }

/* ——— strip-cats : plaque crème ancrée dans la colonne de droite ——— */
.strip-cats {
  inset: auto;
  top: 0; bottom: 0; right: 8px;
  width: min(96px, 30%);
  background: rgba(243,238,228,0.92);
  backdrop-filter: blur(2px);
  border-left: 1px solid rgba(179,146,79,0.4);
}
.strip-cat em { font-size: clamp(10px, 0.95vw, 13px); }

/* ——— Colonne catégories : espace réservé à droite, contenu centré verticalement ——— */
:root { --cats-w: clamp(88px, 36%, 150px); }
@media (min-width: 861px) {
  .strip-model { left: calc(50% - var(--cats-w) / 2); }
  body.strip-full .strip-model {
    width: calc(100% - 24px - var(--cats-w));
    height: calc(100% - 24px);
  }
  .strip-cats {
    inset: auto;
    top: 0; bottom: 0; right: 0;
    width: var(--cats-w);
    background: transparent;
    backdrop-filter: none;
    border-left: 1px solid rgba(179,146,79,0.4);
    justify-content: center;
    padding: 12px 0;
  }
}

/* ——— Ajustement fin : médaillon calé contre la colonne ——— */
@media (min-width: 861px) {
  .strip-model { width: min(12vw, 200px); height: min(16vw, 266px); }
  body.strip-full .strip-model {
    left: 12px;
    right: calc(var(--cats-w) + 12px);
    width: auto;
    transform: translateY(-50%);
  }
}

/* ——— strip-cats : géométrie forcée dans la colonne de droite ——— */
@media (min-width: 861px) {
  .strip-cats {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: var(--cats-w) !important;
    margin: 0 !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }
}

/* ——— Bande rétractée : médaillon à l'origine, colonne masquée ——— */
@media (min-width: 861px) {
  .strip-model {
    left: 50%;
    width: min(13vw, 220px);
    height: min(17.34vw, 300px);
  }
  .strip-cats { display: none; }
  body.strip-full .strip-cats { display: flex; }
}

/* ——— DÉFINITIF : photo pleine largeur ; strip-cats = plaque crème au survol ——— */
@media (min-width: 861px) {
  .strip-model {
    left: 50% !important;
    right: auto !important;
    width: min(13vw, 220px) !important;
    height: min(17.34vw, 300px) !important;
    transform: translate(-50%, -50%) !important;
  }
  body.strip-full .strip-model {
    width: calc(100% - 24px) !important;
    height: calc(100% - 24px) !important;
  }
  .strip-cats {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    right: 18px !important;
    left: auto !important;
    width: clamp(78px, 30%, 120px) !important;
    height: auto !important;
    max-height: calc(100% - 60px);
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 22px 10px;
    overflow: hidden auto;
    background: rgba(243,238,228,0.94) !important;
    backdrop-filter: blur(3px);
    border-left: none;
    box-shadow: 0 18px 40px rgba(22,20,15,0.18);
  }
}

/* ——— DÉFINITIF : photo pleine largeur ; strip-cats dans la zone de l'agrandissement ——— */
@media (min-width: 861px) {
  .strip-model {
    left: 50% !important;
    right: auto !important;
    width: min(13vw, 220px) !important;
    height: min(17.34vw, 300px) !important;
    transform: translate(-50%, -50%) !important;
  }
  body.strip-full .strip-model {
    width: calc(100% - 24px) !important;
    height: calc(100% - 24px) !important;
  }
  .strip-cats {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    left: 100% !important;
    right: auto !important;
    width: clamp(72px, 5vw, 110px) !important;
    height: auto !important;
    max-height: calc(100vh - 120px);
    transform: translateY(-50%) !important;
    margin: 0 !important;
    padding: 18px 4px;
    background: transparent !important;
    backdrop-filter: none !important;
    border-left: 1px solid rgba(179,146,79,0.4);
    box-shadow: none !important;
    overflow: hidden auto;
    justify-content: center;
  }
  body.collection-open .strip-cats { display: none !important; }
}

/* ——— strip-cats : centrage, zone élargie, CTA flèche ——— */
@media (min-width: 861px) {
  
  .strip-cats {
    width: clamp(84px, 7vw, 140px);
    border-left: 0 !important;
    overflow: visible;
    gap: clamp(8px, 1.4vh, 16px);
    padding: 18px 8px;
  }
  .strip-cat {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
  }
  .strip-cat:hover em { color: #b3924f; }
  .strip-cats-note {
    font-size: 6.5px;
    letter-spacing: 0.14em;
    white-space: normal;
    line-height: 1.9;
    padding-top: 10px;
    margin-top: 0;
  }
  .strip-cats-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease var(--d, 0ms), transform 0.5s ease var(--d, 0ms);
  }
  .strip-face:hover .strip-cats-cta,
  .strip-face:focus-visible .strip-cats-cta { opacity: 1; transform: none; }
  .strip-orb {
    width: 34px; height: 34px; border-radius: 50%;
    background: #16130e;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(22,20,15,0.35);
  }
  .strip-orb svg { width: 16px; height: 16px; animation: stripArrow 1.6s ease-in-out infinite; }
  .strip-cats-cta b {
    font-family: var(--sans); font-weight: 600; font-size: 8px;
    letter-spacing: 0.26em; text-transform: uppercase; color: #b3924f;
  }
}
@keyframes stripArrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* ——— « 20 gemmes » centré même sur deux lignes ——— */
.strip-cats-cta b { width: 100%; text-align: center; }


  .req-specs{
    --bg:#f0e9db;
    --card:#e4d8c0;
    --brown:#7b5c33;
    --brown-dark:#6b4e2a;
    --track:#c9cdd4;
    --fill:#8a6a42;
    --tag-grey:#c2c9d4;
    --ink:#4a4237;
    --heading:#8a7a5e;
    --select-bg:#d3c3a0;
  }
  .req-specs body{
    background:var(--bg);
    font-family:'Segoe UI',Arial,Helvetica,sans-serif;
    color:var(--ink);
    padding:34px 16px 60px;
    -webkit-font-smoothing:antialiased;
  }
  .req-specs .panel{max-width:1020px;margin:0 auto}

  .req-specs h2{
    font-family:Georgia,'Times New Roman',serif;
    font-weight:400;
    font-size:15px;
    letter-spacing:6px;
    color:var(--heading);
    text-align:center;
  }

  /* ---------- Carte des formes ---------- */
  .req-specs .shapes-card{
    background:var(--card);
    border-radius:14px;
    padding:18px 14px 14px;
    display:grid;
    grid-template-columns:repeat(10,1fr);
    gap:4px;
    margin-bottom:26px;
  }
  .req-specs .shape{
    background:transparent;
    border:2px solid transparent;
    border-radius:10px;
    padding:8px 2px 10px;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    transition:background .18s ease,border-color .18s ease,transform .12s ease;
  }
  .req-specs .shape:hover{background:rgba(255,255,255,.35)}
  .req-specs .shape:active{transform:scale(.96)}
  .req-specs .shape.selected{
    background:rgba(255,255,255,.55);
    border-color:var(--brown);
  }
  .req-specs .shape-label{font-size:12.5px;color:var(--brown-dark);letter-spacing:.3px}
  .req-specs .shape svg{width:64px;height:54px;display:block;pointer-events:none}
  .req-specs .shape svg :is(path,polygon,polyline,line,circle,ellipse,rect){
    fill:none;stroke:#8a6d3f;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round;
  }

  /* ---------- Grille ---------- */
  .req-specs .grid2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:34px 64px;
    margin-bottom:8px;
  }
  .req-specs .field{padding:10px 6px 18px;min-width:0}

  .req-specs .field-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:30px;
  }
  .req-specs .field-head h2{flex:1}

  .req-specs .num-input{
    width:96px;
    padding:9px 10px;
    font-size:14px;
    color:var(--ink);
    background:#fff;
    border:1px solid #b9ad95;
    border-radius:7px;
    outline:none;
    text-align:left;
    transition:border-color .15s ease,box-shadow .15s ease;
  }
  .req-specs .num-input:focus{border-color:var(--brown);box-shadow:0 0 0 3px rgba(123,92,51,.15)}

  /* ---------- Sliders ---------- */
  /* hauteur = 48px (zone tooltips) + 16px (piste) + 36px (axe gradué) */
  .req-specs .rs{position:relative;height:100px;user-select:none;touch-action:none}
  .req-specs .rs-track{
    position:absolute;
    top:48px;left:0;right:0;
    height:8px;
    border-radius:5px;
    background:var(--track);
    cursor:pointer;
  }
  .req-specs .rs-fill{
    position:absolute;
    top:0;bottom:0;
    background:var(--fill);
    border-radius:9px;
  }
  .req-specs .rs-handle{
    position:absolute;
    top:52px;               /* centre de la piste (48 + 8/2) */
    width:18px;height:18px;
    margin-left:-9px;
    margin-top:-9px;
    border-radius:50%;
    background:var(--brown);
    border:3px solid #fff;
    box-shadow:0 1px 4px rgba(0,0,0,.35);
    cursor:grab;
    z-index:3;
  }
  .req-specs .rs-handle:active{cursor:grabbing}
  /* tooltips : simple pastille arrondie, sans pointe, proche de la piste */
  .req-specs .rs-tag, .rs-endtag{
    position:absolute;
    top:15px;               /* au-dessus de la piste (qui commence à 48px) */
    left:50%;
    transform:translateX(-50%);
    font-size:11.5px;
    white-space:nowrap;
    padding:4px 9px;
    border-radius:6px;
    pointer-events:none;
  }
  .req-specs .rs-tag{
    background:var(--brown);
    color:#fff;
    z-index:4;
  }
  .req-specs .rs-endtag{
    background:var(--tag-grey);
    color:#3a3f47;
    z-index:2;
  }
  /* axe gradué */
  .req-specs .rs-axis{position:absolute;top:66px;left:0;right:0;height:34px}
  .req-specs .rs-axis .tick{
    position:absolute;top:0;width:1px;height:5px;background:#a89a80;
    transform:translateX(-.5px);
  }
  .req-specs .rs-axis .tick.major{height:8px;background:#8a7a5e}
  .req-specs .rs-axis .axis-label{
    position:absolute;top:11px;
    transform:translateX(-50%);
    font-size:11px;
    color:#8a8272;
    white-space:nowrap;
  }

  /* ---------- Selects personnalisés ---------- */
  .req-specs .selects-row{display:grid;grid-template-columns:1fr 1.3fr;gap:26px;margin-top:14px}
  .req-specs .select-wrap label{
    display:block;
    font-size:13.5px;
    color:var(--ink);
    margin-bottom:8px;
  }
  .req-specs .select{position:relative}
  .req-specs .select-btn{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    background:var(--select-bg);
    border:none;
    border-radius:6px;
    padding:13px 14px;
    font-size:14.5px;
    color:#3f372c;
    cursor:pointer;
    transition:background .15s ease;
  }
  .req-specs .select-btn:hover{background:#cbbc97}
  .req-specs .select.open .select-btn{background:#c3b18a}
  .req-specs .select-chevron{
    width:0;height:0;
    border:6px solid transparent;
    border-top-color:#3f372c;
    transition:transform .2s ease;
    margin-top:3px;
  }
  .req-specs .select.open .select-chevron{transform:rotate(180deg);margin-top:-3px}
  .req-specs .select-list{
    position:absolute;
    top:calc(100% + 6px);left:0;right:0;
    background:#fbf7ee;
    border:1px solid #c9bb9c;
    border-radius:8px;
    box-shadow:0 10px 26px rgba(80,60,30,.18);
    list-style:none;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .25s ease,opacity .2s ease;
    z-index:20;
  }
  .req-specs .select.open .select-list{max-height:260px;opacity:1;overflow-y:auto}
  /* menu ouvert vers le haut */
  .req-specs .select.dropup .select-list{top:auto;bottom:calc(100% + 6px)}
  /* menu centré sur le bouton */
  .req-specs .select.dropmid .select-list{top:50%;transform:translateY(-50%)}
  .req-specs .select-list li{
    padding:11px 14px;
    font-size:14px;
    cursor:pointer;
    transition:background .12s ease;
  }
  .req-specs .select-list li:hover{background:#efe5cd}
  .req-specs .select-list li.active{background:var(--select-bg);font-weight:600}

  /* ---------- Laboratoire ---------- */
  .req-specs .lab-btn{
    margin-top:16px;
    background:var(--brown);
    color:#fff;
    border:2px solid var(--brown);
    font-size:17px;
    letter-spacing:2px;
    padding:16px 30px;
    border-radius:9px;
    cursor:pointer;
    transition:background .18s ease,color .18s ease,transform .1s ease;
  }
  .req-specs .lab-btn:hover{background:#8a6a42}
  .req-specs .lab-btn:active{transform:scale(.97)}
  .req-specs .lab-btn.off{background:transparent;color:var(--brown)}
  .req-specs .lab-wrap{text-align:center}
  .req-specs .lab-chips{
    margin-top:16px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
  }
  .req-specs .lab-chip{
    background:transparent;
    color:var(--brown);
    border:2px solid var(--brown);
    font-size:13px;
    letter-spacing:1px;
    padding:9px 15px;
    border-radius:8px;
    cursor:pointer;
    transition:background .18s ease,color .18s ease,opacity .18s ease,transform .1s ease;
  }
  .req-specs .lab-chip:hover:not(:disabled){background:rgba(123,92,51,.12)}
  .req-specs .lab-chip:active:not(:disabled){transform:scale(.97)}
  .req-specs .lab-chip.on{background:var(--brown);color:#fff}
  .req-specs .lab-chip:disabled{
    border-color:#c2b99f;
    color:#c2b99f;
    cursor:not-allowed;
    opacity:.55;
  }

  /* ---------- Section repliable ---------- */
  .req-specs .collapsible{
    display:grid;
    grid-template-rows:1fr;
    transition:grid-template-rows .45s cubic-bezier(.4,0,.2,1),opacity .35s ease;
    opacity:1;
  }
  .req-specs .collapsible.collapsed{grid-template-rows:0fr;opacity:0}
  .req-specs .collapsible-inner{overflow:hidden;min-height:0}

  /* ---------- Bouton Moins/Plus de filtres ---------- */
  .req-specs .toggle-filters{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    margin:-12px auto 0;
    background:none;
    border:none;
    cursor:pointer;
    color:#8a7a5e;
    font-size:14px;
    padding-bottom:20px;
  }
  .req-specs .toggle-icon{
    width:20px;height:20px;
    border-radius:4px;
    background:#8a6a42;
    color:#f0e9db;
    display:flex;align-items:center;justify-content:center;
    font-size:15px;
    line-height:1;
    transition:transform .3s ease;
  }
  .req-specs .toggle-filters.collapsed .toggle-icon{transform:rotate(180deg)}
  .req-specs .toggle-filters:hover .toggle-icon{background:var(--brown)}

  @media (max-width:900px){
    .req-specs .shapes-card{grid-template-columns:repeat(5,1fr)}
    .req-specs .grid2{grid-template-columns:1fr;gap:10px}
    .req-specs .selects-row{grid-template-columns:1fr}
  }


/* ——— Modale demande : deux panneaux coulissants ——— */
.modal-card { transition: transform 0.5s var(--ease), opacity 0.4s ease, max-width 0.55s var(--ease), padding 0.55s var(--ease); }
.modal-card.specs-open { max-width: min(1060px, 96vw); }
.req-track { position: relative; overflow: hidden; transition: height 0.55s var(--ease); }
.req-pane { transition: transform 0.55s var(--ease), opacity 0.45s ease, visibility 0.55s ease; }
.req-pane--specs { position: absolute; top: 0; left: 0; width: 100%; transform: translateX(106%); opacity: 0; visibility: hidden; }
.modal-card.specs-open .req-pane--main { transform: translateX(-106%); opacity: 0; visibility: hidden; }
.modal-card.specs-open .req-pane--specs { transform: none; opacity: 1; visibility: visible; }
.req-specs-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.req-specs .panel { max-width: none; }
@media (max-width: 768px) {
  .modal-card.specs-open { padding: 28px 16px; }
  .req-specs .shapes-card { grid-template-columns: repeat(5, 1fr); }
}

/* ——— Panneau spécifications : fond identique au fichier d'origine (#f0e9db) ——— */
.req-specs { background: #f0e9db; padding: 26px 22px 44px; border-radius: 4px; }
.req-specs .shapes-card { background: #e4d8c0; }

/* ——— Modale demande : retouches slide 1/2 ——— */
.req-more {
  background: linear-gradient(135deg, #c9a45c, #b3924f) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 20px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}
.req-more:hover { filter: brightness(1.08); }
.req-more span { transition: transform 0.3s ease; }
.req-more:hover span { transform: translateX(4px); }
.modal-card { transition: transform 0.5s var(--ease), opacity 0.4s ease, max-width 0.55s var(--ease), padding 0.55s var(--ease), background-color 0.55s ease; }
.modal-card.specs-open { background: #f0e9db; }
.req-specs .lab-chip { padding: 9px 10px; }

/* ——— Modale spécifications : anti-troncature + actions ——— */
.modal-card.specs-open { width: min(1060px, 96vw); }
.req-specs h2 { font-size: 12.5px; letter-spacing: 3px; }
.req-specs .rs-track { left: 34px; right: 34px; }
.req-specs .rs-axis { left: 34px; right: 34px; }
.req-specs .grid2 { gap: 30px 48px; }
.req-specs-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.req-specs-actions .btn-solid {
  background: linear-gradient(135deg, #c9a45c, #b3924f);
  border: none; color: #fff;
  padding: 13px 30px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.req-specs-actions .btn-solid:hover { filter: brightness(1.08); }
.req-specs-actions .btn-line { padding: 13px 24px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

/* ——— Sliders : poignées alignées + marges réduites ——— */
.req-specs .rs-track { left: 0 !important; right: 0 !important; }
.req-specs .rs-axis { left: 0 !important; right: 0 !important; }
.req-specs .rs { margin-left: 30px; margin-right: 30px; }
.req-specs { padding: 18px 18px 30px; }
.req-specs .grid2 { gap: 20px 40px; }
.req-specs .field { padding: 6px 4px 12px; }
.req-specs .shapes-card { margin-bottom: 18px; }

/* ——— Blocs activables (checkbox) + Intensité ——— */
.req-specs .blk-head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.blk-toggle { position: relative; display: inline-flex; cursor: pointer; }
.blk-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.blk-box { width: 15px; height: 15px; border: 1.5px solid #8a6d3f; border-radius: 3px; background: #fdfbf6; display: inline-block; position: relative; transition: background 0.2s ease; }
.blk-toggle input:checked + .blk-box { background: #7b5c33; }
.blk-toggle input:checked + .blk-box::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.req-specs .blk-off .rs { opacity: 0.35; pointer-events: none; filter: grayscale(0.7); }
.req-specs .blk-off .blk-head h2 { opacity: 0.45; }

/* ——— Slide 2 : compacité des espacements ——— */
.req-specs .rs { margin-top: 0 !important; }
.req-specs .field label { margin-bottom: 0; }
.req-specs .field-head { margin-bottom: 0; }
.modal-card.specs-open { padding-bottom: 0; }

/* ——— Modale : scroll stable ——— */
.modal-card { overflow-anchor: none; overscroll-behavior: contain; }
.modal-card.specs-open { max-height: 96vh; }

/* ——— Hero : hauteur exacte = viewport − header (variable --header-h) ——— */
.manifesto {
  height: calc(100vh - var(--header-h, 63px));
  height: calc(100svh - var(--header-h, 63px));
  min-height: 0;
  max-height: none;
  padding-top: 0;
  padding-bottom: 0;
}

/* ——— Accroche confection sous les bagues + remontée des bagues ——— */
.cta-note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.04em;
  color: rgba(243,234,217,0.92);
  text-align: right;
  margin: 0 0 16px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.cta-note em { color: #d9bc7f; }
.cta-ring { bottom: calc(100% + 64px); }
.cta-ring--left { bottom: calc(100% + 66px); }
@media (max-width: 768px) {
  .cta-ring { bottom: calc(100% + 56px); }
  .cta-ring--left { bottom: calc(100% + 58px); }
}

/* ——— Accroche confection : lignes centrées, bagues rapprochées ——— */
.cta-note { text-align: center; margin-bottom: 16px; }
.cta-ring { bottom: calc(100% + 20px); }
.cta-ring--left { bottom: calc(100% + 22px); }
@media (max-width: 768px) {
  .cta-ring { bottom: calc(100% + 18px); }
  .cta-ring--left { bottom: calc(100% + 20px); }
}

/* ——— Centrage : accroche sur le bouton, bagues centrées en couple ——— */
.manifesto-cta { align-items: center; }
.cta-rings {
  position: absolute;
  bottom: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 22px;
  pointer-events: none;
}
.cta-rings .cta-ring,
.cta-rings .cta-ring--left { position: static; left: auto; right: auto; bottom: auto; }
@media (max-width: 768px) {
  .cta-rings { bottom: calc(100% + 18px); gap: 14px; }
}

/* ——— Bagues : dans le flux, centrées comme le texte et le bouton ——— */
.cta-rings {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  margin-bottom: 18px;
  order: -1;
}

/* ——— Gap bagues + modale de confection ——— */
.cta-rings { gap: 0; }
.creation-types { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 22px; }
.type-chip {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--ink);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.type-chip:hover { background: rgba(179,146,79,0.14); }
.type-chip.on { background: var(--gold); color: #fff; }

/* ——— Bagues : rapprochées du texte ——— */
.cta-rings { margin-bottom: 8px; }

/* ——— Pierres photo + reflet miroir (plugin) ——— */
.gem-stage { background: var(--stage-bg, #d3c6ab); }
.gem-scene { width: min(74%, 340px); display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.gem-img {
  width: 100%; height: auto; display: block;
  position: relative; z-index: 2;
  margin-bottom: var(--rf-gap, 2px);
  filter: drop-shadow(0 18px 22px rgba(22,20,15,0.3));
}
.verre-line {
  width: calc(100% * var(--rf-line-len, 1.07));
  height: var(--rf-line-h, 2px);
  opacity: var(--rf-line-op, 0.06);
  background: linear-gradient(90deg,
    transparent calc(50% - var(--rf-spread, 52%)),
    var(--rf-line-c, rgba(22,20,15,0.28)) 50%,
    transparent calc(50% + var(--rf-spread, 52%)));
  border-radius: 2px;
  position: relative;
  z-index: 3;
}
.gem-reflet-wrap {
  width: 100%; overflow: hidden; line-height: 0;
  margin-top: var(--rf-gap, 2px);
  transform: scaleY(var(--rf-squash, 0.66)) translateX(+10px);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 25%, transparent 100%);
}
.gem-reflet {
  width: 100%; height: auto; display: block;
  transform: scaleY(-1);
  opacity: var(--rf-opacity, 0.45);
  filter: blur(var(--rf-blur, 0px)) brightness(var(--rf-bright, 1.2));
}
.req-gem img { width: 100%; height: auto; display: block; }
/* ——— Scène pierre : surface fixe, visuel entier (anti-troncature) ——— */
.gem-scene { display: block; width: min(74%, 340px); max-width: 100%; min-width: 0; }
.gem-img { display: block; width: 100%; max-width: 100%; height: auto; min-width: 0; }
.gem-reflet-wrap { display: block; max-width: 100%; }
.gem-reflet { display: block; width: 100%; max-width: 100%; height: auto; }
.verre-line { margin-left: auto; margin-right: auto; }

/* ——— FIX TRONCATURE : neutralise l'ancienne règle .piece-fig img ——— */
.piece-fig img.gem-img,
.piece-fig img.gem-reflet {
  aspect-ratio: auto !important;
  object-fit: contain !important;
  transition: none !important;
}
.piece-fig img.gem-img { transform: none !important; }
.piece-fig img.gem-reflet { transform: rotate(180deg) !important; }
.piece:hover .piece-fig img.gem-img { transform: none !important; }
.piece:hover .piece-fig img.gem-reflet { transform: rotate(180deg) !important; }

.footer-word {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-word img {
    max-width: 48%;
    height: auto;
    height: 100px;
    object-fit: contain;
}

/* Petit écran */
@media (max-width: 600px) {
    .footer-word {
        flex-direction: column;
    }

    .footer-word img {
      height: 50px;
        max-width: 100%;
    }
}

/* ——— Hero : titre « De la pierre brute au joyau » descendu juste au-dessus du texte de la mine ——— */
.manifesto {
  justify-content: space-between;
  padding-top: 9vh;
  padding-bottom: 7vh;
}
.manifesto-lead-col { display: flex; flex-direction: column; }
.manifesto-lead-col h1 { margin: 0 0 3.5vh; }
@media (max-width: 767px) {
  .manifesto { padding-top: 0; padding-bottom: 0; }
  .manifesto-foot { margin-top: 0; }
  .manifesto-lead-col h1 { margin-bottom: 5vh; }
  .label-caps {    display: flex;
    flex-direction: column;
    align-items: start;
    width: min-content;}
}

/* ——— Logo WENGER Mines : à gauche, à côté des bagues et du bouton ——— */
.cta-logo {
  position: absolute;
  right: calc(100% - 30px);
  top: calc(50% - 23px);
  transform: translateY(-50%);
  width: clamp(82px, 8.7vw, 95px);
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  opacity: 0;
  animation: cta-logo-in 1.2s ease 1.4s forwards; /* apparition au chargement, indépendante de la vidéo */
}
@keyframes cta-logo-in {
  from { opacity: 0; transform: translateY(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateY(-50%) translateY(0); }
}
@media (max-width: 768px) {
  .cta-logo { display: none; }
}

/* ——— Logo WENGER Mines : au-dessus du titre « Sur Demande » (bande déployée) ——— */
.strip-title { position: relative; }
.strip-logo { 
  display: none; 
}

.strip-logo-little {
    display: block;
    opacity: 1;
    width: 50px;
    position: absolute;
    top: 76%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

@media (min-width: 861px) {
  body.strip-full .strip-logo-little {
    display: none; 
  }
  body.strip-full .strip-logo {
    display: block;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    width: 70px;
    height: auto;
    filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.5));
    pointer-events: none;
  }
}


/* ——— Footer : nom + adresse (fictifs) centrés entre les deux logos, logos réduits de moitié ——— */
.footer-word {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.footer-word .img-logo-left { justify-self: start; }
.footer-word .img-logo-right { justify-self: end; }
.footer-word img { height: 50px; max-width: 100%; }
.footer-addr {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  font-family: var(--sans); font-weight: 400;
  font-size: 10px; line-height: 1.6;
  text-transform: none; letter-spacing: 0;
}
.footer-addr b {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 18px; letter-spacing: 0.05em;
  color: #f0d9a8;
}
.footer-addr span {
  font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.26em;
  color: rgba(251, 249, 245, 0.55);
}
@media (max-width: 600px) {
  .footer-word { grid-template-columns: 1fr; justify-items: center; gap: 26px; }
  .footer-word .img-logo-left,
  .footer-word .img-logo-right { justify-self: center; }
  .footer-word img { height: 36px; }
}

/* ——— Familles : cartes éditoriales pleine image, une pierre par catégorie ——— */
.familles-grid { border-top: none; gap: 22px; }
.famille {
  position: relative;
  display: block;
  padding: 0;
  border-bottom: none;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
}
.famille:hover { background: var(--ink); padding-left: 0; }
.famille-photo { position: absolute; inset: 0; }
.famille-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease);
}
.famille:hover .famille-photo img { transform: scale(1.05); }
.famille-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0) 36%, rgba(10, 8, 6, 0.52) 62%, rgba(10, 8, 6, 0.88) 100%);
}
.famille-cat {
  display: inline-flex; align-items: baseline; gap: 9px;
  font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em;
  color: #f0d9a8; margin-bottom: 10px;
}
.famille-cat i {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 14px; letter-spacing: 0; text-transform: none;
}
.famille-name {
  color: #fdf8ee;
  font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12;
  max-width: 16ch;
}
.famille:hover .famille-name { color: #f0d9a8; }
.famille-go { margin-top: 12px; color: rgba(253, 248, 238, 0.75); }
.famille:hover .famille-go { color: #f0d9a8; }
.famille-gem {
  position: absolute; z-index: 3;
  bottom: 18px; right: 18px;
  width: clamp(46px, 4.2vw, 80px); height: clamp(46px, 4.2vw, 80px); border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(240, 217, 168, 0.85);
  padding: 3px;
  background: rgba(10, 8, 6, 0.35);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.6s var(--ease);
}
.famille-gem img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; display: block;
  transform: scale(1.7); /* zoom : la pierre remplit le médaillon */
}
.famille:hover .famille-gem { transform: translateY(-4px) rotate(6deg); }
@media (min-width: 700px) and (max-width: 1099px) {
  .familles-grid { grid-template-columns: 1fr 1fr; }
  .famille:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
}

/* ——— Retour en haut : bouton flottant avec anneau de progression ——— */
.scrolltop {
  position: fixed; z-index: 90;
  left: 22px; bottom: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: var(--ink); color: #f0d9a8;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(16px) scale(0.8);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
              visibility 0s linear 0.45s, background 0.3s ease;
  box-shadow: 0 12px 28px -10px rgba(10, 8, 6, 0.55);
}
.scrolltop.on {
  opacity: 1; visibility: visible; transform: none;
  transition-delay: 0s;
}
.scrolltop:hover { background: #2a2419; }
.scrolltop:active { transform: scale(0.92); }
.scrolltop-arrow { width: 17px; height: 17px; }
.scrolltop-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.scrolltop-ring circle { fill: none; stroke-width: 2; }
.scrolltop-ring-bg { stroke: rgba(240, 217, 168, 0.22); }
.scrolltop-ring-fg {
  stroke: #f0d9a8; stroke-linecap: round;
  stroke-dasharray: 119.4; stroke-dashoffset: 119.4;
  transition: stroke-dashoffset 0.12s linear;
}
@media (max-width: 860px) {
  .scrolltop { left: 14px; bottom: calc(12vh + 14px); width: 42px; height: 42px; }
}

/* ============================================================
   Toasts de réponse serveur (succès / erreur / avertissement)
   ============================================================ */
.toasts {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(92vw, 480px);
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-left-width: 3px;
  box-shadow: 0 12px 32px rgba(22, 20, 15, 0.18);
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-icon {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin-top: 1px;
}
.toast-msg {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: #16130e;
}
.toast-close {
  flex: none;
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 18px;
  line-height: 1;
  color: var(--stone);
  cursor: pointer;
  transition: color 0.2s;
}
.toast-close:hover { color: #16130e; }
.toast--success { border-left-color: #2b6e4a; }
.toast--success .toast-icon { background: #2b6e4a; color: #fff; }
.toast--error { border-left-color: #a4262c; }
.toast--error .toast-icon { background: #a4262c; color: #fff; }
.toast--warning { border-left-color: #c77700; }
.toast--warning .toast-icon { background: #c77700; color: #fff; }

/* Champ honeypot : invisible pour les humains, visible pour les robots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Résumé des spécifications confirmées (panneau principal de la modale) */
.req-specs-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: rgba(179, 146, 79, 0.06);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.6;
  color: #16130e;
}
.req-specs-summary .req-specs-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  border-radius: 50%;
  background: #2b6e4a;
  color: #fff;
  font-size: 10px;
  vertical-align: -2px;
}
.req-specs-edit {
  background: none;
  border: 0;
  padding: 0 0 0 6px;
  font: inherit;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.req-specs-edit:hover { color: #16130e; }

/* Bouton de formulaire en cours d'envoi */
form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ============================================================
   Pages légales (mentions légales / confidentialité)
   ============================================================ */
.legal-page { background: var(--paper); }
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 10vh 24px 12vh;
  font-family: var(--sans);
  color: var(--ink);
}
.legal-back {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.25s;
}
.legal-back:hover { color: var(--gold); }
.legal-wrap h1.display { font-size: clamp(34px, 6vw, 52px); margin: 14px 0 48px; }
.legal-wrap h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 40px 0 12px;
}
.legal-wrap p, .legal-wrap li { font-size: 14.5px; line-height: 1.8; color: #3a352c; }
.legal-wrap ul { padding-left: 20px; margin: 8px 0; }
.legal-wrap a { color: var(--gold); }
.legal-updated {
  margin-top: 56px;
  font-size: 12px !important;
  color: var(--stone) !important;
  letter-spacing: 0.06em;
}

/* ——— Responsive : panneau spécifications sur petits écrans ——— */
@media (max-width: 768px) {
  .req-specs { padding: 22px 12px 36px; }
  .req-specs .shape svg { width: 46px; height: 40px; }
  .req-specs .shape-label { font-size: 10.5px; letter-spacing: 0; }
  .req-specs-head { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 480px) {
  .req-specs .shapes-card { grid-template-columns: repeat(4, 1fr); }
  .req-specs .shape svg { width: 40px; height: 36px; }
}

/* ——— Responsive : éviter que le sur-titre des modales passe sous le bouton fermer ——— */
@media (max-width: 768px) {
  .modal-card > .label-caps { padding-right: 44px; }
}

/* ——— Responsive : panneau collection sur petits écrans ——— */
@media (max-width: 640px) {
  /* En-tête de la collection allégé */
  .collection-top { padding: 14px 16px; gap: 10px; }
  .collection-top img { height: 38px !important; padding-right: 0; }
  .collection-top .label-caps { margin-top: 0 !important; font-size: 8px; letter-spacing: 0.18em; text-align: center; }
  .collection-close { gap: 8px; font-size: 0; }
  .collection-close .x { width: 34px; height: 34px; font-size: 14px; }
  .collection-bottom { gap: 14px; padding: 14px 16px; }
  .rail-counter { letter-spacing: 0.18em; }
}

/* ——— Responsive : dégager le bas de page du strip fixe (12vh) ——— */
@media (max-width: 860px) {
  .main-col { padding-bottom: 13vh; }
}

/* ——— Mobile uniquement : collection, pagination, scène pierre ——— */
@media (max-width: 767px) {
  /* Hero : colonne titre + texte masquée sur mobile */
  .manifesto-lead-col { display: none; }
  /* Hero mobile : label en haut, bloc CTA en bas, au-dessus du strip (12vh) */
  .manifesto { justify-content: end;  padding-top: 26px; padding-bottom: calc(12vh + 28px); }
  /* Cartes catégorie : entièrement masquées sur mobile (ni texte ni vidéo) */
  .rail-cat { display: none; }
  /* Barre du bas : flèches + compteur uniquement */
  .rail-track { display: none; }
  .collection-bottom { justify-content: space-between; }
  /* Pagination savoir-faire sur une seule ligne */
  .sf-pagination { flex-direction: row; gap: 14px; margin-top: 0; }
  .sf-page { padding: 10px 0 0; border-top-width: 3px; }
  .sf-page-title { font-size: 13px; }
}

/* ============================================================
   Sélecteur de langue (navigation)
   ============================================================ */
.lang-switch { position: relative; display: flex; align-items: center; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 14px;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  color: var(--stone); font-family: inherit; font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.lang-btn::after {
  content: ''; width: 5px; height: 5px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.3s;
}
.lang-btn:hover { color: var(--gold); border-color: var(--gold); }
.lang-switch.open .lang-btn::after, .lang-switch:hover .lang-btn::after { transform: rotate(225deg) translateY(-1px); }
.lang-list {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 30;
  min-width: 150px; margin: 0; padding: 8px 0; list-style: none;
  background: #fffdf9; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(22, 19, 14, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.lang-switch:hover .lang-list, .lang-switch.open .lang-list,
.lang-switch:focus-within .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a {
  display: block; padding: 9px 18px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
}
.lang-list a:hover { background: rgba(211, 198, 171, 0.12); }
.lang-list a.on { color: var(--gold); }

/* Mobile : la liste est visible directement dans le menu burger */
@media (max-width: 767px) {
  .lang-switch { flex-direction: column; }
  .lang-btn { display: none; }
  .lang-list {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px;
    padding: 0; background: none; border: 0; box-shadow: none;
  }
  .lang-list a { padding: 6px 2px; font-size: 12px; letter-spacing: 0.2em; }
}

.end-video-title-desktop {
  display: flex;
  flex-direction: column;
}
/* ——— Les Associés ——— */
.associes { border-bottom: 1px solid var(--line); padding: 10vh 32px 12vh; }
@media (min-width: 768px) { .associes { padding: 12vh 5vw 13vh; } }
.associes-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 7vh; }
.associes-head h2 { font-size: clamp(34px, 4.4vw, 58px); max-width: 20ch; }
.associes-grid { display: grid; grid-template-columns: 1fr; gap: 64px 40px; }
@media (min-width: 820px) { .associes-grid { grid-template-columns: 1fr 1fr; } }
.associe { display: flex; flex-direction: column; align-items: flex-start; }
.associe-photo {
  position: relative; width: 100%;
  padding: 10px; border: 1px solid var(--line); background: #fff;
}
.associe-photo img {
  width: 100%; aspect-ratio: 500 / 333; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.associe:hover .associe-photo img { transform: scale(1.04); }
.associe-role { margin-top: 26px; }
.associe-name { font-size: clamp(28px, 2.6vw, 40px); margin-top: 12px; }
.associe .hairline { margin-top: 16px; }
.associe-bio {
  margin-top: 16px; font-size: 14px; line-height: 1.8;
  color: var(--stone); max-width: 48ch;
}

/* ——— Label manifesto : une ligne au chargement, deux lignes en fin de vidéo (desktop) ——— */
@media (min-width: 900px) {
  .hero-labels .hl-sep {
    display: inline-block;
    transition: opacity 0.5s var(--ease), width 0.6s var(--ease);
  }
  .hero-labels .hl-line-1,
  .hero-labels .hl-line-2 { will-change: transform; }
  .hero-labels.is-stacked .hl-line-1,
  .hero-labels.is-stacked .hl-line-2 { display: block; }
  .hero-labels.is-stacked .hl-sep { opacity: 0; width: 0; }
}

/* ===== LA MINE ===== */
.mine-block { border-bottom: 1px solid var(--line); }
.mine-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .mine-row { grid-template-columns: 1fr 1fr; } }
.mine-media { position: relative; margin: 0; overflow: hidden; }
.mine-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #16130e; }
.mine-shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none;
  transform: scale(1.05);
  transition: opacity 3s ease, transform 3s ease;
}
.mine-media.ended .mine-shot--b { opacity: 1; transform: none; }
.mine-shot--c { transition: opacity 1.4s ease; }
.mine-media.ended-c .mine-shot--c { opacity: 1; }
.mine-play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(251,249,245,0.75);
  background: rgba(22,20,15,0.45); color: var(--paper);
  cursor: pointer; backdrop-filter: blur(2px);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.6s ease;
}
.mine-play svg { width: 26px; height: 26px; display: block; }
.mine-play:hover { background: var(--gold); transform: scale(1.08); }
.mine-media.playing .mine-play,
.mine-media.ended:not(.can-replay) .mine-play { opacity: 0; pointer-events: none; }
.mine-text { padding: 56px 32px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) { .mine-text { padding: 9vh 5vw; } }
.mine-label { font-size: clamp(15px, 1.35vw, 21px); margin-bottom: clamp(30px, 4.5vw, 78px); }
.mine-text .lead { max-width: 52ch; }
.mine-note { margin-top: 26px; display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--stone); }
