/* ═══════════════════════════════════════════════════════════
   premium-qr-restaurant.css — Page QR code restaurant
   Accent ambré chaud — OS Tech Créations
   ═══════════════════════════════════════════════════════════ */

/* ══ PAIN POINTS ÉDITORIAL ═══════════════════════════════════ */
.rpe-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.rpe-list::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(244,241,234,0.18) 15%, rgba(244,241,234,0.22) 50%, rgba(244,241,234,0.18) 85%, transparent 100%);
}



.rpe-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0 34px;
  align-items: start;
  padding: 61px 0;
  position: relative;
}

.rpe-item:not(:last-child) {
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, rgba(244,241,234,0.18) 15%, rgba(244,241,234,0.22) 50%, rgba(244,241,234,0.18) 85%, transparent 100%) 1;
}

.rpe-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.3rem, 3.7vw, 3.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--rest-deep);
  line-height: 1;
  padding-top: 4px;
}

.rpe-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rpe-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 500;
  color: var(--rest-card-text);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.rpe-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(244,241,234,0.55);
  max-width: 52ch;
  margin: 0;
}

.rpe-cost {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 220px;
  padding-top: 4px;
}

.rpe-cost-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--rest);
  line-height: 1.1;
  letter-spacing: -0.01em;
  display: block;
}

.rpe-cost-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.25);
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: flex-end;
}

.rpe-cost-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,241,234,0.2));
}

html[data-theme="light"] .rpe-num { color: #b45309; opacity: 1; }
html[data-theme="light"] .rpe-title { color: #111; }
html[data-theme="light"] .rpe-desc { color: rgba(10,10,10,0.55); }
html[data-theme="light"] .rpe-cost-label { color: rgba(10,10,10,0.3); }
html[data-theme="light"] .rpe-cost-label::before {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.15));
}
html[data-theme="light"] .rpe-list::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.1) 15%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.1) 85%, transparent 100%);
}
html[data-theme="light"] .rpe-item:not(:last-child) {
  border-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 15%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.08) 85%, transparent 100%) 1;
}

/* ─── Pain items responsive ─────────────────────────────── */

/* 1400px : légère réduction du 1er */
@media (max-width: 1400px) {
  .rpe-item:first-child .rpe-title    { font-size: clamp(2rem, 3.5vw, 3rem); }
  .rpe-item:first-child .rpe-desc     { font-size: 1.3rem; }
  .rpe-item:first-child .rpe-cost-val { font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
  .rpe-item:first-child .rpe-num      { font-size: clamp(3.8rem, 6vw, 6.5rem); }
  .rpe-item:nth-child(2) .rpe-title   { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .rpe-item:nth-child(2) .rpe-desc    { font-size: 1.15rem; }
  .rpe-item:nth-child(2) .rpe-num     { font-size: clamp(3.2rem, 5vw, 5.5rem); }
}

/* 1100px : réduction sensible */
@media (max-width: 1100px) {
  .rpe-item { grid-template-columns: 56px 1fr auto; gap: 0 24px; padding: 37px 0; }
  .rpe-item:first-child .rpe-title    { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .rpe-item:first-child .rpe-desc     { font-size: 1.15rem; }
  .rpe-item:first-child .rpe-cost-val { font-size: clamp(2rem, 3vw, 2.8rem); }
  .rpe-item:first-child .rpe-num      { font-size: clamp(3.2rem, 5vw, 5.5rem); }
  .rpe-item:nth-child(2) .rpe-title   { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .rpe-item:nth-child(2) .rpe-num     { font-size: clamp(2.8rem, 4.5vw, 4.5rem); }
  .rpe-cost { min-width: 160px; }
}

/* 760px : grille 2 colonnes, coût dessous */
@media (max-width: 760px) {
  .rpe-item { grid-template-columns: 44px 1fr; gap: 0 14px; padding: 27px 0; }
  .rpe-cost { grid-column: 2; text-align: left; min-width: unset; }
  .rpe-cost-label { justify-content: flex-start; font-size: 0.6rem; }
  .rpe-cost-label::before { display: none; }
  /* Reset tailles — tout pareil sur mobile */
  .rpe-item:first-child .rpe-num,
  .rpe-item:nth-child(2) .rpe-num    { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .rpe-item:first-child .rpe-title,
  .rpe-item:nth-child(2) .rpe-title  { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .rpe-item:first-child .rpe-desc,
  .rpe-item:nth-child(2) .rpe-desc   { font-size: 1rem; }
  .rpe-item:first-child .rpe-cost-val,
  .rpe-item:nth-child(2) .rpe-cost-val,
  .rpe-cost-val                       { font-size: 1.6rem; }
  .rpe-item:first-child .rpe-cost-label,
  .rpe-item:nth-child(2) .rpe-cost-label { font-size: 0.6rem; }
}

/* ══ CITATION CENTRALE ═══════════════════════════════════════ */
.rest-hr {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(244,241,234,0.42) 15%, rgba(244,241,234,0.5) 50%, rgba(244,241,234,0.42) 85%, transparent 100%);
  border: none;
  margin: 0;
  flex-shrink: 0;
}


.rest-quote-inner {
  padding: clamp(96px, 10vw, 136px) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.rest-quote-section {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.rest-quote-section::before,
.rest-quote-section::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(244,241,234,0.18);
  pointer-events: none;
}

.rest-quote-section::before { top: 0; }
.rest-quote-section::after  { bottom: 0; }

.rest-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--rest);
  line-height: 0.6;
  opacity: 0.7;
}

.rest-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: rgba(244,241,234,0.88);
  max-width: 20ch;
  margin: 0;
  letter-spacing: -0.01em;
}

.rest-quote-attr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.28);
}

html[data-theme="light"] .rest-quote-text { color: rgba(10,10,10,0.82); }
html[data-theme="light"] .rest-quote-attr { color: rgba(10,10,10,0.3); }

html[data-theme="light"] .rest-quote-section::before,
html[data-theme="light"] .rest-quote-section::after {
  background: rgba(0,0,0,0.1);
}

html[data-theme="light"] .rest-quote-inner {
  position: relative;
  isolation: isolate;
}

html[data-theme="light"] .rest-quote-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff 0%, #faf8f1 100%);
  pointer-events: none;
  z-index: -1;
}

/* ══ USAGES — LISTE ÉDITORIALE ═══════════════════════════════ */
.rul-list {
  display: flex;
  flex-direction: column;
}

.rul-list::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(244,241,234,0.18) 15%, rgba(244,241,234,0.22) 50%, rgba(244,241,234,0.18) 85%, transparent 100%);
}

.rul-item {
  display: grid;
  grid-template-columns: 64px 1fr 2fr auto;
  gap: 0 34px;
  align-items: center;
  padding: 34px 0;
  transition: background 0.22s ease;
  position: relative;
}

.rul-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(244,241,234,0.18) 15%, rgba(244,241,234,0.22) 50%, rgba(244,241,234,0.18) 85%, transparent 100%);
}

.rul-item:hover { background: rgba(244,241,234,0.02); }

.rul-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--rest);
  opacity: 0.7;
}

.rul-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  color: rgba(244,241,234,0.9);
  margin: 0;
  letter-spacing: -0.01em;
}

.rul-desc {
  font-size: 1.06rem;
  line-height: 1.65;
  color: rgba(244,241,234,0.45);
  margin: 0;
}

.rul-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rest);
  opacity: 0.7;
  white-space: nowrap;
}

html[data-theme="light"] .rul-title { color: #111; }
html[data-theme="light"] .rul-desc { color: rgba(10,10,10,0.5); }
html[data-theme="light"] .rul-num { color: #b45309; opacity: 1; }
html[data-theme="light"] .rul-tag { color: #b45309; opacity: 0.75; }
html[data-theme="light"] .rul-item:hover { background: rgba(255,255,255,0.65); }
html[data-theme="light"] .rul-list::before {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 15%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.08) 85%, transparent 100%);
}
html[data-theme="light"] .rul-item::after {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 15%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.06) 85%, transparent 100%);
}

@media (max-width: 760px) {
  .rul-item { grid-template-columns: 36px 1fr; grid-template-rows: auto auto auto; gap: 5px 14px; }
  .rul-desc { grid-column: 2; }
  .rul-tag { grid-column: 2; margin-top: 4px; }
}

/* ── Halos ambre en fond d'écran ──────────────────────────── */
/* Halo gauche */

/* Halo droite */
html:not([data-theme="light"]) .site-shell::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 650px;
  height: 750px;
  right: -180px;
  top: 6500px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    oklch(0.78 0.12 70 / 0.14) 0%,
    oklch(0.78 0.12 70 / 0.03) 50%,
    transparent 74%
  );
}

:root {
  --rest: #f59e0b;
  --rest-deep: #92400e;
  --rest-glow: rgba(245,158,11,.11);
  --rest-glow-deep: rgba(146,64,14,.09);
  --rest-border: rgba(245,158,11,.2);
  --rest-card-surface:
    radial-gradient(circle at 20% 14%, rgba(245,158,11,.12), transparent 50%),
    linear-gradient(180deg, rgba(24,18,14,.96) 0%, rgba(14,10,7,.96) 100%);
  --rest-card-shadow: 0 20px 60px rgba(0,0,0,.3);
  --rest-card-line: rgba(255,255,255,.08);
  --rest-card-text: #f5f5f5;
  --rest-card-muted: rgba(255,255,255,.72);
  --rest-card-soft: rgba(255,255,255,.5);
}

html[data-theme="light"] {
  --rest: #b45309;
  --rest-glow: rgba(180,83,9,.07);
  --rest-glow-deep: rgba(180,83,9,.06);
  --rest-border: rgba(180,83,9,.16);
}

html[data-theme="light"] body,
html[data-theme="light"] .site-shell {
  background: #faf8f1 !important;
  color: #1a1611;
}

html[data-theme="light"] {
  --rh-fg: #1a1611;
  --rh-mute: rgba(26,22,17,0.65);
}

/* ─── Override accent sur les composants hérités (main uniquement) ─ */
main .eyebrow {
  border-color: var(--rest-border);
  background: transparent;
  color: var(--rest);
}

main .eyebrow::before {
  background: var(--rest) !important;
  box-shadow: 0 0 10px var(--rest) !important;
}

main .btn {
  background: #ffffff;
  color: #0a0a0a;
  box-shadow: none;
}

html[data-theme="light"] main .btn {
  background: #111;
  color: #fff;
  box-shadow: none;
}

main .btn:hover {
  background: #f0f0f0;
  box-shadow: none;
}

main .btn-secondary {
  border-color: var(--rest-border);
  background: rgba(245,158,11,.1);
  color: var(--rest);
  box-shadow: 0 14px 30px rgba(245,158,11,.08);
}

main .btn-secondary:hover {
  border-color: rgba(245,158,11,.34);
  background: rgba(245,158,11,.16);
  color: #fbbf24;
  box-shadow: 0 18px 36px rgba(245,158,11,.14);
}

html[data-theme="light"] main .btn-secondary {
  border-color: rgba(180,83,9,.2);
  background: rgba(180,83,9,.08);
  color: var(--rest-deep);
}

html[data-theme="light"] main .btn-secondary:hover {
  border-color: rgba(180,83,9,.32);
  background: rgba(180,83,9,.14);
  color: var(--rest-deep);
}

.rest-cta-panel a.btn[href^="/contact"],
.rest-cta-panel a.btn[href^="contact#"] {
  border-color: var(--rest) !important;
  background: var(--rest) !important;
  color: #111 !important;
  box-shadow: 0 18px 34px rgba(245,158,11,.22) !important;
}

.rest-cta-panel a.btn[href^="/contact"]:hover,
.rest-cta-panel a.btn[href^="/contact"]:focus-visible,
.rest-cta-panel a.btn[href^="contact#"]:hover,
.rest-cta-panel a.btn[href^="contact#"]:focus-visible {
  border-color: #fbbf24 !important;
  background: #fbbf24 !important;
  color: #111 !important;
  box-shadow: 0 22px 40px rgba(245,158,11,.3) !important;
}

html[data-theme="light"] .rest-cta-panel a.btn[href^="/contact"],
html[data-theme="light"] .rest-cta-panel a.btn[href^="contact#"] {
  border-color: var(--rest) !important;
  background: var(--rest) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(180,83,9,.18) !important;
}

html[data-theme="light"] .rest-cta-panel a.btn[href^="/contact"]:hover,
html[data-theme="light"] .rest-cta-panel a.btn[href^="/contact"]:focus-visible,
html[data-theme="light"] .rest-cta-panel a.btn[href^="contact#"]:hover,
html[data-theme="light"] .rest-cta-panel a.btn[href^="contact#"]:focus-visible {
  border-color: var(--rest-deep) !important;
  background: var(--rest-deep) !important;
  color: #fff !important;
  box-shadow: 0 22px 40px rgba(180,83,9,.24) !important;
}

.rest-hero a.btn[href^="/contact"],
.rest-hero a.btn-secondary[href^="/contact"],
.rest-hero a.btn[href^="contact#"],
.rest-hero a.btn-secondary[href^="contact#"] {
  border-color: var(--rest) !important;
  background: var(--rest) !important;
  color: #111 !important;
  box-shadow: 0 18px 34px rgba(245,158,11,.22) !important;
}

.rest-hero a.btn[href^="/contact"]:hover,
.rest-hero a.btn-secondary[href^="/contact"]:hover,
.rest-hero a.btn[href^="contact#"]:hover,
.rest-hero a.btn-secondary[href^="contact#"]:hover,
.rest-hero a.btn[href^="/contact"]:focus-visible,
.rest-hero a.btn-secondary[href^="/contact"]:focus-visible,
.rest-hero a.btn[href^="contact#"]:focus-visible,
.rest-hero a.btn-secondary[href^="contact#"]:focus-visible {
  border-color: #fbbf24 !important;
  background: #fbbf24 !important;
  color: #111 !important;
  box-shadow: 0 22px 40px rgba(245,158,11,.3) !important;
}

html[data-theme="light"] .rest-hero a.btn[href^="/contact"],
html[data-theme="light"] .rest-hero a.btn-secondary[href^="/contact"],
html[data-theme="light"] .rest-hero a.btn[href^="contact#"],
html[data-theme="light"] .rest-hero a.btn-secondary[href^="contact#"] {
  border-color: var(--rest) !important;
  background: var(--rest) !important;
  color: #fff !important;
  box-shadow: 0 18px 34px rgba(180,83,9,.18) !important;
}

html[data-theme="light"] .rest-hero a.btn[href^="/contact"]:hover,
html[data-theme="light"] .rest-hero a.btn-secondary[href^="/contact"]:hover,
html[data-theme="light"] .rest-hero a.btn[href^="contact#"]:hover,
html[data-theme="light"] .rest-hero a.btn-secondary[href^="contact#"]:hover,
html[data-theme="light"] .rest-hero a.btn[href^="/contact"]:focus-visible,
html[data-theme="light"] .rest-hero a.btn-secondary[href^="/contact"]:focus-visible,
html[data-theme="light"] .rest-hero a.btn[href^="contact#"]:focus-visible,
html[data-theme="light"] .rest-hero a.btn-secondary[href^="contact#"]:focus-visible {
  border-color: var(--rest-deep) !important;
  background: var(--rest-deep) !important;
  color: #fff !important;
  box-shadow: 0 22px 40px rgba(180,83,9,.24) !important;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.rest-hero {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr);
  gap: 27px;
  align-items: center;
  padding: 31px 0 17px;
  position: relative;
  isolation: isolate;
}

.rest-hero-copy {
  display: grid;
  gap: 19px;
  padding: 9px 0 15px;
}

html:not([data-theme="light"]) .rest-hero-copy {
  padding: 15px 12px 24px 0;
}

html[data-theme="light"] .rest-hero-copy {
  padding: 15px 12px 24px 0;
}

.rest-hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  max-width: 14ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-bottom: 10px;
}

.rest-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--soft);
  font-size: 1rem;
}

/* ─── Menu mockup card ──────────────────────────────────────── */
.rest-mock-card {
  background: var(--rest-card-surface);
  border: 1px solid var(--rest-border) !important;
  padding: 19px 17px 17px;
  display: grid;
  gap: 0;
  box-shadow: var(--rest-card-shadow);
  transition: transform 0.36s cubic-bezier(.2,.8,.2,1), box-shadow 0.36s ease;
}

.rest-mock-card:hover {
  transform: translateY(-10px) scale(1.015);
}

html[data-theme="light"] .rest-mock-card {
  background: var(--rest-card-surface);
  box-shadow: var(--rest-card-shadow);
  border-color: var(--rest-border) !important;
}

html[data-theme="light"] .rest-mock-card:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,.18), 0 12px 30px rgba(0,0,0,.1) !important;
}

html:not([data-theme="light"]) .rest-mock-card:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 12px 30px rgba(0,0,0,.35) !important;
}

html[data-theme="light"] :is(.rest-stats, .rest-pain-card, .rest-step, .rest-feat-card, .rest-compare-wrap) {
  border-color: rgba(245,158,11,.18);
  box-shadow: var(--rest-card-shadow);
}

html[data-theme="light"] :is(.rest-stat, .rest-pain-card, .rest-step, .rest-feat-card) {
  background: var(--rest-card-surface);
  border-color: var(--rest-card-line);
}

