/* ──────────────────────────────────────────────────────────────
   Rendevu Design System (v1)
   Scopé à `body.rv-themed` pour opt-in progressif sans casser
   les styles existants (style.css, rdv-marketing-stack.css, etc.).

   Utilisation :
     <body class="mp-body mp-has-fixed-header rv-themed ...">
     {% include "_rv_design_head.html" %}

   Composants disponibles :
     .rv-hero, .rv-section, .rv-eyebrow, .rv-h2, .rv-lead
     .rv-btn (primary/ghost/outline) + .rv-btn--lg / --block / --sm
     .rv-cta-row, .rv-proof, .rv-hero__hint
     .rv-trust / .rv-chip / .rv-tag
     .rv-card, .rv-grid (2/3/4 cols), .rv-how, .rv-activity, .rv-stories
     .rv-testi (cards with initial avatars + quote)
     .rv-faq (details/summary accordion)
     .rv-privacy, .rv-close, .rv-sticky
     .rv-form (label/input/select/textarea/row2), .rv-modal
     .rv-legal (card/toc/promise/note)
     .rv-strip (face strip horizontal)
   ────────────────────────────────────────────────────────────── */

/* Reset flow (scroll fiable iOS/Safari) — s'applique à toutes les pages thémées. */
html:has(body.rv-themed) {
  height: auto !important;
  min-height: 100svh;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
body.rv-themed {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #0b1422;
  color: #f8fafc;
}
body.rv-themed > main.mp-main {
  padding-top: 0;
  padding-bottom: 0;
  flex: none !important;
  min-height: 0 !important;
}

/* ── Tokens ── */
body.rv-themed {
  --rv-rose: #ff2e79;
  --rv-rose-2: #ff6b9e;
  --rv-violet: #a855f7;
  --rv-indigo: #6366f1;
  --rv-navy: #0b1422;
  --rv-navy-2: #152238;
  --rv-ink: #f8fafc;
  --rv-ink-muted: rgba(248, 250, 252, 0.72);
  --rv-ink-soft: rgba(248, 250, 252, 0.54);
  --rv-surface: rgba(255, 255, 255, 0.045);
  --rv-surface-2: rgba(255, 255, 255, 0.08);
  --rv-surface-3: rgba(255, 255, 255, 0.12);
  --rv-border: rgba(255, 255, 255, 0.1);
  --rv-border-2: rgba(255, 255, 255, 0.18);
  --rv-border-3: rgba(255, 255, 255, 0.28);
  --rv-radius-sm: 12px;
  --rv-radius: 18px;
  --rv-radius-lg: 26px;
  --rv-shadow-sm: 0 6px 20px -10px rgba(0, 0, 0, 0.65);
  --rv-shadow: 0 22px 48px -24px rgba(0, 0, 0, 0.6);
  --rv-shadow-glow: 0 24px 60px -18px rgba(255, 46, 121, 0.45);
  --rv-grad-rose: linear-gradient(135deg, #ff2e79 0%, #ff6b9e 65%, #ff9ec4 100%);
  --rv-grad-violet: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --rv-pad-x: clamp(1rem, 4vw, 1.35rem);
}

/* ── Section / type / eyebrow ── */
body.rv-themed .rv-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.25rem) var(--rv-pad-x);
}
body.rv-themed .rv-section--tight { padding-top: clamp(1.5rem, 4vw, 2.2rem); }
body.rv-themed .rv-section--narrow { max-width: 48rem; }

body.rv-themed .rv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 46, 121, 0.12);
  border: 1px solid rgba(255, 46, 121, 0.28);
  color: #ffb9d3;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.rv-themed .rv-eyebrow--violet {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.3);
  color: #d8b4fe;
}

