/* =====================================================================
   100g : Direction artistique "Le Laboratoire Gourmand"
   Concept : l'instrument de précision rencontre l'appétit.
   - Encre profonde + papier chaud (carnet de chef).
   - Une couleur appétit unique : ambre beurre-caramel.
   - Motif signature : la graduation (·100g), le repère de dosage.
   - Bold, éditorial, food-forward, anti-template. Mobile-first.
   ===================================================================== */

:root {
  /* --- Surfaces (papier chaud, encre profonde) --- */
  --paper:      #F4EEE2;   /* fond papier crème */
  --paper-2:    #EBE2D2;   /* papier creusé */
  --paper-3:    #E2D7C2;   /* lignes douces */
  --card:       #FCFAF4;   /* surface carte, presque blanc chaud */
  --ink:        #15130D;   /* encre quasi-noire, chaude */
  --ink-2:      #3A352A;   /* texte courant */
  --muted:      #797162;   /* secondaire */
  --line:       #DCD2BF;   /* filets */
  --line-soft:  #E7DECC;

  /* --- Couleur appétit (beurre / caramel doré) --- */
  --amber:      #E8851A;   /* l'accent appétit, chaud */
  --amber-deep: #C96A0B;
  --amber-soft: #FBE9CF;
  --on-amber:   #1A1206;

  /* --- L'encre inversée (sections sombres, hero, mode cuisine) --- */
  --night:      #16130C;
  --night-2:    #211C12;
  --night-line: #34301f;
  --cream:      #F4EEE2;

  /* --- Signaux --- */
  --star:       #E8B83C;   /* l'étoile : viser l'étoile */
  --green:      #4F7A3E;   /* régimes / validations */
  --green-soft: #E7EFDD;

  /* --- Échelle typographique (fluide) --- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.8vw, 1.9rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.6vw, 2.9rem);
  --step-4:  clamp(2.5rem, 1.9rem + 3.2vw, 4.6rem);
  --step-5:  clamp(3rem, 2rem + 5vw, 6rem);

  /* --- Espacement / grille --- */
  --gut: clamp(1.1rem, 4vw, 1.6rem);
  --maxw: 920px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* --- Ombres (chaudes, pas grises) --- */
  --shadow-sm: 0 2px 8px -3px rgba(40, 28, 10, 0.18);
  --shadow:    0 16px 40px -22px rgba(40, 28, 10, 0.45);
  --shadow-lg: 0 40px 90px -40px rgba(40, 28, 10, 0.55);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  /* grain texturé très léger : on sent le papier, pas le plastique */
  background-image:
    radial-gradient(rgba(120, 90, 40, 0.025) 1px, transparent 1px);
  background-size: 4px 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--amber); color: var(--on-amber); }

/* Anneau de focus net et cohérent partout */
:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

main { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut) 4rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ============ Le repère de dosage (motif signature ·100g) ============
   Réservé à la signature (logo + 1-2 emplacements). Pas un tampon répété.
   Les petits traits sont alignés sur la BASELINE du texte mono pour éviter
   le décalage visuel : on cale les ticks juste sous la ligne de base. */
.dose-mark {
  display: inline-flex; align-items: baseline; gap: 0.55ch;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-deep);
}
.dose-mark::before {
  content: ""; width: 1.6rem; height: 7px; flex: none;
  background-image: repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 5px);
  /* la graduation s'aligne sur la baseline du texte (et non sur le bas de la boîte) */
  align-self: baseline; transform: translateY(-0.05em); opacity: 0.85;
}

/* Eyebrow neutre (sans motif) : sert là où le motif serait redondant. */
.eyebrow-label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep);
}

/* ====================== Tab bar (navigation bas) ====================== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-around;
  background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid var(--line);
  padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px -20px rgba(40, 28, 10, 0.4);
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--muted);
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 0.4rem 0; border-radius: 12px;
  transition: color 0.2s var(--ease), transform 0.18s var(--ease);
}
.tab svg { display: block; transition: transform 0.2s var(--ease); }
.tab--active { color: var(--amber-deep); }
.tab--active svg { transform: translateY(-1px) scale(1.08); }
.tab:active { transform: scale(0.93); }
/* La loupe est un <button> : on le remet exactement au niveau des autres onglets (<a>). */
.tab--search {
  background: none; border: none; cursor: pointer; font-family: inherit;
  -webkit-appearance: none; appearance: none;
  outline: none; -webkit-tap-highlight-color: transparent;
}
.tab--search:focus-visible { outline: 2px solid var(--amber); outline-offset: -3px; border-radius: 12px; }

/* ===== Suggestions de recherche : item partagé (desktop dropdown + overlay mobile) ===== */
.sr-item {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  text-decoration: none; padding: 0.55rem 0.6rem; border-radius: 11px;
  color: var(--ink); cursor: pointer; border: none; background: none; text-align: left;
}
.sr-item:hover, .sr-item.is-active { background: var(--amber-soft); }
.sr-thumb {
  flex: none; width: 44px; height: 44px; border-radius: 9px; object-fit: cover;
  background: var(--paper-2, #f1ece1); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; overflow: hidden;
}
.sr-body { min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
.sr-title { font-weight: 600; font-size: 0.95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-title mark { background: none; color: var(--amber-deep); font-weight: 800; }
.sr-meta { font-size: 0.76rem; color: var(--muted); }
.sr-empty { padding: 1rem 0.7rem; font-size: 0.9rem; color: var(--muted); }
.sr-head {
  padding: 0.5rem 0.6rem 0.35rem; font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber-deep);
}

/* ===== Overlay de recherche plein écran (MOBILE) ===== */
.search-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  animation: soFade 0.18s var(--ease);
}
.search-overlay[hidden] { display: none; }
@keyframes soFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.so-bar {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem var(--gut) 0.8rem; border-bottom: 1px solid var(--line);
}
.so-ic { color: var(--muted); display: inline-flex; flex: none; }
.so-bar input {
  flex: 1; min-width: 0; border: none; background: none; outline: none;
  font: inherit; font-size: 1.05rem; color: var(--ink);
}
.so-bar input::placeholder { color: var(--muted); }
.so-cancel {
  flex: none; border: none; background: none; color: var(--amber-deep);
  font: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0.1rem; cursor: pointer;
}
.so-results { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0.5rem var(--gut) 2rem; }
.so-results .sr-item { padding: 0.65rem 0.5rem; }
.so-hint { padding: 1.4rem 0.6rem; font-size: 0.9rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .search-overlay { display: none !important; } }

/* ============================ ACCUEIL ================================ */
.home-hero {
  position: relative;
  padding: clamp(2.4rem, 7vw, 4.5rem) 0 clamp(1.6rem, 5vw, 2.6rem);
}
.hero-kicker {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 0 0 1.4rem;
}
.hero-kicker .dose-mark { font-size: 0.74rem; }
.hero-kicker .baseline {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--muted); text-transform: uppercase;
}
.home-hero h1 {
  font-size: var(--step-4);
  margin: 0;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.home-hero h1 em {
  font-style: italic; font-weight: 500;
  color: var(--amber-deep);
  position: relative;
}
.home-hero .lede {
  color: var(--ink-2); font-size: var(--step-1); font-weight: 400;
  max-width: 40ch; margin: 1.4rem 0 0; line-height: 1.45;
}
.home-hero .lede b { font-weight: 700; color: var(--ink); }

/* Hero split : texte + photo */
.home-hero--split { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 880px) { .home-hero--split { grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 3.5rem); } }
/* Hero "pile de cartes" : 3 photos empilées en éventail, la carte du dessus
   recule dans la pile pour révéler la suivante (cycle 18s). */
.hero-media {
  position: relative; aspect-ratio: 4 / 3; max-height: 400px;
  /* pas d'overflow hidden : les cartes débordent légèrement (effet pile) */
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  border: 5px solid #fff; background: #fff;
  box-shadow: 0 14px 34px -14px rgba(40, 28, 10, 0.55);
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Position "au fond de la pile" propre à chaque carte (éventail). */
.hero-slide:nth-child(1) { --r: -5deg; --x: -16px; --y: 10px; }
.hero-slide:nth-child(2) { --r: 4deg; --x: 18px; --y: 7px; }
.hero-slide:nth-child(3) { --r: -2deg; --x: 6px; --y: 16px; }
/* État statique (reduced-motion / pas d'anim) : éventail figé, 1re carte devant. */
.hero-slide { transform: rotate(var(--r)) translate(var(--x), var(--y)) scale(0.92); filter: brightness(0.78); z-index: 1; }
.hero-slide:first-child { transform: none; filter: none; z-index: 3; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide { animation: deck 18s infinite; will-change: transform; }
  .hero-slide:nth-child(1) { animation-delay: 0s; }
  .hero-slide:nth-child(2) { animation-delay: -12s; }
  .hero-slide:nth-child(3) { animation-delay: -6s; }
}
@keyframes deck {
  0% { transform: none; filter: none; z-index: 3; }
  27% { transform: none; filter: none; z-index: 3; }
  33% { transform: rotate(var(--r)) translate(var(--x), var(--y)) scale(0.92); filter: brightness(0.78); z-index: 1; }
  94% { transform: rotate(var(--r)) translate(var(--x), var(--y)) scale(0.92); filter: brightness(0.78); z-index: 1; }
  100% { transform: none; filter: none; z-index: 3; }
}
.hero-media-tag { z-index: 5; }
.hero-media-tag {
  position: absolute; left: 0.8rem; bottom: 0.8rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(22, 19, 12, 0.82); color: var(--cream); backdrop-filter: blur(3px);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.45rem 0.7rem; border-radius: 999px; text-decoration: none;
  transition: background 0.2s var(--ease);
}
.hero-media-tag:hover { background: var(--amber-deep); }
.hero-media-tag svg { transition: transform 0.2s var(--ease); }
.hero-media-tag:hover svg { transform: translateX(3px); }

/* Bandeau "promesse" sous le hero : 3 piliers (dosage / geste / matériel) */
.promise {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 2.2rem 0 0; border: 1px solid var(--line);
}
.promise-cell {
  background: var(--card); padding: 1.1rem 1rem;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.promise-cell .pi { color: var(--amber-deep); display: inline-flex; }
.promise-cell b { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.promise-cell span { color: var(--muted); font-size: 0.82rem; line-height: 1.35; }

/* Titre de section éditorial avec graduation */
.section-head { margin: clamp(2.6rem, 7vw, 3.8rem) 0 1.4rem; }
.section-head .eyebrow {
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem;
}
.section-head h2, .section-head h1 { font-size: var(--step-3); margin: 0; letter-spacing: -0.02em; }
.section-head .sub { color: var(--muted); margin: 0.5rem 0 0; max-width: 46ch; }
.hub-crumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.6rem; display: flex; gap: 0.4rem; align-items: center; }
.hub-crumb a { color: var(--muted); text-decoration: none; }
.hub-crumb a:hover { color: var(--amber-deep); }
.hub-crumb span:last-child { color: var(--amber-deep); font-weight: 600; }
/* Hub : contenu éditorial (intro + highlights + FAQ) */
.hub-intro { max-width: 72ch; margin: 1.4rem auto 0.4rem; padding: 0 1.2rem; }
.hub-intro p { color: var(--ink); line-height: 1.7; margin: 0 0 0.9rem; }
.hub-highlights { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.55rem; }
.hub-highlights li { position: relative; padding-left: 1.5rem; color: var(--ink); line-height: 1.55; }
.hub-highlights li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--amber); }
.hub-faq { max-width: 72ch; margin: 2.4rem auto 0; padding: 0 1.2rem; }
.hub-faq h2 { font-family: var(--font-display); margin: 0 0 0.9rem; }