html[data-theme="light"] .rest-upgrade-card {
  background: #ffffff;
  border-color: rgba(26,22,17,.1);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

html[data-theme="light"] .rest-upgrade-card--site {
  background: #ffffff;
  border-color: rgba(26,22,17,.12);
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}

html[data-theme="light"] .rest-upgrade-card-title {
  color: #1a1611;
}

html[data-theme="light"] .rest-upgrade-list li {
  color: rgba(26,22,17,0.65);
}

html[data-theme="light"] .rest-upgrade-tag {
  color: rgba(26,22,17,0.4);
}

html[data-theme="light"] .rest-upgrade-card-head {
  border-bottom-color: rgba(26,22,17,0.08);
}

html[data-theme="light"] .rest-upgrade-chip--sub {
  background: rgba(26,22,17,0.06);
  border-color: rgba(26,22,17,0.14);
  color: rgba(26,22,17,0.55);
}

html[data-theme="light"] .rest-upgrade-intro {
  color: rgba(26,22,17,0.65);
}

html[data-theme="light"] .rest-upgrade-arrow-v {
  color: #b45309;
}

html[data-theme="light"] .rest-upgrade-arrow-v span {
  color: #b45309;
}

html[data-theme="light"] .rest-upgrade-card--site {
  border-color: #b45309;
  border-width: 2px;
}

html[data-theme="light"] .rest-bento-card,
html[data-theme="light"] .rest-bento-card--wide {
  background: transparent;
  border-color: rgba(26,22,17,0.08);
  box-shadow: none;
}

html[data-theme="light"] .rest-cta-panel {
  background: #ffffff;
  border-color: rgba(26,22,17,.1);
  box-shadow: 0 4px 32px rgba(0,0,0,.06);
}

html[data-theme="light"] .rest-cta-panel h2,
html[data-theme="light"] .rest-cta-panel p {
  color: #1a1611;
}

html[data-theme="light"] .rest-stats {
  border-color: rgba(245,158,11,.18);
}

html[data-theme="light"] .rest-stat {
  border-right-color: var(--rest-card-line);
}

html[data-theme="light"] .rest-stat:nth-child(3) {
  border-top-color: var(--rest-card-line);
}

html[data-theme="light"] :is(.rest-pain-card strong, .rest-bento-card h3, .rest-step strong, .rest-feat-card h3) {
  color: var(--rest-card-text);
}

html[data-theme="light"] :is(.rest-stat-label, .rest-pain-card p, .rest-bento-card p, .rest-step p, .rest-feat-card p) {
  color: var(--rest-card-muted);
}

html[data-theme="light"] .rest-faq-q {
  color: #1a1611;
}

html[data-theme="light"] .rest-faq-a-inner {
  color: rgba(26,22,17,0.65);
}

html[data-theme="light"] .rest-faq-arrow {
  border-color: rgba(26,22,17,0.15);
  color: rgba(26,22,17,0.45);
}

html[data-theme="light"] .rest-faq-item.is-open .rest-faq-arrow {
  background: rgba(180,83,9,.08);
  border-color: rgba(180,83,9,.3);
  color: #b45309;
}

html[data-theme="light"] .rest-cta-panel h2 {
  color: #1a1611;
}

html[data-theme="light"] .rest-cta-panel p {
  color: rgba(26,22,17,0.65);
}

html[data-theme="light"] .rest-related-link {
  border-color: var(--rest-card-line);
  background: rgba(255,255,255,.04);
  color: var(--rest-card-muted);
}

html[data-theme="light"] .rest-related-link:hover {
  border-color: rgba(245,158,11,.22);
  color: var(--rest);
}

html[data-theme="light"] .rest-compare-wrap {
  background: #ffffff;
  border-color: rgba(26,22,17,.1);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

html[data-theme="light"] .rest-compare-table th {
  background: #f9f7f3;
  color: rgba(26,22,17,.5);
  border-bottom-color: rgba(26,22,17,.08);
}

html[data-theme="light"] .rest-compare-table td {
  background: transparent;
  color: rgba(26,22,17,.75);
  border-bottom-color: rgba(26,22,17,.06);
}

html[data-theme="light"] .rest-compare-table th.col-amber,
html[data-theme="light"] .rest-compare-table td.col-amber {
  background: rgba(180,83,9,.04);
  border-left-color: rgba(180,83,9,.14);
}

html[data-theme="light"] .rest-compare-table td.col-amber {
  color: #1a1611;
}

html[data-theme="light"] .icon-no {
  color: rgba(26,22,17,.3);
  opacity: 1;
}

.rest-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rest-border);
}

.rest-mock-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: -.02em;
  line-height: 1;
}

.rest-mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--rest);
  flex: none;
}

.rest-mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rest);
  animation: rest-pulse 2.2s ease-in-out infinite;
  flex: none;
}

@keyframes rest-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.rest-mock-section-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rest);
  padding: 10px 0 5px;
}

.rest-mock-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

html[data-theme="light"] .rest-mock-item {
  border-bottom-color: rgba(0,0,0,0.08);
}

.rest-mock-item-left {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.rest-mock-item-name {
  font-size: .88rem;
  font-weight: 500;
  color: #f5f5f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rest-mock-item-desc {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rest-mock-item-price {
  font-size: .9rem;
  font-weight: 600;
  color: var(--rest);
  flex: none;
}

.rest-mock-divider {
  height: 1px;
  background: rgba(255,255,255,.11);
  margin: 5px 0;
}

.rest-mock-cta {
  margin-top: 16px;
  padding: 10px 0;
  border-radius: 14px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rest);
  letter-spacing: .02em;
}

.rest-mock-footer {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.rest-mock-dot-nav {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
}

.rest-mock-dot-nav.active {
  background: var(--rest);
}

/* ─── Section shell ─────────────────────────────────────────── */
.rest-section {
  width: 100%;
  padding-bottom: 96px;
}

/* ─── Section head ──────────────────────────────────────────── */
.rest-head {
  display: grid;
  gap: 17px;
  margin-bottom: 64px;
}

.rest-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.rest-head h2 {
  font-size: clamp(3rem, 5.5vw, 5rem);
  max-width: 20ch;
  line-height: 1.04;
  margin-top: 8px;
}

.rest-head-italic {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(110deg, #f4f1ea 0%, var(--rest) 52%, oklch(0.92 0.06 80) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rest-head p {
  max-width: 62ch;
  font-size: 1.22rem;
  line-height: 1.72;
  margin-top: 10px;
}

/* ─── Stat strip ────────────────────────────────────────────── */
.rest-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--rest-card-surface);
  box-shadow: var(--rest-card-shadow);
}

.rest-stat {
  padding: 29px 31px;
  display: grid;
  gap: 9px;
  border-right: 1px solid var(--line);
  background: transparent;
}

.rest-stat:last-child {
  border-right: none;
}

html[data-theme="light"] .rest-stat {
  background: transparent;
}

.rest-stat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--rest);
}

.rest-stat-label {
  font-size: 1rem;
  color: var(--soft);
  line-height: 1.55;
  max-width: 24ch;
}

/* ─── Pain points ───────────────────────────────────────────── */
.rest-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rest-pain-card {
  padding: 31px 24px;
  border: 1px solid oklch(0.4 0.06 65 / 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 0%, oklch(0.78 0.12 70 / 0.09) 0%, transparent 38%),
    linear-gradient(180deg, oklch(0.13 0.025 60) 0%, oklch(0.09 0.015 60) 100%);
  display: grid;
  gap: 15px;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
  transition: border-color .28s ease, box-shadow .28s ease;
}

.rest-pain-card:hover {
  border-color: var(--rest-border);
}

html[data-theme="light"] .rest-pain-card {
  background: var(--rest-card-surface);
  box-shadow: var(--rest-card-shadow);
}

.rest-pain-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rest);
  flex: none;
}

.rest-pain-card strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.25;
  display: block;
}

.rest-pain-card p {
  font-size: 1rem;
  line-height: 1.65;
}

.rest-pain-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--rest-border);
  margin-top: 4px;
}

.rest-pain-stat-label {
  font-size: 0.85rem;
  color: var(--soft);
  letter-spacing: 0.02em;
}

.rest-pain-stat-val {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--rest);
  letter-spacing: -0.01em;
}

/* ─── Bento usages ──────────────────────────────────────────── */
.rest-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rest-bento-card {
  padding: 29px 24px;
  border: 1px solid oklch(0.4 0.06 65 / 0.3);
  border-radius: var(--radius-lg);
  background: transparent;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: border-color .28s ease, transform .28s ease;
}

.rest-bento-card:hover {
  border-color: var(--rest-border);
  transform: translateY(-3px);
}

html[data-theme="light"] .rest-bento-card {
  background: var(--rest-card-surface);
  box-shadow: var(--rest-card-shadow);
}

.rest-bento-card--wide {
  grid-column: span 2;
  background:
    radial-gradient(ellipse at 20% 0%, oklch(0.78 0.12 70 / 0.10) 0%, transparent 50%),
    linear-gradient(180deg, oklch(0.13 0.025 60) 0%, oklch(0.09 0.015 60) 100%);
}

.rest-bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rest);
  flex: none;
}

.rest-bento-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.14;
  color: var(--text);
}

.rest-bento-card p {
  font-size: 1rem;
  line-height: 1.62;
}

.rest-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: none;
  color: var(--rest);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.rest-bento-link:hover {
  gap: 9px;
  opacity: 0.85;
}

.rest-bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rest-bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  font-size: 0.82rem;
  color: var(--rest);
  font-weight: 600;
  width: fit-content;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ─── Comparatif ────────────────────────────────────────────── */
.rest-compare-wrap {
  border: 1px solid oklch(0.4 0.06 65 / 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: oklch(0.10 0.018 60);
}

.rest-compare-table {
  width: 100%;
  border-collapse: collapse;
}

/* En-têtes colonnes */
.rest-compare-table thead tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rest-compare-table th {
  padding: 15px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  background: transparent;
  text-align: left;
}

.rest-compare-table th:first-child {
  color: rgba(255,255,255,0.22);
}

.rest-compare-table th.col-amber {
  color: var(--rest);
  background: transparent;
  border-left: none;
}

/* Lignes */
.rest-compare-table td {
  padding: 17px 24px;
  font-size: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
  vertical-align: middle;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.rest-compare-table td.col-amber {
  border-left: none;
  background: transparent;
  font-weight: 600;
  color: var(--rest);
}

.rest-compare-table tr:last-child td {
  border-bottom: none;
}

.rest-compare-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Icônes */
.icon-yes {
  color: var(--rest);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-yes svg {
  color: var(--rest);
  flex-shrink: 0;
}

.icon-no {
  color: rgba(255,255,255,0.22);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 7px;
}

.icon-no svg {
  flex-shrink: 0;
  opacity: 0.5;
}

/* ─── Process ───────────────────────────────────────────────── */
.rest-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

.rest-process::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(100% / 6 + 6px);
  right: calc(100% / 6 + 6px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rest-border) 20%, var(--rest-border) 80%, transparent);
  pointer-events: none;
}

.rest-step {
  position: relative;
  display: grid;
  gap: 15px;
  padding: 31px 24px;
  border: 1px solid oklch(0.4 0.06 65 / 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 0%, oklch(0.78 0.12 70 / 0.09) 0%, transparent 40%),
    linear-gradient(180deg, oklch(0.13 0.025 60) 0%, oklch(0.09 0.015 60) 100%);
  align-content: start;
}

html[data-theme="light"] .rest-step {
  background: var(--rest-card-surface);
  box-shadow: var(--rest-card-shadow);
}

.rest-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .94rem;
  font-weight: 700;
  color: var(--rest);
  flex: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
}

.rest-step strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.02em;
  display: block;
}

.rest-step p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ─── Photo band ────────────────────────────────────────────── */
.rest-photo-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.rest-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.rest-photo-card--tall {
  aspect-ratio: 3/4;
}

.rest-photo-card--short {
  aspect-ratio: 4/5;
}

.rest-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rest-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(4,4,6,.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  gap: 4px;
}

.rest-photo-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rest);
}

.rest-photo-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.12;
  color: #f5f5f5;
  letter-spacing: -.01em;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.rest-faq {
  display: grid;
  gap: 9px;
  max-width: 860px;
  margin: 0 auto;
}

.rest-section:has(.rest-faq) {
  padding-bottom: 96px;
}

.rest-section:has(.rest-faq) + .rest-section {
  padding-top: 36px;
}

.rest-faq-item {
  border: 1px solid oklch(0.4 0.06 65 / 0.3);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, oklch(0.13 0.025 60) 0%, oklch(0.09 0.015 60) 100%);
  overflow: hidden;
  transition: border-color .28s ease;
}

.rest-faq-item.is-open {
  border-color: var(--rest-border);
}

html[data-theme="light"] .rest-faq-item {
  background: #ffffff;
  border-color: rgba(26,22,17,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

html[data-theme="light"] .rest-faq-q {
  color: #1a1611;
}

.rest-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 19px 22px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  font-family: "Inter", sans-serif;
}

.rest-faq-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--soft);
  transition: transform .32s ease, background .32s ease, border-color .32s ease, color .32s ease;
}

.rest-faq-item.is-open .rest-faq-arrow {
  transform: rotate(180deg);
  background: var(--rest-glow);
  border-color: var(--rest-border);
  color: var(--rest);
}

.rest-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.2,.8,.2,1);
}

.rest-faq-item.is-open .rest-faq-a {
  max-height: 500px;
}

.rest-faq-a-inner {
  padding: 0 22px 20px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.74;
}

/* ─── CTA ───────────────────────────────────────────────────── */
.rest-cta-panel {
  padding: clamp(48px, 7vw, 96px) clamp(31px, 6vw, 68px);
  border: 1px solid oklch(0.4 0.06 65 / 0.25);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 50% 0%, oklch(0.78 0.12 70 / 0.12) 0%, transparent 60%),
    oklch(0.09 0.015 60);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  text-align: center;
}

.rest-cta-panel h2 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  max-width: 16ch;
  margin: 0 auto;
  line-height: 1.04;
}

.rest-cta-panel p {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.72;
}

.rest-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rest-related {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.rest-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1rem;
  color: var(--muted);
  transition: border-color .25s ease, color .25s ease;
}

.rest-related-link:hover {
  border-color: var(--rest-border);
  color: var(--rest);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .rest-hero {
    grid-template-columns: 1fr;
  }

  .rest-photo-row {
    grid-template-columns: 1fr 1fr;
  }

  .rest-photo-card--tall {
    grid-row: span 2;
  }
}

@media (max-width: 860px) {
  .rest-pain-grid,
  .rest-process {
    grid-template-columns: 1fr 1fr;
  }

  .rest-process::before {
    display: none;
  }

  .rest-stats {
    grid-template-columns: 1fr 1fr;
  }

  .rest-stat:nth-child(2) {
    border-right: none;
  }

  .rest-stat:nth-child(3) {
    border-top: 1px solid var(--line);
    grid-column: span 2;
    border-right: none;
  }

  .rest-bento {
    grid-template-columns: 1fr 1fr;
  }

  .rest-bento-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .rest-pain-grid,
  .rest-process,
  .rest-bento {
    grid-template-columns: 1fr;
  }

  .rest-bento-card--wide {
    grid-column: span 1;
  }

  .rest-stats {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }

  .rest-stat {
    padding: 24px 20px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .rest-stat:last-child {
    border-bottom: none;
  }

  .rest-stat:nth-child(3) {
    grid-column: span 1;
    border-top: none;
  }

  .rest-cta-panel {
    padding: 32px 19px;
  }

  .rest-photo-row {
    grid-template-columns: 1fr;
  }

  .rest-photo-card--tall {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  .rest-photo-card--short {
    aspect-ratio: 4/3;
  }

  .rest-compare-wrap {
    overflow-x: auto;
  }

  .rest-compare-table {
    min-width: 480px;
  }
}

/* ═══ Fonctionnalités avancées ══════════════════════════════ */

.rest-feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px;
}

.rest-feat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 19px;
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.rest-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0,0,0,.28);
}

html[data-theme="light"] .rest-feat-card {
  background: var(--rest-card-surface);
  border-color: rgba(245,158,11,.18);
  box-shadow: var(--rest-card-shadow);
}

.rest-feat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.rest-feat-icon {
  width: 44px; height: 44px; border-radius: 13px;
  border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.rest-feat-badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.rest-feat-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}

.rest-feat-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* Mock commande */
.rest-feat-mock {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.rest-feat-mock-header {
  padding: 7px 10px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rest-feat-mock-items { display: flex; flex-direction: column; }

.rest-feat-mock-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-bottom: 1px solid #f9fafb;
  font-size: .62rem;
}

.rest-feat-mock-qty {
  width: 20px; height: 20px; border-radius: 5px;
  background: #f1f5f9; color: #374151;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .58rem; flex-shrink: 0;
}

.rest-feat-mock-name { flex: 1; font-weight: 600; color: #111; }
.rest-feat-mock-price { font-weight: 800; color: #c8641e; }

.rest-feat-mock-total {
  padding: 5px 10px;
  font-size: .68rem; color: #374151;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.rest-feat-mock-total strong { color: #111; }

.rest-feat-mock-btn {
  align-self: flex-start;
  width: fit-content;
  margin: 0;
  white-space: nowrap;
}

/* ── Plan de salle standalone ────────────────────────────── */
.rest-plan-standalone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 94px);
  width: 100%;
  align-self: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  align-items: center;
}

.rest-plan-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  align-self: center;
}

.rest-plan-copy {
  display: grid;
  align-content: start;
  gap: 15px;
  min-width: 0;
  padding-top: 6px;
}

.rest-plan-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.rest-plan-copy .rest-subsection-head {
  gap: 10px;
}

.rest-plan-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
}

