/* Restovia : styles communs à toutes les pages du site vitrine. */
/* ==========================================================================
   Restovia — page d'accueil
   Concept : le service du soir. Le noir ouvre et ferme la page (hero, soirées,
   pied de page), le papier clair porte la lecture. Le lime n'est jamais un fond :
   il ne sert qu'en touches (boutons, coches, étiquettes, ticket).
   Tout est aligné à gauche.
   ========================================================================== */
:root {
  /* Charte */
  --lime: #E8FF47;
  --ink: #0A0A0A;
  --ink-soft: #18181B;
  --paper: #F5F5F2;
  --card: #FFFFFF;
  --line: #E6E6E0;
  --body: #44443E;
  --muted: #6B6B64;
  --stone: #E7E7DF;
  /* Surfaces sombres (application, nuit) */
  --night: #0A0A0A;
  --night-card: #141414;
  --night-line: #2A2A2A;
  --night-text: #F0F0E8;
  --night-muted: #A0A098;
  /* Canaux */
  --src-site: #E8FF47;
  --src-google: #7FB4FF;
  --src-insta: #F29BD4;
  --src-tel: #FFB44A;

  /* Typographie */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --t-h3: clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --t-h2: clamp(1.875rem, 1.35rem + 2.4vw, 3.125rem);
  --t-h1: clamp(2.375rem, 1.4rem + 4.2vw, 4.25rem);

  /* Mise en page */
  --wrap: 73.75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.75rem, 8vw, 6.75rem);
  --r-s: 0.5rem;
  --r-m: 0.875rem;
  --r-l: 1.25rem;
  --shadow-mock: 0 1px 0 rgba(10, 10, 10, 0.03), 0 14px 28px -12px rgba(10, 10, 10, 0.14), 0 36px 60px -30px rgba(10, 10, 10, 0.2);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%230A0A0A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-lime: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23E8FF47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}
h2 { font-size: var(--t-h2); }
h3, .rv-h3 { font-size: var(--t-h3); line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.rv-night :focus-visible { outline-color: var(--lime); }

.rv-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.rv-section { padding-block: var(--section); }
.rv-section--card { background: var(--card); }
.rv-night { background: var(--night); color: var(--night-muted); }
.rv-night h2, .rv-night h3 { color: var(--night-text); }
.rv-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.rv-lead { font-size: var(--t-lead); line-height: 1.5; margin-top: 1.1rem; }

.rv-skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--lime); padding: 0.75rem 1rem; border-radius: var(--r-s); font-weight: 700; }
.rv-skip:focus { top: 1rem; }

/* ---------- Boutons et liens ---------- */
.rv-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0.75rem 1.5rem;
  border: 2px solid transparent; border-radius: 0.75rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: translate 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.rv-btn:hover { translate: 0 -2px; }
.rv-btn--ink { background: var(--ink); color: var(--lime); }
.rv-btn--lime { background: var(--lime); color: var(--ink); }
.rv-btn--ghost { border-color: currentColor; color: var(--ink); }
.rv-btn--ghost-light { border-color: currentColor; color: var(--night-text); }
.rv-btn--s { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; border-radius: 0.625rem; }
.rv-link {
  color: var(--ink); font-weight: 700;
  text-decoration: underline; text-decoration-color: var(--lime);
  text-decoration-thickness: 0.2em; text-underline-offset: 0.25em;
}
.rv-link:hover { text-decoration-color: var(--ink); }
.rv-night .rv-link { color: var(--night-text); text-decoration-color: var(--lime); }
.rv-night .rv-link:hover { text-decoration-color: var(--night-text); }

.rv-checks { display: grid; gap: 0.7rem; }
.rv-checks li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); gap: 0.75rem; align-items: start; color: var(--ink-soft); }
.rv-checks li::before {
  content: ""; width: 1.375rem; height: 1.375rem; margin-top: 0.15rem; border-radius: 0.375rem;
  background: var(--lime) var(--check) center / 72% no-repeat;
}
.rv-checks--ink li::before { background: var(--ink) var(--check-lime) center / 72% no-repeat; }

/* ---------- En-tête ---------- */
.rv-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--night-text); transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.rv-header.is-scrolled { background: rgba(245, 245, 242, 0.94); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.rv-header:not(.is-scrolled) :focus-visible { outline-color: var(--lime); }
/* Le menu ouvert est blanc : son contour de focus repasse au noir. */
.rv-menu[popover] :focus-visible { outline-color: var(--ink); }
.rv-header__inner { display: flex; align-items: center; gap: 0.625rem; max-width: var(--wrap); margin-inline: auto; padding: 0.625rem var(--gutter); }
.rv-header__inner > * { flex-shrink: 0; white-space: nowrap; }
.rv-header.is-measuring, .rv-header.is-measuring * { transition: none !important; }
.rv-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-inline-end: auto; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.03em; color: inherit; }
.rv-logo img { border-radius: 0.5rem; }
.rv-header__cta { background: var(--lime); color: var(--ink); }
.rv-header.is-scrolled .rv-header__cta { background: var(--ink); color: var(--lime); }
.rv-nav { order: 3; }
.rv-menu-btn {
  anchor-name: --rv-menu-btn;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 2px solid currentColor; border-radius: 0.625rem; background: transparent; color: inherit; cursor: pointer;
}
.rv-menu {
  position: fixed; inset: auto;
  inset-block-start: 4.25rem;
  inset-block-start: anchor(--rv-menu-btn bottom);
  inset-inline-end: var(--gutter);
  inline-size: min(80dvw, 19rem); max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content; max-block-size: calc(100dvh - 6rem);
  margin: 0; margin-block-start: 0.5rem; padding: 0.5rem; overflow: auto;
  border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-mock);
}
.rv-menu a { display: block; padding: 0.8rem 1rem; border-radius: var(--r-s); font-weight: 500; text-decoration: none; color: var(--ink); }
.rv-menu a:hover { background: var(--paper); }
@supports not selector(:popover-open) {
  .rv-menu[popover]:not(.\:popover-open) { display: none; }
}
.rv-header.is-wide .rv-nav { order: 0; margin-inline-end: auto; }
.rv-header.is-wide .rv-logo { margin-inline-end: clamp(1rem, 4vw, 3rem); }
.rv-header.is-wide .rv-menu-btn { display: none; }
.rv-header.is-wide .rv-menu {
  position: static; display: flex; align-items: center; gap: 0.25rem;
  inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none;
  margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; color: inherit;
}
.rv-header.is-wide .rv-menu a { padding: 0.5rem 0.8rem; color: inherit; }
.rv-header.is-wide .rv-menu a:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

