/* ==========================================================================
   Le Joyau — socle : charte, typographie, en-tête, tiroirs, pied, mouvement
   ========================================================================== */

@font-face { font-family: "Alice"; src: url(../fonts/alice.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Alice n'a pas d'italique : une emphase reste droite plutôt qu'en faux italique. */
@font-face { font-family: "Alice"; src: url(../fonts/alice.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/poppins-medium.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-normal-300-700.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(../fonts/montserrat-italic-400-600.woff2) format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }

:root {
	--petrole: #254854;
	--petrole-nuit: #17313a;
	--petrole-doux: #3d6371;
	--sable: #dcccb3;
	--sable-pale: #eee5d6;
	--ivoire: #faf7f1;
	--blanc: #fff;
	--encre: #231f20;
	--encre-douce: #4a4446;
	--or: #b9965b;
	--or-clair: #d8bd86;
	--filet: rgba(37, 72, 84, .16);
	--filet-clair: rgba(250, 247, 241, .18);

	--titre: "Alice", "Times New Roman", serif;
	--marque: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--texte: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--t-display: clamp(2.6rem, 1.4rem + 5vw, 5.5rem);
	--t-h1: clamp(2.35rem, 1.4rem + 3.6vw, 4.25rem);
	--t-h2: clamp(1.95rem, 1.3rem + 2.5vw, 3.25rem);
	--t-h3: clamp(1.35rem, 1.15rem + .7vw, 1.7rem);
	--t-corps: clamp(1rem, .96rem + .18vw, 1.0625rem);
	--t-petit: .875rem;
	--t-label: .75rem;

	--marge: clamp(1.25rem, .6rem + 3.6vw, 5rem);
	--section: clamp(4.5rem, 2.5rem + 8vw, 9.5rem);
	--largeur: 88rem;
	--entete: 76px;
	--barre: 0px;

	--courbe: cubic-bezier(.16, 1, .3, 1);
	--courbe-io: cubic-bezier(.65, 0, .35, 1);
	--lent: 1.1s;
	--moyen: .7s;
	--vif: .32s;
}

@media (max-width: 899px) {
	:root { --entete: 64px; --barre: calc(64px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 1rem); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--courbe-io); }

body.joyau {
	margin: 0;
	background: var(--ivoire);
	color: var(--encre);
	font: 400 var(--t-corps)/1.75 var(--texte);
	font-feature-settings: "kern", "liga";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	padding-bottom: var(--barre);
}
body.joyau #page-container, body.joyau #et-main-area { padding: 0 !important; margin: 0 !important; overflow: visible; }
body.joyau:not(.joyau-immersif) .joyau-contenu { padding-top: var(--entete); }
.joyau-contenu:focus { outline: none; }

::selection { background: var(--petrole); color: var(--ivoire); }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.fond-petrole :focus-visible { outline-color: var(--or-clair); }

h1, h2, h3, h4 { font-family: var(--titre); font-weight: 400; letter-spacing: -.005em; line-height: 1.1; margin: 0; text-wrap: balance; color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
em, i { font-style: italic; }
strong, b { font-weight: 600; }

html { scrollbar-color: var(--petrole-doux) var(--sable-pale); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sable-pale); }
::-webkit-scrollbar-thumb { background: var(--petrole-doux); border: 2px solid var(--sable-pale); border-radius: 10px; }

.joyau-masque, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.joyau-evitement { position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .75rem 1.25rem; background: var(--petrole); color: var(--ivoire); font: 500 var(--t-label)/1 var(--marque); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transform: translateY(-160%); transition: transform var(--vif) var(--courbe); }
.joyau-evitement:focus { transform: none; }

/* ---------- Fonds ---------- */
.fond-ivoire { --fond: var(--ivoire); background: var(--ivoire); color: var(--encre); }
.fond-sable { --fond: var(--sable-pale); background: var(--sable-pale); color: var(--encre); }
.fond-petrole { --fond: var(--petrole-nuit); background: var(--petrole-nuit); color: var(--ivoire); }
.fond-petrole .joyau-intro, .fond-petrole .joyau-prose { color: rgba(250, 247, 241, .86); }

/* ---------- Boutons et liens ---------- */
.joyau-bouton {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 50px; padding: .85rem 1.9rem;
	border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit;
	font: 500 var(--t-label)/1.2 var(--marque); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; text-align: center;
	transition: background-color var(--vif) var(--courbe), color var(--vif) var(--courbe), border-color var(--vif) var(--courbe);
}
.joyau-bouton:hover { background: var(--petrole); border-color: var(--petrole); color: var(--ivoire); }
.joyau-bouton--plein { background: var(--petrole); border-color: var(--petrole); color: var(--ivoire); }
.joyau-bouton--plein:hover { background: var(--petrole-nuit); border-color: var(--petrole-nuit); color: var(--ivoire); }
.joyau-bouton--clair, .fond-petrole .joyau-bouton { color: var(--ivoire); border-color: rgba(250, 247, 241, .7); }
.joyau-bouton--clair:hover, .fond-petrole .joyau-bouton:hover { background: var(--ivoire); border-color: var(--ivoire); color: var(--petrole-nuit); }
.fond-petrole .joyau-bouton--plein { background: var(--ivoire); color: var(--petrole-nuit); border-color: var(--ivoire); }
.fond-petrole .joyau-bouton--plein:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--petrole-nuit); }
.joyau-bouton[disabled], .joyau-bouton[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.joyau-lien {
	display: inline-flex; align-items: center; gap: .65rem; padding: .35rem 0;
	color: inherit; text-decoration: none;
	font: 500 var(--t-label)/1.2 var(--marque); letter-spacing: .18em; text-transform: uppercase;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size .5s var(--courbe);
}
.joyau-lien .joyau-icone { width: 18px; height: 18px; transition: transform .5s var(--courbe); }
.joyau-lien:hover { background-size: 35% 1px; }
.joyau-lien:hover .joyau-icone { transform: translateX(5px); }
.joyau-lien-bouton { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: .22em; font: inherit; color: inherit; }

.joyau-icone { width: 22px; height: 22px; flex: none; }

/* ---------- Typographie de contenu ---------- */
.joyau-titre { font-size: var(--t-h2); margin-bottom: 1.6rem; position: relative; }
.joyau-titre--grand { font-size: var(--t-h2); }
.joyau-intro { max-width: 34em; color: var(--encre-douce); font-size: calc(var(--t-corps) * 1.04); }
.joyau-prose { max-width: 62ch; }
.joyau-prose > :last-child { margin-bottom: 0; }
.joyau-prose a { color: var(--petrole); }
.fond-petrole .joyau-prose a { color: var(--or-clair); }
.joyau-prose ul { padding-left: 1.1em; }
.joyau-prose li::marker { color: var(--or); }

/* ---------- En-tête ---------- */
.joyau-entete {
	position: fixed; inset: 0 0 auto; z-index: 90;
	height: var(--entete);
	color: var(--petrole);
	background: var(--ivoire);
	box-shadow: 0 1px 0 var(--filet);
	transition: transform .55s var(--courbe), background-color .45s var(--courbe), color .45s var(--courbe), box-shadow .45s var(--courbe);
}
.joyau-entete__voile { position: absolute; inset: 0 0 auto; height: 170%; pointer-events: none; opacity: 0; background: linear-gradient(180deg, rgba(14, 30, 36, .62) 0%, rgba(14, 30, 36, .28) 55%, rgba(14, 30, 36, 0) 100%); transition: opacity .45s var(--courbe); }
.joyau-immersif .joyau-entete:not(.is-solide) { background: transparent; color: var(--ivoire); box-shadow: none; }
.joyau-immersif .joyau-entete:not(.is-solide) .joyau-entete__voile { opacity: 1; }
.joyau-immersif .joyau-entete:not(.is-solide) .joyau-entete__rang { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.joyau-immersif .joyau-entete:not(.is-solide) .joyau-logo { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .3)); }
.joyau-entete.is-cache { transform: translateY(-100%); }
.tiroir-ouvert .joyau-entete { transform: none; }

.joyau-entete__rang { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 0 var(--marge); }
.joyau-entete__menu { justify-self: start; display: inline-flex; align-items: center; gap: .85rem; min-height: 44px; padding: 0; border: 0; background: none; }
.joyau-entete__libelle { font: 500 var(--t-label)/1 var(--marque); letter-spacing: .2em; text-transform: uppercase; }
.joyau-burger { position: relative; width: 26px; height: 14px; }
.joyau-burger span { position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: width .45s var(--courbe), transform .45s var(--courbe); }
.joyau-burger span:nth-child(1) { top: 0; width: 26px; }
.joyau-burger span:nth-child(2) { top: 6px; width: 17px; }
.joyau-burger span:nth-child(3) { top: 12px; width: 26px; }
.joyau-entete__menu:hover .joyau-burger span:nth-child(2) { width: 26px; }
.joyau-entete__menu:hover .joyau-burger span:nth-child(1), .joyau-entete__menu:hover .joyau-burger span:nth-child(3) { width: 20px; }

.joyau-entete__logo { display: block; color: inherit; }
.joyau-entete__logo .joyau-logo { width: clamp(118px, 9vw, 150px); height: auto; }
.joyau-entete__actions { justify-self: end; display: flex; align-items: center; gap: clamp(.4rem, 1.5vw, 1.4rem); }
.joyau-entete__lien { font: 500 var(--t-label)/1 var(--marque); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: .6rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--courbe); }
.joyau-entete__lien:hover { background-size: 100% 1px; }
.joyau-entete__icone { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: inherit; }
.joyau-pastille { position: absolute; top: 4px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--or); color: var(--petrole-nuit); font: 600 10px/18px var(--marque); text-align: center; text-shadow: none; transition: transform .4s var(--courbe); }
.joyau-pastille:empty, .joyau-pastille[data-vide] { transform: scale(0); }
.joyau-pastille.is-rebond { animation: joyau-rebond .6s var(--courbe); }
@keyframes joyau-rebond { 40% { transform: scale(1.35); } }

