/**
 * ======================================================
 * RECIPE-DETAIL.CSS — Page détail d'une recette (v2)
 * ======================================================
 *
 * Dépend de : base.css (variables :root globales)
 * Page ciblée : /recipes-movie/details/:id
 */

/* Variables locales non présentes dans base.css */
:root {
  --gold-card-gradient: linear-gradient(145deg,#8b6914 0%,#b8882a 22%,#c4a052 42%,#d4a843 55%,#f2c84b 68%,#d4a843 80%,#b8882a 100%);
}

/**
 * Sections :
 *   0.  FULL-BLEED BODY
 *   1.  KEYFRAMES
 *   2.  BREADCRUMB
 *   3.  RECIPE HERO
 *   4.  INFO BAR (dans le hero)
 *   5.  MAIN LAYOUT
 *   6.  SECTION HEADER
 *   7.  CONTEXT SECTION
 *   8.  STEPS / PRÉPARATION
 *   9.  GALERIE PHOTOS
 *  10.  NAV ACTIONS
 *  11.  AVIS SECTION + FORMULAIRE
 *  12.  SIDEBAR (ingrédients, note, film)
 *  13.  LIGHTBOX
 *  14.  RESPONSIVE
 */

/* ====================================================== */
/* 0. FULL-BLEED BODY                                     */
/* ====================================================== */

body.recipe-page {
  max-width: unset;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

body.recipe-page main {
  padding-top: 0;
}

/* ====================================================== */
/* 1. KEYFRAMES                                           */
/* ====================================================== */

@keyframes fadeUp   { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn   { from{opacity:0} to{opacity:1} }
@keyframes shimmerGold { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:200% 50%} }
@keyframes ctaShimmer  { 0%{transform:translateX(-120%) skewX(-18deg)} 100%{transform:translateX(340%) skewX(-18deg)} }
@keyframes barGrow     { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes cardReveal  { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse-glow  { 0%,100%{box-shadow:0 0 0 0 rgba(212,168,67,.0)} 50%{box-shadow:0 0 20px 4px rgba(212,168,67,.18)} }
@keyframes heroZoom    { from{transform:scale(1.18) translateY(-6%)} to{transform:scale(1.06) translateY(6%)} }
@keyframes ingReveal   { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ====================================================== */
/* 2. BREADCRUMB                                          */
/* ====================================================== */

.bc-bar {
  padding-top: var(--nav-h);
  background: rgba(7,14,24,.55);
  border-bottom: 1px solid rgba(65,90,119,.15);
}
.bc {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 2rem; flex-wrap: wrap;
}
.bc a {
  font-size: .6rem; font-weight: 300; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(232,232,232,.3);
  transition: color .2s;
}
.bc a:hover { color: var(--or-titre); }
.bc-sep { color: rgba(196,160,82,.2); font-size: .7rem; }
.bc-cur {
  font-size: .6rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(196,160,82,.6);
  font-family: var(--f-title);
}

/* ====================================================== */
/* 3. RECIPE HERO                                         */
/* ====================================================== */

.recipe-hero {
  position: relative; width: 100%;
  overflow: hidden; background: #070f1c;
  padding-bottom: 0;
}
.recipe-hero__bg {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center 30%;
  filter: brightness(.22) saturate(.45) sepia(.35);
  transform: scale(1.08);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
.recipe-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,rgba(6,13,24,.98) 0%,rgba(6,13,24,.84) 38%,rgba(6,13,24,.25) 66%,transparent 100%),
    linear-gradient(to top,rgba(6,13,24,.98) 0%,rgba(6,13,24,.2) 32%,transparent 60%);
}
.recipe-hero__scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.035) 2px,rgba(0,0,0,.035) 4px);
}
.recipe-hero__vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse 110% 120% at 50% 108%,var(--bleu-nuit) 0%,rgba(13,27,42,.5) 38%,transparent 62%);
}
.recipe-hero__content {
  position: relative; z-index: 5;
  max-width: var(--max-w); margin: 0 auto;
  padding: 64px 2.5rem 0;
  display: grid; grid-template-columns: 1fr 400px; gap: 60px;
  align-items: center; min-height: 460px;
}
/* Bandeau auteur + favori — positionné en haut à droite du hero */
.hero-banner-row {
  position: absolute; top: 1.6rem; right: 2rem; z-index: 10;
  display: flex; align-items: center; gap: 8px;
}

/* Bouton favori dans rh-actions — cercle rouge, spécificité haute vs base.css */
.rh-actions .btn-fav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(194,48,24,.22) !important;
  border: 1px solid rgba(220,80,60,.5) !important;
  color: #fff !important;
  cursor: pointer; flex-shrink: 0;
  transition: background .22s ease, transform .18s ease;
}
.rh-actions .btn-fav svg {
  display: block !important;
  width: 20px !important; height: 20px !important;
  stroke: #ffffff !important; fill: none !important;
  transition: fill .2s ease;
}
.rh-actions .btn-fav:hover { transform: scale(1.08) !important; }
.rh-actions .btn-fav:hover,
.rh-actions .btn-fav[data-is-favorite="true"] {
  background: rgba(194,48,24,.88) !important;
  border-color: var(--rouge-cta) !important;
}
.rh-actions .btn-fav:hover svg,
.rh-actions .btn-fav[data-is-favorite="true"] svg { fill: #ffffff !important; }
.rh-actions .btn-fav.animating { animation: favPulse .4s ease; }
@keyframes favPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}

/* Paragraphes supplémentaires du contexte */
.rh-ctx-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rh-ctx-lead.is-open { display: block; overflow: visible; }
.rh-ctx-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.rh-ctx-extra .rh-ctx-text { -webkit-line-clamp: unset; display: block; overflow: visible; }

/* Colonne info gauche */
.rh-info { display: flex; flex-direction: column; gap: 16px; }
.rh-badge-film {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 5px 14px 5px 10px; border-radius: 7px;
  background: rgba(8,18,32,.9); border: 1px solid rgba(196,160,82,.28);
  font-family: var(--f-title); font-size: .58rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--or-titre);
  animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .1s both;
}
.rh-badge-film svg { width:.75rem; height:.75rem; color:rgba(196,160,82,.6); flex-shrink:0; }
.rh-eyebrow {
  font-family: var(--f-title); font-size: .6rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(196,160,82,.48);
  display: flex; align-items: center; gap: 10px;
  animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .2s both;
}
.rh-eyebrow::before {
  content: ""; display: block; width: 30px; height: 1px;
  background: linear-gradient(90deg,transparent,var(--or-titre)); flex-shrink: 0;
}
.rh-title {
  font-family: var(--f-editorial);
  font-style: italic; font-weight: 700;
  font-size: clamp(2rem,4.5vw,3.2rem); line-height: 1.12;
  color: var(--dore-clair);
  text-shadow: 0 4px 36px rgba(0,0,0,.55);
  animation: fadeUp .55s cubic-bezier(.22,1,.36,1) .3s both;
}
.rh-tags {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .4s both;
}
/* .rh-tag, .rh-tag--* supprimés → .tag .tag--* depuis base.css */
/* Taille uniforme pour tous les tags hero — padding et hauteur cohérents */
.rh-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.42rem 0.85rem;
  min-height: 28px;
}
.rh-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 2px;
  animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .5s both;
}

