/* ==========================================================
 * RECETTE V4 — Front Pépites
 * Version propre v19 : CSS consolidé, sans empilement de patchs.
 * Objectifs : page éditoriale stable, images maîtrisées,
 * vidéo accessible, dark neutre, mobile lisible.
 * ========================================================== */

/* ================= Socle ================= */
body.page-recette-v4 {
  --rv4-brand: #ff6233;
  --rv4-brand-dark: #e4572d;
  --rv4-ink: #2c2c2c;
  --rv4-muted: #6f7278;
  --rv4-soft: #f8f6f3;
  --rv4-paper: #ffffff;
  --rv4-line: #e9e2dc;
  --rv4-warm: #fbfaf8;
  --rv4-shadow: 0 16px 42px rgba(28, 24, 20, .08);
  --rv4-shadow-soft: 0 10px 28px rgba(28, 24, 20, .06);
  --rv4-radius: 14px;
  --rv4-radius-sm: 10px;
  --rv4-font-ui: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rv4-font-title: "Lora", Georgia, serif;
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 98, 51, .055), transparent 38rem),
    linear-gradient(180deg, #fff 0%, var(--rv4-warm) 58%, #f5f1ec 100%);
  color: var(--rv4-ink);
  font-family: var(--rv4-font-ui);
}

body.page-recette-v4 .recette-v4-main {
  padding-top: 0;
  overflow-x: clip;
  background: transparent;
}

.rv4-page,
.rv4-page *,
.rv4-page *::before,
.rv4-page *::after {
  box-sizing: border-box;
}

.rv4-page {
  color: var(--rv4-ink);
  font-family: var(--rv4-font-ui);
}

.rv4-page a {
  color: inherit;
}

.rv4-shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ================= Hero ================= */
.rv4-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(350px, 48vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 166, 96, .20), transparent 32rem),
    linear-gradient(135deg, #101010 0%, #1d1713 48%, #322019 100%);
}

.rv4-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--rv4-hero-image, none);
  background-position: var(--rv4-hero-position, 50% 58%);
  background-size: cover;
  opacity: .86;
  transform: scale(1.015);
}

.rv4-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .86) 0%, rgba(11, 11, 11, .66) 42%, rgba(16, 16, 16, .24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .54) 100%);
}

.rv4-hero__inner {
  position: relative;
  z-index: 1;
  padding: 7.2rem 0 3.1rem;
  color: #fff;
}

.rv4-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
  margin: 0 0 .9rem;
  color: rgba(255, 255, 255, .78);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rv4-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.rv4-breadcrumb a:hover {
  color: #fff;
}

.rv4-breadcrumb__sep {
  opacity: .55;
}

.rv4-kicker,
.rv4-section-label {
  margin: 0 0 .55rem;
  color: var(--rv4-brand);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.rv4-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: var(--rv4-font-title);
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}

.rv4-hero h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: .85rem;
  border-radius: 99px;
  background: var(--rv4-brand);
}

.rv4-hero__subtitle,
.rv4-hero__summary {
  max-width: 670px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(.96rem, 1.5vw, 1.08rem);
  font-weight: 400;
  line-height: 1.7;
}

.rv4-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.2rem;
}

.rv4-hero__facts span {
  display: inline-flex;
  align-items: baseline;
  gap: .42rem;
  min-height: 32px;
  padding: .42rem .72rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .94);
  backdrop-filter: blur(7px);
  font-size: .78rem;
  font-weight: 500;
}

.rv4-hero__facts em {
  color: rgba(255, 255, 255, .66);
  font-style: normal;
  font-weight: 400;
}

/* ================= Navigation rapide ================= */
.rv4-quicknav {
  position: sticky;
  top: 0;
  z-index: 35;
  margin-top: -1px;
  padding: .62rem 0;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(233, 226, 220, .85);
  backdrop-filter: blur(14px);
}

.rv4-quicknav .rv4-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.rv4-quicknav .rv4-shell::-webkit-scrollbar {
  display: none;
}

.rv4-quicknav a {
  flex: 0 0 auto;
  padding: .46rem .78rem;
  border-radius: 999px;
  color: #3f342f;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1;
  transition: background .18s ease, color .18s ease;
}

.rv4-quicknav a:hover {
  background: rgba(255, 98, 51, .10);
  color: var(--rv4-brand-dark);
}

/* ================= Sections globales ================= */
.rv4-main {
  display: grid;
  gap: clamp(.95rem, 1.8vw, 1.35rem);
  padding: clamp(1.55rem, 3vw, 2.45rem) 0 6.8rem;
}

.rv4-section,
.rv4-card,
.rv4-author,
.rv4-engagement,
.rv4-comments,
.rv4-cta-end {
  border: 1px solid var(--rv4-line);
  border-radius: var(--rv4-radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--rv4-shadow-soft);
}

.rv4-main > .rv4-section,
.rv4-main > .rv4-author,
.rv4-main > .rv4-engagement,
.rv4-main > .rv4-comments,
.rv4-main > .rv4-cta-end {
  margin-top: 0;
}