@media (max-width: 899px) {
	.joyau-entete__libelle, .joyau-entete__lien--boutique, .joyau-entete__actions a[href*="mon-compte"] { display: none; }
	.joyau-entete__rang { gap: .5rem; }
}

/* ---------- Tiroirs (menu à gauche, panier à droite) ---------- */
.joyau-tiroir { position: fixed; inset: 0; z-index: 120; }
.joyau-tiroir[hidden] { display: none; }
.joyau-tiroir__fond { position: absolute; inset: 0; background: rgba(14, 26, 31, .55); opacity: 0; transition: opacity .5s var(--courbe); }
.joyau-tiroir__panneau {
	position: absolute; inset: 0 auto 0 0; width: min(560px, 100%);
	display: flex; flex-direction: column;
	background: var(--petrole-nuit); color: var(--ivoire);
	transform: translateX(-100%); transition: transform .7s var(--courbe);
	overflow-y: auto; overscroll-behavior: contain;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}
.joyau-tiroir.is-ouvert .joyau-tiroir__fond { opacity: 1; }
.joyau-tiroir.is-ouvert .joyau-tiroir__panneau { transform: none; }
.joyau-tiroir__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--entete); padding: 0 var(--marge); }
.joyau-tiroir__fermer { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: 500 var(--t-label)/1 var(--marque); letter-spacing: .2em; text-transform: uppercase; }
.joyau-tiroir__corps { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: clamp(1.5rem, 5vh, 4rem) var(--marge) 2.5rem; }
.joyau-tiroir__nav ul { list-style: none; margin: 0; padding: 0; }
.joyau-tiroir__nav li { overflow: hidden; }
.joyau-tiroir__nav a {
	position: relative; display: inline-block; padding: .28em 0;
	font: 400 clamp(2rem, 1.4rem + 2.2vw, 3.1rem)/1.12 var(--titre); color: var(--ivoire); text-decoration: none;
	transform: translateY(105%); transition: transform .9s var(--courbe), color .35s var(--courbe);
	transition-delay: calc(.12s + var(--i, 0) * .06s), 0s;
}
.joyau-tiroir.is-ouvert .joyau-tiroir__nav a { transform: none; }
.joyau-tiroir__nav a::after { content: ""; position: absolute; left: 0; bottom: .18em; width: 100%; height: 1px; background: var(--or-clair); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--courbe); }
.joyau-tiroir__nav a:hover, .joyau-tiroir__nav a[aria-current="page"] { color: var(--or-clair); }
.joyau-tiroir__nav a:hover::after, .joyau-tiroir__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.joyau-tiroir__infos { display: grid; gap: .25rem 2rem; grid-template-columns: 1fr 1fr; font-size: var(--t-petit); line-height: 1.7; color: rgba(250, 247, 241, .78); opacity: 0; transition: opacity .8s var(--courbe) .45s; }
.joyau-tiroir.is-ouvert .joyau-tiroir__infos { opacity: 1; }
.joyau-tiroir__infos a { color: var(--ivoire); }
.joyau-tiroir__reseaux a { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.joyau-tiroir__visuel { display: none; }
@media (min-width: 1100px) {
	.joyau-tiroir__visuel { display: block; position: absolute; inset: 0 0 0 560px; margin: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--courbe) .1s; pointer-events: none; }
	.joyau-tiroir.is-ouvert .joyau-tiroir__visuel { clip-path: inset(0); }
	.joyau-tiroir__visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--courbe), transform 1.6s var(--courbe); }
	.joyau-tiroir__visuel img.is-actif { opacity: 1; transform: none; }
}
@media (max-width: 520px) { .joyau-tiroir__infos { grid-template-columns: 1fr; } }