/* ---------- Hero ---------- */
.rv-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(3.5rem, 8vw, 6rem); overflow-x: clip; }
.rv-hero__grid { display: grid; gap: clamp(2.75rem, 6vw, 4.5rem); align-items: center; }
.rv-hero h1 { font-size: var(--t-h1); letter-spacing: -0.04em; line-height: 1; color: var(--night-text); }
/* La seule touche de lime du titre : un trait sous la promesse */
@media (min-width: 23rem) { .rv-mark { white-space: nowrap; } }
.rv-mark { background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 0.08em no-repeat; padding-bottom: 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rv-hero__lead { max-width: 35rem; margin-top: 1.9rem; font-size: var(--t-lead); line-height: 1.5; color: #D2D2C8; }
.rv-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.rv-hero__cta .rv-btn, .rv-final__cta .rv-btn { flex: 1 1 100%; }
.rv-hero .rv-checks { margin-top: 1.75rem; font-weight: 500; }
.rv-hero .rv-checks li { color: var(--night-text); }

/* Photo du service, carnet posé dessus, addition qui dépasse */
.rv-stage { position: relative; width: 100%; max-width: 35rem; margin-inline: auto; padding-bottom: 7.25rem; }
.rv-stage__photo { width: 100%; aspect-ratio: 1296 / 985; object-fit: cover; border-radius: var(--r-l); }
.rv-carnet { position: relative; margin: -38% 0.75rem 0; padding: 0.9rem; background: #fff; color: var(--muted); border-radius: var(--r-l); font-size: 0.9375rem; line-height: 1.35; box-shadow: 0 34px 60px -26px rgba(0, 0, 0, 0.85); }
.rv-carnet__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 0.25rem 0.35rem 0.8rem; }
.rv-carnet__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.rv-carnet__meta { font-size: 0.8125rem; }
.rv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.5rem; }
.rv-kpi { padding: 0.55rem 0.75rem; background: var(--paper); border-radius: 0.75rem; font-size: 0.75rem; }
.rv-kpi b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-resas { display: grid; gap: 0.4rem; }
.rv-resa { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr) auto; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 0.75rem; }
.rv-resa__time { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-resa__name { font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-resa__sub { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Étiquette de canal : la même dans le carnet du hero et dans la barre « un seul carnet » */
.rv-src { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.65rem; border-radius: 99px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.rv-src::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dot, #fff); }
.rv-src--site { --dot: var(--src-site); }
.rv-src--google { --dot: var(--src-google); }
.rv-src--insta { --dot: var(--src-insta); }
.rv-src--tel { --dot: var(--src-tel); }

/* L'addition : petit ticket lime */
.rv-ticket { position: absolute; right: -0.25rem; bottom: 0; width: min(13.5rem, 60%); rotate: 3deg; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5)); }
.rv-ticket__paper {
  --zig: 0.4rem;
  padding: 0.85rem 0.95rem 1.45rem; background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-size: 0.8125rem; line-height: 1.45; font-variant-numeric: tabular-nums;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--zig)) 100%;
}
.rv-ticket__title { font-weight: 700; font-size: 1rem; }
.rv-ticket__sub { font-family: var(--font-body); font-size: 0.75rem; margin-bottom: 0.45rem; opacity: 0.75; }
.rv-ticket__row { display: flex; align-items: baseline; gap: 0.4rem; }
.rv-ticket__row i { flex: 1; border-bottom: 1.5px dotted rgba(10, 10, 10, 0.45); translate: 0 -0.2em; }
.rv-ticket__total { margin-top: 0.45rem; padding-top: 0.45rem; border-top: 1.5px dashed var(--ink); font-weight: 700; font-size: 0.9375rem; }

@media (prefers-reduced-motion: no-preference) {
  .rv-carnet .rv-resa { animation: rv-arrive 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  /* Chaque ligne arrive 0,15 s après la précédente. */
  @supports (animation-delay: calc(sibling-index() * 0.1s)) {
    .rv-carnet .rv-resa { animation-delay: calc(0.1s + sibling-index() * 0.15s); }
  }
  @supports not (animation-delay: calc(sibling-index() * 0.1s)) {
    .rv-carnet .rv-resa:nth-child(1) { animation-delay: 0.25s; }
    .rv-carnet .rv-resa:nth-child(2) { animation-delay: 0.4s; }
    .rv-carnet .rv-resa:nth-child(3) { animation-delay: 0.55s; }
    .rv-carnet .rv-resa:nth-child(4) { animation-delay: 0.7s; }
    .rv-carnet .rv-resa:nth-child(5) { animation-delay: 0.85s; }
  }
  .rv-ticket { animation: rv-print 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 1.15s backwards; }
}
@keyframes rv-arrive { from { opacity: 0; translate: 0 0.6rem; } }
@keyframes rv-print { from { opacity: 0; translate: 0 -2.25rem; } }

/* ---------- Canaux ---------- */
.rv-tiles { display: grid; gap: 1rem; }
.rv-tile { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 18px 30px -24px rgba(10, 10, 10, 0.25); }
.rv-tile__visual { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-radius: calc(var(--r-l) - 1px) calc(var(--r-l) - 1px) 0 0; background: var(--stone); }
.rv-tile__visual > img, .rv-tile__visual > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-tile__visual--shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.1) 60%, rgba(10, 10, 10, 0.25)); }
.rv-tile__ui { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 2; display: grid; gap: 0.45rem; font-size: 0.8125rem; line-height: 1.35; color: var(--ink-soft); }
.rv-tile__body { padding: 1.1rem 1.25rem 1.4rem; }
.rv-tile__body h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.375rem; }
.rv-tile__body p { margin-top: 0.45rem; font-size: 1rem; }
.rv-dot { flex: none; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ink); }
.rv-dot::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dot, #fff); }

.rv-browser { position: absolute; z-index: 2; top: 0.75rem; left: 0.75rem; right: 0.75rem; display: flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px -10px rgba(10, 10, 10, 0.35); color: var(--muted); font-size: 0.75rem; }
.rv-browser::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #c9c9c0; box-shadow: 0.7rem 0 #c9c9c0; margin-right: 0.8rem; }
/* Le site web : une carte sombre posée sur la maquette de page dessinée. */
.rv-sitecard { display: grid; gap: 0.45rem; padding: 0.8rem; border-radius: 0.75rem; background: var(--ink); box-shadow: 0 10px 20px -10px rgba(10, 10, 10, 0.5); }
.rv-site__name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.rv-site__sub { color: rgba(255, 255, 255, 0.8); margin-top: -0.25rem; margin-bottom: 0.15rem; }
.rv-pill { display: inline-flex; align-items: center; justify-content: center; padding: 0.45rem 0.75rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.8125rem; white-space: nowrap; }
.rv-pill--lime { background: var(--lime); color: var(--ink); }
.rv-pill--line { border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-weight: 500; }
.rv-pill--blue { background: #1A56C4; color: #fff; }
.rv-place { padding: 0.7rem; border-radius: 0.75rem; background: #fff; box-shadow: 0 10px 20px -10px rgba(10, 10, 10, 0.35); display: grid; gap: 0.45rem; }
.rv-place__name { font-weight: 700; font-size: 0.9375rem; color: var(--ink); line-height: 1.2; }
.rv-place__sub { color: var(--muted); font-size: 0.75rem; margin-top: -0.3rem; }
.rv-place__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.rv-bubble { max-width: 90%; padding: 0.5rem 0.75rem; border-radius: 1rem; background: #fff; color: var(--ink-soft); box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.5); }
.rv-bubble--them { justify-self: start; border-bottom-left-radius: 0.3rem; }
.rv-bubble--me { justify-self: end; background: var(--ink); color: var(--night-text); border-bottom-right-radius: 0.3rem; }
.rv-bubble small { display: block; font-size: 0.6875rem; font-weight: 700; color: var(--lime); }
.rv-callcard { padding: 0.7rem; border-radius: 0.75rem; background: rgba(10, 10, 10, 0.9); color: var(--night-text); display: grid; gap: 0.5rem; }
.rv-call { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.875rem; line-height: 1.2; }
.rv-call__ico { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--lime); color: var(--ink); }
.rv-wave { display: flex; align-items: center; gap: 3px; height: 1.1rem; }
.rv-wave i { width: 3px; border-radius: 2px; background: var(--lime); }
.rv-call__ok { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.1); font-weight: 500; }
.rv-call__ok::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 0.3rem; background: var(--lime) var(--check) center / 72% no-repeat; }