.rv4-section,
.rv4-author,
.rv4-engagement,
.rv4-comments,
.rv4-cta-end {
  scroll-margin-top: 6.8rem;
}

.rv4-section {
  overflow: visible;
  padding: clamp(1.18rem, 2.25vw, 1.72rem);
}

.rv4-section-head {
  display: grid;
  gap: .35rem;
  margin: 0 0 clamp(.85rem, 1.55vw, 1.1rem);
  padding: 0 0 .72rem;
  border-bottom: 1px solid rgba(233, 226, 220, .72);
}

.rv4-section-head .rv4-section-label {
  margin: 0;
}

.rv4-section-head h2,
.rv4-author h2,
.rv4-engagement h2,
.rv4-comments h2,
.rv4-cta-end h2 {
  max-width: 100%;
  margin: 0;
  color: var(--rv4-ink);
  font-family: var(--rv4-font-title);
  font-size: clamp(1.38rem, 2.15vw, 1.82rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-align: left;
}

.rv4-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.rv4-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(.85rem, 1.5vw, 1.1rem);
  align-items: start;
}

.rv4-card--intro {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(1.18rem, 2.25vw, 1.65rem);
}

.rv4-card--intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rv4-brand);
}

.rv4-card--facts {
  display: grid;
  gap: .55rem;
  padding: clamp(1rem, 1.8vw, 1.25rem);
}

.rv4-fact {
  display: grid;
  grid-template-columns: minmax(90px, .65fr) 1fr;
  gap: .65rem;
  align-items: baseline;
  padding: .56rem 0;
  border-bottom: 1px solid rgba(233, 226, 220, .78);
}

.rv4-fact:last-of-type {
  border-bottom: 0;
}

.rv4-fact span {
  color: var(--rv4-muted);
  font-size: .78rem;
  font-weight: 500;
}

.rv4-fact strong {
  color: var(--rv4-ink);
  font-size: .9rem;
  font-weight: 600;
}

.rv4-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: .45rem;
}

.rv4-tags span,
.rv4-tags a {
  display: inline-flex;
  padding: .36rem .58rem;
  border-radius: 999px;
  background: var(--rv4-soft);
  color: #55473f;
  font-size: .75rem;
  font-weight: 500;
  text-decoration: none;
}

.rv4-rich {
  color: #332c28;
  font-family: var(--rv4-font-title);
  font-size: 1.02rem;
  line-height: 1.78;
}

.rv4-rich p {
  margin: 0 0 1rem;
}

.rv4-rich p:last-child {
  margin-bottom: 0;
}

.rv4-rich-inline,
.rv4-rich-inline p {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.rv4-rich strong,
.rv4-rich b {
  font-weight: 600;
}

.rv4-rich h2,
.rv4-rich h3,
.rv4-rich h4 {
  margin: 1.35rem 0 .65rem;
  color: var(--rv4-ink);
  font-family: var(--rv4-font-title);
  font-weight: 600;
  line-height: 1.16;
}

.rv4-rich h2 { font-size: 1.45rem; }
.rv4-rich h3 { font-size: 1.22rem; }
.rv4-rich h4 { font-size: 1.08rem; }

.rv4-rich a {
  color: var(--rv4-brand-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ================= Ingrédients ================= */
.rv4-ingredients-section {
  position: relative;
  overflow: hidden;
}

.rv4-ingredients-section::after {
  content: "";
  position: absolute;
  right: -3.2rem;
  top: -4.5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(255, 98, 51, .07);
  opacity: .45;
  pointer-events: none;
}

.rv4-ingredients-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .8rem;
}

.rv4-ing-card {
  padding: clamp(.95rem, 1.7vw, 1.15rem);
  border: 1px solid var(--rv4-line);
  border-radius: 15px;
  background: linear-gradient(180deg, var(--rv4-warm), var(--rv4-paper));
}

.rv4-ing-card h3 {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin: 0 0 .68rem;
  color: var(--rv4-brand-dark);
  font-family: var(--rv4-font-ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rv4-ing-card h3::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: var(--rv4-brand);
}

.rv4-ing-card ul,
.rv4-more ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.rv4-ing-card li,
.rv4-more li {
  position: relative;
  margin: .36rem 0;
  padding-left: 1.05rem;
  color: #3b332f;
  font-family: var(--rv4-font-title);
  font-size: .98rem;
  line-height: 1.48;
}

.rv4-ing-card li::before,
.rv4-more li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .32rem;
  height: .32rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  opacity: .68;
}

.rv4-ing-card--tools {
  background: #fff5ed;
}

/* ================= Images éditoriales ================= */
.rv4-inline-figure {
  --rv4-img-focus: 50% 50%;
  --rv4-img-ratio: 4 / 3;
  --rv4-img-fit: cover;
  max-width: min(100%, var(--rv4-img-max-width, 680px));
  margin: clamp(.95rem, 1.9vw, 1.35rem) auto;
  padding: .34rem;
  border: 1px solid var(--rv4-line);
  border-radius: 20px;
  background: var(--rv4-paper);
  box-shadow: var(--rv4-shadow-soft);
}

.rv4-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--rv4-img-ratio, 4 / 3);
  max-height: var(--rv4-img-max-height, 450px);
  object-fit: var(--rv4-img-fit, cover);
  object-position: var(--rv4-img-focus, 50% 50%);
  border-radius: 16px;
}