.rest-plan-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

.rest-plan-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0;
  margin-top: 0;
}

.rest-plan-points {
  display: grid;
  gap: 10px;
}

.rest-plan-points span {
  position: relative;
  display: block;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.rest-plan-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  box-shadow: 0 0 0 4px rgba(245,158,11,.12);
  transform: translateY(-50%);
}

.rest-plan-leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.rest-plan-leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rest-plan-leg-dot--blocked {
  background:
    repeating-linear-gradient(135deg, #b45309 0 2px, rgba(180,83,9,.18) 2px 4px);
  box-shadow: 0 0 0 1px rgba(180,83,9,.18);
}

/* ── Floorplan ───────────────────────────────────────────── */
.rest-floorplan {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: min(100%, 580px);
  align-self: flex-start;
}

.rest-fp-room {
  position: relative;
  width: 100%;
  height: 320px;
  background: #f7f5f0;
  border: 2px solid #c4b99a;
  border-radius: 4px 20px 4px 4px;
  overflow: hidden;
}

html[data-theme="light"] .rest-fp-room {
  background: #ffffff;
  border-color: rgba(26,22,17,0.14);
}

/* Mode sombre */
html:not([data-theme="light"]) .rest-fp-room {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}

/* Fenêtres */
.rest-fp-window--left {
  position: absolute;
  left: -2px;
  width: 6px;
  background: rgba(147,197,253,.4);
  border-right: 1.5px dashed rgba(147,197,253,.7);
}

.rest-fp-window--top {
  position: absolute;
  top: -2px;
  height: 6px;
  background: rgba(147,197,253,.4);
  border-bottom: 1.5px dashed rgba(147,197,253,.7);
}

/* Bar -->
.rest-fp-bar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  background: linear-gradient(180deg,
    rgba(180,140,80,.2) 0%,
    rgba(160,120,60,.15) 100%
  );
  border-left: 2px solid rgba(180,140,80,.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rest-fp-bar-label {
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(120,80,20,.55);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

html:not([data-theme="light"]) .rest-fp-bar {
  background: rgba(255,255,255,.04);
  border-left-color: rgba(255,255,255,.1);
}

html:not([data-theme="light"]) .rest-fp-bar-label { color: rgba(255,255,255,.25); }

/* Entrée */
.rest-fp-entrance {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: rgba(107,140,255,.1);
  border: 1px solid rgba(107,140,255,.25);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-size: .56rem;
  font-weight: 700;
  color: #6b8cff;
}

/* ── Tables (communes) ───────────────────────────────────── */
.rest-fp-tbl {
  position: absolute;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.rest-fp-tbl:hover { transform: scale(1.08); filter: brightness(1.1); }

/* Surface de la table */
.rest-fp-surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rest-fp-num {
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}

/* Sieges - positionnement relatif au centre de la table */
.rest-fp-chair {
  position: absolute;
  z-index: 1;
  border-radius: 3px;
}

/* ── Table ronde 2 places (34×34) ─────────────────────────── */
.rest-fp-tbl--round2 {
  width: 34px;
  height: 34px;
}

.rest-fp-tbl--round2 .rest-fp-surface { border-radius: 50%; }

.rest-fp-tbl--round2 .rest-fp-chair {
  width: 14px; height: 8px; border-radius: 4px;
  left: 50%; transform: translateX(-50%);
}

.rest-fp-tbl--round2 .rest-fp-chair--top    { top: -10px; }
.rest-fp-tbl--round2 .rest-fp-chair--bottom { bottom: -10px; }

/* ── Table ronde 4 places (42×42) ─────────────────────────── */
.rest-fp-tbl--round4 {
  width: 42px;
  height: 42px;
}

.rest-fp-tbl--round4 .rest-fp-surface { border-radius: 50%; }

.rest-fp-tbl--round4 .rest-fp-chair {
  width: 14px; height: 8px; border-radius: 4px;
}

.rest-fp-tbl--round4 .rest-fp-chair--top    { top: -11px; left: 50%; transform: translateX(-50%); }
.rest-fp-tbl--round4 .rest-fp-chair--bottom { bottom: -11px; left: 50%; transform: translateX(-50%); }
.rest-fp-tbl--round4 .rest-fp-chair--left   { left: -11px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.rest-fp-tbl--round4 .rest-fp-chair--right  { right: -11px; top: 50%; transform: translateY(-50%) rotate(90deg); }

/* ── Table rectangulaire 4 places (58×36) ─────────────────── */
.rest-fp-tbl--rect4 {
  width: 58px;
  height: 36px;
}

.rest-fp-tbl--rect4 .rest-fp-surface { border-radius: 6px; }

.rest-fp-tbl--rect4 .rest-fp-chair {
  width: 16px; height: 8px; border-radius: 4px;
  top: -10px;
}

.rest-fp-tbl--rect4 .rest-fp-chair--left40  { left: 10%; }
.rest-fp-tbl--rect4 .rest-fp-chair--right40 { right: 10%; }
.rest-fp-tbl--rect4 .rest-fp-chair--bottom.rest-fp-chair--left40  { top: auto; bottom: -10px; left: 10%; }
.rest-fp-tbl--rect4 .rest-fp-chair--bottom.rest-fp-chair--right40 { top: auto; bottom: -10px; right: 10%; }

/* ── Table rectangulaire 6 places (88×36) ─────────────────── */
.rest-fp-tbl--rect6 {
  width: 88px;
  height: 36px;
}

.rest-fp-tbl--rect6 .rest-fp-surface { border-radius: 6px; }

.rest-fp-tbl--rect6 .rest-fp-chair {
  width: 16px; height: 8px; border-radius: 4px;
}

.rest-fp-tbl--rect6 .rest-fp-chair--top    { top: -10px; }
.rest-fp-tbl--rect6 .rest-fp-chair--bottom { bottom: -10px; top: auto; }
.rest-fp-tbl--rect6 .rest-fp-chair--l20  { left: 12%; }
.rest-fp-tbl--rect6 .rest-fp-chair--c50  { left: 50%; transform: translateX(-50%); }
.rest-fp-tbl--rect6 .rest-fp-chair--r20  { right: 12%; }

/* ── Couleurs libre / occupée / sélectionnée ──────────────── */
.rest-fp-tbl--free .rest-fp-surface {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  box-shadow: 0 2px 8px rgba(34,197,94,.15);
}

.rest-fp-tbl--free .rest-fp-num { color: #166534; }
.rest-fp-tbl--free .rest-fp-chair { background: #86efac; }

.rest-fp-tbl--taken .rest-fp-surface {
  background: #fee2e2;
  border: 1.5px solid #f87171;
  opacity: .9;
}

.rest-fp-tbl--taken .rest-fp-num { color: #b91c1c; }
.rest-fp-tbl--taken .rest-fp-chair { background: #fca5a5; }

.rest-fp-tbl--selected .rest-fp-surface {
  background: #eff6ff;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.22), 0 4px 14px rgba(59,130,246,.25);
}

.rest-fp-surface--selected .rest-fp-num { color: #1d4ed8; }
.rest-fp-tbl--selected .rest-fp-chair { background: #93c5fd; }

/* Mode sombre — ajustements des couleurs */
html:not([data-theme="light"]) .rest-fp-tbl--free .rest-fp-surface {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.3);
}

html:not([data-theme="light"]) .rest-fp-tbl--free .rest-fp-num { color: #4ade80; }
html:not([data-theme="light"]) .rest-fp-tbl--free .rest-fp-chair { background: rgba(34,197,94,.4); }

html:not([data-theme="light"]) .rest-fp-tbl--taken .rest-fp-surface {
  background: rgba(148,163,184,.1);
  border-color: rgba(148,163,184,.28);
}

html:not([data-theme="light"]) .rest-fp-tbl--taken .rest-fp-num { color: #9ca3af; }
html:not([data-theme="light"]) .rest-fp-tbl--taken .rest-fp-chair { background: rgba(156,163,175,.45); }

html:not([data-theme="light"]) .rest-fp-tbl--selected .rest-fp-surface {
  background: rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.5);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15), 0 4px 14px rgba(59,130,246,.2);
}

html:not([data-theme="light"]) .rest-fp-tbl--selected .rest-fp-chair { background: rgba(59,130,246,.45); }

/* Tooltip sélection */
.rest-fp-tooltip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.24);
  font-size: .74rem;
  font-weight: 700;
  color: #d97706;
  width: fit-content;
}

html[data-theme="light"] .rest-fp-tooltip {
  background: #fff7ed;
  border-color: #fdba74;
  color: #c2410c;
}

/* Plan de salle plus réaliste */
.rest-fp-room {
  height: 380px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(255,255,255,.2) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 28% 18%, rgba(245,158,11,.14), transparent 32%),
    #f4eee3;
  border: 2px solid rgba(154,118,63,.42);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.34),
    inset 0 24px 70px rgba(124,84,35,.08),
    0 24px 70px rgba(0,0,0,.16);
}

html[data-theme="light"] .rest-fp-room {
  background:
    linear-gradient(90deg, rgba(26,22,17,.06) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(26,22,17,.06) 1px, transparent 1px) 0 0 / 34px 34px,
    #ffffff;
  border-color: rgba(26,22,17,.12);
}

html:not([data-theme="light"]) .rest-fp-room {
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 34px 34px,
    radial-gradient(circle at 28% 18%, rgba(59,130,246,.13), transparent 34%),
    rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 0 0 8px rgba(255,255,255,.035),
    inset 0 24px 70px rgba(255,255,255,.025),
    0 24px 70px rgba(0,0,0,.34);
}

.rest-fp-floor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(96,165,250,.18), transparent 22%),
    radial-gradient(circle at 14% 76%, rgba(245,158,11,.14), transparent 28%);
  opacity: .85;
}

html[data-theme="light"] .rest-fp-floor-glow {
  display: none;
}

.rest-fp-zone {
  position: absolute;
  z-index: 2;
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(121,85,43,.48);
  pointer-events: none;
}

.rest-fp-zone--window {
  left: 18px;
  top: 10px;
}

html:not([data-theme="light"]) .rest-fp-zone {
  color: rgba(255,255,255,.28);
}

.rest-fp-aisle {
  position: absolute;
  display: none;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255,255,255,.42);
  border: 1px dashed rgba(154,118,63,.18);
}

.rest-fp-aisle--main {
  left: 25%;
  top: 8%;
  width: 16%;
  height: 76%;
  transform: rotate(2deg);
}

.rest-fp-aisle--cross {
  left: 21%;
  top: 42%;
  width: 58%;
  height: 16%;
}

html:not([data-theme="light"]) .rest-fp-aisle {
  background: rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.075);
}

.rest-fp-banquette {
  position: absolute;
  left: 4%;
  top: 12%;
  bottom: 12%;
  width: 12%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(146,64,14,.18), rgba(245,158,11,.1)),
    repeating-linear-gradient(180deg, transparent 0 31%, rgba(255,255,255,.22) 32% 33%);
  border: 1px solid rgba(146,64,14,.2);
  box-shadow: inset 0 0 18px rgba(146,64,14,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rest-fp-banquette span {
  transform: rotate(-90deg);
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(146,64,14,.48);
}

html:not([data-theme="light"]) .rest-fp-banquette {
  background:
    linear-gradient(180deg, rgba(245,158,11,.1), rgba(245,158,11,.035)),
    repeating-linear-gradient(180deg, transparent 0 31%, rgba(255,255,255,.08) 32% 33%);
  border-color: rgba(245,158,11,.14);
}

html:not([data-theme="light"]) .rest-fp-banquette span {
  color: rgba(245,158,11,.44);
}

.rest-fp-bar {
  right: 14px;
  top: 16px;
  bottom: 58px;
  width: 76px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(96,55,18,.25), rgba(245,158,11,.16)),
    repeating-linear-gradient(180deg, rgba(255,255,255,.2) 0 2px, transparent 2px 18px);
  border: 1px solid rgba(146,64,14,.25);
  box-shadow: inset 10px 0 24px rgba(146,64,14,.08);
}

.rest-fp-bar::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 18px;
  bottom: 18px;
  width: 7px;
  border-radius: 999px;
  background: rgba(146,64,14,.34);
}

.rest-fp-bar-label {
  color: rgba(120,80,20,.66);
}

.rest-fp-stool {
  position: absolute;
  left: -25px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.72), transparent 34%),
    #b9772d;
  border: 2px solid rgba(255,255,255,.48);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

html:not([data-theme="light"]) .rest-fp-bar {
  background:
    linear-gradient(90deg, rgba(255,255,255,.065), rgba(59,130,246,.07)),
    repeating-linear-gradient(180deg, rgba(255,255,255,.06) 0 2px, transparent 2px 18px);
  border-color: rgba(255,255,255,.12);
}

html:not([data-theme="light"]) .rest-fp-bar::before {
  background: rgba(255,255,255,.14);
}

html:not([data-theme="light"]) .rest-fp-stool {
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.36), transparent 34%),
    rgba(96,165,250,.55);
  border-color: rgba(255,255,255,.24);
}

.rest-fp-service {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 64px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(146,64,14,.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .52rem;
  font-weight: 800;
  color: rgba(120,80,20,.58);
  text-transform: uppercase;
  letter-spacing: .1em;
}

html:not([data-theme="light"]) .rest-fp-service {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.34);
}

.rest-fp-plant {
  position: absolute;
  z-index: 3;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(21,128,61,.8) 0 28%, transparent 30%),
    radial-gradient(circle at 28% 30%, rgba(34,197,94,.82) 0 22%, transparent 24%),
    radial-gradient(circle at 72% 30%, rgba(22,163,74,.82) 0 22%, transparent 24%),
    radial-gradient(circle at 32% 74%, rgba(21,128,61,.82) 0 22%, transparent 24%),
    radial-gradient(circle at 72% 72%, rgba(34,197,94,.72) 0 22%, transparent 24%);
  border: 2px solid rgba(107,65,24,.3);
  box-shadow: 0 8px 16px rgba(0,0,0,.12);
}

.rest-fp-plant--one { left: 5%; top: 5%; }
.rest-fp-plant--two { left: 46%; top: 6%; }
.rest-fp-plant--three { left: 79%; bottom: 10%; }

.rest-fp-tbl {
  z-index: 4;
}

.rest-fp-tbl:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.04);
}

.rest-fp-surface {
  background-image:
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.7), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(0,0,0,.03));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 8px 18px rgba(0,0,0,.14);
}

.rest-fp-surface::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  box-shadow:
    12px 2px 0 rgba(255,255,255,.58),
    4px 12px 0 rgba(255,255,255,.5);
  opacity: .7;
}

.rest-fp-chair {
  border-radius: 7px 7px 4px 4px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 3px 8px rgba(0,0,0,.12);
}

.rest-fp-chair::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 58%;
  height: 4px;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
  background: inherit;
  opacity: .58;
}

.rest-fp-tbl--round2 {
  width: 42px;
  height: 42px;
}

.rest-fp-tbl--round4 {
  width: 52px;
  height: 52px;
}

.rest-fp-tbl--rect4 {
  width: 72px;
  height: 44px;
}

.rest-fp-tbl--rect6 {
  width: 112px;
  height: 44px;
}

.rest-fp-tbl--oval6 {
  width: 104px;
  height: 46px;
}

.rest-fp-tbl--oval6 .rest-fp-surface {
  border-radius: 999px;
}

.rest-fp-tbl--oval6 .rest-fp-chair {
  width: 16px;
  height: 9px;
  border-radius: 7px 7px 4px 4px;
}

.rest-fp-tbl--oval6 .rest-fp-chair--top { top: -12px; }
.rest-fp-tbl--oval6 .rest-fp-chair--bottom { bottom: -12px; top: auto; }
.rest-fp-tbl--oval6 .rest-fp-chair--l20 { left: 13%; }
.rest-fp-tbl--oval6 .rest-fp-chair--c50 { left: 50%; transform: translateX(-50%); }
.rest-fp-tbl--oval6 .rest-fp-chair--r20 { right: 13%; }

.rest-fp-tbl--free .rest-fp-surface {
  background-color: #effdf4;
}

.rest-fp-tbl--taken .rest-fp-surface {
  background-color: #f3f4f6;
}

.rest-fp-tbl--selected .rest-fp-surface {
  animation: rest-selected-table 2.4s ease-in-out infinite;
}

@keyframes rest-selected-table {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(59,130,246,.2), 0 8px 24px rgba(59,130,246,.22);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(59,130,246,.09), 0 14px 34px rgba(59,130,246,.28);
  }
}

/* Plan de salle réaliste : zones bloquées, salle non rectangulaire, tables modulables */
.rest-fp-room {
  min-height: 410px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 12% 91%, 0 91%);
}

.rest-fp-count {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(146,64,14,.16);
  color: rgba(120,80,20,.68);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: 10px;
}

html:not([data-theme="light"]) .rest-fp-count {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
}

.rest-fp-block {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 7px;
  border-radius: 14px;
  text-align: center;
  background: rgba(146,64,14,.18);
  border: 1px solid rgba(146,64,14,.2);
  color: rgba(91,55,18,.7);
  box-shadow: inset 0 0 18px rgba(146,64,14,.07);
}

.rest-fp-block strong {
  font-size: .58rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.rest-fp-block span {
  font-size: .5rem;
  line-height: 1.1;
  font-weight: 700;
  color: rgba(91,55,18,.48);
}

html:not([data-theme="light"]) .rest-fp-block {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.11);
  color: rgba(255,255,255,.56);
}