body.rv-themed .rv-h1,
body.rv-themed .rv-h2 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
  margin: 0.55rem 0 0.35rem;
}
body.rv-themed .rv-h1 { font-size: clamp(2.1rem, 7vw, 3.25rem); letter-spacing: 0.015em; }
body.rv-themed .rv-h2 { font-size: clamp(1.65rem, 5vw, 2.5rem); }
body.rv-themed .rv-h1 em,
body.rv-themed .rv-h2 em,
body.rv-themed .rv-text-rose {
  font-style: normal;
  background: linear-gradient(135deg, #ff2e79 0%, #ff9ec4 55%, #ff2e79 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.rv-themed .rv-lead {
  max-width: 44rem;
  color: var(--rv-ink-muted);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  line-height: 1.6;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
}
body.rv-themed .rv-lead strong { color: #fff; font-weight: 700; }
body.rv-themed .rv-lead a { color: #ffb9d3; font-weight: 600; text-decoration: none; }
body.rv-themed .rv-lead a:hover { color: #fff; text-decoration: underline; }

body.rv-themed .rv-prose { color: var(--rv-ink-muted); line-height: 1.65; }
body.rv-themed .rv-prose strong { color: #fff; }
body.rv-themed .rv-prose a { color: #ffb9d3; text-decoration: none; font-weight: 600; }
body.rv-themed .rv-prose a:hover { color: #fff; text-decoration: underline; }

/* ── HERO ── */
body.rv-themed .rv-hero {
  position: relative;
  min-height: min(100svh, 880px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--hdr-offset-mobile, 88px) + clamp(1rem, 3vw, 2rem)) var(--rv-pad-x) clamp(2rem, 6vw, 3.25rem);
  overflow: hidden;
  background: #0b1422;
}
body.rv-themed .rv-hero--compact { min-height: min(70svh, 560px); }
body.rv-themed .rv-hero--center { align-items: center; }
@media (min-width: 960px) {
  body.rv-themed .rv-hero {
    align-items: center;
    min-height: min(92svh, 820px);
    padding: calc(var(--hdr-offset-desktop, 110px) + 2.5rem) var(--rv-pad-x) 3.5rem;
  }
  body.rv-themed .rv-hero--compact { min-height: min(60svh, 520px); }
}
body.rv-themed .rv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b1422 center/cover no-repeat;
}
body.rv-themed .rv-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
body.rv-themed .rv-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(255, 46, 121, 0.22), transparent 55%),
    radial-gradient(70% 55% at 95% 10%, rgba(168, 85, 247, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(11, 20, 34, 0.25) 0%, rgba(11, 20, 34, 0.55) 45%, rgba(11, 20, 34, 0.92) 100%);
}
body.rv-themed .rv-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 960px) {
  body.rv-themed .rv-hero__inner { margin: 0; text-align: left; }
  body.rv-themed .rv-hero--center .rv-hero__inner { margin: 0 auto; text-align: center; }
}
body.rv-themed .rv-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.rv-themed .rv-hero__eyebrow--live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: rvPulse 2.4s ease-in-out infinite;
}
@keyframes rvPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
body.rv-themed .rv-hero__h1 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  margin: clamp(0.85rem, 2.5vw, 1.2rem) 0 0.65rem;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
body.rv-themed .rv-hero__h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ff2e79 0%, #ff9ec4 55%, #ff2e79 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
body.rv-themed .rv-hero__sub {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: rgba(248, 250, 252, 0.88);
  font-size: clamp(0.98rem, 2.6vw, 1.12rem);
  line-height: 1.55;
  font-weight: 500;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}
@media (min-width: 960px) {
  body.rv-themed .rv-hero__inner .rv-hero__sub { margin-left: 0; margin-right: 0; }
  body.rv-themed .rv-hero--center .rv-hero__sub { margin-left: auto; margin-right: auto; }
}

body.rv-themed .rv-hero__hint {
  position: absolute;
  bottom: clamp(0.65rem, 2vw, 1.1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  pointer-events: none;
  text-decoration: none;
}
body.rv-themed .rv-hero__hint svg { animation: rvBob 2.2s ease-in-out infinite; }
@keyframes rvBob {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(4px); opacity: 1; }
}
@media (max-width: 559px) { body.rv-themed .rv-hero__hint { display: none; } }

/* ── Buttons ── */
body.rv-themed .rv-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 560px) {
  body.rv-themed .rv-cta-row { flex-direction: row; align-items: center; flex-wrap: wrap; max-width: none; }
}
@media (min-width: 960px) {
  body.rv-themed .rv-hero__inner .rv-cta-row { margin: 0; justify-content: flex-start; }
}

body.rv-themed .rv-btn {
  --rv-btn-pad-y: 14px;
  --rv-btn-pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: var(--rv-btn-pad-y) var(--rv-btn-pad-x);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
body.rv-themed .rv-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 0 0 5px rgba(255, 46, 121, 0.65);
}
body.rv-themed .rv-btn--primary {
  background: var(--rv-grad-rose);
  color: #fff;
  box-shadow: var(--rv-shadow-glow);
}
body.rv-themed .rv-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 28px 64px -20px rgba(255, 46, 121, 0.55); }
body.rv-themed .rv-btn--primary:active { transform: translateY(0); }
body.rv-themed .rv-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.rv-themed .rv-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
body.rv-themed .rv-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
body.rv-themed .rv-btn--outline:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.6); }
body.rv-themed .rv-btn--danger {
  background: transparent;
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.6);
}
body.rv-themed .rv-btn--danger:hover { background: rgba(248, 113, 113, 0.12); color: #fff; border-color: #f87171; }
body.rv-themed .rv-btn--lg { --rv-btn-pad-y: 16px; --rv-btn-pad-x: 26px; font-size: 1.02rem; }
body.rv-themed .rv-btn--sm { --rv-btn-pad-y: 9px; --rv-btn-pad-x: 15px; font-size: 0.88rem; border-radius: 11px; }
body.rv-themed .rv-btn--block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  body.rv-themed .rv-btn { transition: none; }
  body.rv-themed .rv-btn--primary:hover { transform: none; }
  body.rv-themed .rv-hero__hint svg { animation: none; }
  body.rv-themed .rv-hero__eyebrow--live::before { animation: none; }
  body.rv-themed .rv-hero__video { display: none; }
}

