/* Le Goff Couverture — site de démonstration La Balise.
   Aucune règle inline dans la page : la CSP du domaine (style-src 'self') les bloquerait. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/exemples/couvreur/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/exemples/couvreur/fonts/atkinson.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* Contrastes (WCAG) : cream/slate 12.6 · copper/slate 5.4 · mist/slate 6.9 · ink/cream 12.6 · muted/cream 5.9 · slate/copper 5.4 · copper-dark/cream 5.0 */
:root {
  --slate: #1E2A33;
  --slate-2: #283640;
  --slate-3: #36464F;
  --cream: #F4EFE6;
  --card: #FFFCF6;
  --sand: #E8E0D1;
  --ink: #1E2A33;
  --muted: #55626C;
  --mist: #A9B8C2;
  --copper: #D9822B;
  --copper-2: #E69445;
  --copper-dark: #94500F;
  --ok: #3FB27F;
  --line: rgba(30, 42, 51, .14);
  --line-dark: rgba(244, 239, 230, .13);
  --radius: 16px;
  --shadow: 0 1px 0 rgba(30, 42, 51, .05), 0 24px 46px -30px rgba(30, 42, 51, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "Atkinson Hyperlegible", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--slate); color: var(--cream); font: 400 17px/1.6 var(--font); }
