/* /choisir-une-salle-pour-un-atelier-a-grenoble/ */
.room-page {
  --room-ink: #173147;
  --room-paper: #fffdf8;
  --room-soft: #f3eee5;
  --room-sage: #e3ebe5;
  --room-rust: #a95638;
  --room-plum: #74345a;
  --room-line: #d5cec2;
  --room-muted: #52636c;
  background: var(--room-paper);
  color: var(--room-ink);
  font-size: 17px;
}

.room-page :where(h1, h2, h3, p, ol, ul, dl, figure) { margin-block-start: 0; }
.room-page :where(h1, h2, h3) { color: inherit; }
.room-shell { margin-inline: auto; max-width: 74rem; padding-inline: clamp(1.25rem, 4vw, 3.5rem); }

.room-hero {
  background: var(--room-soft);
  border-bottom: 1px solid var(--room-line);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.room-hero__grid { align-items: center; display: grid; gap: clamp(2rem, 6vw, 5rem); }
.room-hero__copy { max-width: 43rem; }
.room-hero h1 {
  font-size: clamp(2.65rem, 6vw, 4.7rem);
  line-height: .97;
  margin-bottom: 1.5rem;
  max-width: 15ch;
  text-wrap: balance;
}
.room-hero__lede { font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); line-height: 1.55; max-width: 58ch; }
.room-note { border: 1px solid color-mix(in srgb, var(--room-rust) 45%, var(--room-line)); margin: 1.5rem 0 0; max-width: 58ch; padding: 1rem 1.15rem; }
.room-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.4rem; }
.room-actions a { align-items: center; color: var(--room-plum); display: inline-flex; font-weight: 750; min-height: 44px; text-underline-offset: .25em; }
.room-hero .dg-editorial-image { margin: 0; }
.room-hero .dg-editorial-image img { aspect-ratio: 3 / 2; display: block; height: auto; object-fit: cover; width: 100%; }

.room-section { border-bottom: 1px solid var(--room-line); padding-block: clamp(2.25rem, 4vw, 3.75rem); }
.room-section-inset { padding-block: clamp(1.5rem, 2.5vw, 2.25rem); }
.room-split { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.room-heading { max-width: 54rem; }
.room-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 24ch;
  text-wrap: balance;
}
.room-heading p { color: var(--room-muted); line-height: 1.65; max-width: 60ch; }

.room-brief { border-top: 1px solid var(--room-line); margin: 0; }
.room-brief > div { border-bottom: 1px solid var(--room-line); display: grid; gap: .35rem; padding-block: 1rem; }
.room-brief dt { color: var(--room-rust); font-weight: 800; }
.room-brief dd { color: var(--room-muted); margin: 0; }

.room-route { counter-reset: room-step; list-style: none; margin: 0; padding: 0; position: relative; }
.room-route::before { background: var(--room-line); content: ""; inset: .8rem auto .8rem 1rem; position: absolute; width: 1px; }
.room-route li { counter-increment: room-step; padding: 0 0 1.8rem 3.4rem; position: relative; }
.room-route li:last-child { padding-bottom: 0; }
.room-route li::before {
  align-items: center;
  background: var(--room-paper);
  border: 1px solid var(--room-rust);
  border-radius: 50%;
  color: var(--room-rust);
  content: counter(room-step);
  display: flex;
  font-size: .76rem;
  font-weight: 800;
  height: 2rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 2rem;
}
.room-route h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.room-route p { color: var(--room-muted); margin: 0; max-width: 60ch; }

.room-equipment { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.room-equipment__copy { font-size: 1.0625rem; line-height: 1.7; max-width: 62ch; }
.room-equipment__tests { list-style: none; margin: 0; padding: 0; }
.room-equipment__tests li { border-top: 1px solid var(--room-line); padding: 1rem 0 1rem 1.7rem; position: relative; }
.room-equipment__tests li::before { border: 1px solid var(--room-rust); content: ""; height: .8rem; left: 0; position: absolute; top: 1.35rem; width: .8rem; }

.room-contract {
  background: var(--room-sage);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.room-contract__list { list-style: none; margin: 0; padding: 0; }
.room-contract__list li { border-top: 1px solid color-mix(in srgb, var(--room-ink) 18%, transparent); display: grid; gap: .35rem; padding-block: 1rem; }
.room-contract__list strong { color: var(--room-rust); }
.room-contract__list span { color: var(--room-muted); }

.room-compare { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.room-compare__sheet { border-block: 1px solid var(--room-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-compare__sheet span { border-bottom: 1px solid var(--room-line); font-weight: 800; padding: 1rem .5rem 1rem 0; }
.room-sources { color: var(--room-muted); line-height: 1.65; max-width: 62ch; }
.room-sources a { color: var(--room-plum); font-weight: 750; }
.room-page :where(a, summary):focus-visible { outline: 3px solid #76a7bf; outline-offset: 4px; }

@media (min-width: 48rem) {
  .room-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(22rem, 5fr); }
  .room-split { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
  .room-equipment { grid-template-columns: minmax(0, 7fr) minmax(15rem, 5fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
  .room-equipment .room-heading { grid-column: 1 / -1; }
  .room-contract { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); padding-inline: clamp(1.5rem, 3vw, 2.5rem); }
  .room-compare { grid-template-columns: minmax(15rem, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 3vw, 2.75rem); }
  .room-compare .room-heading { grid-column: 1 / -1; }
  .room-compare__sheet { grid-template-columns: 1fr; }
}
