/* ==========================================================================
   Sélection Fin Gourmet — caviarsfg.com
   Charte : fond toujours noir, or métallique, script pour la marque,
   capitales serif gravées pour PRESTIGE (cf. /SFG/CLAUDE.md).
   ========================================================================== */

@font-face { font-family: "Pinyon"; src: url("../fonts/pinyon.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Old Standard"; src: url("../fonts/oldstandard-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url("../fonts/oldstandard-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Old Standard"; src: url("../fonts/oldstandard-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic.woff2") format("woff2"); font-weight: 300 500; font-style: italic; font-display: swap; }

@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --noir: #0b0a09;          /* fond des photos détourées : ne pas changer seul */
  --noir-2: #13110e;
  --noir-3: #1b1813;
  --ivoire: #f3ede0;
  --gris: #a59d8d;
  --or: #c9a14e;
  --or-clair: #f0d48a;
  --or-blanc: #fff3cf;
  --or-profond: #7f5f24;
  --filet: rgba(201, 161, 78, 0.22);
  --filet-doux: rgba(243, 237, 224, 0.09);
  --degrade-or: linear-gradient(100deg, var(--or-profond) 0%, var(--or) 22%, var(--or-clair) 42%, var(--or-blanc) 50%, var(--or-clair) 58%, var(--or) 78%, var(--or-profond) 100%);

  --f-marque: "Pinyon", "Snell Roundhand", "Apple Chancery", cursive;
  --f-titre: "Old Standard", "Century Schoolbook", Georgia, serif;
  --f-texte: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --t-surtitre: 0.78rem;
  --t-petit: 0.9rem;
  --t-texte: 1.06rem;
  --t-chapeau: clamp(1.2rem, 1.6vw, 1.45rem);
  --t-m: clamp(1.5rem, 2.2vw, 1.9rem);
  --t-l: clamp(2.1rem, 4.4vw, 3.7rem);
  --t-xl: clamp(2.7rem, 7.5vw, 6.4rem);

  --marge: clamp(16px, 5vw, 72px);
  --section: clamp(84px, 11vw, 168px);
  --largeur: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--ivoire);
  font-family: var(--f-texte);
  font-weight: 300;
  font-size: var(--t-texte);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--or); color: var(--noir); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--or); color: var(--noir); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie de marque ---------- */
.marque { font-family: var(--f-marque); font-weight: 400; letter-spacing: 0; line-height: 1.15; }
.marque--inline { font-size: 1.38em; line-height: 1; color: var(--or-clair); }

.titre-or, .handtooled {
  font-family: var(--f-titre);
  font-weight: 700;
  background: var(--degrade-or);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* un seul passage de lumière, déclenché quand le titre arrive à l'écran (main.js) */
.brille { animation: brillance 2.4s var(--ease) both; }
.titre-or { font-size: var(--t-l); line-height: 1.08; letter-spacing: 0.01em; }
/* « PRESTIGE » : capitales gravées, rappel de l'ITC Century Handtooled */
.handtooled {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  -webkit-text-stroke: 0.6px rgba(255, 243, 207, 0.45);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.6));
}
.titre-xl { font-size: var(--t-xl); line-height: 1; letter-spacing: 0.06em; }
.titre-m { font-size: var(--t-m); }
@keyframes brillance { from { background-position: 100% 0; } to { background-position: 0% 0; } }

