/* Le Bon Accord — feuille de style
   Monde visuel : carte de restaurant. Papier crème, encre bordeaux, un accent. */

:root {
  --paper: oklch(97.5% 0.012 85);
  --paper-2: oklch(94.5% 0.017 82);
  --paper-3: oklch(90.5% 0.02 80);
  --ink: oklch(24% 0.035 20);
  --ink-2: oklch(42% 0.03 25);
  --line: oklch(86% 0.02 80);
  --line-strong: oklch(74% 0.03 60);
  --wine: oklch(36% 0.14 18);
  --wine-hover: oklch(30% 0.14 18);
  --on-wine: oklch(97.5% 0.012 85);
  --straw: oklch(88% 0.09 95);
  --ok: oklch(40% 0.09 150);
  --warn: oklch(46% 0.13 50);

  --t-rouge: oklch(38% 0.14 18);
  --t-blanc: oklch(88% 0.1 98);
  --t-rosé: oklch(78% 0.1 15);
  --t-bulles: oklch(82% 0.11 85);
  --t-doux: oklch(70% 0.14 65);
  --t-fortifié: oklch(48% 0.1 40);

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --gutter: 16px;
  color-scheme: light dark;
  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: oklch(19% 0.025 20);
    --paper-2: oklch(23% 0.03 20);
    --paper-3: oklch(28% 0.034 20);
    --ink: oklch(93% 0.015 85);
    --ink-2: oklch(76% 0.02 80);
    --line: oklch(33% 0.03 20);
    --line-strong: oklch(46% 0.035 20);
    --wine: oklch(74% 0.12 20);
    --wine-hover: oklch(80% 0.11 20);
    --on-wine: oklch(19% 0.025 20);
    --straw: oklch(40% 0.07 95);
    --ok: oklch(76% 0.1 150);
    --warn: oklch(76% 0.12 60);
    --t-rouge: oklch(62% 0.15 20);
  }
}
:root[data-theme="dark"] {
  --paper: oklch(19% 0.025 20);
  --paper-2: oklch(23% 0.03 20);
  --paper-3: oklch(28% 0.034 20);
  --ink: oklch(93% 0.015 85);
  --ink-2: oklch(76% 0.02 80);
  --line: oklch(33% 0.03 20);
  --line-strong: oklch(46% 0.035 20);
  --wine: oklch(74% 0.12 20);
  --wine-hover: oklch(80% 0.11 20);
  --on-wine: oklch(19% 0.025 20);
  --straw: oklch(40% 0.07 95);
  --ok: oklch(76% 0.1 150);
  --warn: oklch(76% 0.12 60);
  --t-rouge: oklch(62% 0.15 20);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
  caret-color: var(--wine);
}
::selection { background: var(--straw); color: var(--ink); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; border-radius: 6px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

.shell { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 8px; top: -48px; z-index: 20;
  background: var(--wine); color: var(--on-wine); padding: 8px 14px; border-radius: 8px; text-decoration: none;
  transition: top 160ms var(--ease-out);
}
.skip:focus { top: 8px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- En-tête ---------- */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-mark { width: 28px; height: 28px; fill: none; stroke: var(--wine); stroke-width: 1.8; }
.top-link { font-size: 0.875rem; color: var(--ink-2); }
.top-link:hover { color: var(--ink); }

/* ---------- Accueil ---------- */
.stage { padding-top: clamp(28px, 6vw, 64px); padding-bottom: clamp(40px, 7vw, 88px); }
h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.2rem + 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 17ch;
  text-wrap: balance;
}
.lede { margin-top: 18px; max-width: 58ch; color: var(--ink-2); font-size: 1.0625rem; text-wrap: pretty; }

/* ---------- Choix du sens ---------- */
.modes {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: clamp(24px, 4vw, 40px);
  width: 100%; max-width: 560px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 5px;
}
.thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 11px;
  box-shadow: 0 1px 2px oklch(24% 0.035 20 / 0.08), 0 4px 12px oklch(24% 0.035 20 / 0.06);
  transition: transform 300ms var(--ease-out);
}
.modes[data-mode="wine"] .thumb { transform: translateX(100%); }
.mode {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  background: none; border: 0; padding: 12px 16px; border-radius: 11px; color: var(--ink-2);
  transition: color 160ms ease, transform 120ms var(--ease-out);
}
.mode:active { transform: scale(0.98); }
.mode[aria-selected="true"] { color: var(--ink); }
.mode[aria-selected="true"] .ico { color: var(--wine); }
.mode span { display: grid; line-height: 1.25; }
.mode b { font-weight: 600; font-size: 1rem; }
.mode small { font-size: 0.8125rem; color: var(--ink-2); }

/* ---------- Établi : commandes + résultats ---------- */
.bench { display: grid; gap: 32px; margin-top: 28px; align-items: start; }
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .bench { grid-template-columns: minmax(340px, 420px) minmax(0, 1fr); gap: 56px; }
  .controls { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; padding-right: 8px; margin-right: -8px; }
}

.field { display: grid; gap: 8px; }
.field-label { font-weight: 600; font-size: 0.9375rem; }
.combo { position: relative; display: flex; align-items: center; }
.combo input {
  width: 100%; min-height: 52px; padding: 12px 44px 12px 44px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 1.0625rem; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.combo input::placeholder { color: var(--ink-2); opacity: 0.8; }
.combo input:hover { border-color: var(--ink-2); }
.combo input:focus-visible { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px color-mix(in oklch, var(--wine) 25%, transparent); }
.combo input::-webkit-search-cancel-button { display: none; }
.ico-in { position: absolute; left: 14px; color: var(--ink-2); pointer-events: none; }
.icon-btn {
  position: absolute; right: 6px; width: 40px; height: 40px; display: grid; place-items: center;
  background: none; border: 0; border-radius: 8px; color: var(--ink-2);
  transition: background-color 120ms ease, transform 120ms var(--ease-out);
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn:active { transform: scale(0.94); }

.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 10;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 2px 4px oklch(24% 0.035 20 / 0.08), 0 12px 32px oklch(24% 0.035 20 / 0.14);
  padding: 6px; max-height: 340px; overflow-y: auto;
  transform-origin: top center;
  animation: pop 160ms var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(0.985); } to { opacity: 1; transform: none; } }
.suggest li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.suggest li small { color: var(--ink-2); font-size: 0.8125rem; white-space: nowrap; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--paper-2); }
.suggest li.compose { color: var(--wine); font-weight: 500; }

.hint { min-height: 1.4em; font-size: 0.875rem; color: var(--ink-2); }
.hint.warn { color: var(--warn); }

.starters { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Pastilles ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 12px;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.875rem; color: var(--ink);
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms var(--ease-out);
}
.chip:hover { border-color: var(--ink-2); background: var(--paper-2); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: var(--on-wine); }
.chip .dot { width: 10px; height: 10px; }

.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-3); border: 1px solid color-mix(in oklch, var(--ink) 25%, transparent); flex: none; }
.dot[data-type="rouge"] { background: var(--t-rouge); }
.dot[data-type="blanc"] { background: var(--t-blanc); }
.dot[data-type="rosé"] { background: var(--t-rosé); }
.dot[data-type="bulles"] { background: var(--t-bulles); }
.dot[data-type="doux"] { background: var(--t-doux); }
.dot[data-type="fortifié"] { background: var(--t-fortifié); }

