/* Ayur·Hermès — charte or sur fond sombre chaud, sans violet. */
:root {
  --bg: #0A0908;
  --bg-2: #110F0C;
  --card: #15120F;
  --card-2: #1B1713;
  --gold: #C9A962;
  --gold-2: #E6CB85;
  --gold-deep: #8A6D33;
  --bronze: #A97E3F;
  --gold-dim: rgba(201, 169, 98, 0.14);
  --gold-line: rgba(201, 169, 98, 0.30);
  --gold-glow: rgba(201, 169, 98, 0.22);
  --text: #F3EFE6;
  --muted: #C2B497;
  --muted-2: #8E8166;
  --feu: #E2904C;
  --air: #BFCBD8;
  --eau: #63A7BC;
  --terre: #93AA6B;
  --ok: #A3C59A;
  --danger: #D59282;
  --radius: 16px;
  --nav-h: 70px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { height: 100%; }
body {
  min-height: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(900px 500px at 50% -120px, rgba(201, 169, 98, 0.13), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(169, 126, 63, 0.07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; font-variant-numeric: lining-nums; }
.streak-box .n, .bar-row .meta .val, .el-card .score, .prod .price, .date-line, .cal .day, .tagline { font-variant-numeric: lining-nums; }
h1 { font-size: 2.3rem; margin: 0 0 .35rem; }
h2 { font-size: 1.6rem; margin: 0 0 .55rem; color: var(--text); }
h3 { font-size: 1.28rem; margin: 0 0 .35rem; }
::selection { background: var(--gold-dim); }

#app { min-height: 100vh; display: flex; flex-direction: column; }
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 6.8rem;
  animation: fadeUp .38s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wrap, .bar > span, .progress > span { animation: none !important; transition: none !important; } }
.wrap.welcome { padding-top: 0; text-align: center; max-width: 560px; }

/* ---------- Accueil ---------- */
.hero {
  position: relative; margin: 0 -1rem 1.2rem; padding: 3.2rem 1.2rem 1.6rem;
  overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: .55;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95) 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.95) 30%, transparent 100%);
}
.hero > * { position: relative; z-index: 1; }
.logo-ring {
  width: 124px; height: 124px; margin: 0 auto 1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-line);
  box-shadow: 0 0 0 10px rgba(201,169,98,.05), 0 0 60px var(--gold-glow);
  animation: breathe 5s ease-in-out infinite;
}
.logo-ring img { width: 96px; height: 96px; }
@keyframes breathe { 0%,100% { box-shadow: 0 0 0 10px rgba(201,169,98,.05), 0 0 40px var(--gold-glow); } 50% { box-shadow: 0 0 0 14px rgba(201,169,98,.07), 0 0 80px var(--gold-glow); } }
.hero h1 { font-size: 2.7rem; letter-spacing: .02em; }
.tagline {
  color: var(--gold-2); font-family: var(--font-serif); font-style: italic;
  font-size: 1.45rem; font-weight: 500; margin: .3rem 0 .4rem;
}
.lead { color: var(--muted); margin: 0 auto 1.3rem; max-width: 34rem; }
.glyph-row { display: flex; justify-content: center; gap: 1.1rem; margin: .4rem 0 1.4rem; }
.glyph-row .g {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-family: var(--font-serif); font-size: 1.1rem; background: rgba(201,169,98,.06);
}
.glyph-row .g svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }

/* ---------- Barre du haut ---------- */
.topbar { display: flex; align-items: center; gap: .7rem; padding: .7rem 0 .5rem; }
.topbar img.logo { width: 34px; height: 34px; }
.topbar .brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; color: var(--gold); letter-spacing: .02em; }
.topbar .spacer { flex: 1; }
.icon-btn {
  background: transparent; border: 1px solid var(--gold-line);
  color: var(--gold); width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.icon-btn:hover { background: var(--gold-dim); }
.icon-btn:focus-visible, .btn:focus-visible, .opt:focus-visible, .nav-btn:focus-visible, .obj:focus-visible, .chip:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 2px;
}
.back-link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--gold); background: none; border: 0; padding: .4rem 0; min-height: 44px;
}

/* ---------- Titres ornés ---------- */
.orn { display: flex; align-items: center; gap: .7rem; margin: 1.4rem 0 .7rem; }
.orn h2 { margin: 0; font-size: 1.5rem; }
.orn::before, .orn::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.orn::after { background: linear-gradient(90deg, var(--gold-line), transparent); }
.orn.left::before { display: none; }
.kicker { color: var(--gold); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .3rem; }
.date-line { font-family: var(--font-serif); font-style: italic; color: var(--muted); font-size: 1.1rem; margin: 0 0 .2rem; }
.section-line, .hr { border: 0; height: 1px; margin: 1.2rem auto; width: 60%; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .72rem 1.3rem; border-radius: 999px;
  border: 1px solid var(--gold-2);
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #B8974F);
  color: #140F08; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  width: 100%; gap: .45rem;
  box-shadow: 0 6px 22px rgba(201,169,98,.18), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.04); text-decoration: none; box-shadow: 0 8px 28px rgba(201,169,98,.26), inset 0 1px 0 rgba(255,255,255,.35); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--gold); border-color: var(--gold-line); box-shadow: none; }