.surtitre {
  font-size: var(--t-surtitre);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.surtitre::before { content: ""; width: 34px; height: 1px; background: var(--or); }

/* ---------- Boutons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 30px;
  font-family: var(--f-texte); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--or);
  border-radius: 0;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn--or { background: var(--degrade-or); background-size: 220% 100%; color: var(--noir); border-color: transparent; transition: background-position .9s var(--ease), transform .4s var(--ease); }
.btn--or:hover { background-position: 100% 0; }
.btn--ligne { background: transparent; color: var(--or-clair); }
.btn--ligne::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--or); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .btn--ligne:hover { color: var(--noir); }
  .btn--ligne:hover::before { transform: scaleX(1); transform-origin: left; }
}
.btn--ligne:active { color: var(--noir); }
.btn--ligne:active::before { transform: scaleX(1); }
.btn:active { transform: scale(0.98); }
.btn--petit { --h: 44px; padding: 0 20px; font-size: 0.72rem; letter-spacing: 0.18em; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--marge);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease;
}
.entete.defile { background: rgba(11, 10, 9, 0.84); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--filet-doux); }
@supports (animation-timeline: scroll()) {
  .entete { animation: entete-fond linear both; animation-timeline: scroll(root); animation-range: 0 220px; }
  @keyframes entete-fond {
    from { background: rgba(11, 10, 9, 0); border-bottom-color: transparent; backdrop-filter: blur(0); }
    to { background: rgba(11, 10, 9, 0.84); border-bottom-color: var(--filet-doux); backdrop-filter: blur(14px) saturate(1.2); }
  }
}
.entete__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.entete__logo img { width: 48px; height: 48px; }
.entete__logo .marque { font-size: 1.65rem; color: var(--ivoire); white-space: nowrap; }
.entete__nav, .menu__liens { display: flex; gap: clamp(12px, 1.5vw, 28px); }
.menu__tete, .menu__pied { display: none; }
.menu__liens a { white-space: nowrap; text-decoration: none; font-size: 0.74rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ivoire); position: relative; padding: 6px 0; }
.menu__liens a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); transform: scaleX(0); transition: transform .4s var(--ease); }
.menu__liens a:hover::after, .menu__liens a.actif::after { transform: scaleX(1); }
.menu__liens a.actif { color: var(--or-clair); }
.entete__actions { display: flex; align-items: center; gap: 12px; }

.bouton-devis {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 8px 0 18px;
  background: transparent; border: 1px solid var(--filet); cursor: pointer;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: border-color .3s;
}
.bouton-devis:hover { border-color: var(--or); }
.compteur {
  min-width: 26px; height: 26px; padding: 0 6px;
  display: inline-grid; place-items: center;
  background: var(--or); color: var(--noir);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0; border-radius: 13px;
  font-variant-numeric: tabular-nums;
}
.compteur.pulse { animation: pulse .6s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.35); } }

.burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--filet); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 1px; background: var(--ivoire); }

@media (min-width: 1241px) {
  .entete__nav[popover] { display: flex; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; width: auto; height: auto; }
}
@media (max-width: 1240px) {
  .burger { display: flex; }
  .entete__logo .marque { display: none; }
  .entete__nav[popover] {
    position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; border: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px;
    padding: calc(10px + env(safe-area-inset-top)) var(--marge) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: radial-gradient(80% 60% at 50% 30%, #1d1912, var(--noir) 70%);
    color: var(--ivoire);
    opacity: 0; transform: translateY(-12px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), display .45s allow-discrete, overlay .45s allow-discrete;
  }
  .entete__nav[popover]:popover-open { display: flex; opacity: 1; transform: none; }
  @starting-style { .entete__nav[popover]:popover-open { opacity: 0; transform: translateY(-12px); } }
  .menu__tete { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
  .menu__tete img { width: 46px; height: 46px; }
  .menu__liens { flex-direction: column; align-items: center; gap: 4px; }
  .menu__liens a { font-family: var(--f-titre); font-size: clamp(1.6rem, 7vw, 2rem); letter-spacing: 0.02em; text-transform: none; padding: 10px 0; min-height: 48px; }
  .menu__liens a::after { bottom: 6px; }
  .entete__nav[popover]:popover-open .menu__liens a { animation: monte .6s var(--ease) both; }
  .menu__liens a:nth-child(2) { animation-delay: .04s; } .menu__liens a:nth-child(3) { animation-delay: .08s; }
  .menu__liens a:nth-child(4) { animation-delay: .12s; } .menu__liens a:nth-child(5) { animation-delay: .16s; }
  .menu__liens a:nth-child(6) { animation-delay: .2s; } .menu__liens a:nth-child(7) { animation-delay: .24s; }
  .menu__pied { display: grid; gap: 14px; justify-items: center; }
  .menu__pied .btn { width: 100%; max-width: 420px; }
  .menu__tel { color: var(--gris); text-decoration: none; letter-spacing: 0.12em; font-size: 0.9rem; padding: 10px; }
}

/* ---------- Fond satin (comme le catalogue) ---------- */
.satin {
  background:
    radial-gradient(70% 45% at 12% 8%, rgba(255, 248, 230, 0.055), transparent 70%),
    radial-gradient(60% 40% at 92% 92%, rgba(201, 161, 78, 0.07), transparent 70%),
    linear-gradient(162deg, transparent 30%, rgba(255, 250, 235, 0.035) 42%, transparent 52%, rgba(255, 250, 235, 0.03) 66%, transparent 76%),
    var(--noir);
}
/* Photos détourées sur noir : un masque efface le fond resté autour du sujet,
   quel que soit le dégradé de la section (mix-blend-mode échoue sous les animations). */
.rond { -webkit-mask: radial-gradient(closest-side, #000 94%, transparent 99%); mask: radial-gradient(closest-side, #000 94%, transparent 99%); }
.fondu {
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) var(--marge); }
.tete-section { text-align: center; max-width: 780px; margin: 0 auto clamp(48px, 6vw, 84px); display: flex; flex-direction: column; align-items: center; }
.tete-section .surtitre::after { content: ""; width: 34px; height: 1px; background: var(--or); }
.tete-section__texte { color: var(--gris); margin: 22px 0 0; max-width: 60ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px var(--marge) 90px;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 50% 42%, rgba(201, 161, 78, 0.10), transparent 70%),
    radial-gradient(120% 80% at 50% 120%, #17140e, transparent 60%),
    var(--noir);
}
.ruban { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 900px; }
.hero__logo {
  position: relative;
  width: clamp(190px, 26vw, 300px); aspect-ratio: 1;
  border-radius: 50%;
  margin: 8px 0 26px;
}
.hero__logo::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: conic-gradient(from var(--angle), transparent 0 62%, rgba(240, 212, 138, 0.9) 75%, transparent 88%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: tour 6s linear infinite;
}
.hero__logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 60px rgba(201, 161, 78, 0.25)); }
@keyframes tour { to { --angle: 360deg; } }
.hero__titre .marque { display: block; font-size: clamp(3.2rem, 9vw, 7.4rem); color: var(--ivoire); text-shadow: 0 0 40px rgba(201, 161, 78, 0.25); padding: 0 0.15em; }
.hero__phrase { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--ivoire); opacity: 0.92; max-width: 40ch; margin: 18px auto 34px; line-height: 1.5; }
.hero__attention { display: block; font-family: var(--f-texte); font-style: normal; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__badge { margin: 38px 0 0; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); display: inline-flex; align-items: center; gap: 12px; }
.hero__badge strong { color: var(--or-clair); font-weight: 500; }
.pastille { width: 7px; height: 7px; border-radius: 50%; background: var(--or-clair); box-shadow: 0 0 0 0 rgba(240, 212, 138, 0.6); animation: halo 2.4s infinite; }
@keyframes halo { 70% { box-shadow: 0 0 0 10px rgba(240, 212, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 212, 138, 0); } }
.hero__descendre { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; z-index: 2; width: 26px; height: 42px; border: 1px solid var(--filet); border-radius: 14px; }
.hero__descendre span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--or-clair); animation: molette 2s var(--ease) infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* entrée du hero */
.hero__inner > * { animation: monte 1.2s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: .1s; }
.hero__inner > :nth-child(3) { animation-delay: .3s; }
.hero__inner > :nth-child(4) { animation-delay: .45s; }
.hero__inner > :nth-child(5) { animation-delay: .6s; }
.hero__inner > :nth-child(6) { animation-delay: .75s; }
@keyframes monte { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }

/* ---------- Bandeau défilant ---------- */
.bandeau { border-block: 1px solid var(--filet); overflow: hidden; background: var(--noir-2); }
.bandeau__piste { display: flex; width: max-content; gap: 34px; padding: 16px 0; animation: defile 46s linear infinite; }
.bandeau span { font-family: var(--f-titre); font-style: italic; font-size: 1.15rem; white-space: nowrap; color: var(--ivoire); }
.bandeau i { font-style: normal; color: var(--or); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- La Maison ---------- */
.maison { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; }
.maison__texte { max-width: 60ch; }
.maison__texte .titre-or { margin-bottom: 26px; }
.chapeau { font-size: var(--t-chapeau); line-height: 1.55; color: var(--ivoire); }
.maison__texte > p:not(.chapeau):not(.surtitre) { color: var(--gris); }
.signature { display: flex; flex-direction: column; margin-top: 28px; }
.signature .marque { font-size: 2.8rem; color: var(--or-clair); }
.signature span:last-child { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gris); }
.maison__portrait { margin: 0; position: relative; }
.maison__portrait::before { content: ""; position: absolute; inset: 8% 4% 0; background: radial-gradient(closest-side, rgba(201, 161, 78, 0.22), transparent); filter: blur(10px); }
.maison__portrait img {
  position: relative; width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 6%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 6%, #000 76%, transparent);
  mask-composite: intersect;
}

/* ---------- Notre exigence ---------- */
.selection { overflow: hidden; isolation: isolate; }
.selection__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.selection__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: saturate(0.7); }
.selection__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noir) 0%, rgba(11, 10, 9, 0.55) 30%, rgba(11, 10, 9, 0.7) 70%, var(--noir) 100%); }
.selection__contenu { max-width: var(--largeur); margin: 0 auto; }
.selection__contenu .titre-or { max-width: 16ch; }
.selection__colonnes { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); margin-top: 44px; align-items: start; }
.selection__colonnes > div:first-child p { color: #d5cebf; }
.mention-or { font-size: 1.15rem; color: var(--ivoire) !important; border-left: 1px solid var(--or); padding-left: 18px; margin-top: 28px; }
.mention-or .handtooled { font-size: 1.05em; }

.elevage { background: rgba(19, 17, 14, 0.75); border: 1px solid var(--filet); padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(6px); }
.elevage__titre { font-size: var(--t-surtitre); letter-spacing: 0.28em; text-transform: uppercase; color: var(--or); margin-bottom: 22px; }
.elevage li { display: grid; grid-template-columns: 82px 1fr 64px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--filet-doux); }
.elevage__nom { font-family: var(--f-titre); font-size: 1.15rem; }
.elevage__barre { height: 2px; background: var(--filet-doux); position: relative; }
.elevage__barre::after { content: ""; position: absolute; inset: 0; background: var(--degrade-or); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1.6s var(--ease); }
.js .elevage:not(.vu) .elevage__barre::after { transform: scaleX(0); }
.elevage__ans { text-align: right; color: var(--gris); font-size: 0.9rem; }
.elevage__ans b { font-family: var(--f-titre); font-size: 1.6rem; font-weight: 700; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.elevage__note { color: var(--gris); font-size: var(--t-petit); margin: 16px 0 0; font-style: italic; }

/* ---------- Caviar Prestige ---------- */
.grille-caviars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: var(--largeur); margin: 0 auto; }
.caviar {
  --mx: 50%; --my: 30%;
  position: relative; display: flex; flex-direction: column;
  padding: 28px 22px 22px;
  background: linear-gradient(180deg, rgba(27, 24, 19, 0.85), rgba(15, 14, 11, 0.9));
  border: 1px solid var(--filet-doux);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.caviar::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(240, 212, 138, 0.12), transparent 60%); opacity: 0; transition: opacity .4s; }
@media (hover: hover) {
  .caviar:hover { border-color: var(--filet); transform: translateY(-4px); }
  .caviar:hover::before { opacity: 1; }
}
.caviar--rare { border-color: var(--filet); }
.caviar--rare::after { content: "La rareté"; position: absolute; top: 14px; right: 14px; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--noir); background: var(--degrade-or); padding: 4px 10px; }
.caviar__visuel { position: relative; aspect-ratio: 1; margin: 0 auto 18px; width: 86%; transform-style: preserve-3d; transition: transform .25s ease-out; }
.caviar__visuel img:first-child { width: 100%; height: 100%; object-fit: contain; }
.caviar__boite { position: absolute; width: 44%; right: -10%; bottom: -6%; transform: translateZ(40px); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.8)); }
.caviar__age { font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or); margin: 0 0 6px; }
.caviar__nom { font-family: var(--f-titre); font-size: 1.7rem; font-weight: 400; color: var(--ivoire); line-height: 1.15; }
.caviar__nom .handtooled { display: block; font-size: 0.62em; }
.caviar__desc { color: var(--gris); font-size: 0.95rem; line-height: 1.6; margin: 12px 0 18px; flex: 1; }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 18px; }
.formats button {
  height: 36px; background: transparent; border: 1px solid var(--filet-doux); cursor: pointer;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gris);
  transition: color .3s, border-color .3s, background .3s;
}
.formats button:hover { color: var(--ivoire); border-color: var(--filet); }
.formats button[aria-checked="true"] { color: var(--noir); background: var(--or); border-color: var(--or); font-weight: 500; }
.caviar__pied, .ref__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--filet-doux); padding-top: 16px; }
.prix { margin: 0; font-family: var(--f-titre); font-weight: 700; font-size: 1.45rem; color: var(--or-clair); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix small { font-family: var(--f-texte); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--gris); }
::view-transition-old(prix-actif) { animation: prix-sort .28s var(--ease) both; }
::view-transition-new(prix-actif) { animation: prix-entre .38s var(--ease) both; }
@keyframes prix-sort { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes prix-entre { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

/* ---------- Kaviari ---------- */
.kaviari {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px);
  max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto;
  border-block: 1px solid var(--filet-doux);
}
.kaviari::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 0% 50%, rgba(41, 52, 92, 0.22), transparent 70%); }
.kaviari__intro .titre-or { margin-bottom: 24px; }
.kaviari__intro > p:not(.surtitre) { color: #d5cebf; }
.kaviari__mention { font-family: var(--f-titre); font-style: italic; font-size: 1.25rem; color: var(--ivoire) !important; margin-top: 26px; }
.kaviari__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--filet-doux); border: 1px solid var(--filet-doux); align-self: start; }
.ref { background: var(--noir); padding: 26px 24px; transition: background .4s; }
.ref:hover { background: var(--noir-2); }
.ref h3 { font-family: var(--f-titre); font-size: 1.55rem; margin-bottom: 16px; }
.ref h3::before { content: "Kaviari"; display: block; font-family: var(--f-texte); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--or); margin-bottom: 2px; }
.formats--compact { grid-template-columns: repeat(3, 1fr); }
.formats--compact button { height: 32px; font-size: 0.74rem; }