.rv4-inline-figure figcaption {
  padding: .45rem .6rem .2rem;
  color: var(--rv4-muted);
  font-size: .75rem;
}

/* ================= Étapes ================= */
.rv4-step-group {
  margin-top: clamp(.95rem, 1.75vw, 1.25rem);
}

.rv4-step-group:first-of-type {
  margin-top: 0;
}

.rv4-step-group + .rv4-step-group {
  padding-top: clamp(.95rem, 1.8vw, 1.25rem);
  border-top: 1px solid rgba(233, 226, 220, .72);
}

.rv4-step-group__head {
  display: grid;
  gap: .22rem;
  margin: 0 0 .78rem;
  padding: .1rem 0 .64rem;
  border-bottom: 1px dashed rgba(233, 226, 220, .78);
}

.rv4-step-group__head span {
  display: inline-flex;
  width: fit-content;
  padding: .24rem .46rem;
  border-radius: 6px;
  background: rgba(255, 98, 51, .08);
  color: var(--rv4-brand-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rv4-step-group__head h3 {
  margin: 0;
  font-family: var(--rv4-font-title);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.22;
}

.rv4-step-list {
  display: grid;
  gap: .76rem;
}

.rv4-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: 0;
  padding: clamp(.98rem, 1.8vw, 1.22rem);
  border: 1px solid rgba(233, 226, 220, .78);
  border-radius: 17px;
  background: #fff;
}

.rv4-step.has-media {
  grid-template-columns: 2.75rem minmax(0, 1fr) minmax(190px, 270px);
}

.rv4-step::after {
  content: "";
  position: absolute;
  left: calc(1.12rem + 1.37rem);
  top: 4rem;
  bottom: -.82rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 98, 51, .45), transparent);
}

.rv4-step:last-child::after {
  display: none;
}

.rv4-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.42rem;
  height: 2.42rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(255, 98, 51, .22);
}

.rv4-step__body {
  min-width: 0;
  padding-top: .12rem;
}

.rv4-step h4 {
  margin: 0 0 .42rem;
  color: var(--rv4-ink);
  font-family: var(--rv4-font-title);
  font-size: clamp(1.05rem, 1.45vw, 1.18rem);
  font-weight: 600;
}

.rv4-step__text {
  max-width: 76ch;
  font-size: .98rem;
  line-height: 1.68;
}

.rv4-step__media {
  --rv4-img-focus: 50% 50%;
  --rv4-img-ratio: 4 / 3;
  --rv4-img-fit: cover;
  align-self: start;
  width: 100%;
  max-width: var(--rv4-img-max-width, 270px);
  margin-left: auto;
  overflow: hidden;
  border-radius: 15px;
  background: var(--rv4-soft);
  box-shadow: 0 10px 22px rgba(31, 24, 18, .09);
}

.rv4-step__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--rv4-img-ratio, 4 / 3);
  max-height: var(--rv4-img-max-height, 220px);
  object-fit: var(--rv4-img-fit, cover);
  object-position: var(--rv4-img-focus, 50% 50%);
  border-radius: 15px;
}

.rv4-tip {
  display: grid;
  gap: .2rem;
  margin-top: .72rem;
  padding: .72rem .82rem;
  border-left: 3px solid var(--rv4-brand);
  border-radius: 12px;
  background: rgba(255, 98, 51, .07);
  color: #493a32;
}

.rv4-tip strong {
  color: var(--rv4-brand-dark);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rv4-conclusion {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--rv4-radius-sm);
  background: var(--rv4-soft);
}

/* ================= Vidéos ================= */
.rv4-video-grid {
  display: grid;
  gap: .85rem;
  max-width: 800px;
  margin-inline: auto;
}

.rv4-video-card {
  display: grid;
  grid-template-columns: minmax(100px, 136px) minmax(0, 1fr);
  gap: clamp(.9rem, 1.8vw, 1.25rem);
  align-items: center;
  width: 100%;
  min-height: 170px;
  padding: clamp(.82rem, 1.8vw, 1.05rem);
  border: 1px solid var(--rv4-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 98, 51, .07), transparent 11rem),
    var(--rv4-paper);
  color: var(--rv4-ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--rv4-shadow-soft);
}

.rv4-video-card__poster {
  position: relative;
  display: block;
  width: 100%;
  max-width: 136px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 17px;
  background: #221915;
  box-shadow: 0 12px 26px rgba(31, 24, 18, .14);
}

.rv4-video-card__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease, opacity .22s ease;
}

.rv4-video-card:hover .rv4-video-card__poster img {
  transform: scale(1.025);
}