main, .foot { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; }
h1 em, h2 em { font-style: normal; font-weight: 500; color: var(--copper); }
.leak h2 em, .aid h2 em, .book h2 em { color: var(--copper-dark); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
.leak :focus-visible, .aid :focus-visible, .book :focus-visible { outline-color: var(--slate); }
small { font-size: .82em; }

/* ---------- Bandeau démo ---------- */
.demo-bar { position: relative; z-index: 60; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 8px 16px; background: #131C23; color: var(--mist); font-size: 13px; text-align: center; }
.demo-bar strong { color: var(--cream); }
.demo-bar a { color: var(--copper); font-weight: 700; text-decoration: none; }
.demo-bar a:hover { text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border: 0; border-radius: 12px; font: 700 16px/1.15 var(--display); text-decoration: none; text-align: center; cursor: pointer; transition: transform .25s var(--ease), background-color .2s ease, color .2s ease, box-shadow .25s var(--ease); }
.btn-copper { background: var(--copper); color: var(--slate); box-shadow: 0 14px 26px -14px rgba(217, 130, 43, .8); }
.btn-copper:hover { background: var(--copper-2); transform: translateY(-2px); }
.btn-copper:active { transform: translateY(1px) scale(.98); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-line-light { background: var(--slate); color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(30, 42, 51, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.top.is-scrolled { border-color: var(--line-dark); }
.top-inner { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: grid; }
.brand-name { font: 700 21px/1 var(--display); letter-spacing: -0.02em; }
.brand-sub { margin-top: 3px; font-size: 13px; color: var(--mist); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--mist); font-weight: 700; font-size: 15px; text-decoration: none; transition: color .2s ease; }
.nav a:hover { color: var(--cream); }
.top-call { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--copper); color: var(--slate); font: 700 16px var(--display); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color .2s ease; }
.top-call:hover { background: var(--copper-2); }
.top-call .lamp { background: var(--slate); box-shadow: none; animation: none; }
.lamp { display: inline-block; width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(63, 178, 127, .25), 0 0 14px rgba(63, 178, 127, .9); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 7px rgba(63, 178, 127, .08), 0 0 20px rgba(63, 178, 127, .6); } }

/* ---------- Hero ---------- */
.hero { padding: 50px 0 90px; background: radial-gradient(900px 500px at 85% 10%, rgba(217, 130, 43, .15), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(54, 70, 79, .8), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--slate-2); box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 14px; font-weight: 700; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.2vw, 72px); }
.hero-lead { margin-top: 22px; max-width: 32em; font-size: 19px; color: var(--mist); }
.hero-proofs { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--mist); }
.hero-proofs li { position: relative; padding-left: 30px; }
.hero-proofs li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; background: var(--copper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.5 3.5L16 8' fill='none' stroke='%231E2A33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.hero-proofs strong { color: var(--cream); }

.diag { padding: 24px; border-radius: 24px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.diag-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 26px; }
.diag-title small { font: 400 14px var(--font); color: var(--muted); letter-spacing: 0; }
.q { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.q legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; font: 700 15px var(--display); }
.q legend span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--slate); color: var(--cream); font-size: 13px; }
.q legend small { font: 400 13px var(--font); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 10px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px rgba(30, 42, 51, .25); font: 700 14px/1.1 var(--font); transition: background-color .2s ease, color .2s ease, transform .25s var(--ease); }
.chip:hover span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--slate); color: var(--cream); box-shadow: none; }
.chip input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.surf { display: block; margin-top: 18px; font: 700 15px var(--display); }
.surf output { color: var(--copper-dark); }
.surf input { width: 100%; margin: 10px 0 0; accent-color: var(--copper-dark); }
.verdict { margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--slate); color: var(--cream); }
.verdict-tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--slate-3); font-size: 13px; font-weight: 700; }
.verdict[data-level="1"] .verdict-tag { background: #1F5A44; }
.verdict[data-level="2"] .verdict-tag { background: #7A5A12; }
.verdict[data-level="3"] .verdict-tag { background: #8A3D1F; }
.verdict-title { margin-top: 10px; font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; }
.verdict-price { margin-top: 8px; font: 700 40px/1 var(--display); letter-spacing: -0.03em; color: var(--copper); font-variant-numeric: tabular-nums; }
.verdict-text { margin: 12px 0 16px; color: var(--mist); font-size: 15px; }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.fine-left { text-align: left; margin-top: 22px; }
.verdict .fine { color: var(--mist); }

/* ---------- Urgence ---------- */
.leak { padding: 100px 0; background: var(--cream); color: var(--ink); }
.leak-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.kicker { font: 700 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--copper-dark); }
.kicker-dark { color: var(--copper); }
.book .kicker-dark { color: var(--copper-dark); }
.leak h2, .works h2, .aid h2, .book h2 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 60px); }
.section-lead { margin-top: 18px; max-width: 34em; font-size: 18px; color: var(--muted); }
.astreinte { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border-radius: 12px; background: var(--slate); color: var(--cream); font-weight: 700; font-size: 15px; }
.leak-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.leak-steps li { counter-increment: s; }
.leak-steps button { position: relative; display: block; width: 100%; padding: 16px 16px 16px 64px; border: 0; border-radius: 16px; background: var(--card); color: var(--muted); box-shadow: var(--shadow); font: 400 16px/1.45 var(--font); text-align: left; cursor: pointer; transition: background-color .2s ease, transform .3s var(--ease); }
.leak-steps button:hover { transform: translateX(4px); }
.leak-steps button::before { content: counter(s); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--slate); color: var(--cream); font: 700 16px var(--display); transition: background-color .2s ease; }
.leak-steps button strong { display: block; color: var(--ink); font: 700 17px var(--display); }
.leak-steps button[aria-pressed="true"] { background: #E3F4EA; }
.leak-steps button[aria-pressed="true"]::before { content: ""; background: #2E9A5F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.5 3.5L16 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.leak-done { min-height: 1.6em; margin-top: 14px; font: 600 20px var(--display); color: #1F7A48; }

/* ---------- Chantiers ---------- */
.works { padding: 100px 0; }
.section-head { max-width: 40em; }
.ba { position: relative; margin-top: 32px; aspect-ratio: 800 / 420; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); --pos: 50%; user-select: none; touch-action: pan-y; }
.ba-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-label { position: absolute; top: 14px; padding: 5px 12px; border-radius: 8px; background: rgba(30, 42, 51, .85); color: var(--cream); font: 700 13px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ba-label-before { left: 14px; }
.ba-label-after { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--cream); box-shadow: 0 0 14px rgba(0, 0, 0, .5); pointer-events: none; }
.ba-handle::after { content: "⇄"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--copper); color: var(--slate); font-size: 22px; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { outline: 3px solid var(--copper); outline-offset: 3px; }
.ba-note { margin-top: 14px; color: var(--mist); font-size: 15px; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 0; padding: 0; list-style: none; }
.photo-grid li { padding: 12px 12px 18px; border-radius: 20px; background: var(--slate-2); box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform .4s var(--ease); }
.photo-grid li:hover { transform: translateY(-5px); }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.photo-grid p { margin-top: 12px; color: var(--mist); font-size: 15px; }
.photo-grid strong { display: block; color: var(--cream); font: 700 19px var(--display); }

/* ---------- Aides ---------- */
.aid { padding: 100px 0; background: var(--sand); color: var(--ink); }
.aid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.aid-grid li { padding: 22px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); color: var(--muted); font-size: 15px; }
.aid-grid strong { display: block; margin-bottom: 8px; color: var(--ink); font: 700 22px/1.1 var(--display); }