/* Poster droit — carrousel */
.rh-poster-wrap {
  position: relative;
  animation: fadeIn .7s cubic-bezier(.22,1,.36,1) .35s both;
  padding-bottom: 20px; /* espace pour la stat badge qui déborde */
}
.rh-poster {
  width: 100%; border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.8), 0 0 0 1px rgba(196,160,82,.12), 0 0 60px rgba(196,160,82,.05);
  aspect-ratio: 3/2;
}
.rh-poster__film {
  position: absolute; left: 0; right: 0; height: 22px;
  background: rgba(4,9,16,.96);
  display: flex; align-items: center; justify-content: space-around; z-index: 4;
}
.rh-poster__film--t { top: 0; }
.rh-poster__film--b { bottom: 0; }
.rh-perf {
  width: 11px; height: 9px; border-radius: 2px;
  background: rgba(196,160,82,.08); border: 1px solid rgba(196,160,82,.06);
}

/* Track carrousel */
.rh-poster__track {
  display: flex; width: 100%; height: 100%;
  overflow-x: scroll; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rh-poster__track::-webkit-scrollbar { display: none; }

.rh-poster__img-btn {
  flex-shrink: 0; width: 100%; height: 100%;
  scroll-snap-align: start;
  border: none; background: none; padding: 0; cursor: zoom-in;
  display: block;
}
.rh-poster__img-btn img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center; filter: saturate(.85) brightness(.92);
  display: block; transition: filter .5s ease, transform .6s ease;
}
.rh-poster__img-btn:hover img { filter: saturate(1) brightness(1); transform: scale(1.02); }

/* Flèches de navigation */
.rh-poster__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(4,9,16,.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8); font-size: 1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease; opacity: 0; padding: 0;
}
.rh-poster:hover .rh-poster__nav { opacity: 1; }
.rh-poster__nav--prev { left: 10px; }
.rh-poster__nav--next { right: 10px; }
.rh-poster__nav:hover { background: rgba(196,160,82,.28); border-color: rgba(196,160,82,.5); color: var(--dore-clair); }
.rh-poster__nav:disabled { opacity: 0 !important; pointer-events: none; }

/* Compteur photo */
.rh-poster__counter {
  position: absolute; top: 28px; right: 10px; z-index: 5;
  font-family: var(--f-display); font-size: .62rem; letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  background: rgba(4,9,16,.58); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 2px 7px; pointer-events: none;
}

/* Dots navigation */
.rh-poster__dots {
  position: absolute; bottom: 27px; left: 50%; transform: translateX(-50%); z-index: 5;
  display: flex; gap: 5px; align-items: center;
}
.rh-poster__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.3); transition: all .3s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}
.rh-poster__dot.is-active {
  background: var(--or-titre); width: 14px; border-radius: 3px;
}

/* Stat dorée — Gold Ticket */
/* Stat dorée — style Golden Ticket */
.rh-poster__stat {
  position: absolute; bottom: -18px; left: -18px; z-index: 10;
  border-radius: 14px; overflow: hidden;
  background: var(--gold-card-gradient);
  box-shadow: 0 16px 48px rgba(184,136,42,.55), 0 4px 16px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s;
  cursor: default;
}
.rh-poster__stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(184,136,42,.7), 0 6px 22px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.32);
}
/* Texture bruit */
.rh-poster__stat::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}
/* Shimmer hover */
.rh-poster__stat::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  transform: translateX(-120%) skewX(-18deg);
}
.rh-poster__stat:hover::after { animation: ctaShimmer .7s cubic-bezier(.22,1,.36,1) forwards; }

.rh-poster__stat-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 12px 8px 8px;
}
.rh-ps-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(20,10,0,.14);
  border: 1.5px solid rgba(20,10,0,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(20,10,0,.68);
}
.rh-ps-text { display: flex; flex-direction: column; gap: 1px; }
.rh-ps-num {
  font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .05em;
  color: var(--bleu-nuit); line-height: 1;
}
.rh-ps-label {
  font-family: var(--f-title); font-size: .44rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(20,10,0,.4);
}
/* Filigrane décoratif */
.rh-ps-watermark {
  position: absolute; bottom: -3px; right: 7px; z-index: 0;
  font-family: var(--f-display); font-size: 2.2rem; letter-spacing: .06em; line-height: 1;
  color: rgba(20,10,0,.07); pointer-events: none; user-select: none;
}

/* ====================================================== */
/* 4. INFO BAR — bande légère dans le bas du hero         */
/* ====================================================== */

/* Aperçu du contexte dans le hero */
.rh-context-preview {
  animation: fadeUp .5s cubic-bezier(.22,1,.36,1) .38s both;
}
.rh-ctx-label {
  font-family: var(--f-title); font-size: .56rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(196,160,82,.5);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.rh-ctx-label::before {
  content: ""; display: block; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,160,82,.4));
}
.rh-ctx-text {
  font-size: .86rem; font-weight: 300; line-height: 1.7;
  color: rgba(232,232,232,.65);
  font-style: italic;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.22,1,.36,1);
}
.rh-ctx-text.is-open {
  display: block; overflow: visible;
}
.rh-ctx-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px;
  font-family: var(--f-title); font-size: .54rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(196,160,82,.6);
  background: none; border: none; cursor: pointer; padding: 0;
  transition: color .2s;
}
.rh-ctx-toggle:hover { color: var(--or-titre); }
.rh-ctx-toggle svg { transition: transform .3s ease; }
.rh-ctx-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.rh-ctx-toggle[aria-expanded="true"] .rh-ctx-more { display: none; }
.rh-ctx-toggle[aria-expanded="false"] .rh-ctx-less { display: none; }
.rd-hero-footer {
  position: relative; z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(20, 34, 52, 0)    0%,
    rgba(20, 34, 52, 0.12) 20%,
    rgba(20, 34, 52, 0.42) 50%,
    rgba(20, 34, 52, 0.78) 75%,
    var(--bleu-nuit)       100%
  );
  height: 70px;
  margin-top: -8px;
}

/* ====================================================== */
/* 5. MAIN LAYOUT                                         */
/* ====================================================== */

.recipe-main {
  max-width: var(--max-w); margin: 0 auto;
  padding: 32px 2.5rem 100px;
}
.recipe-main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  align-items: start;
}
.recipe-main-col { display: flex; flex-direction: column; gap: 0; }

/* ====================================================== */
/* 6. SECTION HEADER                                      */
/* ====================================================== */

