/*
Theme Name: Provence Gemmologie
Theme URI: https://www.provence-gemmologie.fr/
Author: Florent Hernandez
Description: Thème sur mesure de Provence Gemmologie : gemmologue, lapidaire et négoce de pierres près d'Avignon.
Version: 1.1.18
Requires at least: 6.4
Requires PHP: 7.4
License: All rights reserved
Text Domain: provence-gemmologie
*/

:root {
  /* Couleurs du logo : bleu nuit, bleu acier, gris argent. Papier froid pour les sections claires.
     Mise en page : rail bleu nuit fixe à gauche, compositions asymétriques, étiquettes de collection en mono. */
  --night: #0b1631;
  --night-2: #13214a;
  --steel: #a8b6cb;
  --steel-ink: #556a8c;
  --silver: #dedfe2;
  --paper: #f4f4f2;
  --ink: #111a33;
  --muted: #5e6679;
  --line: #d9dbe0;
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --rail: 240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 1.5px solid var(--steel-ink); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(3.2rem, 7.4vw, 6.8rem); font-weight: 300; }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 300; }
h3 { font-size: 1.75rem; font-weight: 500; }
em { font-style: italic; color: var(--steel-ink); }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* Le trait du logo, repris devant les intitulés */
.kicker { display: inline-flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Logo ---------- */
.wm { display: grid; justify-items: center; gap: 0; text-decoration: none; }
/* Proportions calées sur le logo : interligne serré, Provence légèrement plus petit */
.wm .p { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 1.34rem; line-height: 1; color: var(--steel); letter-spacing: .03em; }
.wm .p::before, .wm .p::after { content: ""; width: 13px; height: 1px; background: var(--steel); }
.wm .g { font-family: var(--display); font-weight: 500; font-size: 1.42rem; line-height: 1; letter-spacing: .065em; color: var(--silver); padding-left: .065em; margin-top: 2px; }

/* ---------- Rail ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); padding: 40px 26px 30px;
  background: var(--night); color: var(--silver); display: flex; flex-direction: column; gap: 46px; z-index: 20;
}
.index { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.index a {
  display: grid; grid-template-columns: 30px 1fr; align-items: baseline; padding: 7px 0;
  text-decoration: none; font-size: .95rem; color: rgba(222,223,226,.55); transition: color .3s var(--ease);
}
.index a span { font-family: var(--mono); font-size: .68rem; }
.index a::after { content: ""; grid-column: 2; height: 1px; background: var(--steel); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); margin-top: 5px; }
.index a.on, .index a:hover { color: var(--silver); }
.index a.on::after { transform: scaleX(1); }
.rail-foot { margin-top: auto; display: grid; gap: 16px; }
.rail-foot .mono { color: rgba(222,223,226,.5); line-height: 1.7; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border: 1px solid rgba(168,182,203,.35); border-radius: 50%; display: grid; place-items: center; color: var(--silver); transition: border-color .3s, background .3s; }
.socials a:hover { border-color: var(--steel); background: var(--night-2); }
.socials svg { width: 15px; height: 15px; }

main { margin-left: var(--rail); }
.pad { padding-inline: clamp(24px, 5vw, 84px); }
section { position: relative; padding-block: clamp(60px, 7.5vw, 104px); }
section + section { border-top: 1px solid var(--line); }
.dark { background: var(--night); color: var(--silver); border-top: none !important; }
.dark h2, .dark h3 { color: #fff; }
.dark em { color: var(--steel); }
.dark .mono { color: var(--steel); }
.dark + section { border-top: none; }

/* ---------- Photos ---------- */
.ph { position: relative; overflow: hidden; margin: 0; background: var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.08); transition: transform .12s linear; }
.ph figcaption {
  position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: rgba(244,244,242,.9); padding: 4px 8px;
}

