/* ═════════ Jetons de design ═════════ */
:root {
  --bordeaux-nuit: #1c0409;
  --bordeaux-profond: #2a0710;
  --bordeaux: #4a0d1d;
  --velours: #6b1528;
  --prune: #3a0c22;
  --or: #c9a25e;
  --or-clair: #e2c48c;
  --or-pale: #f0dfba;
  --ivoire: #f5ede0;
  --ivoire-doux: #e9dccb;
  --brun-noir: #140a08;
  --texte-doux: #d9c7b5;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gouttiere: clamp(16px, 4vw, 56px);
  --largeur: 1280px;
  --rayon: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-lent: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bordeaux-profond);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; color: var(--or-clair); }

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

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.evitement {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  background: var(--ivoire); color: var(--bordeaux-profond);
  padding: 10px 16px; transform: translateY(-160%); transition: transform .2s;
}
.evitement:focus { transform: none; }

/* ═════════ Typographie ═════════ */
.surtitre {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--or-clair);
  display: inline-flex; align-items: center; gap: 12px;
}
.surtitre::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.titre-section {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -.01em;
  margin: 18px 0 22px;
}
.section__texte { color: var(--texte-doux); max-width: 52ch; font-size: 17px; }

/* ═════════ Boutons ═════════ */
.btn {
  --fond: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-lent);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn--or { background: linear-gradient(135deg, var(--or-pale), var(--or) 55%, #a9813f); color: var(--brun-noir); }
.btn--or::before { background: var(--ivoire); }
.btn--contour { border-color: rgba(240, 223, 186, .55); color: var(--ivoire); }
.btn--contour::before { background: var(--ivoire); }
.btn--contour:hover, .btn--contour:focus-visible { color: var(--bordeaux-profond); border-color: var(--ivoire); }
.btn--petit { min-height: 42px; padding: 0 20px; font-size: 12px; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px;
  color: var(--or-clair); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.lien-fleche::after { content: "→"; transition: transform .4s var(--ease); }
.lien-fleche:hover::after, .lien-fleche:focus-visible::after { transform: translateX(6px); }

/* ═════════ Navigation ═════════ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px var(--gouttiere);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav.est-compacte {
  background: rgba(28, 4, 9, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 8px; box-shadow: 0 1px 0 rgba(226, 196, 140, .15);
}
.nav__inner { max-width: var(--largeur); margin: 0 auto; display: flex; align-items: center; gap: 28px; min-height: 52px; }
.nav__logo {
  font-family: var(--serif); font-size: 22px; font-style: italic; text-decoration: none; color: var(--or-pale);
  white-space: nowrap; margin-right: auto;
}
.nav__menu ul { display: flex; gap: 30px; }
.nav__menu a:not(.btn) {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  position: relative; padding: 6px 0;
}
.nav__menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or-clair);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-lent);
}
.nav__menu a:not(.btn):hover::after, .nav__menu a:not(.btn):focus-visible::after, .nav__menu a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta-mobile, .nav__burger { display: none; }

@media (max-width: 1080px) {
  .nav__cta { display: none; }
  .nav__menu a:not(.btn) { white-space: normal; }
  .nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 46px; height: 46px; padding: 0 11px; background: none; border: 1px solid rgba(240, 223, 186, .4);
    border-radius: 50%; cursor: pointer; position: relative; z-index: 2;
  }
  .nav__burger-ligne { display: block; height: 1px; background: var(--ivoire); transition: transform .4s var(--ease); }
  .nav__burger[aria-expanded="true"] .nav__burger-ligne:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] .nav__burger-ligne:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    background: radial-gradient(120% 80% at 80% 0%, var(--velours), var(--bordeaux-nuit) 70%);
    display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px var(--gouttiere) 40px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
  }
  .nav__menu.est-ouvert { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .nav__menu ul { flex-direction: column; gap: 6px; }
  .nav__menu a:not(.btn) { font-family: var(--serif); font-size: clamp(30px, 8vw, 44px); text-transform: none; letter-spacing: 0; }
  .nav__cta-mobile { display: inline-flex; align-self: flex-start; }
  .nav__menu.est-ouvert li { animation: entree-menu .6s var(--ease-lent) both; }
  .nav__menu.est-ouvert li:nth-child(2) { animation-delay: .05s; }
  .nav__menu.est-ouvert li:nth-child(3) { animation-delay: .1s; }
  .nav__menu.est-ouvert li:nth-child(4) { animation-delay: .15s; }
  .nav__menu.est-ouvert li:nth-child(5) { animation-delay: .2s; }
}
@keyframes entree-menu { from { opacity: 0; transform: translateY(24px); } }
body.menu-ouvert { overflow: hidden; }
/* backdrop-filter crée un bloc conteneur qui enfermerait le menu plein écran */
body.menu-ouvert .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }

/* ═════════ Hero ═════════ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: 120px var(--gouttiere) 80px;
  background:
    radial-gradient(60% 50% at 50% 46%, rgba(140, 30, 52, .55), transparent 70%),
    radial-gradient(90% 70% at 10% 100%, var(--prune), transparent 60%),
    linear-gradient(180deg, var(--bordeaux-nuit), var(--bordeaux-profond) 40%, var(--bordeaux) 100%);
  isolation: isolate;
}
/* Texture velours : bruit fin + plis doux */
.hero::before, .section.collection::before, .sur-mesure::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .35; mix-blend-mode: overlay;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.hero__lumiere {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--lx, 50%) var(--ly, 40%), rgba(240, 210, 160, .16), transparent 65%);
  transition: background .2s;
}
.hero__contenu {
  position: relative; z-index: 2; max-width: var(--largeur); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: calc(100svh - 200px); justify-content: center;
}
.hero .surtitre { margin-bottom: 10px; }
.hero .surtitre::before { display: none; }
.hero__titre {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--ivoire);
  margin-bottom: 26px;
}