.rd-sec-h {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 28px; position: relative;
  padding-left: 16px;
  border-left: 2px solid rgba(196,160,82,.2);
}
.rd-sec-h__eye {
  font-family: var(--f-title); font-size: .56rem; font-weight: 700;
  letter-spacing: .32em; text-transform: uppercase;
  color: rgba(196,160,82,.4);
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.rd-sec-h__eye::before {
  content: "◆";
  font-size: .3rem; line-height: 1;
  color: rgba(196,160,82,.42);
  width: auto; height: auto;
  background: none;
  flex-shrink: 0; letter-spacing: 3px;
}
.rd-sec-h__title {
  font-family: var(--f-display); font-size: 2.6rem;
  letter-spacing: .14em; color: var(--argent);
  margin: 0; line-height: 1;
}
.rd-sec-h__title span { color: var(--or-titre); }
.rd-sec-h__rule {
  width: 100%; height: 1px; margin-top: 14px;
  background: linear-gradient(90deg, rgba(196,160,82,.25) 0%, rgba(196,160,82,.06) 40%, transparent 100%);
}
/* Badge auteur dans la sidebar — pleine largeur */
.rd-author-badge.rd-author-badge--sidebar {
  width: 100%;
  border-radius: 14px;
  background: rgba(8,18,32,.6);
  border-color: rgba(196,160,82,.14);
  box-shadow: none;
  padding: 12px 14px 12px 12px;
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-avatar {
  width: 52px; height: 52px;
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-label {
  font-size: .62rem;
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-name {
  font-size: .82rem;
}
.rd-author-badge.rd-author-badge--sidebar:hover {
  border-color: rgba(196,160,82,.35);
  background: rgba(8,18,32,.85);
}

/* ====================================================== */
/* 7. CONTEXT SECTION                                     */
/* ====================================================== */

.rd-context-section { margin-bottom: 52px; }

.rd-context {
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(65,90,119,.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  background: var(--surface-card);
  position: relative;
  display: flex; flex-direction: column;
}
.rd-context::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--or-200), rgba(196,160,82,.1));
  opacity: .45;
}
.rd-context::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg,transparent 0%,rgba(196,160,82,.12) 15%,var(--or-200) 38%,var(--or-titre) 50%,var(--or-200) 62%,rgba(196,160,82,.12) 85%,transparent 100%);
  z-index: 1;
}
.rd-context__aside { display: flex; flex-direction: column; padding: 28px 32px 28px 40px; gap: 14px; }

.rd-author-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  border-radius: 24px; background: rgba(8,18,32,.9); backdrop-filter: blur(12px);
  border: 1px solid rgba(196,160,82,.18); box-shadow: 0 4px 18px rgba(0,0,0,.3);
  text-decoration: none; transition: all .25s ease;
  width: fit-content;
}
.rd-author-badge:hover { border-color: rgba(196,160,82,.5); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.rd-author-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(196,160,82,.35); }
.rd-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rd-author-info { display: flex; flex-direction: column; gap: 1px; }
.rd-author-label { font-size: .56rem; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: rgba(196,160,82,.36); }
.rd-author-name { font-family: var(--f-title); font-size: .62rem; font-weight: 600; color: var(--argent); display: flex; align-items: center; gap: 6px; }
.rd-author-official { font-size: .52rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--or-titre); background: rgba(196,160,82,.1); border: 1px solid rgba(196,160,82,.22); border-radius: 3px; padding: 1px 5px; }
.rd-author-arrow { color: rgba(196,160,82,.35); font-size: .85rem; transition: transform .2s, color .2s; margin-left: 2px; }
.rd-author-badge:hover .rd-author-arrow { transform: translateX(3px); color: var(--or-titre); }

.rd-context__title {
  font-family: var(--f-editorial); font-style: italic; font-weight: 700;
  font-size: 1.18rem; color: var(--dore-clair); line-height: 1.35;
}
.rd-context__text {
  font-size: .84rem; font-weight: 300; line-height: 1.82;
  color: rgba(232,232,232,.5);
}
.rd-context__text--lead {
  color: rgba(232,232,232,.65); font-weight: 400;
  border-left: 2px solid rgba(196,160,82,.25); padding-left: 14px;
  font-style: italic;
}

/* ====================================================== */
/* 8. STEPS / PRÉPARATION                                 */
/* ====================================================== */

.rd-steps-section {
  display: flex; flex-direction: column;
  margin-bottom: 52px;
}
.rd-steps-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.rd-steps-count {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(196,160,82,.5); align-self: flex-start;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(196,160,82,.06);
  border: 1px solid rgba(196,160,82,.12);
}
.rd-steps-count svg { color: rgba(196,160,82,.5); }
.rd-steps-progress {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-title); font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(77,186,136,.55); align-self: flex-end;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(42,122,80,.08);
  border: 1px solid rgba(42,122,80,.18);
  transition: all .3s ease;
}

.rd-steps-card {
  position: relative;
  background: linear-gradient(155deg, #0e1d2e 0%, #111f30 60%, #0c1926 100%);
  border: 1px solid rgba(65,90,119,.2);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 52px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
}
.rd-steps-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, rgba(196,160,82,.12) 12%, var(--or-200) 35%, var(--or-titre) 50%, var(--or-200) 65%, rgba(196,160,82,.12) 88%, transparent);
  z-index: 1;
}
.rd-steps-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-gradient-h); opacity: .45;
}
.rd-steps-list {
  display: flex; flex-direction: column; gap: 0;
  position: relative; padding: 8px 0;
}
.rd-steps-list::before {
  content: ""; position: absolute; left: 32px; top: 56px; bottom: 56px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(196,160,82,.28) 15%, rgba(196,160,82,.16) 75%, transparent);
  pointer-events: none;
}
.rd-step-item {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 0; position: relative;
  padding: 0;
  transition: background .22s;
  cursor: pointer;
}
.rd-step-item:not(:last-child) {
  border-bottom: 1px solid rgba(65,90,119,.1);
}
.rd-step-item:hover { background: rgba(196,160,82,.03); }
.rd-step-item.is-done .rd-step-num {
  background: rgba(196,160,82,.12);
  box-shadow: none;
  color: rgba(196,160,82,.45);
}
.rd-step-item.is-done .rd-step-title { color: rgba(196,160,82,.45); text-decoration: line-through; text-decoration-color: rgba(196,160,82,.2); }
.rd-step-item.is-done .rd-step-text  { color: rgba(232,232,232,.28); }

.rd-step-num-wrap {
  display: flex; align-items: flex-start; justify-content: center;
  padding: 16px 0 16px 12px;
  flex-shrink: 0; z-index: 2;
}
/* Pill dorée pour le numéro d'étape */
.rd-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 11px; border-radius: 20px;
  background: var(--gold-card-gradient);
  color: #18100a;
  font-family: var(--f-display); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(196,160,82,.3), inset 0 1px 0 rgba(255,255,255,.18);
  transition: all .3s cubic-bezier(.22,1,.36,1); flex-shrink: 0;
  white-space: nowrap;
}
.rd-step-item:hover .rd-step-num {
  box-shadow: 0 4px 18px rgba(196,160,82,.42);
  transform: scale(1.05);
}