html:not([data-theme="light"]) .rest-fp-block span {
  color: rgba(255,255,255,.34);
}

.rest-fp-kitchen {
  left: 71%;
  top: 6%;
  width: 24%;
  height: 18%;
  border-radius: 0 16px 16px 16px;
}

.rest-fp-wc {
  right: 5%;
  bottom: 7%;
  width: 15%;
  height: 12%;
}

.rest-fp-decor {
  left: 47%;
  top: 6%;
  width: 17%;
  height: 8%;
  background:
    radial-gradient(circle at 28% 52%, rgba(245,158,11,.28), transparent 32%),
    rgba(245,158,11,.08);
}

.rest-fp-service {
  left: 66%;
  top: 30%;
  right: auto;
  bottom: auto;
  width: 70px;
  height: 34px;
  z-index: 6;
}

.rest-fp-bar {
  left: 79%;
  right: auto;
  top: 31%;
  bottom: auto;
  width: 12%;
  height: 26%;
}

.rest-fp-bar-label {
  writing-mode: horizontal-tb;
  transform: none;
}

.rest-fp-bar::before {
  left: -10px;
}

.rest-fp-aisle {
  display: none;
  z-index: 1;
}

.rest-fp-aisle--main {
  left: 23%;
  top: 12%;
  width: 13%;
  height: 73%;
}

.rest-fp-aisle--cross {
  left: 22%;
  top: 39%;
  width: 53%;
  height: 13%;
}

.rest-fp-aisle--service {
  right: 19%;
  top: 25%;
  width: 8%;
  height: 60%;
  transform: rotate(-3deg);
}

.rest-fp-pillar {
  position: absolute;
  z-index: 5;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.6), transparent 34%),
    rgba(120,80,20,.34);
  border: 1px solid rgba(120,80,20,.18);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.rest-fp-pillar--one {
  left: 42%;
  top: 38%;
}

.rest-fp-pillar--two {
  left: 64%;
  top: 61%;
}

html:not([data-theme="light"]) .rest-fp-pillar {
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.22), transparent 34%),
    rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.12);
}

.rest-fp-plant--four {
  left: 92%;
  top: 23%;
}

.rest-fp-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rest-fp-note-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
}

html[data-theme="light"] .rest-fp-note-row span {
  background: rgba(255,255,255,.78);
}

/* Plan type croquis inspire d'une vraie salle */
.rest-fp-room--sketch {
  height: 560px;
  min-height: 560px;
  clip-path: none;
  overflow: hidden;
  border-radius: 34% 16px 14px 8px / 16% 12px 14px 8px;
  background:
    radial-gradient(circle at 42% 14%, rgba(245,158,11,.1), transparent 28%),
    linear-gradient(90deg, rgba(112,84,52,.055) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(112,84,52,.045) 1px, transparent 1px) 0 0 / 42px 42px,
    #f2eadb;
  border-color: rgba(42,35,26,.62);
  box-shadow:
    inset 0 0 0 5px rgba(255,255,255,.24),
    inset 0 20px 90px rgba(91,63,34,.09),
    0 24px 70px rgba(0,0,0,.18);
}

html:not([data-theme="light"]) .rest-fp-room--sketch {
  background:
    radial-gradient(circle at 42% 14%, rgba(59,130,246,.1), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(0deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 42px 42px,
    rgba(255,255,255,.035);
  border-color: rgba(255,255,255,.18);
}

.rest-fp-paper-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.3), transparent 18%),
    radial-gradient(circle at 76% 68%, rgba(120,80,20,.07), transparent 22%);
  opacity: .85;
}

.rest-sketch-zone,
.rest-sketch-wall,
.rest-sketch-partition,
.rest-sketch-banquette,
.rest-layout-table {
  border: 2px solid rgba(35,28,20,.68);
}

html:not([data-theme="light"]) .rest-sketch-zone,
html:not([data-theme="light"]) .rest-sketch-wall,
html:not([data-theme="light"]) .rest-sketch-partition,
html:not([data-theme="light"]) .rest-sketch-banquette,
html:not([data-theme="light"]) .rest-layout-table {
  border-color: rgba(255,255,255,.32);
}

.rest-sketch-zone {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,.34);
  color: rgba(58,43,28,.76);
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

html:not([data-theme="light"]) .rest-sketch-zone {
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.58);
}

.rest-sketch-entrance {
  left: 69%;
  top: 4%;
  width: 10%;
  height: 22%;
  border-radius: 0 0 18px 18px;
  border-top: 0;
}

.rest-sketch-entrance strong {
  font-size: 1.35rem;
  line-height: 1;
  color: #2563eb;
}

.rest-sketch-bar {
  right: 5%;
  top: 38%;
  width: 11%;
  height: 20%;
  border-radius: 14px;
  transform: rotate(-1deg);
}

.rest-sketch-callout {
  position: absolute;
  right: 1.8%;
  z-index: 7;
  color: rgba(58,43,28,.82);
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.rest-sketch-callout--kitchen {
  top: 61%;
}

.rest-sketch-callout--toilet {
  bottom: 7%;
}

html:not([data-theme="light"]) .rest-sketch-callout {
  color: rgba(255,255,255,.68);
}

.rest-sketch-wall {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: rgba(255,255,255,.08);
}

.rest-sketch-wall--top {
  left: 25%;
  top: 5%;
  width: 42%;
  height: 24%;
  border-bottom: 0;
  border-right-width: 3px;
  border-radius: 170px 8px 0 0;
  transform: rotate(-.6deg);
}

.rest-sketch-wall--left-mid {
  left: 24.5%;
  top: 30%;
  width: 1px;
  height: 27%;
  border-width: 0 0 0 3px;
}

.rest-sketch-wall--bottom {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  border-width: 0 0 3px;
}

.rest-sketch-partition {
  position: absolute;
  z-index: 3;
  background:
    repeating-linear-gradient(135deg, rgba(35,28,20,.22) 0 7px, transparent 7px 15px),
    rgba(255,255,255,.12);
}

.rest-sketch-partition--vertical {
  left: 36%;
  top: 58%;
  width: 7%;
  height: 28%;
  transform: rotate(.8deg);
}

.rest-sketch-partition--low {
  left: 26%;
  top: 55%;
  width: 13%;
  height: 5%;
  transform: rotate(.5deg);
}

.rest-sketch-stairs {
  position: absolute;
  left: 42%;
  top: 29%;
  z-index: 5;
  display: grid;
  gap: 3px;
}

.rest-sketch-stairs span {
  width: 68px;
  height: 7px;
  border-radius: 999px;
  border: 2px solid rgba(35,28,20,.58);
  background: rgba(255,255,255,.24);
}

html:not([data-theme="light"]) .rest-sketch-stairs span {
  border-color: rgba(255,255,255,.28);
}

.rest-sketch-banquette {
  position: absolute;
  z-index: 3;
  background: rgba(146,64,14,.08);
  box-shadow: inset 0 0 20px rgba(146,64,14,.06);
}

.rest-sketch-banquette--left-one {
  left: 4%;
  top: 54%;
  width: 29%;
  height: 9%;
}

.rest-sketch-banquette--left-two {
  left: 4%;
  top: 70%;
  width: 30%;
  height: 10%;
  transform: rotate(.4deg);
}

.rest-sketch-banquette--center-left {
  left: 30%;
  top: 33%;
  width: 9%;
  height: 27%;
}

.rest-sketch-banquette--center-right {
  left: 55%;
  top: 33%;
  width: 9%;
  height: 27%;
}

.rest-sketch-banquette--bottom {
  right: 12%;
  bottom: 8%;
  width: 25%;
  height: 8%;
}

.rest-layout-table {
  position: absolute;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 0;
  appearance: none;
  color: rgba(35,28,20,.82);
  font-size: .64rem;
  font-weight: 900;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.62), transparent 26%),
    rgba(255,255,255,.5);
  box-shadow: 0 9px 18px rgba(60,40,20,.12);
}

html:not([data-theme="light"]) .rest-layout-table {
  color: rgba(255,255,255,.84);
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.12), transparent 26%),
    rgba(255,255,255,.06);
  box-shadow: 0 9px 18px rgba(0,0,0,.22);
}

.rest-layout-table--free {
  outline: 2px solid rgba(34,197,94,.16);
}

.rest-layout-table--taken {
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.46), transparent 26%),
    rgba(107,114,128,.16);
  outline: 2px solid rgba(107,114,128,.14);
  color: rgba(75,85,99,.78);
}

html:not([data-theme="light"]) .rest-layout-table--taken {
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.08), transparent 26%),
    rgba(148,163,184,.12);
  outline-color: rgba(148,163,184,.16);
  color: rgba(203,213,225,.72);
}

.rest-layout-table--taken .rest-chair {
  background: rgba(107,114,128,.28);
}

.rest-layout-table--selectable {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, outline-color .18s ease, background .18s ease;
}

.rest-layout-table--selectable:hover,
.rest-layout-table--selectable:focus-visible {
  outline: 3px solid rgba(59,130,246,.22);
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(37,99,235,.16);
}

.rest-layout-table--selectable:focus-visible {
  outline-offset: 3px;
}

.rest-layout-table--selected {
  border-color: rgba(37,99,235,.7);
  outline: 4px solid rgba(37,99,235,.2);
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.72), transparent 26%),
    rgba(59,130,246,.18);
  color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(59,130,246,.1), 0 14px 28px rgba(37,99,235,.18);
}

.rest-layout-table--selected .rest-chair {
  background: rgba(59,130,246,.45);
  border-color: rgba(37,99,235,.26);
}

.rest-layout-table--round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.rest-layout-table--rect-v {
  width: 54px;
  height: 128px;
  border-radius: 10px;
}

.rest-layout-table--rect-h {
  width: 152px;
  height: 38px;
  border-radius: 8px;
}

.rest-layout-table--rect-h-sm {
  width: 82px;
  height: 38px;
  border-radius: 8px;
}

.rest-layout-table--square {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.rest-chair {
  position: absolute;
  width: 18px;
  height: 8px;
  border-radius: 999px 999px 5px 5px;
  background: rgba(146,64,14,.28);
  border: 1px solid rgba(35,28,20,.24);
  box-shadow: 0 3px 7px rgba(60,40,20,.12);
}

html:not([data-theme="light"]) .rest-chair {
  background: rgba(245,158,11,.25);
  border-color: rgba(255,255,255,.18);
}

.rest-chair--tl { top: -15px; left: 4px; transform: rotate(-18deg); }
.rest-chair--tr { top: -15px; right: 4px; transform: rotate(18deg); }
.rest-chair--t1 { top: -12px; left: 22%; }
.rest-chair--t2 { top: -12px; right: 22%; }
.rest-chair--b { bottom: -14px; left: 50%; transform: translateX(-50%); }
.rest-chair--b1 { bottom: -12px; left: 22%; }
.rest-chair--b2 { bottom: -12px; right: 22%; }
.rest-chair--l,
.rest-chair--l1 {
  left: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}
.rest-chair--r,
.rest-chair--r1 {
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}
.rest-chair--l1 { top: 30%; }
.rest-chair--r1 { top: 70%; }

.rest-pos-1 { left: 36%; top: 15%; }
.rest-pos-2 { left: 52%; top: 15%; }
.rest-pos-3 { left: 31%; top: 33%; }
.rest-pos-4 { left: 55%; top: 33%; }
.rest-pos-5 { left: 6%; top: 56%; }
.rest-pos-6 { left: 6%; top: 72%; }
.rest-pos-7 { left: 4%; bottom: 8%; }
.rest-pos-8 { left: 18%; bottom: 8%; }
.rest-pos-9 { left: 39%; bottom: 8%; }
.rest-pos-10 { left: 48%; bottom: 8%; }
.rest-pos-11 { left: 63%; top: 52%; }
.rest-pos-12 { left: 64%; top: 65%; }
.rest-pos-13 { left: 64%; top: 78%; }
.rest-pos-14 { left: 73%; bottom: 8%; }
.rest-pos-15 { right: 7%; bottom: 8%; }

/* Responsive */
@media (max-width: 760px) {
  .rest-plan-standalone {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
  }

  .rest-plan-copy {
    order: -1;
    padding-top: 0;
  }

  .rest-plan-visual {
    width: 100%;
  }

  .rest-fp-room {
    height: 370px;
    min-height: 370px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%, 10% 92%, 0 92%);
  }

  .rest-plan-header { flex-direction: column; gap: 10px; }
  .rest-plan-legend { flex-wrap: wrap; }
  .rest-fp-count {
    margin-bottom: 8px;
    font-size: .54rem;
    letter-spacing: .06em;
  }
  .rest-fp-kitchen { left: 70%; top: 5%; width: 25%; height: 16%; }
  .rest-fp-wc { right: 5%; bottom: 7%; width: 16%; height: 11%; }
  .rest-fp-decor { left: 43%; top: 6%; width: 20%; }
  .rest-fp-bar { left: 78%; top: 30%; width: 13%; height: 24%; }
  .rest-fp-service { left: 62%; top: 29%; width: 56px; height: 28px; }
  .rest-fp-zone--window { display: none; }
  .rest-fp-banquette { width: 10%; }
  .rest-fp-tbl--round2 { width: 34px; height: 34px; }
  .rest-fp-tbl--round4 { width: 44px; height: 44px; }
  .rest-fp-tbl--rect4 { width: 58px; height: 38px; }
  .rest-fp-tbl--rect6 { width: 84px; height: 38px; }
  .rest-fp-tbl--oval6 { width: 76px; height: 40px; }
  .rest-fp-tbl[data-table="4"] { left: 29% !important; top: 19% !important; }
  .rest-fp-tbl[data-table="5"] { left: 28% !important; top: 50% !important; }
  .rest-fp-tbl[data-table="6"] { left: 50% !important; top: 17% !important; }
  .rest-fp-tbl[data-table="7"] { left: 50% !important; top: 43% !important; }
  .rest-fp-tbl[data-table="8"] { left: 24% !important; top: 81% !important; }
  .rest-fp-tbl[data-table="11"] { left: 69% !important; top: 66% !important; }
  .rest-fp-tbl[data-table="12"] { left: 72% !important; top: 38% !important; }
  .rest-fp-tbl[data-table="13"] { left: 81% !important; top: 58% !important; }
  .rest-fp-tbl[data-table="14"] { left: 20% !important; top: 28% !important; }
  .rest-fp-tbl[data-table="15"] { left: 20% !important; top: 58% !important; }
  .rest-fp-tbl[data-table="16"] { left: 41% !important; top: 31% !important; }
  .rest-fp-tbl[data-table="17"] { left: 40% !important; top: 59% !important; }
  .rest-fp-tbl[data-table="18"] { left: 64% !important; top: 53% !important; }
  .rest-fp-stool { left: -20px; width: 13px; height: 13px; }
  .rest-fp-pillar { width: 14px; height: 14px; }
  .rest-fp-note-row span { font-size: .62rem; }

  .rest-fp-room--sketch {
    height: 520px;
    min-height: 520px;
    clip-path: none;
    border-radius: 30% 14px 12px 8px / 12% 12px 12px 8px;
  }

  .rest-sketch-entrance { left: 68%; width: 13%; height: 18%; }
  .rest-sketch-bar { right: 4%; top: 38%; width: 13%; height: 18%; }
  .rest-sketch-callout { right: 1%; font-size: .82rem; }
  .rest-sketch-callout--kitchen { top: 61%; }
  .rest-sketch-callout--toilet { bottom: 7%; }
  .rest-sketch-wall--top { left: 22%; top: 6%; width: 43%; height: 22%; }
  .rest-sketch-stairs { left: 41%; top: 29%; transform: scale(.72); transform-origin: left top; }
  .rest-sketch-partition--vertical { left: 36%; top: 58%; width: 7%; height: 25%; }
  .rest-sketch-banquette--left-one { left: 4%; width: 30%; }
  .rest-sketch-banquette--left-two { left: 4%; width: 31%; }
  .rest-sketch-banquette--center-left { left: 29%; width: 9%; }
  .rest-sketch-banquette--center-right { left: 55%; width: 9%; }

  .rest-layout-table--round { width: 40px; height: 40px; }
  .rest-layout-table--rect-v { width: 42px; height: 96px; }
  .rest-layout-table--rect-h { width: 112px; height: 32px; }
  .rest-layout-table--rect-h-sm { width: 64px; height: 32px; }
  .rest-layout-table--square { width: 38px; height: 38px; }
  .rest-chair { width: 14px; height: 7px; }

  .rest-pos-1 { left: 33%; top: 15%; }
  .rest-pos-2 { left: 51%; top: 15%; }
  .rest-pos-3 { left: 30%; top: 34%; }
  .rest-pos-4 { left: 55%; top: 34%; }
  .rest-pos-5 { left: 6%; top: 57%; }
  .rest-pos-6 { left: 6%; top: 72%; }
  .rest-pos-7 { left: 4%; bottom: 9%; }
  .rest-pos-8 { left: 18%; bottom: 9%; }
  .rest-pos-9 { left: 38%; bottom: 9%; }
  .rest-pos-10 { left: 49%; bottom: 9%; }
  .rest-pos-11 { left: 64%; top: 52%; }
  .rest-pos-12 { left: 64%; top: 65%; }
  .rest-pos-13 { left: 64%; top: 77%; }
  .rest-pos-14 { left: 71%; bottom: 9%; }
  .rest-pos-15 { right: 6%; bottom: 9%; }

}