.hero__photo {
  margin: 0; z-index: 1; width: clamp(220px, min(26vw, 42svh), 360px);
  aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(226, 196, 140, .25);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.12); transition: transform 2.4s var(--ease-lent); }
.hero__photo.est-visible img { transform: scale(1.02); }
.hero__bas { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__intro { max-width: 46ch; color: var(--texte-doux); font-size: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__defiler {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 3;
  width: 26px; height: 42px; border: 1px solid rgba(240, 223, 186, .5); border-radius: 20px;
}
.hero__defiler span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--or-clair); border-radius: 2px; animation: defile 2.2s var(--ease) infinite; }
@keyframes defile { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ═════════ Bijoux flottants ═════════ */
.flottants { position: absolute; inset: 0; pointer-events: none; }
.flottants--arriere { z-index: 0; }
.flottants--avant { z-index: 4; }
/*
 * Trois mouvements indépendants qui se cumulent :
 *  - chute    : margin-top + rotate (arrivée en tombant depuis le haut, une seule fois)
 *  - dérive   : transform (flottement doux en continu après l'atterrissage)
 *  - parallax : translate via --px / --py (JS : défilement et pointeur)
 */
.flot {
  position: absolute; height: auto; will-change: transform;
  filter: drop-shadow(0 26px 30px rgba(10, 0, 3, .6)) drop-shadow(0 0 1px rgba(255, 230, 180, .3));
  translate: var(--px, 0) var(--py, 0);
  transform: rotate(var(--r0, -4deg));
}
.js .flot { margin-top: -140vh; rotate: var(--rchute, -35deg); }
.js .est-pret .flot {
  animation:
    chute var(--duree-chute, 1.9s) cubic-bezier(.45, 0, .2, 1) var(--delai, .3s) both,
    derive var(--duree, 14s) ease-in-out calc(var(--delai, .3s) + var(--duree-chute, 1.9s)) infinite alternate;
}
@keyframes chute {
  0%   { margin-top: -140vh; rotate: var(--rchute, -35deg); }
  74%  { margin-top: 12px; rotate: calc(var(--rchute, -35deg) * -.06); }
  100% { margin-top: 0; rotate: 0deg; }
}
@keyframes derive {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--r0, -4deg)); }
  50%  { transform: translate3d(var(--dx, 12px), var(--dy, -22px), 0) rotate(var(--r1, 3deg)); }
  100% { transform: translate3d(calc(var(--dx, 12px) * -.6), calc(var(--dy, -22px) * .5), 0) rotate(var(--r0, -4deg)); }
}
.f-alliance { width: clamp(150px, 17vw, 260px); left: 5%; top: 18%; --duree: 17s; --r0: -12deg; --r1: -4deg; --dy: -26px; --delai: .2s; --rchute: -50deg; }
.f-coeur { width: clamp(70px, 7vw, 120px); right: 26%; top: 12%; --duree: 12s; --r0: 10deg; --r1: -6deg; --dx: -14px; --delai: .75s; --rchute: 60deg; --duree-chute: 1.6s; }
.f-goutte { width: clamp(120px, 13vw, 200px); right: 6%; bottom: 12%; --duree: 15s; --r0: 14deg; --r1: 4deg; --delai: .5s; --rchute: 40deg; --duree-chute: 2.2s; }
.f-solitaire { width: clamp(150px, 16vw, 250px); right: 9%; top: 22%; --duree: 13s; --r0: 8deg; --r1: 18deg; --dx: -18px; --dy: 20px; --delai: .35s; --rchute: 70deg; }
.f-serpent { width: clamp(140px, 15vw, 240px); left: 9%; bottom: 18%; --duree: 16s; --r0: -18deg; --r1: -8deg; --delai: .6s; --rchute: -30deg; --duree-chute: 2.1s; }
.f-serpent-bague { width: clamp(110px, 11vw, 180px); left: 24%; top: 9%; --duree: 18s; --r0: 6deg; --r1: -6deg; --dy: 16px; --delai: .9s; --rchute: -65deg; --duree-chute: 1.7s; filter: drop-shadow(0 20px 24px rgba(10, 0, 3, .6)) blur(.4px); }