/* ---------- Coffrets ---------- */
.grille-coffrets { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 18px; max-width: var(--largeur); margin: 0 auto; align-items: center; }
.coffret { position: relative; text-align: center; padding: clamp(28px, 3vw, 44px) 26px; border: 1px solid var(--filet-doux); background: rgba(19, 17, 14, 0.7); display: flex; flex-direction: column; align-items: center; }
.coffret--vedette { border-color: var(--filet); background: linear-gradient(180deg, rgba(36, 31, 22, 0.9), rgba(15, 14, 11, 0.95)); padding-top: 22px; }
.coffret__image { width: 62%; margin: 0 auto 10px; }
.coffret__nb { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--or); margin: 0 0 4px; }
.coffret h3 { font-family: var(--f-titre); font-size: 2.2rem; margin-bottom: 18px; }
.coffret ul { display: grid; gap: 6px; color: var(--gris); font-size: 0.95rem; margin-bottom: 26px; }
.ruban-prix {
  display: inline-block; margin: 0 0 24px; padding: 10px 34px 10px 30px;
  font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; color: var(--noir);
  background: var(--degrade-or); background-size: 200% 100%;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 10px 50%);
  font-variant-numeric: tabular-nums;
}

.aperitifs { max-width: var(--largeur); margin: clamp(60px, 8vw, 110px) auto 0; }
.aperitifs .titre-m { display: block; text-align: center; margin-bottom: 34px; }
.aperitifs__grille { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 72px); }