.rv4-video-card__play {
  position: absolute;
  top: .7rem;
  left: .7rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  color: #fff;
  font-size: .8rem;
  box-shadow: 0 10px 22px rgba(255, 98, 51, .26);
}

.rv4-video-card__body {
  display: grid;
  align-content: center;
  gap: .42rem;
  max-width: 46rem;
}

.rv4-video-card__body strong {
  max-width: 34rem;
  color: var(--rv4-ink);
  font-family: var(--rv4-font-title);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.18;
}

.rv4-video-card__body em {
  color: var(--rv4-muted);
  font-size: .88rem;
  font-style: normal;
  line-height: 1.45;
}

.rv4-video-card__cta {
  display: inline-flex;
  width: fit-content;
  margin-top: .2rem;
  padding: .48rem .74rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  color: #fff;
  font: 700 .74rem/1 var(--rv4-font-ui);
  letter-spacing: .02em;
}

/* Bouton vidéo sticky — hors wrapper en desktop, en bas et propre en mobile */
a.rv4-video-jump[data-rv4-video-jump] {
  position: fixed;
  right: max(1rem, calc((100vw - 1160px) / 2 - 5.4rem));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.15rem);
  z-index: 88;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  max-width: calc(100vw - 2rem);
  padding: .42rem .95rem .42rem .48rem;
  border: 1px solid rgba(255, 98, 51, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .98);
  color: #2d2824;
  text-decoration: none;
  font-family: var(--rv4-font-ui);
  font-size: .84rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(28, 24, 20, .18), 0 0 0 1px rgba(255, 255, 255, .75) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rv4-video-jump span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 98, 51, .24);
}

a.rv4-video-jump[data-rv4-video-jump]:hover,
a.rv4-video-jump[data-rv4-video-jump]:focus-visible {
  color: #1f1a17;
  border-color: rgba(255, 98, 51, .48);
  box-shadow: 0 18px 42px rgba(28, 24, 20, .22), 0 0 0 1px rgba(255, 255, 255, .85) inset;
  transform: translateY(-1px);
}

.rv4-video-jump.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(.45rem);
}

.rv4-video-modal[hidden] {
  display: none;
}

.rv4-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.rv4-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(4px);
}

.rv4-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: 1rem;
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.rv4-video-modal__dialog h2 {
  margin: 0 2.8rem .75rem 0;
  font-family: var(--rv4-font-title);
  font-size: 1.25rem;
  font-weight: 600;
}

.rv4-video-modal__dialog video {
  display: block;
  width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  background: #000;
}

.rv4-video-modal__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: .45rem .7rem;
  font: 600 .76rem/1 var(--rv4-font-ui);
  cursor: pointer;
}

/* ================= Conseils, auteur, CTA, vote, commentaires ================= */
.rv4-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
}

.rv4-more-grid > .rv4-card {
  min-width: 0;
}

.rv4-more .rv4-card h3,
.rv4-free-cta h3 {
  margin: 0 0 .65rem;
  color: var(--rv4-ink);
  font-family: var(--rv4-font-title);
  font-size: 1.22rem;
  font-weight: 600;
}

.rv4-more .rv4-card p,
.rv4-more .rv4-card li {
  color: #3d332e;
  font-family: var(--rv4-font-title);
  line-height: 1.65;
}