/* Un seul carnet : la barre où aboutissent les quatre canaux */
.rv-book { margin-top: 1rem; padding: 1rem; border-radius: var(--r-l); background: var(--night); color: var(--night-muted); font-size: 0.9375rem; line-height: 1.35; }
.rv-book__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.15rem 0.3rem 0.85rem; }
.rv-book__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.015em; color: var(--night-text); }
.rv-zero { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 99px; background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.rv-book__rows { display: grid; gap: 0.5rem; }
.rv-book .rv-resa { grid-template-columns: 2.9rem minmax(0, 1fr); align-items: start; row-gap: 0.45rem; background: var(--night-card); border-color: var(--night-line); }
.rv-book .rv-resa__time { padding-top: 0.1rem; }
.rv-book .rv-src { grid-column: 2; justify-self: start; }
.rv-book .rv-resa__time, .rv-book .rv-resa__name { color: var(--night-text); }
.rv-book .rv-src { background: transparent; box-shadow: inset 0 0 0 1px var(--night-line); }

.rv-trio { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.rv-trio h3 { font-size: 1.1875rem; letter-spacing: -0.015em; }
.rv-trio p { margin-top: 0.4rem; font-size: 1rem; }
.rv-more { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* ---------- Une seule interface ---------- */
.rv-split { display: grid; gap: clamp(2.25rem, 6vw, 4.75rem); align-items: center; }
.rv-split__text > * + * { margin-top: 1.25rem; }
.rv-split__text .rv-checks { margin-top: 1.5rem; }
.rv-split__text .rv-more { margin-top: 1.75rem; }
.rv-photo { border-radius: var(--r-l); width: 100%; object-fit: cover; }
.rv-photo--portrait { aspect-ratio: 5 / 6; max-width: 30rem; margin-inline: auto; }
.rv-carte { margin-top: 1.75rem; border-top: 1px solid var(--line); }
.rv-carte a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rv-carte__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -0.015em; color: var(--ink); }
.rv-carte__dots { display: none; flex: 1; min-width: 0.75rem; border-bottom: 2px dotted #c4c4ba; translate: 0 -0.3em; }
.rv-carte__desc { color: var(--muted); font-size: 0.9375rem; line-height: 1.35; }
.rv-carte a:hover .rv-carte__name { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.2em; text-underline-offset: 0.2em; }
.rv-note { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Modules (écrans d'exemple) ---------- */
.rv-modules { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
/* Chaque module vit dans son panneau ; l'écran est posé sur une scène plus soutenue */
.rv-panel { background: var(--card); border: 1px solid var(--line); border-radius: 1.75rem; padding: clamp(1.25rem, 4vw, 3.25rem); box-shadow: 0 24px 40px -34px rgba(10, 10, 10, 0.3); }
.rv-scene { display: grid; align-content: center; background: var(--stone); border-radius: var(--r-l); padding: clamp(0.85rem, 3vw, 2rem); }
.rv-panel h2 { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem); }
.rv-panel h2.rv-h3 { font-size: var(--t-h3); }
.rv-label { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 99px; background: var(--ink); color: var(--lime); font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; line-height: 1.3; }
.rv-split__text .rv-label + h2 { margin-top: 0.9rem; }
.rv-mock { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1rem; box-shadow: var(--shadow-mock); font-size: 0.9375rem; line-height: 1.4; color: var(--ink-soft); }
.rv-mock__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 0.75rem; padding: 0.2rem 0.3rem 0.9rem; }
.rv-mock__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; color: var(--ink); }
.rv-mock__sub { color: var(--muted); font-size: 0.8125rem; }
.rv-langs { display: flex; gap: 0.25rem; }
.rv-langs span { padding: 0.2rem 0.45rem; border: 1px solid var(--line); border-radius: 0.375rem; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.rv-langs .is-on { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.rv-dish { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; align-items: center; gap: 0.8rem; padding: 0.6rem 0.3rem; border-top: 1px solid var(--line); }
.rv-dish img { width: 3.5rem; height: 3.5rem; border-radius: 0.625rem; object-fit: cover; }
.rv-dish__name { font-weight: 700; color: var(--ink); }
.rv-dish__sub { font-size: 0.8125rem; color: var(--muted); }
.rv-dish__end { display: grid; justify-items: end; gap: 0.35rem; }
.rv-dish__price { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-toggle { position: relative; width: 2.25rem; height: 1.25rem; border-radius: 99px; background: var(--lime); border: 1px solid var(--lime); }
.rv-toggle::after { content: ""; position: absolute; top: 0.125rem; right: 0.125rem; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--ink); }
.rv-toggle--off { background: #e3e3dc; border-color: #d4d4cc; }
.rv-toggle--off::after { right: auto; left: 0.125rem; background: #fff; }
.rv-dish--off .rv-dish__name, .rv-dish--off .rv-dish__price { color: var(--muted); }
.rv-dish--off img { filter: grayscale(1); opacity: 0.6; }
.rv-tag { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 0.3rem; background: #fde9e2; color: #a5300f; font-size: 0.75rem; font-weight: 700; }
.rv-trad { margin-top: 0.3rem; padding: 0.8rem 0.9rem; border-radius: var(--r-m); background: var(--paper); font-size: 0.8125rem; }
.rv-trad__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.1rem 0.75rem; margin-bottom: 0.4rem; font-weight: 700; color: var(--ink); }
.rv-trad__auto { color: var(--muted); font-weight: 700; }
.rv-trad dl { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: 0.2rem 0.5rem; }
.rv-trad dt { font-weight: 700; color: var(--muted); }

.rv-review { padding: 0.9rem; border: 1px solid var(--line); border-radius: var(--r-m); }
.rv-review__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: 700; color: var(--ink); }
.rv-stars { color: #E0A100; letter-spacing: 0.1em; }
.rv-review__text { margin-top: 0.4rem; }
.rv-reply { margin-top: 0.75rem; padding: 0.8rem 0.9rem; border-radius: var(--r-m); background: var(--paper); border-left: 4px solid var(--lime); }
.rv-reply__label { font-size: 0.8125rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.rv-reply__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.rv-sync { display: grid; gap: 0; margin-top: 0.9rem; }
.rv-sync li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.3rem; border-top: 1px solid var(--line); }
.rv-sync b { color: var(--ink); }
.rv-sync span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--muted); text-align: right; }
.rv-sync span::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 0.3rem; background: var(--lime) var(--check) center / 72% no-repeat; }

.rv-pair { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.rv-pair__item { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; padding: clamp(1.25rem, 3vw, 2.25rem); }
.rv-pair__item > .rv-label { justify-self: start; }
.rv-pair__item > h2 { margin-top: 0.9rem; }
.rv-pair__item > p { margin-top: 0.7rem; }
.rv-pair__item > .rv-scene { margin-top: 1.5rem; padding: clamp(0.75rem, 2vw, 1.25rem); }
.rv-pair__item > .rv-more { margin-top: 1.25rem; }
.rv-bars { display: grid; gap: 0.6rem; }
.rv-bars li { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) 2.75rem; align-items: center; gap: 0.6rem; font-size: 0.875rem; }
.rv-bars i { display: block; height: 0.75rem; border-radius: 99px; background: var(--paper); overflow: hidden; }
.rv-bars i::before { content: ""; display: block; height: 100%; width: calc(var(--v) * 2%); border-radius: 99px; background: var(--dot, var(--ink)); }
.rv-bars b { text-align: right; font-family: var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-countries { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.8125rem; }
.rv-countries span { padding: 0.25rem 0.6rem; border-radius: 99px; background: var(--paper); }
.rv-countries b { color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 0.2rem; border-radius: 0.6rem; background: var(--paper); font-size: 0.8125rem; font-weight: 700; }
.rv-seg span { padding: 0.3rem 0.8rem; border-radius: 0.45rem; color: var(--muted); text-align: center; white-space: nowrap; }
.rv-seg .is-on { background: var(--ink); color: var(--lime); }
.rv-field { padding: 0.6rem 0.3rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 0.75rem; }
.rv-field b { color: var(--ink); text-align: right; }
.rv-sms { margin: 0.4rem 0 0.9rem; padding: 0.75rem 0.9rem; border-radius: 1rem 1rem 1rem 0.3rem; background: var(--paper); max-width: 92%; }
.rv-mock__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Événements ---------- */
.rv-steps { display: grid; gap: 1.25rem; counter-reset: step; }
.rv-steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; counter-increment: step; }
.rv-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
}
.rv-steps h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
.rv-steps p { margin-top: 0.3rem; }
.rv-event { position: relative; padding-bottom: 4.5rem; }
.rv-event .rv-photo { aspect-ratio: 4 / 3; }
.rv-scan { position: absolute; top: 0.9rem; right: 0.9rem; width: 11.5rem; padding: 0.8rem 0.9rem; border-radius: var(--r-m); background: rgba(10, 10, 10, 0.86); border: 1px solid var(--night-line); color: var(--night-muted); font-size: 0.8125rem; line-height: 1.3; }
.rv-scan b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--night-text); font-variant-numeric: tabular-nums; }
.rv-scan i { display: block; height: 0.4rem; margin-top: 0.5rem; border-radius: 99px; background: var(--night-line); overflow: hidden; }
.rv-scan i::before { content: ""; display: block; width: 63%; height: 100%; background: var(--lime); border-radius: 99px; }
.rv-stub-wrap { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0; max-width: 25rem; rotate: -2deg; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)); }
.rv-stub {
  --perf: calc(100% - 6.5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; background: #fff; color: var(--ink); border-radius: 0.875rem; font-size: 0.8125rem; line-height: 1.35;
  -webkit-mask: radial-gradient(circle 0.55rem at var(--perf) 0, #0000 97%, #000), radial-gradient(circle 0.55rem at var(--perf) 100%, #0000 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 0.55rem at var(--perf) 0, #0000 97%, #000), radial-gradient(circle 0.55rem at var(--perf) 100%, #0000 97%, #000);
  mask-composite: intersect;
}
.rv-stub__main { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.8rem 0.9rem; }
.rv-stub__main img { width: 4.25rem; height: 4.25rem; border-radius: 0.5rem; object-fit: cover; }
.rv-stub__name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.15; }
.rv-stub__meta { color: var(--muted); margin-top: 0.2rem; }
.rv-stub__qr { display: grid; justify-items: center; align-content: center; gap: 0.3rem; padding: 0.7rem 0.5rem; border-left: 2px dashed #c9c9c0; font-size: 0.6875rem; color: var(--muted); }
.rv-stub__qr svg { width: 3.4rem; height: 3.4rem; }

/* ---------- Offre ---------- */
.rv-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.rv-price b { font-family: var(--font-display); font-size: clamp(4rem, 2.5rem + 8vw, 7.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--ink); }
.rv-price span { font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3); color: var(--ink); letter-spacing: -0.02em; }
.rv-price .rv-sticker { align-self: center; padding: 0.3rem 0.8rem; border-radius: 99px; background: var(--lime); font-size: 1rem; letter-spacing: 0; rotate: -4deg; white-space: nowrap; }
.rv-offer h2 { margin-top: 1.25rem; }
.rv-offer .rv-checks { margin-top: 1.75rem; font-weight: 500; }
.rv-offer .rv-checks li { color: var(--ink); }
.rv-offer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.rv-offer__cta .rv-btn { flex: 1 1 100%; }
.rv-bareme { background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(1.25rem, 3vw, 2rem); color: var(--ink-soft); box-shadow: var(--shadow-mock); }
.rv-bareme__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.rv-bareme caption { text-align: left; }
.rv-bareme table { width: 100%; margin-top: 0.75rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rv-bareme th, .rv-bareme td { padding: 0.7rem 0; border-bottom: 1.5px dotted #c4c4ba; text-align: left; font-weight: 400; }
.rv-bareme td { white-space: nowrap; padding-left: 1rem; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.rv-bareme tfoot th, .rv-bareme tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 0.9rem; font-weight: 700; color: var(--ink); }
.rv-incl { margin-top: 1.5rem; }
.rv-incl__title { font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.rv-incl ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rv-incl li { padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 99px; font-size: 0.875rem; }
.rv-fine { margin-top: 1rem; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }

/* ---------- Installation ---------- */
.rv-install { display: grid; gap: 1.75rem; counter-reset: step; }
.rv-install li { counter-increment: step; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.rv-install li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 0.75rem; }
.rv-install h3 { font-size: 1.375rem; }
.rv-install p { margin-top: 0.5rem; }


/* ---------- Questions fréquentes ---------- */
.rv-faq { display: grid; gap: 2rem; }
.rv-faq__list { border-top: 1px solid var(--line); }
.rv-faq details { border-bottom: 1px solid var(--line); }
.rv-faq summary {
  list-style: none; display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.15rem 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink);
}
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary::before {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; margin-top: 0.05rem; border-radius: 0.4rem; background-color: var(--lime);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 0.75rem 2px, 2px 0.75rem; background-position: center; background-repeat: no-repeat;
}
.rv-faq details[open] > summary::before { background-size: 0.75rem 2px, 2px 0; }
.rv-faq__answer { padding: 0 0 1.35rem 2.25rem; max-width: 44rem; }
.rv-faq details::details-content { interpolate-size: allow-keywords; overflow: clip; contain: layout; }
.rv-faq details:not([open])::details-content { block-size: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rv-faq summary::before { transition: background-size 0.2s ease; }
  .rv-faq details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* ---------- Dernier appel et pied de page ---------- */
.rv-final h2 { max-width: 18ch; }
.rv-final p { margin-top: 1.1rem; font-size: var(--t-lead); max-width: 34rem; }
.rv-final__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.rv-footer { border-top: 1px solid var(--night-line); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; font-size: 0.9375rem; }
.rv-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.rv-footer__brand { grid-column: 1 / -1; }
.rv-footer .rv-logo { color: var(--night-text); }
.rv-footer__about { margin-top: 1rem; max-width: 26rem; }
.rv-footer__title { font-family: var(--font-display); font-weight: 700; color: var(--night-text); margin-bottom: 0.75rem; }
.rv-footer li + li { margin-top: 0.5rem; }
.rv-footer a { text-decoration: none; }
.rv-footer a:hover { color: var(--night-text); text-decoration: underline; }
.rv-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); font-size: 0.8125rem; }

/* ---------- Pourquoi Restovia ---------- */
.rv-why__grid { display: grid; gap: clamp(1.25rem, 4vw, 2rem); }
.rv-why__list { border-top: 1px solid var(--line); }
.rv-why__list li {
  padding-block: clamp(0.9rem, 2.2vw, 1.35rem); border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1875rem, 0.95rem + 1.05vw, 1.625rem);
  line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-wrap: pretty;
}
/* Trait de surligneur : il laisse un filet en haut et en bas, et se répète proprement à chaque ligne. */
.rv-why mark {
  padding: 0 0.2em; margin: 0 -0.08em; color: inherit;
  background: linear-gradient(to bottom, transparent 14%, var(--lime) 14%, var(--lime) 94%, transparent 94%);
  border-radius: 0.5em 0.2em 0.55em 0.25em / 0.35em 0.5em 0.3em 0.55em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Avis clients : un panneau noir, une carte blanche par avis, le logo du restaurant à côté du nom. */
.rv-voices { --pad: clamp(0.85rem, 2.4vw, 2rem); margin-top: clamp(0.75rem, 3vw, 2rem); padding: var(--pad); border-radius: clamp(1.25rem, 3vw, 1.75rem); background: var(--night); overflow: hidden; }
.rv-voices :focus-visible { outline-color: var(--lime); }
.rv-voices__title { margin-bottom: clamp(0.85rem, 2vw, 1.5rem); padding: 0.3rem 0.35rem 0; font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); color: var(--night-text); }
.rv-voices__list { display: grid; gap: 1rem; }
.rv-voice { display: grid; border-radius: 1rem; background: var(--card); }
.rv-voice figure { display: grid; grid-template-rows: 1fr auto; gap: 1.25rem; margin: 0; padding: clamp(1.1rem, 2vw, 1.6rem); }
.rv-voice blockquote { margin: 0; }
.rv-voice blockquote p { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
.rv-voice blockquote p::before { content: "«\00a0"; }
.rv-voice blockquote p::after { content: "\00a0»"; }
.rv-voice figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.85rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; line-height: 1.3; }
.rv-voice figcaption b { display: block; font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); }
/* Chaque logo a ses proportions : sa hauteur se règle à la main avec --logo-h. */
.rv-voice__logo { flex: none; width: auto; height: calc(var(--logo-h, 2.25rem) * var(--logo-k, 1)); }