/* ── Proof pastilles (avatars + stars + meta) ── */
body.rv-themed .rv-proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
@media (min-width: 960px) {
  body.rv-themed .rv-hero__inner .rv-proof { justify-content: flex-start; }
}
body.rv-themed .rv-proof__avs { display: inline-flex; align-items: center; }
body.rv-themed .rv-proof__av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  border: 2px solid rgba(11, 20, 34, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
body.rv-themed .rv-proof__av + .rv-proof__av { margin-left: -10px; }
body.rv-themed .rv-proof__av:nth-child(1) { background: linear-gradient(140deg, #7c3aed, #db2777); }
body.rv-themed .rv-proof__av:nth-child(2) { background: linear-gradient(140deg, #4f46e5, #ec4899); z-index: 1; }
body.rv-themed .rv-proof__av:nth-child(3) { background: linear-gradient(140deg, #a855f7, #6366f1); z-index: 2; }
body.rv-themed .rv-proof__av:nth-child(4) { background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 0.68rem; z-index: 3; }
body.rv-themed .rv-proof__txt { color: rgba(255, 255, 255, 0.82); font-size: 0.86rem; font-weight: 600; }
body.rv-themed .rv-proof__txt strong { color: #fff; font-weight: 800; }
body.rv-themed .rv-proof__stars {
  display: inline-flex;
  gap: 1px;
  color: #fbbf24;
  font-size: 0.76rem;
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* ── Trust / chip strip ── */
body.rv-themed .rv-trust {
  position: relative;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.07), rgba(255, 46, 121, 0.05));
  border-top: 1px solid var(--rv-border);
  border-bottom: 1px solid var(--rv-border);
}
body.rv-themed .rv-trust__row {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.9rem var(--rv-pad-x);
  max-width: 72rem;
  margin: 0 auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
body.rv-themed .rv-trust__row::-webkit-scrollbar { display: none; }
body.rv-themed .rv-chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rv-border);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
body.rv-themed .rv-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--rv-border-2); }
body.rv-themed .rv-chip b { font-weight: 800; color: #ffd3e1; }
body.rv-themed .rv-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--rv-border-2);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}
body.rv-themed .rv-tag--rose { background: rgba(255, 46, 121, 0.14); border-color: rgba(255, 46, 121, 0.35); color: #ffb9d3; }
body.rv-themed .rv-tag--violet { background: rgba(168, 85, 247, 0.14); border-color: rgba(168, 85, 247, 0.35); color: #d8b4fe; }
body.rv-themed .rv-tag--green { background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }
body.rv-themed .rv-tag--amber { background: rgba(251, 191, 36, 0.14); border-color: rgba(251, 191, 36, 0.35); color: #fde68a; }

/* ── Generic cards & grids ── */
body.rv-themed .rv-card {
  padding: 1.2rem 1.1rem 1.1rem;
  border-radius: var(--rv-radius-lg);
  background: var(--rv-surface);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
body.rv-themed .rv-card--hover:hover { transform: translateY(-2px); border-color: var(--rv-border-2); }
body.rv-themed .rv-card--gradient {
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 46, 121, 0.12), transparent 55%),
    var(--rv-surface);
}
body.rv-themed .rv-card--violet {
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(168, 85, 247, 0.1), transparent 55%),
    var(--rv-surface);
}
body.rv-themed .rv-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
}
body.rv-themed .rv-card p {
  margin: 0;
  color: var(--rv-ink-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
body.rv-themed .rv-card p strong { color: #fff; }
body.rv-themed .rv-card p + p { margin-top: 0.6rem; }

body.rv-themed .rv-grid-2,
body.rv-themed .rv-grid-3,
body.rv-themed .rv-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 760px) {
  body.rv-themed .rv-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  body.rv-themed .rv-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  body.rv-themed .rv-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 1080px) {
  body.rv-themed .rv-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* ── Numbered step cards (how it works) ── */
body.rv-themed .rv-how__card {
  position: relative;
  padding: 1.4rem 1.1rem 1.1rem;
  border-radius: var(--rv-radius-lg);
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255, 46, 121, 0.12), transparent 55%),
    var(--rv-surface);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
body.rv-themed .rv-how__card:hover { transform: translateY(-2px); border-color: var(--rv-border-2); }
body.rv-themed .rv-how__num {
  position: absolute;
  top: -12px;
  left: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  background: var(--rv-grad-rose);
  box-shadow: 0 8px 22px -8px rgba(255, 46, 121, 0.6);
}
body.rv-themed .rv-how__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 46, 121, 0.12);
  border: 1px solid rgba(255, 46, 121, 0.28);
  color: #ff9ec4;
  margin-bottom: 0.85rem;
}
body.rv-themed .rv-how__icon svg { width: 22px; height: 22px; }

/* ── Activity grid (tuiles image + label bottom) ── */
body.rv-themed .rv-activity__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 760px) {
  body.rv-themed .rv-activity__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
body.rv-themed .rv-activity__card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 18px;
  background: #0c1018;
  border: 1px solid var(--rv-border);
  list-style: none;
}
body.rv-themed .rv-activity__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
body.rv-themed .rv-activity__card:hover img { transform: scale(1.06); }
body.rv-themed .rv-activity__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 0.75rem 0.7rem;
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  background: linear-gradient(to top, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.5) 45%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  body.rv-themed .rv-activity__card img,
  body.rv-themed .rv-activity__card:hover img { transition: none; transform: none; }
}

/* ── Stories (photo + quote + caption) ── */
body.rv-themed .rv-stories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 760px) {
  body.rv-themed .rv-stories__grid { grid-template-columns: repeat(3, 1fr); }
}
body.rv-themed .rv-story {
  margin: 0;
  padding: 0;
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  background: var(--rv-surface);
  border: 1px solid var(--rv-border);
}
body.rv-themed .rv-story img {
  display: block;
  width: 100%;
  height: clamp(180px, 28vw, 240px);
  object-fit: cover;
}
body.rv-themed .rv-story blockquote {
  margin: 0;
  padding: 1rem 1rem 0.4rem;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}
body.rv-themed .rv-story figcaption {
  padding: 0 1rem 1rem;
  color: var(--rv-ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}
body.rv-themed .rv-story figcaption strong { color: #fff; font-weight: 700; }

/* ── Testimonials (initial avatar + quote + who) ── */
body.rv-themed .rv-testi__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
  font-size: 0.76rem;
  font-weight: 700;
}
body.rv-themed .rv-testi__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 0.75rem;
}
@media (min-width: 760px) {
  body.rv-themed .rv-testi__grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
}
body.rv-themed .rv-testi__card {
  position: relative;
  padding: 1.3rem 1.15rem 1.1rem;
  border-radius: var(--rv-radius-lg);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(168, 85, 247, 0.1), transparent 55%),
    var(--rv-surface);
  border: 1px solid var(--rv-border);
  box-shadow: var(--rv-shadow);
}
body.rv-themed .rv-testi__stars {
  color: #fbbf24;
  letter-spacing: 0.05em;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}