.btn.ghost:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn.small { width: auto; min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.btn-row { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.2rem; }
.btn-row.inline { flex-direction: row; flex-wrap: wrap; }
.btn-row.inline .btn { width: auto; flex: 1 1 auto; }

/* ---------- Cartes ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  margin: .75rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.03);
}
.card.flat { background: var(--bg-2); box-shadow: none; }
.card.glow { box-shadow: 0 0 36px var(--gold-glow), 0 10px 30px rgba(0,0,0,.35); border-color: rgba(201,169,98,.5); }
.card.framed::before {
  content: ""; position: absolute; inset: 6px; border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(201,169,98,.12); pointer-events: none;
}
.card-img {
  margin: -1.1rem -1.15rem .9rem; height: 150px; border-radius: var(--radius) var(--radius) 0 0;
  background-size: cover; background-position: center; position: relative; overflow: hidden;
}
.card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(21,18,15,0) 30%, rgba(21,18,15,.95) 100%);
}
.card-img .kicker { position: absolute; left: 1.15rem; bottom: .55rem; z-index: 1; margin: 0; }
.muted { color: var(--muted); }
.muted-2, .fine { color: var(--muted-2); font-size: .86rem; }
.notice { color: var(--muted-2); font-size: .78rem; line-height: 1.45; margin: 1.3rem 0 0; text-align: center; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Progression (questionnaire) ---------- */
.progress-wrap { margin: .4rem 0 1.1rem; }
.progress-label { display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; margin-bottom: .4rem; }
.progress { height: 6px; background: var(--gold-dim); border-radius: 99px; overflow: hidden; }
.progress > span {
  display: block; height: 100%; border-radius: 99px; width: 0; transition: width .35s ease;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2));
  box-shadow: 0 0 12px var(--gold-glow);
}
.q-part { color: var(--gold); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin: .2rem 0 .1rem; }
.q-title { font-family: var(--font-serif); font-size: 1.75rem; margin: .1rem 0 .4rem; }

/* ---------- Options ---------- */
.opt {
  display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--gold-line);
  border-radius: 14px; padding: .85rem 1rem; min-height: 54px;
  margin: .55rem 0; color: var(--text);
  transition: background .15s, border-color .15s, transform .12s;
}
.opt:hover { border-color: var(--gold); background: var(--card-2); }
.opt:active { transform: scale(.99); }
.opt .letter {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold-line); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 1rem;
}
.opt.chosen { background: var(--gold-dim); border-color: var(--gold-2); box-shadow: 0 0 0 1px rgba(230,203,133,.35), 0 0 22px var(--gold-glow); }
.opt.chosen .letter { background: var(--gold); color: #140F08; border-color: var(--gold); }

/* ---------- Barres ---------- */
.bar-row { margin: .6rem 0; }
.bar-row .meta { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; margin-bottom: .25rem; }
.bar-row .meta .val { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold-2); }
.bar { height: 8px; background: rgba(201,169,98,.1); border-radius: 99px; overflow: hidden; }
.bar > span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-2));
  animation: grow .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes grow { from { transform: translateX(-100%); } to { transform: none; } }