/* Thèmes de design */
.rest-feat-themes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.rest-feat-theme {
  height: 44px; border-radius: 7px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}

.rest-feat-theme:hover { transform: scale(1.04); }

.rest-feat-theme--selected {
  border-color: rgba(255,255,255,.5) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}

/* ── Browser chrome ─────────────────────────────────────── */
.rest-menu-browser {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Chrome masqué — plus besoin */
.rest-browser-chrome { display: none; }

/* ── Site web (rws) — base ───────────────────────────────── */

.rws {
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.08),
    0 28px 56px rgba(0,0,0,.36),
    0 6px 14px rgba(0,0,0,.18);
}

html[data-theme="light"] .rws {
  box-shadow:
    0 0 0 3px rgba(20,20,20,.08),
    0 16px 48px rgba(0,0,0,.12),
    0 4px 10px rgba(0,0,0,.07);
}

/* Hero photo commun */
.rws-hero-photo {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.rws-hero-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.rws-hero-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 15px;
}

.rws-label-small {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rws-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1;
}

.rws-brand-sub {
  font-size: .62rem;
  margin-top: 4px;
  opacity: .7;
}

/* Corps menu commun */
.rws-menu-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }

/* Titre de catégorie */
.rws-cat-title {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 0 2px;
}

/* Plat commun */
.rws-dish {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rws-dish-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.rws-dish-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rws-dish-name { font-size: .72rem; font-weight: 700; }
.rws-dish-desc { font-size: .58rem; line-height: 1.4; opacity: .6; }
.rws-dish-price { font-size: .78rem; font-weight: 900; flex-shrink: 0; }

.rws {
  display: flex;
  flex-direction: column;
}

/* NAV générique */
.rws-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 15px;
}

.rws-nav-links { display: flex; gap: 12px; font-size: .65rem; font-weight: 600; }

/* HERO générique */
.rws-hero {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.rws-hero-img {
  position: absolute;
  inset: 0;
}

.rws-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 15px;
  z-index: 2;
}

.rws-hero-tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rws-hero-title { font-family: 'Cormorant Garamond', serif; margin: 0; line-height: 1.08; letter-spacing: -.02em; }
.rws-hero-sub   { font-size: .62rem; margin: 4px 0 0; letter-spacing: .04em; }