.rd-step-body {
  padding: 14px 24px 14px 16px;
  transition: all .22s;
}
.rd-step-title {
  font-family: var(--f-title); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-titre); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: color .22s;
}
.rd-step-title::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(196,160,82,.2), transparent);
}
.rd-step-text {
  font-size: .88rem; font-weight: 300; line-height: 1.85;
  color: rgba(232,232,232,.72);
  transition: color .22s;
}
/* Normalisation : tous les enfants héritent de la même taille de base */
.rd-step-text p, .rd-step-text li, .rd-step-text span,
.rd-step-text em, .rd-step-text i, .rd-step-text strong, .rd-step-text b {
  font-size: inherit;
}
/* Formatage HTML dans les étapes */
.rd-step-text strong, .rd-step-text b { font-weight: 700; color: rgba(232,232,232,.92); }
.rd-step-text em, .rd-step-text i { font-style: italic; color: rgba(232,232,232,.8); }
.rd-step-text ul, .rd-step-text ol {
  margin: 6px 0 4px 18px; display: flex; flex-direction: column; gap: 4px;
}
.rd-step-text ul { list-style: disc; }
.rd-step-text ol { list-style: decimal; }
.rd-step-text li { line-height: 1.7; }
/* Formatage HTML dans les ingrédients */
.rd-ing-text strong, .rd-ing-text b { font-weight: 600; color: rgba(255,232,168,.95); }
.rd-ing-text em, .rd-ing-text i { font-style: italic; }
.rd-ing-text ul, .rd-ing-text ol {
  margin: 3px 0 2px 14px; display: flex; flex-direction: column; gap: 2px;
}
.rd-ing-text ul { list-style: disc; }
.rd-ing-text ol { list-style: decimal; }

/* Titres de groupe ingrédients (ex : "Pour la pâte sablée") */
.rd-ing-group-hd { padding: 14px 0 4px; }
.rd-ing-group-hd h3.rd-ing-group-title {
  font-family: var(--f-title, 'Cinzel', serif);
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--or-titre, #C4A052);
  display: flex; align-items: center; gap: 8px;
}
.rd-ing-group-hd h3.rd-ing-group-title::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(196,160,82,.3), transparent);
}
.rd-ing-group-hd:first-child { padding-top: 0; }
/* Bouton check intégré dans le titre */
.rd-step-check {
  width: 20px; height: 20px; border-radius: 5px;
  border: 1.5px solid rgba(196,160,82,.32);
  background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s ease;
  color: transparent; margin-left: auto;
}
.rd-step-check:hover { border-color: var(--or-titre); background: rgba(196,160,82,.08); }
.rd-step-item.is-done .rd-step-check {
  background: var(--gold-card-gradient); border-color: transparent;
  color: #18100a; box-shadow: 0 2px 8px rgba(212,168,67,.3);
}

/* ====================================================== */
/* 9. GALERIE PHOTOS                                      */
/* ====================================================== */

.rd-gallery-section { margin-bottom: 52px; }
.rd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
/* 1 photo : grille mono-colonne, aspect cinéma */
.rd-gallery--1 { grid-template-columns: 1fr; }
.rd-gallery--1 .rd-gallery__main { aspect-ratio: 16/9; }
/* 2 photos : main + secondaire pleine largeur */
.rd-gallery--2 .rd-gallery__secondary { grid-column: 1 / -1; }
/* 3 photos : layout par défaut (main pleine largeur, secondaire + détail côte à côte) */

.rd-gallery__main {
  grid-column: 1 / -1;
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/2;
  background: rgba(8,18,30,.8);
  border: 1px solid rgba(65,90,119,.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  cursor: zoom-in;
}
.rd-gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .6s ease, filter .4s ease;
  filter: brightness(.9) saturate(.88);
}
.rd-gallery__main:hover img { transform: scale(1.03); filter: brightness(1) saturate(1); }

.rd-gallery__secondary,
.rd-gallery__detail {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3/2;
  background: rgba(8,18,30,.8);
  border: 1px solid rgba(65,90,119,.15);
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  cursor: zoom-in;
}
.rd-gallery__secondary img,
.rd-gallery__detail img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .55s ease, filter .4s ease;
  filter: brightness(.82) saturate(.72);
}
.rd-gallery__secondary:hover img,
.rd-gallery__detail:hover img { transform: scale(1.05); filter: brightness(.95) saturate(1); }

.rd-gallery__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(5,12,22,.92) 0%, rgba(5,12,22,.35) 60%, transparent 100%);
  display: flex; align-items: flex-end; justify-content: space-between;
  pointer-events: none; transition: opacity .25s;
}
.rd-gallery__label-text { display: flex; flex-direction: column; gap: 1px; }
.rd-gallery__label-num {
  font-family: var(--f-display); font-size: .85rem; letter-spacing: .2em;
  color: var(--or-titre); line-height: 1;
}
.rd-gallery__label-name {
  font-family: var(--f-title); font-size: .58rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(232,232,232,.6);
}
.rd-gallery__zoom {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(8,18,32,.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(232,232,232,.65); pointer-events: auto;
  cursor: zoom-in; transition: all .2s ease; flex-shrink: 0;
}
.rd-gallery__zoom:hover { background: rgba(196,160,82,.3); border-color: var(--or-titre); color: var(--dore-clair); }

.rd-gallery__req {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 9px; border-radius: 5px;
  font-family: var(--f-title); font-size: .5rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(194,48,24,.18); border: 1px solid rgba(194,48,24,.35); color: #e07060;
}
.rd-gallery__hint {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: .6rem; color: rgba(232,232,232,.22); letter-spacing: .08em;
}
.rd-gallery__hint::before {
  content: ""; width: 16px; height: 1px;
  background: rgba(196,160,82,.25); flex-shrink: 0;
}

/* ====================================================== */
/* 10. NAV ACTIONS                                        */
/* ====================================================== */

.rd-nav-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 28px 0;
  margin-bottom: 52px;
  position: relative;
}
.rd-nav-actions::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,160,82,.22) 25%, rgba(196,160,82,.35) 50%, rgba(196,160,82,.22) 75%, transparent);
}
.rd-nav-actions::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(65,90,119,.18) 30%, rgba(65,90,119,.28) 50%, rgba(65,90,119,.18) 70%, transparent);
}

/* ====================================================== */
/* 11. AVIS SECTION + FORMULAIRE                          */
/* ====================================================== */