/* ---------- Lignes de produits (carte) ---------- */
.ligne-produit { display: grid; grid-template-columns: 1fr auto 36px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--filet-doux); }
.lp__nom { margin: 0; color: var(--ivoire); font-weight: 400; }
.lp__nom span { color: var(--gris); font-size: 0.85rem; margin-left: 6px; }
.lp__detail { margin: 2px 0 0; color: var(--gris); font-size: 0.86rem; line-height: 1.45; }
.lp__prix { margin: 0; font-family: var(--f-titre); font-weight: 700; color: var(--or-clair); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ajout {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--filet); background: transparent; color: var(--or-clair);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
@media (hover: hover) { .ajout:hover { background: var(--or); color: var(--noir); transform: rotate(90deg); } }
.ajout:active { background: var(--or); color: var(--noir); transform: scale(0.92); }

/* ---------- Épicerie fine (onglets) ---------- */
.onglets { position: relative; display: flex; justify-content: center; gap: 4px; max-width: var(--largeur); margin: 0 auto 50px; border-bottom: 1px solid var(--filet-doux); overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglets button { flex: none; background: none; border: 0; cursor: pointer; padding: 14px 18px; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); transition: color .3s; }
.onglets button[aria-selected="true"] { color: var(--or-clair); }
.onglets__curseur { position: absolute; bottom: -1px; left: 0; height: 2px; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--degrade-or); transition: transform .55s var(--ease), width .55s var(--ease); }
.rayons { max-width: var(--largeur); margin: 0 auto; }
.rayon { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 90px); align-items: start; opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@starting-style { .rayon { opacity: 0; transform: translateY(16px); } }
.rayon[hidden] { display: none; }
.rayon__titre { font-family: var(--f-titre); font-size: 1.5rem; color: var(--ivoire); margin: 0 0 8px; }
.rayon__titre:not(:first-child) { margin-top: 42px; }
.rayon__titre small { font-family: var(--f-texte); font-size: 0.8rem; color: var(--gris); letter-spacing: 0.1em; }
.rayon__note { color: var(--gris); font-size: 0.9rem; font-style: italic; margin-top: 18px; }
.rayon__colonne--visuel { display: flex; flex-direction: column; gap: 18px; }
.rayon__colonne--visuel > p { color: var(--gris); }
.rayon__colonne--visuel .btn { align-self: flex-start; }
.photo-arrondie { mix-blend-mode: normal !important; border-radius: 200px 200px 0 0; border: 1px solid var(--filet); }
.truffes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.truffes li { border: 1px solid var(--filet-doux); padding: 12px 14px; display: flex; flex-direction: column; }
.truffes b { font-weight: 400; color: var(--ivoire); }
.truffes i { color: var(--gris); font-size: 0.82rem; }
.rayon--ail { align-items: center; }
.ail__img { max-width: 420px; margin: 0 auto; transition: transform .25s ease-out; }
.rayon--ail p { color: #d5cebf; }

/* ---------- Événements ---------- */
.bars { display: grid; gap: clamp(60px, 9vw, 120px); max-width: var(--largeur); margin: 0 auto; }
.bar { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.bar--inverse .bar__photo { order: 2; }
.bar__photo { position: relative; }
.bar__photo::before { content: ""; position: absolute; inset: 10% 0 0; background: radial-gradient(closest-side, rgba(201, 161, 78, 0.18), transparent); }
.bar__photo img { position: relative; margin: 0 auto; max-height: 560px; width: auto; }
.bar__texte .titre-m { display: inline-block; margin-bottom: 18px; font-size: var(--t-l); }
.bar__texte > p { color: #d5cebf; max-width: 52ch; }
.liste-or { display: grid; gap: 12px; margin: 24px 0 34px; }
.liste-or li { display: flex; gap: 14px; color: var(--ivoire); }
.liste-or li::before { content: "✦"; color: var(--or); font-size: 0.8rem; margin-top: 4px; }

.galerie { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; grid-template-rows: 280px 280px; gap: 14px; max-width: var(--largeur); margin: clamp(70px, 9vw, 130px) auto 0; }
.galerie figure { margin: 0; overflow: hidden; position: relative; }
.galerie figure:nth-child(1) { grid-row: span 2; }
.galerie figure:nth-child(4) { grid-column: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05); transition: transform 1.2s var(--ease), filter .8s; }
.galerie figure:hover img { filter: saturate(1) contrast(1.05); }

/* ---------- Devis ---------- */
.devis { overflow: hidden; isolation: isolate; background: radial-gradient(60% 60% at 50% 40%, rgba(201, 161, 78, 0.08), transparent 70%), var(--noir); }
.ruban--doux { z-index: -1; opacity: 0.55; }
.devis__cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.carte-devis { text-align: center; padding: 38px 30px 34px; border: 1px solid var(--filet); background: rgba(11, 10, 9, 0.75); backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: center; }
.carte-devis img { height: 150px; width: auto; object-fit: contain; margin-bottom: 18px; }
.carte-devis h3 { font-family: var(--f-titre); font-size: 1.7rem; margin-bottom: 12px; }
.carte-devis p { color: var(--gris); max-width: 36ch; flex: 1; }

/* ---------- Pied de page ---------- */
.pied { text-align: center; padding: clamp(70px, 9vw, 120px) var(--marge) 110px; border-top: 1px solid var(--filet); background: radial-gradient(70% 70% at 50% 0%, rgba(201, 161, 78, 0.09), transparent 70%), var(--noir); display: flex; flex-direction: column; align-items: center; }
.pied__logo { width: 140px; border-radius: 50%; margin-bottom: 14px; }
.pied__marque { font-size: clamp(2.6rem, 5vw, 3.8rem); margin: 0; }
.pied__slogan { font-family: var(--f-marque); color: var(--or-clair); font-size: 1.7rem; margin: 4px 0 26px; }
.pied__livre { font-family: var(--f-titre); font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 26px; }
.pied__livre span { color: var(--or); }
.pied__contact { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 42px; }
.pied__legal { color: var(--gris); font-size: 0.8rem; line-height: 1.8; margin: 0; }

/* ---------- Panier (popover) ---------- */
.panier[popover] {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(460px, 100%); height: 100%; max-height: none;
  padding: 26px clamp(20px, 3vw, 34px) 30px;
  border: 0; border-left: 1px solid var(--filet);
  background: linear-gradient(180deg, #16130f, var(--noir));
  color: var(--ivoire);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .55s var(--ease), display .55s allow-discrete, overlay .55s allow-discrete;
}
.panier[popover]:popover-open { display: flex; flex-direction: column; transform: none; }
@starting-style { .panier[popover]:popover-open { transform: translateX(100%); } }
.panier::backdrop { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); transition: background .5s, backdrop-filter .5s, display .5s allow-discrete, overlay .5s allow-discrete; }
.panier:popover-open::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
@starting-style { .panier:popover-open::backdrop { background: rgba(0, 0, 0, 0); backdrop-filter: blur(0); } }
.panier__tete { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--filet-doux); margin-bottom: 18px; }
.fermer { width: 40px; height: 40px; background: none; border: 1px solid var(--filet); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.panier__vide { color: var(--gris); font-style: italic; }
.panier__liste { display: grid; gap: 2px; }
.ligne-panier { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--filet-doux); animation: monte .5s var(--ease) both; }
.ligne-panier__nom { margin: 0; font-size: 0.98rem; }
.ligne-panier__prix { margin: 0; font-family: var(--f-titre); font-weight: 700; color: var(--or-clair); text-align: right; font-variant-numeric: tabular-nums; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--filet-doux); width: max-content; }
.quantite button { width: 32px; height: 30px; background: none; border: 0; cursor: pointer; color: var(--or-clair); }
.quantite output { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.retirer { background: none; border: 0; color: var(--gris); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; justify-self: end; }
.retirer:hover { color: var(--ivoire); }
.panier__total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; margin-top: 4px; border-top: 1px solid var(--filet); }
.panier__total span { font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gris); }
.panier__total strong { font-family: var(--f-titre); font-size: 1.7rem; white-space: nowrap; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.panier__form { display: grid; gap: 14px; }
.panier__form label { display: grid; gap: 6px; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); }
.panier__form input, .panier__form textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ivoire); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--filet-doux); padding: 11px 12px; border-radius: 0; color-scheme: dark; }
.panier__form input:focus, .panier__form textarea:focus { outline: none; border-color: var(--or); }
.panier__form .btn { margin-top: 6px; }
.panier__mention { color: var(--gris); font-size: 0.8rem; margin: 0; text-align: center; }