/* Navigation par rubrique (chips) + en-têtes de rubrique recettes */
.cat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.1rem 0 0; }
.cat-nav a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 0.86rem; font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.cat-nav a:hover { border-color: var(--amber-deep); color: var(--amber-deep); transform: translateY(-1px); }
.cat-nav a span { color: var(--muted); font-weight: 500; }
.cat-block { scroll-margin-top: 84px; }
.cat-head { margin: clamp(2rem, 5vw, 2.9rem) 0 0; scroll-margin-top: 84px; }
.cat-head h3 {
  font-size: var(--step-2); margin: 0; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 0.5rem;
}
.cat-head .cat-count { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.cat-head p { color: var(--muted); margin: 0.35rem 0 0; max-width: 52ch; }

/* Bloc "parcourir autrement" (cuisine / régime) sur /recettes */
.facet-rows { display: grid; gap: 1.1rem; margin: 1.2rem 0 0; }
.facet-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.5rem; }
.facet-row-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-right: 0.2rem; }
.facet-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facet-chips a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 0.86rem; font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.facet-chips a:hover { border-color: var(--amber-deep); color: var(--amber-deep); transform: translateY(-1px); }
.facet-chips a span { color: var(--muted); font-weight: 500; }

/* ====================== Grille de cartes recette ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin: 1.4rem 0 0;
}
.card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  isolation: isolate;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card:hover .card-img { transform: scale(1.06); }
.card-emoji { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3.4rem; background: var(--paper-2); }
/* dégradé bas de média pour ancrer le badge note */
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,4,0.42), transparent 42%);
  pointer-events: none;
}
.card-rating {
  position: absolute; left: 0.7rem; bottom: 0.7rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(6px);
  padding: 0.22rem 0.55rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.card-rating .s { color: var(--star); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; margin: 0 0 0.3rem; letter-spacing: -0.01em; }
.card-meta { color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.card-go {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--card); color: var(--amber-deep);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transform: scale(0.8); opacity: 0; transition: all 0.3s var(--ease);
}
.card:hover .card-go { transform: scale(1); opacity: 1; }

/* Cartes "à venir" : remplissent la grille, signalent un catalogue qui grandit. */
.card--soon { cursor: default; box-shadow: none; border-style: dashed; background: color-mix(in srgb, var(--card) 60%, var(--paper)); }
.card--soon:hover { transform: none; box-shadow: none; }
.card--soon .card-media { opacity: 0.55; }
.card--soon .card-emoji { filter: saturate(0.7); }
.card--soon .card-title { color: var(--muted); }
.soon-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep);
  background: var(--amber-soft); padding: 0.15rem 0.5rem; border-radius: 999px; margin-bottom: 0.4rem;
}

/* ====================== PAGE RECETTE : HERO ========================== */
.recipe-hero {
  position: relative;
  margin: 0 calc(-1 * var(--gut)) 0;
  padding: 0 var(--gut) clamp(1.4rem, 4vw, 2rem);
  background: var(--night);
  color: var(--cream);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.recipe-hero::before {
  /* graduations en filigrane, motif dosage */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(90deg, rgba(232,133,26,0.07) 0 1px, transparent 1px 38px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
          mask-image: linear-gradient(to bottom, transparent, #000 30%);
}
.recipe-hero-media {
  position: relative; margin: 0 calc(-1 * var(--gut)) 1.4rem;
  aspect-ratio: 16 / 11; max-height: 46vh; overflow: hidden;
}
.recipe-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--night) 1%, rgba(22,19,12,0.28) 48%, rgba(22,19,12,0.5)),
    linear-gradient(to bottom, rgba(22,19,12,0.35), transparent 30%);
}
.recipe-hero-emoji { font-size: 4rem; padding: 2.4rem; text-align: center; }

.recipe-hero-inner { position: relative; z-index: 2; }
.recipe-eyebrow {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin: 0 0 0.7rem;
}
.recipe-eyebrow .dose-mark { color: var(--amber); }
.recipe-eyebrow .crumb {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.recipe-hero h1 {
  font-size: var(--step-4); margin: 0.1rem 0 0; letter-spacing: -0.03em;
  max-width: 16ch; color: var(--cream);
  text-shadow: 0 1px 24px rgba(0,0,0,0.25);
}
.recipe-hero h1 .accent { color: var(--amber); font-style: italic; font-weight: 500; }

/* Note + avis above the fold */
.rating-row {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin: 1.1rem 0 0;
}
.stars { display: inline-flex; gap: 2px; position: relative; }
.stars .star-ic { width: 1.15rem; height: 1.15rem; display: inline-block; color: color-mix(in srgb, var(--cream) 22%, transparent); }
/* couche pleine (étoiles dorées) superposée et clippée à la note via width inline */
.stars > .fill {
  position: absolute; top: 0; left: 0; height: 100%; overflow: hidden;
  display: inline-flex; gap: 2px; white-space: nowrap; pointer-events: none;
}
.stars svg { width: 1.15rem; height: 1.15rem; display: block; }
.rating-row .score { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.rating-row .count { color: color-mix(in srgb, var(--cream) 62%, transparent); font-size: 0.9rem; }
.rating-row .count a { color: inherit; }

.recipe-intro-dark {
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  font-size: var(--step-1); line-height: 1.5; font-weight: 400;
  max-width: 48ch; margin: 1rem 0 0;
}

/* Mention discrète "faites livrer les ingrédients" (offres courses affiliées) */
.recipe-deliver {
  display: block; margin: 0.85rem 0 0; max-width: 52ch;
  font-size: 0.82rem; line-height: 1.6;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.recipe-deliver-ic {
  display: inline-flex; vertical-align: -3px; margin-right: 0.35rem; color: var(--amber); opacity: 0.9;
}
.recipe-deliver-txt { margin-right: 0.4rem; }
.recipe-deliver-item { white-space: nowrap; }
.recipe-deliver-item:not(:first-child)::before {
  content: "·"; margin: 0 0.5rem 0 0.15rem; color: color-mix(in srgb, var(--cream) 35%, transparent);
}
.recipe-deliver-item a {
  color: var(--amber); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
}
.recipe-deliver-item a:hover { border-bottom-color: var(--amber); }
.recipe-deliver-code {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--cream) 52%, transparent);
}

/* Faits clés en "instruments" */
.recipe-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.6rem; margin: 1.4rem 0 0;
}
.fact {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.75rem 0.85rem; border-radius: var(--radius-sm);
  background: var(--night-2); border: 1px solid var(--night-line);
}
.fact .fi { color: var(--amber); display: inline-flex; margin-bottom: 0.15rem; }
.fact b { font-family: var(--font-display); font-size: 1.1rem; line-height: 1; color: var(--cream); }
.fact span { color: color-mix(in srgb, var(--cream) 55%, transparent); font-size: 0.72rem; letter-spacing: 0.02em; }

/* 3 règles d'or */
.golden {
  margin: 1.4rem 0 0;
  background: var(--night-2);
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.golden-kicker {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--star); font-family: var(--font-mono);
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.golden-list { margin: 0.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.golden-list li { display: flex; align-items: flex-start; gap: 0.7rem; line-height: 1.4; font-size: 0.96rem; color: color-mix(in srgb, var(--cream) 88%, transparent); }
.golden-list .gi { color: var(--star); flex: none; margin-top: 1px; display: inline-flex; }
.golden-list b { font-family: var(--font-display); color: var(--cream); }

/* ====================== Pills de navigation sticky ==================== */
.section-nav {
  position: sticky; top: 0; z-index: 30;
  margin: 0 calc(-1 * var(--gut)); padding: 0.6rem var(--gut);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.section-nav-inner {
  display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none;
  max-width: var(--maxw); margin: 0 auto;
  -webkit-overflow-scrolling: touch;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.pill {
  flex: none; text-decoration: none; white-space: nowrap;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
  color: var(--ink-2); font-size: 0.88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: all 0.25s var(--ease);
}
.pill .pi { color: var(--muted); display: inline-flex; transition: color 0.25s; }
.pill:active { transform: scale(0.95); }
.pill.is-active {
  background: var(--ink); color: var(--cream); border-color: var(--ink);
}
.pill.is-active .pi { color: var(--amber); }

/* ============================ SECTIONS =============================== */
section.block { margin: clamp(2.4rem, 7vw, 3.4rem) 0; scroll-margin-top: 64px; }
.block-head { display: flex; align-items: baseline; gap: 0.7rem; margin: 0 0 1.2rem; flex-wrap: wrap; }
section.block > .block-head h2 { font-size: var(--step-2); margin: 0; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.6rem; }
.block-head .num { font-family: var(--font-mono); font-size: 0.7rem; color: var(--amber-deep); font-weight: 700; letter-spacing: 0.1em; }
section.block > .block-head h2 .hi { color: var(--amber-deep); display: inline-flex; }
section.block > .block-head h2 .hi--star { color: var(--star); }

/* ---- Ingrédients : liste de courses interactive ---- */
.ing-toolbar {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  margin: 0 0 1.1rem;
}
.portions-presets { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.preset-label { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-right: 0.1rem; }
.preset {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); background: var(--card);
  border-radius: 999px; min-width: 2.4rem; height: 2.4rem; padding: 0 0.7rem;
  font: inherit; font-weight: 700; font-size: 0.95rem; line-height: 1; color: var(--ink-2);
  cursor: pointer; font-variant-numeric: tabular-nums;
  transition: all 0.2s var(--ease);
}
.preset:hover { border-color: var(--amber); }
.preset:active { transform: scale(0.92); }
.preset.is-active { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.preset.is-step {
  width: 2.4rem; min-width: 2.4rem; padding: 0;
  color: var(--amber-deep); border-color: var(--amber);
}
.preset.is-step svg {
  display: block; width: 1.05rem; height: 1.05rem;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round;
}
.preset.is-step:active { background: var(--amber); color: var(--on-amber); }
.servings-readout {
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted);
  margin-left: auto; white-space: nowrap;
}
.servings-readout b { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }

.ingredients { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 660px) { .ingredients { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.ing {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.7rem 0; border-bottom: 1px dashed var(--line);
  cursor: pointer;
}
.ing .ing-main { flex: 1; }
.ingredients .qty { font-weight: 700; color: var(--amber-deep); font-variant-numeric: tabular-nums; transition: color 0.3s; }
.ingredients .qty.pulse { animation: qtyPulse 0.45s var(--ease); }
@keyframes qtyPulse { 0% { color: var(--amber); transform: none; } 30% { transform: scale(1.12); } 100% { transform: none; } }
.ingredients .note { display: block; color: var(--muted); font-size: 0.83rem; line-height: 1.3; margin-top: 0.1rem; }

/* La case à cocher (check) : micro-interaction soignée */
.check {
  flex: none; width: 1.55rem; height: 1.55rem; margin-top: 0.1rem; border-radius: 8px;
  border: 2px solid var(--line); background: var(--card); cursor: pointer; position: relative;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.12s;
  display: grid; place-items: center;
}
.check--step { border-radius: 50%; }
.check svg { width: 0.95rem; height: 0.95rem; stroke: #fff; stroke-width: 3.2; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 0.3s var(--ease) 0.05s; }
.ing:active .check, .step:active .check { transform: scale(0.9); }
.done > .check, .done .check { background: var(--green); border-color: var(--green); }
.done .check svg { stroke-dashoffset: 0; }
.done .ing-main, .done .step-text { opacity: 0.42; }
.done .ing-main .qty { text-decoration: line-through; }
li.done .step-text { text-decoration: line-through; }

/* Barre "Ma liste de courses" */
.cart-bar {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin: 1.2rem 0 0; padding: 0.9rem 1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cart-count { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); }
.cart-count b { font-family: var(--font-display); color: var(--ink); font-size: 1.1rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: none; border-radius: 999px; padding: 0.6rem 1.1rem;
  font: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn:active { transform: scale(0.95); }
.btn--primary { background: var(--amber); color: var(--on-amber); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--amber-deep); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber-deep); }
.cart-bar .spacer { margin-left: auto; }

/* ---- Étapes (la recette) ---- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0.2rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-index {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--amber-deep); width: 2.4rem; height: 2.4rem; flex: none;
  display: grid; place-items: center; position: relative;
}
.step-index::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--amber); opacity: 0.55;
}
.step-index span { position: relative; }
.step-body { min-width: 0; }
.step-head { display: flex; align-items: flex-start; gap: 0.6rem; }
.step-text { margin: 0.2rem 0 0; font-weight: 500; font-size: 1.04rem; line-height: 1.5; flex: 1; }
.step-tip, .step-wink { margin: 0.6rem 0 0; font-size: 0.92rem; line-height: 1.5; padding: 0.55rem 0.8rem; border-radius: var(--radius-sm); }
.step-tip { color: var(--ink-2); background: var(--amber-soft); }
.step-tip b { font-family: var(--font-display); font-weight: 600; color: var(--amber-deep); font-style: normal; }
.step-wink { color: var(--muted); font-style: italic; border-left: 3px solid var(--line); border-radius: 0; padding: 0.1rem 0 0.1rem 0.8rem; background: none; }

.timer-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin: 0.6rem 0 0.1rem; border: 1.5px solid var(--amber);
  background: var(--card); color: var(--amber-deep); border-radius: 999px;
  padding: 0.45rem 0.95rem; font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  font-variant-numeric: tabular-nums; transition: all 0.2s var(--ease);
}
.timer-btn:hover { background: var(--amber-soft); }
.timer-btn.running { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.timer-btn.done { background: var(--green); border-color: var(--green); color: #fff; }

/* ---- Échelle "Viser l'étoile" ---- */
.ladder { display: grid; gap: 1rem; }
.tier {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  background: var(--card); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--star); }
.tier::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--star), var(--amber));
  opacity: 0.5;
}
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.tier-level { display: inline-flex; align-items: center; gap: 0.5rem; min-width: 0; }
.tier-stars { color: var(--star); font-size: 1.05rem; letter-spacing: 3px; flex: none; }
/* Le nom de palier : lisible, le vrai libellé du niveau ("Ça fait le job"...) */
.tier-name {
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  color: var(--ink); letter-spacing: -0.01em;
}
/* Le rang chiffré rend la progression 1 -> 3 évidente. */
.tier-rank {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--amber-deep);
  background: var(--amber-soft); padding: 0.2rem 0.55rem; border-radius: 999px; flex: none;
}
.tier-rank-tot { color: var(--muted); }
.tier h3 { margin: 0.55rem 0 0.35rem; font-size: 1.3rem; }
.tier-why { color: var(--ink-2); font-size: 0.94rem; margin: 0 0 0.6rem; line-height: 1.45; }
.tier-induc { font-size: 0.8rem; color: var(--green); margin: 0 0 0.8rem; display: flex; align-items: center; gap: 0.35rem; }
.picks { display: grid; gap: 0.6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.9rem;
  text-decoration: none; background: var(--paper); display: flex; flex-direction: column; gap: 0.15rem;
  transition: all 0.2s var(--ease);
}
.pick:hover { border-color: var(--amber); background: var(--card); transform: translateY(-2px); }
.pick b { font-weight: 700; font-size: 0.95rem; }
.pick .pick-brand { color: var(--muted); font-size: 0.8rem; }
.pick .pick-cta { color: var(--amber-deep); font-size: 0.85rem; font-weight: 700; margin-top: 0.4rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.pick .pick-cta svg { transition: transform 0.2s var(--ease); }
.pick:hover .pick-cta svg { transform: translateX(3px); }

/* ---- Nutrition (étiquette de précision) ---- */
.nutri-card {
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  max-width: 30rem; background: var(--card);
}
.nutri-card .nutri-head {
  background: var(--ink); color: var(--cream); padding: 0.7rem 1rem;
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600;
}
.nutri-card .nutri-head .per { font-family: var(--font-mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; }
.nutri { width: 100%; border-collapse: collapse; }
.nutri td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--line); }
.nutri tr:last-child td { border-bottom: none; }
.nutri td.lab { font-weight: 500; }
.nutri td.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 600; }
.nutri tr.kcal td { background: var(--amber-soft); }
.nutri tr.kcal td.num { color: var(--amber-deep); font-size: 1.15rem; }
.nutri-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.6rem; max-width: 30rem; }