/* Flottants dans les sections : tombent quand la section arrive à l'écran */
.f-alliance-2 { width: clamp(120px, 14vw, 220px); right: 3%; top: 6%; --r0: 20deg; --r1: 8deg; --duree: 15s; --delai: .1s; --rchute: 55deg; }
.f-serpent-2 { width: clamp(140px, 16vw, 260px); left: -2%; top: 12%; --r0: -24deg; --r1: -12deg; --duree: 17s; --delai: .1s; --rchute: -40deg; }
.f-coeur-2 { width: clamp(70px, 8vw, 120px); right: 6%; bottom: 14%; --r0: 12deg; --r1: -4deg; --duree: 13s; --delai: .4s; --rchute: 50deg; --duree-chute: 2.2s; }

@media (max-width: 760px) {
  .hero { padding-top: 100px; }
  .hero__contenu { min-height: auto; }
  .hero__photo { width: min(56vw, 240px); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  /* Mobile : trois petits bijoux rangés dans les marges, de part et d'autre de la photo */
  .flot { --dx: 5px; --dy: -10px; }
  .f-alliance { width: 72px; left: 8px; top: 230px; bottom: auto; }
  .f-solitaire { width: 76px; right: 6px; left: auto; top: 300px; bottom: auto; }
  .f-goutte { width: 56px; left: 14px; right: auto; top: 395px; bottom: auto; }
  .f-serpent, .f-serpent-bague, .f-coeur { display: none; }
  .hero__defiler { display: none; }
}

/* ═════════ Bandeau ═════════ */
.bandeau {
  overflow: hidden; border-block: 1px solid rgba(226, 196, 140, .18);
  background: var(--bordeaux-nuit); padding: 9px 0;
}
.bandeau__piste { display: flex; width: max-content; gap: 22px; align-items: center; animation: bandeau 45s linear infinite; }
.bandeau span { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--or-pale); white-space: nowrap; }
.bandeau i { font-style: normal; color: var(--or); font-size: 8px; }
@keyframes bandeau { to { transform: translateX(-50%); } }