/* Golden Ticket Banner */
.avis-banner {
  position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 32px;
  cursor: default;
  background: linear-gradient(145deg,#8b6914 0%,#b8882a 22%,#c4a052 42%,#d4a843 55%,#f2c84b 68%,#d4a843 80%,#b8882a 100%);
  box-shadow: 0 22px 64px rgba(184,136,42,.38), 0 4px 16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s;
}
.avis-banner:hover { transform: translateY(-3px); box-shadow: 0 34px 84px rgba(184,136,42,.52), 0 6px 22px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.32); }
.avis-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.avis-banner::after { content: "AVIS"; position: absolute; bottom: -8px; right: 14px; z-index: 0; font-family: var(--f-display); font-size: 8rem; letter-spacing: .04em; line-height: .9; color: rgba(20,14,0,.08); pointer-events: none; user-select: none; }
.avis-banner__tear { position: absolute; z-index: 3; pointer-events: none; top: 44%; left: 24px; right: 24px; height: 1px; background: repeating-linear-gradient(90deg,rgba(20,10,0,.2) 0,rgba(20,10,0,.2) 6px,transparent 6px,transparent 12px); }
.avis-banner__tear::before,.avis-banner__tear::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--bleu-nuit); box-shadow: inset 0 1px 3px rgba(0,0,0,.3); }
.avis-banner__tear::before { left: -24px; }
.avis-banner__tear::after  { right: -24px; }
.avis-banner__stamp { position: absolute; z-index: 4; top: 50%; right: 24px; transform: translateY(-50%) rotate(-12deg); pointer-events: none; }
.avis-banner__stamp-inner { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; border: 3px solid rgba(20,10,0,.22); box-shadow: 0 0 0 2px rgba(20,10,0,.08), inset 0 0 0 5px rgba(20,10,0,.04); font-family: var(--f-display); font-size: .58rem; letter-spacing: .18em; text-align: center; line-height: 1.3; color: rgba(20,10,0,.28); text-transform: uppercase; padding: 8px; }
.avis-banner__shimmer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; border-radius: 20px; }
.avis-banner__shimmer::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); transform: translateX(-120%) skewX(-18deg); }
.avis-banner:hover .avis-banner__shimmer::after { animation: ctaShimmer .8s cubic-bezier(.22,1,.36,1) forwards; }
.avis-banner__inner { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px; padding: 36px 130px 36px 46px; }
.avis-banner__reel { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; border: 2.5px solid rgba(20,10,0,.2); display: flex; align-items: center; justify-content: center; position: relative; background: rgba(20,10,0,.1); }
.avis-banner__reel::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1.5px solid rgba(20,10,0,.1); }
.avis-banner__reel-icon { font-size: 1.8rem; }
.avis-banner__text { flex: 1; min-width: 0; }
.avis-banner__eyebrow { display: flex; align-items: center; gap: 9px; font-family: var(--f-title); font-size: .58rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: rgba(20,10,0,.45); margin-bottom: 7px; }
.avis-banner__eyebrow::before { content: ""; display: block; width: 20px; height: 1px; background: rgba(20,10,0,.28); }
.avis-banner__title { font-family: var(--f-display); font-size: clamp(2rem,3.5vw,3.2rem); letter-spacing: .08em; line-height: .95; color: var(--bleu-nuit); margin-bottom: 7px; }
.avis-banner__sub { font-family: var(--f-editorial); font-style: italic; font-size: .87rem; color: rgba(20,10,0,.5); line-height: 1.6; margin-bottom: 16px; }
.avis-distrib { display: flex; flex-direction: column; gap: 5px; }
.distrib-row { display: grid; grid-template-columns: 50px 1fr 28px; align-items: center; gap: 10px; }
.distrib-label { font-family: var(--f-title); font-size: .58rem; font-weight: 600; letter-spacing: .06em; color: rgba(20,10,0,.48); text-align: right; display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.distrib-label .fs { color: rgba(20,10,0,.68); font-size: .62rem; }
.distrib-bar-track { height: 5px; border-radius: 3px; background: rgba(20,10,0,.13); overflow: hidden; }
.distrib-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,rgba(20,10,0,.35),rgba(20,10,0,.62)); transform-origin: left; animation: barGrow .8s cubic-bezier(.22,1,.36,1) both; }
.distrib-bar-fill.d1{animation-delay:.1s}.distrib-bar-fill.d2{animation-delay:.15s}.distrib-bar-fill.d3{animation-delay:.2s}.distrib-bar-fill.d4{animation-delay:.25s}.distrib-bar-fill.d5{animation-delay:.3s}
.distrib-count { font-family: var(--f-display); font-size: .68rem; letter-spacing: 1px; color: rgba(20,10,0,.4); text-align: right; }
.avis-banner__stats { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; text-align: center; padding: 12px 28px; border-left: 1px solid rgba(20,10,0,.13); border-right: 1px solid rgba(20,10,0,.13); }
.avis-stat { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.avis-stat__num { font-family: var(--f-display); font-size: 2.4rem; letter-spacing: .06em; color: var(--bleu-nuit); line-height: 1; }
.avis-stat__lbl { font-family: var(--f-title); font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(20,10,0,.42); }
.avis-stat-sep { width: 32px; height: 1px; background: rgba(20,10,0,.13); }
.avis-banner__note { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0 12px 28px; flex-shrink: 0; text-align: center; }
.global-stars { display: flex; gap: 3px; font-size: 1.3rem; }
.global-stars .s  { color: rgba(20,10,0,.72); }
.global-stars .sh { color: rgba(20,10,0,.38); }
.global-note { font-family: var(--f-display); font-size: 2.6rem; letter-spacing: .06em; color: var(--bleu-nuit); line-height: 1; }
.global-note__max { font-size: 1rem; color: rgba(20,10,0,.38); }
.global-note__lbl { font-family: var(--f-title); font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(20,10,0,.36); }

/* Grille avis */
.avis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.avis-card {
  position: relative;
  background: linear-gradient(160deg,#0f1e30 0%,#142234 100%);
  border: 1px solid rgba(65,90,119,.2);
  border-radius: 16px; padding: 24px 24px 20px 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 8px 30px rgba(0,2,12,.48), inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
  animation: cardReveal .5s cubic-bezier(.22,1,.36,1) both; overflow: hidden;
}
.avis-card:nth-child(2){animation-delay:.07s} .avis-card:nth-child(3){animation-delay:.14s}
.avis-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 1;
  background: linear-gradient(180deg,transparent 0%,rgba(196,160,82,.08) 15%,rgba(196,160,82,.55) 38%,rgba(196,160,82,.72) 50%,rgba(196,160,82,.55) 62%,rgba(196,160,82,.08) 85%,transparent 100%);
  border-radius: 16px 0 0 16px;
}
.avis-card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 100px; height: 100px;
  background: radial-gradient(circle at top right,rgba(196,160,82,.09) 0%,transparent 70%);
  pointer-events: none; transition: background .35s;
}
.avis-card:hover {
  border-color: rgba(196,160,82,.28);
  box-shadow: 0 20px 56px rgba(212,168,67,.18), 0 4px 14px rgba(0,0,0,.6);
  transform: translateY(-5px);
}
.avis-card:hover::after { background: radial-gradient(circle at top right,rgba(196,160,82,.22) 0%,transparent 70%); }

/* Card vedette 2 colonnes */
.avis-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  background: linear-gradient(155deg, rgba(20,14,4,.98) 0%, rgba(16,9,2,.96) 60%, rgba(14,8,1,.94) 100%);
  border-color: rgba(196,160,82,.32);
  box-shadow: 0 16px 56px rgba(212,168,67,.22), 0 4px 14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.04);
}
.avis-card--featured::before {
  background: linear-gradient(180deg,transparent 0%,rgba(196,160,82,.2) 12%,rgba(242,200,75,.78) 38%,rgba(255,224,133,.92) 50%,rgba(242,200,75,.78) 62%,rgba(196,160,82,.2) 88%,transparent 100%);
}
.avis-card--featured::after {
  background: radial-gradient(ellipse at top right,rgba(212,168,67,.18) 0%,rgba(196,160,82,.06) 40%,transparent 70%);
  width: 200px; height: 200px;
}
.avis-card--featured:hover { box-shadow: 0 28px 80px rgba(212,168,67,.34), 0 6px 22px rgba(0,0,0,.65); }