/* ---- Modes / régimes ---- */
.modes { display: grid; gap: 0.8rem; }
@media (min-width: 600px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--card); }
.mode-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.mode-top .mi { color: var(--green); display: inline-flex; }
.mode h3 { margin: 0; font-size: 1.08rem; }
.mode .swap { font-size: 0.9rem; margin: 0.3rem 0 0; }
.mode .swap em { color: var(--green); font-style: normal; font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  font-weight: 600; cursor: pointer; font-family: var(--font-display); font-size: 1.05rem;
  padding: 1rem 2.2rem 1rem 0; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--amber-deep); transition: transform 0.3s var(--ease); line-height: 1;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--ink-2); margin: 0 0 1rem; }

/* ---- Disclosure affiliée ---- */
.affiliate-note {
  margin: 2rem 0 0; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--paper-2); font-size: 0.82rem; color: var(--muted);
  display: flex; gap: 0.6rem; align-items: flex-start;
}
.affiliate-note svg { flex: none; color: var(--amber-deep); margin-top: 1px; }

/* ---- Nutrition : 2 colonnes (par unité + pour 100g) ---- */
.nutri-yield { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 0.9rem; font-weight: 600; }
.nutri-cols { display: inline-flex; gap: 1.5rem; }
.nutri-head .per { font-family: var(--font-mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; min-width: 4.2rem; text-align: right; }
.nutri-head .per--unit { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.nutri--two td.lab { width: 42%; }
.nutri--two td.num { width: 29%; }
.nutri--two td.num--unit { color: var(--ink-2); border-right: 1px solid var(--line); }
.nutri--two tr.kcal td.num--unit { color: var(--amber-deep); }

/* ---- CTA d'achat porté par un swap de régime ---- */
.mode-buy {
  display: inline-flex; align-items: center; gap: 0.4rem; margin: 0.7rem 0 0;
  text-decoration: none; font-size: 0.86rem; font-weight: 700; color: var(--amber-deep);
  border: 1.5px solid var(--amber); background: var(--amber-soft);
  padding: 0.4rem 0.8rem; border-radius: 999px; transition: all 0.2s var(--ease);
}
.mode-buy:hover { background: var(--amber); color: var(--on-amber); }
.mode-buy-arr { display: inline-flex; transition: transform 0.2s var(--ease); }
.mode-buy:hover .mode-buy-arr { transform: translateX(3px); }

/* ---- Maillage : recettes liées ---- */
.related { margin: 1.8rem 0 0; }
.related-kicker {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 0.7rem;
}
.related-kicker span { display: inline-flex; }
.related-list { display: grid; gap: 0.7rem; }
.related-card {
  display: flex; align-items: center; gap: 0.9rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem;
  background: var(--card); transition: all 0.2s var(--ease);
}
.related-card:hover { border-color: var(--amber); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.related-emoji {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.4rem; background: var(--paper-2);
}
.related-txt { flex: 1; display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.related-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.related-soon {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber-deep);
}
.related-arr { color: var(--amber-deep); display: inline-flex; flex: none; transition: transform 0.2s var(--ease); }
.related-card:hover .related-arr { transform: translateX(3px); }
.related-card--soon .related-emoji { filter: saturate(0.7); opacity: 0.7; }
.related-card--soon { cursor: default; }
.related-card--soon:hover { transform: none; border-color: var(--line); box-shadow: none; }

/* ---- Avis lecteurs ---- */
.reviews-summary {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.6rem;
  padding: 1.1rem 1.3rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); max-width: 30rem;
}
.reviews-score { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.reviews-aside { display: flex; flex-direction: column; gap: 0.25rem; }
.reviews-count { font-size: 0.85rem; color: var(--muted); }
/* Étoiles sur fond clair : la couche vide doit rester visible (gris doux). */
.stars--review .star-ic { color: var(--line); }
.reviews-list { display: grid; gap: 0.9rem; }
@media (min-width: 660px) { .reviews-list { grid-template-columns: 1fr 1fr; } }
.review-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  background: var(--card);
}
.review-top { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.6rem; }
.review-avatar {
  flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.review-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.review-demo {
  font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); background: var(--paper-2);
  padding: 0.1rem 0.35rem; border-radius: 999px;
}
.review-date { font-size: 0.76rem; color: var(--muted); }
.review-stars { flex: none; }
.review-text { margin: 0; font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }

/* =====================================================================
   COMPARATEUR DE RECETTES (brique #4) : /plats/<slug>
   Réutilise la DA (hero sombre, cartes papier, accent ambre, étoiles).
   ===================================================================== */

/* Lead de section : intro courte sous un titre de bloc. */
.cmp-lead { color: var(--ink-2); font-size: 1rem; margin: 0 0 1.6rem; max-width: 56ch; line-height: 1.5; }

/* Stats du hero (versions / questions / placements). */
.cmp-hero-stats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0 0; }
.cmp-stat {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  background: var(--night-2); border: 1px solid var(--night-line); min-width: 7rem;
}
.cmp-stat b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--amber); }
.cmp-stat span { color: color-mix(in srgb, var(--cream) 58%, transparent); font-size: 0.74rem; letter-spacing: 0.02em; margin-top: 0.25rem; }

/* ---- On a tranché : les décisions (le coeur) ---- */
.decisions { display: grid; gap: 1rem; }
.decision {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.3rem 1.4rem; position: relative; overflow: hidden;
}
.decision::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--amber), var(--amber-deep)); opacity: 0.55;
}
.decision-q { display: flex; align-items: baseline; gap: 0.7rem; }
.decision-n {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--amber-deep);
  flex: none; letter-spacing: 0.04em;
}
.decision-q h3 { margin: 0; font-size: 1.22rem; letter-spacing: -0.01em; }
/* Notre verdict : mis en avant, juste sous la question. */
.decision-call {
  margin: 0.9rem 0 0; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
}
.decision-verdict-kicker {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-deep); margin-bottom: 0.3rem;
}
.decision-verdict-kicker span { display: inline-flex; }
.decision-call p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
/* Les options recensées (en second, plus discret). */
.decision-options { margin: 0.9rem 0 0; display: grid; gap: 0.5rem; }
@media (min-width: 600px) { .decision-options { grid-template-columns: 1fr 1fr; } }
.decision-opt {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--line);
}
.opt-glyph {
  flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; line-height: 1;
}
.decision-opt--oui .opt-glyph { background: var(--green-soft); color: var(--green); }
.decision-opt--non .opt-glyph { background: #f3dede; color: #9c3a30; }
.decision-opt--parfois .opt-glyph { background: var(--amber-soft); color: var(--amber-deep); }
.opt-body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.opt-body b { font-weight: 700; font-size: 0.9rem; line-height: 1.3; }
.opt-who { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.01em; }

/* ---- La recette 100g : encart fort ---- */
.cmp-pick {
  display: grid; grid-template-columns: 1fr; text-decoration: none;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--night); color: var(--cream); border: 1px solid var(--night-line);
  box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cmp-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cmp-pick-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); }