.rv4-link-pill {
  display: inline-flex;
  margin-top: .4rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: var(--rv4-brand);
  color: #fff !important;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}

.rv4-author {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  background: #fff9f3;
}

.rv4-author img {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  object-fit: cover;
}

.rv4-author p {
  margin: .35rem 0 0;
  color: #544942;
  line-height: 1.55;
}

.rv4-author__role {
  color: var(--rv4-brand-dark) !important;
  font-weight: 500;
}

.rv4-author a {
  display: inline-flex;
  margin-top: .55rem;
  color: var(--rv4-brand-dark);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
}

.rv4-author__socials {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}

.rv4-author .rv4-author__socials a {
  margin-top: 0;
  padding: .38rem .62rem;
  border: 1px solid rgba(255, 107, 69, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--rv4-brand-dark);
  font-size: .78rem;
  line-height: 1;
}

.rv4-author .rv4-author__socials a:hover {
  border-color: rgba(255, 107, 69, .55);
  background: #fff;
}

.rv4-free-cta,
.rv4-cta-end {
  border-color: rgba(255, 98, 51, .20);
  background:
    radial-gradient(circle at top right, rgba(255, 98, 51, .08), transparent 11rem),
    var(--rv4-paper);
}

.rv4-cta-end,
.rv4-engagement,
.rv4-comments {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.rv4-cta-end {
  display: grid;
  gap: .55rem;
  align-items: start;
  padding: clamp(1.15rem, 2.3vw, 1.55rem);
  border-left: 3px solid rgba(255, 98, 51, .62);
  text-align: left;
}

.rv4-cta-end h2 {
  margin: 0;
  font-size: clamp(1.42rem, 2.4vw, 1.78rem);
}

.rv4-cta-end .rv4-rich {
  max-width: 82ch;
  line-height: 1.64;
}

.rv4-engagement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem 1rem;
  align-items: center;
}

.rv4-engagement h2 {
  grid-column: 1 / 2;
}

.rv4-engagement .star-rating {
  grid-column: 2 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .25rem;
  min-width: 150px;
  min-height: 32px;
  padding: .42rem .62rem;
  border: 1px solid rgba(255, 98, 51, .18);
  border-radius: 999px;
  background: #fff7f1;
  color: var(--rv4-brand);
}

.rv4-engagement .star-rating svg,
.rv4-engagement .star-rating i {
  width: 1.15rem;
  height: 1.15rem;
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform .15s ease, color .15s ease;
}

.rv4-engagement .star-rating [data-value].is-preview,
.rv4-engagement .star-rating [data-value]:hover,
.rv4-engagement .star-rating svg:hover,
.rv4-engagement .star-rating i:hover {
  color: var(--rv4-brand-dark);
  transform: translateY(-1px) scale(1.06);
}

.rv4-engagement .rv4-vote-msg {
  grid-column: 1 / -1;
  margin: 0;
}

.rv4-vote-msg,
.rv4-comment-form p {
  color: var(--rv4-muted);
  font-size: .82rem;
}

.rv4-comments {
  display: grid;
  gap: 1rem;
}

.rv4-comments__list {
  display: grid;
  gap: .8rem;
}

.rv4-comment,
.rv4-comments .chronique-comments__item {
  position: relative;
  padding: .9rem .95rem;
  border: 1px solid rgba(233, 226, 220, .92);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 24, 20, .035);
}

.rv4-comments .chronique-comments__item + .chronique-comments__item {
  margin-top: .72rem;
}

.rv4-comment--level-1,
.rv4-comment--level-2,
.rv4-comment--level-3,
.rv4-comment--level-4 {
  margin-top: .65rem;
  margin-left: clamp(.75rem, 2vw, 1.35rem);
  background: #fbf8f4;
}

.rv4-comment__head,
.rv4-comments .chronique-comments__meta,
.rv4-comments .chronique-comments__item > .chronique-comments__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem .75rem;
  margin-bottom: .55rem;
}

.rv4-comment__head strong,
.rv4-comments .chronique-comments__pseudo,
.rv4-comments .chronique-comments__meta strong {
  color: var(--rv4-ink);
  font-weight: 600;
  line-height: 1.15;
}

.rv4-comment__head small,
.rv4-comments .chronique-comments__date,
.rv4-comments .chronique-comments__meta small {
  color: var(--rv4-muted);
  font-size: .76rem;
}

.rv4-comment__message,
.rv4-comments .chronique-comments__message,
.rv4-comments .chronique-comments__reply-item div {
  position: relative;
  color: #3c332f;
  font-family: var(--rv4-font-title);
  font-size: .98rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.rv4-comment.has-long-message:not(.is-expanded) .rv4-comment__message,
.rv4-comment.has-long-message:not(.is-expanded) .chronique-comments__message {
  max-height: 7.4em;
  overflow: hidden;
}

.rv4-comment.has-long-message:not(.is-expanded) .rv4-comment__message::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2.5em;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 82%);
}

.rv4-comment__reply,
.rv4-comment__more,
.rv4-comments .chronique-comments__reply,
.rv4-comments .btn-reply-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: .5rem;
  padding: .38rem .62rem;
  border: 1px solid rgba(255, 98, 51, .24);
  border-radius: 999px;
  background: #fff7f1;
  color: var(--rv4-brand-dark);
  font: 600 .74rem/1 var(--rv4-font-ui);
  cursor: pointer;
  text-decoration: none;
}

.rv4-comment__reply:hover,
.rv4-comment__more:hover,
.rv4-comments .chronique-comments__reply:hover,
.rv4-comments .btn-reply-trigger:hover {
  background: var(--rv4-brand);
  border-color: var(--rv4-brand);
  color: #fff;
}

.rv4-comment__replies,
.rv4-comments .chronique-comments__replies {
  margin-top: .7rem;
  padding-left: .75rem;
  border-left: 2px solid rgba(255, 98, 51, .18);
}

.rv4-comments .chronique-comments__reply-item {
  margin-top: .6rem;
  padding: .7rem .8rem;
  border-radius: 11px;
  background: #fbf8f4;
}

.rv4-reply-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: #fff5ed;
}

.rv4-reply-info button {
  border: 0;
  background: transparent;
  color: var(--rv4-brand-dark);
  font-weight: 600;
  cursor: pointer;
}

.rv4-comment-form {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding-top: .25rem;
}

.rv4-comment-form label {
  display: grid;
  gap: .35rem;
  color: var(--rv4-muted);
  font-size: .82rem;
  font-weight: 500;
}