.avis-card:nth-child(2) {
  background: linear-gradient(160deg, #0f1e30 0%, #141624 60%, #120f1a 100%);
  border-color: rgba(107,79,160,.2);
}
.avis-card:nth-child(2)::before {
  background: linear-gradient(180deg,transparent 0%,rgba(107,79,160,.12) 15%,rgba(107,79,160,.6) 38%,rgba(155,126,208,.72) 50%,rgba(107,79,160,.6) 62%,rgba(107,79,160,.12) 85%,transparent 100%);
}
.avis-card:nth-child(2)::after { background: radial-gradient(circle at top right,rgba(107,79,160,.14) 0%,transparent 70%); }
.avis-card:nth-child(2):hover { border-color: rgba(107,79,160,.45); box-shadow: 0 20px 56px rgba(107,79,160,.18), 0 4px 14px rgba(0,0,0,.6); }
.avis-card:nth-child(2) .avis-stars .s { color: var(--dore-clair); filter: drop-shadow(0 0 4px rgba(212,168,67,.3)); }

.avis-card:nth-child(3) {
  background: linear-gradient(160deg, #111a1f 0%, #131d16 60%, #0d1810 100%);
  border-color: rgba(42,122,80,.22);
}
.avis-card:nth-child(3)::before {
  background: linear-gradient(180deg,transparent 0%,rgba(42,122,80,.12) 15%,rgba(42,122,80,.62) 38%,rgba(61,170,114,.72) 50%,rgba(42,122,80,.62) 62%,rgba(42,122,80,.12) 85%,transparent 100%);
}
.avis-card:nth-child(3)::after { background: radial-gradient(circle at top right,rgba(42,122,80,.14) 0%,transparent 70%); }
.avis-card:nth-child(3):hover { border-color: rgba(42,122,80,.45); box-shadow: 0 20px 56px rgba(42,122,80,.15), 0 4px 14px rgba(0,0,0,.6); }
.avis-card:nth-child(3) .avis-stars .s { color: var(--dore-clair); }
.avis-card:nth-child(3) .avis-stars .se { color: rgba(196,160,82,.2); }

.avis-card--featured .avis-card__left { display: flex; flex-direction: column; gap: 14px; }
.avis-card--featured .avis-card__right { display: flex; flex-direction: column; gap: 14px; }
.avis-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; position: relative; z-index: 2; }
.avis-card__user { display: flex; align-items: center; gap: 10px; }
.avis-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: rgba(196,160,82,.08); border: 1.5px solid rgba(196,160,82,.22); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 10px rgba(196,160,82,.08); color: rgba(196,160,82,.45); }
.avis-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avis-avatar--gold { border-color: var(--or-titre); box-shadow: 0 0 18px rgba(196,160,82,.28); }
.avis-user__name { font-family: var(--f-title); font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--argent); line-height: 1.2; }
.avis-user__level { font-size: .56rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(196,160,82,.5); margin-top: 1px; }
.avis-user__level--legend { color: #f7c948; }
.avis-featured-badge { padding: 4px 10px; border-radius: 5px; font-family: var(--f-title); font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(196,160,82,.12); border: 1px solid rgba(196,160,82,.38); color: var(--or-titre); white-space: nowrap; flex-shrink: 0; }
.avis-stars { display: flex; align-items: center; gap: 3px; font-size: .92rem; position: relative; z-index: 2; }
.avis-stars .s  { color: var(--dore-clair); text-shadow: 0 0 6px rgba(242,200,75,.35); }
.avis-stars .sh { color: var(--or-200); }
.avis-stars .se { color: rgba(196,160,82,.18); }
.avis-card__quote { position: relative; z-index: 2; flex: 1; }
.avis-quote-mark { font-family: var(--f-editorial); font-size: 4rem; line-height: .35; color: rgba(196,160,82,.14); display: block; margin-bottom: 8px; user-select: none; }
.avis-card--featured .avis-quote-mark { color: rgba(196,160,82,.28); }
.avis-card__text { font-family: var(--f-body); font-size: .82rem; font-weight: 300; line-height: 1.78; color: rgba(232,232,232,.68); }
.avis-card--featured .avis-card__text { color: rgba(232,232,232,.82); font-size: .86rem; }
.avis-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(65,90,119,.12); position: relative; z-index: 2; margin-top: auto; }
.avis-card--featured .avis-card__foot { border-top-color: rgba(196,160,82,.12); }
.avis-date { font-size: .58rem; font-weight: 300; color: rgba(232,232,232,.24); letter-spacing: .06em; }

.avis-card--featured .avis-context-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 8px; background: rgba(196,160,82,.07); border: 1px solid rgba(196,160,82,.18);
  font-family: var(--f-title); font-size: .56rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(196,160,82,.58); width: fit-content;
}
.avis-card--featured .avis-variant-note {
  font-size: .76rem; font-weight: 300; color: rgba(232,232,232,.38);
  font-style: italic; line-height: 1.6; padding: 12px 0;
  border-top: 1px solid rgba(196,160,82,.1);
}

.avis-loadmore { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 0 12px; margin-bottom: 32px; }
.load-bar { width: 100%; height: 1px; background: linear-gradient(90deg,transparent,rgba(196,160,82,.16) 20%,rgba(196,160,82,.28) 50%,rgba(196,160,82,.16) 80%,transparent); }
.load-info { font-size: .62rem; font-weight: 300; color: rgba(232,232,232,.2); letter-spacing: .1em; }

/* Formulaire avis */
.avis-form-block {
  position: relative;
  background: var(--surface-card);
  border: 1px solid rgba(65,90,119,.15);
  border-radius: 18px; padding: 0; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,2,12,.45);
}
.avis-form-block::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg,transparent 0%,rgba(196,160,82,.08) 15%,rgba(196,160,82,.52) 38%,rgba(196,160,82,.68) 50%,rgba(196,160,82,.52) 62%,rgba(196,160,82,.08) 85%,transparent 100%);
  border-radius: 18px 0 0 18px;
}
.avis-form-block::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,var(--or-200),var(--or-100) 40%,var(--dore-clair) 60%,var(--or-100) 80%,var(--or-200));
  opacity: .35;
}
.avis-form-block__inner { padding: 32px 36px 36px 40px; }
.avis-form-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.avis-form-block__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(196,160,82,.07); border: 1px solid rgba(196,160,82,.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.avis-form-block__title { font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .1em; color: var(--argent); line-height: 1; }
.avis-form-block__sub { font-size: .7rem; font-weight: 300; font-style: italic; color: rgba(232,232,232,.3); margin-top: 4px; }

/* État non connecté */
.avis-locked {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px 28px 36px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%,rgba(196,160,82,.04) 0%,transparent 70%);
}
.avis-locked svg { color: rgba(196,160,82,.3); }
.avis-locked__text { font-size: .84rem; font-weight: 300; color: rgba(232,232,232,.4); line-height: 1.7; max-width: 380px; }
.avis-locked__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Star picker */
.star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
}
.star-picker__lbl {
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.45);
  margin-right: 8px;
}
.star-pick {
  font-size: 1.6rem;
  cursor: pointer;
  color: rgba(196, 160, 82, 0.22);
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}
.star-pick:hover,
.star-pick.on {
  color: var(--dore-clair);
  transform: scale(1.18);
  filter: drop-shadow(0 0 5px rgba(242, 200, 75, 0.5));
}