/* ---------- Composition d'un plat ---------- */
.builder { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.builder summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; min-height: 48px;
}
.builder summary::-webkit-details-marker { display: none; }
.builder .chev { transition: transform 240ms var(--ease-out); color: var(--ink-2); }
.builder[open] .chev { transform: rotate(180deg); }
.builder-body { display: grid; gap: 18px; padding: 4px 0 20px; }
.builder legend { font-size: 0.8125rem; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.ghost {
  margin-top: 18px; background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 18px; min-height: 44px; font-size: 0.9375rem; color: var(--ink);
  transition: background-color 140ms ease, transform 120ms var(--ease-out);
}
.ghost:hover { background: var(--paper-2); }
.ghost:active { transform: scale(0.98); }

/* ---------- Catalogue des vins ---------- */
.catalog {
  margin-top: 14px; max-height: 46vh; overflow-y: auto;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.catalog li + li { border-top: 1px solid var(--line); }
.cat-btn {
  display: grid; grid-template-columns: 14px 1fr; column-gap: 12px; align-items: center; width: 100%;
  padding: 10px 8px; text-align: left; background: none; border: 0; border-radius: 8px;
  transition: background-color 120ms ease;
}
.cat-btn:hover { background: var(--paper-2); }
.cat-btn[aria-current="true"] { background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cat-btn .name { font-weight: 500; line-height: 1.3; }
.cat-btn .meta { grid-column: 2; font-size: 0.8125rem; color: var(--ink-2); }

.mini-h { margin-top: 18px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.01em; }
.named .catalog, .named + .mini-h + .catalog { margin-top: 6px; }
.ai { display: grid; justify-items: start; gap: 4px; }
.ai .ghost { margin-top: 6px; text-align: left; }
.ai .ghost:disabled { opacity: 0.6; cursor: progress; }

/* ---------- Résultats ---------- */
.results { min-width: 0; outline: none; }
.res-head { display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.res-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.res-head .sub { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.res-head .eyebrow-free { font-size: 0.875rem; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-2); }
.tag.swiss { background: var(--straw); color: var(--ink); border-color: transparent; font-weight: 500; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; padding: 18px 0; }
.filters .sep { width: 1px; height: 22px; background: var(--line-strong); margin-inline: 6px; }

.by-color { padding: 4px 0 20px; display: grid; gap: 8px; }
.by-color h3, .group h3, .avoid summary { font-size: 0.8125rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0.01em; }
.by-color ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.by-color li { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; }
.by-color li b { font-weight: 600; font-variant-numeric: tabular-nums; }

.list { display: grid; }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 6px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.row.first {
  margin-top: 4px; padding: 22px clamp(14px, 3vw, 28px); border: 1px solid var(--line-strong); border-radius: 16px;
  background: var(--paper-2);
}
.row-title { display: flex; align-items: center; gap: 10px; }
.row-title h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.first .row-title h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.12; }
.row-sub { grid-column: 1; font-size: 0.875rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.row-sub .sep { opacity: 0.5; }
.row-why { grid-column: 1; max-width: 62ch; text-wrap: pretty; }
.row-score { grid-column: 2; grid-row: 1 / span 3; display: grid; justify-items: end; align-content: start; gap: 6px; min-width: 112px; text-align: right; }
.num { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.first .num { font-size: 2.75rem; }
.meter { width: 112px; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--wine); border-radius: 3px; transform-origin: left center; animation: fill 700ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); }
.row[data-tier="2"] .meter i { background: color-mix(in oklch, var(--wine) 65%, var(--ink-2)); }
.row[data-tier="1"] .meter i, .row[data-tier="0"] .meter i { background: var(--ink-2); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tier { font-size: 0.8125rem; color: var(--ink-2); }

.more { grid-column: 1 / -1; margin-top: 4px; }
.more summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer;
  font-size: 0.875rem; font-weight: 500; color: var(--wine); min-height: 32px; border-radius: 6px;
}
.more summary::-webkit-details-marker { display: none; }
.more summary .ico { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
.more[open] summary .ico { transform: rotate(180deg); }
.more::details-content { block-size: 0; overflow: clip; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.more[open]::details-content { block-size: auto; }
.reasons { display: grid; gap: 10px; padding: 12px 0 4px; max-width: 64ch; }
.reasons li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.reasons .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.reasons li.warn .ico { color: var(--warn); }
.rails { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; padding: 14px 0 4px; }
.rail { display: grid; gap: 4px; font-size: 0.8125rem; color: var(--ink-2); }
.rail .bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.rail .bars i { height: 6px; border-radius: 2px; background: var(--paper-3); }
.rail .bars i.on { background: var(--ink); }

.group { margin-top: 32px; }
.group h3 { padding-bottom: 6px; }
.avoid { margin-top: 32px; border-top: 1px solid var(--line); }
.avoid summary { cursor: pointer; padding: 16px 0; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; }
.avoid summary::-webkit-details-marker { display: none; }
.avoid summary .ico { width: 16px; height: 16px; transition: transform 240ms var(--ease-out); }
.avoid[open] summary .ico { transform: rotate(180deg); }
.avoid .row .num { font-size: 1.5rem; color: var(--ink-2); }
.show-more { margin-top: 20px; }

.empty { display: grid; gap: 20px; padding-top: 4px; }
.empty h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.empty > p { color: var(--ink-2); max-width: 56ch; }
.examples { display: grid; border-top: 1px solid var(--line); }
.example {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; text-align: left; width: 100%;
  padding: 16px 4px; background: none; border: 0; border-bottom: 1px solid var(--line);
  transition: background-color 140ms ease, padding 200ms var(--ease-out);
}
.example:hover { background: var(--paper-2); padding-inline: 12px; }
.example .from { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.example .to { color: var(--ink-2); grid-column: 1; font-size: 0.9375rem; }
.example .go { grid-row: 1 / span 2; grid-column: 2; font-size: 0.9375rem; color: var(--wine); font-weight: 500; }

/* Entrée en cascade : un seul moment écrit */
.enter { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiet .enter, .quiet .meter i { animation-duration: 180ms; animation-delay: 0ms; }

/* ---------- Méthode ---------- */
.method { padding-block: clamp(40px, 7vw, 88px); border-top: 1px solid var(--line); }
.method h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.1; }
.method-grid { display: grid; gap: 28px; margin-top: 24px; }
.method-grid > p { max-width: 52ch; color: var(--ink-2); font-size: 1.0625rem; text-wrap: pretty; }
.rules { display: grid; gap: 14px; max-width: 64ch; }
.rules li { padding-bottom: 14px; border-bottom: 1px solid var(--line); text-wrap: pretty; }
.rules li:last-child { border-bottom: 0; }
.method-note { margin-top: 32px; max-width: 72ch; color: var(--ink-2); font-size: 0.9375rem; }
@media (min-width: 960px) { .method-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }



/* ======================================================
   Page d'accueil : style cave de grand hôtel
   Les bandes sombres le restent dans les deux thèmes.
   ====================================================== */
.cave-top, .swiss, .foot, .menu, .vault {
  --cave: oklch(21% 0.09 8);
  --cave-2: oklch(26% 0.105 8);
  --cave-ink: oklch(94% 0.015 85);
  --cave-ink-2: oklch(77% 0.02 80);
  --cave-line: oklch(38% 0.075 10);
  --brass: oklch(80% 0.105 85);
  --brass-deep: oklch(70% 0.1 80);
  background: var(--cave); color: var(--cave-ink);
}
.cave-top ::selection, .swiss ::selection, .foot ::selection, .menu ::selection, .vault ::selection { background: var(--brass); color: var(--cave); }
.cave-top :focus-visible, .swiss :focus-visible, .foot :focus-visible, .menu :focus-visible, .vault :focus-visible { outline-color: var(--brass); }
.cave-top { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 80% 30%, oklch(31% 0.13 8) 0%, transparent 70%), var(--cave); }

/* En-tête sur fond sombre */
.cave-top .top { border-bottom: 1px solid var(--cave-line); }
.cave-top .brand { color: var(--cave-ink); }
.cave-top .brand-mark { stroke: var(--brass); }
.top-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.top-nav a { font-size: 0.875rem; color: var(--cave-ink-2); text-decoration: none; padding: 6px 0; transition: color 160ms ease; }
.top-nav a:hover { color: var(--cave-ink); }
.top-nav a.top-cta { color: var(--brass); border: 1px solid var(--brass-deep); border-radius: 999px; padding: 7px 16px; transition: background 160ms ease, color 160ms ease; }
.top-nav a.top-cta:hover { background: var(--brass); color: var(--cave); }
@media (max-width: 720px) { .top-cta { display: none; } }

/* Héros */
.hero { position: relative; display: grid; gap: clamp(36px, 6vw, 56px); padding-block: clamp(44px, 9vw, 112px) clamp(56px, 9vw, 120px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 5.6vw, 5rem); line-height: 1.02; max-width: 15ch; color: var(--cave-ink); font-weight: 450; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--brass); }
.stars svg { width: 120px; height: 20px; fill: var(--brass); display: block; margin-bottom: 22px; }
.hero-lede { margin-top: 24px; max-width: 46ch; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--cave-ink-2); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-brass { background: var(--brass); color: var(--cave); }
.btn-brass:hover { background: oklch(86% 0.11 88); }
.btn-line { border-color: var(--cave-line); color: var(--cave-ink); background: transparent; }
.btn-line:hover { border-color: var(--brass-deep); color: var(--brass); }
.hero-fine { margin-top: 22px; font-size: 0.875rem; color: var(--cave-ink-2); max-width: 52ch; }

/* Cercles d'accord : le seul moment écrit du héros */
.venn { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.5; pointer-events: none; }
.venn circle { fill: none; stroke: var(--brass-deep); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2200ms var(--ease-out) 200ms forwards; }
.venn circle + circle { animation-delay: 500ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Carte des accords */
.card { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 0 0 1px oklch(80% 0.1 85 / 0.45), 0 0 0 7px var(--cave), 0 0 0 8px oklch(80% 0.1 85 / 0.35), 0 30px 60px -20px oklch(8% 0.04 8 / 0.8); max-width: 480px; width: 100%; justify-self: center; }
:root[data-theme="dark"] .card { --paper: oklch(95% 0.014 85); --paper-2: oklch(91% 0.018 82); --ink: oklch(24% 0.035 20); --ink-2: oklch(42% 0.03 25); --line: oklch(86% 0.02 80); --wine: oklch(36% 0.14 18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card { --paper: oklch(95% 0.014 85); --paper-2: oklch(91% 0.018 82); --ink: oklch(24% 0.035 20); --ink-2: oklch(42% 0.03 25); --line: oklch(86% 0.02 80); --wine: oklch(36% 0.14 18); } }
.card-h { display: grid; justify-items: center; gap: 2px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); text-align: center; }
.card-t { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; letter-spacing: -0.01em; }
.card-s { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.card-l li { border-bottom: 1px solid var(--line); }
.card-l li:last-child { border-bottom: 0; }
.card-l button { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; width: 100%; text-align: left; background: none; border: 0; padding: 14px 4px; color: inherit; border-radius: 4px; transition: background 160ms ease; }
.card-l button:hover { background: var(--paper-2); }
.cp-dish { font-weight: 600; }
.cp-wine { grid-column: 1; color: var(--wine); font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; }
.cp-score { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--ink); }
.card-f { margin-top: 10px; text-align: center; font-size: 0.8125rem; color: var(--ink-2); }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .card { justify-self: end; } }

/* Intitulés de section */
.sec-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; max-width: 22ch; }
.stage .sec-h { max-width: none; }
.method h2.sec-h { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.75rem); }

/* Vins suisses */
.swiss { padding-block: clamp(56px, 9vw, 112px); }
.swiss-in { display: grid; gap: 36px; }
.swiss .sec-h, .vault .sec-h { color: var(--cave-ink); }
.swiss-copy p { margin-top: 20px; max-width: 50ch; color: var(--cave-ink-2); font-size: 1.0625rem; text-wrap: pretty; }
.swiss-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.swiss-chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--cave-line); color: var(--cave-ink); transition: border-color 160ms ease, background 160ms ease, transform 120ms var(--ease-out); }
.swiss-chips button:hover { border-color: var(--brass-deep); background: var(--cave-2); }
.swiss-chips button:active { transform: scale(0.97); }
.swiss-chips small { color: var(--cave-ink-2); font-size: 0.8125rem; }
.swiss .dot { border-color: oklch(94% 0.015 85 / 0.5); }
@media (min-width: 960px) { .swiss-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; } }

/* Pied de page */
.foot { border-top: 1px solid var(--cave-line); padding-block: 48px 40px; }
.foot-in { display: grid; gap: 28px; }
.foot-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass); }
.foot-note { margin-top: 10px; max-width: 70ch; color: var(--cave-ink-2); font-size: 0.9375rem; }
.foot-fine { font-size: 0.8125rem; color: var(--cave-ink-2); }

.method { border-top: 1px solid var(--line); }


/* ---------- Chapitres bordeaux ---------- */
.cave-top::after, .swiss::after, .foot::after, .vault::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.swiss, .foot, .vault { position: relative; isolation: isolate; }
.swiss { background: var(--cave-2); }

.hero h1 { display: flex; flex-direction: column; font-size: clamp(3.5rem, 1.5rem + 11vw, 9rem); line-height: 0.92; letter-spacing: -0.035em; font-weight: 400; max-width: none; }
.hero h1 .k { font-style: italic; font-size: 0.3em; line-height: 1.2; letter-spacing: 0; color: var(--brass); margin-bottom: 0.25em; }
.hero-lede em { display: block; font-family: var(--font-display); font-size: 1.3em; line-height: 1.25; color: var(--cave-ink); margin-bottom: 14px; }
.stars svg { margin-bottom: 18px; }

.top-nav { gap: 12px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 6px 0 14px; background: none; border: 0; color: var(--cave-ink); font-size: 0.9375rem; transition: color 160ms ease; }
.menu-btn:hover { color: var(--brass); }

.menu { position: fixed; inset: 0; z-index: 30; overflow-y: auto; background: var(--cave); animation: fade 260ms var(--ease-out); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.menu-in { position: relative; min-height: 100%; display: grid; align-content: center; padding-block: 80px 48px; }
.menu-x { position: absolute; top: 14px; right: var(--gutter); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--cave-line); border-radius: 50%; color: var(--cave-ink); }
.menu-x:hover { border-color: var(--brass-deep); color: var(--brass); }
.menu-l { display: grid; }
.menu-l a { display: flex; align-items: baseline; gap: 24px; padding-block: 18px; border-top: 1px solid var(--cave-line); text-decoration: none; font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 4vw, 4rem); letter-spacing: -0.02em; color: var(--cave-ink); transition: color 160ms ease, padding-left 300ms var(--ease-out); }
.menu-l li:last-child a { border-bottom: 1px solid var(--cave-line); }
.menu-l a:hover { color: var(--brass); padding-left: 12px; }
.menu-l i { min-width: 2.2em; font-size: 0.5em; color: var(--brass); }

.chap { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 32px); }
.chap-n { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(4.5rem, 2.5rem + 8vw, 9rem); line-height: 0.75; letter-spacing: -0.04em; color: var(--wine); }
.chap-k { font-family: var(--font-display); font-style: italic; font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem); color: var(--ink-2); margin-bottom: 4px; }
.chap .sec-h { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); line-height: 0.98; max-width: none; }
.swiss .chap-n, .close .chap-n, .vault .chap-n { color: var(--brass); }
.swiss .chap-k, .close .chap-k, .vault .chap-k { color: var(--cave-ink-2); }
.stage .chap { margin-bottom: 24px; }
.method .chap { margin-bottom: 8px; }
.stage { padding-top: clamp(56px, 9vw, 120px); }
.method { padding-block: clamp(56px, 9vw, 120px); }

/* Maxime */
.maxim { background: var(--paper-2); border-block: 1px solid var(--line); padding-block: clamp(64px, 11vw, 150px); }
.maxim blockquote { margin: 0; border-top: 1px solid var(--wine); padding-top: 28px; max-width: 1000px; }
.maxim p { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2rem, 1rem + 4.2vw, 4.5rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--wine); text-wrap: balance; }
.maxim footer { margin-top: 24px; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border: 0; padding: 0; }