.bar.feu > span { background: linear-gradient(90deg, #8F4A1E, var(--feu)); }
.bar.air > span { background: linear-gradient(90deg, #6B7A88, var(--air)); }
.bar.eau > span { background: linear-gradient(90deg, #2A5C6A, var(--eau)); }
.bar.terre > span { background: linear-gradient(90deg, #4C5F2E, var(--terre)); }

/* Doshas avec médaillon */
.dosha-row { display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: center; margin: .7rem 0; }
.dosha-row .medal {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 1px solid var(--gold-line);
  background-size: cover; background-position: center; box-shadow: 0 0 18px rgba(0,0,0,.5);
}
.dosha-row.lead .medal { border-color: var(--gold-2); box-shadow: 0 0 20px var(--gold-glow); }
.dosha-row .bar-row { margin: 0; }

/* Éléments en grille */
.el-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: .5rem 0 .3rem; }
.el-card {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-line);
  aspect-ratio: 1 / 1.05; background: var(--card);
}
.el-card .img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; }
.el-card .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.96) 0%, rgba(10,9,8,.55) 45%, rgba(10,9,8,.05) 100%); }
.el-card .txt { position: absolute; left: .8rem; right: .8rem; bottom: .7rem; }
.el-card .txt h3 { margin: 0; font-size: 1.35rem; }
.el-card .txt .score { color: var(--gold-2); font-family: var(--font-serif); font-size: 1rem; }
.el-card .tag {
  position: absolute; top: .6rem; left: .6rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; border: 1px solid var(--gold-line); background: rgba(10,9,8,.7); color: var(--gold-2);
}
.el-card.support { border-color: var(--gold-2); box-shadow: 0 0 24px var(--gold-glow); }
.el-card.support .tag { background: var(--gold); color: #140F08; border-color: var(--gold); }
.el-card.dominant .tag { color: var(--text); }

/* ---------- Pastilles ---------- */
.pills { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 0; }
.pill {
  border: 1px solid var(--gold-line); color: var(--gold);
  border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; letter-spacing: .04em;
  text-transform: uppercase;
}
.pill.solid { background: var(--gold); color: #140F08; border-color: var(--gold); }
.pill.vita { border-color: var(--gold-2); color: var(--gold-2); background: rgba(230,203,133,.08); }
.pill.ok { border-color: var(--ok); color: var(--ok); }

/* ---------- Repas ---------- */
.meal { cursor: pointer; display: grid; grid-template-columns: 78px 1fr; gap: .9rem; align-items: center; transition: border-color .15s, transform .12s; }
.meal:hover { border-color: var(--gold); }
.meal:active { transform: scale(.995); }
.meal .thumb {
  width: 78px; height: 78px; border-radius: 12px; background-size: cover; background-position: center;
  border: 1px solid var(--gold-line); box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.meal h3 { margin-bottom: .15rem; font-size: 1.3rem; }
.meal .type { color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .2rem; }
.meal .fine { margin: 0; }
.meal-grid { display: grid; gap: .7rem; }
@media (min-width: 800px) {
  .meal-grid { grid-template-columns: 1fr 1fr; }
  .meal-grid .meal.full { grid-column: 1 / -1; }
  .two-col { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.2rem; align-items: start; }
}
.rec-hero .hero-img {
  margin: 0 -1rem 1rem; height: 220px; background-size: cover; background-position: center; position: relative;
}
.rec-hero .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,9,8,.2), rgba(10,9,8,1)); }
.rec-hero h1 { margin-top: -2.4rem; position: relative; }
.rec-hero .mins { color: var(--muted); }
.why { border-left: 2px solid var(--gold); padding-left: .9rem; font-family: var(--font-serif); font-size: 1.12rem; color: var(--muted); }

/* ---------- Principe du jour ---------- */
.principle { overflow: hidden; }
.principle .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.principle .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,18,15,.95) 35%, rgba(21,18,15,.4)); }
.principle > *:not(.bg) { position: relative; }
.principle h2 { font-size: 1.9rem; color: var(--gold-2); font-style: italic; font-weight: 500; }
.principle p { font-size: 1.02rem; }