/* Inputs formulaire */
.form-g {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-lbl {
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(196, 160, 82, 0.52);
}
.form-inp {
  width: 100%;
  background: rgba(15, 26, 42, 0.88);
  border: 1.5px solid rgba(196, 160, 82, 0.2);
  border-radius: 10px;
  padding: 11px 15px;
  font-family: var(--f-body);
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--argent);
  outline: none;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.form-inp:focus {
  border-color: rgba(196, 160, 82, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 160, 82, 0.07);
}
.form-inp::placeholder { color: rgba(232, 232, 232, 0.2); }
.form-ta {
  resize: none;
  line-height: 1.65;
  min-height: 100px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(65, 90, 119, 0.14);
}
.form-hint-global {
  margin-right: auto;
  font-size: 0.68rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(232, 232, 232, 0.25);
}
.btn-submit-avis {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 28px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-gradient);
  border: none;
  cursor: pointer;
  font-family: var(--f-title);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c1404;
  box-shadow: 0 2px 14px rgba(184, 136, 42, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.25s;
}
.btn-submit-avis:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 22px rgba(212, 168, 67, 0.4);
  transform: translateY(-1px);
}

/* Bouton "voir plus" avis */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid rgba(196, 160, 82, 0.22);
  background: transparent;
  color: rgba(196, 160, 82, 0.55);
  font-family: var(--f-title);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
}
.btn-more:hover {
  border-color: rgba(196, 160, 82, 0.5);
  color: var(--or-titre);
  background: rgba(196, 160, 82, 0.05);
}

/* ====================================================== */
/* 12. SIDEBAR                                            */
/* ====================================================== */

