/* Polices hébergées avec le site (SIL Open Font License). Généré par installer-polices.mjs */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/archivo-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;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/polices/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/cormorant-garamond-italique-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/cormorant-garamond-italique-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/cormorant-garamond-italique-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/cormorant-garamond-italique-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/cormorant-garamond-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/cormorant-garamond-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/polices/cormorant-garamond-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;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/polices/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/polices/inter-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;
}

/* Pages par parfum, style de la nouvelle version : pierre claire, niche de
   bijouterie éclairée sur étagère laiton, titres en Cormorant, mode sombre
   (choisi sur le site et mémorisé, bouton soleil / lune dans l'en-tête). */
:root {
  --fond: #E9E5DE;
  --surface: #E0DBD2;
  --encre: #151311;
  --encre-douce: #57514A;
  --accent: #74582B;
  --accent-doux: rgba(116, 88, 43, 0.4);
  --filet: rgba(21, 19, 17, 0.12);
  --vitrine: linear-gradient(180deg, #FBFAF7 0%, #F0ECE5 40%, #E0D9CE 100%);
  --alcove: inset 0 22px 34px -20px rgba(60, 40, 25, 0.38), inset 14px 0 24px -18px rgba(60, 40, 25, 0.24), inset -14px 0 24px -18px rgba(60, 40, 25, 0.24);
  --laiton: linear-gradient(180deg, #F7EFDF 0%, #E0C795 28%, #B8985F 72%, #8F7445 100%);
  --logo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --texte: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html[data-theme="sombre"] {
  --fond: #151311;
  --surface: #1E1B18;
  --encre: #EDE9E2;
  --encre-douce: #B3ACA2;
  --accent: #C9A66B;
  --accent-doux: rgba(201, 166, 107, 0.4);
  --filet: rgba(237, 233, 226, 0.14);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 16px/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
a { color: var(--encre); text-underline-offset: 3px; text-decoration-color: var(--accent-doux); }
a:hover { color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.pc { font: 500 14px/1.4 var(--texte); letter-spacing: 0.01em; }
.or { color: var(--accent); }

/* En-tête : logo, lien vers la liste, bouton soleil / lune */
.haut { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--filet); }
.haut .logo { font: 600 22px/1 var(--logo); letter-spacing: 0.5em; margin-right: -0.5em; text-decoration: none; }
.haut .actions { display: flex; align-items: center; gap: 20px; }
.haut .pc { color: var(--encre-douce); text-decoration: none; }
.haut .pc:hover { color: var(--accent); }
.bouton-theme { position: relative; width: 22px; height: 22px; padding: 0; border: none; background: none; color: var(--encre-douce); cursor: pointer; }
.bouton-theme:hover { color: var(--accent); }
.bouton-theme svg { position: absolute; inset: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity 400ms ease, rotate 500ms cubic-bezier(0.16, 1, 0.3, 1), scale 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.bouton-theme .soleil { opacity: 0; rotate: -90deg; scale: 0.5; }
html[data-theme="sombre"] .bouton-theme .soleil { opacity: 1; rotate: 0deg; scale: 1; }
html[data-theme="sombre"] .bouton-theme .lune { opacity: 0; rotate: 90deg; scale: 0.5; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

.cadre { max-width: 1140px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 96px; }
.fil { color: var(--encre-douce); font-size: 14px; margin-bottom: 32px; }
.fil a { color: var(--encre-douce); }

h1 { font: 400 clamp(40px, 6vw, 64px)/1.02 var(--serif); letter-spacing: -0.01em; margin: 4px 0 14px; font-variant-numeric: lining-nums; }
h2.pc { color: var(--accent); margin: 36px 0 12px; }
.accroche { color: var(--encre-douce); font: italic 21px/1.4 var(--serif); margin: 0 0 8px; }
.texte { margin: 16px 0 0; max-width: 60ch; font: italic 19px/1.5 var(--serif); }

/* Fiche : la photo dans une niche de bijouterie éclairée, sur son étagère laiton */
.produit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.visuel { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--vitrine); box-shadow: var(--alcove); }
.visuel::before { /* étagère laiton */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: var(--laiton);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.7);
}
.visuel::after { /* rampe de lumière */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: #FFF9EC;
  box-shadow: 0 1px 8px rgba(255, 236, 200, 0.95);
}
.visuel img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.visuel img.plein { width: 100%; height: 100%; object-fit: cover; } /* photo à fond coloré : elle remplit la niche */
.visuel::before, .visuel::after { z-index: 1; }

.variantes { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--filet); }
.variantes li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.variante { font-weight: 500; }
.prix { font: 500 21px/1.2 var(--serif); font-variant-numeric: lining-nums; text-align: right; }
.stock { grid-column: 1 / -1; color: var(--accent); font-size: 14px; }
.stock:empty { display: none; }

.bouton { display: inline-block; padding: 16px 30px; border: 1px solid var(--encre); color: var(--encre); text-decoration: none; font: 500 14px/1.2 var(--texte); transition: background-color 300ms, color 300ms, border-color 300ms; }
.bouton:hover, .bouton:focus-visible { background: var(--encre); color: var(--fond); }
.bouton.plein { background: var(--encre); color: var(--fond); }
.bouton.plein:hover, .bouton.plein:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--fond); }

.pyramide dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; padding-top: 4px; }
.pyramide dt { color: var(--encre-douce); padding-top: 3px; }
.pyramide dd { margin: 0; font: 19px/1.35 var(--serif); }
.source, .note { color: var(--encre-douce); font-size: 14px; }
.note { margin-top: 30px; }

.autres { margin-top: 72px; padding-top: 8px; border-top: 1px solid var(--filet); }
.autres ul, .maison ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.autres a, .maison a { font: 19px/1.4 var(--serif); text-decoration: none; }

.liste { display: grid; gap: 40px; margin-top: 40px; }
.maison h2 { font: 400 30px/1.2 var(--serif); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--filet); }

/* Pied de page : bande sombre, comme sur le site */
.pied { background: #151311; color: #B3ACA2; padding: 40px clamp(16px, 4vw, 40px); font-size: 14px; }
html[data-theme="sombre"] .pied { background: #0B0A09; }
.pied p { max-width: 1140px; margin: 0 auto 8px; }
.pied a { color: #EDE9E2; text-decoration-color: rgba(201, 166, 107, 0.4); }
.pied a:hover { color: #C9A66B; }

@media (max-width: 720px) {
  .produit { grid-template-columns: 1fr; }
  .visuel { aspect-ratio: 1; }
  .haut .actions { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bouton-theme svg, .bouton { transition: none; }
}