/* ---------- Devis ---------- */
.book { padding: 100px 0; background: var(--cream); color: var(--ink); }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.recap { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: var(--slate); color: var(--cream); }
.recap:empty { display: none; }
.recap strong { display: block; font: 700 22px/1.15 var(--display); }
.recap span { color: var(--mist); font-size: 15px; }
.recap b { color: var(--copper); }
.book-form, .book-done { padding: 26px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; }
.field-wide { grid-column: 1 / -1; }
.field > span { display: block; margin: 0 0 5px 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--cream); color: var(--ink); font: 700 16px var(--font); box-shadow: inset 0 0 0 1.5px rgba(30, 42, 51, .25); }
.field input[type="file"] { font-weight: 400; font-size: 15px; }
.field input:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--slate), 0 0 0 4px rgba(217, 130, 43, .45); }
.form-error { min-height: 1.4em; margin: 12px 0 8px; color: #B3261E; font-weight: 700; font-size: 15px; }
.book-done { text-align: center; }
.book-done[hidden] { display: none; }
.book-done:focus { outline: none; }
.book-done h3 { margin-top: 8px; font-size: 32px; }
.book-done p { margin-top: 8px; color: var(--muted); }
.book-done .btn { margin-top: 16px; }
.done-roof { width: 170px; margin: 0 auto; animation: rise .9s var(--ease) both; }
.done-line { animation: dash .6s linear infinite; }
@keyframes rise { from { transform: translateY(24px) scale(.9); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -14; } }

/* ---------- Pied de page ---------- */
.foot { padding: 56px 0; background: #131C23; color: var(--mist); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; }
.brand-name-foot { margin-bottom: 12px; color: var(--cream); font-size: 24px; }
.foot a { color: var(--cream); }
.foot-small { margin-top: 6px; font-size: 13px; }
.foot-credit a { color: var(--copper); font-weight: 700; text-decoration: none; }
.foot-credit a:hover { text-decoration: underline; }

.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .hero-grid, .leak-grid, .book-grid { grid-template-columns: 1fr; }
  .aid-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .demo-long { display: none; }
  .top-inner { min-height: 60px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-sub { display: none; }
  .top-call { padding: 8px 12px; font-size: 14px; }
  .top-call .lamp { display: none; }
  .hero { padding: 28px 0 64px; }
  .hero-lead { font-size: 17px; }
  .diag { padding: 16px; border-radius: 20px; }
  .verdict-price { font-size: 34px; }
  .leak, .works, .aid, .book { padding: 72px 0; }
  .photo-grid, .aid-grid, .b-grid { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4 / 3; }
  .book-form, .book-done { padding: 22px 16px; }
  .foot { padding-bottom: 110px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; transition: transform .35s var(--ease), opacity .3s ease; }
  .sticky-cta .btn { box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .6); }
  .sticky-cta.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Les éléments de grille peuvent rétrécir sous la largeur de leur contenu */
.hero-grid > *, .leak-grid > *, .book-grid > * { min-width: 0; }

.reviews { background: var(--cream); color: var(--ink); --rv-star: #94500F; --rv-tag-bg: rgba(30, 42, 51, .07); --rv-display: var(--display); }

/* ---------- Avis des clients (avis de démonstration) ---------- */
.reviews { padding: clamp(56px, 8vw, 100px) 0; }
.reviews .section-head { margin-bottom: 32px; }
.rv-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.rv-summary { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rv-score { display: flex; align-items: baseline; gap: 4px; font-size: 18px; color: var(--muted); }
.rv-score strong { font-size: 56px; line-height: 1; color: var(--ink); font-family: var(--rv-display, inherit); }
.rv-star-row { display: block; width: 100px; height: 18px; }
.rv-star-row.rv-big { width: 140px; height: 25px; margin: 6px 0; }
.rv-on { fill: var(--rv-star); }
.rv-off { fill: none; stroke: var(--rv-star); stroke-width: 1.4; }
.rv-half { fill: var(--rv-star); opacity: .55; }
.rv-count { font-weight: 700; margin-bottom: 14px; }
.rv-bars { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.rv-bars li { display: grid; grid-template-columns: 34px 1fr 24px; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.rv-bar { display: block; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.rv-fill { display: block; height: 100%; background: var(--rv-star); }
.rv-n { text-align: right; }
.rv-source { margin-bottom: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--card); font: 700 16px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rv-btn:hover { opacity: .9; }
.rv-btn-line { background: transparent; color: var(--ink); margin-top: 16px; }
.rv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.rv-chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; }
.rv-chip:hover:not(:disabled) { border-color: var(--ink); }
.rv-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
.rv-chip:disabled { opacity: .45; cursor: not-allowed; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rv-item { padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.rv-head strong { font-size: 17px; }
.rv-meta { font-size: 14px; color: var(--muted); }
.rv-tag { display: inline-block; margin: 8px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--rv-tag-bg, rgba(0, 0, 0, .06)); font-size: 13px; font-weight: 700; color: var(--ink); }
.rv-text { margin: 10px 0 0; }
.rv-reply { margin-top: 14px; padding: 12px 16px; border-radius: 12px; border-left: 4px solid var(--rv-star); background: var(--rv-tag-bg, rgba(0, 0, 0, .05)); font-size: 15.5px; }
.rv-reply-head { margin: 0 0 4px; font-weight: 800; font-size: 14px; color: var(--muted); }
.rv-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.rv-dialog { width: min(520px, 100vw - 24px); padding: 28px; border: 0; border-radius: 20px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.rv-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.rv-dialog h3 { margin: 0 0 10px; font-size: 26px; }
.rv-dialog p { margin: 0 0 12px; }
.rv-dlg-sub { color: var(--muted); }
.rv-sms { margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--rv-tag-bg, #eee); }
.rv-sms p { margin: 0 0 6px; font-weight: 600; }
.rv-sms small { color: var(--muted); font-size: 13px; }
.rv-rules { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; font-size: 15.5px; }
.reviews :focus-visible { outline: 3px solid var(--rv-star); outline-offset: 3px; }
@media (max-width: 900px) { .rv-grid { grid-template-columns: 1fr; } .rv-summary { position: static; } }
.reviews em { color: var(--copper-dark); }