body.rv-themed .rv-testi__quote {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}
body.rv-themed .rv-testi__foot { display: flex; align-items: center; gap: 0.65rem; }
body.rv-themed .rv-testi__av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.96rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
body.rv-themed .rv-testi__card:nth-child(3n+1) .rv-testi__av { background: linear-gradient(140deg, #7c3aed, #db2777); }
body.rv-themed .rv-testi__card:nth-child(3n+2) .rv-testi__av { background: linear-gradient(140deg, #4f46e5, #ec4899); }
body.rv-themed .rv-testi__card:nth-child(3n+3) .rv-testi__av { background: linear-gradient(140deg, #a855f7, #6366f1); }
body.rv-themed .rv-testi__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
body.rv-themed .rv-testi__name { color: #fff; font-weight: 700; font-size: 0.9rem; }
body.rv-themed .rv-testi__meta { color: var(--rv-ink-soft); font-size: 0.76rem; }

/* ── FAQ accordion ── */
body.rv-themed .rv-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: clamp(1rem, 3vw, 1.4rem);
}
body.rv-themed .rv-faq__item {
  border: 1px solid var(--rv-border);
  border-radius: 16px;
  background: var(--rv-surface);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body.rv-themed .rv-faq__item[open] {
  border-color: var(--rv-border-2);
  background: rgba(255, 255, 255, 0.07);
}
body.rv-themed .rv-faq__summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  list-style: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  user-select: none;
}
body.rv-themed .rv-faq__summary::-webkit-details-marker { display: none; }
body.rv-themed .rv-faq__summary::after {
  content: "";
  margin-left: auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
body.rv-themed .rv-faq__item[open] .rv-faq__summary::after {
  transform: rotate(-135deg);
  border-color: #fff;
}
body.rv-themed .rv-faq__body {
  padding: 0 1.1rem 1.1rem;
  color: var(--rv-ink-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
body.rv-themed .rv-faq__body p { margin: 0; }
body.rv-themed .rv-faq__body p + p { margin-top: 0.65rem; }
body.rv-themed .rv-faq__body a { color: #ffb9d3; font-weight: 600; }
body.rv-themed .rv-faq__body a:hover { color: #fff; }
body.rv-themed .rv-faq__body strong { color: #fff; }
body.rv-themed .rv-faq__more {
  margin-top: 1rem;
  text-align: center;
}
body.rv-themed .rv-faq__more a {
  color: #ffb9d3;
  font-weight: 700;
  text-decoration: none;
}
body.rv-themed .rv-faq__more a:hover { text-decoration: underline; }

/* ── Privacy banner card ── */
body.rv-themed .rv-privacy {
  position: relative;
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.15rem, 3vw, 1.75rem);
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.78) 0%, rgba(16, 24, 39, 0.94) 100%);
  border: 1px solid var(--rv-border);
}
body.rv-themed .rv-privacy__body { position: relative; z-index: 1; max-width: 44rem; }
body.rv-themed .rv-privacy__body p + p { margin-top: 0.7rem; }
body.rv-themed .rv-privacy__body strong { color: #fff; }
body.rv-themed .rv-privacy__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  color: #ffb9d3;
  font-weight: 700;
  text-decoration: none;
}
body.rv-themed .rv-privacy__link:hover { color: #fff; text-decoration: underline; }

/* ── Closing CTA (rose/violet radial bg) ── */
body.rv-themed .rv-close {
  position: relative;
  padding: clamp(2.5rem, 7vw, 4rem) var(--rv-pad-x);
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 46, 121, 0.18), transparent 60%),
    radial-gradient(60% 50% at 80% 100%, rgba(168, 85, 247, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(11, 20, 34, 0.2), rgba(11, 20, 34, 0.6));
}
body.rv-themed .rv-close__inner { max-width: 44rem; margin: 0 auto; }
body.rv-themed .rv-close h2 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: #fff;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
body.rv-themed .rv-close p { margin: 0 0 1.2rem; color: var(--rv-ink-muted); font-size: 1rem; line-height: 1.55; }

/* ── Sticky Mobile CTA ── */
body.rv-themed .rv-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9500;
  padding: 0.65rem var(--rv-pad-x) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(11, 20, 34, 0.75) 0%, rgba(11, 20, 34, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rv-border);
  transform: translateY(120%);
  transition: transform 0.3s ease;
  pointer-events: none;
}
body.rv-themed .rv-sticky.is-visible { transform: translateY(0); pointer-events: auto; }
body.rv-themed .rv-sticky__inner {
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
body.rv-themed .rv-sticky .rv-btn { flex: 1; padding: 13px 18px; font-size: 0.98rem; }
body.rv-themed .rv-sticky__meta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
body.rv-themed .rv-sticky__meta-main { color: #fff; font-weight: 800; font-size: 0.84rem; }
body.rv-themed .rv-sticky__meta-sub { color: rgba(255, 255, 255, 0.6); font-size: 0.7rem; font-weight: 600; }
@media (min-width: 960px) { body.rv-themed .rv-sticky { display: none; } }
body.rv-themed.mp-body:has(.mp-bottom-tabbar) .rv-sticky { display: none; }

/* ── Face strip ── */
body.rv-themed .rv-strip {
  display: flex;
  overflow-x: auto;
  gap: 0.4rem;
  padding: 0.6rem var(--rv-pad-x) 1.3rem;
  max-width: 72rem;
  margin: 0 auto;
  scrollbar-width: none;
}
body.rv-themed .rv-strip::-webkit-scrollbar { display: none; }
body.rv-themed .rv-strip__cell {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--rv-border-2);
  background: rgba(255, 255, 255, 0.05);
}
body.rv-themed .rv-strip__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Forms ── */
body.rv-themed .rv-form { display: flex; flex-direction: column; gap: 1rem; }
body.rv-themed .rv-form__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  body.rv-themed .rv-form__row2 { grid-template-columns: 1fr 1fr; }
}
body.rv-themed .rv-label {
  display: block;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
body.rv-themed .rv-input,
body.rv-themed .rv-select,
body.rv-themed .rv-textarea {
  width: 100%;
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rv-border-2);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
body.rv-themed .rv-input::placeholder,
body.rv-themed .rv-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
body.rv-themed .rv-input:hover,
body.rv-themed .rv-select:hover,
body.rv-themed .rv-textarea:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--rv-border-3);
}
body.rv-themed .rv-input:focus,
body.rv-themed .rv-select:focus,
body.rv-themed .rv-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 46, 121, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 46, 121, 0.2);
}
body.rv-themed .rv-textarea { min-height: 8rem; resize: vertical; }
body.rv-themed .rv-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 14px;
  padding-right: 2.4rem;
}
body.rv-themed .rv-form__hint {
  font-size: 0.78rem;
  color: var(--rv-ink-soft);
  margin-top: 0.4rem;
}
body.rv-themed .rv-form__error {
  font-size: 0.82rem;
  color: #fca5a5;
  margin-top: 0.4rem;
  font-weight: 600;
}
body.rv-themed .rv-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--rv-ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  cursor: pointer;
}
body.rv-themed .rv-check input {
  margin: 0.18rem 0 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--rv-rose);
}
body.rv-themed .rv-check a { color: #ffb9d3; font-weight: 600; }

/* ── Modal ── */
body.rv-themed .rv-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
body.rv-themed .rv-modal[data-open="true"] { display: flex; }
body.rv-themed .rv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.rv-themed .rv-modal__panel {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  width: 100%;
  background: #152238;
  border: 1px solid var(--rv-border-2);
  border-radius: var(--rv-radius-lg);
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  text-align: center;
}
body.rv-themed .rv-modal__panel h3 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.015em;
  margin: 0 0 0.6rem;
  color: #fff;
}
body.rv-themed .rv-modal__panel p { margin: 0 0 1.1rem; color: var(--rv-ink-muted); line-height: 1.55; }

/* ── Legal pages (TOC + cards) ── */
body.rv-themed .rv-legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.2rem) var(--rv-pad-x) clamp(2.5rem, 7vw, 4rem);
}
@media (min-width: 980px) {
  body.rv-themed .rv-legal { grid-template-columns: 240px 1fr; }
}
body.rv-themed .rv-legal__toc {
  position: sticky;
  top: calc(var(--hdr-offset-mobile, 88px) + 12px);
  align-self: start;
  background: var(--rv-surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius);
  padding: 1rem 1.1rem;
}
@media (min-width: 1250px) {
  body.rv-themed .rv-legal__toc { top: calc(var(--hdr-offset-desktop, 110px) + 12px); }
}
body.rv-themed .rv-legal__toc strong {
  color: var(--rv-ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.rv-themed .rv-legal__toc a {
  display: block;
  color: var(--rv-ink-muted);
  text-decoration: none;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s;
  border-radius: 8px;
}
body.rv-themed .rv-legal__toc a:hover { color: #fff; }
body.rv-themed .rv-legal__content { display: grid; gap: 1.5rem; min-width: 0; }
body.rv-themed .rv-legal__card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--rv-radius-lg);
  background: var(--rv-surface);
  border: 1px solid var(--rv-border);
}
body.rv-themed .rv-legal__card h2 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}
body.rv-themed .rv-legal__card h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
body.rv-themed .rv-legal__card p,
body.rv-themed .rv-legal__card ul,
body.rv-themed .rv-legal__card ol {
  line-height: 1.68;
  margin-top: 0.5rem;
  color: var(--rv-ink-muted);
}
body.rv-themed .rv-legal__card ul,
body.rv-themed .rv-legal__card ol { padding-left: 1.2rem; }
body.rv-themed .rv-legal__card li { margin-top: 0.35rem; }
body.rv-themed .rv-legal__card a { color: #ffb9d3; font-weight: 600; }
body.rv-themed .rv-legal__card a:hover { color: #fff; }
body.rv-themed .rv-legal__card strong { color: #fff; }
body.rv-themed .rv-legal__card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85em;
  color: #ffb9d3;
}
body.rv-themed .rv-legal__muted { font-size: 0.85rem; color: var(--rv-ink-soft); margin-top: 0.5rem; }
body.rv-themed .rv-legal__note {
  background: rgba(255, 46, 121, 0.08);
  border: 1px solid rgba(255, 46, 121, 0.22);
  color: var(--rv-ink-muted);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
}
body.rv-themed .rv-legal__promise {
  border-left: 3px solid var(--rv-rose);
  padding: 0.65rem 0 0.65rem 1rem;
  margin: 0 0 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 10px 10px 0;
  color: var(--rv-ink-muted);
  line-height: 1.65;
}
body.rv-themed .rv-legal__card article[id],
body.rv-themed .rv-legal__card[id] {
  scroll-margin-top: calc(var(--hdr-offset-mobile, 88px) + 1rem);
}
@media (min-width: 1250px) {
  body.rv-themed .rv-legal__card article[id],
  body.rv-themed .rv-legal__card[id] {
    scroll-margin-top: calc(var(--hdr-offset-desktop, 110px) + 1rem);
  }
}

/* ── Coord block (contact sidebar) ── */
body.rv-themed .rv-coord {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
body.rv-themed .rv-coord__block {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--rv-surface);
  border: 1px solid var(--rv-border);
}
body.rv-themed .rv-coord__label {
  color: var(--rv-ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
body.rv-themed .rv-coord__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
body.rv-themed .rv-coord__link:hover { color: #ffb9d3; }
body.rv-themed .rv-coord__note { color: var(--rv-ink-soft); font-size: 0.78rem; margin: 0.4rem 0 0; }

/* ── Empty states / 404 ── */
body.rv-themed .rv-empty {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) var(--rv-pad-x);
  text-align: center;
  color: var(--rv-ink-muted);
}
body.rv-themed .rv-empty__glyph {
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 30px rgba(255, 46, 121, 0.35));
}
body.rv-themed .rv-empty h1 {
  font-family: 'Anton', 'Poppins', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 0.55rem;
}
body.rv-themed .rv-empty p { margin: 0 0 1.35rem; font-size: 1rem; line-height: 1.55; }

/* ── Utilities ── */
body.rv-themed .rv-center { text-align: center; }
body.rv-themed .rv-mx-auto { margin-left: auto; margin-right: auto; }
body.rv-themed .rv-divider {
  height: 1px;
  background: var(--rv-border);
  border: 0;
  margin: clamp(1.5rem, 4vw, 2.2rem) 0;
}
body.rv-themed .rv-hidden { display: none !important; }
@media (max-width: 559px) {
  body.rv-themed .rv-hide-mobile { display: none !important; }
}
@media (min-width: 560px) {
  body.rv-themed .rv-show-mobile { display: none !important; }
}