/* Panier : depuis la droite, sur ivoire */
.joyau-tiroir--panier .joyau-tiroir__panneau { inset: 0 0 0 auto; width: min(460px, 100%); transform: translateX(100%); background: var(--ivoire); color: var(--encre); }
.joyau-tiroir--panier .joyau-tiroir__haut { border-bottom: 1px solid var(--filet); }
.joyau-panier__titre { font-size: 1.6rem; }
.joyau-panier { flex: 1; overflow-y: auto; padding: 1.25rem var(--marge-panier, 1.5rem); }
.joyau-panier__attente { color: var(--encre-douce); font-size: var(--t-petit); }
.joyau-panier__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.joyau-panier__ligne { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: start; padding-bottom: 1.25rem; border-bottom: 1px solid var(--filet); animation: joyau-entree .6s var(--courbe) both; }
@keyframes joyau-entree { from { opacity: 0; transform: translateY(12px); } }
.joyau-panier__ligne img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sable-pale); }
.joyau-panier__nom { display: block; font: 400 1.15rem/1.25 var(--titre); color: inherit; text-decoration: none; }
.joyau-panier__prix-unitaire { font-size: var(--t-petit); color: var(--encre-douce); }
.joyau-panier__total-ligne { font: 500 .9rem/1.3 var(--marque); white-space: nowrap; }
.joyau-panier__retirer { margin-top: .5rem; padding: 0; border: 0; background: none; font-size: .8125rem; color: var(--encre-douce); text-decoration: underline; text-underline-offset: .2em; }
.joyau-panier__vide { display: grid; gap: 1.5rem; justify-items: start; padding-top: 1rem; }
.joyau-panier__vide p { font: 400 1.35rem/1.35 var(--titre); }
.joyau-panier__pied { display: grid; gap: .9rem; padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--filet); background: var(--blanc); }
.joyau-panier__pied[hidden] { display: none; }
.joyau-panier__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font: 400 1.35rem/1.2 var(--titre); }
.joyau-panier__total strong { font: 500 1.05rem/1 var(--marque); }
.joyau-panier__note { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--encre-douce); }
.joyau-panier__note .joyau-icone { width: 20px; height: 20px; color: var(--or); }
.joyau-panier__pied .joyau-lien { justify-self: center; }
.joyau-panier.is-occupe { opacity: .55; pointer-events: none; transition: opacity .2s; }
.joyau-panier__erreur { padding: .75rem 1rem; background: #fbecea; color: #8a1f17; font-size: var(--t-petit); }

/* Quantité (fiche, panier) */
.joyau-quantite { display: inline-grid; grid-template-columns: 40px 3ch 40px; align-items: center; height: 44px; border: 1px solid var(--filet); background: var(--blanc); }
.joyau-quantite button { display: grid; place-items: center; height: 100%; border: 0; background: none; color: var(--petrole); }
.joyau-quantite button:hover { background: var(--sable-pale); }
.joyau-quantite .joyau-icone { width: 16px; height: 16px; }
.joyau-quantite input { width: 100%; height: 100%; border: 0; background: none; padding: 0; text-align: center; font: 500 .95rem/1 var(--marque); color: var(--encre); -moz-appearance: textfield; appearance: textfield; }
.joyau-quantite input::-webkit-outer-spin-button, .joyau-quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.joyau-panier .joyau-quantite { height: 36px; grid-template-columns: 32px 3ch 32px; margin-top: .55rem; }

/* ---------- Pied de page ---------- */
.joyau-pied { padding: var(--section) var(--marge) calc(2rem + var(--barre) * 0); }
.joyau-pied__marque { display: flex; justify-content: center; padding-bottom: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--filet-clair); }
.joyau-pied__marque a { color: var(--sable); transition: color .4s var(--courbe); }
.joyau-pied__marque a:hover { color: var(--or-clair); }
.joyau-pied__marque .joyau-logo { width: clamp(200px, 22vw, 300px); }
.joyau-pied__colonnes { max-width: var(--largeur); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0; }
.joyau-pied h2 { margin-bottom: 1.25rem; font: 500 var(--t-label)/1.2 var(--marque); letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); }
.joyau-pied address { font-style: normal; margin-bottom: 1em; }
.joyau-pied p, .joyau-pied address, .joyau-pied li { font-size: .9375rem; line-height: 1.8; color: rgba(250, 247, 241, .82); }
.joyau-pied ul { list-style: none; margin: 0; padding: 0; }
.joyau-pied a { color: var(--ivoire); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--courbe); }
.joyau-pied a:hover { background-size: 100% 1px; }
.joyau-pied .joyau-lien-bouton { color: rgba(250, 247, 241, .82); font-size: .9375rem; }
.joyau-pied__bas { max-width: var(--largeur); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--filet-clair); }
.joyau-pied__bas p { margin: 0; font-size: .8125rem; }
.joyau-pied__reseaux { display: flex; gap: .5rem; }
.joyau-pied__reseaux a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--filet-clair); border-radius: 50%; background: none; transition: border-color .3s, color .3s; }
.joyau-pied__reseaux a:hover { border-color: var(--or-clair); color: var(--or-clair); }
.joyau-pied__reseaux .joyau-icone { width: 18px; height: 18px; }
@media (max-width: 899px) {
	.joyau-pied__colonnes { grid-template-columns: 1fr 1fr; }
	.joyau-pied__colonnes > section { grid-column: 1 / -1; }
	.joyau-pied__bas { flex-direction: column; text-align: center; }
}
@media (max-width: 479px) { .joyau-pied__colonnes { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Barre d'onglets mobile ---------- */
.joyau-barre { display: none; }
@media (max-width: 899px) {
	.joyau-barre {
		position: fixed; inset: auto 0 0; z-index: 95;
		display: grid; grid-template-columns: repeat(5, 1fr);
		height: var(--barre); padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--ivoire); border-top: 1px solid var(--filet);
		box-shadow: 0 -8px 24px -18px rgba(23, 49, 58, .35);
	}
	.joyau-barre__onglet { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--petrole-doux); text-decoration: none; font: 500 10.5px/1 var(--marque); letter-spacing: .06em; }
	.joyau-barre__onglet .joyau-icone { width: 23px; height: 23px; }
	.joyau-barre__onglet[aria-current="page"] { color: var(--petrole); }
	.joyau-barre__onglet[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--or); }
	.joyau-barre__onglet .joyau-pastille { top: 7px; right: calc(50% - 22px); }
	.tiroir-ouvert .joyau-barre { visibility: hidden; }
}