/* ---------- Rangées à feuilleter : les boutons créés par le script ---------- */
.rv-vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-chan { display: none; gap: 2px; margin-bottom: 0.5rem; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); }
.rv-chan__btn {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  min-height: 2.5rem; padding: 0 0.3rem; border: 0; border-radius: 99px; background: none; color: var(--body);
  font: 700 clamp(0.75rem, 3.4vw, 0.8125rem) / 1 var(--font-body); white-space: nowrap; cursor: pointer; touch-action: manipulation;
}
.rv-chan__btn[aria-current="true"] { background: var(--ink); color: #fff; }
.rv-chan__btn[aria-current="true"]::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dot, var(--lime)); }
.rv-chan__btn:focus-visible { outline-offset: 2px; border-radius: 99px; }
/* Sur le panneau noir des avis */
.rv-chan--avis { max-width: 26rem; margin-bottom: 0.75rem; border-color: var(--night-line); background: var(--night-card); }
.rv-chan--avis .rv-chan__btn { color: var(--night-text); }
.rv-chan--avis .rv-chan__btn[aria-current="true"] { background: var(--lime); color: var(--ink); }
.rv-chan--avis .rv-chan__btn[aria-current="true"]::before { background: var(--ink); }

/* ---------- Jusqu'à 62rem (téléphone, tablette) : les avis se feuillettent ---------- */
@media (max-width: 61.99rem) {
  .rv-chan--avis { display: flex; }
  .rv-voices__list {
    display: flex; gap: 0.75rem; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    touch-action: manipulation;
  }
  .rv-voice { flex: 0 0 min(88%, 25rem); scroll-snap-align: center; }
}
@media (max-width: 61.99rem) and (prefers-reduced-motion: no-preference) {
  .rv-voices__list { scroll-behavior: smooth; }
}