.cmp-pick-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.cmp-pick:hover .cmp-pick-media img { transform: scale(1.05); }
.cmp-pick-emoji { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3.4rem; }
.cmp-pick-body { padding: 1.5rem 1.6rem 1.7rem; }
.cmp-pick-kicker {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
}
.cmp-pick-kicker span { display: inline-flex; }
.cmp-pick-body h2 { margin: 0.6rem 0 0.5rem; font-size: var(--step-2); color: var(--cream); letter-spacing: -0.02em; }
.cmp-pick-body p { margin: 0; color: color-mix(in srgb, var(--cream) 78%, transparent); font-size: 1rem; line-height: 1.5; max-width: 54ch; }
.cmp-pick-cta {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.1rem;
  background: var(--amber); color: var(--on-amber); border-radius: 999px;
  padding: 0.7rem 1.2rem; font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.cmp-pick-cta span { display: inline-flex; transition: transform 0.2s var(--ease); }
.cmp-pick:hover .cmp-pick-cta { background: var(--cream); color: var(--ink); }
.cmp-pick:hover .cmp-pick-cta span { transform: translateX(3px); }

/* ---- Le comparatif : cartes empilées (mobile) / grille (desktop) ---- */
.cmp-table { display: grid; gap: 1rem; }
.cmp-row {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.2rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.cmp-row-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cmp-author { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.cmp-author-ic {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px;
  display: grid; place-items: center; background: var(--paper-2); color: var(--amber-deep);
}
.cmp-author-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cmp-author-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.cmp-source { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.cmp-score { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.cmp-score-num { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.cmp-score-tot { color: var(--muted); font-size: 0.85rem; }
.cmp-angle { margin: 0; font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.cmp-signals {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted);
}
.cmp-signals-lab { color: var(--ink-2); font-weight: 700; }
.cmp-signals span:not(.cmp-signals-lab) {
  background: var(--paper-2); padding: 0.12rem 0.5rem; border-radius: 999px;
}
.cmp-proscons { display: grid; gap: 0.5rem 1.4rem; }
@media (min-width: 520px) { .cmp-proscons { grid-template-columns: 1fr 1fr; } }
.cmp-pros, .cmp-cons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.cmp-pros li, .cmp-cons li {
  display: flex; align-items: flex-start; gap: 0.45rem;
  font-size: 0.88rem; line-height: 1.35; color: var(--ink-2);
}
.pc-ic { flex: none; margin-top: 2px; display: inline-flex; width: 1.05rem; height: 1.05rem; border-radius: 50%; align-items: center; justify-content: center; }
.pc-ic--pro { color: var(--green); background: var(--green-soft); }
.pc-ic--con { color: #9c3a30; background: #f3dede; }
.cmp-source-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700;
  color: var(--muted); text-decoration: none; letter-spacing: 0.02em;
  border-bottom: 1px dashed var(--line); padding-bottom: 1px; transition: color 0.2s var(--ease);
}
.cmp-source-link:hover { color: var(--amber-deep); }
.cmp-source-link span { display: inline-flex; }

/* ---- Le matériel du gagnant ---- */
.cmp-gear { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cmp-gear { grid-template-columns: repeat(auto-fit, minmax(240px, 360px)); } }
.cmp-gear-card {
  text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.2rem 1.3rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.3rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.cmp-gear-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--star), var(--amber)); opacity: 0.6;
}
.cmp-gear-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--star); }
.cmp-gear-badge {
  display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-deep);
  background: var(--amber-soft); padding: 0.2rem 0.55rem; border-radius: 999px; margin-bottom: 0.4rem;
}
.cmp-gear-stars { color: var(--star); letter-spacing: 1px; }
.cmp-gear-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.cmp-gear-brand { color: var(--muted); font-size: 0.82rem; }
.cmp-gear-note { color: var(--ink-2); font-size: 0.88rem; line-height: 1.4; margin-top: 0.2rem; }
.cmp-gear-cta {
  margin-top: 0.7rem; display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--amber-deep); font-weight: 700; font-size: 0.9rem;
}
.cmp-gear-cta span { display: inline-flex; transition: transform 0.2s var(--ease); }
.cmp-gear-card:hover .cmp-gear-cta span { transform: translateX(3px); }
.cmp-gear-all {
  display: inline-flex; align-items: center; gap: 0.4rem; margin: 1.2rem 0 0;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.2s var(--ease);
}
.cmp-gear-all:hover { color: var(--amber-deep); }
.cmp-gear-all span { display: inline-flex; }

/* ---- Notre méthode de notation ---- */
.cmp-method {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-2); padding: 1.3rem 1.4rem; max-width: 60ch;
}
.cmp-method-text { margin: 0; font-size: 0.96rem; line-height: 1.55; color: var(--ink-2); }
.cmp-criteria { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cmp-criteria li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 600; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line);
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.cmp-criteria li span { color: var(--green); display: inline-flex; }

/* ---- Carte d'entrée comparateur (accueil + maillage recette) ---- */
.cmp-entry {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.1rem 1.3rem; margin: 1.4rem 0 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.cmp-entry:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--amber); }
.cmp-entry-ic {
  flex: none; width: 2.8rem; height: 2.8rem; border-radius: 14px;
  display: grid; place-items: center; background: var(--night); color: var(--amber);
}
.cmp-entry-txt { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.cmp-entry-kicker {
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep);
}
.cmp-entry-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.cmp-entry-txt span.cmp-entry-sub { color: var(--muted); font-size: 0.85rem; line-height: 1.35; }
.cmp-entry-arr { flex: none; color: var(--amber-deep); display: inline-flex; transition: transform 0.2s var(--ease); }
.cmp-entry:hover .cmp-entry-arr { transform: translateX(3px); }

/* DESKTOP : la recette 100g passe en 2 colonnes (image + texte). */
@media (min-width: 760px) {
  .cmp-pick { grid-template-columns: 42% 1fr; align-items: stretch; }
  .cmp-pick-media { aspect-ratio: auto; height: 100%; min-height: 240px; }
}
@media (min-width: 900px) {
  /* Le comparatif des versions : 2 colonnes en grille sur grand écran. */
  .cmp-table { grid-template-columns: 1fr 1fr; align-items: start; }
  .decisions { grid-template-columns: 1fr 1fr; }
  .cmp-hero-stats { max-width: 640px; }
}

/* ============================ FOOTER ================================ */
/* Footer "encre inversée" : bandeau sombre pleine largeur qui ancre le bas de page.
   3 colonnes (Cuisiner / S'équiper / Par appareil) + bloc marque + signature graduation. */
.site-footer { background: var(--night); color: var(--cream); padding: 0 0 calc(1.6rem + env(safe-area-inset-bottom, 0px)); margin-top: 3rem; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.foot-rule { position: relative; height: 26px; margin-bottom: 2.6rem;
  background: repeating-linear-gradient(90deg, var(--night-line) 0 1px, transparent 1px 13px);
  background-position: bottom; background-size: 100% 10px; background-repeat: repeat-x;
  -webkit-mask: linear-gradient(90deg, #000, #000 88%, transparent); mask: linear-gradient(90deg, #000, #000 88%, transparent); }
.foot-rule span { position: absolute; left: 0; bottom: 12px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; color: var(--star); background: var(--night); padding-right: 10px; }
.foot-grid { display: grid; grid-template-columns: 1.25fr 2fr; gap: 2.4rem clamp(1.5rem, 4vw, 3rem); align-items: start; padding-top: 2.4rem; }
.foot-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 15rem; }
.foot-logo { text-decoration: none; display: inline-block; }
.foot-baseline { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: 1.18rem; line-height: 1.3; color: var(--cream); margin: 0; }
.foot-rss { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--star);
  border: 1px solid var(--night-line); border-radius: 999px; padding: 0.35rem 0.7rem; transition: border-color 0.18s, color 0.18s; }
.foot-rss:hover { border-color: var(--amber); color: var(--amber); }
.foot-rss svg { width: 13px; height: 13px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 1.6rem 1.2rem; }
.foot-col { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.foot-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--star); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.15rem; }
.foot-eyebrow::before { content: ""; width: 14px; height: 1px; background: var(--amber); }
.foot-col a { color: #D9CFB9; text-decoration: none; font-size: 0.94rem; line-height: 1.2; width: fit-content; transition: color 0.16s, transform 0.16s; }
.foot-col a:hover { color: var(--amber); transform: translateX(2px); }
.foot-base { max-width: var(--maxw); margin: 2.6rem auto 0; padding: 1.3rem var(--gut) 0; border-top: 1px solid var(--night-line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.foot-disc { margin: 0; font-size: 0.78rem; color: #8F8674; max-width: 46rem; line-height: 1.5; }
.foot-meta { margin: 0; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: #8F8674; white-space: nowrap; }
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .foot-base { flex-direction: column; gap: 0.5rem; }
}
.logo-mark { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo-g { color: var(--amber-deep); font-style: italic; }
/* Logo 100g — mark transparent dans une tuile "icône d'app" iOS */
.app-icon {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #ffffff 0%, #fbf6ec 100%);
  border-radius: 23%;
  box-shadow: 0 3px 9px rgba(60, 40, 15, 0.16), inset 0 0 0 1px rgba(60, 40, 15, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.app-icon .logo-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.topnav-logo .app-icon { width: 48px; height: 48px; padding: 7px; }
.topnav-logo:hover .app-icon {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(60, 40, 15, 0.22), inset 0 0 0 1px rgba(60, 40, 15, 0.06);
}
.foot-logo .app-icon { width: 58px; height: 58px; padding: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }

/* ======================== MODE CUISINE ============================== */
/* Bouton de lancement, large, tactile */
.cook-launch {
  position: sticky; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 25;
  display: flex; justify-content: center; margin: 2rem 0 0; pointer-events: none;
}
.cook-launch button {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--ink); color: var(--cream);
  border: none; border-radius: 999px; padding: 0.85rem 1.5rem;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.cook-launch button:hover { background: var(--amber-deep); transform: translateY(-2px); }
.cook-launch button:active { transform: scale(0.96); }
.cook-launch button .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 var(--amber); animation: dot 2s infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 rgba(232,133,26,0.6);} 70%{ box-shadow: 0 0 0 8px rgba(232,133,26,0);} 100%{ box-shadow: 0 0 0 0 rgba(232,133,26,0);} }

/* L'overlay plein écran, swipeable */
.cook-mode {
  position: fixed; inset: 0; z-index: 100;
  background: var(--night); color: var(--cream);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: scale(1.02);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.cook-mode.open { opacity: 1; visibility: visible; transform: scale(1); }
.cook-top {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem var(--gut) 0.4rem;
}
.cook-progress { flex: 1; display: flex; gap: 5px; }
.cook-progress .seg { flex: 1; height: 4px; border-radius: 999px; background: var(--night-line); overflow: hidden; }
.cook-progress .seg i { display: block; height: 100%; width: 0; background: var(--amber); transition: width 0.4s var(--ease); }
.cook-progress .seg.done i { width: 100%; }
.cook-progress .seg.current i { width: 100%; }
.cook-close {
  flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--night-2); border: 1px solid var(--night-line); color: var(--cream);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background 0.2s;
}
.cook-close:hover { background: var(--night-line); }
.cook-counter { font-family: var(--font-mono); font-size: 0.8rem; color: color-mix(in srgb, var(--cream) 60%, transparent); padding: 0 var(--gut); letter-spacing: 0.05em; }

.cook-stage {
  flex: 1; position: relative; overflow: hidden;
  display: flex; touch-action: pan-y;
}
.cook-track { display: flex; height: 100%; width: 100%; transition: transform 0.4s var(--ease); will-change: transform; }
.cook-slide {
  flex: 0 0 100%; height: 100%; overflow-y: auto;
  padding: 1.4rem var(--gut) 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.cook-slide-inner { max-width: 30rem; margin: 0 auto; width: 100%; }
.cook-step-n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--amber); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.cook-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 5.5vw, 2.4rem); line-height: 1.18; letter-spacing: -0.02em;
  margin: 0;
}
.cook-tip { margin: 1.4rem 0 0; padding: 0.9rem 1.1rem; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-sm); font-size: 1.05rem; line-height: 1.5; }
.cook-tip b { color: var(--amber); font-family: var(--font-display); }
.cook-wink { margin: 1rem 0 0; color: color-mix(in srgb, var(--cream) 62%, transparent); font-style: italic; font-size: 1rem; }
.cook-timer {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 1.4rem 0 0;
  border: 2px solid var(--amber); background: transparent; color: var(--amber);
  border-radius: 999px; padding: 0.7rem 1.3rem; font: inherit; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; font-variant-numeric: tabular-nums; transition: all 0.2s var(--ease);
}
.cook-timer.running { background: var(--amber); color: var(--on-amber); }
.cook-timer.done { background: var(--green); border-color: var(--green); color: #fff; }

.cook-nav {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.8rem var(--gut) 1.2rem;
}
.cook-arrow {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--night-2); border: 1px solid var(--night-line); color: var(--cream);
  border-radius: 999px; padding: 0.95rem 1rem; font: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.2s var(--ease);
}
.cook-arrow:hover:not(:disabled) { background: var(--night-line); }
.cook-arrow:active:not(:disabled) { transform: scale(0.97); }
.cook-arrow:disabled { opacity: 0.35; cursor: default; }
.cook-arrow--next { background: var(--amber); border-color: var(--amber); color: var(--on-amber); flex: 1.4; }
.cook-arrow--next:hover:not(:disabled) { background: var(--amber-deep); }

/* ============================ TOAST ================================= */
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 1.5rem); z-index: 120;
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.2rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-lg);
  display: inline-flex; align-items: center; gap: 0.5rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  pointer-events: none; max-width: calc(100vw - 2rem);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { color: var(--green-soft); }