/* Clôture */
.close { display: grid; gap: 24px; padding-block: clamp(64px, 10vw, 130px); border-bottom: 1px solid var(--cave-line); }
.close-p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); color: var(--cave-ink-2); max-width: 28em; }
.close .hero-cta { margin-top: 8px; }
.foot { border-top: 0; padding-top: 0; }


/* ======================================================
   Ma cave : espace privé, casier 3D, alertes
   ====================================================== */
.vault { --cave: oklch(15.5% 0.065 8); background: var(--cave); padding-block: clamp(56px, 9vw, 120px); border-top: 1px solid var(--cave-line); }
.vault-lede { margin-top: 22px; max-width: 54ch; color: var(--cave-ink-2); font-size: 1.0625rem; text-wrap: pretty; }
.vault-gate { margin-top: 32px; padding: 20px 22px; border: 1px dashed var(--cave-line); border-radius: 12px; color: var(--cave-ink-2); max-width: 62ch; }
.vault-priv { margin-top: 28px; max-width: 70ch; font-size: 0.875rem; color: var(--cave-ink-2); }
.fine { font-size: 0.8125rem; color: var(--cave-ink-2); margin-top: 6px; }

.vault .btn-sm { min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--cave-line); color: var(--cave-ink); font-size: 0.875rem; transition: border-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out); }
.vault .btn-sm:hover { border-color: var(--brass-deep); color: var(--brass); }
.vault .btn-sm:active { transform: scale(0.97); }
.vault .btn-sm.danger:hover { border-color: oklch(70% 0.16 25); color: oklch(78% 0.14 25); }

/* Alertes */
.alerts { margin-top: 36px; }
.alerts-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.alerts-h h3, .bform h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; }
.alerts-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; margin-top: 16px; }
.al button { display: grid; gap: 4px; width: 100%; text-align: left; padding: 14px 16px; background: var(--cave-2); border: 1px solid var(--cave-line); border-radius: 12px; color: var(--cave-ink); transition: border-color 160ms ease, transform 120ms var(--ease-out); }
.al button:hover { border-color: var(--brass-deep); }
.al button:active { transform: scale(0.98); }
.al-t { font-size: 0.8125rem; font-weight: 600; }
.al.now .al-t { color: var(--brass); }
.al.soon .al-t { color: oklch(80% 0.12 60); }
.al.late .al-t { color: oklch(76% 0.14 25); }
.al.next .al-t { color: var(--cave-ink-2); }
.al-n { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.25; }
.al-d { font-size: 0.8125rem; color: var(--cave-ink-2); }
.al-empty { grid-column: 1 / -1; color: var(--cave-ink-2); padding: 6px 0; }

.vault-grid { display: grid; gap: 40px; margin-top: 44px; align-items: start; }
@media (min-width: 960px) { .vault-grid { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); gap: 56px; } }

/* Formulaire */
.bform { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label, .size label { font-size: 0.8125rem; color: var(--cave-ink-2); }
.vault input, .vault select { width: 100%; min-height: 46px; padding: 0 14px; background: oklch(12% 0.05 8); color: var(--cave-ink); border: 1px solid var(--cave-line); border-radius: 10px; font: inherit; font-size: 1rem; }
.vault select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9b97c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
.vault input::placeholder { color: oklch(60% 0.02 80); }
.vault input:hover, .vault select:hover { border-color: var(--cave-ink-2); }
.vault input:focus-visible, .vault select:focus-visible { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px oklch(80% 0.105 85 / 0.25); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
@media (min-width: 560px) { .row4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .bform .row4 { grid-template-columns: repeat(2, 1fr); } }
.combo2 { position: relative; }
.combo2 .suggest { color: var(--ink); }
.winopt { border: 1px solid var(--cave-line); border-radius: 10px; padding: 12px 14px; }
.winopt summary { cursor: pointer; font-size: 0.9375rem; color: var(--cave-ink); }
.winopt .btn-sm { margin-top: 12px; }
.form-msg { min-height: 1.4em; font-size: 0.875rem; color: var(--brass); }
.bform .btn { justify-self: start; border: 0; }

/* Scène 3D */
.scene-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.seg { display: inline-flex; border: 1px solid var(--cave-line); border-radius: 999px; padding: 3px; }
.seg button { min-height: 36px; padding: 0 14px; background: none; border: 0; border-radius: 999px; color: var(--cave-ink-2); font-size: 0.875rem; transition: background 160ms ease, color 160ms ease; }
.seg button:hover { background: var(--cave-2); color: var(--cave-ink); }
.size { display: flex; gap: 12px; }
.size label { display: flex; align-items: center; gap: 8px; }
.size select { width: auto; min-height: 36px; padding-inline: 10px 30px; }

.rack-stage { position: relative; margin-top: 16px; padding: clamp(32px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); display: grid; place-items: center; perspective: 1500px; overflow: clip; touch-action: pan-y; cursor: grab; border-radius: 16px;
  background: radial-gradient(70% 60% at 50% 40%, oklch(26% 0.1 8) 0%, transparent 75%), oklch(12% 0.05 8); border: 1px solid var(--cave-line); }
.rack-stage:active { cursor: grabbing; }
.rack { --cs: max(26px, min(66px, calc((100cqw - 44px) / var(--cols)))); --bd: calc(var(--cs) * 0.78); --D: calc(var(--cs) * 1.9);
  position: relative; width: calc(var(--cols) * var(--cs)); height: calc(var(--rows) * var(--cs));
  transform-style: preserve-3d; transform-origin: 50% 50% calc(var(--D) * -0.5);
  transform: rotateX(var(--rx, -8deg)) rotateY(var(--ry, -24deg)); transition: transform 700ms var(--ease-out); }
.rack.no-t { transition: none; }
.rack i { position: absolute; pointer-events: none; }
.f-back { inset: 0; transform: translateZ(calc(var(--D) * -1)); background: radial-gradient(circle at 50% 40%, oklch(24% 0.05 40), oklch(11% 0.03 30)); }
.f-v { top: 0; left: calc(var(--k) * var(--cs)); width: var(--D); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, oklch(30% 0.06 48) 0 6px, oklch(34% 0.065 50) 6px 11px), oklch(32% 0.06 50); box-shadow: inset 0 0 14px oklch(0% 0 0 / 0.5); }
.f-h { left: 0; top: calc(var(--k) * var(--cs)); width: 100%; height: var(--D); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: repeating-linear-gradient(0deg, oklch(42% 0.07 56) 0 7px, oklch(46% 0.075 58) 7px 13px), oklch(44% 0.07 56); box-shadow: inset 0 0 18px oklch(0% 0 0 / 0.45); }
.cell { position: absolute; left: calc(var(--c) * var(--cs)); top: calc(var(--r) * var(--cs)); width: var(--cs); height: var(--cs); transform-style: preserve-3d; }
.hit { position: absolute; inset: 3px; border-radius: 10px; transition: background 140ms ease, box-shadow 140ms ease; }
.cell.over .hit { background: oklch(80% 0.105 85 / 0.22); box-shadow: inset 0 0 0 2px var(--brass); }
.slot { position: absolute; left: 50%; top: 50%; width: var(--bd); height: var(--bd); margin: calc(var(--bd) / -2) 0 0 calc(var(--bd) / -2); border-radius: 50%; border: 1.5px dashed oklch(80% 0.105 85 / 0.28); pointer-events: none; }
.bt { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.bt[data-t="rouge"], .tray-b[data-t="rouge"], .drag-ghost[data-t="rouge"] { --tc: oklch(52% 0.17 18); }
.bt[data-t="blanc"], .tray-b[data-t="blanc"], .drag-ghost[data-t="blanc"] { --tc: oklch(88% 0.1 98); }
.bt[data-t="rosé"], .tray-b[data-t="rosé"], .drag-ghost[data-t="rosé"] { --tc: oklch(78% 0.1 15); }
.bt[data-t="bulles"], .tray-b[data-t="bulles"], .drag-ghost[data-t="bulles"] { --tc: oklch(84% 0.11 85); }
.bt[data-t="doux"], .tray-b[data-t="doux"], .drag-ghost[data-t="doux"] { --tc: oklch(72% 0.14 65); }
.bt[data-t="fortifié"], .tray-b[data-t="fortifié"], .drag-ghost[data-t="fortifié"] { --tc: oklch(55% 0.11 40); }
.bp, .bn { position: absolute; left: 50%; top: 50%; transform-origin: 50% 0; pointer-events: none; }
.bp { width: var(--bd); height: calc(var(--D) * 0.7); margin-left: calc(var(--bd) / -2); transform: rotateZ(var(--a)) rotateX(-90deg);
  background: linear-gradient(90deg, oklch(12% 0.03 150), oklch(32% 0.065 150) 35%, oklch(20% 0.045 150) 62%, oklch(10% 0.03 150)); }
.bn { width: calc(var(--bd) * 0.36); height: calc(var(--D) * 0.3); margin-left: calc(var(--bd) * -0.18); transform: translateZ(calc(var(--D) * -0.7)) rotateZ(var(--a)) rotateX(-90deg);
  background: linear-gradient(90deg, color-mix(in oklch, var(--tc) 45%, black), var(--tc) 45%, color-mix(in oklch, var(--tc) 55%, black)); }
.bfront, .drag-ghost { display: grid; place-items: center; border-radius: 50%; padding: 0; border: 0; color: oklch(94% 0.015 85); font-family: var(--font-body); font-weight: 600; font-variant-numeric: tabular-nums;
  background: radial-gradient(circle at 34% 28%, oklch(100% 0 0 / 0.38) 0 7%, transparent 30%), radial-gradient(circle, oklch(25% 0.055 150) 0 50%, oklch(13% 0.035 150) 100%);
  box-shadow: inset 0 0 0 3px var(--tc), 0 3px 8px oklch(0% 0 0 / 0.55); }
.bfront { position: absolute; left: 50%; top: 50%; width: var(--bd); height: var(--bd); margin: calc(var(--bd) / -2) 0 0 calc(var(--bd) / -2); font-size: calc(var(--bd) * 0.27); pointer-events: auto; touch-action: none; cursor: grab; transform: translateZ(1px); transition: box-shadow 200ms ease, filter 200ms ease, opacity 120ms ease; }
.bfront:hover { filter: brightness(1.2); }
.bfront.lifting { opacity: 0.25; }
.bt.apogee .bfront { box-shadow: inset 0 0 0 3px var(--tc), 0 0 0 2px var(--brass), 0 0 18px 3px oklch(80% 0.105 85 / 0.65); }
.bt.declin .bfront { box-shadow: inset 0 0 0 3px var(--tc), 0 0 0 2px oklch(78% 0.13 60), 0 0 14px 2px oklch(78% 0.13 60 / 0.5); }
.bt.passe .bfront { filter: grayscale(0.85) brightness(0.8); }
.bt.sel .bfront { outline: 2px solid oklch(97% 0.01 85); outline-offset: 4px; }
.drag-ghost { position: fixed; left: 0; top: 0; width: 48px; height: 48px; z-index: 60; pointer-events: none; font-size: 0.8125rem; will-change: transform; filter: drop-shadow(0 10px 14px oklch(0% 0 0 / 0.5)); }
.rack-floor { position: absolute; left: 12%; right: 12%; bottom: clamp(18px, 3vw, 34px); height: 34px; background: radial-gradient(closest-side, oklch(0% 0 0 / 0.55), transparent); pointer-events: none; }
.scene-hint { margin-top: 10px; }

.tray { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; min-height: 60px; border: 1px dashed var(--cave-line); border-radius: 12px; transition: background 140ms ease, border-color 140ms ease; }
.tray.over { background: oklch(80% 0.105 85 / 0.12); border-color: var(--brass); }
.tray-t { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cave-ink-2); margin-right: 6px; }
.tray-e { font-size: 0.8125rem; color: var(--cave-ink-2); }
.tray-b { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--cave-2); border: 1px solid var(--cave-line); color: var(--cave-ink); font-size: 0.875rem; touch-action: none; cursor: grab; }
.tray-b.sel { border-color: var(--brass); }
.tray-b.lifting { opacity: 0.3; }
.vault .dot { border-color: oklch(94% 0.015 85 / 0.5); }