/* ---------- Jusqu'à 34rem (téléphone) : les quatre canaux tiennent sur un écran ---------- */
@media (max-width: 33.99rem) {
  .rv-why { padding-block: 3.25rem; }
  .rv-voice blockquote p { font-size: 0.9375rem; }
  .rv-voice figcaption b { font-size: 1rem; }
  #reservations .rv-head { margin-bottom: 1.25rem; }
  /* Un bouton par canal : la rangée se feuillette aussi sans le script. */
  .rv-chan--canaux { display: flex; }
  /* Les panneaux en rangée : un seul visible, le suivant dépasse. */
  .rv-tiles {
    display: flex; gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 1.5rem;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    touch-action: manipulation;
  }
  .rv-tile { flex: 0 0 86%; scroll-snap-align: center; }
  .rv-tile__visual { aspect-ratio: 3 / 2; }
  .rv-tile__body { padding: 0.9rem 1.1rem 1.15rem; }
  .rv-tile__body h3 { font-size: 1.25rem; }
  .rv-tile__body p { margin-top: 0.35rem; font-size: 0.9375rem; line-height: 1.5; }
  /* Le carnet : une réservation par ligne, le canal à droite. */
  .rv-book { margin-top: 0; padding: 0.85rem; }
  .rv-book__head { padding-bottom: 0.65rem; }
  .rv-book__rows { gap: 0.35rem; }
  .rv-book .rv-resa { grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; gap: 0.5rem; padding: 0.4rem 0.55rem; }
  .rv-book .rv-resa__time { padding-top: 0; }
  .rv-book .rv-src { grid-column: auto; justify-self: end; padding-inline: 0.55rem; }
  .rv-trio { gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; }
  .rv-trio p { margin-top: 0.2rem; font-size: 0.9375rem; }
  #reservations .rv-more { margin-top: 1.5rem; }
}
@media (max-width: 33.99rem) and (prefers-reduced-motion: no-preference) {
  .rv-tiles { scroll-behavior: smooth; }
}