/* ═════════ Sections ═════════ */
.section { position: relative; padding: clamp(80px, 12vw, 160px) var(--gouttiere); isolation: isolate; }
.section > * { max-width: var(--largeur); margin-inline: auto; }
.section__tete { margin-bottom: 48px; }
.section__tete--centre { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__tete--centre .section__texte { margin-inline: auto; }
.centre { text-align: center; }

/* Collection */
.collection { background: linear-gradient(180deg, var(--bordeaux-profond), var(--prune) 50%, var(--bordeaux-profond)); }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filtre {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(240, 223, 186, .3); background: transparent; color: var(--ivoire-doux);
  font: 500 13px/1 var(--sans); letter-spacing: .08em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.filtre__court { display: none; }
.filtre:hover { border-color: var(--or-clair); color: var(--ivoire); }
.filtre[aria-pressed="true"] { background: var(--or-pale); border-color: var(--or-pale); color: var(--brun-noir); }

.grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2.4vw, 32px);
  transition: opacity .4s var(--ease), transform .6s var(--ease-lent);
}
.grille.est-cachee { opacity: 0; transform: translateY(16px); transition-duration: .28s, .28s; }
.carte__bouton {
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.carte__photo {
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); margin-bottom: 16px;
  background: var(--bordeaux); box-shadow: 0 0 0 1px rgba(226, 196, 140, .12);
}
.carte__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-lent), filter .8s; }
.carte__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 210, .22) 48%, transparent 62%);
  transform: translateX(-120%); transition: transform 1.2s var(--ease-lent);
}
.carte__bouton:hover .carte__photo img, .carte__bouton:focus-visible .carte__photo img { transform: scale(1.06); }
.carte__bouton:hover .carte__photo::after, .carte__bouton:focus-visible .carte__photo::after { transform: translateX(120%); }
.carte__voir {
  position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px;
  background: rgba(28, 4, 9, .72); backdrop-filter: blur(6px); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease);
}
.carte__bouton:hover .carte__voir, .carte__bouton:focus-visible .carte__voir { opacity: 1; transform: none; }
.carte__photo picture, .hero__photo picture, .alliances__photo picture, .savoir__photo picture { display: block; height: 100%; }
.carte__nom { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.carte__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 4px; font-size: 14px; color: var(--texte-doux); }

/* Alliances */
.alliances { background: radial-gradient(70% 60% at 20% 30%, var(--velours), transparent 70%), var(--bordeaux-profond); overflow: hidden; }
.alliances__grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.alliances__visuels { position: relative; min-height: 560px; }
.alliances__photo { margin: 0; position: absolute; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.alliances__photo img { width: 100%; height: 100%; object-fit: cover; }
.alliances__photo--1 { left: 0; top: 0; width: 66%; aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; }
.alliances__photo--2 { right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--bordeaux-profond); }
.choix { margin: 30px 0; }
.choix__titre { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ivoire-doux); margin-bottom: 14px; }
.choix__note { font-size: 14px; color: var(--texte-doux); margin-top: 12px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 10px; }
.pastilles li {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 18px;
  border: 1px solid rgba(240, 223, 186, .3); border-radius: 999px; font-size: 14px;
  transition: border-color .3s, background .3s;
}
.pastilles li:hover { border-color: var(--or-clair); background: rgba(240, 223, 186, .06); }
.gemme {
  width: 14px; height: 14px; transform: rotate(45deg); border-radius: 2px; background: var(--teinte);
  box-shadow: inset -3px -3px 4px rgba(0, 0, 0, .35), inset 2px 2px 3px rgba(255, 255, 255, .55);
}

/* Sur mesure */
.sur-mesure { background: linear-gradient(180deg, var(--bordeaux-profond), var(--bordeaux) 60%, var(--bordeaux-profond)); overflow: hidden; }
.sur-mesure__fond { position: absolute; inset: 0; max-width: none; pointer-events: none; z-index: -1; }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin-bottom: 56px; counter-reset: etape; }
.etape {
  padding: 36px 30px; border: 1px solid rgba(226, 196, 140, .22); border-radius: 160px 160px 4px 4px;
  background: linear-gradient(180deg, rgba(240, 223, 186, .06), transparent 70%); text-align: center;
  transition: border-color .4s, transform .6s var(--ease-lent);
}
.etape:hover { border-color: rgba(226, 196, 140, .55); transform: translateY(-6px); }
.etape__num { display: block; font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--or); line-height: 1; margin: 30px 0 14px; }
.etape h3 { font-family: var(--serif); font-size: 25px; margin-bottom: 10px; }
.etape p { color: var(--texte-doux); }

/* Services */
.services { background: var(--bordeaux-nuit); }
.services__grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cartes-service { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.carte-service {
  display: flex; flex-direction: column; padding: 34px 28px; min-height: 320px;
  border: 1px solid rgba(226, 196, 140, .2); background: linear-gradient(160deg, rgba(107, 21, 40, .35), transparent 70%);
  transition: border-color .4s, background .4s;
}
.carte-service:hover { border-color: rgba(226, 196, 140, .5); }
.carte-service__icone { width: 46px; height: 46px; color: var(--or-clair); margin-bottom: 26px; }
.carte-service h3 { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin-bottom: 12px; }
.carte-service p { color: var(--texte-doux); }

/* Savoir-faire */
.savoir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; }
.savoir > * { margin: 0; max-width: none; }
.savoir__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.savoir__photo img { width: 100%; height: 115%; object-fit: cover; translate: 0 var(--py, 0); }
.savoir__citation { margin: 0 0 24px; padding-left: 22px; border-left: 1px solid var(--or); }
.savoir__citation p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--or-pale); }