.rv4-comment-form input,
.rv4-comment-form textarea {
  width: 100%;
  border: 1px solid var(--rv4-line);
  border-radius: 10px;
  background: #fff;
  color: var(--rv4-ink);
  padding: .72rem .78rem;
  font: 400 .92rem/1.45 var(--rv4-font-ui);
}

.rv4-btn,
.rv4-bottom-actions a,
.rv4-bottom-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: .58rem .9rem;
  border: 1px solid var(--rv4-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rv4-ink);
  text-decoration: none;
  font: 600 .8rem/1 var(--rv4-font-ui);
  cursor: pointer;
}

.rv4-btn--primary,
.rv4-comment-form button[type="submit"] {
  border-color: var(--rv4-brand);
  background: var(--rv4-brand);
  color: #fff;
}

.rv4-bottom-actions {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  gap: .45rem;
  max-width: calc(100% - 1rem);
  padding: .38rem;
  border: 1px solid rgba(233, 226, 220, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 18px 46px rgba(28, 24, 20, .16);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.rv4-bottom-actions [data-rv4-share-whatsapp] {
  border-color: rgba(37, 211, 102, .28);
}

.rv4-bottom-actions [data-rv4-share-facebook] {
  border-color: rgba(24, 119, 242, .24);
}

/* ================= Publicités ================= */
.rv4-ads {
  display: grid;
  gap: .85rem;
  margin: 1.2rem 0;
}

.rv4-ad {
  overflow: hidden;
  border: 1px dashed var(--rv4-line);
  border-radius: var(--rv4-radius);
  background: #fff;
  box-shadow: var(--rv4-shadow-soft);
}

.rv4-ad__label {
  padding: .45rem .75rem 0;
  color: var(--rv4-muted);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rv4-ad iframe {
  display: block;
  width: 100%;
  border: 0;
}

.rv4-ad--banner iframe {
  min-height: 120px;
  aspect-ratio: 970 / 180;
}

.rv4-ad--card {
  max-width: 360px;
}

.rv4-ad--card iframe {
  min-height: 260px;
  aspect-ratio: 1 / 1;
}

/* ================= Responsive ================= */
@media (max-width: 980px) {
  .rv4-overview,
  .rv4-ingredients-grid {
    grid-template-columns: 1fr;
  }

  .rv4-step.has-media {
    grid-template-columns: 2.55rem minmax(0, 1fr);
  }

  .rv4-step__media {
    grid-column: 2;
    max-width: min(100%, var(--rv4-img-max-width, 360px));
    margin: .35rem 0 0;
  }

  .rv4-step__media img {
    max-height: var(--rv4-img-max-height, 260px);
  }
}

@media (max-width: 720px) {
  body.page-recette-v4 .recette-v4-main {
    overflow-x: hidden;
  }

  .rv4-shell {
    width: min(100% - 1rem, 1160px);
  }

  .rv4-hero {
    min-height: 420px;
  }

  .rv4-hero__inner {
    padding: 6.6rem 0 2.2rem;
  }

  .rv4-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .rv4-quicknav .rv4-shell {
    justify-content: flex-start;
  }

  .rv4-main {
    gap: .9rem;
    padding-top: 1.2rem;
    padding-bottom: 10.75rem;
  }

  .rv4-section {
    padding: 1rem;
  }

  .rv4-section-head {
    margin-bottom: .78rem;
    padding-bottom: .62rem;
  }

  .rv4-section-head h2 {
    font-size: clamp(1.28rem, 7vw, 1.65rem);
  }

  .rv4-author {
    grid-template-columns: 1fr;
  }

  .rv4-inline-figure {
    max-width: 100%;
    margin: .95rem auto;
  }

  .rv4-inline-figure img {
    max-height: var(--rv4-img-max-height, 340px);
  }

  .rv4-step,
  .rv4-step.has-media {
    grid-template-columns: 2.55rem minmax(0, 1fr);
    padding: .92rem;
  }

  .rv4-step__text {
    font-size: .95rem;
    line-height: 1.62;
  }

  .rv4-step::after {
    left: calc(.92rem + 1.27rem);
  }

  .rv4-video-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: .72rem;
    min-height: 0;
    padding: .78rem;
  }

  .rv4-video-card__poster {
    max-width: 82px;
    border-radius: 14px;
  }

  .rv4-video-card__body strong {
    font-size: 1rem;
  }

  .rv4-video-card__body em {
    font-size: .78rem;
  }

  .rv4-video-card__cta {
    padding: .44rem .66rem;
    font-size: .7rem;
  }

  .rv4-bottom-actions {
    left: .5rem;
    right: .5rem;
    bottom: .55rem;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .38rem;
    padding: .48rem;
    border-radius: 20px;
    transform: none;
  }

  .rv4-bottom-actions a,
  .rv4-bottom-actions button {
    flex: none;
    min-width: 0;
    min-height: 36px;
    padding: .52rem .38rem;
    white-space: nowrap;
    font-size: .72rem;
    line-height: 1;
  }

  a.rv4-video-jump[data-rv4-video-jump] {
    right: .72rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 5.55rem);
    min-height: 40px;
    padding: .38rem .78rem .38rem .44rem;
    font-size: .78rem;
  }

  .rv4-video-jump span {
    width: 1.65rem;
    height: 1.65rem;
  }

  .rv4-engagement {
    grid-template-columns: 1fr;
  }

  .rv4-engagement .star-rating {
    grid-column: 1;
    justify-content: flex-start;
    width: fit-content;
  }

  .rv4-comment__head {
    display: grid;
  }

  .rv4-comment--level-1,
  .rv4-comment--level-2,
  .rv4-comment--level-3,
  .rv4-comment--level-4 {
    margin-left: .35rem;
  }

  .rv4-ads {
    margin: 1.05rem 0;
  }

  .rv4-ad,
  .rv4-ad--banner {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .rv4-ad--banner iframe {
    aspect-ratio: auto;
    height: clamp(170px, 54vw, 230px);
    min-height: 170px;
  }

  .rv4-ad--card {
    width: min(100%, 320px);
    max-width: 320px;
    margin-inline: auto;
  }

  .rv4-ad--card iframe {
    aspect-ratio: auto;
    height: clamp(230px, 78vw, 320px);
    min-height: 230px;
  }
}

@media (max-width: 380px) {
  a.rv4-video-jump[data-rv4-video-jump] {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 7.65rem);
  }
}

/* ================= Print ================= */
@media print {
  .no-print,
  .rv4-quicknav,
  .rv4-bottom-actions,
  .rv4-video-jump,
  .rv4-video-modal {
    display: none !important;
  }
}

/* ================= Dark mode neutre ================= */
:root[data-theme="dark"] body.page-recette-v4,
:root.theme-dark body.page-recette-v4,
html[data-pd-theme="dark"] body.page-recette-v4 {
  --rv4-ink: #f2f2f3;
  --rv4-muted: #b9b9bf;
  --rv4-soft: #18181b;
  --rv4-paper: #161619;
  --rv4-line: rgba(255, 255, 255, .12);
  --rv4-warm: #111113;
  --rv4-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  --rv4-shadow-soft: 0 12px 30px rgba(0, 0, 0, .30);
  background: linear-gradient(180deg, #0f0f10 0%, #121214 55%, #0d0d0e 100%);
  color: var(--rv4-ink);
}

:root[data-theme="dark"] body.page-recette-v4 .rv4-quicknav,
:root.theme-dark body.page-recette-v4 .rv4-quicknav,
html[data-pd-theme="dark"] body.page-recette-v4 .rv4-quicknav {
  background: rgba(18, 18, 20, .86);
  border-bottom-color: var(--rv4-line);
}

:root[data-theme="dark"] body.page-recette-v4 .rv4-quicknav a,
:root.theme-dark body.page-recette-v4 .rv4-quicknav a,
html[data-pd-theme="dark"] body.page-recette-v4 .rv4-quicknav a {
  color: #e7e7ea;
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-section, .rv4-card, .rv4-author, .rv4-engagement, .rv4-comments, .rv4-cta-end, .rv4-ing-card, .rv4-step, .rv4-video-card, .rv4-inline-figure, .rv4-comment, .rv4-ad, .chronique-comments__item, .chronique-comments__reply-item),
:root.theme-dark body.page-recette-v4 :where(.rv4-section, .rv4-card, .rv4-author, .rv4-engagement, .rv4-comments, .rv4-cta-end, .rv4-ing-card, .rv4-step, .rv4-video-card, .rv4-inline-figure, .rv4-comment, .rv4-ad, .chronique-comments__item, .chronique-comments__reply-item),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-section, .rv4-card, .rv4-author, .rv4-engagement, .rv4-comments, .rv4-cta-end, .rv4-ing-card, .rv4-step, .rv4-video-card, .rv4-inline-figure, .rv4-comment, .rv4-ad, .chronique-comments__item, .chronique-comments__reply-item) {
  background: var(--rv4-paper);
  border-color: var(--rv4-line);
  color: var(--rv4-ink);
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-cta-end, .rv4-free-cta),
:root.theme-dark body.page-recette-v4 :where(.rv4-cta-end, .rv4-free-cta),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-cta-end, .rv4-free-cta) {
  background:
    radial-gradient(circle at top right, rgba(255, 98, 51, .12), transparent 11rem),
    var(--rv4-paper);
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-rich, .rv4-rich-inline, .rv4-step__text, .rv4-ing-card li, .rv4-more li, .rv4-more p, .rv4-author p, .rv4-comment__message, .chronique-comments__message),
:root.theme-dark body.page-recette-v4 :where(.rv4-rich, .rv4-rich-inline, .rv4-step__text, .rv4-ing-card li, .rv4-more li, .rv4-more p, .rv4-author p, .rv4-comment__message, .chronique-comments__message),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-rich, .rv4-rich-inline, .rv4-step__text, .rv4-ing-card li, .rv4-more li, .rv4-more p, .rv4-author p, .rv4-comment__message, .chronique-comments__message) {
  color: var(--rv4-muted);
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-section-head h2, .rv4-author h2, .rv4-engagement h2, .rv4-comments h2, .rv4-cta-end h2, .rv4-card h3, .rv4-step h4, .rv4-step-group__head h3, .rv4-rich h2, .rv4-rich h3, .rv4-rich h4, .rv4-fact strong),
:root.theme-dark body.page-recette-v4 :where(.rv4-section-head h2, .rv4-author h2, .rv4-engagement h2, .rv4-comments h2, .rv4-cta-end h2, .rv4-card h3, .rv4-step h4, .rv4-step-group__head h3, .rv4-rich h2, .rv4-rich h3, .rv4-rich h4, .rv4-fact strong),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-section-head h2, .rv4-author h2, .rv4-engagement h2, .rv4-comments h2, .rv4-cta-end h2, .rv4-card h3, .rv4-step h4, .rv4-step-group__head h3, .rv4-rich h2, .rv4-rich h3, .rv4-rich h4, .rv4-fact strong) {
  color: var(--rv4-ink);
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-section-label, .rv4-kicker, .rv4-step-group__head span, .rv4-ing-card h3, .rv4-tip strong, .rv4-author__role, .rv4-rich a),
:root.theme-dark body.page-recette-v4 :where(.rv4-section-label, .rv4-kicker, .rv4-step-group__head span, .rv4-ing-card h3, .rv4-tip strong, .rv4-author__role, .rv4-rich a),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-section-label, .rv4-kicker, .rv4-step-group__head span, .rv4-ing-card h3, .rv4-tip strong, .rv4-author__role, .rv4-rich a) {
  color: #ff9a78;
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-tags span, .rv4-tags a, .rv4-link-pill, .rv4-btn, .rv4-author a, .rv4-author .rv4-author__socials a, .rv4-bottom-actions a, .rv4-bottom-actions button),
:root.theme-dark body.page-recette-v4 :where(.rv4-tags span, .rv4-tags a, .rv4-link-pill, .rv4-btn, .rv4-author a, .rv4-author .rv4-author__socials a, .rv4-bottom-actions a, .rv4-bottom-actions button),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-tags span, .rv4-tags a, .rv4-link-pill, .rv4-btn, .rv4-author a, .rv4-author .rv4-author__socials a, .rv4-bottom-actions a, .rv4-bottom-actions button) {
  background: #222226;
  border-color: rgba(255, 255, 255, .14);
  color: #ffad92;
}