/* ---------- Champs de formulaire ---------- */
.joyau-champ { display: grid; gap: .45rem; margin: 0 0 1.25rem; }
.joyau-champ label, .woocommerce form .form-row label { font: 500 .8125rem/1.3 var(--marque); letter-spacing: .04em; color: var(--encre); }
.joyau-champ__facultatif { font-weight: 400; color: var(--encre-douce); }
.joyau-champ input, .joyau-champ select, .joyau-champ textarea,
.joyau .input-text, .joyau select, .joyau input[type="email"], .joyau input[type="password"], .joyau input[type="tel"], .joyau input[type="text"], .joyau input[type="date"], .joyau input[type="search"], .joyau textarea {
	width: 100%; min-height: 52px; padding: .8rem 1rem;
	border: 1px solid rgba(37, 72, 84, .32); border-radius: 0; background: var(--blanc);
	color: var(--encre); font: 400 1rem/1.4 var(--texte);
	transition: border-color var(--vif), box-shadow var(--vif);
}
.joyau textarea { min-height: 150px; resize: vertical; }
.joyau select { appearance: none; padding-right: 2.75rem; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23254854' stroke-width='1.4'%3E%3Cpath d='M2 5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.joyau input:focus, .joyau select:focus, .joyau textarea:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 3px rgba(37, 72, 84, .14); }
.joyau ::placeholder { color: #6e6769; opacity: 1; }
.joyau-case { display: flex; align-items: flex-start; gap: .75rem; margin: 0 0 1.25rem; font-size: var(--t-petit); line-height: 1.55; }
.joyau-case input { flex: none; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--petrole); }
.joyau-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Consentement ---------- */
.joyau-consentement { position: fixed; z-index: 110; left: var(--marge); bottom: calc(var(--barre) + 1rem); width: min(440px, calc(100% - 2 * var(--marge))); background: var(--ivoire); color: var(--encre); box-shadow: 0 18px 50px -12px rgba(14, 30, 36, .35); animation: joyau-entree .7s var(--courbe) both; }
.joyau-consentement[hidden] { display: none; }
.joyau-consentement__corps { padding: 1.5rem; }
.joyau-consentement h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.joyau-consentement p { font-size: .875rem; line-height: 1.6; }
.joyau-consentement__details { padding: .75rem 0 .25rem; border-top: 1px solid var(--filet); }
.joyau-consentement__details[hidden] { display: none; }
.joyau-consentement__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.joyau-consentement__actions .joyau-bouton { min-height: 44px; padding: .6rem .5rem; letter-spacing: .1em; font-size: .6875rem; }