.detail { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--cave-line); }
.d-head { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.d-head > div { flex: 1; min-width: 180px; }
.d-head h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.d-v { color: var(--brass); font-style: italic; }
.d-s { color: var(--cave-ink-2); font-size: 0.9375rem; }
.d-head .dot { margin-top: 8px; width: 14px; height: 14px; }
.pill { padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; border: 1px solid var(--cave-line); color: var(--cave-ink-2); white-space: nowrap; }
.pill.apogee { background: var(--brass); color: var(--cave); border-color: var(--brass); }
.pill.declin { color: oklch(80% 0.12 60); border-color: oklch(80% 0.12 60); }
.pill.passe { color: oklch(76% 0.14 25); border-color: oklch(76% 0.14 25); }
.d-w { margin-top: 12px; max-width: 62ch; color: var(--cave-ink-2); }
.d-row { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 16px; }
.d-row label { display: grid; gap: 6px; font-size: 0.8125rem; color: var(--cave-ink-2); }
.d-row select { min-width: 220px; }
.detail .winopt { margin-top: 16px; }
@media (max-width: 560px) { .alerts-h { align-items: flex-start; } }

/* ---------- Petits écrans ---------- */
@media (max-width: 560px) {
  .row-score { grid-column: 1; grid-row: auto; justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; min-width: 0; margin-top: 4px; }
  .row-score .tier { grid-column: 1 / -1; }
  .meter { width: 100%; max-width: 160px; }
  .num { font-size: 1.75rem; }
  .first .num { font-size: 2.25rem; }
  .mode { padding: 10px 12px; gap: 8px; }
  .mode small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
.foot-in { padding-top: 40px; }
.list-h { margin: 18px 0 4px; }
.list-h:first-child { margin-top: 4px; }
.link-b { background: none; border: 0; padding: 6px 4px; color: var(--brass); text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 0.9375rem; cursor: pointer; }
.link-b:hover { color: oklch(86% 0.11 88); }
.auth { display: grid; gap: 14px; max-width: 420px; }
.auth h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--cave-ink); }
.auth-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vault-gate:has(.auth) { border-style: solid; padding: 28px; }
.chk { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: var(--cave-ink-2); font-size: 0.9375rem; }
.chk input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--brass); }

/* Musique d'ambiance */
.snd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px; background: none; border: 0; color: var(--cave-ink-2); font-size: 0.9375rem; transition: color 160ms ease; }
.snd-btn:hover { color: var(--cave-ink); }
.snd-btn[aria-pressed="true"] { color: var(--brass); }
.snd-btn .waves { display: none; }
.snd-btn[aria-pressed="true"] .waves { display: inline; transform-box: fill-box; animation: pulse 2.4s ease-in-out infinite; }
.snd-btn[aria-pressed="true"] .mute { display: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (max-width: 420px) { .snd-btn span { display: none; } }

.top-space { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--cave-line); border-radius: 999px; color: var(--cave-ink) !important; transition: border-color 160ms ease, color 160ms ease; }
.top-space:hover { border-color: var(--brass-deep); color: var(--brass) !important; }
@media (max-width: 720px) { .top-nav a.top-space { display: inline-flex; } }
@media (max-width: 420px) { .top-space span { display: none; } .top-space { padding: 0 10px; } }
.gate-card { display: flex; gap: 16px; align-items: flex-start; }
.gate-card .ico { width: 28px; height: 28px; color: var(--brass); margin-top: 2px; }
.gate-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.375rem; color: var(--cave-ink); margin-bottom: 8px; }
.gate-card p + p { margin-top: 10px; }

/* ---------- Espace client : onglets, profil ---------- */
.auth-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--cave-line); border-radius: 999px; width: fit-content; margin-bottom: 18px; }
.auth-tabs button { min-height: 40px; padding: 0 18px; border-radius: 999px; background: transparent; border: 0; color: var(--cave-ink-2); font-size: 0.9375rem; transition: background 160ms ease, color 160ms ease; }
.auth-tabs button[aria-selected="true"] { background: var(--brass); color: var(--cave); }
.gate-main { flex: 1; min-width: 0; }
.profile { margin-top: 18px; border: 1px solid var(--cave-line); border-radius: 12px; padding: 4px 18px; background: var(--cave-2); }
.profile > summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; color: var(--cave-ink); font-weight: 600; }
.profile[open] > summary { border-bottom: 1px solid var(--cave-line); margin-bottom: 16px; }
.profile-grid { display: grid; gap: 14px 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 16px; }
.profile .lbl { font-size: 0.8125rem; color: var(--cave-ink-2); }
.profile .ro { min-height: 44px; display: flex; align-items: center; color: var(--cave-ink); overflow-wrap: anywhere; }
.profile .auth-btns { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; }
.top-nav a.top-admin { color: var(--brass); }