.toast .tcheck { color: var(--star); }

/* ========================= Favoris ================================= */
.card-fav {
  position: absolute; top: 0.55rem; right: 0.55rem; z-index: 3;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer; border: none; padding: 0;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink-2); transition: transform 0.16s var(--ease), color 0.16s, background 0.16s;
}
.card-fav:hover { color: var(--amber-deep); transform: scale(1.1); }
.card-fav:active { transform: scale(0.9); }
.card-fav.is-fav { color: var(--amber-deep); }
.card-fav.is-fav svg { fill: currentColor; }

/* Bouton "Enregistrer" sur la page recette (hero sombre) */
.recipe-fav {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.1rem 0 0;
  padding: 0.5rem 1rem; border-radius: 999px; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 0.9rem; color: var(--cream);
  background: color-mix(in srgb, var(--cream) 14%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--cream) 30%, transparent);
  transition: all 0.18s var(--ease);
}
.recipe-fav:hover { border-color: var(--amber); color: #fff; transform: translateY(-1px); }
.recipe-fav.is-fav { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.recipe-fav .recipe-fav-ic { display: inline-flex; }
.recipe-fav.is-fav .recipe-fav-ic svg { fill: currentColor; }
.fav-label--on { display: none; }
.recipe-fav.is-fav .fav-label--off { display: none; }
.recipe-fav.is-fav .fav-label--on { display: inline; }

/* Bouton "Ajouter aux courses" (même base que recipe-fav, accent vert sauge) */
.recipe-course.is-incourses { background: var(--sage, #5C8A4A); border-color: var(--sage, #5C8A4A); color: #fff; }
.recipe-course.is-incourses .recipe-fav-ic svg { stroke: currentColor; }
.recipe-course.is-incourses .fav-label--off { display: none; }
.recipe-course.is-incourses .fav-label--on { display: inline; }

/* Badge compteur sur l'onglet Courses (tab bar mobile) */
.tab-ic-wrap { position: relative; display: inline-flex; }
.tab-badge {
  position: absolute; top: -5px; right: -9px; min-width: 15px; height: 15px;
  padding: 0 3px; border-radius: 999px; background: var(--amber); color: var(--on-amber);
  font-size: 0.6rem; font-weight: 800; line-height: 15px; text-align: center;
}

/* ===== Page Courses ===== */
.crs-block { margin: 1.6rem 0; }
.crs-block-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; }
.crs-block-head h2 { font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.crs-pill {
  display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem;
  padding: 0 0.4rem; border-radius: 999px; background: var(--amber-soft); color: var(--amber-deep);
  font-size: 0.8rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.crs-clear {
  border: none; background: none; font: inherit; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); cursor: pointer; padding: 0.2rem 0.1rem; text-decoration: underline; text-underline-offset: 3px;
}
.crs-clear:hover { color: var(--amber-deep); }

.crs-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.crs-chip {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-size: 0.9rem; font-weight: 600;
}
.crs-chip a { color: var(--ink); text-decoration: none; }
.crs-chip a:hover { color: var(--amber-deep); }
.crs-chip-x {
  display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem;
  border: none; background: var(--line-soft); color: var(--muted); border-radius: 999px; cursor: pointer; padding: 0;
}
.crs-chip-x:hover { background: var(--amber); color: var(--on-amber); }

.crs-list { list-style: none; padding: 0; margin: 0; }
@media (min-width: 660px) { .crs-list { columns: 2; column-gap: 2.4rem; } }
.crs-item {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.6rem 0.2rem;
  border-bottom: 1px dashed var(--line); cursor: pointer; break-inside: avoid;
}
.crs-check {
  flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin-top: 0.05rem; border-radius: 0.4rem;
  border: 2px solid var(--line); background: var(--card); transition: all 0.15s var(--ease); position: relative;
}
.crs-item:hover .crs-check { border-color: var(--amber); }
.crs-item.is-checked .crs-check { background: var(--amber); border-color: var(--amber); }
.crs-item.is-checked .crs-check::after {
  content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
  border: solid var(--on-amber); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.crs-item-main { flex: 1; }
.crs-ing { display: block; font-weight: 700; color: var(--ink); }
.crs-qty { display: block; font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.crs-from { color: var(--muted); font-weight: 500; }
.crs-plus { color: var(--amber-deep); font-weight: 800; }
.crs-item.is-checked .crs-ing { text-decoration: line-through; color: var(--muted); }
.crs-item.is-checked .crs-qty { opacity: 0.6; }

.crs-mat-note { font-size: 0.82rem; color: var(--muted); margin: -0.3rem 0 0.9rem; }
.crs-mat { display: grid; gap: 0.7rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .crs-mat { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .crs-mat { grid-template-columns: 1fr 1fr 1fr; } }
.crs-mat-card {
  display: flex; gap: 0.8rem; align-items: center; padding: 0.7rem 0.8rem; border-radius: 0.9rem;
  background: var(--card); border: 1.5px solid var(--line); text-decoration: none; transition: all 0.18s var(--ease);
}
.crs-mat-card:hover { border-color: var(--amber); transform: translateY(-1px); box-shadow: var(--shadow); }
.crs-mat-media {
  flex: none; width: 64px; height: 64px; border-radius: 0.6rem; overflow: hidden;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center;
}
.crs-mat-media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.crs-mat-ph { color: var(--line); }
.crs-mat-info { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; flex: 1; }
.crs-mat-brand { font-size: 0.68rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.crs-mat-name { color: var(--ink); font-size: 0.88rem; line-height: 1.25; font-weight: 700; }
.crs-mat-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.25rem; }
.crs-mat-price { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.crs-mat-cta { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; font-weight: 700; color: var(--amber-deep); white-space: nowrap; }
.crs-mat-cta svg { transition: transform 0.2s var(--ease); }
.crs-mat-card:hover .crs-mat-cta svg { transform: translateX(2px); }

/* Rayons (liste de courses groupée par rayon de magasin) */
.crs-rayons { columns: 1; }
@media (min-width: 720px) { .crs-rayons { columns: 2; column-gap: 1.8rem; } }
.crs-rayon { break-inside: avoid; margin-bottom: 1.1rem; }
.crs-rayon-h {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber-deep); margin: 0 0 0.4rem; padding-bottom: 0.35rem; border-bottom: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.crs-rayon-n { color: var(--muted); font-weight: 700; }
.crs-rayon .crs-list { columns: 1; }

/* Stepper portions (dans la puce recette) */
.crs-srv { display: inline-flex; align-items: center; gap: 0.2rem; margin: 0 0.1rem 0 0.45rem; }
.crs-srv-b {
  width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center; font-size: 0.95rem;
}
.crs-srv-b:hover { border-color: var(--amber); color: var(--amber-deep); }
.crs-srv-n { min-width: 1.1rem; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.85rem; }

/* Commander en ligne (lead-gen affilié) */
.crs-order {
  display: flex; flex-direction: column; gap: 0.9rem;
  margin: 1.6rem 0; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--amber-soft); border: 1px solid var(--amber);
}
.crs-order-txt { display: flex; flex-direction: column; gap: 0.15rem; }
.crs-order-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.crs-order-txt span { color: var(--ink-2); font-size: 0.88rem; }

/* Cartes d'offres (code promo + montant offert) */
.crs-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.7rem; }
.crs-offer {
  display: flex; flex-direction: column; gap: 0.3rem; padding: 0.85rem 0.95rem;
  border-radius: calc(var(--radius) - 3px); background: var(--card); border: 1.5px solid var(--amber);
  text-decoration: none; color: inherit; transition: all 0.18s var(--ease);
}
.crs-offer:hover { border-color: var(--amber-deep); box-shadow: 0 4px 14px rgba(0,0,0,0.06); transform: translateY(-1px); }
.crs-offer-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; }
.crs-offer-merchant { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.crs-offer-amount { font-weight: 800; font-size: 1.25rem; color: var(--amber-deep); white-space: nowrap; }
.crs-offer-sub { color: var(--ink-2); font-size: 0.84rem; line-height: 1.3; }
.crs-offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.15rem; }
.crs-offer-code {
  font-family: var(--font-mono, monospace); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em;
  padding: 0.25rem 0.55rem; border-radius: 6px; background: var(--amber-soft); border: 1px dashed var(--amber-deep); color: var(--amber-deep);
}
.crs-offer-go { font-weight: 700; font-size: 0.82rem; color: var(--ink); white-space: nowrap; }
.crs-offer-note { color: var(--muted); font-size: 0.72rem; line-height: 1.3; }

/* Alternative discrète : boutiques Amazon */
.crs-order-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; font-size: 0.82rem; color: var(--ink-2); }
.crs-order-alt a { color: var(--amber-deep); font-weight: 700; text-decoration: none; }
.crs-order-alt a:hover { text-decoration: underline; }

/* Badge compteur (cœur du header) */
.topnav-fav { position: relative; }
.fav-count {
  position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 999px; background: var(--amber); color: var(--on-amber);
  font-size: 0.62rem; font-weight: 800; line-height: 16px; text-align: center;
}

/* Page favoris : état vide */
.fav-empty { text-align: center; padding: 2.6rem 1rem 3.4rem; color: var(--muted); max-width: 34rem; margin: 0 auto; }
.fav-empty[hidden] { display: none; }
.fav-empty-ic { color: var(--amber); display: inline-flex; }
.fav-empty p { margin: 0.7rem 0 0; }
.fav-empty-sub { font-size: 0.9rem; }
.fav-cta {
  display: inline-block; margin-top: 1.3rem; padding: 0.7rem 1.3rem; border-radius: 999px;
  background: var(--amber); color: var(--on-amber); text-decoration: none; font-weight: 700;
  transition: transform 0.16s var(--ease), background 0.16s;
}
.fav-cta:hover { background: var(--amber-deep); transform: translateY(-1px); }

/* ===================== Reveals au scroll ============================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   MOBILE-FIRST : éléments réservés au desktop, masqués par défaut.
   ===================================================================== */
.topnav { display: none; }                 /* nav haute : desktop seulement */
.recipe-aside .aside-cook,
.recipe-aside .aside-gear { display: none; } /* doublons sidebar : desktop seulement */

/* =====================================================================
   DESKTOP (>= 900px) : une expérience distincte, large, en 2 colonnes.
   ===================================================================== */
@media (min-width: 900px) {
  :root { --maxw: 1240px; }

  /* Le contexte cuisine (tab bar) n'a pas de sens sur grand écran. */
  body { padding-bottom: 0; }
  .tabbar { display: none; }

  /* La nav haute remplace la tab bar. */
  .topnav {
    display: block; position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid var(--line);
  }
  .topnav-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; align-items: center; gap: 2rem;
    padding: 0.75rem var(--gut);   /* aligné sur le gutter du contenu (hero, pills, blocs) */
  }
  .topnav-logo { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
  .topnav-logo .logo-mark { font-size: 1.55rem; }
  .topnav-logo .dose-tick {
    display: inline-block; width: 1.5rem; height: 10px; align-self: flex-end; margin-bottom: 5px;
    background-image: repeating-linear-gradient(90deg, var(--amber-deep) 0 1.5px, transparent 1.5px 5px);
    opacity: 0.8;
  }
  .topnav-links { display: flex; gap: 0.4rem; margin-right: auto; }

  /* --- Mega menu --- */
  .nav-item { position: relative; }
  .nav-trigger {
    display: inline-flex; align-items: center; gap: 0.3rem;
    text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 0.95rem;
    padding: 0.55rem 0.7rem; border-radius: 10px; position: relative;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
    cursor: pointer;
  }
  /* État actif : soulignement ambre animé (rime avec la règle graduée du footer), plus éditorial que la pastille. */
  .nav-trigger::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.22s var(--ease); }
  .nav-trigger:hover { color: var(--ink); }
  .nav-trigger:hover::after { transform: scaleX(1); }
  .nav-caret { transition: transform 0.25s var(--ease); opacity: 0.6; }
  .nav-item:hover .nav-caret,
  .nav-item.is-open .nav-caret { transform: rotate(180deg); }
  .nav-item:hover .nav-trigger,
  .nav-item.is-open .nav-trigger { color: var(--ink); }
  .nav-item:hover .nav-trigger::after,
  .nav-item.is-open .nav-trigger::after { transform: scaleX(1); }

  /* Le panneau : caché par défaut, révélé au survol/focus avec une animation subtile. */
  .mega-panel {
    position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 60;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.3rem 1.5rem; min-width: max-content;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
    pointer-events: none;
  }
  /* zone tampon : évite que le menu se ferme dans l'interstice nav/panneau */
  .mega-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
  .nav-item:hover .mega-panel,
  .nav-item.is-open .mega-panel {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
  .mega-inner { display: flex; gap: 2.4rem; }
  .mega-col { min-width: 9rem; }
  .mega-col-title {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-deep);
    margin-bottom: 0.7rem;
  }
  .mega-col-title::before { content: ""; width: 14px; height: 1px; background: var(--amber); flex: none; }
  .mega-col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
  .mega-link {
    display: block; text-decoration: none; color: var(--ink-2);
    font-weight: 600; font-size: 0.92rem; padding: 0.4rem 0.6rem;
    border-radius: 8px; transition: color 0.18s var(--ease), background 0.18s var(--ease);
  }
  .mega-link:hover { color: var(--amber-deep); background: var(--amber-soft); }
  .topnav-right { display: flex; align-items: center; gap: 0.9rem; }
  .topnav-search {
    position: relative;
    display: flex; align-items: center; gap: 0.55rem;
    background: var(--card); border: 1.5px solid var(--line); border-radius: 999px;
    padding: 0.6rem 1.1rem; transition: border-color 0.2s var(--ease), box-shadow 0.2s;
  }
  .topnav-search:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
  .topnav-search .ts-ic { color: var(--muted); display: inline-flex; }
  .topnav-search input {
    border: none; background: none; font: inherit; font-size: 0.95rem; outline: none;
    width: 15rem; color: var(--ink);
    transition: width 0.25s var(--ease);
  }
  .topnav-search:focus-within input { width: 20rem; }

  /* Suggestions temps réel sous la barre de recherche */
  .search-results {
    position: absolute; top: calc(100% + 0.5rem); right: 0; left: 0; z-index: 60;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 12px 32px rgba(60, 40, 15, 0.16); padding: 0.4rem;
    max-height: min(60vh, 26rem); overflow-y: auto;
  }
  .search-results[hidden] { display: none; }
  .topnav-search input::placeholder { color: var(--muted); }
  .topnav-fav {
    display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
    color: var(--ink-2); border: 1.5px solid var(--line); background: var(--card);
    transition: all 0.2s var(--ease);
  }
  .topnav-fav:hover { color: var(--amber-deep); border-color: var(--amber); transform: translateY(-1px); }

  /* Pills sticky : se calent juste sous la nav haute (hauteur = tuile logo 48px + 2x0.75rem + bordure). */
  .section-nav { top: 73px; }

  /* ---- ACCUEIL desktop : hero ample + grille pleine ---- */
  .home-hero { padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
  .home-hero h1 { max-width: 16ch; }
  .home-hero .lede { max-width: 62ch; font-size: 1.3rem; }
  .promise { margin-top: 3rem; }
  .promise-cell { padding: 1.5rem 1.6rem; }
  .promise-cell b { font-size: 1.15rem; }
  .promise-cell span { font-size: 0.9rem; }

  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
  .card-title { font-size: 1.35rem; }

  .section-head .sub { max-width: 60ch; }

  /* ---- PAGE RECETTE desktop : hero large + 2 colonnes ---- */
  .recipe-hero {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding-bottom: clamp(2rem, 3vw, 2.6rem);
  }
  /* Desktop : hauteur fixe + largeur pleine. Pas d'aspect-ratio ici, sinon le plafond
     de hauteur force le navigateur à reduire la largeur (=> bande vide a droite). */
  .recipe-hero-media { aspect-ratio: auto; height: clamp(340px, 34vw, 460px); max-height: none; }
  .recipe-hero-inner { max-width: var(--maxw); margin: 0 auto; }
  .recipe-hero h1 { max-width: 18ch; }
  .recipe-intro-dark { max-width: 60ch; }
  .recipe-facts { max-width: 640px; grid-template-columns: repeat(4, 1fr); }
  .golden { max-width: 760px; }

  /* La grille 2 colonnes : étapes (large, gauche) + sidebar collante (étroite, droite).
     L'aside est avant le main dans le DOM (ordre mobile logique), on place donc
     explicitement chaque colonne pour l'inverser en desktop. */
  .recipe-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  }
  .recipe-main { min-width: 0; grid-column: 1; grid-row: 1; }
  .recipe-aside { position: relative; grid-column: 2; grid-row: 1; }
  .recipe-aside .recipe-aside-sticky,
  .recipe-aside > .block--aside {
    position: sticky; top: 112px;
  }
  /* Carte ingrédients en panneau distinct dans la sidebar. */
  .block--aside {
    margin: 0; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm); scroll-margin-top: 132px;
  }
  .block--aside .block-head { margin-bottom: 1rem; }
  .block--aside .block-head h2 { font-size: 1.4rem; }
  .block--aside .ingredients { grid-template-columns: 1fr; column-gap: 0; }
  .block--aside .ing-toolbar { margin-bottom: 1rem; }
  .block--aside .servings-readout { margin-left: 0; }
  .block--aside .ing .note { font-size: 0.8rem; }

  /* Le bouton "mode cuisine" et l'aperçu matériel vivent dans la sidebar. */
  .recipe-aside .aside-cook { display: block; margin-top: 1.2rem; }
  .aside-cook-btn {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: var(--ink); color: var(--cream); border: none; border-radius: 999px;
    padding: 0.95rem 1.2rem; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
    box-shadow: var(--shadow); transition: transform 0.2s var(--ease), background 0.2s;
  }
  .aside-cook-btn:hover { background: var(--amber-deep); transform: translateY(-2px); }
  .aside-cook-btn:active { transform: scale(0.97); }
  .aside-cook-btn .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 var(--amber); animation: dot 2s infinite; }
  .aside-cook-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0.6rem 0 0; }

  .recipe-aside .aside-gear {
    display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem;
    text-decoration: none; padding: 0.9rem 1rem;
    background: var(--night); color: var(--cream); border-radius: var(--radius);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
  }
  .aside-gear:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .aside-gear-stars { color: var(--star); font-size: 1.05rem; letter-spacing: 2px; flex: none; }
  .aside-gear-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
  .aside-gear-txt b { font-family: var(--font-display); font-weight: 600; }
  .aside-gear-txt span { font-size: 0.78rem; color: color-mix(in srgb, var(--cream) 62%, transparent); }
  .aside-gear-arr { color: var(--amber); display: inline-flex; transition: transform 0.2s var(--ease); }
  .aside-gear:hover .aside-gear-arr { transform: translateX(3px); }

  /* En desktop, le bouton sticky mobile redondant disparaît. */
  .recipe-main .cook-launch { display: none; }

  /* Étapes : un peu plus aérées, largeur de ligne maîtrisée. */
  .recipe-main .steps .step-text { max-width: 60ch; }
  .recipe-main .step-tip, .recipe-main .step-wink { max-width: 62ch; }

  /* Sections pleine largeur sous la grille : ancrage sous header (73px) + pills (~50px). */
  .block { scroll-margin-top: 132px; }

  /* "Viser l'étoile" : grille aérée de paliers. */
  .ladder { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
  .tier { padding: 1.5rem 1.6rem; }
  .picks { grid-template-columns: 1fr; }

  /* Modes / FAQ : pas de texte qui s'étire trop large. */
  .faq summary { max-width: 70ch; }
  .faq p { max-width: 66ch; }
  .nutri-note, .affiliate-note { max-width: 60ch; }

  /* Footer aligné, sans liseré de tab bar. */
  .site-footer { padding-bottom: 2.4rem; }
}

/* Très grand écran : on laisse respirer un peu plus la sidebar. */
@media (min-width: 1180px) {
  .recipe-grid { grid-template-columns: minmax(0, 1fr) 380px; }
}

/* ============================================================
   CATALOGUE MATÉRIEL ("S'équiper") : hub + pages catégories
   ============================================================ */

/* -- Familles (hub) -- */
.gear-cats { display: grid; gap: 0.8rem; margin: 1.4rem 0 0; }
@media (min-width: 720px) { .gear-cats { grid-template-columns: 1fr 1fr; } }
.gear-cat {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); padding: 1.1rem 1.2rem; text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gear-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.gear-cat--empty { opacity: 0.5; pointer-events: none; }
.gear-cat-ic {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--amber-soft); color: var(--amber-deep);
}
.gear-cat-txt { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.gear-cat-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.gear-cat-blurb { color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.gear-cat-brands { color: var(--ink-2); font-size: 0.76rem; font-family: var(--font-mono); margin-top: 0.2rem; }
.gear-cat-count {
  flex: none; margin-left: auto; align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--amber-deep); background: var(--amber-soft);
  min-width: 2rem; height: 2rem; padding: 0 0.5rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
/* mini (rappel en bas des pages catégories + accueil) */
.gear-cats--mini { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .gear-cats--mini { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.gear-cat--mini { padding: 0.85rem 1rem; gap: 0.6rem; }
.gear-cat--mini b { font-size: 0.95rem; font-family: var(--font-display); font-weight: 600; }
.gear-cat--mini .gear-cat-ic { width: 34px; height: 34px; border-radius: 9px; }
.gear-cat--mini .gear-cat-ic svg { width: 19px; height: 19px; }
.gear-cat--mini .gear-cat-count { margin-left: auto; }
.gear-cat-arr { margin-left: auto; color: var(--amber-deep); display: inline-flex; transition: transform 0.2s var(--ease); }
.gear-cat--mini:hover .gear-cat-arr { transform: translateX(3px); }

/* Accueil : lien "tout le matériel" + bande Courses */
.cmp-entry-arr-link { color: var(--amber-deep); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.cmp-entry-arr-link:hover { text-decoration: underline; }
.home-courses {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem;
  padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.home-courses:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.home-courses-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--card); color: var(--amber-deep); border: 1px solid var(--line); }
.home-courses-txt { display: flex; flex-direction: column; gap: 0.15rem; }
.home-courses-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.home-courses-txt span { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.home-courses .cmp-entry-arr { margin-left: auto; color: var(--amber-deep); }

/* -- Philosophie "Viser l'étoile" -- */
.gear-philo {
  display: flex; gap: 0.9rem; align-items: flex-start;
  margin: 1.4rem 0 0; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-left: 3px solid var(--star);
  border-radius: var(--radius-sm); background: var(--paper-2);
}
.gear-philo-ic { flex: none; color: var(--star); margin-top: 1px; }
.gear-philo b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.gear-philo p { margin: 0.35rem 0 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; }

/* -- Grille produits + carte gear -- */
.gear-count { color: var(--muted); margin: 1rem 0 0; font-size: 0.95rem; }
.gear-count b { color: var(--amber-deep); font-variant-numeric: tabular-nums; }
.gear-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(0.8rem, 2.5vw, 1.2rem); margin: 1.2rem 0 0;
}
.gear {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gear:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.gear-media {
  position: relative; display: block; aspect-ratio: 1 / 1; background: #fff;
  border-bottom: 1px solid var(--line);
}
.gear-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 0.7rem; display: block; }
.gear-media-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line); background: var(--paper-2); }
.gear-tier {
  position: absolute; top: 0.5rem; left: 0.5rem;
  background: rgba(22,19,12,0.78); color: var(--star); letter-spacing: 1px;
  font-size: 0.78rem; padding: 0.12rem 0.45rem; border-radius: 999px; backdrop-filter: blur(2px);
}
.gear-body { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.85rem 0.95rem; flex: 1; }
.gear-brand { color: var(--muted); font-size: 0.74rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em; }
.gear-brand--link { text-decoration: none; transition: color 0.15s var(--ease); }
.gear-brand--link:hover { color: var(--amber-deep); }
.tier-brands { margin: 1.4rem 0 0; font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.4rem; }
.tier-brands-lab { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; margin-right: 0.3rem; }
.tier-brands a { color: var(--ink-2); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.tier-brands a:hover { color: var(--amber-deep); border-bottom-color: var(--amber); }
.gear-name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.gear-for { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.gear-for-lab { color: var(--ink-2); font-weight: 600; margin-right: 0.3rem; }
.gear-for a { color: var(--amber-deep); text-decoration: none; }
.gear-for a:hover { text-decoration: underline; }
.gear-sep { margin: 0 0.25rem; color: var(--line); }
.gear-more { color: var(--muted); font-weight: 600; margin-left: 0.3rem; }
.gear-foot { margin-top: auto; padding-top: 0.7rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.gear-price {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--amber-deep); background: var(--amber-soft);
  padding: 0.1rem 0.5rem; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.gear-cta {
  color: var(--amber-deep); font-weight: 700; font-size: 0.86rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap;
}
.gear-cta svg { transition: transform 0.2s var(--ease); }
.gear:hover .gear-cta svg { transform: translateX(3px); }

/* -- Footer : plan du site -- */
.foot-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.1rem;
  margin: 0.2rem 0 0.4rem; max-width: 40rem;
}
.foot-nav a { color: var(--muted); text-decoration: none; font-size: 0.86rem; }
.foot-nav a:hover { color: var(--amber-deep); }

/* ============================================================
   GUIDES (guides d'achat éditoriaux)
   ============================================================ */
.guide-list { display: grid; gap: 0.8rem; margin: 1.4rem 0 0; }
.guide-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.guide-card-ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--amber-soft); color: var(--amber-deep); }
.guide-card-txt { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.guide-card-kicker { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber-deep); }
.guide-card-txt b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.guide-card-sub { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.guide-card .cmp-entry-arr { margin-left: auto; color: var(--amber-deep); }

/* Page guide */
.guide-meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); margin: 0.5rem 0 0; }
.guide-body { max-width: 70ch; margin: 1.8rem 0; }
.guide-sec { margin: 1.8rem 0; }
.guide-sec h2 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.guide-sec p { color: var(--ink-2); line-height: 1.7; margin: 0 0 0.9rem; }

/* Sélection produits du guide */
.guide-picks { margin: 1.8rem 0; padding: 1.3rem 1.3rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.guide-picks > h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.guide-pick-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .guide-pick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .guide-pick-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-pick { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.guide-pick:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--amber); }
.guide-pick-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line); }
.guide-pick-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 0.7rem; }
.guide-pick-badge { position: absolute; top: 0.5rem; left: 0.5rem; background: var(--ink); color: var(--cream); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; padding: 0.18rem 0.5rem; border-radius: 999px; }
.guide-pick-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0.95rem; flex: 1; }
.guide-pick-name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.guide-pick-angle { color: var(--ink-2); font-size: 0.84rem; line-height: 1.5; margin: 0.25rem 0 0; }
.guide-pick-body .gear-foot { margin-top: auto; padding-top: 0.7rem; }
.guide-pick-note { font-size: 0.78rem; color: var(--muted); margin: 1rem 0 0; }