/* ---------- Calendrier ---------- */
.streak-box { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; text-align: center; }
.streak-box .n { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold-2); line-height: 1; }
.streak-box .l { color: var(--muted-2); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; margin: .8rem 0 1rem; }
.cal .dow { text-align: center; color: var(--muted-2); font-size: .7rem; letter-spacing: .06em; }
.cal .day {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--gold-line);
  background: var(--bg-2); color: var(--muted); font-size: .85rem;
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  transition: transform .1s;
}
.cal .day:active { transform: scale(.95); }
.cal .day.today { border-color: var(--gold-2); color: var(--text); box-shadow: 0 0 0 1px var(--gold-2), 0 0 16px var(--gold-glow); }
.cal .day.done { background: linear-gradient(160deg, var(--gold-2) 0%, var(--gold) 60%, #A98B45 100%); color: #140F08; border-color: transparent; font-weight: 600; }
.cal .day.missed { background: transparent; color: var(--muted-2); border-color: rgba(201,169,98,.14); }
.cal .day.future { opacity: .38; cursor: default; }
.cal .day.past, .cal .day.today { cursor: pointer; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(10, 9, 8, 0.92);
  border-top: 1px solid var(--gold-line);
  display: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: .3rem .4rem calc(.3rem + env(safe-area-inset-bottom));
  z-index: 20;
}
.nav.on { display: grid; grid-template-columns: repeat(5, 1fr); }
@media (min-width: 800px) {
  .nav.on { max-width: 720px; margin: 0 auto .8rem; left: 0; right: 0; width: calc(100% - 2rem); border: 1px solid var(--gold-line); border-radius: 999px; }
}
.nav-btn {
  position: relative; background: none; border: 0; color: var(--muted-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .18rem; min-height: 58px; font-size: .68rem; letter-spacing: .03em;
  transition: color .15s;
}
.nav-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.nav-btn.active { color: var(--gold-2); }
.nav-btn.active::before {
  content: ""; position: absolute; top: 2px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--gold-2); box-shadow: 0 0 10px var(--gold);
}

/* ---------- Produits ---------- */
.prod { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: start; }
.prod .frame {
  width: 96px; height: 96px; border-radius: 12px; padding: 6px;
  background: linear-gradient(180deg, #F6F0E2, #E9DFC8); border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 0 1px rgba(201,169,98,.35), 0 6px 16px rgba(0,0,0,.4);
}
.prod .frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.prod h3 { font-size: 1.25rem; }
.prod .price { color: var(--gold-2); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; margin: .1rem 0 .35rem; }
.prod-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.prod .rayon { position: absolute; top: .7rem; right: .8rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Listes / formulaires ---------- */
.ol, .ul { margin: .3rem 0 0; padding-left: 1.15rem; }
.ol li, .ul li { margin: .35rem 0; }
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: .55rem 0; padding-left: .2rem; }
ol.steps li::marker { color: var(--gold); font-family: var(--font-serif); font-weight: 600; }
.check {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .6rem 0; border-bottom: 1px solid var(--gold-dim); min-height: 44px;
}
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--gold); flex: none; }
.check.done span { text-decoration: line-through; color: var(--muted-2); }
.field { margin: .9rem 0; }
.field label { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .9rem; }
.field select, .field input[type="number"], .field input[type="search"], .field input[type="text"] {
  width: 100%; min-height: 46px; background: var(--bg-2);
  border: 1px solid var(--gold-line); border-radius: 12px; padding: .45rem .8rem;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--gold-dim); min-height: 44px;
}
.toggle input { width: 20px; height: 20px; accent-color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.chip {
  border: 1px solid var(--gold-line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: .4rem .8rem; min-height: 38px; transition: all .15s;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.on { border-color: var(--gold); color: #140F08; background: var(--gold); font-weight: 500; }
.obj-grid { display: grid; gap: .55rem; }
@media (min-width: 700px) { .obj-grid { grid-template-columns: 1fr 1fr; } }
.obj {
  text-align: left; width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: .8rem; align-items: center;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--gold-line);
  border-radius: 14px; padding: .75rem .9rem; min-height: 60px; color: var(--text); transition: border-color .15s;
}
.obj:hover { border-color: var(--gold); }
.obj .ico {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.2rem; font-family: var(--font-serif);
}
.obj .sous { display: block; color: var(--muted); font-size: .85rem; }
.obj.on { border-color: var(--gold-2); background: var(--gold-dim); box-shadow: 0 0 20px var(--gold-glow); }
.obj.on .ico { background: var(--gold); color: #140F08; border-color: var(--gold); }
.search-hits { list-style: none; padding: 0; margin: .4rem 0 0; }
.search-hits li { padding: .6rem 0; border-bottom: 1px solid var(--gold-dim); cursor: pointer; }
.search-hits li:hover { color: var(--gold-2); }
.food-detail .gunas { color: var(--muted); font-size: .9rem; }
.vita-box { border-color: var(--gold-2); box-shadow: 0 0 24px var(--gold-glow); }
.vita-box h3 { color: var(--gold-2); }

/* ---------- Bannières ---------- */
.banner { background: var(--gold-dim); color: var(--gold); text-align: center; padding: .45rem .8rem; font-size: .85rem; border-bottom: 1px solid var(--gold-line); }
.banner.hide { display: none; }
.resume-banner { display: flex; align-items: center; gap: .8rem; text-align: left; }
.resume-banner .medal { width: 48px; height: 48px; border-radius: 50%; background-size: cover; border: 1px solid var(--gold-line); flex: none; }

/* ---------- Partage ---------- */
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 0; }
.share-row .btn { width: auto; flex: 1 1 140px; }
.share-preview { display: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 1rem); transform: translateX(-50%);
  background: var(--gold); color: #140F08; padding: .6rem 1.1rem; border-radius: 999px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); z-index: 50; animation: fadeUp .25s ease both;
}

/* ---------- Divers ---------- */
.two-col .side .card:first-child { margin-top: 0; }
@media (min-width: 1280px) {
  .wrap { width: min(1120px, calc(100% - 4rem)); padding-top: 1.6rem; }
  h1 { font-size: 2.6rem; }
  .hero { margin: 0; border-radius: 24px; border: 1px solid var(--gold-line); }
  .rec-hero .hero-img { margin: 0 0 1rem; border-radius: 20px; }
}