:root[data-theme="dark"] body.page-recette-v4 :where(.rv4-btn--primary, .rv4-comment-form button[type="submit"]),
:root.theme-dark body.page-recette-v4 :where(.rv4-btn--primary, .rv4-comment-form button[type="submit"]),
html[data-pd-theme="dark"] body.page-recette-v4 :where(.rv4-btn--primary, .rv4-comment-form button[type="submit"]) {
  background: linear-gradient(135deg, #ff6f45, #e4572d);
  border-color: transparent;
  color: #fff;
}

:root[data-theme="dark"] body.page-recette-v4 :where(input, textarea, select, .star-rating),
:root.theme-dark body.page-recette-v4 :where(input, textarea, select, .star-rating),
html[data-pd-theme="dark"] body.page-recette-v4 :where(input, textarea, select, .star-rating) {
  background: #1b1b1f;
  border-color: rgba(255, 255, 255, .16);
  color: var(--rv4-ink);
}

:root[data-theme="dark"] body.page-recette-v4 :where(input::placeholder, textarea::placeholder),
:root.theme-dark body.page-recette-v4 :where(input::placeholder, textarea::placeholder),
html[data-pd-theme="dark"] body.page-recette-v4 :where(input::placeholder, textarea::placeholder) {
  color: #85858c;
}

:root[data-theme="dark"] body.page-recette-v4 a.rv4-video-jump[data-rv4-video-jump],
:root.theme-dark body.page-recette-v4 a.rv4-video-jump[data-rv4-video-jump],
html[data-pd-theme="dark"] body.page-recette-v4 a.rv4-video-jump[data-rv4-video-jump] {
  background: rgba(24, 24, 26, .96);
  border-color: rgba(255, 255, 255, .16);
  color: #ffd4c4;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255, 255, 255, .05) inset;
}

:root[data-theme="dark"] body.page-recette-v4 .rv4-video-modal__backdrop,
:root.theme-dark body.page-recette-v4 .rv4-video-modal__backdrop,
html[data-pd-theme="dark"] body.page-recette-v4 .rv4-video-modal__backdrop {
  background: rgba(0, 0, 0, .78);
}

:root[data-theme="dark"] body.page-recette-v4 .rv4-video-modal__dialog,
:root.theme-dark body.page-recette-v4 .rv4-video-modal__dialog,
html[data-pd-theme="dark"] body.page-recette-v4 .rv4-video-modal__dialog {
  background: #151517;
  border-color: var(--rv4-line);
  color: var(--rv4-ink);
}