/* =====================================================================
   Hub marques (/marques/, /marques/<slug>/) — page marque + annuaire
   ===================================================================== */
.bp-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 62%, transparent); }
.bp-eyebrow::before { content: ""; width: 14px; border-top: 2px solid var(--amber); }
.bp-eyebrow--dark { color: var(--muted); }
.bp-h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0.6rem 0 0; text-wrap: balance; max-width: 22ch; }

/* Hero (encre inversée, déborde la gouttière comme recipe-hero) */
.bp-hero { position: relative; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut);
  background: var(--night); color: var(--cream); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.bp-hero::before { content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(232,133,26,0.08) 0 1px, transparent 1px 38px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); }
.bp-hero-in { position: relative; z-index: 2; padding: clamp(1.4rem, 3vw, 2rem) 0 clamp(1.6rem, 4vw, 2.4rem); }
.bp-hero .hub-crumb, .bp-hero .hub-crumb a { color: color-mix(in srgb, var(--cream) 55%, transparent); }
.bp-logo { display: block; height: clamp(44px, 7vw, 72px); width: auto; margin: 0.7rem 0 0.2rem; }
.bp-title { font-family: var(--font-display); font-weight: 600; color: var(--cream); font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: -0.03em; margin: 0.6rem 0 0.2rem; }
.bp-tag { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--amber);
  font-size: clamp(1.5rem, 4.2vw, 2.4rem); margin: 0.4rem 0 1.2rem; max-width: 22ch; line-height: 1.15; }