.rd-sidebar {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.rd-ingredients__inner {
  background: linear-gradient(145deg, #0e1d2e 0%, #13243a 50%, #0c1a28 100%);
  border-radius: 16px; padding: 24px 22px; position: relative; overflow: hidden;
}
.rd-ingredients__inner::before {
  content: ""; position: absolute; top: 0; right: 0; width: 140px; height: 140px;
  background: radial-gradient(circle at top right,rgba(196,160,82,.16) 0%,transparent 70%);
  pointer-events: none;
}
.rd-ingredients__header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rd-ingredients__icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(196,160,82,.12); border: 1px solid rgba(196,160,82,.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--or-titre); flex-shrink: 0;
}
.rd-ingredients__title {
  font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .1em;
  background: var(--gold-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.rd-ingredients__sub { font-size: .56rem; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: rgba(196,160,82,.42); margin-top: 2px; }

/* Contrôle portions */
.rd-ing-portions-ctrl {
  display: flex; align-items: center; gap: 8px;
}
.rd-ing-portions-ctrl__val {
  font-family: var(--f-display); font-size: 1rem; letter-spacing: .06em;
  color: var(--dore-clair); min-width: 2ch; text-align: center;
}
.rd-srv-btn {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid rgba(196,160,82,.35); background: rgba(196,160,82,.07);
  color: rgba(196,160,82,.85); font-size: .9rem; line-height: 1;
  cursor: pointer; transition: background .15s, border-color .15s; padding: 0;
}
.rd-srv-btn:hover:not(:disabled) { background: rgba(196,160,82,.2); border-color: var(--or-titre); }
.rd-srv-btn:disabled { opacity: .25; cursor: default; }

/* Barre de progression ingrédients */
.rd-ing-progress {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.rd-ing-progress__bar {
  flex: 1; height: 4px; border-radius: 2px;
  background: rgba(196,160,82,.1); overflow: hidden;
}
.rd-ing-progress__fill {
  height: 100%; border-radius: 2px;
  background: var(--gold-gradient-h);
  width: 0%; transition: width .4s cubic-bezier(.22,1,.36,1);
}
.rd-ing-progress__label {
  font-family: var(--f-title); font-size: .52rem; font-weight: 600;
  letter-spacing: .1em; color: rgba(196,160,82,.45); white-space: nowrap;
}

/* Liste ingrédients avec checkboxes */
.rd-ing-list { display: flex; flex-direction: column; }
.rd-ing-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 4px;
  border-bottom: 1px solid rgba(196,160,82,.07);
  cursor: pointer;
  transition: background .15s, padding-left .15s;
  border-radius: 6px;
  animation: ingReveal .3s cubic-bezier(.22,1,.36,1) both;
}
.rd-ing-item:nth-child(2){animation-delay:.04s}.rd-ing-item:nth-child(3){animation-delay:.08s}
.rd-ing-item:nth-child(4){animation-delay:.12s}.rd-ing-item:nth-child(5){animation-delay:.16s}
.rd-ing-item:nth-child(6){animation-delay:.20s}.rd-ing-item:nth-child(7){animation-delay:.24s}
.rd-ing-item:nth-child(8){animation-delay:.28s}
.rd-ing-item:last-child { border-bottom: none; }
.rd-ing-item:hover { background: rgba(196,160,82,.04); padding-left: 6px; }
.rd-ing-chk {
  width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0;
  border: 1.5px solid rgba(196,160,82,.3);
  background: transparent; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease; color: transparent;
  cursor: pointer;
}
.rd-ing-chk svg { width: 11px; height: 11px; }
.rd-ing-item:hover .rd-ing-chk { border-color: var(--or-titre); background: rgba(196,160,82,.06); }
.rd-ing-item.is-checked .rd-ing-chk {
  background: var(--gold-gradient); border-color: transparent;
  color: #18100a;
  box-shadow: 0 2px 8px rgba(212,168,67,.3);
}
.rd-ing-text {
  font-size: .78rem; font-weight: 300; color: rgba(255,232,168,.7); line-height: 1.45;
  flex: 1; transition: color .2s, opacity .2s;
}
.rd-ing-item.is-checked .rd-ing-text {
  color: rgba(196,160,82,.38);
  text-decoration: line-through;
  text-decoration-color: rgba(196,160,82,.25);
  opacity: .6;
}

/* ── Base card unifiée sidebar ── */
.rd-sidebar-card {
  background: rgba(8,16,30,.75);
  border: 1px solid rgba(196,160,82,.1);
  border-radius: 16px; padding: 20px;
  transition: border-color .25s, box-shadow .25s;
}
.rd-sidebar-card:hover { border-color: rgba(196,160,82,.22); box-shadow: 0 8px 28px rgba(0,0,0,.3); }

/* ── Film associé — cinematic poster ── */
.rd-movie-card { border-radius: 16px; overflow: hidden; }
.rd-movie-poster {
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; aspect-ratio: 2 / 3; height: auto;
  background-size: cover; background-position: center;
  text-decoration: none; overflow: hidden; border-radius: 16px;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.rd-movie-poster:hover { transform: scale(1.015); }
.rd-movie-poster__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,18,.96) 0%, rgba(4,9,18,.6) 45%, rgba(4,9,18,.1) 100%);
  transition: opacity .3s;
}
.rd-movie-poster:hover .rd-movie-poster__overlay { opacity: .85; }
.rd-movie-poster__body {
  position: relative; z-index: 2;
  padding: 18px 16px 12px;
}
.rd-movie-poster__eye {
  display: block;
  font-family: var(--f-title); font-size: .5rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(196,160,82,.55); margin-bottom: 5px;
}
.rd-movie-poster__title {
  font-family: var(--f-editorial); font-style: italic; font-weight: 700;
  font-size: 1.15rem; color: #fff; line-height: 1.2; margin-bottom: 3px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.rd-movie-poster__meta {
  font-size: .58rem; font-weight: 300; letter-spacing: .1em;
  color: rgba(196,160,82,.55);
}
.rd-movie-poster__cta {
  position: relative; z-index: 2;
  display: block; padding: 10px 16px;
  font-family: var(--f-title); font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-titre);
  border-top: 1px solid rgba(196,160,82,.14);
  transition: color .2s, background .2s;
  background: rgba(4,9,18,.6);
}
.rd-movie-poster:hover .rd-movie-poster__cta { color: #fff; background: rgba(196,160,82,.12); }

/* ── Auteur — sidebar ── */
.rd-author-badge.rd-author-badge--sidebar {
  width: 100%; border-radius: 14px;
  background: rgba(8,16,30,.75);
  border-color: rgba(196,160,82,.1);
  box-shadow: none; padding: 14px 16px 14px 14px;
}
.rd-author-badge.rd-author-badge--sidebar:hover {
  background: rgba(8,16,30,.95);
  border-color: rgba(196,160,82,.28);
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-avatar {
  width: 52px; height: 52px;
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-label {
  font-size: .56rem; color: rgba(196,160,82,.42);
}
.rd-author-badge.rd-author-badge--sidebar .rd-author-name {
  font-size: .78rem; color: var(--argent);
}

/* ── Ingrédients — card unifiée, accent gauche doré ── */
.rd-ingredients {
  position: relative;
  border-radius: 16px; overflow: hidden;
  background: rgba(8,16,30,.75);
  border: 1px solid rgba(196,160,82,.1);
  border-left: 2px solid rgba(196,160,82,.45);
  padding: 0; box-shadow: none;
}
.rd-ingredients__inner {
  background: transparent;
  border-radius: 0; padding: 20px 20px 16px;
  position: relative; overflow: hidden;
}
.rd-ingredients__inner::before {
  content: ""; position: absolute; top: 0; right: 0; width: 100px; height: 100px;
  background: radial-gradient(circle at top right, rgba(196,160,82,.08) 0%, transparent 70%);
  pointer-events: none;
}
/* Portions control inline dans le header */
.rd-ingredients__header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.rd-ingredients__header .rd-ing-portions-ctrl {
  margin-bottom: 0; margin-left: auto; padding: 6px 10px;
  background: rgba(196,160,82,.06); border-radius: 8px;
  border: 1px solid rgba(196,160,82,.12);
  display: flex; align-items: center; gap: 8px;
}

/* ── Note communauté ── */
.rd-rating-card { padding: 18px 20px; }
.rd-rating-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rd-rating-big {
  font-family: var(--f-display); font-size: 3.2rem; letter-spacing: .02em;
  color: var(--or-titre); line-height: 1; flex-shrink: 0;
}
.rd-rating-denom { font-size: 1.1rem; opacity: .45; letter-spacing: .04em; }
.rd-rating-right { display: flex; flex-direction: column; gap: 5px; }
.rd-rating-stars-row { display: flex; gap: 3px; font-size: 1rem; }
.rd-rating-stars-row .rating-star { color: rgba(196,160,82,.15); }
.rd-rating-stars-row .rating-star.is-active { color: var(--dore-clair); text-shadow: 0 0 8px rgba(242,200,75,.35); }
.rd-rating-sub { font-size: .58rem; font-weight: 300; color: rgba(232,232,232,.28); letter-spacing: .06em; }
.rd-rating-cta { width: 100%; justify-content: center; }

.rating-star { background: transparent; border: none; font-size: 1.15rem; color: rgba(196,160,82,.15); cursor: pointer; transition: color .2s, transform .2s; }
.rating-star.is-active { color: var(--dore-clair); }
.rating-stars[data-readonly="true"] .rating-star { pointer-events: none; cursor: default; }

/* ====================================================== */
/* 13. LIGHTBOX                                           */
/* ====================================================== */

.recipe-lightbox {
  position: fixed; inset: 0; background: rgba(4,10,22,.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity .35s ease; padding: 1.5rem;
}
.recipe-lightbox__backdrop { position: absolute; inset: 0; }
.recipe-lightbox.is-visible { opacity: 1; pointer-events: auto; }
.recipe-lightbox__dialog {
  position: relative; max-width: min(900px,95vw); max-height: 90vh;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,13,26,.88);
  transform: translateY(20px); transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.recipe-lightbox.is-visible .recipe-lightbox__dialog { transform: translateY(0); }
.recipe-lightbox__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-lightbox__close {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(13,27,42,.88); border: 1px solid rgba(255,255,255,.18);
  color: var(--argent); font-size: 1.5rem; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.recipe-lightbox__close:hover { background: var(--or-200); color: var(--bleu-nuit); transform: scale(1.08); }
body.lightbox-open { overflow: hidden; }

/* ====================================================== */
/* 14. RESPONSIVE                                         */
/* ====================================================== */

@media (max-width: 1100px) {
  .recipe-hero__content { grid-template-columns: 1fr; gap: 0; padding: 44px 2rem 0; }
  .rh-poster-wrap { display: none; }
  .recipe-main-grid { grid-template-columns: 1fr; }
  /* Hero compact : contexte tronqué à 2 lignes, tags scrollables */
  .rh-ctx-lead { -webkit-line-clamp: 2; }
  .rh-tags { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .rh-tags::-webkit-scrollbar { display: none; }
  .rh-info { gap: 12px; }
  .rd-sidebar { position: static; }
  .avis-grid { grid-template-columns: 1fr; }
  .avis-card--featured { grid-column: 1; grid-template-columns: 1fr; }
  .avis-banner__inner { grid-template-columns: auto 1fr auto; gap: 24px; padding-right: 100px; }
  .avis-banner__note { display: none; }
}
@media (max-width: 768px) {
  .recipe-main { padding: 32px 1rem 60px; }
  .avis-banner__inner { grid-template-columns: 1fr; padding: 28px 36px 28px 28px; gap: 18px; }
  .avis-banner__reel { display: none; }
  .avis-banner__stats { flex-direction: row; border-left: none; border-right: none; border-top: 1px solid rgba(20,10,0,.13); padding: 14px 0 0; justify-content: flex-start; gap: 24px; }
  .avis-banner__note,.avis-banner__stamp { display: none; }
  .avis-form-block__inner { padding: 20px 20px 24px 24px; }
  .rd-context-section,.rd-steps-section,.rd-nav-actions,.avis-section,.rd-gallery-section { margin-bottom: 36px !important; }
  .rd-gallery { grid-template-columns: 1fr; }
  .rd-gallery__main { grid-column: 1; }
  .rd-steps-header-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
  .recipe-hero__content { padding: 32px 1rem 0; }
  .rh-title { font-size: clamp(1.7rem,7vw,2.4rem); }
}

@media (max-width: 480px) {
  /* 1. Tags hero — wrap sur mobile (pas de scroll horizontal) */
  .rh-tags {
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
  }
  .rh-tags .tag { flex-shrink: 0; }

  /* 2. Ordre mobile : ingrédients en premier, avis en dernier */
  .rd-sidebar   { order: -1; }
  .avis-section { order: 1; }

  /* Card film associé et note masquées sur mobile — ingrédients suffisent */
  .rd-movie-card,
  .rd-rating-card { display: none; }
}