/* ---------- À partir de 34rem (grands téléphones, tablettes) ---------- */
@media (min-width: 34rem) {
  .rv-hero__cta .rv-btn, .rv-final__cta .rv-btn { flex: 0 0 auto; white-space: nowrap; }
  .rv-tiles, .rv-book__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-tile__visual { aspect-ratio: 4 / 3; }
  .rv-carte a { flex-direction: row; align-items: baseline; gap: 0.6rem; }
  .rv-carte__dots { display: block; }
  .rv-carte__desc { max-width: 56%; text-align: right; }
  .rv-offer__cta .rv-btn { flex: 0 0 auto; white-space: nowrap; }
  .rv-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ---------- À partir de 48rem ---------- */
@media (min-width: 48rem) {
  .rv-trio, .rv-install { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .rv-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-stub-wrap { left: -1.25rem; right: auto; width: 25rem; }
}
/* ---------- À partir de 62rem (ordinateur) ---------- */
@media (min-width: 62rem) {
  .rv-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .rv-hero h1 { font-size: clamp(3.25rem, 0.6rem + 4.6vw, 4.25rem); }
  .rv-stage { padding-bottom: 0; }
  .rv-carnet { width: 84%; margin: -30% 0 0; }
  .rv-ticket { top: -1.25rem; right: -1rem; bottom: auto; width: 11.5rem; rotate: 4deg; }
  .rv-tiles, .rv-book__rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rv-tile__visual { aspect-ratio: 5 / 6; }
  /* Le trait qui relie chaque canal au carnet */
  .rv-tile::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 1.75rem; margin-left: -1px; background: var(--ink); }
  .rv-book { margin-top: 1.75rem; }
  .rv-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .rv-split--media-first { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .rv-split--flip > .rv-split__text { order: 2; }
  .rv-split--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .rv-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .rv-why__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 4rem; align-items: start; }
  .rv-voices { grid-column: 1 / -1; margin-top: 3rem; }
  .rv-voices__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-voices { --logo-k: 0.8; }
  .rv-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
  .rv-footer__brand { grid-column: auto; }
}
/* ---------- À partir de 75rem (grand écran) ---------- */
@media (min-width: 75rem) {
  .rv-carnet { width: 82%; margin-left: -1.5rem; }
  .rv-ticket { right: -1.75rem; width: 12.75rem; }
  .rv-voices { --logo-k: 1; }
}

/* ==========================================================================
   Pages par fonctionnalité
   ========================================================================== */
.rv-section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.rv-crumbs { display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); font-size: 0.875rem; color: var(--night-muted); }
/* Le séparateur est décoratif : le second « content » le retire de la lecture d'écran. */
.rv-crumbs li + li::before { content: "/"; content: "/" / ""; margin-right: 0.5rem; opacity: 0.55; }
.rv-crumbs a { text-decoration: none; }
.rv-crumbs a:hover, .rv-crumbs a:focus-visible { color: var(--night-text); text-decoration: underline; }
.rv-crumbs [aria-current="page"] { color: var(--night-text); font-weight: 700; }
@media (forced-colors: active) { .rv-crumbs [aria-current="page"] { text-decoration: underline; } }
.rv-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.rv-hero--page { padding-top: clamp(1.25rem, 3vw, 2rem); }
.rv-hero--page .rv-hero__grid > * { min-width: 0; }
/* Un écran d'exemple un peu large ne doit jamais élargir la page sur un très petit téléphone. */
.rv-modules > *, .rv-pair > *, .rv-split > *, .rv-scene > * { min-width: 0; }
.rv-hero--page h1 { font-size: clamp(2.125rem, 1.35rem + 3.4vw, 3.625rem); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }

/* Visuel du hero : une photo, l'écran d'exemple posé dessus */
.rv-pstage { position: relative; isolation: isolate; width: 100%; max-width: 35rem; margin-inline: auto; padding: clamp(1rem, 5vw, 2.25rem); border-radius: var(--r-l); overflow: hidden; }
.rv-pstage__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rv-pstage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.6)); }
.rv-pstage .rv-mock { box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.75); }
.rv-hero--page .rv-event { width: 100%; max-width: 35rem; margin-inline: auto; }

/* En bref */
.rv-brief { display: grid; gap: 1.5rem; }
.rv-brief li { padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.rv-brief h2 { font-size: 1.3125rem; letter-spacing: -0.02em; }
.rv-brief p { margin-top: 0.45rem; }

/* Grille de points détaillés */
.rv-grid { display: grid; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); }
.rv-grid li { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.rv-grid h3 { font-size: 1.1875rem; letter-spacing: -0.015em; }
.rv-grid p { margin-top: 0.4rem; }
.rv-page .rv-grid a, .rv-page .rv-prose a, .rv-page .rv-split__text p:not(.rv-more) a, .rv-page .rv-faq__answer a, .rv-page .rv-brief a, .rv-page .rv-fine a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.rv-split--text { grid-template-columns: minmax(0, 1fr); }
.rv-split--text .rv-split__text { max-width: 48rem; }

/* Texte seul */
.rv-prose { max-width: calc(48rem + var(--gutter) * 2); margin-inline: auto; }
.rv-prose p { margin-top: 1.1rem; font-size: 1.0625rem; }
.rv-prose p:first-of-type { font-size: var(--t-lead); line-height: 1.5; }

/* Tableau de comparaison */
.rv-tablewrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(0.5rem, 2vw, 1.25rem) clamp(0.85rem, 3vw, 2rem); box-shadow: var(--shadow-mock); }
.rv-compare { width: 100%; border-collapse: collapse; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.rv-compare th, .rv-compare td { padding: 0.85rem 0.5rem; border-bottom: 1.5px dotted #c4c4ba; text-align: left; vertical-align: top; font-weight: 400; }
.rv-compare thead th { border-bottom: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; color: var(--ink); vertical-align: bottom; }
.rv-compare tbody tr:last-child th, .rv-compare tbody tr:last-child td { border-bottom: 0; }
.rv-compare tbody th { color: var(--ink); font-weight: 500; }
.rv-compare td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.rv-compare thead th:last-child span { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 99px; background: var(--lime); }
/* Tableau à plusieurs colonnes : il défile sur téléphone, et la ligne Restovia porte la pastille. */
.rv-compare--wide { min-width: 58rem; font-size: 0.9375rem; border-collapse: separate; border-spacing: 0; }
.rv-compare--wide td:last-child, .rv-compare--plain td:last-child { font-family: inherit; font-weight: 400; color: inherit; }
.rv-compare .is-us th span { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 99px; background: var(--lime); }
.rv-compare .is-us td { color: var(--ink); font-weight: 500; }
/* Quand le tableau défile, la colonne des noms reste en place et une ligne le signale. */
/* Le cache à gauche couvre la marge du cadre, pour que rien ne dépasse derrière la colonne. */
.rv-compare--wide th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.rv-compare--wide th:first-child::before { content: ""; position: absolute; inset: 0 100% 0 auto; width: 2.5rem; background: var(--card); }
/* L'aide s'affiche d'après la place dont dispose le tableau, pas d'après la largeur de l'écran. */
.rv-tablebox { container-type: inline-size; }
.rv-scrollhint { display: none; }
@container (width < 62rem) {
  .rv-scrollhint { display: block; margin: 0 0 0.6rem; color: var(--muted); font-size: 0.875rem; }
  .rv-compare--wide th:first-child::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 1px; background: var(--line); }
}
/* Sur téléphone, les intitulés de ligne peuvent se couper pour que le tableau tienne dans l'écran. */
@media (max-width: 33.99rem) {
  .rv-page .rv-compare:not(.rv-compare--wide) :is(th, td) { hyphens: auto; overflow-wrap: anywhere; }
  /* Une pastille qui passe sur plusieurs lignes garde des coins doux, pas une forme de bulle. */
  .rv-page .rv-compare thead th:last-child span { border-radius: 0.6rem; }
}
.rv-page .rv-wrap > .rv-fine { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }

/* Exemples de sites : une capture par restaurant, dans un cadre de navigateur */
.rv-shots { display: grid; gap: 2.25rem 1.5rem; }
.rv-shotcard figure { margin: 0; }
.rv-shotcard img, .rv-pvis .rv-sitemock > img { display: block; width: 100%; height: auto; }
.rv-shotcard figcaption { margin-top: 1rem; }
.rv-shotcard h3 { font-size: 1.3125rem; letter-spacing: -0.015em; }
.rv-shotcard p { margin-top: 0.35rem; }
.rv-shotcard__tag { color: var(--muted); font-size: 0.9375rem; }
.rv-shotcard .rv-link { color: var(--ink); text-decoration-color: var(--lime); }
@media (min-width: 48rem) { .rv-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; } }