/* Étiquette de collection */
.label { background: #fbfbfa; color: var(--ink); border: 1px solid var(--ink); padding: 14px 16px; font-family: var(--mono); font-size: .7rem; line-height: 1.55; letter-spacing: .03em; display: grid; gap: 2px; }
.label .k { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; }
.label strong { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: 0; margin-bottom: 6px; line-height: 1.1; }
.label .grid { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
.hero-text { grid-column: 1 / 7; padding-bottom: 60px; }
.hero h1.mono { font-family: var(--mono); font-size: .72rem; font-weight: 400; line-height: 1.65; letter-spacing: .1em; }
.display { font-family: var(--display); font-weight: 300; line-height: 1.02; font-size: clamp(3rem, 5.6vw, 6rem); letter-spacing: -.005em; margin-top: 28px; }
.display span { display: block; white-space: nowrap; }
.hero .lead { max-width: 40ch; margin-top: 32px; font-size: 1.15rem; color: var(--muted); }
.hero-photo { grid-column: 7 / 13; position: relative; max-width: 470px; justify-self: end; width: 100%; }
.hero-photo .ph.main { aspect-ratio: 5 / 6; }
.hero-photo .ph.main img { object-position: 50% 30%; filter: grayscale(1); } /* TEST N&B : retirer filter pour remettre en couleur */
.hero-photo .ph.inset { position: absolute; z-index: 2; right: -40px; bottom: -40px; width: 30%; aspect-ratio: 1; border: 8px solid #fff; box-shadow: 0 22px 44px -24px rgba(11,22,49,.6); }
.hero-photo .ph.inset img { transform: none; }
.hero-photo .label { position: absolute; z-index: 3; left: -72px; bottom: -48px; width: 236px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes stone-in { to { opacity: 1; transform: none; } }
/* Points de suspension : les 3 pierres du logo, du brut au facetté */
.ellip { display: inline-flex !important; align-items: flex-end; gap: .07em; margin-left: .08em; white-space: nowrap; }
.ellip img { width: .27em; height: .25em; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(11,22,49,.3)); opacity: 0; transform: translateY(-.15em); animation: stone-in .7s var(--ease) forwards; animation-delay: .6s; }
.ellip img:nth-child(2) { animation-delay: .9s; } .ellip img:nth-child(3) { animation-delay: 1.2s; }
.cta { display: flex; gap: 26px; margin-top: 40px; align-items: center; flex-wrap: wrap; }
.btn { font: 500 .95rem var(--body); padding: 15px 26px; background: var(--night); color: var(--silver); border: none; text-decoration: none; cursor: pointer; transition: background .4s var(--ease); }
.btn:hover { background: var(--night-2); }
.btn.light { background: var(--silver); color: var(--night); }
.btn.light:hover { background: #fff; }
.link-arrow { white-space: nowrap; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--steel-ink); }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Intros ---------- */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px 24px; margin-bottom: clamp(44px, 5vw, 68px); }
.intro .mono { grid-column: 1 / 4; padding-top: 16px; }
.intro h2 { grid-column: 4 / 12; }
.intro p.sub { grid-column: 4 / 10; color: var(--muted); max-width: 56ch; }
.dark .intro p.sub { color: rgba(222,223,226,.7); }

/* ---------- Parcours ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px; }
.journey .wave { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.journey .wave.front { z-index: 2; }
.journey .wave path { fill: none; stroke-linecap: butt; stroke-dasharray: 3 6; animation: flow 20s linear infinite; }
.journey .wave path.w { stroke: var(--steel-ink); stroke-width: 1; }
.journey .wave path.halo { stroke: var(--paper); stroke-width: 3; opacity: .6; }
.step .ph { z-index: 1; }
.journey .track i { position: absolute; inset: 0; background: var(--steel-ink); transform-origin: left; transform: scaleX(var(--p, .06)); }
.step { position: relative; padding-top: 0; display: grid; gap: 14px; align-content: start; }
.step:nth-child(odd) { margin-top: 72px; }
.step .ph { aspect-ratio: 4 / 5; }
.step .roman { font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--steel-ink); }
.step p { color: var(--muted); font-size: .96rem; }
.step .svc { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 12px; }
.pro { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: baseline; }
.pro .mono { grid-column: 1 / 4; }
.pro p:last-child { grid-column: 4 / 11; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; font-weight: 300; }

/* ---------- Qui je suis ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.collage { grid-column: 1 / 7; position: relative; height: 680px; }
.collage .ph { position: absolute; border: 8px solid #fff; box-shadow: 0 22px 44px -26px rgba(11,22,49,.55); transition: transform .9s var(--ease); }
.collage .ph img { transform: none; }
.collage .c1 { width: 58%; height: 66%; left: 0; top: 0; transform: rotate(-2deg); z-index: 2; }
.collage .c2 { width: 46%; height: 50%; right: 0; top: 8%; transform: rotate(2.4deg); }
.collage .c3 { width: 48%; height: 42%; left: 30%; bottom: 0; transform: rotate(-.6deg); z-index: 3; }
.collage:hover .c1 { transform: rotate(-2.8deg) translate(-6px,-4px); }
.collage:hover .c2 { transform: rotate(3.2deg) translate(6px,-4px); }
.collage:hover .c3 { transform: rotate(0deg) translateY(6px); }
.collage .c-label { position: absolute; z-index: 4; right: -18px; top: 54%; width: 250px; transform: rotate(1deg); }
.about-text { grid-column: 8 / 13; display: grid; gap: 22px; }
.about-text p { max-width: 50ch; }
blockquote { margin: 8px 0 0; padding-left: 22px; border-left: 1px solid var(--steel-ink); font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.6rem; line-height: 1.3; }

/* ---------- Sourcing ---------- */
.sourcing { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.side { padding: 0 clamp(16px, 3vw, 48px); display: grid; gap: 22px; align-content: start; }
.side:first-child { padding-left: 0; border-right: 1px solid var(--line); }
.side:last-child { padding-right: 0; }
.side .big { font-family: var(--display); font-weight: 300; font-size: clamp(4.4rem, 9vw, 8.4rem); line-height: .85; letter-spacing: -.02em; }
.side:last-child .big { font-style: italic; color: var(--steel-ink); }
.side p { max-width: 46ch; color: var(--muted); }
.side p strong { color: var(--ink); font-weight: 600; }
.thumbs { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; margin-top: 8px; }
.thumbs .ph:first-child { grid-row: span 2; aspect-ratio: auto; }
.thumbs .ph { aspect-ratio: 4 / 5; }
.arc { position: absolute; left: 25%; right: 25%; top: -46px; height: 80px; pointer-events: none; }
.arc path { fill: none; stroke: var(--steel-ink); stroke-width: 1; stroke-dasharray: 3 6; animation: flow 20s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -180; } }
.world { list-style: none; padding: 0; margin: 0; }
.world li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.world li span:last-child { font-family: var(--mono); font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; align-self: center; }

/* ---------- Taille ---------- */
.atelier { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 12px; }
.atelier .a1 { grid-column: 1 / 7; grid-row: span 5; }
.atelier .a2 { grid-column: 7 / 10; grid-row: span 3; }
.atelier .a3 { grid-column: 10 / 13; grid-row: span 3; }
.atelier .a4 { grid-column: 7 / 13; grid-row: span 2; display: grid; align-content: center; padding: 0 8px 0 4px; }
.atelier .a4 p { font-family: var(--display); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 300; }
.atelier .a5 { grid-column: 1 / 5; grid-row: span 3; }
.atelier .a6 { grid-column: 5 / 13; grid-row: span 3; }

/* Progression brut, préforme, facetté (pierres du logo d'origine) */
.progression { list-style: none; margin: -24px 0 clamp(48px, 6vw, 80px); padding: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.progression li { display: grid; justify-items: center; gap: 12px; }
.progression li .mono { white-space: nowrap; }
.progression img { width: 88px; height: 80px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(11,22,49,.25)); transition: transform .6s var(--ease); }
.progression li:hover img { transform: translateY(-4px) rotate(-4deg); }
.progression .dots { width: clamp(60px, 10vw, 140px); align-self: center; margin-bottom: 30px; }
.progression .dots svg { width: 100%; height: 20px; overflow: visible; }
.progression .dots path { fill: none; stroke: var(--steel-ink); stroke-width: 1.4; stroke-dasharray: 5 5; animation: flow 16s linear infinite; }

/* ---------- Analyse (fond nuit) ---------- */
.lab { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.lab-left { grid-column: 1 / 7; display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.lab-left .ph { aspect-ratio: 4 / 5; }
.lab-left .l1 { grid-row: span 2; aspect-ratio: auto; }

.tools { grid-column: 1 / -1; list-style: none; padding: 0; margin: 22px 0 0; }
.tools li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(168,182,203,.22); cursor: default; transition: padding .4s var(--ease), color .3s; }
.tools li span:last-child { font-family: var(--mono); font-size: .68rem; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.tools li:hover, .tools li.on { color: #fff; }
.tools li.on { border-bottom-color: var(--steel); }
.tools li.on span:last-child { color: #fff; }
.report { grid-column: 8 / 13; position: sticky; top: 40px; }
.report .label { padding: 26px 26px 22px; gap: 0; font-size: .74rem; border-color: var(--steel); }
.report .head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 12px; }
.report .rowr { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; padding: 9px 6px; margin: 0 -6px; border-bottom: 1px dotted var(--line); transition: background .4s var(--ease); }
.report .rowr.on { background: #e5eaf2; }
.report .concl { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.35rem; letter-spacing: 0; line-height: 1.25; }
.report .note { margin-top: 10px; color: var(--muted); font-size: .66rem; }

/* ---------- Pierres ---------- */
.stones-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 22px; scrollbar-width: thin; scrollbar-color: var(--steel) transparent; cursor: grab; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.stone { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; }
.stone .ph { aspect-ratio: 4 / 5; }
.stone .ph img { transform: scale(1.02); transition: transform 1.4s var(--ease); }
.stone:hover .ph img { transform: scale(1.08); }
.stone .label { border-top: none; align-content: start; }
.soon-band { margin-top: 80px; background: var(--night); color: var(--silver); padding: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.soon-band .mono { grid-column: 1 / 4; color: var(--steel); padding-top: 6px; }
.soon-band ul { grid-column: 4 / 13; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.soon-band li { display: grid; gap: 6px; border-top: 1px solid rgba(168,182,203,.3); padding-top: 16px; }
.soon-band li b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; color: #fff; }
.soon-band li span { color: rgba(222,223,226,.7); font-size: .94rem; }

/* ---------- Questions ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); }
.faq details { grid-column: 4 / 12; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 400; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg) translateY(-4px); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover h3 { color: var(--steel-ink); }
.faq details p { color: var(--muted); max-width: 64ch; padding: 0 0 26px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact-left { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.contact-left p { color: var(--muted); max-width: 44ch; }
.contact form { grid-column: 7 / 13; display: grid; gap: 26px; }
.f { display: grid; gap: 4px; }
.f label, .chips legend { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.f input, .f textarea { font: 400 1.05rem var(--body); color: var(--ink); background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 8px 0 10px; border-radius: 0; width: 100%; transition: border-color .3s; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--night); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: none; padding: 0; margin: 0; }
.chips legend { margin-bottom: 10px; padding: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { font-size: .9rem; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .3s var(--ease); }
.chips label:hover { border-color: var(--steel-ink); }
.chips input:checked + label { background: var(--night); color: var(--silver); border-color: var(--night); }
.chips input:focus-visible + label { outline: 1.5px solid var(--steel-ink); outline-offset: 3px; }
.contact-left .direct { color: var(--ink); }
.contact-left .direct a { color: var(--steel-ink); font-weight: 600; white-space: nowrap; }
.rgpd { font-size: .8rem; color: var(--muted); margin: -12px 0 0; }
.rgpd a { color: inherit; }
.status { font-size: .92rem; color: var(--steel-ink); min-height: 1.4em; }

footer { margin-left: var(--rail); background: var(--night); color: rgba(222,223,226,.6); padding: 28px clamp(24px, 5vw, 84px) 36px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

/* ---------- Responsive ---------- */
/* Éléments réservés au mobile, masqués sur grand écran */
.burger, .progress, .menu-extra, .fab, .swipe-hint { display: none; }
.swipe-hint { margin: 0 0 14px; }

@media (max-width: 1100px) {
  :root { --rail: 0px; --bar: 64px; }
  html { scroll-padding-top: var(--bar); }
  .rail {
    position: sticky; top: 0; width: auto; height: var(--bar); flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 10px 0 20px; gap: 16px; transition: top .35s var(--ease);
  }
  .rail.hide { top: calc(-1 * var(--bar) - 4px); }
  .wm { justify-items: start; position: relative; z-index: 3; }
  .wm .p { font-size: 1rem; } .wm .g { font-size: 1.06rem; margin-top: 1px; }
  .rail-foot { display: none; }

  /* Bouton menu */
  .burger { display: grid; place-items: center; position: relative; z-index: 3; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 0; }
  .burger i { position: absolute; width: 24px; height: 1.5px; background: var(--silver); transition: transform .45s var(--ease); }
  .burger i:first-child { transform: translateY(-4px); }
  .burger i:last-child { transform: translateY(4px); width: 16px; margin-left: 8px; }
  .menu-open .burger i:first-child { transform: rotate(45deg); }
  .menu-open .burger i:last-child { transform: rotate(-45deg); width: 24px; margin-left: 0; }

  /* Fil de lecture sous la barre (rappel du rail) */
  .progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(168,182,203,.18); }
  .progress i { position: absolute; inset: 0; background: var(--steel); transform-origin: left; transform: scaleX(var(--read, 0)); }

  /* Menu plein écran */
  .menu {
    position: fixed; inset: 0; z-index: 2; background: var(--night); padding: calc(var(--bar) + 28px) 28px calc(28px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .menu .index { display: grid; gap: 0; }
  .menu .index li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu-open .menu .index li { opacity: 1; transform: none; }
  .menu-open .menu .index li:nth-child(2) { transition-delay: .03s; } .menu-open .menu .index li:nth-child(3) { transition-delay: .06s; }
  .menu-open .menu .index li:nth-child(4) { transition-delay: .09s; } .menu-open .menu .index li:nth-child(5) { transition-delay: .12s; }
  .menu-open .menu .index li:nth-child(6) { transition-delay: .15s; } .menu-open .menu .index li:nth-child(7) { transition-delay: .18s; }
  .menu-open .menu .index li:nth-child(8) { transition-delay: .21s; } .menu-open .menu .index li:nth-child(9) { transition-delay: .24s; }
  .menu .index a { grid-template-columns: 38px 1fr; padding: 9px 0; font-family: var(--display); font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.15; border-bottom: 1px solid rgba(168,182,203,.14); }
  .menu .index a::after { display: none; }
  .menu .index a span { font-family: var(--mono); font-size: .7rem; color: var(--steel); }
  .menu-extra { display: grid; gap: 20px; margin-top: auto; }
  .menu-extra .btn { text-align: center; }
  .menu-extra .mono { color: rgba(222,223,226,.5); }
  body.menu-open { overflow: hidden; }

  /* Bouton contact flottant */
  .fab {
    display: block; position: fixed; z-index: 15; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    background: var(--night); color: var(--silver); text-decoration: none; font: 500 .95rem var(--body);
    padding: 14px 22px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(168,182,203,.45), 0 10px 30px -10px rgba(11,22,49,.6);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .fab.show { transform: none; }
  .menu-open .fab { transform: translateY(140%); }

  .hero-text { grid-column: 1 / 13; padding-bottom: 40px; }
  .hero-photo { grid-column: 3 / 13; }
  .hero-photo .label { left: -40px; }
}
@media (max-width: 860px) {
  .intro .mono, .intro h2, .intro p.sub, .pro .mono, .pro p:last-child, .soon-band .mono, .soon-band ul,
  .collage, .about-text, .lab-left, .report, .contact-left, .contact form, .faq details { grid-column: 1 / -1; }
  .journey { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .journey .track { display: none; }
  .step, .step:nth-child(odd) { margin-top: 0; padding-top: 0; }
  .step::before { display: none; }
  .sourcing { grid-template-columns: 1fr; gap: 64px; }
  .side, .side:first-child, .side:last-child { padding: 0; border-right: none; }
  .arc { display: none; }
  .collage { height: 520px; }
  .report { position: static; }
  .soon-band ul { grid-template-columns: 1fr; }
  .hero-photo { grid-column: 1 / 13; }
  .hero-photo .label { position: relative; left: 0; bottom: 0; margin: -22px 0 0 12px; width: 58%; }
  .hero-photo .ph.inset { right: -6px; bottom: auto; top: calc((100vw - 48px) * .52); width: 32%; border-width: 5px; }
        .hero-photo .label { position: relative; top: auto; bottom: auto; left: 0; margin: -22px 0 0 12px; width: 58%; }
  .hero-photo .ph.main { aspect-ratio: 4 / 3; }
  .collage .c-label { right: 0; top: auto; bottom: -24px; width: 220px; }
  .atelier { grid-auto-rows: 90px; }
  .atelier .a1 { grid-column: 1 / 13; grid-row: span 5; }
  .atelier .a2, .atelier .a3 { grid-column: span 6; }
  .atelier .a4 { grid-column: 1 / 13; grid-row: span 2; }
  .atelier .a5 { grid-column: 1 / 6; } .atelier .a6 { grid-column: 6 / 13; }
}
@media (max-width: 860px) {
  /* Parcours : photo à gauche, texte à droite, compact */
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .step { grid-template-columns: 108px 1fr; gap: 4px 18px; align-items: start; }
  .step .ph { grid-column: 1; grid-row: 1 / span 5; aspect-ratio: 4 / 5; }
  .step > :not(.ph) { grid-column: 2; }
  .step h3 { font-size: 1.5rem; }
  .step p { font-size: .93rem; }
  .step .svc { border-top: none; padding-top: 2px; }
  /* Atelier : galerie à faire défiler */
  .atelier { display: grid; grid-auto-flow: column; grid-template-rows: none; grid-auto-rows: auto; grid-auto-columns: 78%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(24px, 5vw, 84px)); padding: 0 clamp(24px, 5vw, 84px) 12px; scrollbar-width: none; }
  .atelier > .ph { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; scroll-snap-align: center; }
  .atelier .a4 { display: none; }
  .strip { margin-inline: calc(-1 * clamp(24px, 5vw, 84px)); padding-inline: clamp(24px, 5vw, 84px); scroll-padding-inline: clamp(24px, 5vw, 84px); grid-auto-columns: 74%; }
  .swipe-hint { display: inline-flex; }
  .sourcing { gap: 56px; }
  .side .big { font-size: 4.4rem; }
  .lab-left { grid-template-columns: 1.3fr 1fr; }
  .faq summary { padding: 18px 0; }
  .progression { gap: 8px; margin-top: -12px; }
  .progression img { width: 62px; height: 56px; }
  .progression .dots { width: 44px; }
  .progression li .mono { font-size: .6rem; letter-spacing: .06em; }
  .hero { padding-top: 28px; }
  .display { margin-top: 18px; font-size: clamp(2.9rem, 13vw, 3.6rem); }
  .hero .lead { margin-top: 20px; font-size: 1.05rem; }
  .cta { margin-top: 26px; gap: 20px; }
  .hero-text { padding-bottom: 28px; }
}
@media (max-width: 520px) {
  .journey { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .report .rowr { grid-template-columns: 1fr; gap: 2px; }
  .collage { height: 440px; }
  .socials a { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  }

/* ---------- Ajustements WordPress ---------- */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
figure { margin: 0; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.hp { position: absolute !important; left: -9999px !important; }
.status.ok { color: #2f6b45; } .status.err { color: #a03a2c; }
/* Pages simples (mentions légales…) */
.page-simple { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px; }
.page-simple h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 300; margin: 14px 0 40px; }
.page-simple h2 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin: 48px 0 12px; }
.page-simple p, .page-simple li { color: #2c3450; }
.page-simple a { color: var(--steel-ink); }
.page-simple dl { display: grid; grid-template-columns: 13rem 1fr; gap: 8px 20px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-simple dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.page-simple dd { margin: 0; }
@media (max-width: 560px) { .page-simple dl { grid-template-columns: 1fr; gap: 2px; } }
body.is-simple main { margin-left: var(--rail); }
/* Maquette : catalogue de bruts à tailler */
.bruts-steps { list-style: none; padding: 0; margin: 0 0 clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1.6fr 1fr; border-top: 1px solid var(--ink); }
.bruts-steps > li { padding: 22px 28px 6px 0; display: grid; gap: 8px; align-content: start; }
.bruts-steps > li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.bruts-steps .mono { color: var(--steel-ink); }
.bruts-steps strong { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.bruts-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.shapes { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 14px 18px; }
.shapes li { display: grid; justify-items: center; gap: 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.shapes svg { width: 40px; height: 40px; fill: none; stroke: var(--steel-ink); stroke-width: 1; }
.bruts { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.brut { display: grid; gap: 0; align-content: start; }
.brut .ph { aspect-ratio: 1; }
.brut .ph img { transform: none; transition: transform .8s var(--ease); }
.brut:hover .ph img { transform: scale(1.04); }
.brut .label { margin: -26px 14px 0; position: relative; z-index: 2; }
.brut .label strong { font-size: 1.2rem; }
.brut .link-arrow { justify-self: start; margin: 16px 14px 0; font-size: .92rem; }
.soon-ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #eceef1 0 10px, #f4f4f2 10px 20px); border: 1px dashed var(--steel); }
.bruts-note { margin-top: clamp(40px, 5vw, 64px); color: var(--muted); max-width: 70ch; }
@media (max-width: 1100px) { .bruts { grid-template-columns: repeat(3, 1fr); } .bruts-steps { grid-template-columns: 1fr; } .bruts-steps > li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 700px) { .bruts { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } .brut .label { margin: -18px 8px 0; padding: 10px 11px; } .brut .label .grid { grid-template-columns: 1fr; } .brut .label .k { margin-top: 4px; } .brut .link-arrow { margin: 12px 8px 0; font-size: .85rem; } .shapes { gap: 10px 14px; } }
@media (max-width: 700px) { .brut .label .grid span:nth-child(n+5) { display: none; } }

/* Angles coupés façon taille émeraude */
.ph { --cut: clamp(16px, 2.6vw, 38px); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.hero-photo .ph.inset, .collage .ph, .thumbs .ph, .lab .ph.l2, .atelier .ph.a3 { --cut: 18px; }
.hero-photo .ph.inset { clip-path: none; background: #fff; }
.btn { clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.hero-photo .ph.inset img { clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); }
/* Cartes (pierres, bruts) : angles coupés seulement en haut, la photo colle à l'étiquette en bas */
.stone .ph, .brut .ph { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut)); }
/* Médaillon : cadre blanc et photo coupés en parallèle (écart = épaisseur du cadre) */
.hero-photo .ph.inset { --b: 8px; --ci: 14px; --cut: calc(var(--ci) + var(--b) * .586); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.hero-photo .ph.inset img { clip-path: polygon(var(--ci) 0, calc(100% - var(--ci)) 0, 100% var(--ci), 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, var(--ci) 100%, 0 calc(100% - var(--ci)), 0 var(--ci)); }
@media (max-width: 860px) { .hero-photo .ph.inset { --b: 5px; --ci: 9px; } }
/* Collage « Qui je suis » : même principe que le médaillon */
.collage .ph { --b: 8px; --ci: 18px; --cut: calc(var(--ci) + var(--b) * .586); background: #fff; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.collage .ph img { clip-path: polygon(var(--ci) 0, calc(100% - var(--ci)) 0, 100% var(--ci), 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, var(--ci) 100%, 0 calc(100% - var(--ci)), 0 var(--ci)); }
/* Bruts : même présentation que les cartes « Pierres » (photo et fiche de même largeur) */
.brut { grid-template-rows: auto 1fr auto; }
.brut .label, .brut .label { margin: 0; border-top: none; align-content: start; }
.brut .link-arrow { margin: 14px 0 0; }
@media (max-width: 700px) { .brut .label { margin: 0; padding: 10px 11px; } .brut .link-arrow { margin: 10px 0 0; } }

/* Double facette : chaque coin taillé en deux pans (12 côtés au total) */
.ph { --a: calc(var(--cut) * .29); clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, calc(100% - var(--a)) var(--a), 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--a)) calc(100% - var(--a)), calc(100% - var(--cut)) 100%, var(--cut) 100%, var(--a) calc(100% - var(--a)), 0 calc(100% - var(--cut)), 0 var(--cut), var(--a) var(--a)); }
.hero-photo .ph.main { --cut: clamp(22px, 3.4vw, 50px); }
.stone .ph, .brut .ph { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, calc(100% - var(--a)) var(--a), 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut), var(--a) var(--a)); }
/* Cadres blancs : pans du cadre parallèles à ceux de la photo (décalage = épaisseur du cadre) */
.hero-photo .ph.inset { clip-path: polygon(20.4px 0, calc(100% - 20.4px) 0, calc(100% - 5.9px) 5.9px, 100% 20.4px, 100% calc(100% - 20.4px), calc(100% - 5.9px) calc(100% - 5.9px), calc(100% - 20.4px) 100%, 20.4px 100%, 5.9px calc(100% - 5.9px), 0 calc(100% - 20.4px), 0 20.4px, 5.9px 5.9px); }
.hero-photo .ph.inset img { clip-path: polygon(14px 0, calc(100% - 14px) 0, calc(100% - 4.1px) 4.1px, 100% 14px, 100% calc(100% - 14px), calc(100% - 4.1px) calc(100% - 4.1px), calc(100% - 14px) 100%, 14px 100%, 4.1px calc(100% - 4.1px), 0 calc(100% - 14px), 0 14px, 4.1px 4.1px); }
.collage .ph { clip-path: polygon(24.4px 0, calc(100% - 24.4px) 0, calc(100% - 7.1px) 7.1px, 100% 24.4px, 100% calc(100% - 24.4px), calc(100% - 7.1px) calc(100% - 7.1px), calc(100% - 24.4px) 100%, 24.4px 100%, 7.1px calc(100% - 7.1px), 0 calc(100% - 24.4px), 0 24.4px, 7.1px 7.1px); }
.collage .ph img { clip-path: polygon(18px 0, calc(100% - 18px) 0, calc(100% - 5.2px) 5.2px, 100% 18px, 100% calc(100% - 18px), calc(100% - 5.2px) calc(100% - 5.2px), calc(100% - 18px) 100%, 18px 100%, 5.2px calc(100% - 5.2px), 0 calc(100% - 18px), 0 18px, 5.2px 5.2px); }
@media (max-width: 860px) {
  .hero-photo .ph.inset { clip-path: polygon(13px 0, calc(100% - 13px) 0, calc(100% - 3.8px) 3.8px, 100% 13px, 100% calc(100% - 13px), calc(100% - 3.8px) calc(100% - 3.8px), calc(100% - 13px) 100%, 13px 100%, 3.8px calc(100% - 3.8px), 0 calc(100% - 13px), 0 13px, 3.8px 3.8px); }
  .hero-photo .ph.inset img { clip-path: polygon(9px 0, calc(100% - 9px) 0, calc(100% - 2.6px) 2.6px, 100% 9px, 100% calc(100% - 9px), calc(100% - 2.6px) calc(100% - 2.6px), calc(100% - 9px) 100%, 9px 100%, 2.6px calc(100% - 2.6px), 0 calc(100% - 9px), 0 9px, 2.6px 2.6px); }
}

/* Atelier : photos facetteuse et loupe frontale en noir et blanc */
.atelier .a2 img, .atelier .a3 img { filter: grayscale(1) contrast(1.25) brightness(1.03); }

/* Ailleurs : tourmalines recentrées vers la droite (tourmaline verte visible) */
.thumbs img[src*="pierres-brutes-cristaux"] { object-position: 82% 50%; }
