/* Polices hébergées sur le site (Cormorant Garamond et Jost, licence SIL OFL) */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Moe Moeā · maquette Smart Lagoon
   Nuit du lagon (encre, abysse) et nacre (crème, rose pétale), reflets irisés. */

:root {
  --ink: #0b0a0c;
  --ink-2: #141215;
  --abyss: #061316;
  --earth: #140f0c;
  --nacre: #f6f0ea;
  --blush: #f0e3db;
  --gold: #c9a77b;
  --gold-deep: #94693f;
  --text-light: #f3ece5;
  --muted-light: rgba(243, 236, 229, .64);
  --line-light: rgba(243, 236, 229, .14);
  --text-dark: #1e1a1c;
  --muted-dark: #5f5559;
  --line-dark: rgba(30, 26, 28, .14);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --iri: linear-gradient(100deg, #ead6b8 0%, #e9c3c8 20%, #bcd1e3 40%, #a8ddd2 58%, #d4c0e8 78%, #ead6b8 100%);
  --iri-deep: linear-gradient(100deg, #8a5a3f 0%, #9d5a77 22%, #43708f 45%, #2f7d74 62%, #6e569c 80%, #8a5a3f 100%);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; }
h2 { font-size: clamp(42px, 6vw, 86px); margin-bottom: .45em; }
h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; margin-bottom: .4em; }
em { font-style: italic; }
::selection { background: rgba(201, 167, 123, .35); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 400; background: var(--nacre); color: var(--ink); padding: 10px 16px; border-radius: 999px; transition: top .3s; }
.skip:focus { top: 16px; }

/* Titres : le mot en italique prend les reflets de la nacre */
h2 em, .hero__line--em .ln, .chap__end em, .split em .w > span {
  font-style: italic;
  background: var(--iri);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: iri 10s linear infinite;
}
/* Une fois découpé en mots animés, c'est chaque mot qui porte le reflet */
.split em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; animation: none; }
.section--light h2:not(.split) em, .section--blush h2:not(.split) em,
.section--light .split em .w > span, .section--blush .split em .w > span { background-image: var(--iri-deep); }
@keyframes iri { to { background-position: 220% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 26px;
  font: 500 12px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section--light .eyebrow, .section--blush .eyebrow { color: var(--gold-deep); }

/* Boutons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--nacre); color: var(--ink);
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease-out), background .4s, color .4s, border-color .4s;
}
.btn::after {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: var(--iri); background-size: 200% 100%;
  opacity: 0; transition: opacity .5s;
  animation: iri 4s linear infinite;
}
.btn:hover::after { opacity: 1; }
.btn--ghost { background: transparent; color: var(--text-light); border-color: rgba(243, 236, 229, .4); }
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: rgba(243, 236, 229, .08); border-color: var(--text-light); }
.btn--sm { padding: 12px 20px; font-size: 11px; }
.btn--light { background: var(--nacre); color: var(--ink); }
.section--light .btn--ghost, .section--blush .btn--ghost { color: var(--text-dark); border-color: var(--line-dark); }

/* ——— Ouverture ——— */
.intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #17141a 0%, var(--ink) 60%);
}
.no-intro .intro, .no-js .intro { display: none; }
.intro__in { width: min(440px, 72vw); display: grid; justify-items: center; gap: 22px; }
.intro__flower { width: clamp(84px, 14vw, 128px); height: auto; fill: var(--blush); animation: flowerIn 1.8s var(--ease-out) both; }
.intro__flower .pt { transform-box: fill-box; transform-origin: center; animation: petal 1s var(--ease-out) both; animation-delay: calc(var(--i) * 38ms + 160ms); }
.intro__flower .pt--a { animation-duration: 1.3s; animation-delay: calc(var(--i) * 20ms + 80ms); }
.intro__word { width: 100%; height: auto; fill: var(--text-light); opacity: 0; animation: rise 1.1s .85s var(--ease-out) forwards; }
.intro__tag { margin: 0; font: italic 300 clamp(20px, 2.6vw, 26px) var(--serif); color: var(--gold); opacity: 0; animation: rise 1s 1.2s var(--ease-out) forwards; }
.intro.is-out { animation: introOut 1.1s var(--ease) forwards; pointer-events: none; }
@keyframes flowerIn { from { transform: rotate(-120deg) scale(.55); } }
@keyframes petal { from { opacity: 0; transform: scale(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }

/* ——— Barre de progression ——— */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--iri); transform-origin: 0 50%; transform: scaleX(0); }

/* ——— En-tête ——— */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: border-color .5s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
/* Le verre dépoli est porté par un pseudo-élément : posé sur l'en-tête lui-même, il enfermerait le menu mobile plein écran dans sa hauteur */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11, 10, 12, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); opacity: 0; transition: opacity .5s; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled { border-bottom-color: var(--line-light); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header { transform: none; }
.site-header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-light); }
.brand__flower { width: 30px; height: 30px; fill: var(--blush); transition: transform 1.2s var(--ease-out); }
.brand:hover .brand__flower { transform: rotate(90deg); }
.brand__word { width: 120px; height: 21px; fill: currentColor; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { position: relative; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); transition: color .3s; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav a:hover, .nav a.is-current { color: var(--text-light); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }
.site-header__side { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--sans); letter-spacing: .16em; color: var(--muted-light); }
.lang button { background: none; border: 0; padding: 6px 2px; cursor: pointer; color: inherit; letter-spacing: inherit; }
.lang button[aria-pressed="true"] { color: var(--text-light); border-bottom: 1px solid var(--gold); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--text-light); transition: transform .4s var(--ease-out), top .4s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ——— Accueil ——— */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #050709; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__canvas.is-on { opacity: 1; }
.hero__fallback { position: absolute; z-index: -2; width: min(40vw, 60vh); right: 10vw; top: 50%; transform: translateY(-50%); }
.js .hero__canvas.is-on ~ .hero__fallback { display: none; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 7, 9, .82) 0%, rgba(5, 7, 9, .45) 38%, rgba(5, 7, 9, 0) 62%); pointer-events: none; }
.hero__inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero__eyebrow { opacity: 0; }
.hero__title { font-size: clamp(66px, 11.2vw, 172px); line-height: .9; letter-spacing: -.02em; margin: 0 0 6px; }
.hero__line { display: block; overflow: hidden; padding: .04em 0 .12em; margin-bottom: -.1em; }
.hero__line--em { padding-left: .55em; }
.hero__line .ch, .hero__line .ln { display: inline-block; transform: translateY(115%) rotate(6deg); transform-origin: 0 100%; }
.hero__line--em .ln { padding-right: .08em; }
.is-ready .hero__line--em .ln { animation: chIn 1.5s .42s var(--ease-out) forwards, iri 10s linear infinite; }
.hero__translate { margin: 0 0 6px .9em; font: italic 300 clamp(20px, 2.2vw, 28px) var(--serif); color: var(--gold); letter-spacing: .02em; }
.hero__lead { max-width: 540px; margin: 26px 0 40px; font-size: clamp(16px, 1.25vw, 18px); color: var(--muted-light); opacity: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; }
.is-ready .hero__eyebrow { animation: rise 1s .1s var(--ease-out) forwards; }
.is-ready .hero__line .ch { animation: chIn 1.3s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + var(--base, 0ms)); }
.is-ready .hero__lead { animation: rise 1.1s .9s var(--ease-out) forwards; }
.is-ready .hero__cta { animation: rise 1.1s 1.1s var(--ease-out) forwards; }
@keyframes chIn { to { transform: none; } }
.hero__hint { position: absolute; right: 7vw; bottom: 17vh; margin: 0; display: flex; align-items: center; gap: 12px; font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); opacity: 0; }
.is-ready .hero__hint { animation: rise 1s 1.8s var(--ease-out) forwards; }
.hero__hint-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 167, 123, .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(201, 167, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 167, 123, 0); } }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.hero__place { margin: 0; display: flex; align-items: center; gap: 10px; font: 400 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }
.hero__place svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.4; flex: none; }
.hero__scroll { display: flex; align-items: center; gap: 14px; font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.hero__scroll i { position: relative; width: 1px; height: 56px; background: var(--line-light); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* Perle en CSS, quand WebGL manque */
.pearl-css {
  aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .95) 0 4%, rgba(255, 255, 255, .25) 9%, transparent 18%),
    radial-gradient(circle at 70% 76%, rgba(166, 90, 128, .55) 0%, transparent 46%),
    radial-gradient(circle at 26% 70%, rgba(80, 150, 140, .45) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, #34413c 0%, #1c2522 55%, #0a0d0c 100%);
  box-shadow: inset -18px -26px 50px rgba(0, 0, 0, .55), 0 30px 80px -20px rgba(166, 90, 128, .35);
}

/* ——— Bandeau défilant ——— */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 46s linear infinite; }
.marquee span { font: italic 300 clamp(30px, 4.2vw, 58px)/1 var(--serif); white-space: nowrap; }
.marquee svg { width: 26px; height: 26px; flex: none; fill: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ——— Sections ——— */
.section { position: relative; padding: clamp(96px, 12vw, 168px) 0; }
.section--light { background: var(--nacre); color: var(--text-dark); }
.section--blush { background: var(--blush); color: var(--text-dark); }
.section--ink { background: var(--ink); }
.section--abyss { background: radial-gradient(ellipse at 70% 40%, #0b2328 0%, var(--abyss) 60%); }
.section--earth { background: radial-gradient(ellipse at 30% 0%, #261b14 0%, var(--earth) 65%); }
.section--light p, .section--blush p { color: var(--muted-dark); }
.section__head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.section__lead { font-size: clamp(16px, 1.3vw, 19px); max-width: 620px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }
.section--ink p:not(.eyebrow), .section--abyss p:not(.eyebrow), .section--earth p:not(.eyebrow) { color: var(--muted-light); }

/* Apparitions au défilement (seulement avec JS) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Rideau qui se lève sur l'image (un clip-path à 100 % rendrait l'élément invisible pour l'observateur) */
.js .reveal--clip { opacity: 1; transform: none; }
.js .reveal--clip::after { content: ''; position: absolute; inset: -1px; z-index: 2; background: var(--curtain, var(--nacre)); transform-origin: 50% 0; transition: transform 1.6s var(--ease-out); }
.js .reveal--clip.is-in::after { transform: scaleY(0); }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }

/* ——— La maison ——— */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.story__text p { max-width: 560px; }
.story__quote { margin: 38px 0; padding-left: 26px; border-left: 1px solid var(--gold-deep); }
.story__quote p { margin: 0; font: italic 300 clamp(24px, 2.2vw, 31px)/1.3 var(--serif); color: var(--text-dark); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.stats dt { font: 300 clamp(40px, 4vw, 56px)/1 var(--serif); color: var(--text-dark); }
.stats dd { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-dark); }
.story__media { position: relative; padding: 0 0 12% 8%; }
.arch { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 4px 4px; background: #e8ddd3; }
.parallax-wrap img, .arch img { width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.story__float { position: absolute; left: 0; bottom: 0; width: 40%; margin: 0; padding: 10px; background: var(--nacre); box-shadow: 0 30px 60px -30px rgba(60, 35, 25, .5); animation: float 8s ease-in-out infinite; }
.story__float img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-1deg); } }
.story__seal { position: absolute; right: -2%; top: 4%; width: clamp(110px, 12vw, 150px); padding: 4px; border-radius: 50%; background: var(--nacre); box-shadow: 0 18px 40px -20px rgba(60, 35, 25, .45); animation: spin 36s linear infinite; }
.story__seal text { font: 500 13px var(--sans); letter-spacing: 4.2px; text-transform: uppercase; fill: var(--text-dark); }
.story__seal use { fill: var(--gold-deep); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ——— Histoire de la perle (défilement horizontal épinglé) ——— */
.saga { position: relative; background: var(--ink); }
.saga__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 3vh; }
.saga__head { padding-top: calc(var(--header-h) - 10px); }
.saga__head h2 { margin: 0; font-size: clamp(38px, 4.6vw, 66px); }
.saga__head .eyebrow { margin-bottom: 14px; }
.saga__track { display: flex; align-items: center; gap: 7vw; width: max-content; padding: 6vh var(--pad) 2vh; will-change: transform; }
.chap { position: relative; width: min(80vw, 980px); display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.chap__year { position: absolute; z-index: 2; left: 40%; top: -15vh; margin: 0; font: italic 300 clamp(110px, 14vw, 230px)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(201, 167, 123, .38); white-space: nowrap; pointer-events: none; transform: translate3d(var(--yx, 0px), 0, 0); }
.chap__media { position: relative; z-index: 1; height: min(52vh, 520px); overflow: hidden; border-radius: 2px; }
.chap__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease-out); }
.chap:hover .chap__media img { transform: scale(1); }
.chap__body { position: relative; z-index: 1; }
.chap__kicker { margin: 0 0 14px; font: 500 11px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.chap__body h3 { font-size: clamp(30px, 3.4vw, 50px); }
.chap__body p:last-child { max-width: 440px; color: var(--muted-light); }
.chap--end { width: min(72vw, 820px); display: block; }
.chap__end { margin: 0; font: 300 clamp(34px, 4.4vw, 64px)/1.1 var(--serif); }
.saga.is-static .saga__sticky { position: static; height: auto; padding: clamp(80px, 14vw, 120px) 0; gap: 40px; }
.saga.is-static .saga__track { flex-direction: column; align-items: stretch; width: auto; gap: 72px; transform: none !important; }
.saga.is-static .chap, .saga.is-static .chap--end { width: auto; max-width: 1000px; }
.saga.is-static .chap__year { position: relative; top: auto; left: auto; margin-bottom: -.35em; transform: none; }
.saga.is-static .saga__bar { display: none; }
.saga__bar { position: relative; height: 1px; background: var(--line-light); }
.saga__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--iri); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ——— Nuancier ——— */
.shades__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 30px; }
.swatches button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03); font: 400 13px/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.swatches button:hover { transform: translateY(-2px); border-color: rgba(243, 236, 229, .4); }
.swatches button[aria-checked="true"] { border-color: var(--gold); background: rgba(201, 167, 123, .12); }
.swatches i { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .9) 0 7%, transparent 24%), radial-gradient(circle at 64% 72%, var(--b) 0%, transparent 62%), var(--a); box-shadow: inset -4px -6px 10px rgba(0, 0, 0, .45); }
.shade-info { min-height: 150px; }
.shade-info__name { margin: 0 0 8px; font: italic 300 clamp(38px, 3.6vw, 52px)/1 var(--serif); color: var(--text-light) !important; }
.shade-info__text { max-width: 470px; }
.shade-info.is-swap .shade-info__name, .shade-info.is-swap .shade-info__text { animation: rise .8s var(--ease-out); }
.shades__note { font-size: 14px; border-top: 1px solid var(--line-light); padding-top: 20px; max-width: 470px; }
.shades__stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.shades__glow { position: absolute; left: 0; top: 0; width: 92%; height: 88%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(240, 222, 200, .30) 0%, rgba(201, 167, 123, .16) 30%, rgba(111, 199, 191, .06) 52%, transparent 70%); filter: blur(6px); }
.shades__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.shades__canvas.is-on { opacity: 1; }
.shades__fallback { position: absolute; inset: 18%; }
.shades__canvas.is-on ~ .shades__fallback { display: none; }
.shades__photo { position: absolute; right: -3%; bottom: -2%; width: 36%; margin: 0; padding: 8px 8px 12px; background: #f6f0ea; color: var(--text-dark); transform: rotate(4deg); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); transition: transform .6s var(--ease-out); }
.shades__photo:hover { transform: rotate(0) scale(1.04); }
.shades__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .45s; }
.shades__photo img.is-fading { opacity: 0; }
.shades__photo figcaption { margin-top: 8px; font: 500 9.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }

/* ——— Lire une perle ——— */
.guide__box { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: 'tabs tabs' 'stage panels'; column-gap: clamp(32px, 5vw, 72px); padding: clamp(22px, 4vw, 56px); border-radius: 28px; background: var(--nacre); box-shadow: 0 40px 90px -50px rgba(90, 55, 40, .45); }
.tabs { grid-area: tabs; position: relative; display: flex; gap: 4px; margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line-dark); overflow-x: auto; scrollbar-width: none; }
.tabs button { flex: none; padding: 14px 18px; border: 0; background: none; cursor: pointer; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--text-dark); }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 60px; background: var(--text-dark); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.guide__stage { grid-area: stage; position: relative; min-height: 360px; display: grid; place-items: center; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 42%, #fff 0%, #efe4dc 70%); }
.ruler { position: absolute; left: 8%; right: 8%; bottom: 46px; height: 18px; opacity: 0; transition: opacity .5s; background: repeating-linear-gradient(90deg, rgba(30, 26, 28, .35) 0 1px, transparent 1px 16px); -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.guide__stage[data-tab="size"] .ruler { opacity: 1; }
.specimen {
  --s: 10;
  position: relative; width: calc(var(--s) * 15px); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 70% 78%, rgba(166, 90, 128, .55) 0%, transparent 48%),
    radial-gradient(circle at 24% 72%, rgba(70, 145, 135, .5) 0%, transparent 44%),
    radial-gradient(circle at 50% 46%, #3a4742 0%, #202a26 55%, #0b0f0d 100%);
  box-shadow: inset -14px -20px 34px rgba(0, 0, 0, .5), 0 26px 40px -18px rgba(40, 25, 20, .55);
  transition: width .6s var(--ease-out), aspect-ratio .6s var(--ease-out), border-radius .7s var(--ease-out), filter .5s;
}
.specimen__glint { position: absolute; left: 22%; top: 16%; width: 30%; height: 21%; border-radius: 40%; background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 35%, transparent 70%); transform: rotate(-24deg); transition: filter .5s, opacity .5s; }
.specimen__spots { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .5s; background:
  radial-gradient(circle at 62% 40%, rgba(255, 255, 255, .55) 0 1.6%, transparent 2.4%),
  radial-gradient(circle at 40% 62%, rgba(0, 0, 0, .55) 0 1.8%, transparent 2.6%),
  radial-gradient(circle at 70% 64%, rgba(255, 255, 255, .45) 0 1.2%, transparent 2%),
  radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .5) 0 1.4%, transparent 2.2%),
  radial-gradient(circle at 52% 76%, rgba(0, 0, 0, .5) 0 2%, transparent 3%),
  radial-gradient(circle at 78% 46%, rgba(0, 0, 0, .45) 0 1.5%, transparent 2.4%); }
