/* Quelle couleur ?: the look of every page of the site, the home page and the free result.
   Mix of three references: the structure of a paint maker's shop (hero split, rooms, a swatch
   grid), the matter of an editorial magazine (a high-contrast serif, gallery white, thin rules,
   square corners), the movement of a palette tool (bars that widen, chips that lift).
   Colours: the gallery white and the ink let the real palettes speak; the button is the deep
   sage of our sage-green example. Loaded by couleurs/page_head.html on every page. */

@font-face { font-family: "Bodoni QC"; src: url("fonts/bodoni-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Albert QC"; src: url("fonts/albert-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Mono QC"; src: url("fonts/dmmono-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --qc-paper: #f6f4ef;
  --qc-card: #fdfcf9;
  --qc-ink: #1d1b18;
  --qc-soft: #3d3934;
  --qc-muted: #5f5a52;
  --qc-line: #ddd7cb;
  --qc-sage: #4a6640;
  --qc-sage-deep: #33492c;
  --qc-terra: #a9502f;
  --qc-display: "Bodoni QC", "Bodoni 72", Didot, Georgia, serif;
  --qc-text: "Albert QC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --qc-mono: "Mono QC", ui-monospace, Menlo, monospace;
  --qc-ease: cubic-bezier(.2, .7, .2, 1);
  --c1: #4a6640;
  --c2: #33492c;
  --ink: #1d1b18;
  --paper: #f6f4ef;
  --muted: #5f5a52;
  --line: #ddd7cb;
  --radius: 4px;
}
body { font-family: var(--qc-text); background: var(--qc-paper); color: var(--qc-ink); font-size: 17px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--qc-display); font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
code { font-family: var(--qc-mono); font-size: .82em; letter-spacing: .02em; }
.topbar { background: var(--qc-paper); border-bottom: 1px solid var(--qc-line); box-shadow: none; }
.brand { font-family: var(--qc-display); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--qc-ink); }
.brand-emoji { font-size: 0; width: 26px; height: 26px; display: inline-block; vertical-align: -5px; background: conic-gradient(#9caf88 0 25%, #c96a4a 0 50%, #145f6e 0 75%, #e3dacb 0); border-radius: 2px; }
.btn { background: linear-gradient(95deg, var(--qc-sage), var(--qc-sage-deep)); border-radius: 2px; font-family: var(--qc-text); font-weight: 600; letter-spacing: .01em; }
.btn.secondary { background: transparent; color: var(--qc-ink); border: 1px solid var(--qc-ink); }
.card { border-radius: 4px; box-shadow: none; border: 1px solid var(--qc-line); background: var(--qc-card); }
.guide h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.06; }
.guide h2 { font-size: 1.7rem; }
.guide .lead { font-size: 1.12rem; color: var(--qc-soft); }
.guide-table td, .guide-table th { border-color: var(--qc-line); }
.cta-box { border-radius: 4px; border: 1px solid var(--qc-line); background: var(--qc-paper); }

.qc { --w: #9caf88; color: var(--qc-ink); }
.qc *, .qc *::before, .qc *::after { box-sizing: border-box; }
.qc h1, .qc h2, .qc h3 { margin: 0; color: var(--qc-ink); }
.qc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.qc-kicker { font-family: var(--qc-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--qc-muted); margin: 0 0 14px; }
.qc-note { font-size: .86rem; color: var(--qc-muted); margin: 8px 0 0; }
.qc-lead { font-size: 1.14rem; color: var(--qc-soft); max-width: 34em; margin: 18px 0 26px; }
.qc a { color: inherit; }

/* Buttons */
.qc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 2px; background: linear-gradient(95deg, var(--qc-sage), var(--qc-sage-deep)); color: #fff; font: 600 1rem/1.2 var(--qc-text); text-decoration: none; cursor: pointer; transition: transform .25s var(--qc-ease), box-shadow .25s var(--qc-ease), background-color .25s; }
.qc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(29, 27, 24, .55); }
.qc-btn:active { transform: translateY(0); }
.qc-btn:focus-visible, .qc-chip input:focus-visible + i, .qc a:focus-visible, .qc button:focus-visible { outline: 2px solid var(--qc-terra); outline-offset: 3px; }
.qc-btn.ghost { background: transparent; color: var(--qc-ink); border: 1px solid var(--qc-ink); }
.qc-btn.ghost:hover { background: var(--qc-ink); color: var(--qc-paper); }
.qc-wide { width: 100%; }

/* Hero */
.qc-hero { padding: 56px 0 72px; border-bottom: 1px solid var(--qc-line); }
.qc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.qc-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; letter-spacing: -0.02em; }
.qc-hero h1 em { font-style: normal; color: var(--qc-sage); }
.qc-card { background: var(--qc-card); border: 1px solid var(--qc-line); border-radius: 4px; padding: 22px; }
.qc-skip { margin: 16px 0 0; font-size: .95rem; }
.qc-skip a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qc-hero-show { margin: 0; position: sticky; top: 24px; }
.qc-pair { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; align-items: end; }
.qc-photo { position: relative; display: block; margin: 0; background: #e9e4da; overflow: hidden; border-radius: 2px; }
.qc-photo img { display: block; width: 100%; height: auto; transition: transform .6s var(--qc-ease); }
.qc-after:hover img { transform: scale(1.02); }
.qc-label { position: absolute; left: 10px; bottom: 10px; font: 500 .72rem/1 var(--qc-mono); text-transform: uppercase; letter-spacing: .12em; background: rgba(253, 252, 249, .92); color: var(--qc-ink); padding: 7px 9px; }
.qc-tag { position: absolute; right: 10px; top: 10px; font: 500 .7rem/1 var(--qc-mono); text-transform: uppercase; letter-spacing: .1em; background: var(--qc-ink); color: var(--qc-paper); padding: 7px 9px; z-index: 1; }
.qc-chipstrip { display: flex; margin-top: 14px; border: 1px solid var(--qc-line); }
.qc-chipstrip span { flex: 1; background: var(--c); padding: 34px 10px 10px; display: flex; flex-direction: column; gap: 2px; font-size: .78rem; transition: flex-grow .35s var(--qc-ease); }
.qc-chipstrip span:hover { flex-grow: 1.6; }
.qc-chipstrip span:nth-child(-n+3) { color: #fff; }
.qc-chipstrip span:nth-child(1) { color: var(--qc-ink); }
.qc-chipstrip b { font-weight: 600; }

/* Free form */
.qc-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.qc-form legend, .qc-form label { font-weight: 600; font-size: .92rem; }
.qc-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.qc-chip { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; font-weight: 500 !important; font-size: .74rem !important; line-height: 1.2; }
.qc-chip input { position: absolute; opacity: 0; inset: 0; }
.qc-chip i { display: block; height: 38px; border-radius: 2px; border: 1px solid rgba(29, 27, 24, .12); transition: transform .2s var(--qc-ease), box-shadow .2s; }
.qc-chip:hover i { transform: translateY(-2px); }
.qc-chip input:checked + i { box-shadow: 0 0 0 2px var(--qc-paper), 0 0 0 4px var(--qc-ink); }
.qc-chip span { color: var(--qc-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-others { margin-top: 10px; font-size: .9rem; }
.qc-others summary { cursor: pointer; color: var(--qc-soft); text-decoration: underline; text-underline-offset: 3px; }
.qc-code { display: block; margin-top: 12px; }
.qc-code input, .qc-row select { display: block; width: 100%; margin-top: 6px; min-height: 46px; border: 1px solid var(--qc-line); border-radius: 2px; background: #fff; padding: 0 12px; font: 500 1rem var(--qc-text); color: var(--qc-ink); }
.qc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.qc-form .qc-note { text-align: center; }

/* Band */
.qc-band { background: var(--qc-ink); color: var(--qc-paper); }
.qc-band ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 26px; padding-bottom: 26px; margin: 0 auto; }
.qc-band li { display: flex; flex-direction: column; padding: 0 18px; border-left: 1px solid rgba(246, 244, 239, .2); }
.qc-band li:first-child { border-left: 0; padding-left: 0; }
.qc-band strong { font-family: var(--qc-display); font-weight: 500; font-size: 1.25rem; }
.qc-band span { color: #c9c3b6; font-size: .9rem; }

/* Sections */
.qc-intro { padding: 96px 24px 24px; max-width: 820px; }
.qc-intro h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; }
.qc-intro p:last-child { color: var(--qc-soft); font-size: 1.06rem; }
.qc-product { padding: 40px 0 88px; }
.qc-product.alt { background: #efebe3; padding-top: 88px; }
.qc-frame { position: relative; display: block; border: 1px solid var(--qc-line); background: var(--qc-card); padding: 10px; border-radius: 2px; }
.qc-frame img { display: block; width: 100%; height: auto; }
.qc-wide-shot { margin-bottom: 40px; }
.qc-product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.qc-product-grid.reverse .qc-copy { order: 0; }
.qc-copy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--qc-ink); padding-bottom: 12px; margin: 10px 0 16px; }
.qc-copy h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; }
.qc-price { font-family: var(--qc-mono); font-size: 1.05rem; white-space: nowrap; }
.qc-tag-line { font: 500 .74rem/1 var(--qc-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--qc-terra); }
.qc-list { list-style: none; padding: 0; margin: 0 0 18px; }
.qc-list li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--qc-line); position: relative; }
.qc-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 8px; background: linear-gradient(90deg, #9caf88 0 60%, #b29ec3 0 90%, #6c6078 0); }
.qc-quote { margin: 0; font-family: var(--qc-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; border-left: 1px solid var(--qc-ink); padding-left: 28px; }
.qc-quote .qc-note { display: block; font-family: var(--qc-text); margin-top: 14px; }
.qc-more { padding: 88px 0; }
.qc-more-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.qc-tile { border: 1px solid var(--qc-line); background: var(--qc-card); padding: 24px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; }
.qc-tile.warm { background: #ece4d8; }
.qc-tile-title { font-family: var(--qc-display); font-size: 1.6rem; font-weight: 500; }
.qc-tile-head { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--qc-display); font-size: 1.5rem; }
.qc-tile-head .qc-price { font-size: 1rem; }
.qc-tile p { margin: 0; color: var(--qc-soft); }
.qc-tile .qc-btn { align-self: flex-start; margin-top: auto; }
.qc-tile-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.qc-tile-strip img { width: 100%; height: auto; display: block; }

/* Swatch deck */
.qc-deck { padding: 88px 0; border-top: 1px solid var(--qc-line); }
.qc-deck-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.qc-deck h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.qc-arrow-link { font-family: var(--qc-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; text-underline-offset: 5px; }
.qc-deck-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.qc-deck-grid a { display: flex; flex-direction: column; text-decoration: none; background: var(--qc-card); border: 1px solid var(--qc-line); padding: 8px 8px 12px; border-radius: 2px; transition: transform .3s var(--qc-ease), box-shadow .3s var(--qc-ease); }
.qc-deck-grid a:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -20px rgba(29, 27, 24, .6); }
.qc-deck-chip { display: block; aspect-ratio: 4 / 3; background: var(--c); margin-bottom: 10px; }
.qc-deck-name { font-weight: 600; font-size: .92rem; }
.qc-deck-grid code { color: var(--qc-muted); font-size: .74rem; }
.qc-rooms { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.qc-rooms a { display: inline-block; padding: 10px 16px; border: 1px solid var(--qc-ink); border-radius: 999px; text-decoration: none; font-size: .92rem; transition: background-color .2s, color .2s; }
.qc-rooms a:hover { background: var(--qc-ink); color: var(--qc-paper); }

/* How, trust, FAQ */
.qc-how { padding: 88px 0; background: var(--qc-ink); color: var(--qc-paper); }
.qc-how h2, .qc-how h3 { color: var(--qc-paper); }
.qc-how h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 40px; }
.qc-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.qc-steps li { border-top: 1px solid rgba(246, 244, 239, .3); padding-top: 18px; }
.qc-step-n { font-family: var(--qc-mono); font-size: .8rem; color: #c9c3b6; letter-spacing: .1em; }
.qc-steps h3 { font-size: 1.6rem; margin: 8px 0; }
.qc-steps p { color: #d8d2c6; margin: 0; }
.qc-trust { padding: 88px 0 40px; }
.qc-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.qc-trust h2 { font-size: 1.8rem; margin-bottom: 10px; }
.qc-trust p { color: var(--qc-soft); }
.qc-guides { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.qc-guides a { display: inline-block; padding: 8px 14px; border: 1px solid var(--qc-line); border-radius: 999px; font-size: .88rem; text-decoration: none; background: var(--qc-card); }
.qc-faq { padding: 40px 0 96px; }
.qc-faq h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.qc-faq details { border-top: 1px solid var(--qc-line); padding: 18px 0; max-width: 860px; }
.qc-faq details:last-child { border-bottom: 1px solid var(--qc-line); }
.qc-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qc-faq summary::after { content: "+"; font-family: var(--qc-mono); transition: transform .25s var(--qc-ease); }
.qc-faq details[open] summary::after { transform: rotate(45deg); }
.qc-faq p { color: var(--qc-soft); margin: 12px 0 0; }

/* The drawn room and the palettes (free result, public pages) */
.qc-room { margin: 18px 0 0; border: 1px solid var(--qc-line); background: var(--qc-card); padding: 8px; border-radius: 2px; }
.qc-room svg { display: block; width: 100%; height: auto; }
.qc-room svg * { transition: fill .5s var(--qc-ease), stroke .5s var(--qc-ease); }
.qc-room figcaption { font-size: .82rem; color: var(--qc-muted); margin-top: 6px; }
.qc-palettes { display: grid; gap: 10px; margin-top: 18px; }
.qc-palette { border: 1px solid var(--qc-line); background: var(--qc-card); border-radius: 2px; transition: border-color .25s; }
.qc-palette.is-on { border-color: var(--qc-ink); }
.qc-palette-head { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 120px 1fr; grid-template-rows: auto auto; column-gap: 14px; width: 100%; padding: 12px; cursor: pointer; }
.qc-palette-head .qc-bar { grid-row: span 2; display: flex; height: 44px; overflow: hidden; }
.qc-bar i { display: block; transition: flex-grow .35s var(--qc-ease); }
.qc-palette-head:hover .qc-bar i:hover { flex-grow: 80 !important; }
.qc-palette-name { font-family: var(--qc-display); font-size: 1.2rem; font-weight: 500; }
.qc-palette-head .qc-note { margin: 0; font-size: .82rem; }
.qc-swatches-row { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.qc-swatches-row li { display: flex; flex-direction: column; font-size: .76rem; line-height: 1.3; }
.qc-swatch-chip { display: block; height: 46px; background: var(--c); color: var(--i); padding: 6px; font-family: var(--qc-mono); border: 1px solid rgba(29, 27, 24, .1); }
.qc-swatch-role { font-weight: 600; margin-top: 6px; }
.qc-swatch-name { color: var(--qc-muted); }

/* Free result */
.qc-result-zone { padding-top: 40px; padding-bottom: 40px; }
.qc-res { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: start; }
.qc-res-head { display: flex; gap: 16px; align-items: center; }
.qc-res-chip { flex: none; width: 92px; height: 92px; display: flex; align-items: flex-end; padding: 8px; font: 500 .74rem var(--qc-mono); border: 1px solid rgba(29, 27, 24, .12); }
.qc-res-title { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.qc-h3 { font-size: 1.5rem; margin-top: 26px !important; }
.qc-tips { padding-left: 18px; color: var(--qc-soft); }
.qc-tips li { margin: 6px 0; }
.qc-res-offer { position: sticky; top: 20px; background: var(--qc-card); border: 1px solid var(--qc-ink); padding: 22px; border-radius: 2px; }
.qc-res-offer h2 { font-size: 1.7rem; line-height: 1.1; margin-bottom: 14px; }
.qc-compare { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .88rem; }
.qc-compare th, .qc-compare td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--qc-line); vertical-align: top; }
.qc-compare th { font-family: var(--qc-mono); font-weight: 500; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.qc-compare .full { font-weight: 600; }
.qc-facts { list-style: none; padding: 0; margin: 14px 0; font-size: .84rem; color: var(--qc-muted); display: grid; gap: 4px; }
.qc-facts li::before { content: "· "; }
.qc-small { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0 0; border-top: 1px solid var(--qc-line); text-decoration: none; }
.qc-small img { width: 64px; height: 64px; object-fit: cover; }
.qc-hint { font-size: .92rem; background: #efebe3; padding: 10px 12px; border-left: 2px solid var(--qc-sage); }

/* Public pages */
.qc-guide-top { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: stretch; margin: 18px 0 8px; }
.qc-guide-top .qc-room { margin: 0; }
.qc-guide-chip { display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; font-family: var(--qc-display); font-size: 1.3rem; border: 1px solid rgba(29, 27, 24, .12); min-height: 160px; }
.qc-guide-chip code { font-size: .8rem; margin-top: 4px; }
.qc-guide .qc-deck-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; }
.qc-teaser .teaser-thumb { border-radius: 2px; }

/* Reveal on scroll: only when the script runs (html.qc-js), so everything shows without it. */
.qc-js .qc-reveal { opacity: 0; transform: translateY(16px); transition: opacity .42s var(--qc-ease), transform .42s var(--qc-ease); }
.qc-js .qc-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .qc-hero-grid, .qc-product-grid, .qc-res, .qc-more-grid, .qc-trust-grid { grid-template-columns: 1fr; gap: 32px; }
  .qc-hero-show { position: static; }
  .qc-res-offer { position: static; }
  .qc-deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qc-steps { grid-template-columns: 1fr; gap: 24px; }
  .qc-band ul { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .qc-band li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .qc-wrap { padding: 0 16px; }
  .qc-hero { padding: 22px 0 40px; }
  .qc-hero h1 { font-size: 2.45rem; }
  .qc-lead { font-size: 1rem; margin: 10px 0 14px; }
  .qc-kicker { margin-bottom: 8px; font-size: .68rem; }
  .qc-card { padding: 14px; }
  .qc-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .qc-chip i { height: 30px; }
  .qc-chip span { font-size: .66rem; }
  .qc-row { gap: 8px; margin-bottom: 12px; }
  .qc-intro { padding: 64px 16px 12px; }
  .qc-product, .qc-more, .qc-deck, .qc-how, .qc-trust { padding-top: 56px; padding-bottom: 56px; }
  .qc-product.alt { padding-top: 56px; }
  .qc-deck-grid, .qc-guide .qc-deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-palette-head { grid-template-columns: 84px 1fr; }
  .qc-swatches-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qc-guide-top { grid-template-columns: 1fr; }
  .qc-guide-chip { min-height: 90px; }
  .qc-copy-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .qc *, .qc *::before, .qc *::after { transition: none !important; animation: none !important; }
  .qc-js .qc-reveal { opacity: 1; transform: none; }
}
.qc a.qc-btn { color: #fff; text-decoration: none; }
.qc a.qc-btn.ghost { color: var(--qc-ink); }
.qc a.qc-btn.ghost:hover { color: var(--qc-paper); }
.qc a.btn, .cta-box a.btn { color: #fff; }

/* Review of 31/10: flat buttons, mono only for codes, wider header, bigger hero, offer page. */
.qc-btn, .btn, .qc a.qc-btn, .qc a.btn, .cta-box a.btn { background: var(--qc-sage-deep); color: #fff; border-radius: 2px; box-shadow: none; filter: none; }
.qc-btn:hover, .btn:hover { background: #26381f; filter: none; }
.qc-btn.ghost, .qc a.qc-btn.ghost { background: transparent; color: var(--qc-ink); }
.qc-btn.ghost:hover, .qc a.qc-btn.ghost:hover { background: var(--qc-ink); color: var(--qc-paper); }
.btn.secondary { background: transparent; color: var(--qc-ink); border: 1px solid var(--qc-ink); }
.qc-kicker, .qc-label, .qc-tag, .qc-tag-line, .qc-arrow-link, .qc-step-n, .qc-compare th, .qc-price, .qc-swatch-chip {
  font-family: var(--qc-text); font-weight: 600; letter-spacing: .06em;
}
.qc-price { letter-spacing: 0; font-size: 1.1rem; }
.qc-swatch-chip { letter-spacing: 0; }
body:has(.qc-home) .topbar { max-width: 1200px; padding: 14px 24px; }
.qc-intro { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.qc-intro h2 { margin-bottom: 18px !important; max-width: 16em; }
.qc-intro p:last-child { max-width: 46em; }
.qc-copy p { margin-top: 0; }
/* Hero: the repainted room large, the room before as an inset. */
.qc-pair { display: block; position: relative; padding-bottom: 34px; }
.qc-pair .qc-after { width: 100%; }
.qc-pair .qc-before { position: absolute; left: -28px; bottom: 0; width: 40%; border: 6px solid var(--qc-paper); box-shadow: 0 18px 40px -24px rgba(29, 27, 24, .6); z-index: 2; }
.qc-mini { display: none; }
/* Three versions: one large, two thumbnails, the 60, 30, 10 strip under each. */
.qc-trio { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 40px; }
.qc-trio-side { display: grid; gap: 14px; align-content: start; }
.qc-trio figure { margin: 0; }
.qc-trio a { display: block; position: relative; }
.qc-trio img { display: block; width: 100%; height: auto; }
.qc-strip { display: flex; height: 14px; margin-top: 6px; }
.qc-strip i { display: block; }
.qc-trio figcaption { font-size: .84rem; color: var(--qc-muted); margin-top: 6px; }
.qc-trio figcaption code { color: var(--qc-ink); }
/* Offer page (common template, only on this site). */
.badge { background: transparent; color: var(--qc-sage-deep); border: 1px solid var(--qc-sage-deep); border-radius: 2px; text-transform: none; letter-spacing: .02em; font-weight: 600; font-size: .8rem; padding: 3px 8px; }
ul.bullets { list-style: none; padding: 0; }
ul.bullets li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--qc-line); position: relative; }
ul.bullets li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 1px; background: var(--qc-ink); }
input[type="file"] { display: block; width: 100%; padding: 26px 16px; border: 1px dashed var(--qc-soft); border-radius: 2px; background: var(--qc-card); font: 500 .95rem var(--qc-text); color: var(--qc-soft); cursor: pointer; }
input[type="file"]:hover { border-color: var(--qc-ink); background: #fff; }
input[type="file"]::file-selector-button { margin-right: 14px; padding: 10px 16px; border: 0; border-radius: 2px; background: var(--qc-sage-deep); color: #fff; font: 600 .95rem var(--qc-text); cursor: pointer; }
@media (max-width: 900px) {
  .qc-pair .qc-before { left: 10px; }
  .qc-trio { grid-template-columns: 1fr; }
  .qc-trio-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body:has(.qc-home) .topbar { padding: 10px 16px; }
  .qc-hero { padding-top: 12px; }
  .qc-hero .qc-kicker { display: none; }
  .qc-hero h1 { font-size: 2.2rem; }
  .qc-lead { font-size: .95rem; line-height: 1.45; margin: 8px 0 10px; }
  .qc-mini { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
  .qc-mini img { width: 112px; height: 112px; display: block; }
  .qc-mini span { font-size: .78rem; color: var(--qc-soft); line-height: 1.3; }
  .qc-chips { gap: 3px 4px; margin-top: 6px; }
  .qc-chip { gap: 2px; }
  .qc-chip i { height: 22px; }
  .qc-chip span { font-size: .62rem; }
  .qc-form fieldset { margin-bottom: 8px; }
  .qc-others { margin-top: 6px; font-size: .85rem; }
  .qc-row { margin-bottom: 10px; }
  .qc-code input, .qc-row select { min-height: 42px; }
  .qc-btn { min-height: 48px; }
  .qc-form .qc-note { margin-top: 6px; font-size: .78rem; }
  .qc-skip { margin-top: 10px; font-size: .9rem; }
}
@media (max-width: 560px) {
  .qc-desk { display: none; }
  .qc-mini img { width: 96px; height: 96px; }
  .qc-card { padding: 12px; }
  .qc-form legend { margin-bottom: 0; }
  .qc-chip span { line-height: 1.1; }
}
.qc-chip { margin: 0 !important; }
@media (max-width: 560px) { .qc-chip { font-size: .62rem !important; } }

/* Second review: copy a code, swatches that slide in, wider offer and public pages. */
.qc-copy { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; cursor: copy; position: relative; }
.qc-copy:focus-visible { outline: 2px solid var(--qc-terra); outline-offset: 2px; }
.qc-copy .qc-swatch-chip { transition: transform .25s var(--qc-ease); }
.qc-copy:hover .qc-swatch-chip { transform: translateY(-3px); }
.qc-copy::after { content: "Copié"; position: absolute; top: 12px; right: 6px; font: 600 .7rem var(--qc-text); background: var(--qc-ink); color: var(--qc-paper); padding: 3px 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.qc-copy.is-copied::after { opacity: 1; transform: none; }
@keyframes qc-slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.qc-swatches-row.is-sliding li { animation: qc-slide .42s var(--qc-ease) both; animation-delay: calc(var(--d, 0) * 60ms); }
/* Swatch picker: a ring around the chip, the name below with air. */
.qc-chip input:checked + i { box-shadow: none; outline: 2px solid var(--qc-ink); outline-offset: 2px; }
.qc-chip { gap: 6px; padding-bottom: 2px; }
/* Native menus dressed. */
.qc select, .wrap select { -webkit-appearance: none; appearance: none; border: 1px solid var(--qc-line); border-radius: 2px; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1b18' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.wrap input[type="text"], .wrap input[type="email"] { border: 1px solid var(--qc-line); border-radius: 2px; }
.qc-rooms a, .qc-guides a { border-radius: 2px; }
/* Public pages wider, palettes in two columns. */
.wrap.guide { max-width: 960px; }
@media (min-width: 900px) {
  .qc-guide .qc-palettes { grid-template-columns: 1fr 1fr; }
  .qc-res .qc-palettes { grid-template-columns: 1fr; }
}
/* Offer page: example and list on the left, the form on the right. */
@media (min-width: 1024px) {
  .wrap:has(> form.card) { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 32px; align-items: start; }
  .wrap:has(> form.card) > * { grid-column: 1; }
  .wrap:has(> form.card) > form.card { grid-column: 2; grid-row: 1 / span 8; position: sticky; top: 20px; }
}
@media (max-width: 560px) {
  .qc-chips { gap: 8px 6px; }
  .qc-chip span { font-size: .72rem !important; }
  .qc-chip i { height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .qc-swatches-row.is-sliding li { animation: none; }
}
.qc-trio-teaser { margin-bottom: 0; gap: 10px; }
.qc-trio-teaser .qc-trio-side { gap: 10px; }
.qc-trio-teaser figcaption { font-size: .82rem; }
.qc-trio-teaser .teaser-thumb { width: 100%; height: auto; max-width: none; }
body:has(.wrap.guide) .topbar { max-width: 960px; }
@media (min-width: 1024px) { body:has(form.card) .topbar { max-width: 1200px; } }

/* Third review: phone hero photo, one-column band, first-screen movement, rooms, swatch deck. */
.qc-chipstrip span { animation: qc-slide .5s var(--qc-ease) both; animation-delay: calc(200ms + var(--d, 0) * 60ms); }
.qc-pair .qc-before { transition: transform .45s var(--qc-ease); transform-origin: bottom left; }
.qc-pair:hover .qc-before, .qc-pair:focus-within .qc-before, .qc-pair:active .qc-before { transform: scale(1.55); }
.qc-rooms a { border: 1px solid var(--qc-line); background: var(--qc-card); padding: 12px 16px 12px 40px; position: relative; font-weight: 600; }
.qc-rooms a::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: linear-gradient(90deg, #9caf88 0 60%, #c96a4a 0 90%, #145f6e 0); }
.qc-rooms a:hover { background: var(--qc-ink); color: var(--qc-paper); border-color: var(--qc-ink); }
@media (max-width: 560px) {
  .qc-mini { display: block; position: relative; height: 200px; margin: 0 0 12px; overflow: hidden; }
  .qc-mini .qc-mini-after { width: 100%; height: 200px; object-fit: cover; object-position: center 55%; }
  .qc-mini .qc-mini-before { position: absolute; left: 8px; bottom: 8px; width: 84px; height: 84px; object-fit: cover; border: 3px solid var(--qc-paper); }
  .qc-mini .qc-label { left: auto; right: 8px; bottom: 8px; }
  .qc-mini .qc-tag { top: 8px; right: 8px; }
  .qc-lead { margin-bottom: 8px; }
  .qc-deck-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .qc-deck-grid a { padding: 5px 5px 8px; }
  .qc-deck-chip { aspect-ratio: 3 / 2; margin-bottom: 6px; }
  .qc-deck-name { font-size: .78rem; }
  .qc-deck-grid code { font-size: .66rem; }
  .qc-rooms { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .qc-band ul { grid-template-columns: 1fr; row-gap: 12px; padding-top: 22px; padding-bottom: 22px; }
  .qc-band li { border-left: 0; padding: 0 0 12px; border-bottom: 1px solid rgba(246, 244, 239, .2); line-height: 1.25; }
  .qc-band li:last-child { border-bottom: 0; padding-bottom: 0; }
  .qc-band strong { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .qc-chipstrip span { animation: none; }
  .qc-pair .qc-before { transition: none; }
}
.qc-mini .qc-tag, .qc-mini .qc-label { z-index: 2; }
@media (max-width: 560px) { .qc-hero-show .qc-pair { display: none; } .qc-hero-show { margin-top: 8px; } }

/* Fourth review: a 1 px rule round every swatch (pale ones vanished), compact tile. */
.qc-swatch-chip, .qc-chipstrip span, .qc-res-chip, .qc-guide-chip, .qc-deck-chip { border: 0; box-shadow: inset 0 0 0 1px rgba(29, 27, 24, .2); }
.qc-chipstrip { border: 0; }
.qc-more-grid { align-items: start; }
.qc-tile .qc-btn { margin-top: 6px; }