.bp-tag--lite { color: color-mix(in srgb, var(--cream) 78%, transparent); font-style: normal; font-size: var(--step-1); font-family: var(--font-body); max-width: 46ch; }
.bp-vals { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.bp-vals span { font-family: var(--font-mono); font-size: 0.74rem; padding: 0.35rem 0.7rem;
  border: 1px solid var(--night-line); border-radius: 999px; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.bp-vals span b { color: var(--amber); font-weight: 700; }
.bp-trust { display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; text-decoration: none;
  padding: 0.5rem 0.85rem; border: 1px solid var(--night-line); border-radius: 12px; background: rgba(255,255,255,0.02); margin-bottom: 1.1rem; }
.bp-trust:hover { border-color: var(--amber); }
.bp-stars { display: inline-flex; gap: 1px; color: var(--star); }
.bp-stars svg { width: 15px; height: 15px; }
.bp-stars.lg svg { width: 18px; height: 18px; }
.bp-trust b { font-family: var(--font-mono); font-weight: 700; color: var(--cream); font-size: 0.92rem; }
.bp-trust small { color: color-mix(in srgb, var(--cream) 58%, transparent); font-size: 0.78rem; }
.bp-src { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }
.bp-ctx { color: color-mix(in srgb, var(--cream) 52%, transparent); font-size: 0.74rem; }
.bp-note { font-size: 0.92rem; color: color-mix(in srgb, var(--cream) 60%, transparent); max-width: 48ch; margin: 0; }
.bp-note b { color: var(--cream); font-weight: 600; }
.bp-hero-media { position: relative; z-index: 2; margin: 1.2rem calc(-1 * var(--gut)) 0; height: clamp(200px, 32vw, 380px); overflow: hidden; }
.bp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.bp-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--night), transparent 24%, transparent 82%, rgba(22,19,12,0.25)); }

/* Thèse + Fabriqué en France */
.bp-thesis { padding: clamp(2.4rem, 6vw, 3.6rem) 0 0; }
.bp-thesis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem 2rem; margin-top: 1.5rem; }
.bp-thesis-grid h3 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 0 0 0.3rem; }
.bp-thesis-grid p { margin: 0; font-size: 0.94rem; color: var(--ink-2); }
.bp-n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--amber-deep); letter-spacing: 0.05em; text-transform: uppercase; }
.bp-france { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(1.8rem, 4vw, 2.6rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.bp-france--text { grid-template-columns: 1fr; }
.bp-france--text .bp-france-body { padding-top: clamp(1.6rem, 3vw, 2.4rem); padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.bp-france-media { position: relative; min-height: 220px; background: #2a1b12; }
.bp-credit { position: absolute; bottom: 0; left: 0; font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.02em; color: rgba(255,255,255,0.72); background: rgba(0,0,0,0.4);
  padding: 0.2rem 0.5rem; border-radius: 0 6px 0 0; }
.bp-france-media img { width: 100%; height: 100%; object-fit: cover; }
.bp-france-body { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; }
.bp-france-body .bp-eyebrow { margin-bottom: 0.5rem; }
.bp-france-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--ink); margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.bp-france-body p { margin: 0; font-size: 0.95rem; color: var(--ink-2); max-width: 40ch; }

/* Gamme */
.bp-range { padding: clamp(2.2rem, 6vw, 3.2rem) 0 0; }
.bp-range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.bp-range-sub { color: var(--muted); font-size: 0.9rem; }
.bp-cat { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 1.8rem 0 0.9rem; display: flex; align-items: center; gap: 0.6rem; }
.bp-cat::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bp-lead { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.bp-lead:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.bp-lead-media { background: var(--paper-2); display: flex; align-items: center; justify-content: center; padding: 1.6rem; }
.bp-lead-media img { width: 100%; max-width: 360px; filter: drop-shadow(0 18px 30px rgba(40,28,10,0.16)); }
.bp-lead-body { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; }
.bp-flag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-deep); }
.bp-lead-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3.2vw, 2rem); letter-spacing: -0.02em;
  color: var(--ink); margin: 0.35rem 0 0.5rem; line-height: 1.05; text-wrap: balance; }
.bp-lead-desc { font-size: 0.96rem; color: var(--ink-2); max-width: 42ch; margin-bottom: 1rem; }
.bp-lead-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.bp-price { font-family: var(--font-mono); font-weight: 700; font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.bp-buy { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--ink); color: var(--cream);
  font-weight: 700; font-size: 0.86rem; padding: 0.55rem 1.05rem; border-radius: 999px; }
.bp-lead:hover .bp-buy { background: var(--amber-deep); }
.bp-list { display: flex; flex-direction: column; }
.bp-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0.2rem;
  border-top: 1px solid var(--line-soft); text-decoration: none; color: inherit; }
.bp-row:last-child { border-bottom: 1px solid var(--line-soft); }
.bp-row:hover .bp-row-nm { color: var(--amber-deep); }
.bp-row-media { width: 64px; height: 64px; border-radius: 12px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bp-row-media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bp-row-ph { width: 100%; height: 100%; background: var(--paper-3); }
.bp-row-nm { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.15; transition: color 0.15s var(--ease); }
.bp-row-ds { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.bp-row-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
.bp-row-right .bp-price { font-size: 1rem; }
.bp-mini-buy { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--amber-deep); letter-spacing: 0.02em; white-space: nowrap; }
.bp-aff-note { font-size: 0.78rem; color: var(--muted); margin-top: 1.1rem; }

/* Avis */
.bp-rev { padding: clamp(2.4rem, 6vw, 3.4rem) 0 0; }
.bp-rev-head { display: flex; align-items: flex-end; gap: 1.2rem 2rem; flex-wrap: wrap; justify-content: space-between; }
.bp-rev-score { display: flex; align-items: center; gap: 0.7rem; }
.bp-rev-big { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: var(--ink); line-height: 1; }
.bp-rev-meta { font-size: 0.82rem; color: var(--muted); }
.bp-rev-meta b { color: var(--ink-2); }
.bp-src-d { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber-deep); }
.bp-rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.9rem; margin-top: 1.5rem; }
.bp-rev-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; background: var(--card); display: flex; flex-direction: column; gap: 0.55rem; }
.bp-rev-card p { margin: 0; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.bp-who { font-size: 0.78rem; color: var(--muted); margin-top: auto; }
.bp-who b { color: var(--ink-2); font-weight: 600; }
.bp-rev-disc { font-size: 0.76rem; color: var(--muted); margin-top: 1.2rem; }
.bp-rev-disc b { color: var(--ink-2); }

/* Recettes où on la recommande */
.bp-recipes { padding: clamp(2.4rem, 6vw, 3.4rem) 0 0; }
.bp-recipe-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.bp-recipe-chip { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.85rem; text-decoration: none; transition: all 0.15s var(--ease); }
.bp-recipe-chip:hover { border-color: var(--amber); color: var(--amber-deep); }

/* Produits mis en avant */
.bp-picks { padding: clamp(2.2rem, 6vw, 3.2rem) 0 0; }
.bp-picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.9rem; margin-top: 1.4rem; }
.bp-pick { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.bp-pick:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.bp-pick-media { aspect-ratio: 1 / 1; background: var(--paper-2); border-radius: calc(var(--radius) - 6px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bp-pick-media img { width: 100%; height: 100%; object-fit: contain; padding: 0.9rem; }
.bp-pick-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--ink); line-height: 1.2; }
.bp-pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }

/* Nav catégories */
.bp-catnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0.4rem; }
.bp-catnav-chip { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.75rem; text-decoration: none; transition: all 0.15s var(--ease); }
.bp-catnav-chip:hover { border-color: var(--amber); color: var(--amber-deep); }
.bp-catnav-chip span { color: var(--muted); }
.bp-cat { scroll-margin-top: 5rem; }

/* FAQ marque */
.bp-faq { padding: clamp(2.4rem, 6vw, 3.4rem) 0 0; }
.bp-faq .faq-list { margin-top: 1.2rem; }

/* Annuaire /marques */
.mk-dir { padding: clamp(1.4rem, 3vw, 2.2rem) 0 3rem; }
.mk-dir-h1 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  font-size: var(--step-3); margin: 0.6rem 0 0; }
.mk-dir-lede { color: var(--ink-2); max-width: 56ch; margin: 0.7rem 0 0; font-size: var(--step-0); }
.mk-dir-lede b { color: var(--ink); }
.mk-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0.8rem; margin-top: 1.8rem; }
.mk-brand { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
  background: var(--card); display: flex; flex-direction: column; gap: 0.45rem; min-height: 9rem;
  text-decoration: none; color: inherit; transition: border-color 0.18s var(--ease), transform 0.18s var(--ease); }
.mk-brand:hover { border-color: var(--amber); transform: translateY(-2px); }
.mk-brand.is-rich { border-color: var(--amber); background: var(--amber-soft); }
.mk-logo-wrap { height: 44px; display: flex; align-items: center; }
.mk-logo { max-height: 38px; max-width: 118px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.mk-brand.is-rich .mk-logo { mix-blend-mode: normal; }
.mk-mono { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.mk-brand.is-rich .mk-mono { color: var(--amber-deep); }
.mk-nm { font-weight: 700; font-size: 0.98rem; color: var(--ink); margin-top: auto; }
.mk-meta { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.mk-badge { position: absolute; top: 0.7rem; right: 0.7rem; font-family: var(--font-mono); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-amber); background: var(--amber); padding: 0.15rem 0.4rem; border-radius: 5px; }
.mk-dir-foot { font-size: 0.8rem; color: var(--muted); margin-top: 1.6rem; }
.mk-tlink { color: var(--ink); text-decoration: none; font-weight: 600; }
.mk-tlink:hover { color: var(--amber-deep); text-decoration: underline; }

/* Comment on choisit : 4 critères */
.mk-crit { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.9rem;
  margin: clamp(2.4rem, 6vw, 3.4rem) 0 0; }
.mk-crit-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem;
  background: var(--card); border-top: 2px solid var(--amber); }
.mk-crit-h { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.mk-crit-p { color: var(--ink-2); font-size: 0.88rem; line-height: 1.5; margin: 0.45rem 0 0; }

.mk-see-inline { color: var(--ink-2); font-size: 0.9rem; margin: 1.4rem 0 0; }
.mk-see-inline a { color: var(--amber-deep); font-weight: 600; }

/* Frise patrimoine */
.mk-tl { list-style: none; margin: clamp(1.4rem,4vw,2rem) 0 0; padding: 0; border-left: 2px solid var(--line); }
.mk-tl-item { position: relative; display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.9rem;
  padding: 0 0 1.5rem 1.4rem; }
.mk-tl-item::before { content: ""; position: absolute; left: -7px; top: 0.35rem; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber); border: 2px solid var(--paper); }
.mk-tl-item:last-child { padding-bottom: 0; }
.mk-tl-year { font-family: var(--font-mono); font-weight: 700; font-size: 0.86rem; color: var(--amber-deep);
  letter-spacing: 0.02em; padding-top: 0.15rem; }
.mk-tl-who { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.mk-tl-who a { color: var(--ink); text-decoration: none; }
.mk-tl-who a:hover { color: var(--amber-deep); text-decoration: underline; }
.mk-tl-sep { color: var(--muted); font-weight: 400; }
.mk-tl-what { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.5; max-width: 60ch; }
@media (max-width: 560px) {
  .mk-tl-item { grid-template-columns: 1fr; gap: 0.15rem; }
}

/* Outil aliments keto */
.keto-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: clamp(1.4rem,4vw,2rem) 0 1rem; }
.keto-pill { font-family: var(--font-mono); font-size: 0.74rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--line); }
.keto-pill b { font-weight: 700; }
.keto-pill.keto-v { background: color-mix(in srgb, #3f9b52 15%, var(--paper)); border-color: color-mix(in srgb, #3f9b52 40%, var(--line)); color: #2f7a3f; }
.keto-pill.keto-m { background: color-mix(in srgb, var(--amber) 15%, var(--paper)); border-color: color-mix(in srgb, var(--amber) 45%, var(--line)); color: var(--amber-deep); }
.keto-pill.keto-r { background: color-mix(in srgb, #c0492f 13%, var(--paper)); border-color: color-mix(in srgb, #c0492f 38%, var(--line)); color: #a63c26; }
.keto-legend-note { font-size: 0.8rem; color: var(--muted); }

.keto-tool { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; margin: 0 0 1rem; }
.keto-search { flex: 1 1 16rem; padding: 0.7rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); font-size: 0.95rem; font-family: inherit; }
.keto-search:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.keto-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.keto-fbtn { font-family: var(--font-mono); font-size: 0.74rem; padding: 0.5rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); cursor: pointer; }
.keto-fbtn:hover { border-color: var(--amber); }
.keto-fbtn.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.keto-table td, .keto-table th { padding: 0.6rem 0.8rem; }
.keto-table .keto-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.keto-table thead th.keto-num { text-align: right; }
.keto-cat { color: var(--muted); font-size: 0.85rem; }
.keto-dot { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 999px; white-space: nowrap; }
.keto-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.keto-dot.keto-v { color: #2f7a3f; background: color-mix(in srgb, #3f9b52 13%, transparent); }
.keto-dot.keto-v::before { background: #3f9b52; }
.keto-dot.keto-m { color: var(--amber-deep); background: var(--amber-soft); }
.keto-dot.keto-m::before { background: var(--amber); }
.keto-dot.keto-r { color: #a63c26; background: color-mix(in srgb, #c0492f 11%, transparent); }
.keto-dot.keto-r::before { background: #c0492f; }
.keto-empty { text-align: center; color: var(--muted); padding: 1.4rem 0; }

.keto-qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.8rem; margin-top: 1.1rem; }
.keto-qcard { border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--radius); padding: 0.9rem 1rem; background: var(--card); }
.keto-qcard.keto-v { border-left-color: #3f9b52; }
.keto-qcard.keto-m { border-left-color: var(--amber); }
.keto-qcard.keto-r { border-left-color: #c0492f; }
.keto-qq { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.keto-qa { margin: 0.35rem 0 0; color: var(--ink); font-size: 0.95rem; }
.keto-qn { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); font-weight: 400; }
.keto-qw { margin: 0.2rem 0 0; color: var(--ink-2); font-size: 0.85rem; }

.keto-disclaimer { margin: clamp(1.8rem,4vw,2.4rem) 0 0; font-size: 0.82rem; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1.1rem; max-width: 70ch; }
.keto-disclaimer b { color: var(--ink-2); }
.keto-menu td a { color: var(--amber-deep); font-weight: 600; text-decoration: none; }
.keto-menu td a:hover { text-decoration: underline; }
.keto-menu tbody th { white-space: nowrap; }

/* Hub keto : CTA vers l'outil */
.keto-hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  margin: clamp(1.6rem,4vw,2.4rem) 0 0; padding: clamp(1.3rem,3vw,1.8rem); background: var(--amber-soft);
  border: 1px solid var(--amber); border-radius: var(--radius-lg); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.keto-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -18px var(--amber); }
.keto-hero-cta-txt { flex: 1 1 22rem; }
.keto-hero-cta-txt .bp-h2 { margin: 0.3rem 0 0; }
.keto-hero-cta-txt p { color: var(--ink-2); margin: 0.6rem 0 0; max-width: 54ch; }
.keto-hero-cta-txt p b { color: var(--ink); }
.keto-hero-go { display: inline-block; margin-top: 0.9rem; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; color: var(--amber-deep); }
.keto-hero-cta-mini { display: flex; flex-direction: column; gap: 0.4rem; }

@media (max-width: 640px) {
  .bp-lead, .bp-france { grid-template-columns: 1fr; }
  .bp-france-media { min-height: 170px; }
  .bp-row { grid-template-columns: 52px 1fr; grid-template-areas: "m main" "m right"; row-gap: 0.4rem; }
  .bp-row-media { grid-area: m; width: 52px; height: 52px; }
  .bp-row-main { grid-area: main; }
  .bp-row-right { grid-area: right; flex-direction: row; align-items: center; gap: 0.9rem; }
}

/* =====================================================================
   Comparateur 2 marques (/guides/le-creuset-ou-staub) + guide matière
   ===================================================================== */
.cmp2 .sub { color: var(--muted); margin: 0.6rem 0 0; max-width: 52ch; font-size: var(--step-0); }
.cmp2-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: clamp(1.6rem,4vw,2.4rem) 0 0; }
.cmp2-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cmp2-brand { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.cmp2-brand a { color: var(--amber-deep); text-decoration: none; }
.cmp2-brand a:hover { text-decoration: underline; }
.cmp2-media { display: block; background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 16/11; overflow: hidden; }
.cmp2-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.cmp2-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.15; }
.cmp2-rate { color: var(--star); font-weight: 700; font-size: 0.92rem; }
.cmp2-rate small { color: var(--muted); font-weight: 400; font-family: var(--font-mono); font-size: 0.7rem; }
.cmp2-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: auto; flex-wrap: wrap; }
.cmp2-tablewrap { overflow-x: auto; margin: clamp(2rem,5vw,3rem) 0 0; }
.cmp2-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cmp2-table th, .cmp2-table td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp2-table thead th { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.cmp2-table tbody th { font-weight: 600; color: var(--ink); width: 22%; min-width: 8rem; }
.cmp2-table td { color: var(--ink-2); }
.cmp2-verdict { margin: clamp(2.2rem,5vw,3rem) 0 0; background: var(--amber-soft); border: 1px solid var(--amber); border-radius: var(--radius-lg); padding: clamp(1.3rem,3vw,1.8rem); }
.cmp2-verdict p { margin: 0.6rem 0 0; color: var(--ink-2); max-width: 62ch; }
.cmp2-verdict b { color: var(--ink); }
@media (max-width: 620px) { .cmp2-duo { grid-template-columns: 1fr; } .cmp2-table tbody th { width: 40%; } }

/* Guide matière */
.matg .sub { color: var(--muted); margin: 0.6rem 0 0; max-width: 54ch; font-size: var(--step-0); }
.matg-sec { padding: clamp(2.2rem,5vw,3rem) 0 0; }
.matg-p { color: var(--ink-2); margin: 0.6rem 0 0; max-width: 62ch; font-size: 0.96rem; }
.matg-best { color: var(--ink-2); margin: 0.7rem 0 0; font-size: 0.92rem; }
.matg-best b { color: var(--ink); }
.matg-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.matg-brands-lab { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.matg-brand { display: inline-flex; align-items: baseline; gap: 0.35rem; padding: 0.45rem 0.85rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); text-decoration: none; color: var(--ink-2); font-size: 0.85rem; transition: border-color 0.15s var(--ease); }
.matg-brand:hover { border-color: var(--amber); }
.matg-brand b { color: var(--ink); font-weight: 600; }
.matg-brand span { color: var(--muted); font-size: 0.78rem; }
.matg-cmp { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; color: var(--amber-deep); text-decoration: none; }
.matg-cmp:hover { text-decoration: underline; }

/* À lire aussi (fiches marque) */
.bp-seealso { padding: clamp(2.4rem,6vw,3.4rem) 0 0; }
.bp-seealso-links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
.bp-seealso-links a { display: inline-flex; padding: 0.7rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); color: var(--ink); font-weight: 600; text-decoration: none; font-size: 0.92rem; transition: border-color 0.15s var(--ease), color 0.15s var(--ease); }
.bp-seealso-links a:hover { border-color: var(--amber); color: var(--amber-deep); }