/* ---------- Mobile : barre fixe, toast, point volant ---------- */
.barre-mobile { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 20px; background: var(--noir-3); border: 1px solid var(--filet); font-size: 0.9rem; transition: opacity .4s, translate .4s var(--ease); }
.toast.visible { opacity: 1; translate: -50% 0; }
.point-volant { position: fixed; z-index: 90; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--or-blanc), var(--or) 60%, var(--or-profond)); box-shadow: 0 0 18px rgba(240, 212, 138, 0.8); pointer-events: none; }

/* ---------- Apparition au défilement ---------- */
@supports (animation-timeline: view()) {
  .reveal { animation: apparition linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
  .parallaxe img { animation: parallaxe linear both; animation-timeline: view(); }
}
@keyframes apparition { from { opacity: 0; transform: translateY(40px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes parallaxe { from { transform: translateY(-7%) scale(1.14); } to { transform: translateY(7%) scale(1.14); } }
.js-io .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js-io .reveal.vu { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grille-caviars { grid-template-columns: repeat(2, 1fr); }
  .kaviari { grid-template-columns: 1fr; }
  .grille-coffrets { grid-template-columns: 1fr 1fr; }
  .coffret--vedette { grid-column: span 2; order: -1; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .bouton-devis { display: none; }
  .maison, .selection__colonnes, .rayon, .bar, .devis__cartes, .aperitifs__grille { grid-template-columns: 1fr; }
  .maison__portrait { order: -1; max-width: 360px; margin: 0 auto; }
  .bar--inverse .bar__photo { order: 0; }
  .bar__photo img { max-height: 380px; }
  .grille-caviars { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 18px; scrollbar-width: none; }
  .grille-caviars::-webkit-scrollbar { display: none; }
  .caviar { scroll-snap-align: center; }
  .kaviari__liste { grid-template-columns: 1fr; }
  .grille-coffrets { grid-template-columns: 1fr; }
  .coffret--vedette { grid-column: auto; }
  .onglets { justify-content: flex-start; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .galerie figure:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .galerie figure:nth-child(4) { grid-column: span 2; }
  .ligne-produit { grid-template-columns: 1fr auto 36px; gap: 10px; }
  .lp__nom span { display: block; margin: 0; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 40;
    border-top: 1px solid var(--filet); background: rgba(11, 10, 9, 0.92); backdrop-filter: blur(12px);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .barre-mobile > * { height: 58px; display: flex; align-items: center; justify-content: center; gap: 10px; background: none; border: 0; font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--ivoire); cursor: pointer; }
  .barre-mobile a { background: var(--degrade-or); color: var(--noir); font-weight: 500; }
  .toast { bottom: 76px; }
  .pied { padding-bottom: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .js-io .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
.panier__note { color: var(--gris); font-size: 0.82rem; font-style: italic; margin: -10px 0 18px; text-align: right; }


/* ==========================================================================
   Finitions mobile (passe Impeccable)
   ========================================================================== */
.points { display: none; }
.infos-livraison { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 26px 0 0; }
.infos-livraison li { display: flex; flex-direction: column; align-items: center; color: var(--ivoire); font-size: 0.95rem; }
.infos-livraison b { font-weight: 500; font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or); }
.panier__form .case { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 12px; text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--ivoire); cursor: pointer; }
.panier__form .case input { width: 22px; height: 22px; margin: 1px 0 0; padding: 0; accent-color: var(--or); }
.panier__form .case a { color: var(--or-clair); }
.pied__legal a { color: var(--or-clair); }

@media (max-width: 760px) {
  :root { --section: 72px; --marge: 20px; }
  .entete { padding: calc(10px + env(safe-area-inset-top)) var(--marge) 10px; }
  .entete__logo img { width: 44px; height: 44px; }
  .burger, .fermer { width: 46px; height: 46px; }
  .tete-section { margin-bottom: 40px; }

  /* accueil : tient dans l'écran, au-dessus de la barre fixe */
  .hero { min-height: calc(100svh - 58px); padding: calc(84px + env(safe-area-inset-top)) var(--marge) 40px; }
  .hero__descendre { display: none; }
  .hero__inner > * { animation-name: monte-mobile; animation-duration: .8s; }
  .hero__inner > :nth-child(2) { animation-delay: .05s; } .hero__inner > :nth-child(3) { animation-delay: .12s; }
  .hero__inner > :nth-child(4) { animation-delay: .18s; } .hero__inner > :nth-child(5) { animation-delay: .24s; }
  .hero__inner > :nth-child(6) { animation-delay: .3s; }
  .hero__logo { width: min(56vw, 230px); margin: 4px 0 20px; }
  .hero__phrase { margin: 14px auto 26px; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 380px; }
  .hero__cta .btn { width: 100%; }
  .hero__badge { margin-top: 26px; font-size: 0.7rem; letter-spacing: 0.14em; flex-wrap: wrap; justify-content: center; text-align: center; gap: 8px; }

  /* cibles tactiles ≥ 44 px */
  .formats button { height: 44px; font-size: 0.82rem; }
  .formats--compact button { height: 42px; }
  .ajout { width: 44px; height: 44px; }
  .ligne-produit { grid-template-columns: 1fr auto 44px; gap: 12px; padding: 12px 0; }
  .lp__nom { font-size: 0.98rem; line-height: 1.4; }
  .quantite button { width: 44px; height: 40px; }
  .retirer { min-height: 40px; }
  .btn--petit { --h: 46px; }

  /* carrousel caviars + repères */
  .grille-caviars { grid-auto-columns: 84%; gap: 12px; }
  .caviar { padding: 22px 18px 18px; }
  .caviar__visuel { width: 74%; }
  .points { display: flex; justify-content: center; margin-top: 4px; }
  .points button { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
  .points button::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--filet); transition: width .4s var(--ease), background .4s; }
  .points button[aria-current="true"]::before { width: 26px; background: var(--or); }

  /* onglets collants pendant la lecture des longues listes */
  .onglets {
    position: sticky; top: calc(64px + env(safe-area-inset-top)); z-index: 20;
    margin-bottom: 28px; background: rgba(11, 10, 9, 0.94); backdrop-filter: blur(12px);
    -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
  .onglets button { padding: 16px 14px; min-height: 50px; font-size: 0.74rem; }
  .rayon__titre { font-size: 1.35rem; }
  .rayon__colonne--visuel .btn { align-self: stretch; }
  .truffes { grid-template-columns: 1fr; }

  .selection__colonnes { margin-top: 28px; }
  .elevage li { grid-template-columns: 74px 1fr 58px; }
  .coffret h3 { font-size: 1.9rem; }
  .bar__texte .btn, .carte-devis .btn { width: 100%; }
  .galerie { gap: 8px; }
  .infos-livraison { flex-direction: column; align-items: center; }

  .panier[popover] { width: 100%; border-left: 0; padding-bottom: calc(30px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
  .barre-mobile > * { min-height: 58px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hero__logo { width: min(44vw, 170px); margin-bottom: 14px; }
  .hero__titre .marque { font-size: 3rem; }
  .hero__badge { display: none; }
}
@keyframes monte-mobile { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Page CGV ---------- */
.cgv { max-width: 760px; margin: 0 auto; padding: calc(120px + env(safe-area-inset-top)) var(--marge) 80px; }
.cgv h1 { font-size: var(--t-l); margin-bottom: 32px; }
.cgv__sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.cgv__sommaire a { text-decoration: none; font-size: 0.8rem; color: var(--gris); border: 1px solid var(--filet-doux); padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; transition: color .3s, border-color .3s; }
.cgv__sommaire a:hover { color: var(--or-clair); border-color: var(--filet); }
.cgv section { padding: 28px 0; border-top: 1px solid var(--filet-doux); scroll-margin-top: 90px; }
.cgv h2 { font-family: var(--f-titre); font-size: var(--t-m); color: var(--ivoire); margin-bottom: 16px; }
.cgv p { color: #d5cebf; }
.cgv p b { color: var(--or-clair); font-weight: 500; }
.cgv a { color: var(--or-clair); }
.a-completer { background: rgba(201, 161, 78, 0.18); color: var(--or-clair); padding: 0 4px; }
.page-cgv .entete { animation: none; }
.pied--court { padding: 50px var(--marge); }
.pied--court .pied__logo { width: 90px; }
@media (max-width: 760px) {
  .page-cgv .entete .marque { display: none; }
  .cgv { padding-top: calc(100px + env(safe-area-inset-top)); }
}
.hero__badge > span:not(.pastille) { white-space: nowrap; }
/* logo médaillon 3D (fond ivoire) : découpe nette sur l'anneau extérieur */
img[src$="logo-sfg.jpg"] { -webkit-mask: radial-gradient(closest-side, #000 97.5%, transparent 100%); mask: radial-gradient(closest-side, #000 97.5%, transparent 100%); }

/* ---------- Bande vidéo ---------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge) var(--section); }
.videos__cadre { margin: 0; aspect-ratio: 768 / 1376; max-height: 82vh; overflow: hidden; border: 1px solid var(--filet); position: relative; justify-self: center; width: 100%; }
.videos__cadre video { width: 100%; height: 100%; object-fit: cover; display: block; }
.videos__cadre::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(11, 10, 9, 0.55); }
@media (max-width: 760px) { .videos { gap: 8px; padding-bottom: var(--section); } .videos__cadre { max-height: none; } }

/* ---------- Boîtes 3D reconstituées à partir des étiquettes 52 mm ---------- */
.boite3d { position: absolute; inset: 7%; transform-style: preserve-3d; transform: rotateX(24deg) rotateY(-12deg); transition: transform .8s var(--ease); }
@media (hover: hover) { .caviar:hover .boite3d { transform: rotateX(14deg) rotateY(8deg); } }
.b3d-disque { position: absolute; border-radius: 50%; }
.b3d-face { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(1px); }
.b3d-jante { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, #7a5a1e, #f6e3a1, #b8892f, #fff2c4, #8d6a26, #e8c873, #7a5a1e, #d8b25c, #fff0bd, #9c7630, #7a5a1e); box-shadow: inset 0 0 0 1px rgba(255, 240, 200, 0.5), inset 0 -6px 10px rgba(0, 0, 0, 0.45); }
.b3d-gorge { position: absolute; inset: 3.4%; border-radius: 50%; background: radial-gradient(circle, #5b4317 88%, #2a1f0b 100%); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7); }
.b3d-etiquette { position: absolute; inset: 5.4%; width: 89.2%; height: 89.2%; border-radius: 50%; object-fit: cover; }
.b3d-verni { position: absolute; inset: 5.4%; border-radius: 50%; background: radial-gradient(120% 90% at 30% 15%, rgba(255, 255, 255, 0.2), transparent 45%), radial-gradient(90% 70% at 70% 100%, rgba(0, 0, 0, 0.3), transparent 60%); }
.b3d-reflet { position: absolute; inset: 5.4%; border-radius: 50%; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.3) 50%, transparent 62%); background-size: 320% 320%; background-position: 140% 0; transition: background-position 1.2s var(--ease); }
@media (hover: hover) { .caviar:hover .b3d-reflet { background-position: -40% 0; } }
.caviar.vu .b3d-reflet, .caviar__visuel.brille-boite .b3d-reflet { background-position: -40% 0; }
.caviar__grains { position: absolute; width: 38%; left: -4%; bottom: -2%; transform: translateZ(70px); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.8)); }
.caviar__visuel::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -4%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent); transform: translateZ(-60px); }

/* pastilles d'étiquette dans la carte */
.lp__pastille { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--filet); object-fit: cover; }
.lp__nom--pastille { display: flex; align-items: center; gap: 12px; }
.lp__pastille--vide { display: inline-block; box-shadow: none; border: 1px dashed var(--filet-doux); }
.lp__nom--pastille > span { margin: 0; color: inherit; font-size: inherit; }
.lp__nom--pastille > span span { display: block; color: var(--gris); font-size: 0.82rem; margin: 0; }
@media (max-width: 760px) { .lp__nom--pastille > span span { display: block; margin: 0; } .lp__pastille { width: 30px; height: 30px; } }
/* couvercle : photo réelle de la boîte, découpée sur le cercle doré */
.b3d-couvercle { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; -webkit-mask: radial-gradient(closest-side, #000 95%, transparent 97%); mask: radial-gradient(closest-side, #000 95%, transparent 97%); }
.b3d-verni--photo, .b3d-reflet--photo { inset: 3%; }

/* ---------- Boîtes personnalisées ---------- */
.perso__atelier { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); max-width: var(--largeur); margin: 0 auto; align-items: center; }
.perso__apercu { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.perso__boite { width: min(440px, 86vw); margin: 0; }
.perso__canvas { display: none; }
.perso__form { display: grid; gap: 20px; }
.perso__form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.perso__form legend, .perso__champ { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris); }
.perso__form legend { margin-bottom: 10px; }
.perso__choix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.perso__choix label { cursor: pointer; }
.perso__choix input, .perso__couleurs input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.perso__choix span { display: grid; place-items: center; min-height: 46px; border: 1px solid var(--filet-doux); font-family: var(--f-titre); font-size: 1.05rem; color: var(--ivoire); transition: border-color .3s, background .3s, color .3s; }
.perso__choix input:checked + span { background: var(--or); color: var(--noir); border-color: var(--or); }
.perso__choix input:focus-visible + span, .perso__couleurs input:focus-visible + span { outline: 2px solid var(--or-clair); outline-offset: 2px; }
.perso__couleurs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.perso__couleurs label { position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); transition: transform .3s var(--ease), box-shadow .3s; }
.perso__couleurs label:has(input:checked) { box-shadow: 0 0 0 2px var(--noir), 0 0 0 4px var(--or-clair); transform: scale(1.06); }
.perso__couleurs .perso__libre { width: auto; height: 44px; border-radius: 22px; background: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 4px; box-shadow: inset 0 0 0 1px var(--filet-doux); }
.perso__libre input { width: 36px; height: 36px; border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; }
.perso__libre span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.perso__champ { display: grid; gap: 8px; }
.perso__champ input, .perso__champ select { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ivoire); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--filet-doux); padding: 12px; border-radius: 0; color-scheme: dark; min-height: 48px; }
.perso__champ input:focus, .perso__champ select:focus { outline: none; border-color: var(--or); }
.perso__champ--fichier input { padding: 10px; }
.perso__champ small { text-transform: none; letter-spacing: 0; font-size: 0.8rem; color: var(--gris); font-style: italic; }
.perso__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.perso__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: 16px; border-top: 1px solid var(--filet); }
.perso__total span { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gris); }
.perso__total strong { font-family: var(--f-titre); font-size: 1.6rem; color: var(--or-clair); font-variant-numeric: tabular-nums; }
.perso__note { margin: -8px 0 0; color: var(--gris); font-size: 0.85rem; font-style: italic; }
@media (max-width: 760px) {
  .perso__atelier { grid-template-columns: 1fr; }
  .perso__apercu { position: sticky; top: 74px; z-index: 5; background: var(--noir); padding-bottom: 12px; }
  .perso__boite { width: min(250px, 66vw); }
  .perso__apercu .btn { display: none; }
}

/* ---------- Photos réelles (WhatsApp 14/10) ---------- */
.photo-cadre { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--filet); }
.photo-cadre img, .photo-cadre__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-cadre__img { border: 1px solid var(--filet); aspect-ratio: 4 / 5; }
.photo-cadre figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(11, 10, 9, 0.85)); font-family: var(--f-titre); font-size: 1.1rem; color: var(--ivoire); }
.kaviari__photo { margin-top: 30px; aspect-ratio: 4 / 5; max-width: 340px; }
.coffret__photo { margin: 0 0 18px; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--filet); }
.coffret__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .coffret--vedette:hover .coffret__photo img { transform: scale(1.04); } }
.aperitifs__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 0 auto 34px; }
.aperitifs__photos .photo-cadre { aspect-ratio: 4 / 5; }
.rayon__photo { margin-top: 28px; aspect-ratio: 16 / 10; }
.galerie { grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 300px 300px; }
.galerie figure:nth-child(1) { grid-row: auto; grid-column: auto; }
.galerie figure:nth-child(4) { grid-column: auto; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .galerie figure:nth-child(1) { grid-column: span 2; }
  .galerie figure:nth-child(4) { grid-column: auto; }
  .kaviari__photo { max-width: none; }
}
@media (max-width: 760px) { .galerie figure:nth-child(6) { grid-column: span 2; } }
.perso__ambiance { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; max-width: var(--largeur); margin: clamp(56px, 7vw, 96px) auto 0; }
.perso__ambiance .photo-cadre { aspect-ratio: auto; height: clamp(260px, 34vw, 460px); }
@media (max-width: 760px) { .perso__ambiance { grid-template-columns: 1fr; } .perso__ambiance .photo-cadre { height: 260px; } }
.pied__mail { margin: -22px 0 36px; }
.pied__mail a { color: var(--or-clair); text-decoration: none; letter-spacing: 0.08em; border-bottom: 1px solid var(--filet); padding-bottom: 2px; }
@media (hover: hover) { .pied__mail a:hover { border-color: var(--or); } }