.specimen[data-shape="near"] { border-radius: 50% 47% 52% 49% / 49% 53% 47% 51%; }
.specimen[data-shape="oval"] { aspect-ratio: .8; }
.specimen[data-shape="button"] { aspect-ratio: 1.25; border-radius: 50% / 46%; }
.specimen[data-shape="drop"] { aspect-ratio: .8; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; }
.specimen[data-shape="baroque"] { aspect-ratio: .9; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.specimen[data-shape="circled"]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 9%, rgba(0, 0, 0, .28) 9% 10.5%, transparent 10.5% 14%); -webkit-mask: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); }
.specimen[data-luster="1"] .specimen__glint { filter: blur(3px); opacity: .75; }
.specimen[data-luster="2"] .specimen__glint { filter: blur(9px); opacity: .45; }
.specimen[data-luster="2"] { filter: saturate(.75) brightness(.92); }
.specimen[data-surface="1"] .specimen__spots { opacity: .35; }
.specimen[data-surface="2"] .specimen__spots { opacity: .7; }
.specimen[data-surface="3"] .specimen__spots { opacity: 1; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.specimen__mm { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.guide__panels { grid-area: panels; align-self: center; padding: 24px 0; }
.panel__label { display: block; margin-bottom: 18px; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.panel__verdict { margin: 26px 0 22px; font: italic 300 clamp(32px, 3vw, 44px)/1.15 var(--serif); color: var(--text-dark) !important; min-height: 1.2em; }
.panel__hint { font-size: 14px; }
.scale-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted-dark); }
.scale-legend b { display: inline-block; min-width: 130px; font-weight: 500; color: var(--text-dark); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--text-dark) var(--fill, 25%), var(--line-dark) var(--fill, 25%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-dark); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--text-dark); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5.5px; border-radius: 0; transform: rotate(45deg); border: 1px solid #94693f; background: #f6f2ec; box-shadow: inset 0 0 0 3px #f6f2ec, inset 0 0 0 7px #c9a77b; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border-radius: 0; transform: rotate(45deg); border: 1px solid #94693f; background: #f6f2ec; box-shadow: inset 0 0 0 3px #f6f2ec, inset 0 0 0 7px #c9a77b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--text-dark); font: 400 13px/1 var(--sans); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chips button:hover { border-color: var(--text-dark); }
.chips button[aria-pressed="true"] { background: var(--text-dark); border-color: var(--text-dark); color: var(--nacre); }
.chips--grades button { min-width: 54px; font: 400 18px/1 var(--serif); }
.bars { display: grid; gap: 12px; margin: 30px 0 22px; }
.bar { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 14px; font-size: 13px; color: var(--muted-dark); }
.bar i { position: relative; height: 3px; background: var(--line-dark); border-radius: 3px; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--muted-dark); transition: background .3s; }
.bar b { font-weight: 500; color: var(--text-dark); text-align: right; }
.bar.is-on { color: var(--text-dark); }
.bar.is-on i::after { background: var(--gold-deep); }

/* ——— Portées ——— */
.lookbook { overflow: hidden; }
.lookbook__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.lookbook__head h2 { margin: 0; }
.lookbook__hint { margin: 0; font: 400 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.rail { position: relative; outline: none; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rail.is-dragging { cursor: grabbing; }
.rail__track { display: flex; align-items: flex-start; gap: clamp(16px, 2vw, 28px); width: max-content; padding: 0 var(--pad); will-change: transform; }
.look { margin: 0; flex: none; width: clamp(250px, 26vw, 380px); }
.look--tall { width: clamp(220px, 21vw, 310px); }
.look--wide { width: clamp(330px, 40vw, 620px); }
.look__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: inherit; overflow: hidden; border-radius: 2px; }
.look img { width: 100%; height: clamp(330px, 38vw, 560px); object-fit: cover; transition: transform 1.4s var(--ease-out), filter .6s; -webkit-user-drag: none; pointer-events: none; }
.look__btn:hover img { transform: scale(1.05); }
.look figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .03em; color: var(--muted-light); max-width: 95%; }
.look:nth-child(even) { margin-top: 48px; }

/* ——— Sur mesure ——— */
.steps { list-style: none; margin: 0 0 clamp(64px, 8vw, 110px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step__img { margin: 0 0 24px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: #e9dfd6; }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.step:hover .step__img img { transform: scale(1.06); }
.step__n { margin: 0 0 6px; font: italic 300 24px/1 var(--serif); color: var(--gold-deep) !important; }
.step h3 { font-size: clamp(26px, 2.4vw, 34px); }
.review { max-width: 820px; margin: 0 auto; text-align: center; }
.review__stars { margin-bottom: 18px; font-size: 18px; letter-spacing: 6px; color: var(--gold-deep); }
.review__stars span { opacity: .3; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; font: italic 300 clamp(26px, 3vw, 40px)/1.3 var(--serif); color: var(--text-dark); }
.review figcaption { margin-top: 22px; font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }

/* ——— Art du Pacifique ——— */
.art__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); perspective: 1200px; }
.artcard { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; transform-style: preserve-3d; transition: transform .7s var(--ease-out), box-shadow .7s; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .8); }
.artcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.artcard:hover img { transform: scale(1.07); }
.artcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.6vw, 34px); background: linear-gradient(180deg, transparent, rgba(12, 8, 6, .9)); }
.artcard__n { margin: 0 0 6px; font: italic 300 20px/1 var(--serif); color: var(--gold) !important; }
.artcard__body h3 { margin-bottom: 6px; }
.artcard__body p:last-child { margin: 0; font-size: 14px; }
.sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 244, 230, .32), transparent 42%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .5s; }
.artcard:hover .sheen { opacity: 1; }