/* Contact */
.contact { background: radial-gradient(80% 60% at 90% 10%, var(--velours), transparent 60%), var(--bordeaux-profond); }
.contact__grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.coordonnees { margin: 36px 0 0; display: grid; gap: 0; }
.coordonnees div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(226, 196, 140, .18); }
.coordonnees dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair); padding-top: 3px; }
.coordonnees dd { margin: 0; font-size: 16px; }
.coordonnees a { text-decoration-color: rgba(226, 196, 140, .5); text-underline-offset: 4px; }
.coordonnees a:hover { color: var(--or-pale); }

.contact-direct { padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(226, 196, 140, .25); background: rgba(28, 4, 9, .55); border-radius: 160px 160px 4px 4px; text-align: center; padding-top: clamp(56px, 7vw, 80px); }
.contact-direct__titre { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.contact-direct__texte { color: var(--texte-doux); max-width: 40ch; margin: 0 auto 30px; }
.contact-direct__actions { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 0 auto; }

/* Pied de page */
.pied { background: var(--brun-noir); padding: 70px var(--gouttiere) 30px; }
.pied > * { max-width: var(--largeur); margin-inline: auto; }
.pied__haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(226, 196, 140, .18); }
.pied__logo { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 38px); color: var(--or-pale); }
.pied__liens { display: flex; flex-wrap: wrap; gap: 24px; }
.pied__liens a { text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ivoire-doux); }
.pied__liens a:hover, .pied__liens a:focus-visible { color: var(--or-pale); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: var(--texte-doux); }