/* Guides : date sous l'introduction, et modèles de textes à copier (une carte par situation) */
.rv-hero__date { margin-top: 1.5rem; font-size: 0.875rem; color: var(--night-muted); }
.rv-models { display: grid; gap: 1rem; }
.rv-models li { padding: clamp(1.1rem, 2.2vw, 1.6rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--card); }
.rv-models h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.rv-models blockquote { margin: 0.65rem 0 0; }
.rv-models blockquote p { color: var(--ink-soft); text-wrap: pretty; }
@media (min-width: 48rem) { .rv-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }

/* Deux listes côte à côte */
.rv-duo { display: grid; gap: 1rem; }
.rv-duo__col { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.rv-duo__col h3 { margin-bottom: 1.1rem; font-size: 1.3125rem; letter-spacing: -0.02em; }

/* Liens vers les autres modules, rappel du prix */
.rv-related, .rv-strip { display: grid; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.rv-related .rv-carte { margin-top: 0; }
.rv-strip { align-items: center; }
.rv-strip .rv-checks { font-weight: 500; }
.rv-strip .rv-checks li { color: var(--ink); }

/* Avis clients hors de la page d'accueil */
.rv-voices--1 .rv-voice blockquote p { font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.375rem); }
.rv-page .rv-wrap > .rv-voices { margin-top: 0; }
.rv-voices--1 .rv-voice { flex-basis: 100%; }
.rv-tiles--plain .rv-tile::after { content: none; }
.rv-pvis { width: 100%; max-width: 35rem; margin-inline: auto; }
/* Capture d'un vrai site client : la version ordinateur dans un cadre, la version téléphone posée dessus. */
.rv-shot { position: relative; padding: 0 1.25rem 2.75rem 0; }
.rv-shot__img { display: block; width: 100%; height: auto; }
.rv-shot__phone { position: absolute; right: 0; bottom: 0; width: 29%; height: auto; border: 5px solid #1c1c1c; border-radius: 1.25rem; outline: 1px solid var(--night-line); background: #fff; box-shadow: 0 26px 40px -16px rgba(0, 0, 0, 0.8); }
.rv-page mark {
  padding: 0 0.2em; margin: 0 -0.08em; color: inherit;
  background: linear-gradient(to bottom, transparent 14%, var(--lime) 14%, var(--lime) 94%, transparent 94%);
  border-radius: 0.5em 0.2em 0.55em 0.25em / 0.35em 0.5em 0.3em 0.55em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.rv-chat { display: grid; gap: 0.45rem; padding: 0.2rem 0.3rem 0.6rem; }

/* Formulaires (contact, essai gratuit) */
.rv-formcard { width: 100%; max-width: 35rem; margin-inline: auto; padding: clamp(1.1rem, 4vw, 2rem); border-radius: var(--r-l); background: var(--card); color: var(--body); }
.rv-form { display: grid; gap: 1.1rem; }
.rv-form__row { display: grid; gap: 1.1rem; }
.rv-field2 { display: grid; gap: 0.35rem; }
.rv-field2 label { font-weight: 700; color: var(--ink); font-size: 0.9375rem; }
.rv-field2 input, .rv-field2 select, .rv-field2 textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; border: 1.5px solid var(--muted); border-radius: 0.75rem;
  background: #fff; color: var(--ink); font: inherit; font-size: max(1rem, 1em); line-height: 1.4;
}
.rv-field2 textarea { min-height: 6rem; resize: vertical; }
.rv-field2 :is(input, select, textarea):focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.rv-field2 :is(input, select, textarea):user-invalid { border-color: #a5300f; border-width: 2px; }
.rv-error { display: none; font-size: 0.875rem; font-weight: 500; color: #a5300f; }
.rv-field2 :is(input, select, textarea):user-invalid ~ .rv-error { display: block; }
.rv-form__hint { font-size: 0.875rem; color: var(--muted); }
.rv-form .rv-btn { width: 100%; }
.rv-form__msg { padding: 0.8rem 1rem; border-radius: 0.75rem; background: #fde9e2; color: #a5300f; font-weight: 500; }
.rv-form__msg:empty { display: none; }
.rv-form__done { display: grid; gap: 0.8rem; }
.rv-form__done h2 { font-size: 1.75rem; }
.rv-form__done:focus { outline: none; }
.rv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rv-formcard h2 { font-size: var(--t-h3); color: var(--ink); }
.rv-hero--page .rv-hero__grid:has(.rv-formcard) { align-items: start; }
.rv-formcard :focus-visible { outline-color: var(--ink); }
.rv-formcard .rv-link { color: var(--ink); text-decoration-color: var(--lime); }
.rv-formcard .rv-btn:disabled { opacity: 0.6; cursor: progress; }
.rv-contactways { display: grid; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--night-line); }
.rv-contactways a { color: var(--night-text); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.rv-contactways span { display: block; font-size: 0.875rem; color: var(--night-muted); }

/* Page tarifs : ce que comprend l'abonnement, groupe par groupe */
.rv-groups { display: grid; gap: 1rem; }
.rv-groups .rv-duo__col h3 { font-size: 1.1875rem; margin-bottom: 0.9rem; }
.rv-groups .rv-checks { gap: 0.55rem; font-size: 0.9375rem; }
.rv-extras { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rv-extras li { display: grid; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.rv-extras b { font-family: var(--font-display); color: var(--ink); font-size: 1.0625rem; }
.rv-mock .rv-bubble--them { background: var(--paper); box-shadow: none; }
.rv-bars--wide li { grid-template-columns: 8.75rem minmax(0, 1fr) 2.75rem; }

/* Écrans d'exemple propres aux pages */
.rv-sitemock { padding: 0; overflow: hidden; }
.rv-sitemock__bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.rv-sitemock__bar::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #c9c9c0; box-shadow: 0.8rem 0 #c9c9c0, 1.6rem 0 #c9c9c0; margin-right: 1.6rem; }
.rv-sitemock__bar > span:first-of-type { flex: 1; min-width: 0; padding: 0.25rem 0.7rem; border-radius: 99px; background: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-sitemock__hero { position: relative; display: grid; align-content: end; min-height: 11.5rem; padding: 1rem; color: #fff; isolation: isolate; }
.rv-sitemock__hero img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.rv-sitemock__hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.05) 70%); }
.rv-sitemock__hero b { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.rv-sitemock__hero > div > span { font-size: 0.8125rem; opacity: 0.9; }
.rv-sitemock__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.rv-sitemock__rows { display: grid; }
.rv-sitemock__rows > div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr) auto; align-items: baseline; gap: 0.6rem; padding: 0.65rem 1rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.rv-sitemock__rows span:first-child { color: var(--muted); font-size: 0.8125rem; }
.rv-sitemock__rows b { color: var(--ink); min-width: 0; }
.rv-sitemock__rows span:last-child { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }

.rv-plan svg { display: block; width: 100%; height: auto; border-radius: var(--r-m); background: var(--paper); }
.rv-plan text { font-family: var(--font-display); font-weight: 700; font-size: 11px; text-anchor: middle; dominant-baseline: central; }
.rv-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.8rem; font-size: 0.8125rem; color: var(--muted); }
.rv-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.rv-legend i { width: 0.85rem; height: 0.85rem; border-radius: 0.25rem; border: 1.5px solid var(--ink); background: #fff; }
.rv-legend .is-busy i { background: var(--ink); }
.rv-legend .is-joined i { background: var(--lime); }

.rv-timeline { display: grid; gap: 0.4rem; }
.rv-timeline__hours, .rv-timeline__row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.rv-timeline__hours div { display: grid; grid-template-columns: repeat(4, 1fr); }
.rv-timeline__row > b { font-family: var(--font-display); color: var(--ink); }
.rv-timeline__track { position: relative; height: 1.9rem; border-radius: 0.5rem; background: var(--paper); }
.rv-timeline__track span { position: absolute; top: 0.2rem; bottom: 0.2rem; left: calc(var(--s) * 1%); width: calc(var(--w) * 1%); display: flex; align-items: center; padding-inline: 0.5rem; border-radius: 0.4rem; background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; overflow: hidden; }
.rv-timeline__track .is-now { background: var(--lime); color: var(--ink); }
.rv-timeline__track .is-late { background: #fde9e2; color: #a5300f; }

.rv-mail { margin-top: 0.2rem; padding: 0.9rem; border: 1px solid var(--line); border-radius: var(--r-m); }
.rv-mail__from { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.rv-mail__from b { color: var(--ink); }
.rv-mail__dish { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 0.8rem; align-items: center; margin: 0.75rem 0; padding: 0.6rem; border-radius: var(--r-m); background: var(--paper); }
.rv-mail__dish img { width: 4rem; height: 4rem; border-radius: 0.5rem; object-fit: cover; }
.rv-mail__dish b { display: block; color: var(--ink); }
.rv-mail__dish span { font-size: 0.8125rem; color: var(--muted); }
.rv-spark { display: flex; align-items: flex-end; gap: 0.3rem; height: 4rem; margin-top: 0.5rem; }
.rv-spark i { flex: 1; height: calc(var(--v) * 1%); border-radius: 0.3rem 0.3rem 0 0; background: var(--ink); }
.rv-spark i:last-child { background: var(--lime); box-shadow: inset 0 0 0 1.5px var(--ink); }
.rv-mock__sep { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }

/* Sommaire des fonctionnalités */
.rv-hub { display: grid; gap: 1rem; }
.rv-hub__card { position: relative; display: grid; align-content: start; gap: 0.6rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--card); box-shadow: 0 18px 30px -24px rgba(10, 10, 10, 0.25); }
.rv-hub__card h2 a { text-decoration: none; }
.rv-hub__card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rv-hub__card h2 a:focus-visible { outline: none; }
.rv-hub__card:has(h2 a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.rv-hub__card h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.rv-hub__card p { color: var(--body); }
.rv-hub__card span { margin-top: 0.4rem; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.18em; text-underline-offset: 0.25em; }
.rv-hub__card:has(h2 a:hover) h2 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 0.2em; text-underline-offset: 0.2em; }

@media (max-width: 33.99rem) {
  /* Sur téléphone, les quatre canaux gardent leur rangée à feuilleter sur toutes les pages */
  .rv-tablewrap { padding-inline: 0.6rem; }
  .rv-page .rv-panel .rv-lead, .rv-page .rv-prose p:first-of-type { font-size: 1.0625rem; }
  .rv-brief { gap: 1.1rem; }
  .rv-brief li { padding-top: 0.9rem; }
  .rv-compare th, .rv-compare td { padding-inline: 0.35rem; font-size: 0.9375rem; }
}
/* Écrans tactiles : les petits liens du pied de page et du fil d'Ariane gagnent en hauteur. */
@media (pointer: coarse) {
  .rv-footer nav a, .rv-crumbs a { display: inline-block; padding-block: 0.5rem; }
  .rv-footer li + li { margin-top: 0; }
}
/* Très petits téléphones : le nom à côté du logo s'efface pour que l'en-tête tienne. */
@media (max-width: 21.9rem) {
  .rv-header .rv-logo span { display: none; }
}
@media (min-width: 34rem) {
  .rv-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .rv-hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .rv-hero--page .rv-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .rv-hero--page h1 { font-size: clamp(2.75rem, 0.9rem + 3.1vw, 3.5rem); }
  .rv-brief { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-related { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 4rem; }
  .rv-strip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; }
  .rv-hub { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rv-hub--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-hub__card { padding: 1.5rem; }
  .rv-hub__card h2 { font-size: 1.3125rem; }
  .rv-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv-voices--1 .rv-voices__list, .rv-voices--2 .rv-voices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-voices--1 .rv-voices__list { grid-template-columns: minmax(0, 1fr); }
  .rv-modules--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rv-modules--2 .rv-panel { padding: clamp(1.5rem, 3vw, 2.5rem); height: 100%; align-items: start; align-content: start; }
}

/* Listes à puces dans un texte long (politique de confidentialité, aide du connecteur). */
.rv-prose ul { margin-top: 1.1rem; padding-left: 1.4rem; list-style: disc; }
.rv-prose li { margin-top: 0.55rem; font-size: 1.0625rem; padding-left: 0.2rem; }
.rv-prose li::marker { color: var(--ink); }
.rv-prose code { font-size: 0.95em; padding: 0.1em 0.35em; border-radius: 0.3em; background: rgba(0, 0, 0, 0.06); overflow-wrap: anywhere; }
.rv-prose ol { margin-top: 1.1rem; padding-left: 1.4rem; list-style: decimal; }
.rv-prose h3 { margin-top: 1.6rem; }

/* L'attribut hidden doit toujours gagner sur un display du site (formulaire masqué après envoi). */
[hidden] { display: none !important; }

/* Sélecteur de langue (FR / EN) dans le menu de l'en-tête. */
.rv-lang { display: inline-flex; align-items: center; gap: 0.4rem; }
.rv-lang .rv-flag { flex: none; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