/* ——— Livre d'or ——— */
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.note { margin: 0; padding: 12px 12px 22px; background: #fffdf9; box-shadow: 0 26px 50px -30px rgba(80, 45, 30, .45); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--ease-out), box-shadow .6s; }
.js .note.reveal { transform: translateY(30px) rotate(var(--r, 0deg)); }
.js .note.reveal.is-in { transform: rotate(var(--r, 0deg)); }
.note:hover, .js .note.reveal.is-in:hover { transform: rotate(0) translateY(-10px) scale(1.03); box-shadow: 0 40px 70px -30px rgba(80, 45, 30, .5); }
.note img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.12) contrast(1.03); }
.note blockquote { margin: 16px 4px 10px; }
.note blockquote p { margin: 0; font: italic 400 clamp(18px, 1.5vw, 21px)/1.35 var(--serif); color: var(--text-dark) !important; }
.note figcaption { margin: 0 4px; font: 500 10.5px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.note:nth-child(even) { margin-top: 56px; }

/* ——— Entretien ——— */
.care__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.care__head { position: sticky; top: calc(var(--header-h) + 40px); }
.care__img { margin: 36px 0 0; width: 72%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; }
.care__img img { width: 100%; height: 100%; object-fit: cover; }
.tips { list-style: none; margin: 0; padding: 0; }
.tip { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.tip:first-child { border-top: 1px solid var(--line-dark); }
.tip svg { width: 46px; height: 46px; fill: none; stroke: var(--gold-deep); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tip p { margin: 0; font-size: clamp(16px, 1.3vw, 18px); color: var(--text-dark) !important; }
.care__love { grid-column: 1 / -1; margin: 30px 0 0; text-align: center; font: italic 300 clamp(28px, 3vw, 40px) var(--serif); color: var(--text-dark) !important; }

/* ——— Trouver sa perle ——— */
.finder__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.quiz { position: relative; min-height: 440px; padding: clamp(24px, 4vw, 52px); border-radius: 28px; border: 1px solid var(--line-light); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); overflow: hidden; }
.quiz::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(166, 90, 128, .22), transparent 65%); pointer-events: none; }
.quiz__progress { height: 2px; margin-bottom: 36px; background: var(--line-light); border-radius: 2px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--iri); transition: width .7s var(--ease-out); }
.quiz__q { margin: 0 0 28px; font: 300 clamp(28px, 3vw, 42px)/1.15 var(--serif); color: var(--text-light) !important; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opts button { padding: 20px 22px; text-align: left; border-radius: 18px; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .03); font: 300 16px/1.35 var(--sans); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-out); }
.quiz__opts button:hover { border-color: var(--gold); background: rgba(201, 167, 123, .09); transform: translateY(-3px); }
.quiz__step.is-in, .quiz__result.is-in { animation: stepIn .7s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(26px); } }
.quiz__result { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.quiz__pearl { position: relative; aspect-ratio: 1; }
.quiz__pearl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.quiz__fallback { position: absolute; inset: 12%; }
.quiz__pearl canvas.is-on ~ .quiz__fallback { display: none; }
.quiz__name { margin: 0 0 12px; font: italic 300 clamp(28px, 2.8vw, 38px)/1.15 var(--serif); color: var(--text-light) !important; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ——— Boutiques ——— */
.visit { overflow: hidden; }
.visit__bg { position: absolute; inset: 0; opacity: .13; -webkit-mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 60%, transparent 100%); pointer-events: none; }
.visit__bg img { width: 100%; height: 100%; object-fit: cover; }
.visit .wrap { position: relative; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.map { margin: 0; }
.map__svg { width: 100%; max-width: 500px; margin: 0 auto; overflow: visible; }
.map__reef { fill: none; stroke: rgba(150, 230, 220, .45); stroke-width: 7; stroke-dasharray: 26 9 6 9; stroke-linecap: round; }
.map__island { fill: #1c3a33; stroke: rgba(201, 167, 123, .5); stroke-width: 1.2; }
.map__peak { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.map__pin circle:last-child { fill: var(--gold); }
.map__pulse { fill: none; stroke: var(--gold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
.map__pin--b .map__pulse { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.map__label { font: 500 11px var(--sans); letter-spacing: 2.4px; text-transform: uppercase; fill: var(--text-light); }
.map__label--soft { fill: rgba(243, 236, 229, .5); font-style: italic; }
.map__note { margin: 12px 0 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.place { padding: 28px 0; border-top: 1px solid var(--line-light); }
.place__n { margin: 0 0 8px; font: italic 300 20px/1 var(--serif); color: var(--gold) !important; }
.place h3 { font-size: clamp(30px, 3vw, 42px); }
.place h3 span { display: block; margin-top: 8px; font: 400 12px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); }
.place__sub { margin-bottom: 6px; }
.place__hours { margin-bottom: 14px; font-size: 14px; color: var(--text-light) !important; }
.place__hours::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #6fc7bf; box-shadow: 0 0 10px #6fc7bf; vertical-align: middle; }
.place__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.place__links a, .places__mail a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.place__links a:hover, .places__mail a:hover { border-color: var(--gold); color: #fff; }
.place__links svg, .places__mail svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.places__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.places__mail span { width: 100%; font-size: 13px; color: var(--muted-light); padding-left: 28px; }

.rdv { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding: clamp(26px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line-light); background: rgba(246, 240, 234, .045); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); scroll-margin-top: calc(var(--header-h) + 20px); }
.rdv__intro h3 { font-size: clamp(32px, 3.2vw, 46px); }
.rdv__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; padding: 24px 0 10px; border: 0; border-bottom: 1px solid rgba(243, 236, 229, .28); border-radius: 0; background: transparent; color: var(--text-light); font: 300 16px/1.4 var(--sans); outline: none; transition: border-color .3s; }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 12px) 30px, calc(100% - 7px) 30px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #1e1a1c; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field label { position: absolute; left: 0; top: 24px; font-size: 15px; color: var(--muted-light); pointer-events: none; transition: top .3s var(--ease-out), font-size .3s, letter-spacing .3s, color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { top: 0; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.field.is-error input { border-bottom-color: #e58f8f; }
.form-error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #f0b3b3 !important; }
.form-error.is-ok { color: var(--gold) !important; }
.rdv__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.rdv__fine { margin: 0; font-size: 12.5px; max-width: 360px; }

/* ——— Pied de page ——— */
.site-footer { padding: clamp(80px, 10vw, 130px) 0 36px; background: var(--ink); border-top: 1px solid var(--line-light); }
.footer__logo { width: min(500px, 78vw); aspect-ratio: 1965 / 1108; height: auto; margin: 0 auto clamp(48px, 6vw, 72px); fill: url(#grad-nacre); }
.footer__cols { display: flex; justify-content: center; gap: clamp(40px, 8vw, 120px); flex-wrap: wrap; text-align: center; }
.footer__col { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-light); transition: color .3s; }
.footer__col a:hover { color: var(--text-light); }
.footer__col svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer__bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 12px; color: var(--muted-light); }
.footer__bottom p { margin: 0; }
.footer__bottom a { border-bottom: 1px solid var(--line-light); }

/* ——— Agrandissement ——— */
.lightbox { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: rgba(6, 5, 7, .95); opacity: 0; transition: opacity .4s; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: 88vw; text-align: center; }
.lightbox__fig img { max-width: 88vw; max-height: 80vh; width: auto; margin: 0 auto; object-fit: contain; }
.lightbox__fig figcaption { margin-top: 16px; font-size: 13px; color: var(--muted-light); }
.lightbox__close, .lightbox__nav { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-light); background: rgba(255, 255, 255, .04); cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .12); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: var(--text-light); stroke-width: 1.4; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ——— Curseur perle ——— */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; pointer-events: none; display: grid; place-items: center; background: radial-gradient(circle at 34% 30%, #fff 0 9%, #ecdccd 32%, #a3929a 70%, #4f4249 100%); box-shadow: 0 0 14px rgba(236, 220, 205, .45); opacity: 0; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .35s, opacity .3s; will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(236, 220, 205, .1); border: 1px solid rgba(236, 220, 205, .7); box-shadow: none; }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(246, 240, 234, .94); border: 0; }
.cursor span { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Grain photographique */
.grain { position: fixed; inset: -60%; z-index: 150; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.4s steps(5) infinite; }
@keyframes grain { 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, 8%); } 80% { transform: translate(8%, 2%); } }

/* ——— Tablettes ——— */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 26px; background: radial-gradient(ellipse at 50% 35%, #17141a 0%, var(--ink) 70%); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .nav a { font: 300 clamp(30px, 6vw, 44px)/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--text-light); }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__mobile-extra { display: block; margin-top: 18px; }
  .nav__mobile-extra .btn { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 17px 30px; }
  .burger { display: block; }
  .header-cta { display: none; }
  .notes { grid-template-columns: repeat(2, 1fr); }
  .note:nth-child(even) { margin-top: 0; }
  .note:nth-child(2n) { margin-top: 40px; }
}

/* ——— Mobiles ——— */
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .hero { justify-content: flex-end; }
  .hero__veil { background: linear-gradient(180deg, rgba(5, 7, 9, 0) 30%, rgba(5, 7, 9, .7) 58%, rgba(5, 7, 9, .92) 100%); }
  .hero__fallback { width: 60vw; right: 20vw; top: 30%; }
  .hero__inner { padding-top: 46vh; padding-bottom: 110px; }
  .hero__title { font-size: clamp(56px, 16vw, 96px); }
  .hero__hint { display: none; }
  .hero__place span { max-width: 52vw; }
  .story__grid, .shades__grid, .finder__grid, .visit__grid, .care__grid, .section__head--split, .rdv { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .saga__sticky { position: static; height: auto; padding: clamp(80px, 14vw, 120px) 0; gap: 40px; }
  .saga__track { flex-direction: column; align-items: stretch; width: auto; gap: 72px; padding: 0 var(--pad); transform: none !important; }
  .chap, .chap--end { width: auto; grid-template-columns: 1fr; gap: 22px; }
  .chap__year { position: relative; top: auto; left: auto; font-size: clamp(76px, 22vw, 120px); margin-bottom: -8vw; transform: none; }
  .chap__media { height: auto; aspect-ratio: 4 / 3; }
  .saga__bar { display: none; }
  .guide__box { grid-template-columns: 1fr; grid-template-areas: 'tabs' 'stage' 'panels'; }
  .guide__stage { min-height: 280px; }
  .bar { grid-template-columns: 1fr 1fr 40px; }
  .care__head { position: static; }
  .care__img { width: 60%; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step__img { max-width: 420px; }
  .art__grid { grid-template-columns: 1fr; }
  .artcard { aspect-ratio: 4 / 5; }
  .shades__stage { max-width: 460px; }
  .lookbook__head { flex-direction: column; align-items: flex-start; }
  .look:nth-child(even) { margin-top: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__word { width: 100px; height: 18px; }
  .lang { font-size: 10px; }
  .site-header__side { gap: 12px; }
  .hero__foot { bottom: 20px; }
  .hero__scroll span { display: none; }
  .stats dt { font-size: 34px; }
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .quiz__pearl { width: 180px; }
  .quiz__actions { justify-content: center; }
  .notes { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .note:nth-child(2n) { margin-top: 0; }
  .rdv__form { grid-template-columns: 1fr; }
  .story__seal { right: 0; top: 0; }
  .shades__photo { width: 42%; right: 0; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
}

/* ——— Mouvement réduit ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .hero__line .ch, .hero__line .ln { transform: none; }
  .hero__eyebrow, .hero__lead, .hero__cta, .hero__hint { opacity: 1; }
  .js .reveal, .js .reveal--clip { opacity: 1; transform: none; }
  .js .reveal--clip::after { display: none; }
  .split .w > span { transform: none; }
  .grain { display: none; }
}

/* ——————————————————————————————————————————————
   Version en plusieurs pages : base du site actuel, style Smart Lagoon
   —————————————————————————————————————————————— */
.section { padding: clamp(72px, 9vw, 128px) 0; }

/* Accueil : diaporama */
.hero--slides { min-height: 88vh; min-height: 88svh; }
.slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slides__item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.slides__item.is-active { opacity: 1; }
.slides__item img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slides__item.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero--slides .hero__veil { background: linear-gradient(90deg, rgba(5, 7, 9, .78) 0%, rgba(5, 7, 9, .42) 45%, rgba(5, 7, 9, .12) 75%), linear-gradient(0deg, rgba(5, 7, 9, .55) 0%, rgba(5, 7, 9, 0) 30%); }
.hero--slides .hero__title { font-size: clamp(60px, 9vw, 140px); }
.slides__dots { display: flex; gap: 10px; }
.slides__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.slides__dots button::before { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(243, 236, 229, .35); transition: background .4s, transform .4s; }
.slides__dots button[aria-current="true"]::before { transform: translate(-50%, -50%) scale(1.3); }
.slides__dots button[aria-current="true"]::before { background: var(--gold); }

/* Bandeaux des pages intérieures */
.page-hero { position: relative; min-height: clamp(380px, 58vh, 580px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); isolation: isolate; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 14s linear forwards; }
.page-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 7, 9, .82) 0%, rgba(5, 7, 9, .35) 55%, rgba(5, 7, 9, .45) 100%); }
.page-hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(50px, 7.4vw, 108px); line-height: .95; margin: 0 0 18px; }
.page-hero h1 em { background-image: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.page-hero__lead { max-width: 560px; margin: 0; color: var(--muted-light); font-size: clamp(16px, 1.3vw, 18px); }

/* Sous-menu de la page produits */
.subnav { position: sticky; top: 0; z-index: 40; background: var(--nacre); border-bottom: 1px solid var(--line-dark); }
.subnav__in { display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 18px 0; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); transition: color .3s; }
.subnav a:hover { color: var(--text-dark); }
.site-header:not(.is-hidden) ~ main .subnav { top: var(--header-h); transition: top .5s var(--ease); }

/* Accueil : notre histoire en court */
.story__more { margin-top: 10px; }

/* Accueil : nos univers (cartes cliquables) */
.univers .artcard { display: block; color: var(--text-light); }
/* lisibilité du texte sur les photos claires */
.univers .artcard__body { background: linear-gradient(180deg, rgba(12, 8, 6, 0), rgba(12, 8, 6, .9) 42%); padding-top: 70px; }
.univers .artcard img { transition: transform 1.6s var(--ease-out); }
.artcard__go { display: inline-block; margin-top: 12px; font-size: 22px; color: var(--gold); transition: transform .5s var(--ease-out); }
.artcard:hover .artcard__go { transform: translateX(8px); }

/* Accueil : Instagram (remplace le bloc vide du site actuel) */
.insta__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.insta__head h2 { margin: 0; }
.insta__head .btn { display: inline-flex; align-items: center; gap: 10px; }
.ig-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.insta__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.4vw, 18px); }
.insta__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.insta__item:hover img { transform: scale(1.06); }
.site-footer .ig-icon { display: inline-block; vertical-align: -3px; margin-right: 8px; width: 16px; height: 16px; }

/* Accueil : nous trouver */
.visit--home .places { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.visit--home .places__mail { grid-column: 1 / -1; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 48px); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__grid header { position: sticky; top: calc(var(--header-h) + 40px); }
.qa { border-bottom: 1px solid var(--line-dark); }
.qa:first-child { border-top: 1px solid var(--line-dark); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 clamp(21px, 1.9vw, 26px)/1.25 var(--serif); color: var(--text-dark); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; font: 300 28px/1 var(--sans); color: var(--gold-deep); transition: transform .4s var(--ease-out); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 24px; max-width: 620px; }
.qa p a { color: var(--gold-deep); border-bottom: 1px solid currentColor; margin-left: 4px; white-space: nowrap; }


/* Entretien plus compact */
.care__grid { align-items: center; }
.care__head { position: static; } /* reste collée au haut de sa section (pas d’effet sticky) */
.care__img { width: 60%; aspect-ratio: 1; }
.tips { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.tip { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; }
.tip:nth-child(2) { border-top: 1px solid var(--line-dark); }
.tip svg { width: 34px; height: 34px; }
.tip p { font-size: 15.5px; }
.care__love { margin-top: 18px; }

@media (max-width: 900px) {
  .hero--slides .hero__veil { background: linear-gradient(180deg, rgba(5, 7, 9, .4) 0%, rgba(5, 7, 9, .55) 28%, rgba(5, 7, 9, .88) 55%, rgba(5, 7, 9, .96) 100%); }
  .hero--slides .hero__inner { padding-top: 30vh; }
  .care__head, .faq__grid header { position: static; }
  .care__img { display: none; }
  .faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .visit--home .places { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero--slides { min-height: 92svh; }
  .hero--slides .hero__title { font-size: clamp(54px, 16vw, 88px); }
  .page-hero { min-height: 420px; }
  .tips { grid-template-columns: 1fr; }
  .tip:nth-child(2) { border-top: 0; }
  .art__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .art__grid::-webkit-scrollbar { display: none; }
  .artcard { flex: 0 0 78%; scroll-snap-align: start; }
  .notes { display: flex; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 8px 4px 24px; scrollbar-width: none; }
  .notes::-webkit-scrollbar { display: none; }
  .note { flex: 0 0 74%; scroll-snap-align: center; margin-top: 0 !important; }
  .steps { gap: 24px; }
  .step { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; }
  .step__img { margin: 0; max-width: none; }
  .step h3 { font-size: 24px; margin-bottom: 6px; }
  .step p:last-child { font-size: 15px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slides__item.is-active img, .page-hero__img { animation: none; }
}

/* ——————————————————————————————————————————————
   En-tête comme le site actuel : logo centré, menu dessous, se réduit au défilement
   —————————————————————————————————————————————— */
:root { --header-h: 112px; }
html { scroll-padding-top: 130px; }
.site-header--center { position: sticky; top: 0; background: var(--nacre); color: var(--text-dark); border-bottom: 1px solid var(--line-dark); transition: transform .5s var(--ease), border-color .5s; }
.site-header--center.is-hidden { transform: translateY(-100%); }
.nav-open .site-header--center { transform: none; }
.site-header--center::before { display: none; }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 20px; padding-bottom: 12px; transition: padding .45s var(--ease-out); }
.hdr__side--left { justify-self: start; }
.hdr__side--right { justify-self: end; }
.brand--logo { display: block; color: inherit; }
.brand__logo { display: block; width: 176px; height: auto; fill: #2b2528; transition: width .45s var(--ease-out), fill .4s; }
.site-header--center.is-scrolled .hdr { padding-top: 8px; padding-bottom: 6px; }
.site-header--center.is-scrolled .brand__logo { width: 92px; }
.site-header--center .lang { color: var(--muted-dark); }
.site-header--center .lang button[aria-pressed="true"] { color: var(--text-dark); }
.site-header--center .burger { border-color: var(--line-dark); }
.site-header--center .burger span { background: var(--text-dark); }
@media (min-width: 1081px) {
  .site-header--center .nav { justify-content: center; gap: clamp(28px, 3.4vw, 52px); max-width: 820px; margin: 0 auto; padding: 12px 0 14px; border-top: 1px solid var(--line-dark); transition: padding .45s var(--ease-out); }
  .site-header--center.is-scrolled .nav { padding: 6px 0 8px; }
  .site-header--center .nav a { color: var(--muted-dark); }
  .site-header--center .nav a:hover, .site-header--center .nav a.is-current { color: var(--text-dark); }
}
@media (max-width: 1080px) {
  :root { --header-h: 88px; }
  html { scroll-padding-top: 100px; }
  .hdr { padding-top: 12px; padding-bottom: 10px; }
  .brand__logo { width: 128px; }
  .site-header--center.is-scrolled .brand__logo { width: 84px; }
  .nav-open .site-header--center { background: transparent; border-bottom-color: transparent; }
  .nav-open .brand__logo { fill: var(--blush); }
  .nav-open .site-header--center .lang, .nav-open .site-header--center .lang button[aria-pressed="true"] { color: var(--text-light); }
  .nav-open .site-header--center .burger { border-color: var(--line-light); }
  .nav-open .site-header--center .burger span { background: var(--text-light); }
}

/* Couverture de l'accueil : photos seules, comme le site actuel */
.cover { position: relative; height: clamp(320px, 72vh, 760px); overflow: hidden; background: var(--ink); }
.cover .slides { z-index: 0; }
.cover .slides__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; justify-content: center; gap: 4px; }
.cover .slides__dots button::before { background: rgba(255, 255, 255, .5); box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.cover .slides__dots button[aria-current="true"]::before { background: #fff; }
@media (max-width: 600px) { .cover { height: 58svh; } }

/* Bandeaux des pages : plus sobres, sous l'en-tête */
.page-hero { min-height: clamp(260px, 42vh, 440px); }
.page-hero__inner { padding-top: 48px; padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); }
.subnav { position: static; }

/* Pied de page : logo plus petit */
.footer__logo { width: min(210px, 52vw); margin-bottom: clamp(32px, 4vw, 44px); }
.site-footer { padding-top: clamp(56px, 7vw, 88px); }

/* En-tête translucide et flouté au défilement, comme la maquette de Joram */
.site-header--center { background: transparent; }
.site-header--center::before { display: block; content: ''; position: absolute; inset: 0; z-index: -1; opacity: 1; background: var(--nacre); transition: background .5s var(--ease), -webkit-backdrop-filter .5s, backdrop-filter .5s; }
.site-header--center.is-scrolled::before { background: rgba(246, 240, 234, .68); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.site-header--center.is-scrolled { border-bottom-color: rgba(30, 26, 28, .08); }
@media (max-width: 1080px) {
  .nav-open .site-header--center::before { opacity: 0; }
}

/* Pas de trait sous le menu principal */
.site-header--center, .site-header--center.is-scrolled { border-bottom: 0; }

/* Badge rond « Comme un rêve » : ombre ronde (Safari) et texte qui ne se chevauche plus */
.story__seal { background: none; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; filter: drop-shadow(0 10px 16px rgba(60, 35, 25, .22)); }
.story__seal-bg { fill: var(--nacre); }
.story__seal text { font-size: 12px; letter-spacing: 0; }

/* Une seule boutique */
.visit--home .places { grid-template-columns: minmax(0, 640px); }

/* Titres des pages : sobres, fond crème uni, sans photo */
.page-title { background: var(--nacre); color: var(--text-dark); text-align: center; padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); }
.page-title__inner { max-width: 760px; }
.page-title .eyebrow { justify-content: center; color: var(--gold-deep); margin-bottom: 18px; }
.page-title .eyebrow::before { display: none; }
.page-title h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.08; margin: 0 0 18px; color: var(--text-dark); }
.page-title h1 em { color: var(--gold-deep); }
.page-title h1::after { content: ''; display: block; width: 48px; height: 1px; margin: 26px auto 0; background: var(--gold); }
.page-title__lead { margin: 0 auto; max-width: 540px; color: var(--muted-dark); font-size: clamp(15px, 1.2vw, 17px); }
.page-title + .subnav { border-top: 1px solid var(--line-dark); }
.subnav__in { justify-content: center; }


/* Contact : photo de la boutique à la place de la carte stylisée */
.shopphoto { margin: 0; max-width: 500px; }
.shopphoto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 999px 999px 4px 4px; }
.shopphoto figcaption { margin-top: 14px; font-size: 13px; letter-spacing: .03em; color: var(--muted-light); }
.visit .visit__grid { align-items: center; }
@media (max-width: 900px) { .shopphoto { max-width: 420px; margin: 0 auto; } }

/* Accueil : rangée de 3 vignettes produits, compacte */
.univers.section { padding-block: clamp(56px, 7vw, 88px); }
.univers .section__head { margin-bottom: clamp(26px, 3.4vw, 40px); }
.univers .section__head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.univers .art__grid { max-width: 1000px; margin-inline: auto; }
.univers .artcard { aspect-ratio: 4 / 3; }
.univers .artcard__body { padding: 60px 22px 20px; }
.univers .artcard__body p:last-of-type { font-size: 13.5px; margin: 0; }
.univers .artcard__go { margin-top: 6px; font-size: 18px; }
@media (max-width: 760px) { .univers .artcard { aspect-ratio: 4 / 3; flex-basis: 74%; } }

/* Vignettes de l'Accueil : animations d'origine (inclinaison, zoom, reflet) sans liseré sous Safari.
   - transform-style: flat : Safari ne coupe pas les enfants d'un élément en 3D (preserve-3d), la photo dépassait du bord ;
   - masque WebKit : force le découpage de la photo zoomée au bord de la vignette ;
   - photo un peu plus grande que la vignette (max-width: none, sinon la règle img { max-width: 100% } laisse un trait sur la droite). */
.univers .artcard { transform-style: flat; isolation: isolate; background: #120c09; -webkit-mask-image: -webkit-radial-gradient(white, black); -webkit-backface-visibility: hidden; backface-visibility: hidden; outline: 1px solid transparent; }
.univers .artcard img { top: -2px; left: -2px; right: auto; bottom: auto; width: calc(100% + 4px); height: calc(100% + 4px); max-width: none; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.univers .artcard__body { left: -1px; right: -1px; bottom: -1px; }

/* Fonds « bleu nuit » remplacés par le rose terne de la marque (certificat), assez foncé pour que le texte clair reste lisible */
/* Palette réduite à 3 fonds (crème, rose pâle, vieux rose), validée par Kevin : le brun et le noir passent aussi en vieux rose */
.section--abyss, .section--earth, .section--ink, .saga, .site-footer { --rose: #6b4f4c; --gold: #efd6bd; --curtain: #6b4f4c; background: radial-gradient(ellipse at 70% 40%, #7d5d59 0%, var(--rose) 60%, #5d4442 100%); }
.saga, .site-footer { background: var(--rose); }
.section--abyss p:not(.eyebrow), .section--earth p:not(.eyebrow), .section--ink p:not(.eyebrow) { color: rgba(250, 244, 238, .9); }
.section--abyss figcaption, .section--abyss small, .section--abyss address, .section--abyss .places__addr { color: rgba(250, 244, 238, .82); }
.section--abyss .shades__photo figcaption { color: var(--muted-dark); }

/* Accueil, « Notre boutique » : texte à gauche, photo de l'hôtel en arche à droite (rideau + parallaxe, sans zoom ni inclinaison au survol) */
.visit__home-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.visit__hotel { --curtain: var(--rose, #6b4f4c); max-width: 460px; width: 100%; justify-self: end; background: #5d4442; box-shadow: 0 40px 80px -40px rgba(30, 15, 12, .55); }
@media (max-width: 900px) { .visit__home-grid { grid-template-columns: 1fr; } .visit__hotel { justify-self: center; max-width: 380px; } }
.section--blush .artcard__body, .section--blush .artcard__body h3 { color: var(--text-light); }
.section--blush .artcard__body p { color: rgba(243, 236, 229, .8); }
body { background: #6b4f4c; }
@media (max-width: 1080px) { .site-header .nav { background: radial-gradient(ellipse at 50% 35%, #7d5d59 0%, #6b4f4c 70%); } }

/* « Lire une perle » : perle en WebGL, onglet Couleur */
.guide__stage .specimen__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.guide__stage.has-gl .specimen { display: none; }
.guide__stage { min-height: 400px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; margin-bottom: 18px; }
.swatch { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 6px; border: 1px solid transparent; border-radius: 999px; background: none; cursor: pointer; font: 400 12px/1.2 var(--sans); color: var(--text-dark); text-align: left; transition: border-color .3s, background .3s; }
.swatch i { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 3px 6px -2px rgba(40, 20, 15, .45); }
.swatch:hover { border-color: var(--line-dark); }
.swatch[aria-pressed="true"] { border-color: var(--text-dark); background: rgba(255, 255, 255, .55); }
.chips--small button { padding: 8px 14px; font-size: 12px; }
.panel__verdict--sm { font-size: clamp(22px, 2vw, 28px) !important; line-height: 1.25 !important; }
#lusterChips, #surfaceChips, #shapeChips { gap: 6px; }
@media (max-width: 1080px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .guide__stage { min-height: 300px; } .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Logo : le bas du « C » de « Comme un rêve… » touchait le bord du dessin et était coupé */
.brand__logo, svg:has(> use[href="#mm-logo"]), #mm-logo { overflow: visible; }

/* Essai de Kevin (2026-11-26) : le vieux rose foncé devient un rose poudré clair #e5ccc0, texte foncé */
.section--abyss, .section--earth, .section--ink, .saga, .site-footer {
  --rose: #e5ccc0; --curtain: #e5ccc0; --gold: var(--gold-deep);
  --text-light: var(--text-dark); --muted-light: var(--muted-dark); --line-light: rgba(30, 26, 28, .16);
  background: radial-gradient(ellipse at 70% 40%, #ecd8ce 0%, #e5ccc0 60%, #dcc0b3 100%);
  color: var(--text-dark);
}
.saga, .site-footer { background: #e5ccc0; }
body { background: #e5ccc0; }
.section--abyss p:not(.eyebrow), .section--earth p:not(.eyebrow), .section--ink p:not(.eyebrow),
.section--abyss figcaption, .section--abyss small, .section--abyss address, .section--abyss .places__addr { color: var(--muted-dark); }
.section--abyss .split em .w > span, .section--earth .split em .w > span, .section--ink .split em .w > span, .saga .split em .w > span,
.section--abyss h2:not(.split) em, .section--earth h2:not(.split) em, .section--ink h2:not(.split) em, .saga h2:not(.split) em, .saga .chap__end:not(.split) em { background-image: var(--iri-deep); }
.section--abyss .btn--ghost, .section--earth .btn--ghost, .section--ink .btn--ghost, .site-footer .btn--ghost { color: var(--text-dark); border-color: rgba(30, 26, 28, .35); }
.section--abyss .btn:not(.btn--ghost), .section--earth .btn:not(.btn--ghost), .section--ink .btn:not(.btn--ghost) { background: var(--text-dark); color: var(--nacre); }
.site-footer .brand__logo, .site-footer svg { fill: currentColor; }
.visit__hotel { background: #dcc0b3; }
@media (max-width: 1080px) {
  .site-header .nav { background: radial-gradient(ellipse at 50% 35%, #ecd8ce 0%, #e5ccc0 70%); }
  .nav-open .site-header--center .nav a { color: var(--text-dark); }
  .nav-open .brand__logo { fill: #2b2528; }
  .nav-open .site-header--center .lang, .nav-open .site-header--center .lang button[aria-pressed="true"] { color: var(--text-dark); }
  .nav-open .site-header--center .burger { border-color: var(--line-dark); }
  .nav-open .site-header--center .burger span { background: var(--text-dark); }
}
.saga .chap__year { -webkit-text-stroke-color: rgba(148, 105, 63, .55); }
.univers .artcard { --text-light: #f3ece5; color: #f3ece5; }
.univers .artcard__body h3 { color: #f3ece5; }
.univers .artcard__body p { color: rgba(243, 236, 229, .8) !important; }
.univers .artcard__go { color: #efd6bd; }
@media (max-width: 760px) { #guideBox .tabs button { padding: 14px 10px; letter-spacing: .12em; font-size: 11px; } }
.site-footer .footer__logo, .site-footer .footer__logo svg { fill: #f4efea; color: #f4efea; }

/* Titres en italique dégradé : laisser de la place aux jambages (g, p, q, y, f) */
.split .w { padding-bottom: .28em; margin-bottom: -.28em; }
.split em .w > span { padding-bottom: .2em; margin-bottom: -.2em; }
/* Italiques : le jambage du g (et les lettres penchées) dépasse à gauche et à droite de la boîte du mot ; on lui laisse de la place sans décaler le texte */
.split em .w { padding-left: .18em; margin-left: -.18em; padding-right: .12em; margin-right: -.12em; }
.split em .w > span { padding-left: .18em; margin-left: -.18em; padding-right: .12em; margin-right: -.12em; }
.hero__line--em .ln, h2:not(.split) em, .chap__end:not(.split) em, .page-hero h1 em { padding-left: .18em; margin-left: -.18em; padding-right: .12em; margin-right: -.12em; }
.hero__line { padding-bottom: .26em; margin-bottom: -.24em; }
.hero__line--em .ln { padding-bottom: .2em; margin-bottom: -.2em; }
h2 em, .chap__end em, .page-hero h1 em { padding-bottom: .2em; }

/* Lire une perle : le bloc de la perle garde la même taille quel que soit l'onglet */
.guide__stage { align-self: start; height: 460px; min-height: 0; }
@media (max-width: 1080px) { .guide__stage { height: 400px; } }
@media (max-width: 760px) { .guide__stage { height: 300px; min-height: 0; } }

/* Ligne fine sur toute la largeur sous la barre de menu, pour la séparer de la page */
.site-header--center, .site-header--center.is-scrolled { border-bottom: 1px solid rgba(30, 26, 28, .14); }
@media (max-width: 1080px) { .nav-open .site-header--center { border-bottom-color: transparent; } }

/* Menu : le trait de la page active se pose sur la ligne du bas de la barre de menu */
@media (min-width: 1081px) {
  .site-header--center .nav a::after { bottom: -15px; height: 2px; transition: transform .5s var(--ease-out), bottom .45s var(--ease-out); }
  .site-header--center.is-scrolled .nav a::after { bottom: -9px; }
}

/* Lire une perle : note sous la couleur choisie */
.panel__note { margin: -4px 0 14px; font-size: 13px; line-height: 1.5; color: var(--muted-dark); font-style: italic; }

/* Contact : point lumineux « Ouvert tous les jours » au doré du menu */
.place__hours::before { background: #c9a77b; box-shadow: 0 0 10px rgba(201, 167, 123, .9); }

/* Collections : barre des sections collée sous le menu, même fond translucide et flouté */
.subnav, .site-header:not(.is-hidden) ~ main .subnav { position: sticky; top: var(--hdr-h, 0px); z-index: 40; background: transparent; border-bottom: 1px solid rgba(30, 26, 28, .14); transform: none; transition: transform .5s var(--ease); }
.subnav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(246, 240, 234, .68); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.hdr-hidden .subnav, .hdr-hidden .site-header:not(.is-hidden) ~ main .subnav { transform: translateY(calc(-1 * var(--hdr-h, 0px) - 100%)); }
.subnav a { position: relative; }
.subnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .5s var(--ease-out); }
.subnav a.is-active { color: var(--gold-deep); }
.subnav a.is-active::after { transform: scaleX(1); }
@media (max-width: 760px) {
  .subnav__in { justify-content: flex-start; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .subnav a { padding: 16px 0; }
}
/* Barre collée : elle touche le menu, sans double trait ni espace */
.page-title + .subnav.is-stuck { border-top-color: transparent; }
.subnav.is-stuck, .site-header:not(.is-hidden) ~ main .subnav.is-stuck { top: calc(var(--hdr-h, 0px) - 1px); }

/* Portées : consigne adaptée (souris ou doigt) */
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }

/* ——— Espacements verticaux harmonisés (demande de Kevin) ———
   Sections : 64 px en haut et en bas (44 px sous 768 px).
   Titre de section → contenu : 28 px. Sous le menu, avant la page : 40 px. */
main > section, main > .page-title, main > .page-hero, .site-footer { padding-top: 64px !important; padding-bottom: 64px !important; }
main > :first-child { padding-top: 40px !important; }
main > .cover:first-child { margin-top: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
main > .subnav { padding-top: 0 !important; padding-bottom: 0 !important; }
main h2, main .page-title h1, main .page-hero h1 { margin-bottom: 28px !important; }
main [class*="__head"] { margin-bottom: 28px !important; row-gap: 28px !important; }
main [class*="__head"] > :last-child, main [class*="__head"] > div > :last-child:not(:only-child) { margin-bottom: 0 !important; }
main h2 + *, main .page-title h1 + * { margin-top: 0 !important; }
@media (max-width: 767px) {
  main > section, main > .page-title, main > .page-hero, .site-footer { padding-top: 44px !important; padding-bottom: 44px !important; }
  main > :first-child { padding-top: 40px !important; }
  main > .cover:first-child { padding-top: 0 !important; padding-bottom: 0 !important; }
}
/* Le texte des sections commence en haut (plus de centrage vertical qui ajoute du vide) */
main .story__grid, main .shades__grid, main .visit__grid, main .visit .visit__grid, main .care__grid, main .visit__home-grid, main .finder__grid { align-items: start !important; }
main > section > .wrap > :last-child, main > section > :last-child { margin-bottom: 0 !important; }

/* Bande photo pleine largeur (FAQ, perles sur nacre) */
main > .photoband { padding:0!important; margin:0; height:clamp(300px, 56vh, 560px); overflow:hidden; background:#e9e6e2; }
.photoband img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 38%; }
@media (max-width:767px){ main > .photoband { height:clamp(220px, 42vh, 340px); } }
.step__img img[src*="perles-sur-nacre"] { object-position:54% 50%; }
.artcard img[src*="perles-sur-nacre"] { object-position:52% 40%; }

/* Pied de page (Kevin, 2026-11-29) : fond #f3efea, logo vieux rose, icône Instagram en contour */
.site-footer { background: #f3efea !important; }
.site-footer .footer__logo, .site-footer .footer__logo svg { fill: #b5847e; color: #b5847e; }
.site-footer .ig-icon { fill: none !important; stroke: currentColor; stroke-width: 1.8; }
.site-footer .ig-icon circle:last-child { fill: currentColor !important; stroke: none; }

/* Mentions légales */
.legal__wrap { max-width: 760px; }
.legal__block + .legal__block { margin-top: 44px; }
.legal__block h2 { font-size: clamp(26px, 3vw, 34px); }
.legal__block p { line-height: 1.75; }
.legal__block a { text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { background: rgba(201, 167, 123, .22); padding: 0 4px; border-radius: 3px; }
.site-footer .footer__bottom a[href="mentions-legales.html"] { color: inherit; }

/* Bloc « Une présentation privée ? » : fond clair du thème pour le détacher (Kevin, 2026-11-29) */
.visit .rdv { background: #f3efea; border-color: rgba(30, 26, 28, .08); -webkit-backdrop-filter: none; backdrop-filter: none; }
.visit .rdv .field input, .visit .rdv .field select, .visit .rdv .field textarea { border-bottom-color: rgba(30, 26, 28, .2); }
/* Bouton « Envoyer ma demande » : sobre, sans reflets multicolores au survol */
.visit .rdv .btn::after { display: none; }
.visit .rdv .btn:hover { background: #3d3438; }

/* Ligne entre le menu et la barre des sections : pleine et opaque (Kevin, 2026-11-30) */
.site-header--center, .site-header--center.is-scrolled { border-bottom-color: #d5d1cd; }
.page-title + .subnav.is-stuck { border-top-color: #d5d1cd; }

/* Section « La perle la plus rare » : aux couleurs du site (Kevin, 2026-11-30) */
.saga { background: #e5ccc0 !important; color: var(--text-dark); --line-light: rgba(30, 26, 28, .14); --yr: clamp(96px, 11vw, 180px); --edge: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad))); }
.saga h2, .saga h3, .saga .chap__end { color: var(--text-dark); }
.saga p:not(.eyebrow):not(.chap__kicker):not(.chap__year) { color: var(--muted-dark); }
.saga .eyebrow, .saga .chap__kicker { color: var(--gold-deep); }
.saga .chap__media { box-shadow: 0 24px 60px -30px rgba(80, 50, 40, .45); }
.saga .saga__head { padding-top: 0; }
.saga .saga__head h2 { font-size: clamp(42px, 6vw, 86px); }

/* La page défile normalement ; les chapitres défilent à l'horizontale dans la section (Kevin, 2026-11-30) */
.saga .saga__sticky { position: static; height: auto; overflow: visible; display: block; padding: 0; }
.saga .saga__track { display: flex; flex-direction: row; align-items: center; gap: clamp(40px, 6vw, 96px); width: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: var(--edge); padding: calc(var(--yr) * .62) var(--edge) 6px; margin-top: calc(var(--yr) * -.2); transform: none !important; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; outline: none; }
.saga .saga__track::-webkit-scrollbar { display: none; }
.saga .saga__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.saga .saga__track img { -webkit-user-drag: none; user-select: none; }
.saga .chap { flex: none; width: min(80vw, 980px); grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 56px); scroll-snap-align: start; }
.saga .chap--end { width: min(72vw, 820px); display: block; }
.saga .chap__year { position: absolute; top: calc(var(--yr) * -.62); left: 42%; margin: 0; font-size: var(--yr); -webkit-text-stroke: 1px rgba(148, 105, 63, .5); }
.saga .chap__media { height: min(52vh, 480px); aspect-ratio: auto; }
.saga .saga__foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.saga .saga__bar { display: block; flex: 1; width: auto; padding: 0; }
.saga__bar i { background: var(--iri-deep); }
.saga__arrows { display: flex; gap: 10px; flex: none; }
.saga__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(30, 26, 28, .25); background: transparent; color: var(--text-dark); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
.saga__arrow:hover:not(:disabled) { background: rgba(251, 247, 242, .55); border-color: rgba(30, 26, 28, .45); }
.saga__arrow:disabled { opacity: .35; cursor: default; }
.saga__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.saga .saga__track:focus-visible { box-shadow: inset 0 0 0 2px var(--gold-deep); }
@media (max-width: 900px) {
  .saga { --edge: var(--pad); }
  .saga .saga__track { align-items: flex-start; gap: 20px; padding-top: 0; margin-top: 0; }
  .saga .chap { width: 84vw; grid-template-columns: 1fr; gap: 18px; }
  .saga .chap--end { width: 84vw; align-self: center; }
  .saga .chap__year { position: relative; top: auto; left: auto; font-size: clamp(64px, 18vw, 110px); margin: 0 0 -.38em; }
  .saga .chap__media { height: auto; aspect-ratio: 4 / 3; }
  .saga .chap__end { font-size: clamp(28px, 8vw, 40px); }
}
.saga__dots { display: flex; gap: 4px; flex: none; }
.saga__dot { font-variant-numeric: lining-nums; min-width: 44px; height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: italic 400 22px/1 var(--serif); color: rgba(30, 26, 28, .4); transition: color .3s; }
.saga__dot:hover, .saga__dot.is-on { color: var(--gold-deep); }
.saga__dot.is-on { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (max-width: 600px) { .saga .saga__foot { gap: 12px; } .saga__dot { min-width: 36px; font-size: 19px; } .saga__arrow { width: 40px; height: 40px; } .saga .saga__bar { display: none; } .saga__dots { flex: 1; } }
/* « La plus rare du monde » : fond sombre chaud, entre le noir de Joram et le vieux rose du site (Kevin, 2026-11-30) */
.saga { background: radial-gradient(ellipse at 70% 35%, #4d3b3c 0%, #3f3133 55%, #33282a 100%) !important; color: #f3ece5; --line-light: rgba(243, 236, 229, .16); }
.saga h2, .saga h3, .saga .chap__end { color: #f3ece5; }
.saga p:not(.eyebrow):not(.chap__kicker):not(.chap__year) { color: rgba(243, 236, 229, .7); }
.saga .eyebrow, .saga .chap__kicker { color: #dcbf98; }
.saga .split em .w > span, .saga h2:not(.split) em, .saga .chap__end:not(.split) em { background-image: var(--iri); }
.saga .chap__year { -webkit-text-stroke: 1px rgba(220, 191, 152, .5); }
.saga .chap__media { box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); }
.saga__bar i { background: var(--iri); }
.saga__arrow { border-color: rgba(243, 236, 229, .35); color: #f3ece5; }
.saga__arrow:hover:not(:disabled) { background: rgba(243, 236, 229, .1); border-color: rgba(243, 236, 229, .6); }
.saga__dot { color: rgba(243, 236, 229, .45); }
.saga__dot:hover, .saga__dot.is-on { color: #dcbf98; }
.saga .saga__track:focus-visible { box-shadow: inset 0 0 0 2px #dcbf98; }

/* Menu du haut : fixé (et non « sticky ») pour que son rétrécissement au défilement ne décale plus la page
   (le décalage faisait sauter le menu et le logo). La place qu'il occupait est gardée par body. */
.site-header--center { position: fixed; top: 0; left: 0; right: 0; }
body { padding-top: 187.24px; }
@media (max-width: 1080px) { body { padding-top: 95.18px; } }

/* Portées : flèches et barre de progression sous la galerie (souris de PC, 2026-12-02) */
.rail__foot { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.rail__bar { position: relative; flex: 1; height: 1px; background: rgba(30, 26, 28, .16); }
.rail__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--iri-deep); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.rail__arrows { display: flex; gap: 10px; flex: none; }
.rail__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(30, 26, 28, .25); background: transparent; color: var(--text-dark); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
.rail__arrow:hover:not(:disabled) { background: rgba(251, 247, 242, .55); border-color: rgba(30, 26, 28, .45); }
.rail__arrow:disabled { opacity: .35; cursor: default; }
.rail__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 600px) { .rail__foot { gap: 12px; } .rail__arrow { width: 40px; height: 40px; } }

/* Boutons pleins : plus de reflets arc-en-ciel ni de bouton qui suit la souris.
   Survol sobre « encre adoucie » : le fond s'éclaircit légèrement (Kevin, 2026-12-02) */
.btn:not(.btn--ghost)::after { display: none; animation: none; }
.btn:not(.btn--ghost) { transition: background-color .35s ease, color .35s ease, border-color .35s ease; }
.btn:not(.btn--ghost):hover { background: #e9ded4; }
.section--abyss .btn:not(.btn--ghost):hover, .section--earth .btn:not(.btn--ghost):hover, .section--ink .btn:not(.btn--ghost):hover, .visit .rdv .btn:hover { background: #3d3438; }

/* ——— Bandeau de l'accueil : titre et texte sur chaque photo ——— */
.cover .slides__item::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11, 10, 12, .72) 0%, rgba(11, 10, 12, .38) 32%, rgba(11, 10, 12, 0) 62%); }
.slides__cap { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 1; color: var(--text-light); text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.slides__cap .wrap > * { max-width: 620px; opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.slides__item.is-active .slides__cap .wrap > * { opacity: 1; transform: none; transition-delay: .5s; }
.slides__item.is-active .slides__cap .slides__text { transition-delay: .7s; }
.slides__title { margin: 0 0 12px; font: 300 clamp(36px, 4.6vw, 64px)/1.04 var(--serif); letter-spacing: -.01em; }
.slides__title em { font-style: italic; background: var(--iri); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: iri 10s linear infinite; text-shadow: none; }
.slides__text { margin: 0; font: 300 17px/1.6 var(--sans); color: rgba(250, 244, 238, .92); max-width: 30em !important; }
@media (max-width: 600px) {
  .slides__cap { bottom: 52px; }
  .cover .slides__item::after { background: linear-gradient(0deg, rgba(11, 10, 12, .8) 0%, rgba(11, 10, 12, .5) 38%, rgba(11, 10, 12, 0) 70%); }
  .slides__title { font-size: clamp(28px, 8.4vw, 36px); margin-bottom: 8px; }
  .slides__text { font-size: 15px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { .slides__cap .wrap > * { transition: none; transform: none; } }

/* Carte stylisée de Bora Bora (page Contact) */
.bbmap { margin-top: clamp(64px, 8vw, 110px); }
.bbmap__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 48px; align-items: end; margin-bottom: 28px; }
.bbmap__head h3 { margin: 0; font: 300 clamp(30px, 3.4vw, 44px)/1.1 var(--serif); color: var(--text-dark); }
.bbmap__head p { margin: 0; max-width: 560px; }
.bbmap__stage { position: relative; height: clamp(420px, 62vw, 680px); border-radius: 28px; overflow: hidden; background: #ead9cd; border: 1px solid rgba(30, 26, 28, .08); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.bbmap__stage:focus-visible { box-shadow: 0 0 0 2px var(--gold-deep); }
.bbmap__stage.is-drag { cursor: grabbing; }
.bbmap__svg { display: block; width: 100%; height: 100%; }
.m-ocean { fill: #ead9cd; }
.m-lagoon { fill: url(#mLag); }
.m-reef { fill: none; stroke: #fbf6f0; stroke-width: 3; stroke-linejoin: round; opacity: .9; }
.m-reefflat { fill: #f4e6dc; stroke: #efdccf; stroke-width: .6; }
.m-pier { fill: none; stroke: #b9a59a; stroke-width: .7; stroke-linecap: round; }
.m-motus path { fill: none; stroke: #dcc0b3; stroke-linecap: round; stroke-linejoin: round; }
.m-land { fill: #e3c8bb; stroke: #f8f1ea; stroke-width: 1.4; stroke-linejoin: round; }
.m-land--main { fill: url(#mLand); }
.m-relief path { fill: none; stroke: rgba(148, 105, 63, .22); stroke-width: .9; }
.m-relief path:last-child { fill: rgba(148, 105, 63, .08); }
.m-runway { fill: none; stroke: #b9a59a; stroke-width: 3.2; stroke-linecap: round; }
.m-road { fill: none; stroke: #fbf4ec; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 .6px rgba(107, 79, 76, .55)); }
.m-road--minor { stroke-width: .6; stroke: #f8efe6; filter: none; opacity: .95; }
.m-bld { fill: #9c7d71; opacity: .8; }
.m-route { fill: none; stroke: var(--gold-deep, #94693f); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 6; vector-effect: non-scaling-stroke; animation: m-flow 1.6s linear infinite; }
@keyframes m-flow { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .m-route { animation: none; } }
.m-lab text { font: 400 11px/1 var(--sans); fill: #2b2528; paint-order: stroke; stroke: rgba(251, 247, 242, .9); stroke-width: 3px; stroke-linejoin: round; letter-spacing: .02em; }
.m-lab--village text { font: italic 400 15px/1 var(--serif); fill: #6b4f4c; letter-spacing: .03em; }
.m-lab--island text { font: italic 400 13px/1 var(--serif); fill: #8a6a5f; }
.m-lab--water text { font: italic 300 16px/1 var(--serif); fill: #a98d80; stroke: none; letter-spacing: .14em; }
.m-lab--peak text { font-size: 10.5px; fill: #5d4442; }
.m-lab--hotel text { font: 500 16px/1 var(--serif); fill: #2b2528; letter-spacing: .01em; }
.m-dot { fill: #2b2528; stroke: #fbf7f2; stroke-width: 1.6; }
.m-peak { fill: #94693f; stroke: #fbf7f2; stroke-width: 1.2; }
.m-pin__halo { fill: rgba(181, 132, 126, .22); animation: m-halo 2.4s ease-out infinite; transform-origin: 0 0; transform-box: fill-box; }
.m-pin__dot { fill: #b5847e; stroke: #fbf7f2; stroke-width: 2; }
.m-pin__star { fill: #fbf7f2; }
@keyframes m-halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .m-pin__halo { animation: none; } }
.bbmap__ctrl { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.bbmap__ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(30, 26, 28, .12); background: rgba(251, 247, 242, .92); color: #2b2528; font: 300 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.bbmap__ctrl button:hover { background: #fff; }
.bbmap__ctrl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bbmap__help { position: absolute; left: 16px; bottom: 14px; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(251, 247, 242, .88); font-size: 11.5px; color: #5d4442; pointer-events: none; transition: opacity .4s; }
.bbmap__stage.was-used .bbmap__help { opacity: 0; }
.bbmap__legend { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--muted-dark); }
.bbmap__legend li { display: flex; align-items: center; gap: 10px; }
.lg { display: inline-block; flex: none; }
.lg--hotel { width: 13px; height: 13px; border-radius: 50%; background: #b5847e; box-shadow: 0 0 0 4px rgba(181, 132, 126, .22); }
.lg--route { width: 26px; height: 2px; background: repeating-linear-gradient(90deg, #94693f 0 2px, transparent 2px 7px); }
.lg--road { width: 26px; height: 4px; border-radius: 2px; background: #fbf7f2; box-shadow: 0 0 0 1px rgba(30, 26, 28, .12); }
.lg--poi { width: 8px; height: 8px; border-radius: 50%; background: #2b2528; }
.bbmap__note { margin: 10px 0 0; font-size: 11.5px; color: var(--muted-dark); opacity: .8; }
@media (max-width: 767px) {
  .bbmap__head { grid-template-columns: 1fr; }
  .bbmap__stage { height: 440px; border-radius: 20px; }
  .bbmap__ctrl { right: 10px; top: 10px; }
}
.is-far .m-lab--poi text, .is-far .m-lab--peak text, .is-far .m-lab--minor { opacity: 0; }
.m-lab text, .m-lab--minor { transition: opacity .3s; }
.m-lab--hotel .m-sub { font: italic 400 13px/1 var(--serif); fill: #6b4f4c; }
.bbmap-dragging, .bbmap-dragging * { user-select: none !important; -webkit-user-select: none !important; cursor: grabbing !important; }