/* ═════════ Fiche produit ═════════ */
.fiche {
  width: min(960px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid rgba(226, 196, 140, .3);
  background: var(--bordeaux-profond); color: var(--ivoire); border-radius: 4px; overflow: auto;
}
.fiche::backdrop { background: rgba(14, 2, 5, .78); backdrop-filter: blur(6px); }
.fiche[open] { animation: fiche-entree .5s var(--ease-lent); }
@keyframes fiche-entree { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.fiche__corps { display: grid; grid-template-columns: 1.1fr 1fr; position: relative; }
.fiche__photo { margin: 0; background: var(--bordeaux); }
.fiche__photo img { width: 100%; height: 100%; max-height: 80svh; object-fit: cover; }
.fiche__texte { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.fiche__texte h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.fiche__details { margin: 8px 0 14px; }
.fiche__details div { padding: 12px 0; border-block: 1px solid rgba(226, 196, 140, .18); }
.fiche__details dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.fiche__details dd { margin: 4px 0 0; }
.fiche__fermer {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(240, 223, 186, .4); background: rgba(28, 4, 9, .7); color: var(--ivoire); font-size: 26px; line-height: 1; cursor: pointer;
}
.fiche__fermer:hover { background: var(--ivoire); color: var(--bordeaux-profond); }

/* ═════════ Révélations au défilement ═════════ */
.js .revele { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-lent); }
.js .revele.est-visible { opacity: 1; transform: none; }
.js .revele-photo { clip-path: inset(18% 8% 0 8% round 4px); opacity: 0; transition: clip-path 1.6s var(--ease-lent), opacity 1s var(--ease); }
.js .revele-photo.est-visible { clip-path: inset(0 0 0 0 round 0); opacity: 1; }
.js .hero__photo.revele-photo { clip-path: inset(30% 0 0 0 round 999px 999px 4px 4px); }
.js .hero__photo.revele-photo.est-visible { clip-path: inset(0 0 0 0 round 999px 999px 4px 4px); }

/* ═════════ Responsive ═════════ */
@media (max-width: 960px) {
  .alliances__grille, .services__grille, .savoir, .contact__grille { grid-template-columns: 1fr; }
  .alliances__visuels { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 560px; width: 100%; }
  /* Les étapes gardent leur forme d'arche, empilées et centrées */
  .etapes { grid-template-columns: 1fr; max-width: 340px; gap: 18px; }
  .etape { padding: 28px 26px 30px; }
  .etape__num { margin: 22px 0 10px; font-size: 36px; }
}
@media (max-width: 640px) {
  .cartes-service { grid-template-columns: 1fr; }
  .carte-service { min-height: 0; }
  .fiche__corps { grid-template-columns: 1fr; }
  .fiche__photo img { max-height: 38svh; }
  .coordonnees div { grid-template-columns: 1fr; gap: 4px; }
  .f-alliance-2, .f-coeur-2 { display: none; }
  .f-serpent-2 { width: 96px; top: 24px; left: auto; right: 8px; opacity: .8; }
  /* Photos plus compactes sur téléphone */
  .grille { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .carte__photo { margin-bottom: 10px; }
  .carte__nom { font-size: 17px; }
  .carte__ligne { font-size: 12px; }
  .carte__voir { display: none; }
  .alliances__visuels { max-width: 320px; justify-self: center; }
  .savoir__photo { aspect-ratio: 1; max-width: 320px; width: 100%; justify-self: center; }
  /* Métaux, pierres et filtres : une seule ligne, comme sur ordinateur */
  .alliances__texte, .collection .section__tete { min-width: 0; }
  .pastilles, .filtres { flex-wrap: nowrap; gap: 6px; }
  .pastilles li { min-height: 34px; padding: 0 10px; gap: 6px; font-size: 12px; white-space: nowrap; flex: 0 1 auto; }
  .gemme { width: 10px; height: 10px; }
  .filtres {
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere);
  }
  .filtres::-webkit-scrollbar { display: none; }
  .filtre { flex: 0 0 auto; min-height: 38px; padding: 0 8px; font-size: 12px; letter-spacing: .02em; white-space: nowrap; }
  .filtre__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .filtre__court { display: inline; }
  /* Bouton d'essayage : tient sur une seule ligne */
  .btn--une-ligne { white-space: nowrap; font-size: 11px; letter-spacing: .08em; padding: 0 20px; min-height: 46px; }
  /* Entretien & réparation : cartes plus compactes */
  .services__grille { gap: 28px; }
  .cartes-service { gap: 12px; }
  .carte-service { padding: 22px 20px; }
  .carte-service__icone { width: 34px; height: 34px; margin-bottom: 14px; }
  .carte-service h3 { font-size: 20px; margin-bottom: 8px; }
  .carte-service p { font-size: 14px; line-height: 1.55; }
  .carte-service .lien-fleche { padding-top: 12px; font-size: 12px; }
  /* Mêmes tailles de texte sur toutes les sections (téléphone) */
  body { font-size: 15px; }
  .section__texte, .hero__intro { font-size: 15px; }
  .titre-section { font-size: 28px; margin: 14px 0 16px; }
  .surtitre { font-size: 11px; }
  .btn { font-size: 12px; min-height: 46px; }
  .etape { padding: 22px 20px 24px; }
  .etape__num { font-size: 30px; margin: 18px 0 8px; }
  .etape h3 { font-size: 20px; margin-bottom: 8px; }
  .etape p { font-size: 14px; line-height: 1.55; }
  .choix { margin: 22px 0; }
  .choix__note { font-size: 13px; }
  .coordonnees div { padding: 12px 0; }
  .coordonnees dt { font-size: 11px; }
  .coordonnees dd { font-size: 15px; }
  .contact-direct { padding: 44px 20px 26px; }
  .contact-direct__titre { font-size: 20px; margin-bottom: 8px; }
  .contact-direct__texte { font-size: 14px; margin-bottom: 20px; }
  .fiche__texte { padding: 22px 20px 26px; gap: 10px; }
  .fiche__texte h2 { font-size: 24px; }
  .fiche__details dd { font-size: 14px; }
  .pied { padding-top: 48px; }
  .pied__logo { font-size: 24px; }
  .pied__liens { gap: 14px 18px; }
  .pied__liens a { font-size: 12px; }
  .pied__bas { font-size: 12px; }
  /* Savoir-faire : photo et textes réduits */
  .savoir { gap: 26px; }
  .savoir__photo { max-width: 240px; }
  .savoir__citation { margin-bottom: 16px; padding-left: 16px; }
  .savoir__citation p { font-size: 18px; }
}

/* ═════════ Mouvement réduit : version stable ═════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .flot, .js .flot, .js .est-pret .flot { animation: none; transform: rotate(var(--r0, 0deg)); translate: none; margin-top: 0; rotate: none; }
  .bandeau__piste { animation: none; }
  .js .revele, .js .revele-photo { opacity: 1; transform: none; clip-path: none; }
  .hero__photo img { transform: none; }
}