/* ---------- Mouvement au défilement ----------
   Descente : les blocs montent, les images se dévoilent par le bas.
   Remontée : les blocs descendent de quelques pixels, plus vite, et les
   images se dévoilent par le haut. */
html.js [data-revele] { transition: opacity var(--moyen) var(--courbe), transform var(--lent) var(--courbe), clip-path var(--lent) var(--courbe); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-revele="monte"]:not(.is-vu) { opacity: 0; transform: translateY(34px); }
html.js [data-revele="monte"][data-sens="haut"]:not(.is-vu) { transform: translateY(-18px); }
html.js [data-revele="titre"]:not(.is-vu) { opacity: 0; transform: translateY(.45em); }
html.js [data-revele="titre"][data-sens="haut"]:not(.is-vu) { transform: translateY(-.25em); }
/* Rideau : un voile de la couleur du fond se retire de l'image (par le bas
   à la descente, par le haut à la remontée) ; l'image se resserre en même temps. */
html.js [data-revele="rideau"] { position: relative; }
html.js [data-revele="rideau"]::before { content: ""; position: absolute; inset: -1px; z-index: 4; background: var(--fond, var(--ivoire)); transform-origin: 50% 0; transition: transform 1.15s var(--courbe); transition-delay: calc(var(--i, 0) * 80ms); pointer-events: none; }
html.js [data-revele="rideau"][data-sens="haut"]::before { transform-origin: 50% 100%; transition-duration: .8s; }
html.js [data-revele="rideau"].is-vu::before { transform: scaleY(0); }
html.js [data-revele="rideau"] img, html.js [data-revele="rideau"] video { transition: transform 1.6s var(--courbe); }
html.js [data-revele="rideau"]:not(.is-vu) img, html.js [data-revele="rideau"]:not(.is-vu) video { transform: scale(1.14); }
html.js [data-sens="haut"] { transition-duration: .5s, .75s, .85s; }

/* Titres d'ouverture : les mots glissent hors d'un masque */
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mot > span { display: inline-block; }
html.js .mot > span { transform: translateY(110%); animation: joyau-mot 1.15s var(--courbe) forwards; animation-delay: calc(.25s + var(--i, 0) * .085s); }
@keyframes joyau-mot { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	html.js [data-revele]:not(.is-vu) { opacity: 1; transform: none; }
	html.js [data-revele="rideau"]::before { display: none; }
	html.js .mot > span { transform: none; }
}

/* Bandeau cookies compact sur téléphone */
@media (max-width: 599px) {
	.joyau-consentement { left: 0; right: 0; width: 100%; bottom: var(--barre); box-shadow: 0 -12px 36px -18px rgba(14, 30, 36, .4); }
	.joyau-consentement__corps { padding: 1rem var(--marge) 1.1rem; }
	.joyau-consentement h2 { font-size: 1.15rem; margin-bottom: .35rem; }
	.joyau-consentement p { font-size: .8125rem; line-height: 1.5; margin-bottom: .75rem; }
}