/* CTA générique */
.rws-cta {
  margin: 10px 14px 15px;
  padding: 9px;
  border-radius: 8px;
  text-align: center;
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

/* CATÉGORIES génériques */
.rws-cats { display: flex; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.rws-cat  { padding: 7px 12px; font-size: .65rem; font-weight: 700; white-space: nowrap; cursor: pointer; }

/* ══ GASTRONOMIQUE ══════════════════════════════════════════ */
.rws--gastro { background: #080610; }
.rws-hero-photo-overlay--gastro { background: linear-gradient(to top, rgba(8,6,16,.92) 0%, rgba(8,6,16,.3) 60%, transparent 100%); }
.rws-label-small { color: rgba(255,210,100,.55); }
.rws-brand-name--gastro { font-size: 1.6rem; color: #f5e6c8; letter-spacing: .06em; }
.rws-brand-sub { color: rgba(245,230,200,.5); font-style: italic; }
.rws-menu-body--gastro { background: #080610; border-top: 1px solid rgba(255,210,100,.1); }
.rws-cat-title--gastro { color: rgba(255,210,100,.55); border-bottom: 1px solid rgba(255,210,100,.1); padding-bottom: 6px; }
.rws-dish--gastro { padding: 6px; border-radius: 8px; background: rgba(255,255,255,.02); border: 1px solid rgba(255,210,100,.07); }
.rws-dish-img { border: 1px solid rgba(255,255,255,.08); }
.rws-dish-name--gastro { font-family: 'Cormorant Garamond', serif; color: #f5e6c8; letter-spacing: .02em; }
.rws-dish-desc { color: rgba(245,230,200,.4); font-style: italic; }
.rws-dish-price--gastro { font-family: 'Cormorant Garamond', serif; color: rgba(255,210,100,.8); }
.rws-cta--gastro { border: 1px solid rgba(255,210,100,.22); color: rgba(255,210,100,.72); letter-spacing: .08em; text-transform: uppercase; font-size: .62rem; }

/* ══ FAST FOOD ══════════════════════════════════════════════ */
.rws--ff { background: #fff; }
.rws-hero-photo-overlay--ff { background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.2) 60%, transparent 100%); }
.rws-ff-promo-badge { display: inline-flex; width: fit-content; padding: 4px 9px; border-radius: 5px; background: #fbbf24; color: #111; font-size: .6rem; font-weight: 900; margin-bottom: 6px; }
.rws-brand-name--ff { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.rws-ff-cats-strip { display: flex; overflow-x: auto; scrollbar-width: none; background: #f9fafb; border-bottom: 2px solid #e5e7eb; padding: 0 9px; }
.rws-ff-cat { padding: 7px 10px; font-size: .62rem; font-weight: 700; color: #9ca3af; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.rws-ff-cat--on { color: #111; border-bottom-color: #fbbf24; }
.rws-ff-cards { padding: 9px; display: grid; gap: 7px; }
.rws-ff-card2 { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.rws-ff-card2-img { width: 100%; height: 90px; object-fit: cover; display: block; }
.rws-ff-card2-body { padding: 7px 9px; display: grid; gap: 3px; }
.rws-ff-card2-name { font-size: .74rem; font-weight: 900; color: #111; }
.rws-ff-card2-desc { font-size: .58rem; color: #9ca3af; line-height: 1.35; }
.rws-ff-card2-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.rws-ff-card2-price { font-size: .82rem; font-weight: 900; color: #111; }
.rws-ff-add2 { width: 24px; height: 24px; border-radius: 50%; background: #fbbf24; color: #111; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 900; }
.rws-cta--ff { background: #111; color: #fbbf24; }

/* ══ BISTROT ════════════════════════════════════════════════ */
.rws--bistrot { background: #fdf8f0; }
.rws-hero-photo-overlay--bistrot { background: linear-gradient(to top, rgba(45,31,14,.88) 0%, rgba(45,31,14,.3) 60%, transparent 100%); align-items: center; text-align: center; }
.rws-bistrot-ornement2 { font-size: .72rem; color: rgba(245,225,180,.4); letter-spacing: .25em; margin-bottom: 4px; }
.rws-brand-name--bistrot { font-size: 1.55rem; color: #f5e6c8; letter-spacing: .08em; }
.rws-brand-sub--bistrot { text-align: center; font-style: italic; color: rgba(245,225,180,.55); }
.rws-menu-body--bistrot { background: #fdf8f0; }
.rws-cat-title--bistrot { color: #8b5a24; text-align: center; }
.rws-bistrot-section2 { display: grid; gap: 0; }
.rws-bistrot-dish { display: flex; align-items: center; gap: 5px; padding: 6px 0; border-bottom: 1px dashed rgba(139,90,36,.2); }
.rws-bistrot-dish:last-child { border-bottom: none; }
.rws-dish-name--bistrot { font-size: .72rem; font-weight: 700; color: #2d1f0e; }
.rws-dish-desc--bistrot { font-size: .58rem; color: #8b6a3e; line-height: 1.3; }
.rws-bistrot-dots2 { flex: 1; border-bottom: 1px dotted rgba(139,90,36,.22); margin-bottom: 2px; min-width: 8px; }
.rws-dish-price--bistrot { font-size: .74rem; font-weight: 800; color: #6b4c1e; white-space: nowrap; }
.rws-cta--bistrot { background: #2d1f0e; color: #f5e6c8; font-size: .62rem; letter-spacing: .05em; }

/* ══ HEALTHY ════════════════════════════════════════════════ */
.rws--healthy { background: #f0fdf4; }
.rws-hero-photo-overlay--healthy { background: linear-gradient(to top, rgba(20,83,45,.85) 0%, rgba(20,83,45,.2) 60%, transparent 100%); }
.rws-healthy-pills { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.rws-healthy-pills span { padding: 3px 7px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); font-size: .56rem; font-weight: 700; color: #bbf7d0; }
.rws-brand-name--healthy { font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.rws-brand-sub--healthy { color: rgba(255,255,255,.55); font-size: .6rem; }
.rws-menu-body--healthy { background: #f0fdf4; }
.rws-cat-title--healthy { color: #166534; }
.rws-dish--healthy { padding: 7px; background: #fff; border: 1px solid #bbf7d0; border-radius: 10px; box-shadow: 0 2px 6px rgba(22,101,52,.06); }
.rws-dish-img--healthy { border-radius: 8px; border: 1px solid #bbf7d0; }
.rws-dish-name--healthy { color: #14532d; }
.rws-healthy-tags2 { display: flex; gap: 4px; margin-top: 3px; }
.rws-healthy-tags2 span { padding: 1px 4px; border-radius: 3px; background: #dcfce7; font-size: .52rem; font-weight: 700; color: #16a34a; }
.rws-dish-price--healthy { font-size: .82rem; font-weight: 900; color: #14532d; }
.rws-cta--healthy { background: #16a34a; color: #fff; }

/* ── Showcase menus ──────────────────────────────────────── */
.rest-styles-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 4px;
  padding: 66px 0 56px;
  background: none;
  border-top: none;
  border-bottom: none;
  box-shadow: none;
}

html[data-theme="light"] .rest-styles-section {
  background: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.rest-styles-head {
  display: grid;
  gap: 10px;
  padding-top: 50px;
  padding-bottom: 4px;
}

.rest-styles-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0 0 5px;
}

.rest-styles-sub {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 70ch;
}

/* Grille de 4 menus côte à côte */
.rest-menu-previews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  align-items: start;
}

.rest-menu-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.rest-menu-screen {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0,0,0,.32), 0 4px 10px rgba(0,0,0,.16);
  display: flex;
  flex-direction: column;
}

.rest-menu-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  padding-top: 10px;
  color: var(--soft);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── STYLE 1 : Gastronomique ─────────────────────────────── */
.rest-menu-screen--gastro {
  background: linear-gradient(180deg, #0e0812 0%, #1a0f28 100%);
}

.rmp-header { padding: 14px 12px 9px; display: grid; gap: 5px; }

.rmp-logo-gastro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff; letter-spacing: .06em; text-align: center;
}

.rmp-tagline-gastro {
  font-size: .58rem; color: rgba(255,200,100,.55);
  text-align: center; letter-spacing: .12em; text-transform: uppercase;
}

.rmp-tabs-gastro {
  display: flex; justify-content: center; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-top: 6px; padding-bottom: 0;
}

.rmp-tab-gastro {
  padding: 5px 9px;
  font-size: .6rem; font-weight: 600;
  color: rgba(255,255,255,.4);
  border-bottom: 1.5px solid transparent;
}

.rmp-tab-gastro--active {
  color: rgba(255,200,100,.9);
  border-bottom-color: rgba(255,200,100,.6);
}

.rmp-items-gastro { padding: 7px 12px; display: grid; gap: 1px; }

.rmp-item-gastro {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 7px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.rmp-item-gastro:last-child { border-bottom: none; }

.rmp-item-name-gastro {
  font-size: .72rem; font-weight: 700; color: #f5f0e8;
  font-family: 'Cormorant Garamond', serif; letter-spacing: .02em;
}

.rmp-item-desc-gastro {
  font-size: .58rem; color: rgba(245,240,232,.38);
  margin-top: 2px; line-height: 1.4; font-style: italic;
}

.rmp-item-price-gastro {
  font-family: 'Cormorant Garamond', serif;
  font-size: .88rem; font-weight: 700;
  color: rgba(255,200,100,.85); white-space: nowrap; flex-shrink: 0;
}

.rmp-cta-gastro {
  margin: 7px 12px 12px;
  padding: 8px;
  border: 1px solid rgba(255,200,100,.3);
  border-radius: 6px;
  text-align: center;
  font-size: .64rem; font-weight: 700;
  color: rgba(255,200,100,.8);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── STYLE 2 : Fast Food ─────────────────────────────────── */
.rest-menu-screen--fastfood { background: #fff; }

.rmp-header-ff {
  background: #111;
  padding: 10px 10px 7px;
  display: grid; gap: 6px;
}

.rmp-logo-ff {
  font-size: .92rem; font-weight: 900;
  color: #fbbf24; letter-spacing: -.01em;
}

.rmp-search-ff {
  background: rgba(255,255,255,.1); border-radius: 6px;
  padding: 4px 9px; font-size: .6rem; color: rgba(255,255,255,.35);
}

.rmp-cats-ff {
  display: flex; gap: 4px; overflow-x: auto;
  padding: 7px 9px; border-bottom: 1px solid #f3f4f6;
  scrollbar-width: none;
}

.rmp-cat-ff {
  padding: 4px 9px; border-radius: 999px;
  font-size: .6rem; font-weight: 700; white-space: nowrap;
  background: #f3f4f6; color: #6b7280;
}

.rmp-cat-ff--active { background: #fbbf24; color: #111; }

.rmp-items-ff { padding: 7px 9px; display: grid; gap: 6px; }

.rmp-item-ff {
  display: flex; align-items: center; gap: 7px;
  padding: 6px; background: #f8fafc;
  border: 1px solid #e5e7eb; border-radius: 10px;
}

.rmp-item-ff-img {
  width: 38px; height: 38px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

.rmp-item-ff-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.rmp-item-ff-name { font-size: .68rem; font-weight: 800; color: #111; }
.rmp-item-ff-desc { font-size: .56rem; color: #9ca3af; line-height: 1.3; }

.rmp-item-ff-bottom {
  display: flex; align-items: center; justify-content: space-between; margin-top: 3px;
}

.rmp-item-ff-price { font-size: .7rem; font-weight: 900; color: #111; }

.rmp-item-ff-add {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fbbf24; color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 900;
}

.rmp-cart-ff {
  margin: 0 9px 9px;
  padding: 8px; background: #111; border-radius: 8px;
  text-align: center; font-size: .64rem; font-weight: 800; color: #fbbf24;
}

/* ── STYLE 3 : Bistrot ───────────────────────────────────── */
.rest-menu-screen--bistrot { background: #fdf8f0; }

.rmp-header-bistrot {
  background: #2d1f0e;
  padding: 12px 12px 9px;
  display: grid; gap: 3px;
}

.rmp-logo-bistrot {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 700;
  color: #f5e6c8; text-align: center; letter-spacing: .04em;
}

.rmp-tagline-bistrot {
  font-size: .56rem; color: rgba(245,230,200,.45);
  text-align: center; letter-spacing: .12em; text-transform: uppercase;
}

.rmp-divider-bistrot {
  height: 1px; background: rgba(245,230,200,.15); margin-top: 8px;
}

.rmp-section-bistrot { padding: 9px 12px; }

.rmp-section-title-bistrot {
  font-size: .62rem; font-weight: 700; color: #6b4c1e;
  text-align: center; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 7px;
}

.rmp-item-bistrot {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(107,76,30,.18);
}

.rmp-item-bistrot:last-of-type { border-bottom: none; }

.rmp-item-bistrot-left { flex: 1; min-width: 0; }
.rmp-item-bistrot-name { font-size: .68rem; font-weight: 700; color: #2d1f0e; }
.rmp-item-bistrot-desc { font-size: .56rem; color: #8b6a3e; line-height: 1.3; }

.rmp-item-bistrot-dots {
  flex: 1; min-width: 12px;
  border-bottom: 1px dotted rgba(107,76,30,.3);
  margin-bottom: 2px;
}

.rmp-item-bistrot-price {
  font-size: .7rem; font-weight: 800; color: #6b4c1e; white-space: nowrap;
}

.rmp-cta-bistrot {
  margin: 5px 12px 10px;
  padding: 7px;
  background: #2d1f0e; border-radius: 5px;
  text-align: center; font-size: .62rem; font-weight: 700; color: #f5e6c8;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── STYLE 4 : Healthy / Bio ─────────────────────────────── */
.rest-menu-screen--healthy { background: #f0fdf4; }

.rmp-header-healthy {
  background: linear-gradient(180deg, #14532d, #166534);
  padding: 10px 10px 9px;
  display: grid; gap: 4px;
}

.rmp-logo-healthy {
  font-size: .92rem; font-weight: 900;
  color: #fff; letter-spacing: -.01em;
}

.rmp-tagline-healthy {
  font-size: .56rem; color: rgba(255,255,255,.55);
  letter-spacing: .1em; text-transform: uppercase;
}

.rmp-tags-healthy { display: flex; gap: 4px; flex-wrap: wrap; }

.rmp-tag-healthy {
  padding: 2px 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  font-size: .54rem; font-weight: 700; color: #bbf7d0;
}

.rmp-items-healthy { padding: 7px 9px; display: grid; gap: 6px; }

.rmp-item-healthy {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 7px; background: #fff;
  border: 1px solid #bbf7d0; border-radius: 10px;
  box-shadow: 0 2px 6px rgba(22,101,52,.07);
}

.rmp-item-healthy-emoji { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.rmp-item-healthy-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.rmp-item-healthy-name { font-size: .68rem; font-weight: 800; color: #14532d; }
.rmp-item-healthy-desc { font-size: .56rem; color: #4b7c5e; line-height: 1.35; }

.rmp-item-healthy-tags {
  display: flex; gap: 4px; margin-top: 3px;
}

.rmp-item-healthy-tags span {
  padding: 1px 4px; border-radius: 3px;
  background: #dcfce7; font-size: .52rem; font-weight: 700; color: #16a34a;
}

.rmp-item-healthy-price {
  font-size: .72rem; font-weight: 800; color: #14532d;
  white-space: nowrap; flex-shrink: 0;
}

.rmp-cta-healthy {
  margin: 4px 9px 9px;
  padding: 8px; background: #16a34a; border-radius: 8px;
  text-align: center; font-size: .64rem; font-weight: 800; color: #fff;
}

/* Note sous les menus */
.rest-styles-note {
  font-size: 1rem; color: var(--soft);
  line-height: 1.65; margin: 0;
  text-align: center; max-width: 68ch;
  margin-left: auto; margin-right: auto;
  padding-top: 8px;
}

/* Responsive */
@media (max-width: 1080px) {
  .rest-menu-previews { grid-template-columns: repeat(2, 1fr); }
  .rest-styles-head { flex-direction: column; }
}

@media (max-width: 760px) {
  .rest-feat-grid { grid-template-columns: 1fr; }
  .rest-menu-previews { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rest-menu-previews { grid-template-columns: 1fr; }
  .rest-ff-grid { grid-template-columns: 1fr; }
}

/* ── HERO light mode — photo pleine largeur en bandeau ───── */
html:not([data-theme="light"]) .premium-stars-container {
  display: none;
}

html:not([data-theme="light"]) .rest-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url('https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1800&h=900&dpr=1');
  background-size: cover;
  background-position: center 50%;
  pointer-events: none;
}

html:not([data-theme="light"]) .rest-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    rgba(5,3,1,.34) 0%,
    rgba(8,5,2,.3) 38%,
    rgba(8,5,2,.72) 78%,
    rgba(0,0,0,.92) 100%
  );
  pointer-events: none;
}

html[data-theme="light"] .rest-hero {
  position: relative;
  isolation: isolate;
}

html[data-theme="light"] .rest-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url('https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1800&h=900&dpr=1');
  background-size: cover;
  background-position: center 50%;
  pointer-events: none;
}

html[data-theme="light"] .rest-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg,
    rgba(8,5,2,.45) 0%,
    rgba(8,5,2,.38) 40%,
    rgba(8,5,2,.72) 80%,
    rgba(8,5,2,.88) 100%
  );
  pointer-events: none;
}

/* Texte hero visible sur la photo sombre */
html[data-theme="light"] .rest-hero,
html[data-theme="light"] .rest-hero-copy,
html[data-theme="light"] .rest-hero h1,
html[data-theme="light"] .rest-hero p {
  color: #f5f0e8;
  --text: #f5f0e8;
  --muted: rgba(245,240,232,.7);
  --soft: rgba(245,240,232,.45);
  --line: rgba(245,240,232,.18);
  --surface: rgba(245,240,232,.07);
  --button-bg: #f5f0e8;
  --button-text: #141210;
  --button-secondary-bg: rgba(245,240,232,.08);
  --button-secondary-border: rgba(245,240,232,.25);
}

html[data-theme="light"] .rest-hero h1 { color: #f5f0e8; }
html[data-theme="light"] .rest-hero p  { color: rgba(245,240,232,.72); }

html[data-theme="light"] .rest-hero .eyebrow {
  background: rgba(245,240,232,.1);
  border-color: rgba(245,240,232,.22);
  color: rgba(245,240,232,.8);
}

html[data-theme="light"] .rest-pills span {
  background: rgba(245,240,232,.1);
  border-color: rgba(245,240,232,.2);
  color: rgba(245,240,232,.72);
}

/* ═══════════════════════════════════════════════════════════
   Plan de salle V2 — 20 tables, design aérien réaliste
   ═══════════════════════════════════════════════════════════ */

/* ── Override room ─────────────────────────────────────── */
.rfp2-room {
  height: 520px !important;
  min-height: 520px !important;
  clip-path: none !important;
  overflow: hidden;
  border-radius: 20px;
}

.rfp2-room-scale {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

/* ── Bar comptoir (contre mur du haut, gauche) ─────────── */
.rfp2-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 13%;
  height: 17%;
  background:
    linear-gradient(135deg, rgba(185,140,75,.5) 0%, rgba(145,100,45,.38) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 2px, transparent 2px 18px);
  border-right: 2px solid rgba(140,95,40,.44);
  border-bottom: 2px solid rgba(140,95,40,.44);
  border-radius: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

html:not([data-theme="light"]) .rfp2-bar {
  background:
    rgba(255,255,255,.07),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 18px);
  border-color: rgba(255,255,255,.16);
}

.rfp2-bar-lbl {
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(80,52,10,.62);
  pointer-events: none;
}

html:not([data-theme="light"]) .rfp2-bar-lbl {
  color: rgba(255,255,255,.4);
}

/* ── Tabourets de bar (rangée sous le comptoir) ─────────── */
.rfp2-stools-row {
  position: absolute;
  left: 0.5%;
  top: 18%;
  width: 12%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.rfp2-stools-row i {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.52), transparent 44%),
    rgba(135,90,38,.4);
  border: 1.5px solid rgba(135,90,38,.5);
  box-shadow: 0 2px 5px rgba(0,0,0,.14);
}

html:not([data-theme="light"]) .rfp2-stools-row i {
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.18), transparent 44%),
    rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

/* ── Accueil ─────────────────────────────────────────────── */
.rfp2-accueil {
  position: absolute;
  left: 15%;
  top: 2.5%;
  width: 12%;
  height: 12%;
  background: rgba(245,158,11,.12);
  border: 1.5px solid rgba(245,158,11,.32);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .5rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(128,78,8,.64);
  z-index: 6;
  pointer-events: none;
}

html:not([data-theme="light"]) .rfp2-accueil {
  background: rgba(245,158,11,.07);
  border-color: rgba(245,158,11,.18);
  color: rgba(245,158,11,.48);
}

/* ── Entrée (ouverture dans le mur du haut) ─────────────── */
.rfp2-entrance {
  position: absolute;
  right: 5%;
  top: 0;
  width: 18%;
  height: 15%;
  background: rgba(107,140,255,.1);
  border-left: 2px solid rgba(107,140,255,.3);
  border-right: 2px solid rgba(107,140,255,.3);
  border-bottom: 2px solid rgba(107,140,255,.3);
  border-top: none;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 5px;
  gap: 1px;
  z-index: 6;
  pointer-events: none;
}

.rfp2-entrance span {
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b8cff;
}

.rfp2-entrance strong {
  font-size: 1rem;
  line-height: 1;
  color: #2563eb;
}

html:not([data-theme="light"]) .rfp2-entrance {
  background: rgba(107,140,255,.07);
  border-color: rgba(107,140,255,.22);
}

/* ── Mur horizontal (séparateur zone bar / tables) ──────── */
.rfp2-hwall {
  position: absolute;
  left: 0;
  right: 0;
  top: 22%;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(140,95,40,.38) 0%,
    rgba(140,95,40,.18) 65%,
    transparent 95%
  );
  z-index: 3;
  pointer-events: none;
}

html:not([data-theme="light"]) .rfp2-hwall {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.07) 65%,
    transparent 95%
  );
}

/* ── Séparateurs verticaux de zones ─────────────────────── */
.rfp2-vwall {
  position: absolute;
  top: 22%;
  bottom: 4%;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(140,95,40,.26) 0%,
    rgba(140,95,40,.08) 100%
  );
  pointer-events: none;
  z-index: 3;
}

html:not([data-theme="light"]) .rfp2-vwall {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.12) 0%,
    rgba(255,255,255,.03) 100%
  );
}

.rfp2-vwall--1 { left: 13%; }
.rfp2-vwall--2 { left: 45%; }
.rfp2-vwall--3 { left: 65%; }

/* ── Labels de zones ─────────────────────────────────────── */
.rfp2-zlbl {
  position: absolute;
  font-size: .46rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(118,78,18,.42);
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
}

html:not([data-theme="light"]) .rfp2-zlbl {
  color: rgba(255,255,255,.24);
}

/* ── Indicateurs cuisine / toilettes ────────────────────── */
.rfp2-sign {
  position: absolute;
  bottom: 1.5%;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(118,78,18,.09);
  border: 1px solid rgba(118,78,18,.18);
  color: rgba(78,50,8,.65);
  pointer-events: none;
  z-index: 5;
}

.rfp2-sign--kitchen { left: 14%; }
.rfp2-sign--wc      { right: 8%; }

html:not([data-theme="light"]) .rfp2-sign {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.4);
}

/* ── Plantes déco ────────────────────────────────────────── */
.rfp2-plant {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(34,197,94,.52), transparent 48%),
    rgba(21,128,61,.28);
  border: 1.5px solid rgba(21,128,61,.34);
  box-shadow: 0 3px 8px rgba(0,0,0,.1);
  pointer-events: none;
  z-index: 5;
}

.rfp2-plant--a { left:  1.5%; bottom: 2.5%; }
.rfp2-plant--b { right: 2.5%; bottom: 2.5%; }

html:not([data-theme="light"]) .rfp2-plant {
  background:
    radial-gradient(circle at 34% 30%, rgba(34,197,94,.28), transparent 48%),
    rgba(21,128,61,.14);
  border-color: rgba(34,197,94,.18);
}

/* ── Table sélectionnable (reset button) ────────────────── */
.rfp2-sel {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.rfp2-sel:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 4px;
  border-radius: 6px;
}

/* ── Table bloquée / indisponible ────────────────────────── */
.rfp2-blocked {
  cursor: not-allowed;
}

.rfp2-blocked .rest-fp-surface {
  background:
    repeating-linear-gradient(135deg, rgba(180,83,9,.12) 0 3px, transparent 3px 8px),
    rgba(254,243,199,.52);
  border: 1.5px dashed rgba(180,83,9,.44);
  box-shadow: none;
}

.rfp2-blocked .rest-fp-num  { color: #b45309; }

.rfp2-blocked .rest-fp-chair {
  background: rgba(180,83,9,.22);
}

html:not([data-theme="light"]) .rfp2-blocked .rest-fp-surface {
  background:
    repeating-linear-gradient(135deg, rgba(180,83,9,.2) 0 3px, transparent 3px 8px),
    rgba(180,83,9,.07);
  border-color: rgba(180,83,9,.4);
}

html:not([data-theme="light"]) .rfp2-blocked .rest-fp-num  { color: #f59e0b; }
html:not([data-theme="light"]) .rfp2-blocked .rest-fp-chair { background: rgba(180,83,9,.3); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
  .rfp2-room {
    height: 440px !important;
    min-height: 440px !important;
  }

  .rfp2-room-scale {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .rfp2-zlbl       { font-size: .38rem; letter-spacing: .08em; }
  .rfp2-sign        { font-size: .44rem; padding: 2px 4px; }
  .rfp2-bar-lbl     { font-size: .42rem; }
  .rfp2-accueil     { font-size: .42rem; }
  .rfp2-entrance span { font-size: .4rem; }

  .rest-fp-tbl--round2 { width: 34px; height: 34px; }
  .rest-fp-tbl--rect4  { width: 58px; height: 36px; }
  .rest-fp-tbl--oval6  { width: 84px; height: 38px; }
  .rest-fp-tbl--round4 { width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════════════
   Cartes feature V2 — téléphone intégré, copie engageante
   ═══════════════════════════════════════════════════════════ */

/* ── Stack vertical sans habillage carte ───────────────────── */
.rfp-feat-strip {
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 10vw, 119px);
  margin-bottom: 0;
}

.rfp-feat-strip > * + * {
  padding-top: 0;
  border-top: none;
}

.rest-dashboard-stack {
  display: grid;
  gap: 15px;
}

.rest-subsection-head {
  display: grid;
  gap: 15px;
  max-width: 64ch;
  margin-inline: 0;
  justify-items: flex-start;
  text-align: left;
}

.rest-subsection-head--compact {
  margin-bottom: 0;
}

.rest-subsection-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--rest-border);
  background: var(--rest-glow);
  color: var(--rest);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rest-subsection-kicker--amber {
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.1);
  color: #b45309;
}

.rfp-feat-pill.rest-subsection-kicker {
  min-height: 26px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.rest-subsection-title,
.rfp-feat-h.rest-subsection-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0;
  max-width: 20ch;
}

.rest-subsection-text {
  margin: 0;
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ── Blocs feature alternés ────────────────────────────────── */
.rfp-feat-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 8vw, 94px);
  width: 100%;
}

.rfp-feat-block--reverse {
  flex-direction: row-reverse;
}

/* Texte : contraint, jamais pleine largeur */
.rfp-feat-text {
  flex: 0 1 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.rfp-feat-text main .btn,
.rfp-feat-text .btn,
.rfp-feat-text a.btn {
  margin-top: 16px;
}

.rfp-feat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--rest);
  opacity: 0.65;
}

.rest-plan-header .rest-subsection-head {
  flex: 0 1 auto;
  max-width: 100%;
}

.rest-plan-header .rest-subsection-title {
  max-width: none;
}

.rest-plan-header {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.rest-plan-copy {
  gap: 15px;
}

.rest-plan-copy .rest-subsection-head {
  gap: 10px;
}

.rest-plan-copy .rest-subsection-text {
  max-width: 54ch;
}

.rest-plan-legend {
  justify-content: flex-start;
}

.rest-section-dash {
  display: grid;
  gap: 24px;
  justify-items: stretch;
}

/* Badge */
.rfp-feat-eyebrow {
  display: flex;
  align-items: center;
}

.rfp-feat-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.rfp-feat-pill--green {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.25);
  color: #16a34a;
}

.rfp-feat-pill--amber {
  background: rgba(245,158,11,.1);
  border-color: rgba(245,158,11,.28);
  color: #b45309;
}

/* Titre */
.rfp-feat-h {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -.025em;
  max-width: 20ch;
  margin: 0;
}

/* Bullets */
.rfp-feat-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rfp-feat-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 1rem;
  color: var(--soft);
  line-height: 1.6;
}

.rfp-feat-bullets li::before {
  content: "✓";
  color: #22c55e;
  font-weight: 800;
  font-size: .8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Note discrète avec barre latérale */
.rfp-feat-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  margin: 0;
}

/* Zone visuelle : téléphone centré avec glow */
.rfp-feat-visual {
  --rfp-phone-w: clamp(207px, 21.6vw, 288px);
  --rfp-phone-h: clamp(394px, 41.2vw, 549px);
  --rfp-phone-radius: clamp(38px, 4vw, 52px);
  --rfp-phone-border: clamp(10px, .95vw, 12px);
  --rfp-screen-radius: clamp(20px, 2.2vw, 30px);
  --rfp-notch-w: clamp(60px, 6vw, 84px);
  --rfp-notch-h: clamp(22px, 2.2vw, 28px);
  --rfp-home-w: clamp(40px, 4vw, 56px);
  --rfp-qr-size: clamp(185px, 18vw, 250px);
  --rfp-qr-pad: clamp(10px, .9vw, 14px);
  --rfp-qr-shift-x: clamp(28px, 3vw, 54px);
  --rfp-qr-shift-y: clamp(110px, 10vw, 162px);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: clamp(460px, 52vw, 700px);
}

.rfp-feat-visual--auto {
  flex: 1;
  height: auto !important;
  min-height: 0 !important;
  align-self: center;
  display: flex;
  justify-content: center;
}

.rfp-feat-glow {
  position: absolute;
  width: clamp(340px, 34vw, 520px);
  height: clamp(340px, 34vw, 520px);
  border-radius: 50%;
  filter: blur(clamp(72px, 7vw, 100px));
  pointer-events: none;
  z-index: 0;
}

.rfp-feat-glow--green {
  background: radial-gradient(circle, rgba(34,197,94,.45), transparent 65%);
}

html[data-theme="light"] .rfp-feat-glow--green {
  display: none;
}

.rfp-feat-glow--amber {
  background: radial-gradient(circle, rgba(245,158,11,.42), transparent 65%);
}

html[data-theme="light"] .rfp-feat-glow--amber {
  display: none;
}

.rfp-feat-visual .rfp-v2-phone {
  position: relative;
  z-index: 2;
}

/* QR code derrière le téléphone — dépasse sur le côté gauche */
.rfp-feat-qr {
  position: absolute;
  z-index: 1;
  width: var(--rfp-qr-size);
  height: var(--rfp-qr-size);
  padding: var(--rfp-qr-pad);
  box-sizing: border-box;
  right: calc(50% + var(--rfp-qr-shift-x));
  top: calc(50% - var(--rfp-qr-shift-y));
  transform: rotate(-8deg);
  transform-origin: bottom right;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 24px 52px rgba(0,0,0,.35),
    0 8px 18px rgba(0,0,0,.2),
    0 0 0 1px rgba(0,0,0,.07);
}

.rfp-feat-qr img {
  display: block;
  width: 100%;
  height: 100%;
}

.rfp-feat-qr--order-compact {
  width: clamp(168px, 16vw, 225px);
  height: clamp(168px, 16vw, 225px);
  padding: clamp(8px, .8vw, 10px);
  right: calc(50% + clamp(20px, 2.2vw, 42px));
  top: calc(50% - clamp(102px, 9vw, 146px));
}

html:not([data-theme="light"]) .rfp-feat-qr {
  box-shadow:
    0 24px 52px rgba(0,0,0,.6),
    0 8px 18px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.07);
}

/* ── Phone frame ───────────────────────────────────────────── */

.rfp-v2-phone {
  width: var(--rfp-phone-w);
  height: var(--rfp-phone-h);
  border-radius: var(--rfp-phone-radius);
  background: #111217;
  border: var(--rfp-phone-border) solid #1c1d23;
  outline: 1.5px solid rgba(255,255,255,.07);
  box-shadow:
    0 32px 64px rgba(0,0,0,.52),
    0 10px 22px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.rfp-v2-phone--admin-large {
  width: clamp(235px, 26vw, 300px);
  height: clamp(446px, 49vw, 570px);
}

.rfp-v2-phone--order-compact {
  width: clamp(220px, 22vw, 285px);
  height: clamp(420px, 42vw, 540px);
}

.rfp-v2-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--rfp-notch-w);
  height: var(--rfp-notch-h);
  background: #111217;
  border-radius: 0 0 calc(var(--rfp-notch-h) * .82) calc(var(--rfp-notch-h) * .82);
  z-index: 20;
}

.rfp-v2-screen {
  position: absolute;
  inset: 0;
  border-radius: var(--rfp-screen-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rfp-v2-homeind {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--rfp-home-w);
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  z-index: 20;
}

/* ─── Écran commande client ────────────────────────────────── */
.rfp-scr-order {
  background: #f9f7f4;
  font-family: -apple-system, "Inter", sans-serif;
}

.rfp-sbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 10px 4px;
  font-size: .52rem;
  font-weight: 700;
  color: #111;
}

.rfp-ohead {
  padding: 5px 10px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.rfp-ohead-name {
  font-size: .72rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -.01em;
}

.rfp-ohead-tbl {
  font-size: .54rem;
  background: rgba(245,158,11,.14);
  border: 1px solid rgba(245,158,11,.3);
  color: #92400e;
  padding: 2px 4px;
  border-radius: 5px;
  font-weight: 700;
}

.rfp-otabs {
  display: flex;
  gap: 3px;
  padding: 5px 10px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.rfp-otab {
  font-size: .52rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  color: #9ca3af;
}

.rfp-otab--on {
  background: #111;
  color: #fff;
}

.rfp-oitems {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rfp-oitem {
  padding: 6px 10px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rfp-oitem-name {
  font-size: .6rem;
  font-weight: 700;
  color: #111;
}

.rfp-oitem-desc {
  font-size: .5rem;
  color: #9ca3af;
}

.rfp-oitem-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.rfp-oitem-price {
  font-size: .62rem;
  font-weight: 800;
  color: #111;
}

.rfp-oadd {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  font-size: .48rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  line-height: 1;
  flex-shrink: 0;
}

.rfp-oadd--plus { background: #111; color: #fff; }
.rfp-oadd--done { background: #22c55e; color: #fff; }

.rfp-ocart {
  background: #111;
  margin: 5px 9px 19px;
  border-radius: 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  flex-shrink: 0;
}

.rfp-ocart-info {
  font-size: .54rem;
  font-weight: 700;
}

.rfp-ocart-send {
  font-size: .54rem;
  font-weight: 800;
  background: rgba(255,255,255,.15);
  padding: 4px 7px;
  border-radius: 7px;
}

/* ─── Écran admin / gestion du menu ───────────────────────── */
.rfp-scr-admin {
  background: #fff;
  font-family: -apple-system, "Inter", sans-serif;
}

.rfp-ahead {
  padding: 24px 10px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #f9fafb;
  flex-shrink: 0;
}

.rfp-ahead-title {
  font-size: .64rem;
  font-weight: 800;
  color: #111;
}

.rfp-ahead-live {
  font-size: .5rem;
  font-weight: 800;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rfp-ahead-live::before {
  content: "●";
  animation: rfp-live-pulse 1.8s ease-in-out infinite;
}

@keyframes rfp-live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .35; }
}

.rfp-aitem {
  padding: 7px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rfp-aitem--edit {
  background: rgba(59,130,246,.04);
  border-left: 2px solid #3b82f6;
}

.rfp-aitem-name {
  font-size: .58rem;
  font-weight: 700;
  color: #111;
}

.rfp-aitem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rfp-aitem-price {
  font-size: .54rem;
  color: #6b7280;
  font-weight: 600;
}

.rfp-aitem-price--edit {
  color: #b45309;
  font-weight: 700;
}

.rfp-atog {
  font-size: .48rem;
  font-weight: 700;
  padding: 1.5px 4px;
  border-radius: 4px;
}

.rfp-atog--on  { background: #dcfce7; color: #15803d; }
.rfp-atog--off { background: #fef3c7; color: #b45309; }

.rfp-aitem-input {
  width: 100%;
  font-size: .42rem;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 2px 4px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  outline: none;
  box-sizing: border-box;
}

.rfp-asave {
  flex-shrink: 0;
  margin: auto 9px 10px;
  background: #dcfce7;
  border-radius: 9px;
  padding: 6px 9px;
  font-size: .5rem;
  font-weight: 800;
  color: #15803d;
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rfp-feat-block { gap: 31px; }
  .rfp-feat-visual {
    --rfp-phone-w: clamp(200px, 32vw, 250px);
    --rfp-phone-h: clamp(380px, 60vw, 475px);
    --rfp-qr-size: clamp(110px, 18vw, 160px);
    --rfp-qr-shift-x: clamp(6px, 1vw, 16px);
    --rfp-qr-shift-y: clamp(80px, 10vw, 120px);
    min-height: clamp(380px, 46vw, 500px);
  }
  .rfi-phone {
    width: clamp(170px, 28vw, 230px);
  }

  .rfp-feat-visual--auto {
    min-height: 0 !important;
  }

  .rfp-v2-phone--admin-large {
    width: clamp(220px, 36vw, 270px);
    height: clamp(418px, 68vw, 514px);
  }

  .rfp-feat-qr--order-compact {
    width: clamp(158px, 23vw, 192px);
    height: clamp(158px, 23vw, 192px);
    right: calc(50% + clamp(12px, 1.6vw, 24px));
    top: calc(50% - clamp(92px, 11vw, 124px));
  }

  .rfp-v2-phone--order-compact {
    width: clamp(205px, 31vw, 245px);
    height: clamp(390px, 59vw, 466px);
  }
}

@media (max-width: 640px) {
  .rfp-feat-block,
  .rfp-feat-block--reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .rfp-feat-text { flex: none; }
  .rfp-feat-visual {
    --rfp-qr-size: clamp(100px, 30vw, 140px);
    --rfp-qr-shift-x: clamp(4px, 1vw, 10px);
    --rfp-qr-shift-y: clamp(60px, 16vw, 100px);
    width: 100%;
    min-height: 380px;
  }
  .rfi-phone {
    width: clamp(160px, 48vw, 220px);
  }

  .rfp-feat-visual--auto {
    min-height: 0 !important;
  }

  .rfp-v2-phone--admin-large {
    width: clamp(220px, 62vw, 255px);
    height: clamp(418px, 118vw, 485px);
  }

  .rfp-feat-qr--order-compact {
    width: clamp(150px, 40vw, 178px);
    height: clamp(150px, 40vw, 178px);
    padding: 8px;
    right: calc(50% + clamp(6px, 1vw, 12px));
    top: calc(50% - clamp(88px, 20vw, 112px));
  }

  .rfp-v2-phone--order-compact {
    width: clamp(198px, 54vw, 228px);
    height: clamp(376px, 103vw, 434px);
  }
  .rfp-feat-h,
  .rest-subsection-title { font-size: 1.4rem; }
  .rfp-feat-strip { gap: 48px; margin-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   Section upsell — QR code → Site web restaurant
   ═══════════════════════════════════════════════════════════ */

.rest-upgrade-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(41px, 7vw, 96px);
  align-items: center;
}

.rest-upgrade-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rest-upgrade-h {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--text);
  max-width: 18ch;
  margin: 0;
}

.rest-upgrade-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.74;
  margin: 0;
  max-width: 52ch;
}

.rest-upgrade-intro strong { color: var(--text); font-weight: 600; }

.rest-upgrade-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rest-upgrade-card {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid oklch(0.4 0.06 65 / 0.3);
  background: oklch(0.11 0.02 60);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rest-upgrade-card--site {
  border-color: oklch(0.5 0.1 70 / 0.4);
  background:
    radial-gradient(ellipse at 30% 0%, oklch(0.78 0.12 70 / 0.10) 0%, transparent 55%),
    oklch(0.11 0.02 60);
  box-shadow: 0 8px 40px oklch(0.78 0.12 70 / 0.08);
}

.rest-upgrade-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
}

.rest-upgrade-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.rest-upgrade-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rest-upgrade-chip--sub {
  background: rgba(148,163,184,.08);
  border: 1px solid rgba(148,163,184,.18);
  color: rgba(255,255,255,0.45);
}

.rest-upgrade-chip--own {
  background: var(--rest-glow);
  border: 1px solid var(--rest-border);
  color: var(--rest);
}

.rest-upgrade-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--text);
}

.rest-upgrade-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rest-upgrade-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.rest-upgrade-check::before {
  content: "✓";
  color: #22c55e;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.rest-upgrade-neutral::before {
  content: "·";
  color: rgba(255,255,255,0.3);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.1;
}

.rest-upgrade-star {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.rest-upgrade-star::before {
  content: "✓";
  color: var(--rest);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.rest-upgrade-arrow-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 15px 0;
  color: rgba(255,255,255,0.2);
}

.rest-upgrade-arrow-v span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}

@media (max-width: 860px) {
  .rest-upgrade-wrap { grid-template-columns: 1fr; gap: 31px; }
  .rest-upgrade-h { max-width: 100%; }
}


/* ═══════════════════════════════════════════════════════════
   HERO REFONDU — variante B · Asymétrique éditorial
   ═══════════════════════════════════════════════════════════ */

/* ─── Variables locales ─────────────────────────────────── */
:root {
  --rh-amber:      oklch(0.8 0.13 75);
  --rh-amber-deep: oklch(0.74 0.14 65);
  --rh-amber-soft: oklch(0.92 0.06 80);
  --rh-fg:         #f4f1ea;
  --rh-mute:       #7a7770;
  --rh-line-2:     rgba(255,255,255,0.12);
}

/* ─── Layout ────────────────────────────────────────────── */
.rh-hero {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 51px;
  align-items: center;
  padding: 49px 0 85px;
  position: relative;
  isolation: isolate;
}

/* Voile hero — commun aux deux modes */
.rh-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -132px;
  bottom: -2px;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.38) 50%, transparent),
    linear-gradient(180deg, rgba(0,0,0,0.3), transparent 30%);
  pointer-events: none;
}

html[data-theme="light"] .rh-hero::after {
  background: rgba(249,246,241,0.55);
}

/* Photo pleine largeur */
.rh-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: -132px;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background-image: url('https://images.pexels.com/photos/262978/pexels-photo-262978.jpeg?auto=compress&cs=tinysrgb&w=2400');
  background-size: cover;
  background-position: center 50%;
  pointer-events: none;
}


/* ─── Micro-labels coin ─────────────────────────────────── */
.rh-label-tl,
.rh-label-tr {
  position: absolute;
  top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.38);
  pointer-events: none;
  z-index: 1;
}

.rh-label-tl { left: 0; }
.rh-label-tr { right: 0; }

/* ─── Texte gauche ──────────────────────────────────────── */
.rh-copy {
  display: grid;
  gap: 19px;
  padding: 15px 0 24px;
}

.rh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(245,158,11,0.28);
  background: rgba(245,158,11,0.08);
  color: var(--rh-amber);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.rh-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-amber);
  box-shadow: 0 0 8px var(--rh-amber);
  flex: none;
}

.rh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.15rem, 7.4vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--rh-fg);
  max-width: 100%;
  margin: 0;
  letter-spacing: -0.01em;
}

.rh-title-indent {
  display: inline-block;
  padding-left: 5.5vw;
}

.rh-title-break {
  display: block;
  height: 0;
}

.rh-title-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rh-amber);
  box-shadow: 0 0 18px 4px oklch(0.8 0.13 75 / 0.75);
  vertical-align: middle;
  margin-left: 8px;
  margin-bottom: 5px;
}

.rh-gradient-word {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(110deg, #f4f1ea 0%, var(--rh-amber) 52%, var(--rh-amber-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rh-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.74;
  color: rgba(244,241,234,0.7);
  max-width: 52ch;
  margin: 0;
}

/* ─── Boutons ───────────────────────────────────────────── */
.rh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.rh-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #0a0a0a;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.rh-btn-primary:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}

.rh-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid #2a2620;
  background: rgba(10,8,4,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.rh-btn-ghost:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(20,16,10,0.5);
}

/* ─── Pills ─────────────────────────────────────────────── */
.rh-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rh-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(10,8,4,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(244,241,234,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.rh-pills span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rh-amber);
  box-shadow: 0 0 6px oklch(0.8 0.13 75 / 0.8);
  flex-shrink: 0;
}

/* ─── Mini-menu card ────────────────────────────────────── */
.rh-card {
  width: 100%;
  justify-self: end;
  padding: 26px 24px;
  border-radius: 0;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  gap: 0;
  transition: background 0.4s ease, border-color 0.4s ease;
}

html:not([data-theme="light"]) .rh-card:hover {
  background: rgba(0,0,0,0.92);
  border-color: rgba(255,255,255,0.18);
}

html[data-theme="light"] .rh-card:hover {
  background: #faf8f1;
  border-color: rgba(26,22,17,0.16);
}

html[data-theme="light"] .rh-card-name,
html[data-theme="light"] .rh-card-item-name {
  color: #111111;
}

html[data-theme="light"] .rh-card-sub,
html[data-theme="light"] .rh-card-item-desc {
  color: #666660;
}

html[data-theme="light"] .rh-card-section,
html[data-theme="light"] .rh-card-item-price,
html[data-theme="light"] .rh-card-status,
html[data-theme="light"] .rh-card-cta {
  color: #b45309;
}

html[data-theme="light"] .rh-card-status {
  border-color: rgba(180,83,9,0.35);
}

html[data-theme="light"] .rh-card-item {
  border-bottom-color: rgba(0,0,0,0.08);
}

html[data-theme="light"] .rh-card-cta {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* ── Hero responsive — compression progressive ──────────── */

/* 1300px : réduire légèrement card + gap */
@media (max-width: 1300px) {
  .rh-hero { grid-template-columns: 1fr minmax(0, 360px); gap: 41px; }
}

/* 1150px : titre se compresse, card rétrécit */
@media (max-width: 1150px) {
  .rh-hero { grid-template-columns: 1fr minmax(0, 300px); gap: 31px; }
  .rh-title { font-size: clamp(3.2rem, 6.5vw, 5.5rem); }
}

/* 1000px : compression de la card uniquement */
@media (max-width: 1000px) {
  .rh-hero { grid-template-columns: 1fr minmax(0, 260px); gap: 24px; padding: 68px 0 68px; }
  .rh-title { font-size: clamp(2.8rem, 5.8vw, 4.8rem); }
  .rh-card-item-desc { display: none; }
}

/* 820px : card encore plus étroite */
@media (max-width: 820px) {
  .rh-hero { grid-template-columns: 1fr minmax(0, 220px); gap: 17px; }
  .rh-title { font-size: clamp(2.4rem, 5vw, 4rem); }
  .rh-card-sub { display: none; }
  .rh-card-section { margin: 5px 0; }
}

/* 640px : card disparaît, titre retrouve toute la largeur */
@media (max-width: 640px) {
  .rh-hero { grid-template-columns: 1fr; padding: 68px 0 51px; }
  .rh-card { display: none; }
  .rh-title { font-size: clamp(3.2rem, 10vw, 5.5rem); line-height: 0.96; }
  .rh-title-indent { padding-left: 5vw; }
}

@media (max-width: 720px) {
  .rh-card { max-width: 100%; padding: 19px 17px; }
  /* Masquer les éléments décoratifs qui casseraient la ligne */
  .rh-card-sub { display: none; }
  .rh-card-item-desc { display: none; }
  .rh-card-item { padding: 8px 0; }
  .rh-card-section { margin: 7px 0 7px; }
}

@media (max-width: 480px) {
  .rh-card-dots { display: none; }
  .rh-card-cta { padding: 10px 14px; font-size: 0.88rem; }
}

.rh-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 26px;
}

.rh-card-title-group {
  display: grid;
  gap: 4px;
}

.rh-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--rh-fg);
  line-height: 1;
  transition: color 0.4s ease;
}

.rh-card-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--rh-mute);
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
}

.rh-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid oklch(0.4 0.06 65 / 0.5);
  background: transparent;
  color: var(--rh-amber);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.rh-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  flex-shrink: 0;
}

.rh-card-section {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rh-amber);
  margin: 10px 0 10px;
  transition: color 0.4s ease;
}

.rh-card-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.4s ease;
}

.rh-card-item:last-of-type {
  border-bottom: none;
}

.rh-card-item-info {
  display: grid;
  gap: 4px;
}

.rh-card-item-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 500;
  color: var(--rh-fg);
  line-height: 1.2;
  transition: color 0.4s ease;
}

.rh-card-item-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.68rem, 0.9vw, 0.85rem);
  color: var(--rh-mute);
  line-height: 1.4;
  transition: color 0.4s ease;
}

.rh-card-item-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.82rem, 1.1vw, 1.05rem);
  font-weight: 500;
  color: var(--rh-amber);
  flex-shrink: 0;
  padding-top: 2px;
  transition: color 0.4s ease;
}

.rh-card-divider {
  height: 1px;
  background: transparent;
  margin: 9px 0 4px;
}

.rh-card-cta {
  display: block;
  margin-top: 22px;
  padding: 13px 17px;
  border-radius: 12px;
  border: 1px solid oklch(0.4 0.06 65 / 0.55);
  background: transparent;
  color: var(--rh-amber);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: border-color 0.4s ease, background 0.2s ease, color 0.4s ease;
}

.rh-card-cta:hover {
  border-color: oklch(0.8 0.13 75 / 0.5);
  background: oklch(0.8 0.13 75 / 0.07);
}

.rh-card-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.rh-card-dot-nav {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rh-card-dot-nav.is-active {
  background: var(--rh-amber);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════════
   TÉLÉPHONE COMMANDE — frame métal réaliste
   ═══════════════════════════════════════════════════════════ */



.rfi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4em 1.9em 1.4em;
}

.rfi-head-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.87em;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.rfi-head-tbl {
  font-size: 0.94em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #c8641e;
  color: #fff;
  letter-spacing: 0.01em;
}

.rfi-tabs {
  display: flex;
  padding: 0 1.4em 1.4em;
  gap: 0.5em;
}

.rfi-tab {
  flex: 1;
  font-size: 0.94em;
  font-weight: 600;
  text-align: center;
  padding: 0.7em 0.4em;
  border-radius: 0.8em;
  color: rgba(255,255,255,.28);
}

.rfi-tab--on {
  background: rgba(200,100,30,.2);
  color: #d97840;
}

.rfi-items {
  display: flex;
  flex-direction: column;
  padding: 0 17px;
  flex: 1;
}

.rfi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.rfi-item:last-child { border-bottom: none; }

.rfi-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rfi-item-name {
  font-size: 1.1em;
  font-weight: 700;
  color: #f5f5f5;
  line-height: 1.2;
}

.rfi-item-desc {
  font-size: 0.85em;
  color: rgba(255,255,255,.32);
  line-height: 1.3;
}

.rfi-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.rfi-item-price {
  font-size: 1.1em;
  font-weight: 800;
  color: #d97840;
}

.rfi-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.94em;
  font-weight: 900;
}

.rfi-check--done {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 0 8px rgba(34,197,94,.4);
}

.rfi-check--add {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: 1.36em;
  font-weight: 300;
}

.rfi-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 17px;
  margin: 7px 9px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
}

.rfi-cart-info {
  font-size: 0.94em;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

.rfi-cart-send {
  font-size: 0.94em;
  font-weight: 700;
  padding: 8px 17px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  letter-spacing: -0.01em;
}

.rfi-homeind {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfi-homeind::after {
  content: '';
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
}

/* ═══════════════════════════════════════════════════════════
   TÉLÉPHONE COMMANDE — style frame sombre (backup)
   ═══════════════════════════════════════════════════════════ */

.rfm-phone {
  width: 260px;
  background: linear-gradient(160deg, #1c1c1e, #0d0d0e);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 36px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.rfm-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 16px;
  border-radius: 0 0 14px 14px;
  background: #0d0d0e;
  z-index: 5;
}

.rfm-screen {
  background: #111110;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 24px;
  font-family: 'Inter', sans-serif;
}

.rfm-homeind {
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rfm-homeind::after {
  content: '';
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.18);
}

.rfm-sbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 7px;
  font-size: 0.85em;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.rfm-sbar-r {
  font-size: 0.77em;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}

.rfm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px 10px;
}

.rfm-head-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.53em;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.rfm-head-tbl {
  font-size: 0.85em;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: #c8641e;
  color: #fff;
  letter-spacing: 0.02em;
}

.rfm-tabs {
  display: flex;
  padding: 0 10px 10px;
  gap: 4px;
}

.rfm-tab {
  flex: 1;
  font-size: 0.85em;
  font-weight: 600;
  text-align: center;
  padding: 5px 4px;
  border-radius: 6px;
  color: rgba(255,255,255,0.35);
}

.rfm-tab--on {
  background: rgba(200,100,30,0.2);
  color: #c8641e;
}

.rfm-items {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  flex: 1;
}

.rfm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rfm-item:last-child {
  border-bottom: none;
}

.rfm-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rfm-item-name {
  font-size: 0.94em;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.rfm-item-desc {
  font-size: 0.77em;
  color: rgba(255,255,255,0.38);
  line-height: 1.3;
}

.rfm-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.rfm-item-price {
  font-size: 0.94em;
  font-weight: 800;
  color: #c8641e;
}

.rfm-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.77em;
  font-weight: 900;
}

.rfm-check--done {
  background: #22c55e;
  color: #fff;
}

.rfm-check--add {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 1.19em;
  font-weight: 400;
}

.rfm-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

.rfm-cart-info {
  font-size: 0.85em;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.rfm-cart-send {
  font-size: 0.85em;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

/* ── Écran admin (2e téléphone) ───────────────────────── */
.rfi-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 19px 12px;
}

.rfi-admin-back {
  font-size: 1.02em;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.rfi-admin-live {
  font-size: 0.85em;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.rfi-admin-items {
  display: flex;
  flex-direction: column;
  padding: 0 17px;
  flex: 1;
}

.rfi-admin-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rfi-admin-item:last-child { border-bottom: none; }

.rfi-admin-item--edit {
  background: rgba(255,255,255,0.03);
  margin: 0 -7px;
  padding: 10px 7px;
  border-radius: 8px;
}

.rfi-admin-name {
  font-size: 1.02em;
  font-weight: 700;
  color: #f5f5f5;
}

.rfi-admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rfi-admin-price {
  font-size: 1.02em;
  font-weight: 700;
  color: #c8641e;
}

.rfi-admin-price--edit {
  color: #fbbf24;
}

.rfi-admin-tog {
  font-size: 0.77em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.rfi-admin-tog--on {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.rfi-admin-tog--off {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
}

.rfi-admin-input {
  font-size: 0.94em;
  color: #fbbf24;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 6px;
  padding: 4px 9px;
  width: fit-content;
}

.rfi-admin-save {
  font-size: 0.85em;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,0.08);
  border-top: 1px solid rgba(34,197,94,0.15);
  padding: 10px 17px;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 480px) {
  .rh-hero { padding: 51px 0 41px; }
  .rh-title { font-size: clamp(2.8rem, 11vw, 4rem); }
  .rh-title-indent { padding-left: 0; }
  .rh-btn-primary, .rh-btn-ghost { width: 100%; justify-content: center; }

  .rh-btn-primary,
  .rh-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════
   STATS — section premium après le hero
   ═══════════════════════════════════════════════════════════ */

.rstat-section {
  width: 100%;
  padding: 0 0 41px;
  position: relative;
}

/* Header "— TROIS MESURES / N° 01" */
.rstat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  margin-top: 40px;
  margin-bottom: 0;
}

.rstat-header-rule {
  flex: 1;
  height: 1px;
  background: rgba(244,241,234,0.12);
}

html[data-theme="light"] .rstat-header-rule {
  background: rgba(26,22,17,0.1);
}

.rstat-header-label,
.rstat-header-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rest);
  opacity: 0.75;
}

/* Labels par cellule */
.rstat-cell-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rest);
  opacity: 0.65;
  position: absolute;
  top: 28px;
  left: 40px;
  white-space: nowrap;
}

.rstat-cell:not(:first-child) .rstat-cell-label {
  left: 50%;
  transform: translateX(-50%);
}

/* Grand chiffre romain décoratif */
.rstat-roman {
  position: absolute;
  top: 0;
  right: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(8rem, 16vw, 18rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: rgba(244,241,234,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* Light mode */

html[data-theme="light"] .rstat-header-label,
html[data-theme="light"] .rstat-header-num {
  color: #b45309;
  opacity: 0.85;
}

html[data-theme="light"] .rstat-cell-label {
  color: #b45309;
  opacity: 0.8;
}

html[data-theme="light"] .rstat-roman {
  color: rgba(26,22,17,0.04);
}

.rstat-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border: none;
  background: none;
  gap: 0;
}

.rstat-cell {
  position: relative;
  padding: 61px 34px 58px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rstat-cell:not(:first-child) {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rstat-cell:not(:first-child) .rstat-caption {
  max-width: 200px;
}

/* Premier stat beaucoup plus grand */
.rstat-cell:first-child .rstat-val {
  font-size: clamp(140px, 18vw, 240px);
}


/* Premier pain item +50% */
.rpe-item:first-child .rpe-num      { font-size: clamp(4.5rem, 7.5vw, 7.5rem); }
.rpe-item:first-child .rpe-title    { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
.rpe-item:first-child .rpe-desc     { font-size: 1.5rem; }
.rpe-item:first-child .rpe-cost-val { font-size: clamp(2.7rem, 4.2vw, 4.2rem); }
.rpe-item:first-child .rpe-cost-label { font-size: 1.12rem; }

/* Deuxième pain item +25% */
.rpe-item:nth-child(2) .rpe-num      { font-size: clamp(3.5rem, 5.8vw, 5.8rem); }
.rpe-item:nth-child(2) .rpe-title    { font-size: clamp(1.9rem, 3.3vw, 2.8rem); }
.rpe-item:nth-child(2) .rpe-desc     { font-size: 1.25rem; }
.rpe-item:nth-child(2) .rpe-cost-val { font-size: clamp(2.1rem, 3.3vw, 3.3rem); }
.rpe-item:nth-child(2) .rpe-cost-label { font-size: 0.95rem; }

.rstat-cell:first-child .rstat-caption {
  max-width: 280px;
  font-size: 1.05rem;
}

/* Séparateurs verticaux — fondu aux extrémités */
.rstat-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(244,241,234,0.18) 20%,
    rgba(244,241,234,0.22) 50%,
    rgba(244,241,234,0.18) 80%,
    transparent 100%
  );
}

.rstat-val {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #f4f1ea;
  margin: 0;
  position: relative;
  top: 0;
}

.rstat-digit {
  position: relative;
  top: -0.22em;
}

.rstat-val small {
  font-size: 0.45em;
  margin-left: 4px;
  color: oklch(0.8 0.13 75);
  font-style: normal;
  vertical-align: baseline;
}

.rstat-caption {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d8d4cb;
  max-width: 240px;
  margin: 0;
}

/* ─── Stats responsive ────────────────── */

/* 1400px : grid 3 cols, 1er légèrement réduit */
@media (max-width: 1400px) {
  .rstat-cell:first-child .rstat-val { font-size: clamp(100px, 13vw, 170px); }
}

/* 1100px : grid 3 cols, encore réduit */
@media (max-width: 1100px) {
  .rstat-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .rstat-cell { padding: 44px 24px 41px; }
  .rstat-cell:first-child .rstat-val { font-size: clamp(80px, 11vw, 120px); }
  .rstat-val { font-size: clamp(52px, 6vw, 76px); }
}

/* 760px : tout en colonne unique */
@media (max-width: 760px) {
  .rstat-grid { grid-template-columns: 1fr; }
  /* séparateur horizontal fondu entre items */
  .rstat-cell:not(:last-child)::after { display: none; }
  .rstat-cell:not(:last-child) {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(244,241,234,0.18) 30%, rgba(244,241,234,0.22) 50%, rgba(244,241,234,0.18) 70%, transparent) 1;
  }
  .rstat-cell { padding: 31px 0; }
  .rstat-cell:not(:first-child) { align-items: flex-start; text-align: left; }
  .rstat-cell:first-child .rstat-val { font-size: clamp(72px, 18vw, 100px); }
  .rstat-val { font-size: clamp(56px, 14vw, 80px); }
}


/* ═══════════════════════════════════════════════════════════
   TÉLÉPHONES — mode clair
   ═══════════════════════════════════════════════════════════ */

html[data-theme="light"] .rfi-screen {
  background: #ffffff;
}

html[data-theme="light"] .rfp-v2-screen {
  background: #ffffff;
}

html[data-theme="light"] .rfi-sbar {
  color: rgba(0,0,0,0.7);
}

html[data-theme="light"] .rfi-head-name {
  color: #111;
}

html[data-theme="light"] .rfi-head-tbl {
  background: #c8641e;
  color: #fff;
}

html[data-theme="light"] .rfi-tab {
  color: rgba(0,0,0,0.28);
}

html[data-theme="light"] .rfi-tab--on {
  background: rgba(200,100,30,0.12);
  color: #b8521a;
}

html[data-theme="light"] .rfi-item {
  border-bottom-color: rgba(0,0,0,0.07);
}

html[data-theme="light"] .rfi-item-name {
  color: #111;
}

html[data-theme="light"] .rfi-item-desc {
  color: rgba(0,0,0,0.38);
}

html[data-theme="light"] .rfi-item-price {
  color: #b8521a;
}

html[data-theme="light"] .rfi-check--add {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.35);
}

html[data-theme="light"] .rfi-cart {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.07);
}

html[data-theme="light"] .rfi-cart-info {
  color: rgba(0,0,0,0.4);
}

html[data-theme="light"] .rfi-cart-send {
  background: #111;
  color: #fff;
}

html[data-theme="light"] .rfi-homeind::after {
  background: rgba(0,0,0,0.2);
}

/* Admin phone — light */
html[data-theme="light"] .rfi-admin-back {
  color: rgba(0,0,0,0.5);
}

html[data-theme="light"] .rfi-admin-name {
  color: #111;
}

html[data-theme="light"] .rfi-admin-price {
  color: #b8521a;
}

html[data-theme="light"] .rfi-admin-item {
  border-bottom-color: rgba(0,0,0,0.06);
}

html[data-theme="light"] .rfi-admin-item--edit {
  background: rgba(0,0,0,0.03);
}

html[data-theme="light"] .rfi-admin-input {
  background: rgba(180,83,9,0.06);
  border-color: rgba(180,83,9,0.2);
  color: #b45309;
}

html[data-theme="light"] .rfi-admin-save {
  background: rgba(34,197,94,0.06);
  border-top-color: rgba(34,197,94,0.15);
}

/* Stats section — light */

html[data-theme="light"] .rstat-grid {
  background: transparent;
}

html[data-theme="light"] .rstat-cell:not(:last-child)::after {
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.12), transparent);
}

html[data-theme="light"] .rfi-notch {
  background: #1a1a1a;
}

html[data-theme="light"] .rfi-frame {
  background: #ffffff;
  box-shadow:
    0 50px 100px rgba(0,0,0,.12),
    0 20px 40px rgba(0,0,0,.08),
    inset 0 1.5px 0 rgba(255,255,255,.9),
    0 0 0 1px rgba(0,0,0,.08);
}

html[data-theme="light"] .rfi-frame::before {
  background: none;
}

html[data-theme="light"] .rfi-frame::after {
  border-color: rgba(0,0,0,.06);
}

html[data-theme="light"] .rfi-side {
  background: #e5e7eb;
}

html[data-theme="light"] .rfi-side--vol {
  box-shadow: 0 48px 0 #e5e7eb, 0 96px 0 #e5e7eb;
}

html[data-theme="light"] .rfp-v2-phone {
  background: #ffffff;
  border-color: #f0f0f0;
  outline-color: rgba(0,0,0,.06);
  box-shadow:
    0 32px 64px rgba(0,0,0,.1),
    0 10px 22px rgba(0,0,0,.06),
    inset 0 0 0 1px rgba(0,0,0,.04);
}


/* ═══════════════════════════════════════════════════════════
   MODE CLAIR — seuls les cas avec couleurs codées en dur
   Les éléments utilisant var(--text/muted/soft) s'adaptent
   automatiquement. Les cards gardent leur fond sombre.
   ═══════════════════════════════════════════════════════════ */

/* ─── Stats : fond crème → texte doit être sombre ────────── */
html[data-theme="light"] .rstat-val {
  color: #111111;
}

html[data-theme="light"] .rstat-val small {
  color: #b45309;
}

html[data-theme="light"] .rstat-caption {
  color: rgba(0,0,0,0.5);
  font-size: 0.95rem;
}


/* ─── Gradient italic : le blanc devient invisible sur fond blanc ── */
html[data-theme="light"] .rest-head-italic {
  background: linear-gradient(110deg, #b45309 0%, #c8641e 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Upgrade : fond toujours sombre → texte reste clair ───
   Les couleurs rgba(255,255,255,...) sont correctes sur fond sombre.
   Seul le h2 utilise var(--text) → ok automatiquement.         */

/* ─── Hero copy : mode clair — fond photo sans overlay ───── */
html[data-theme="light"] .rh-title {
  color: #111111;
  font-weight: 400;
}

html[data-theme="light"] .rh-gradient-word {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #b45309;
  color: #b45309;
}

html[data-theme="light"] .rh-sub {
  color: rgba(10,10,10,0.72);
}

html[data-theme="light"] .rh-eyebrow {
  color: #b45309;
  border-color: rgba(180,83,9,0.3);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-theme="light"] .rh-pills span {
  color: rgba(10,10,10,0.72);
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-theme="light"] .rh-btn-ghost {
  color: #111111;
  border-color: rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.5);
}

html[data-theme="light"] .rh-btn-ghost:hover {
  border-color: rgba(0,0,0,0.35);
  background: rgba(255,255,255,0.75);
}

/* ─── Light mode : boutons et séparateurs ─────────────────── */
html[data-theme="light"] .rh-btn-primary {
  background: #111111;
  color: #ffffff;
}

html[data-theme="light"] .rh-btn-primary:hover {
  background: #2a2a2a;
}

html[data-theme="light"] .rh-card {
  border-color: rgba(26,22,17,0.1);
  background: rgba(250,248,241,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