/* ---------- Tableau de bord ---------- */
.admin { background: var(--cave); color: var(--cave-ink); padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--cave-line); --cave: oklch(21% 0.09 8); --cave-2: oklch(26% 0.105 8); --cave-ink: oklch(94% 0.015 85); --cave-ink-2: oklch(77% 0.02 80); --cave-line: oklch(38% 0.075 10); --brass: oklch(80% 0.105 85); --brass-deep: oklch(70% 0.1 80); }
.admin[hidden], .profile[hidden], .top-admin[hidden] { display: none; }
.admin .sec-h { color: var(--cave-ink); }
.admin .chap-k { color: var(--cave-ink-2); }
.admin ::selection { background: var(--brass); color: var(--cave); }
.admin :focus-visible { outline-color: var(--brass); }
.admin-app { margin-top: 36px; display: grid; gap: 28px; }
.admin .fine { color: var(--cave-ink-2); }
.admin .form-msg { color: var(--brass); }
.admin .btn-sm { min-height: 40px; padding: 0 16px; border-radius: 999px; background: transparent; border: 1px solid var(--cave-line); color: var(--cave-ink); font-size: 0.875rem; transition: border-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out); }
.admin .btn-sm:hover { border-color: var(--brass-deep); color: var(--brass); }
.admin .btn-sm:active { transform: scale(0.97); }
.admin .btn-sm.danger:hover { border-color: oklch(70% 0.16 25); color: oklch(78% 0.14 25); }
.admin .pill { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--cave-line); color: var(--cave-ink-2); white-space: nowrap; }
.admin .pill.apogee { background: var(--brass); color: var(--cave); border-color: var(--brass); }
.admin .pill.passe { color: oklch(76% 0.14 25); border-color: oklch(76% 0.14 25); }
.adm-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.adm-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-h { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--cave-ink); }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.tile { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--cave-line); border-radius: 12px; background: var(--cave-2); align-content: start; }
.tile-v { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; color: var(--cave-ink); font-variant-numeric: tabular-nums; }
.tile-l { font-size: 0.875rem; color: var(--cave-ink); }
.tile-s { font-size: 0.8125rem; color: var(--cave-ink-2); }
.charts { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .charts.two { grid-template-columns: repeat(2, 1fr); } .charts.three { grid-template-columns: repeat(3, 1fr); } }
.vz { margin: 0; padding: 18px; border: 1px solid var(--cave-line); border-radius: 12px; background: var(--cave-2); min-width: 0; }
.vz figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 12px; color: var(--cave-ink); }
.vz figcaption span { font-size: 0.8125rem; color: var(--cave-ink-2); }
.vz svg { width: 100%; height: auto; display: block; overflow: visible; }
.vz-grid { stroke: var(--cave-line); stroke-width: 1; opacity: 0.7; }
.vz-tick { fill: var(--cave-ink-2); font-size: 11px; font-family: var(--font-body); }
.vz-bar { fill: var(--brass); }
.vz-hit { fill: transparent; }
.vz-hit:hover { fill: oklch(94% 0.015 85 / 0.07); }
.vz-t { margin-top: 10px; font-size: 0.8125rem; color: var(--cave-ink-2); }
.vz-t summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.vz-t table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.vz-t th, .vz-t td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--cave-line); font-variant-numeric: tabular-nums; }
.hb { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hb li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 0.875rem; }
.hb-n { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cave-ink); }
.hb-b { height: 10px; background: oklch(100% 0 0 / 0.06); border-radius: 0 4px 4px 0; }
.hb-b i { display: block; height: 100%; background: var(--brass); border-radius: 0 4px 4px 0; }
.hb-v { color: var(--cave-ink-2); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin .chip { min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; border: 1px solid var(--cave-line); color: var(--cave-ink); }
.admin .chip:hover { background: var(--cave-2); border-color: var(--brass-deep); }
.admin .chip[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--cave); }
.admin input[type="search"], .admin input[type="text"] { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--cave-line); background: var(--cave-2); color: var(--cave-ink); min-width: 220px; }
.tbl-wrap { border: 1px solid var(--cave-line); border-radius: 12px; overflow: hidden; background: var(--cave-2); }
.adm-t { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.adm-t th { text-align: left; padding: 12px 14px; color: var(--cave-ink-2); font-weight: 500; border-bottom: 1px solid var(--cave-line); white-space: nowrap; }
.adm-t td { padding: 12px 14px; border-bottom: 1px solid var(--cave-line); vertical-align: top; overflow-wrap: anywhere; }
.adm-t tr:last-child td { border-bottom: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px) {
  .adm-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .adm-t, .adm-t tbody, .adm-t tr, .adm-t td { display: block; }
  .adm-t tr { padding: 12px 14px; border-bottom: 1px solid var(--cave-line); }
  .adm-t td { display: grid; grid-template-columns: 9rem 1fr; gap: 10px; padding: 6px 0; border: 0; }
  .adm-t td[data-l]::before { content: attr(data-l); color: var(--cave-ink-2); }
  .adm-t td.acts { display: flex; padding-top: 10px; }
}
.viz-tip { position: fixed; top: 0; left: 0; z-index: 90; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 0.8125rem; box-shadow: 0 6px 20px oklch(8% 0.04 8 / 0.5); max-width: 260px; }
@media (prefers-reduced-motion: reduce) { .admin * { transition: none !important; } }

/* ---------- Visuels : illustrations de plats et d'étiquettes ---------- */
.art { display: block; flex: none; position: relative; overflow: hidden; border-radius: 12px; --art-bg: oklch(93% 0.04 var(--h, 60)); line-height: 0; }
.art svg { display: block; width: 100%; height: 100%; }
.art .bg { fill: var(--art-bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .art { --art-bg: oklch(34% 0.045 var(--h, 60)); } }
:root[data-theme="dark"] .art { --art-bg: oklch(34% 0.045 var(--h, 60)); }
.art-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-dish { aspect-ratio: 4 / 3; box-shadow: 0 1px 0 var(--line); }
.art-label { aspect-ratio: 11 / 15; border-radius: 5px; box-shadow: 0 1px 2px oklch(20% 0.03 20 / 0.25), 0 6px 14px -8px oklch(20% 0.03 20 / 0.35); }
.row.has-art { grid-template-columns: var(--aw, 92px) minmax(0, 1fr) auto; column-gap: 16px; }
.row.has-art.lab { --aw: 58px; }
.row.first.has-art { --aw: 148px; }
.row.first.has-art.lab { --aw: 86px; }
.has-art > .art { grid-column: 1; grid-row: 1 / span 3; width: var(--aw); align-self: start; }
.has-art > .row-title, .has-art > .row-sub, .has-art > .row-why { grid-column: 2; }
.has-art > .row-score { grid-column: 3; }
.has-art > .more { grid-column: 1 / -1; }
.res-head.with-art { grid-template-columns: 1fr; align-items: start; }
.res-head.with-art .rh-txt { display: grid; gap: 14px; min-width: 0; }
.res-head.with-art .art-lg { width: min(220px, 62%); }
.res-head.with-art.lab .art-label { width: 96px; }
@media (min-width: 640px) { .res-head.with-art { grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; } .res-head.with-art .art-lg { width: 200px; } }
@media (max-width: 560px) {
  .row.has-art, .row.first.has-art { grid-template-columns: var(--aw) minmax(0, 1fr); column-gap: 12px; }
  .row.has-art { --aw: 72px; } .row.first.has-art { --aw: 96px; }
  .row.has-art.lab { --aw: 46px; } .row.first.has-art.lab { --aw: 64px; }
  .has-art > .row-score { grid-column: 2; grid-row: auto; }
}
.refs { margin-top: 12px; }
.refs h4 { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.refs ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 420px; }
.refs li { display: grid; gap: 4px; align-content: start; }
.refs .art-label { width: 100%; max-width: 84px; }
.ref-n { font-size: 0.8125rem; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.ref-s { font-size: 0.75rem; color: var(--ink-2); line-height: 1.25; }
.refs .fine { margin-top: 8px; }

/* ---------- Ma cave : reconnaissance automatique, étiquettes ---------- */
.auto { margin-top: 4px; padding: 12px; border: 1px solid var(--cave-line, var(--line)); border-radius: 12px; background: color-mix(in oklch, var(--brass, var(--wine)) 7%, transparent); }
.auto-in { display: flex; gap: 12px; align-items: flex-start; }
.auto .art-sm { width: 52px; }
.auto-t { min-width: 0; display: grid; gap: 4px; }
.auto-n { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; line-height: 1.2; }
.auto-s { font-size: 0.8125rem; color: var(--cave-ink-2, var(--ink-2)); }
.auto-w { font-size: 0.875rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.auto .pill { padding: 2px 9px; font-size: 0.75rem; }
.mil.grand { color: var(--brass, var(--ok)); }
.d-label { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.d-label .art-md { width: 84px; }
.d-photo { display: grid; gap: 8px; justify-items: start; }
.btn-sm.file { cursor: pointer; display: inline-flex; align-items: center; }
.art-label img.own { object-fit: cover; }

.credits { font-size: 0.8125rem; color: var(--ink-2); padding: 12px 0; }
.credits summary { cursor: pointer; }
.credits ul { list-style: none; margin-top: 8px; display: grid; gap: 4px; columns: 2 280px; }

/* ---------- Style « Sommelier » : crème, lie-de-vin, or brossé, olive ---------- */
:root[data-look="sommelier"] {
  --paper: #FDFBF7; --paper-2: #F7F2E9; --paper-3: #EFE8DA; --ink: #1A0F1A; --ink-2: #5B4B57;
  --line: #E8E1D4; --line-strong: #CFC4B0; --wine: #3A1431; --wine-hover: #2A0E24; --on-wine: #FDFBF7;
  --straw: #EADFC2; --ok: #5C6B2E; --warn: #8A5A1E; --gold: #B08D57; --olive: #6B7340;
  --font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 8px;
}
@media (prefers-color-scheme: dark) {
  :root[data-look="sommelier"]:not([data-theme="light"]) {
    --paper: #1A0F1A; --paper-2: #231520; --paper-3: #2C1B29; --ink: #F3ECE0; --ink-2: #BFB1B6;
    --line: #3A2536; --line-strong: #5A4258; --wine: #D4B278; --wine-hover: #E3C690; --on-wine: #1A0F1A;
    --straw: #4A3A22; --ok: #A7B56A; --warn: #E0A860; --gold: #D4B278; --olive: #A7B56A;
  }
}
:root[data-look="sommelier"][data-theme="dark"] {
  --paper: #1A0F1A; --paper-2: #231520; --paper-3: #2C1B29; --ink: #F3ECE0; --ink-2: #BFB1B6;
  --line: #3A2536; --line-strong: #5A4258; --wine: #D4B278; --wine-hover: #E3C690; --on-wine: #1A0F1A;
  --straw: #4A3A22; --ok: #A7B56A; --warn: #E0A860; --gold: #D4B278; --olive: #A7B56A;
}
[data-look="sommelier"] h1, [data-look="sommelier"] h2, [data-look="sommelier"] h3 { font-weight: 500; letter-spacing: -0.01em; }
[data-look="sommelier"] .row.first { border-radius: 10px; }
[data-look="sommelier"] .row { border-top-color: var(--line); }
[data-look="sommelier"] .meter i { background: var(--wine); }
[data-look="sommelier"] .art { border-radius: 6px; --art-bg: #F3EEE4; }
[data-look="sommelier"] .art-dish { box-shadow: inset 0 0 0 1px var(--line); }
[data-look="sommelier"] .art-dish svg { filter: saturate(0.72) contrast(1.03); }
@media (prefers-color-scheme: dark) { :root[data-look="sommelier"]:not([data-theme="light"]) .art { --art-bg: #2A1B27; } }
:root[data-look="sommelier"][data-theme="dark"] .art { --art-bg: #2A1B27; }

/* bouteilles détourées sur fond neutre */
.art-bottle { aspect-ratio: 2 / 5; background: var(--paper-2); border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); overflow: visible; }
.art-bottle svg { padding: 4% 6% 2%; }
.row.has-art.lab { --aw: 40px; }
.row.first.has-art.lab { --aw: 58px; }
.res-head.with-art.lab .art-bottle { width: 76px; }
.refs .art-bottle { max-width: 44px; }
.auto .art-sm.art-bottle { width: 34px; }
.d-label .art-bottle { width: 64px; }
@media (max-width: 560px) { .row.has-art.lab { --aw: 34px; } .row.first.has-art.lab { --aw: 46px; } }

/* graphique radar */
.prof { display: grid; gap: 14px; align-items: center; }
@media (min-width: 640px) { .prof { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.radar { width: min(220px, 100%); height: auto; display: block; }
.rd-ring { fill: none; stroke: var(--line-strong); stroke-width: 0.6; opacity: 0.8; }
.rd-ax { stroke: var(--line-strong); stroke-width: 0.6; opacity: 0.7; }
.rd-shape { fill: var(--wine); fill-opacity: 0.16; stroke: var(--wine); stroke-width: 1.4; stroke-linejoin: round; }
.rd-dot { fill: var(--gold, var(--wine)); stroke: var(--paper); stroke-width: 1.2; }
.rd-t { font: 500 9.5px var(--font-body); fill: var(--ink-2); }

/* ---------- Brand page : promesse, profil, cave digitale, avis ---------- */
.hero-bottles { display: none; }
@media (min-width: 960px) { .hero { position: relative; } .hero-bottles { display: flex; gap: 6px; align-items: flex-end; position: absolute; right: calc(var(--gutter) + 4px); top: -6px; z-index: 2; pointer-events: none; } .hero-bottles .art-bottle { width: 44px; background: transparent; box-shadow: none; filter: drop-shadow(0 8px 10px oklch(10% 0.03 20 / 0.45)); } .hero-bottles .art-bottle:nth-child(2) { width: 52px; } }
.bp-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 10px; }
.bp-lede { color: var(--ink-2); max-width: 60ch; margin-bottom: 22px; }
.promise, .profil, .avis { padding-block: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); }
.promise-g { list-style: none; display: grid; gap: 28px; margin-top: 22px; }
@media (min-width: 760px) { .promise-g { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.promise-g li { display: grid; gap: 8px; align-content: start; }
.pi { width: 32px; height: 32px; fill: none; stroke: var(--gold, var(--wine)); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.promise-g h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.promise-g p { color: var(--ink-2); max-width: 36ch; }
.profil-g { display: grid; gap: 24px; }
@media (min-width: 900px) { .profil-g { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 56px; } }
.profil-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.profil-main { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .profil-main { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; } }
.profil-radar .radar { width: min(260px, 100%); }
.profil-txt h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.gauges { list-style: none; display: grid; gap: 8px; margin: 14px 0; }
.gauges li { display: grid; grid-template-columns: 84px 1fr 16px; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--ink-2); }
.gbar { height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; display: block; }
.gbar i { display: block; height: 100%; background: var(--wine); border-radius: 3px; transition: width 320ms var(--ease-out); }
.gauges b { color: var(--ink); font-weight: 600; text-align: right; }
.profil-note { max-width: 56ch; margin-bottom: 8px; }
.profil-best { font-size: 0.9375rem; color: var(--ink-2); }
.profil-best a { color: var(--wine); text-underline-offset: 3px; }
.digcave { padding-block: clamp(40px, 7vw, 80px); border-top: 1px solid var(--line); background: var(--paper-2); }
.dc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-nav { display: flex; gap: 8px; }
.dc-track { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 16px; scrollbar-width: thin; }
.dc-track:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 8px; }
.dc-track li { flex: 0 0 148px; scroll-snap-align: start; }
.dc-item { all: unset; box-sizing: border-box; display: grid; gap: 4px; width: 100%; cursor: pointer; padding: 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); text-align: center; justify-items: center; }
.dc-item:hover, .dc-item:focus-visible { border-color: var(--gold, var(--wine)); }
.dc-item .art-bottle { width: 56px; background: transparent; box-shadow: none; }
.dc-n { font-family: var(--font-display); font-size: 0.9375rem; line-height: 1.2; margin-top: 6px; text-wrap: balance; }
.dc-s { font-size: 0.75rem; color: var(--ink-2); }
.dc-g { font-size: 0.75rem; color: var(--gold, var(--ink-2)); font-weight: 600; }
.avis-g { list-style: none; display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 760px) { .avis-g { grid-template-columns: repeat(3, 1fr); } }
.avis blockquote { margin: 0; display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
.avis blockquote footer { font-size: 0.875rem; color: var(--ink-2); }
.av-st { color: var(--gold, var(--wine)); letter-spacing: 2px; } .av-st span { color: var(--line-strong); }

/* Style Sommelier : bandes sombres en lie-de-vin très sombre, or brossé (plus de bordeaux saturé) */
[data-look="sommelier"] .cave-top, [data-look="sommelier"] .swiss, [data-look="sommelier"] .foot, [data-look="sommelier"] .menu, [data-look="sommelier"] .vault {
  --cave: #1A0F1A; --cave-2: #241624; --cave-ink: #F3ECE0; --cave-ink-2: #BFB1B6; --cave-line: #3A2536;
  --brass: #C9A86A; --brass-deep: #B08D57;
}
[data-look="sommelier"] .cave-top { background: radial-gradient(60% 80% at 80% 30%, #2A1828 0%, transparent 70%), var(--cave); }
[data-look="sommelier"] .vault .bform, [data-look="sommelier"] .vault .scene { --radius: 8px; }
[data-look="sommelier"] .hero h1, [data-look="sommelier"] .bp-h { font-family: var(--font-display); }

/* ---------- Drapeaux et fiches techniques ---------- */
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px oklch(50% 0.02 60 / 0.35); vertical-align: -1px; flex: none; display: inline-block; }
.row-sub .flag { margin-right: -2px; }
.fiche { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); padding: 0 16px; }
.fiche > summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 0.9375rem; list-style: none; }
.fiche > summary::-webkit-details-marker { display: none; }
.fiche > summary::after { content: "+"; float: right; color: var(--gold, var(--wine)); font-weight: 400; }
.fiche[open] > summary::after { content: "–"; }
.fiche-g { display: grid; gap: 0; margin: 0; }
.fiche-g > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 0.875rem; }
.fiche-g dt { color: var(--ink-2); }
.fiche-g dd { margin: 0; }
@media (min-width: 760px) { .fiche-g { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.cepages { padding: 10px 0 4px; border-top: 1px solid var(--line); }
.cepages h4 { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.cepages ul { list-style: none; display: grid; gap: 4px; }
.cepages summary { cursor: pointer; font-size: 0.9375rem; padding: 4px 0; }
.cepages p { font-size: 0.875rem; margin: 4px 0 6px 18px; max-width: 62ch; }
.cdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: var(--paper-3); border: 1px solid var(--line-strong); }
.cdot[data-c="rouge"] { background: #5B1A33; border-color: #5B1A33; }
.cdot[data-c="blanc"] { background: #D9C77A; border-color: #B7A44F; }
.fiche .fine { padding: 8px 0 12px; }
.vault .fiche { background: transparent; border-color: var(--cave-line); }
.vault .fiche-g dt, .vault .cepages h4 { color: var(--cave-ink-2); }
.vault .fiche-g > div, .vault .cepages { border-top-color: var(--cave-line); }

/* ---------- Ma cave : recherche et surbrillance ---------- */
.cave-search { margin-bottom: 14px; display: grid; gap: 8px; }
.cave-search input { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--cave-line); background: transparent; color: var(--cave-ink); font: inherit; }
.cave-search input::placeholder { color: var(--cave-ink-2); opacity: 0.85; }
.cave-search input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.hits { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 190px; overflow: auto; }
.hits button { all: unset; box-sizing: border-box; width: 100%; display: grid; gap: 2px; padding: 8px 12px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; color: var(--cave-ink); }
.hits button:hover, .hits button:focus-visible { border-color: var(--brass); background: color-mix(in oklch, var(--brass) 10%, transparent); }
.hit-n { font-weight: 600; font-size: 0.9375rem; }
.hit-c { font-size: 0.8125rem; color: var(--cave-ink-2); }
.hit-e { font-size: 0.875rem; color: var(--cave-ink-2); padding: 4px 2px; }
.bt.hl .bfront { transform: scale(1.2); filter: brightness(1.2); box-shadow: 0 0 0 3px var(--brass), 0 0 22px 6px color-mix(in oklch, var(--brass) 80%, transparent); animation: hlpulse 1.4s ease-in-out infinite; z-index: 3; }
.has-hl .bt.dim .bfront, .has-hl .bt.dim .bp, .has-hl .bt.dim .bn { opacity: 0.28; }
.tray-b.hl { outline: 2px solid var(--brass); outline-offset: 2px; }
.has-hl .tray-b.dim { opacity: 0.4; }
@keyframes hlpulse { 50% { box-shadow: 0 0 0 3px var(--brass), 0 0 30px 10px color-mix(in oklch, var(--brass) 55%, transparent); } }
@media (prefers-reduced-motion: reduce) { .bt.hl .bfront { animation: none; } }
.rack-tip { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; display: grid; gap: 4px; max-width: 260px; padding: 10px 12px; border-radius: 10px; background: #1A0F1A; color: #F3ECE0; border: 1px solid #B08D57; box-shadow: 0 10px 28px rgb(0 0 0 / 0.4); font-size: 0.8125rem; line-height: 1.35; }
.rack-tip b { font-weight: 600; font-size: 0.9375rem; }
.rack-tip span { color: #BFB1B6; }
.rack-tip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; color: #D9CFC0; }
.rack-tip[hidden] { display: none; }

.wall { padding: 28px 24px; border: 1px solid var(--brass, #B08D57); border-radius: 14px; display: grid; gap: 12px; text-align: center; max-width: 520px; margin: 24px auto; }
.wall h3 { font-family: var(--font-display, serif); font-weight: 500; font-size: 1.375rem; }
.wall-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.guest-back { text-align: center; margin-top: 12px; }

/* ---------- Photos de fond très légères (brand page et sections) ---------- */
.bgp { position: relative; isolation: isolate; }
.bgp::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; pointer-events: none;
  background: var(--bgp) var(--bgpos, center) / cover no-repeat; opacity: var(--bgo, 0.11); filter: saturate(0.8);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
html { overflow-x: clip; }
#accueil { --bgp: url(img/fond/verre.jpg); --bgo: 0.13; }
#promesse { --bgp: url(img/fond/langhe.jpg); --bgo: 0.12; }
#profil { --bgp: url(img/fond/raisins.jpg); --bgo: 0.11; }
#cave-digitale { --bgp: url(img/fond/cave.jpg); --bgo: 0.12; }
#avis { --bgp: url(img/fond/verre.jpg); --bgo: 0.1; }
#outil { --bgp: url(img/fond/plat-champignons.jpg); --bgo: 0.07; --bgpos: center 30%; }
#methode { --bgp: url(img/fond/plat-boeuf.jpg); --bgo: 0.06; }
.maxim { --bgp: url(img/fond/champagne.jpg); --bgo: 0.2; }
#cave { --bgp: url(img/fond/voutes.jpg); --bgo: 0.2; }
#suisse { --bgp: url(img/fond/vignoble.jpg); --bgo: 0.2; }
:root[data-look="carte"] .bgp::before { opacity: calc(var(--bgo, 0.11) * 0.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #promesse, :root:not([data-theme="light"]) #profil, :root:not([data-theme="light"]) #cave-digitale, :root:not([data-theme="light"]) #outil, :root:not([data-theme="light"]) #methode { --bgo: 0.07; } }
.pwa-i { margin-top: 12px; font-size: 0.875rem; color: var(--cave-ink-2, inherit); }
.pwa-i[hidden] { display: none; }

/* ---------- Dans ma cave : accords avec les bouteilles de l'utilisateur ---------- */
.cave-pick { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--brass, #b08d57); border-radius: 12px; display: grid; gap: 10px; background: color-mix(in oklch, var(--brass, #b08d57) 8%, transparent); }
.cave-pick h3 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; }
.cave-pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cave-pick button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 8px; cursor: pointer; }
.cave-pick button:hover, .cave-pick button:focus-visible { background: color-mix(in oklch, var(--brass, #b08d57) 14%, transparent); outline: 2px solid transparent; }
.cave-pick button:focus-visible { outline-color: var(--brass, #b08d57); }
.cp-t { display: grid; gap: 1px; min-width: 0; }
.cp-s, .cp-e { font-size: 0.8125rem; opacity: 0.75; }
.cp-n { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.125rem; }

/* ---------- Scanner un vin ---------- */
.scan-btn { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 10px; min-height: 44px; }
.scan-btn[hidden] { display: none; }
.scan-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--brass, #b08d57); border-radius: 14px; padding: 22px; background: var(--paper, #fdfbf7); color: var(--ink, #1a0f1a); }
.scan-dlg::backdrop { background: rgb(20 8 16 / 0.6); }
.scan-dlg h2 { font-size: 1.375rem; margin: 0 0 10px; }
.scan-x { position: absolute; top: 10px; right: 10px; margin: 0; }
.scan-x button { font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
.scan-p { margin: 0 0 12px; max-width: 60ch; }
.scan-fine { font-size: 0.8125rem; opacity: 0.75; }
.scan-pick { display: inline-flex; margin-bottom: 14px; cursor: pointer; }
.scan-bar { height: 6px; border-radius: 3px; background: color-mix(in oklch, currentColor 15%, transparent); overflow: hidden; }
.scan-bar i { display: block; height: 100%; width: 0; background: var(--brass, #b08d57); transition: width 0.2s; }
.scan-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.scan-top img { width: 96px; height: auto; border-radius: 8px; flex: none; }
.scan-raw summary { cursor: pointer; font-size: 0.875rem; }
.scan-raw pre { white-space: pre-wrap; font-size: 0.75rem; max-height: 120px; overflow: auto; margin: 6px 0 0; }
.scan-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.scan-list li { border: 1px solid color-mix(in oklch, currentColor 20%, transparent); border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; }
.scan-list li span { display: block; font-size: 0.8125rem; opacity: 0.75; }
.scan-btns, .scan-act { display: flex; gap: 8px; flex-wrap: wrap; }
.scan-dlg { --brass: oklch(66% 0.1 78); --cave: #1a0f1a; }
.scan-dlg .btn:not(.btn-brass) { background: transparent; color: inherit; border-color: currentColor; }
.scan-dlg .btn-brass { color: #1a0f1a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scan-dlg { background: #1b1018; color: #f3ece0; --brass: oklch(80% 0.105 85); } }
.scan-ico[hidden] { display: none; }
.combo .scan-ico { margin-right: 2px; }
.combo .scan-ico { right: 6px; margin: 0; color: var(--wine); }
.combo .scan-ico:not([hidden]) ~ #wine-clear, #wine-clear:has(~ .scan-ico) { right: 46px; }
.combo:has(.scan-ico:not([hidden])) #wine-q { padding-right: 92px; }
.combo .scan-ico:not([hidden]) { }

/* grandes caves (jusqu'à 200 bouteilles) : le casier garde une taille lisible et défile sur le côté */
.rack-stage { overflow-x: auto; overflow-y: clip; justify-items: safe center; }

.vault-grid > *, .scene { min-width: 0; }
.rack-stage { container-type: inline-size; max-width: 100%; }

/* Sélecteur de langue */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px; background: none; border: 0; color: var(--cave-ink-2); font-size: 0.875rem; cursor: pointer; transition: color 160ms ease; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--brass); }
.lang-btn b { font-weight: 600; letter-spacing: 0.06em; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 168px; background: var(--cave-2, #1d1520); border: 1px solid var(--cave-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.lang-list[hidden] { display: none; }
.lang-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--cave-ink-2); font-size: 0.9375rem; cursor: pointer; }
.lang-list li b { width: 22px; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--brass); }
.lang-list li:hover, .lang-list li:focus-visible { background: rgba(255,255,255,.07); color: var(--cave-ink); outline: none; }
.lang-list li[aria-selected="true"] { color: var(--cave-ink); }
.lang-list li[aria-selected="true"]::after { content: "✓"; margin-left: auto; color: var(--brass); }
@media (max-width: 520px) { .top-nav { gap: 4px; } .lang-btn { padding: 0 6px; } }
@media (max-width: 460px) { .brand span { white-space: nowrap; font-size: 1rem; } .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .menu-btn { padding: 0 8px; } }

/* ---------- Construis ta cave (modules) ---------- */
.cave-tabs { margin-top: 18px; display: flex; width: fit-content; max-width: 100%; }
.cave-tabs button { flex: 1 1 auto; white-space: nowrap; }
.cave-tabs button[aria-selected="true"] { background: var(--brass); color: var(--cave); }
.build { margin-top: 14px; }
.build-intro { max-width: 62ch; }
.build-add { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.build-add select { width: auto; flex: 1 1 240px; max-width: 360px; }
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; gap: 16px; margin-top: 14px; }
.mods-e { padding: 18px; border: 1px dashed var(--cave-line); border-radius: 12px; }
.mod { padding: 12px 14px 10px; border: 1px solid var(--cave-line); border-radius: 14px; background: oklch(18% 0.06 8); }
.mod-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mod-name { flex: 1 1 160px; min-width: 0; min-height: 40px !important; font-weight: 600; }
.mod-cnt { font-size: 0.8125rem; color: var(--cave-ink-2); font-variant-numeric: tabular-nums; padding: 0 4px; }
.mod-b { min-width: 40px; padding: 0 10px !important; }
.mod-b:disabled { opacity: 0.35; pointer-events: none; }
.mod-body { display: grid; grid-template-columns: repeat(var(--mc), minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.comp { position: relative; min-width: 0; border-radius: 10px; transition: background 140ms ease, outline-color 140ms ease; }
.comp.over { outline: 2px solid var(--brass); outline-offset: 2px; background: oklch(80% 0.105 85 / 0.12); }
.comp-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; position: relative; z-index: 1; }
.comp-n { position: absolute; left: 8px; top: 4px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cave-ink-2); }
.mod .tray-b.mb { min-height: 0; width: calc(var(--cs) + 8px); height: calc(var(--cs) + 8px); padding: 0; justify-content: center; border-radius: 50%; background: var(--tc, var(--cave-2)); color: oklch(15% 0.04 8); border: 2px solid oklch(94% 0.015 85 / 0.4); font-size: calc(var(--cs) * 0.38); font-weight: 600; font-variant-numeric: tabular-nums; }
.mod .tray-b.mb[data-t="rouge"], .mod .tray-b.mb[data-t="fortifié"] { color: oklch(96% 0.01 85); }
.mod .tray-b.mb.sel { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass); }
.mod .tray-b.mb.apogee { box-shadow: 0 0 0 2px var(--brass), 0 0 12px 2px oklch(80% 0.105 85 / 0.6); }
.mod .tray-b.mb.declin, .mod .tray-b.mb.passe { border-color: oklch(70% 0.16 25); }
.mod .tray-b.mb.garde { border-style: dashed; }
.mod .fs { width: calc(var(--cs) + 8px); height: calc(var(--cs) + 8px); border-radius: 50%; border: 2px dashed oklch(94% 0.015 85 / 0.16); }
/* casier horizontal : une case carrée par bouteille */
.mod[data-type="pigeon"] .comp { aspect-ratio: 1; display: grid; place-items: center; min-height: 44px; border: 2px solid oklch(46% 0.07 60); background: oklch(21% 0.05 50); }
.mod[data-type="pigeon"] .mod-body { gap: 4px; max-width: calc(var(--mc) * 64px); }
/* casier en X : losange */
.mod[data-type="x"] .comp { display: grid; place-items: center; min-height: 110px; padding: 12px; }
.mod[data-type="x"] .comp::before { content: ""; position: absolute; inset: 14%; transform: rotate(45deg) scale(0.9); border: 2px solid oklch(46% 0.07 60); background: oklch(21% 0.05 50); border-radius: 6px; }
.mod[data-type="x"] .comp-in { max-width: 82%; }
/* casier en diagonale : triangle (pointe en bas puis en haut) */
.mod[data-type="diag"] .comp { display: grid; place-items: center; min-height: 100px; padding: 10px 6px; }
.mod[data-type="diag"] .comp::before { content: ""; position: absolute; inset: 0; background: oklch(24% 0.06 50); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.mod[data-type="diag"] .comp.up::before { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mod[data-type="diag"] .comp.down .comp-in { align-self: start; margin-top: 4px; max-width: 80%; }
.mod[data-type="diag"] .comp.up .comp-in { align-self: end; margin-bottom: 4px; max-width: 80%; }
/* étagère ouverte : planche */
.mod[data-type="open"] .mod-body { gap: 0; }
.mod[data-type="open"] .comp { padding: 20px 8px 6px; border-bottom: 8px solid oklch(46% 0.07 60); border-radius: 2px; min-height: 52px; }
.mod[data-type="open"] .comp-in { justify-content: flex-start; }
/* vrac */
.mod[data-type="bulk"] .comp { padding: 10px; border: 2px dashed oklch(55% 0.07 60); min-height: 64px; }
.mod[data-type="bulk"] .comp-in { justify-content: flex-start; }
.mod-set { margin-top: 10px; }
.mod-set summary { cursor: pointer; font-size: 0.8125rem; color: var(--cave-ink-2); min-height: 32px; display: flex; align-items: center; }
.mod-fl { display: flex; flex-wrap: wrap; gap: 10px 14px; padding-top: 8px; }
.mf { display: grid; gap: 4px; font-size: 0.8125rem; color: var(--cave-ink-2); }
.mf input { width: 96px; min-height: 40px; }
#mtray.over { background: oklch(80% 0.105 85 / 0.12); border-color: var(--brass); }
#mtray.has-hl .tray-b.dim, .mods.has-hl .tray-b.dim { opacity: 0.35; }
.mods.has-hl .tray-b.hl { outline: 2px solid var(--brass); outline-offset: 2px; }
@media (max-width: 520px) { .mod-body { gap: 4px; } .mod[data-type="x"] .comp { min-height: 96px; } }
@media (prefers-reduced-motion: reduce) { .comp { transition: none; } }

.mod[data-type="x"] .mod-body, .mod[data-type="diag"] .mod-body { grid-template-columns: repeat(var(--mc), minmax(124px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
.mod[data-type="x"] .comp { aspect-ratio: 1; min-height: 0; padding: 0; }
.mod[data-type="x"] .comp::before { inset: 17%; transform: rotate(45deg); }
.mod[data-type="x"] .comp-in { max-width: 58%; }
.mod[data-type="diag"] .comp { aspect-ratio: 1.15; min-height: 0; }
.mod[data-type="diag"] .comp.down .comp-in { margin-top: 6px; max-width: 72%; }
.mod[data-type="diag"] .comp.up .comp-in { margin-bottom: 6px; max-width: 50%; }
.mod[data-type="x"] .mb, .mod[data-type="diag"] .mb { border-width: 1.5px; }
.build, .mods, .mod, .scene > * { min-width: 0; }
.mod[data-type="diag"] .comp.down .comp-in, .mod[data-type="diag"] .comp.up .comp-in { max-width: 78%; }
.mod[data-type="diag"] .comp.down .comp-in { margin-top: 8px; }
.mod[data-type="diag"] .comp.up .comp-in { margin-bottom: 8px; }

/* ---------- Navigation par sections ---------- */
.vtabs { display: none; }
.sx-switch { margin-top: 18px; font-size: 0.8125rem; }
body.sx .vtabs { display: flex; align-items: center; gap: 2px; }
body.sx .vtabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--cave-ink-2); text-decoration: none; font-size: 0.875rem; transition: background 160ms ease, color 160ms ease; }
body.sx .vtabs a:hover { color: var(--cave-ink); background: oklch(100% 0 0 / 0.06); }
body.sx .vtabs a[aria-current="page"] { background: var(--brass); color: var(--cave); }
body.sx .vtabs .ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.v-off { display: none !important; }
.v-in { animation: vin 340ms var(--ease-out, ease-out); }
@keyframes vin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .v-in { animation: none; } }
/* barre du haut toujours visible */
body.sx { padding-top: 60px; }
body.sx .cave-top .top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: oklch(15.5% 0.065 8 / 0.96); }
body.sx [id] { scroll-margin-top: 72px; }
body.sx .controls { top: 76px; max-height: calc(100dvh - 92px); }
body.sx .top-cta { display: none; }
@media (min-width: 1100px) { body.sx .top-in { gap: 24px; } }
/* téléphone et tablette : barre d'onglets en bas */
@media (max-width: 899px) {
  body.sx { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body.sx .vtabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; justify-content: space-around; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: oklch(15.5% 0.065 8 / 0.97); border-top: 1px solid var(--cave-line); }
  body.sx .vtabs a { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; padding: 4px 2px; border-radius: 14px; font-size: 0.6875rem; letter-spacing: 0.02em; }
  body.sx .vtabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.sx .vtabs .ico { width: 22px; height: 22px; }
  body.sx .menu { padding-bottom: 68px; }
}
body.sx .cave-top { z-index: 40; }
body.sx .menu { z-index: 50; }

/* Profil de dégustation : tous les vins et cépages */
.profil-side { display: grid; gap: 10px; align-content: start; min-width: 0; }
.profil-tabs { display: flex; gap: 8px; }
.profil-q { width: 100%; padding: 10px 14px; border: 1px solid var(--line, rgba(0,0,0,.2)); border-radius: 999px; background: rgba(255,255,255,.85); font: inherit; color: var(--ink); }
.profil-side .profil-chips { display: block; max-height: 420px; overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; }
.pc-group + .pc-group { margin-top: 14px; }
.pc-group h4 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.pc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.profil-txt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cep-badge { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; border: 2px solid var(--brass, #b8923f); background: radial-gradient(circle at 35% 30%, #7a2a45, #3a1226); }
.cep-badge.cep-blanc { background: radial-gradient(circle at 35% 30%, #f1e3a6, #c9ad5a); }
.cep-badge span { font-family: var(--font-display); font-size: 4rem; color: #f6ecd6; }
.cep-badge.cep-blanc span { color: #5a4310; }

/* Scanner une carte de restaurant */
.scan-modes { margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in oklch, currentColor 20%, transparent); }
.sm-zone { margin-bottom: 16px; }
.sm-zone h3, .scan-dlg #scan-body > h3 { font-size: 1rem; margin: 14px 0 6px; }
.sm-txt { width: 100%; min-height: 110px; padding: 10px; border-radius: 8px; border: 1px solid color-mix(in oklch, currentColor 30%, transparent); background: transparent; color: inherit; font: inherit; font-size: 0.875rem; resize: vertical; }
.sm-grapes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.sm-grapes .chip { cursor: default; }
.sm-w { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sm-w li, .sm-pair { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; border: 0; padding: 0; }
.scan-list li.sm-pair { padding: 10px 12px; border: 1px solid color-mix(in oklch, currentColor 20%, transparent); }
.sm-sc { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 50%; background: var(--brass, #b08d57); color: #1a0f1a; font-weight: 700; font-size: 0.8125rem; }
.scan-list .sm-sc { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; opacity: 1; font-size: 0.8125rem; line-height: 1; color: #1a0f1a; }

/* Photos réelles de bouteilles (détourées) */
.art.art-btl { background: transparent; overflow: visible; border-radius: 0; line-height: 0; display: grid; place-items: end center; }
.art-btl img { display: block; width: auto; height: auto; max-width: 100%; max-height: 190px; object-fit: contain; filter: drop-shadow(0 6px 8px oklch(0% 0 0 / 0.35)); }
.has-art.lab > .art-btl { --aw: 58px; }
.row.first.has-art > .art-btl img { max-height: 210px; }
.res-head.with-art.lab .art-btl { width: auto; }
.res-head.with-art.lab .art-btl img { max-height: 210px; }
.refs .art-btl img { max-height: 120px; }
.has-art > .art-btl img { max-height: 96px; }
.cat-btn.has-thumb { grid-template-columns: 30px 1fr; }
.cat-btn.has-thumb .dot { display: none; }
.cat-thumb { grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 56px; object-fit: contain; }

/* Qui sommes-nous / Contact */
.about { border-top: 1px solid var(--cave-line); }
.about-h { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: var(--cave-ink); margin: 0 0 14px; font-weight: 500; }
.about-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: 56ch; color: var(--cave-ink-2); }
.about-l li { padding-left: 18px; position: relative; text-wrap: pretty; }
.about-l li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.about-l b { color: var(--cave-ink); font-weight: 600; }
.about-who { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; }
.about-addr { margin-top: 14px; }
.about-addr a, .foot-fine a { color: var(--brass); }
.adm-hist { margin-top: 28px; }

/* Lecture d'étiquette : champs détectés et modifiables */
.scan-det { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px dashed color-mix(in oklch, currentColor 30%, transparent); border-radius: 10px; }
.scan-det .scan-p { margin: 0; }
.scan-f { display: grid; gap: 2px; font-size: 0.8125rem; }
.scan-f span { opacity: 0.75; }
.scan-f input { min-height: 44px; padding: 8px 10px; font: inherit; font-size: 1rem; border: 1px solid color-mix(in oklch, currentColor 30%, transparent); border-radius: 8px; background: transparent; color: inherit; }

/* Photos de bouteilles : taille de repli et carrousel « cave digitale » */
.art-wphoto { width: 84px; }
.dc-item .art-wphoto { width: 92px; justify-self: center; margin-inline: auto; }

/* Crédit musique */
.foot-music { margin: 4px 0 8px; font-size: 0.875rem; color: var(--ink-2); }
.foot-music b { color: var(--brass); font-weight: 600; letter-spacing: 0.04em; }
.foot-music a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* Photo artiste */
.foot-artist { display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; }
.foot-artist .foot-music { margin: 0; }
.artist-pic { flex: none; display: block; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; border: 2px solid var(--brass); box-shadow: 0 4px 14px -6px oklch(10% 0.03 20 / 0.6); }
.artist-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foot-artist .foot-music { color: inherit; }

/* Photo du fondateur (Qui sommes-nous) */
.about-photo { margin: 22px 0 0; max-width: 360px; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--cave-line); box-shadow: 0 12px 30px -18px oklch(15% 0.03 20 / 0.55); }
.about-photo figcaption { margin-top: 8px; font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--cave-ink-2); }
.foot-music .now-l { opacity: .75; } #now-playing { color: var(--brass); }

/* Premium */
.prem-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(20,12,10,.62); display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.prem-box { position: relative; background: var(--paper, #fbf7f0); color: var(--ink, #2a1d1a); border: 1px solid var(--brass, #B08D57); border-radius: 16px; width: min(480px, 100%); padding: 28px 22px 22px; display: grid; gap: 14px; max-height: 94vh; overflow-y: auto; }
.prem-box h2 { font-family: var(--font-display, serif); font-weight: 500; font-size: 1.5rem; text-align: center; }
.prem-x { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: inherit; min-width: 44px; min-height: 44px; }
.prem-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.prem-list li::before { content: "✓ "; color: var(--brass, #B08D57); font-weight: 700; }
.prem-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prem-plan { display: grid; gap: 2px; text-align: center; padding: 12px 8px; border: 1.5px solid rgba(0,0,0,.2); border-radius: 12px; background: transparent; color: inherit; cursor: pointer; font: inherit; min-height: 44px; }
.prem-plan[aria-checked="true"] { border-color: var(--brass, #B08D57); box-shadow: 0 0 0 2px var(--brass, #B08D57) inset; }
.pp-n { font-weight: 600; } .pp-p b { font-size: 1.4rem; } .pp-s { font-size: .8rem; opacity: .75; }
.prem-pp { min-height: 60px; }
.prem-msg { font-size: .9rem; text-align: center; } .prem-msg.bad { color: #9b2c1f; }
.prem-fine { text-align: center; font-size: .8rem; }
.prem-ok { text-align: center; font-size: 1.1rem; }
@media (prefers-color-scheme: dark) { .prem-box { background: #241a17; color: #f2e9dc; } .prem-plan { border-color: rgba(255,255,255,.25); } .prem-msg.bad { color: #ff9c8a; } }

/* Ma cave par pays */
.cave-pays { margin: 0 0 14px; border: 1px solid var(--cave-line); border-radius: 12px; padding: 10px 10px 6px; }
.cp-h { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cave-ink-2); margin: 0 4px 8px; font-weight: 600; }
.cp-l, .cp-w { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cp-w { margin: 2px 0 8px 14px; padding-left: 10px; border-left: 2px solid var(--brass); }
.cp-cb, .cp-wb { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; border-radius: 8px; color: var(--cave-ink); border: 1px solid transparent; min-height: 44px; }
.cp-cb { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 10px; padding: 8px 10px; }
.cp-f { font-size: 1.25rem; grid-row: span 2; }
.cp-n { font-weight: 600; }
.cp-k { grid-column: 2; font-size: 0.8125rem; color: var(--cave-ink-2); }
.cp-chev { grid-row: span 2; grid-column: 3; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.cp-c.open > .cp-cb .cp-chev { transform: rotate(-135deg); }
.cp-c.open > .cp-cb { border-color: var(--brass); background: color-mix(in oklch, var(--brass) 10%, transparent); }
.cp-wb { display: grid; gap: 2px; padding: 8px 10px; }
.cp-wn { font-weight: 600; font-size: 0.9375rem; }
.cp-wc { font-size: 0.8125rem; color: var(--cave-ink-2); }
.cp-cb:hover, .cp-cb:focus-visible, .cp-wb:hover, .cp-wb:focus-visible { border-color: var(--brass); }
.cp-cb:focus-visible, .cp-wb:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.cp-wb.on { background: color-mix(in oklch, var(--brass) 22%, transparent); border-color: var(--brass); }
.cp-wb.on .cp-pos { color: var(--cave-ink); font-weight: 600; }

/* Accords conseillés dans la fiche de cave */
.d-pairs { margin: 14px 0; padding: 12px; border: 1px solid var(--cave-line); border-radius: 12px; display: grid; gap: 8px; }
.dp-h { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cave-ink-2); margin: 0; font-weight: 600; }
.dp-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dp-i { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 10px; min-height: 44px; border: 1px solid var(--cave-line); border-radius: 10px; color: var(--cave-ink); }
.dp-i:hover, .dp-i:focus-visible { border-color: var(--brass); }
.dp-i:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.dp-n { font-weight: 600; }
.dp-s { font-size: 0.8125rem; color: var(--cave-ink-2); text-align: right; }
.dp-s b { font-size: 1.05rem; color: var(--cave-ink); }
.dp-why { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--cave-ink-2); }
.dp-i[data-tier="4"] { border-color: var(--brass); }
.dp-leg { margin: 0; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.d-photo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.d-photo .fine { flex-basis: 100%; margin: 0; }
.d-phmsg.bad { color: #ff9c8a; }
.d-ed { display: grid; gap: 10px; padding-top: 8px; }

/* ======================================================================
   Photos de section — version « marketing » (remplace les fonds à 6–20 %).
   Un bandeau photo net en tête de chaque section, fondu vers la page :
   la photo se voit vraiment, le texte reste lisible.
   Retour en arrière : supprimer ce bloc jusqu'à la fin du commentaire « FIN photos de section ».
   ====================================================================== */
.bgp::before {
  opacity: var(--pho, 0.62); filter: saturate(1.05) contrast(1.04);
  bottom: auto; height: var(--band-h, clamp(300px, 46vw, 520px));
  background: var(--bgp) var(--bgpos, center) / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%), linear-gradient(to right, rgba(0,0,0,var(--fade-l, .35)) 0, #000 var(--fade-x, 55%));
  mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%), linear-gradient(to right, rgba(0,0,0,var(--fade-l, .35)) 0, #000 var(--fade-x, 55%));
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* liseré laiton sous le bandeau : repère de section */
.bgp::after { content: ''; position: absolute; left: 50%; top: calc(var(--band-h, clamp(300px, 46vw, 520px)) - 1px); width: min(120px, 30vw); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brass, #b8975a), transparent); opacity: .0; pointer-events: none; }

/* Accueil : plein cadre, photo lumineuse côté droit */
#accueil { --pho: 0.5; --band-h: 100%; --fade-l: .08; --fade-x: 62%; }
#accueil::before { bottom: 0; height: auto; -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.1) 0, #000 62%); mask-image: linear-gradient(to right, rgba(0,0,0,.1) 0, #000 62%); -webkit-mask-composite: initial; mask-composite: add; }
/* Sections claires : photo marquée en haut, titre lisible à gauche */
#promesse { --pho: 0.72; --fade-l: .12; --fade-x: 70%; }
#profil { --pho: 0.62; --bgpos: center 40%; --fade-l: .15; --fade-x: 72%; }
#cave-digitale { --pho: 0.7; --fade-l: .12; --fade-x: 70%; }
#avis { --pho: 0.55; }
#outil { --pho: 0.5; --bgpos: center 35%; --band-h: clamp(220px, 34vw, 380px); --fade-l: .1; --fade-x: 75%; }
#methode { --pho: 0.55; --band-h: clamp(240px, 36vw, 400px); --fade-l: .12; --fade-x: 70%; }
/* Bandes sombres : photo plus présente, voile sombre pour le texte */
.maxim { --pho: 0.62; --band-h: 100%; --fade-l: .5; --fade-x: 50%; }
.maxim::before { bottom: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
#cave { --pho: 0.5; --band-h: clamp(260px, 38vw, 440px); --fade-l: .2; --fade-x: 65%; }
#suisse { --pho: 0.62; --band-h: clamp(300px, 46vw, 520px); --fade-l: .1; --fade-x: 70%; }
/* Thème sombre : un peu moins fort pour garder le texte confortable */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #promesse, :root:not([data-theme="light"]) #profil, :root:not([data-theme="light"]) #cave-digitale, :root:not([data-theme="light"]) #outil, :root:not([data-theme="light"]) #methode, :root:not([data-theme="light"]) #avis { --pho: 0.42; } }
:root[data-theme="dark"] #promesse, :root[data-theme="dark"] #profil, :root[data-theme="dark"] #cave-digitale, :root[data-theme="dark"] #outil, :root[data-theme="dark"] #methode, :root[data-theme="dark"] #avis { --pho: 0.42; }
/* Mobile : fondu vertical seulement, photo un peu plus discrète derrière le titre */
@media (max-width: 700px) {
  .bgp::before { --band-h: 280px; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 100%); -webkit-mask-composite: initial; mask-composite: add; }
  #promesse, #profil, #cave-digitale { --pho: 0.48; } #avis, #outil, #methode { --pho: 0.4; }
  #outil { --band-h: 200px; } #methode { --band-h: 220px; } #cave, #suisse { --band-h: 260px; }
  #accueil::before, .maxim::before { height: auto; }
}
@media (prefers-reduced-data: reduce) { .bgp::before { opacity: .3; } }
/* Promesse : trois cartes « verre dépoli » pour garder le texte parfaitement lisible sur la photo */
.promise-g li { background: color-mix(in oklab, var(--paper) 86%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid color-mix(in oklab, var(--line) 70%, transparent); border-radius: 14px; padding: 20px 22px; box-shadow: 0 10px 30px -18px rgba(40, 10, 20, .35); }
#promesse { --band-h: 100%; --pho: 0.68; }
#promesse::before { bottom: 0; height: auto; }
.bp-h { text-shadow: 0 1px 14px color-mix(in oklab, var(--paper) 80%, transparent); }
/* ===== FIN photos de section ===== */
@media (max-width: 700px) { #accueil { --pho: 0.34; } .maxim { --pho: 0.5; } }

.bform .b-scan { width: 100%; justify-content: center; margin-bottom: 6px; }
.bform .b-scan-n { margin: 0 0 12px; }

/* Conditions d'utilisation et protection des données */
.legal .legal-h3 { margin-top: 28px; font-family: var(--serif, inherit); font-size: 1.2rem; color: var(--brass); }
.legal .swiss-copy p { max-width: 68ch; }
.legal .swiss-copy a { color: var(--brass); }
.legal .sec-h { font-size: clamp(1.6rem, 6.4vw, 2.6rem); overflow-wrap: anywhere; hyphens: auto; }
/* Sécurité : la page légale n'apparaît jamais ailleurs que dans son onglet (même avec un ancien nav.js en cache) */
body.sx #legal { display: none !important; }
body.sx[data-section="legal"] #legal { display: block !important; }
/* Maxime de la maison : texte crème sur bandeau sombre (photo en filigrane) */
.maxim { background: oklch(17% 0.04 12); border-block-color: oklch(30% 0.05 15); --pho: 0.42; }
.maxim blockquote { border-top-color: oklch(80% 0.07 80); }
.maxim p { color: oklch(96% 0.015 85); text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.maxim footer { color: oklch(88% 0.03 85); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
