/* ==========================================================================
   Quallience – Réalisations  (design system : section 21)
   S'appuie sur les jetons du design system v1.11 (--q-accent, --q-accent-dark)
   avec des valeurs de repli. Polices du site : Montserrat (titres), Nunito (texte).
   ========================================================================== */

.qr {
	--qr-accent: var(--q-accent, #0F8ACF);
	--qr-accent-dark: var(--q-accent-dark, #0B72AD);
	--qr-navy: var(--q-navy, #0B1124);
	--qr-navy-2: #1C2D55;
	--qr-ink: #0E1A26;
	--qr-muted: #5A6875;
	--qr-line: #E2E6EA;
	--qr-bg: #F5F7F9;
	--qr-head: "Montserrat", var(--e-global-typography-primary-font-family, sans-serif), sans-serif;
	--qr-text: "Nunito", var(--e-global-typography-text-font-family, sans-serif), sans-serif;
	--qr-gutter: clamp(16px, 3vw, 40px);
	font-family: var(--qr-text);
	color: var(--qr-ink);
	line-height: 1.5;
	box-sizing: border-box;
}
.qr *, .qr *::before, .qr *::after { box-sizing: inherit; }
.qr h2, .qr h3 { font-family: var(--qr-head); color: inherit; letter-spacing: -.01em; text-transform: none; }
.qr img { max-width: 100%; height: auto; display: block; }
.qr button { font: inherit; color: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; border-radius: 0; min-height: 0; line-height: inherit; }
.qr a:focus-visible, .qr button:focus-visible, .qr select:focus-visible, .qr [tabindex]:focus-visible { outline: 2px solid var(--qr-accent); outline-offset: 2px; }
.qr .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.qr-eyebrow {
	margin: 0;
	font: 600 12px/1.3 var(--qr-head);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--qr-accent);
}

/* ---------- Page Réalisations : bandeau sombre ---------- */
.qr-index .qr-dark { background: var(--qr-navy); color: #fff; }
.qr-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(40px, 5vw, 64px) var(--qr-gutter);
}
.qr-hero__title {
	margin: 14px 0 20px !important;
	font-size: clamp(34px, 4.4vw, 60px) !important;
	line-height: 1.02 !important;
	font-weight: 700 !important;
	color: #fff !important;
}
.qr-hero__lead { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.78); }
.qr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px 0 0; }
.qr-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.qr-stats dd { margin: 0; font: 700 clamp(40px, 4.5vw, 58px)/1 var(--qr-head); color: var(--qr-accent); font-variant-numeric: tabular-nums; }
.qr-stats dt { font-size: 15px; color: rgba(255,255,255,.72); }

/* Carte */
.qr-map {
	position: relative;
	height: clamp(380px, 42vw, 580px);
	background: var(--qr-navy-2);
	border: 1px solid rgba(255,255,255,.14);
	background-image: radial-gradient(ellipse at 40% 35%, rgba(255,255,255,.08), transparent 70%);
	overflow: hidden;
}
.qr-map > svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.qr-map > svg:active { cursor: grabbing; }
.qr-map .dep { transition: fill .2s, fill-opacity .2s; }
.qr-map .dep.act { cursor: pointer; }
.qr-map .dep.act:hover { fill: rgba(15,138,207,.8); }
.qr-map .pin { cursor: pointer; outline: none; }
.qr-map .pin:focus-visible { stroke: #fff; }
.qr-map__ctl { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,.14); z-index: 2; }
.qr-map__ctl button {
	width: 36px; height: 36px; padding: 0; border: 0; background: var(--qr-navy); color: #fff;
	font: 500 18px/1 var(--qr-head); cursor: pointer; display: grid; place-items: center;
}
.qr-map__ctl svg { width: 14px; height: 14px; }
.qr-map__ctl button:hover { background: #1B2747; color: #fff; }
.qr-map__tip {
	position: absolute; z-index: 3; pointer-events: none; display: none;
	background: #fff; color: var(--qr-ink); padding: 8px 12px; white-space: nowrap;
	font: 600 14px/1.3 var(--qr-head); transform: translate(-50%, calc(-100% - 14px));
	box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.qr-map__tip small { display: block; margin-top: 2px; font: 400 12px/1.3 var(--qr-text); color: var(--qr-muted); }
.qr-map__hint { position: absolute; left: 14px; bottom: 10px; margin: 0; font: 600 10.5px/1.3 var(--qr-head); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); pointer-events: none; }

/* Onglets de régions */
.qr-regions { display: flex; width: calc(100% - 2 * var(--qr-gutter)); max-width: calc(1440px - 2 * var(--qr-gutter)); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.12); }
.qr-index .qr-regions button {
	flex: 1; margin: 0; padding: 18px 20px; border: 0; border-right: 1px solid rgba(255,255,255,.12);
	background: transparent; color: #fff; text-align: left; cursor: pointer;
	font: 600 16px/1.25 var(--qr-head);
	transition: background .15s;
}
.qr-index .qr-regions button:last-child { border-right: 0; }
.qr-index .qr-regions button:hover { background: rgba(255,255,255,.06); }
.qr-index .qr-regions button small { display: block; margin-top: 4px; font: 400 13px/1.2 var(--qr-text); opacity: .65; }
.qr-index .qr-regions button[aria-pressed="true"] { background: var(--qr-accent); color: #fff; }
.qr-index .qr-regions button[aria-pressed="true"] small { opacity: .9; }

/* ---------- Outils ---------- */
.qr-body { max-width: 1440px; margin: 0 auto; padding: 0 var(--qr-gutter); }
.qr-tools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--qr-line); }
.qr-views { display: flex; gap: 28px; margin-right: auto; }
.qr-index .qr-views button {
	margin: 0; padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
	font: 600 17px/1.3 var(--qr-head); color: var(--qr-muted);
}
.qr-index .qr-views button:hover { color: var(--qr-ink); }
.qr-index .qr-views button[aria-pressed="true"] { color: var(--qr-ink); border-bottom-color: var(--qr-accent); }
.qr .qr-select select {
	appearance: none !important; -webkit-appearance: none !important; margin: 0 !important; min-width: 220px; width: auto; height: 44px !important;
	padding: 0 40px 0 14px !important; border: 1px solid var(--qr-line) !important; border-radius: 0 !important; box-shadow: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E1A26' stroke-width='1.6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 14px center !important; background-size: 12px 8px !important;
	font: 500 15px/42px var(--qr-text) !important; color: var(--qr-ink) !important; cursor: pointer;
}
.qr .qr-select select:hover { border-color: #C4CCD3; }
.qr-index .qr-chip {
	display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px; border: 0;
	background: var(--qr-ink); color: #fff; cursor: pointer; font: 600 14px/1 var(--qr-head);
}
.qr-index .qr-chip[hidden] { display: none; }
.qr-index .qr-chip:hover { background: var(--qr-accent-dark); color: #fff; }
.qr-count { margin: 18px 0 0; font-size: 14px; color: var(--qr-muted); min-height: 1.5em; }

/* ---------- Vue grille ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 40px 28px; padding: 24px 0 88px; }
.qr-card { margin: 0; }
.qr-card__link { display: block; color: inherit !important; text-decoration: none !important; }
.qr-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--qr-bg); overflow: hidden; }
.qr-card__img img.qr-card__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qr-card__link:hover .qr-card__photo { transform: scale(1.04); }
.qr-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; padding: 18% 25%; background: var(--qr-bg); }
.qr-card__noimg img { max-height: 100%; width: auto; object-fit: contain; }
.qr-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.qr .qr-card__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; line-height: 1.25; font-weight: 600; }
.qr .qr-ico { flex: none; width: 28px; height: 28px; object-fit: contain; display: inline-block; }
.qr-tname { display: inline-flex; align-items: center; gap: 10px; }
.qr .qr-tname .qr-ico { width: 24px; height: 24px; }
.qr .qr-modal__title { display: flex; align-items: center; gap: 12px; }
.qr .qr-modal__title .qr-ico { width: 40px; height: 40px; }
.qr-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; justify-content: center; height: 64px; min-width: 64px; max-width: 128px; padding: 7px 9px; background: #fff; box-shadow: 0 4px 14px rgba(11,17,36,.18); }
.qr .qr-badge img { width: auto; height: 100%; max-width: 110px; object-fit: contain; }
.qr-card__name > span { color: var(--qr-muted); font-weight: 500; }
.qr-card__link:hover .qr-card__title { color: var(--qr-accent-dark); }
.qr-card__n { display: flex; flex-direction: column; align-items: flex-end; font: 700 22px/1 var(--qr-head); white-space: nowrap; font-variant-numeric: tabular-nums; }
.qr-card__n small { margin-top: 3px; font: 400 12px/1.2 var(--qr-text); color: var(--qr-muted); }
.qr-card__n--txt small { margin: 0; font-size: 13px; }
.qr-card__meta { margin: 6px 0 0; font-size: 14px; color: var(--qr-muted); }
.qr-card.is-hot .qr-card__title { color: var(--qr-accent-dark); }

/* ---------- Vue collectivités ---------- */
.qr-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(50%, 180px), 1fr)); gap: 1px; margin: 24px 0 88px; background: var(--qr-line); border: 1px solid var(--qr-line); }
.qr-logos a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; aspect-ratio: 1; padding: 22% 14% 14px; background: #fff; color: inherit !important; text-decoration: none !important; }
.qr-logos img { flex: 1; min-height: 0; width: 100%; object-fit: contain; transition: transform .25s; }
.qr-logos a:hover img { transform: scale(1.05); }
.qr-logos span { font: 600 14px/1.25 var(--qr-head); text-align: center; }
.qr-logos a:hover span { color: var(--qr-accent-dark); }

/* ---------- Vue liste ---------- */
.qr-table-wrap { overflow-x: auto; margin: 16px 0 88px; }
.qr .qr-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 16px; }
.qr .qr-table th, .qr .qr-table td { border: 0; border-bottom: 1px solid var(--qr-line); background: none; padding: 16px 10px; text-align: left; vertical-align: middle; }
.qr .qr-table th { padding: 0; border-bottom: 1px solid var(--qr-ink); white-space: nowrap; }
.qr .qr-table th button { width: 100%; padding: 12px 10px; border: 0; background: none; cursor: pointer; text-align: inherit; font: 600 11.5px/1.2 var(--qr-head); letter-spacing: .08em; text-transform: uppercase; color: var(--qr-muted); }
.qr .qr-table th button:hover { color: var(--qr-ink); }
.qr .qr-table th[aria-sort] button { color: var(--qr-ink); }
.qr .qr-table td a { color: inherit; font-weight: 700; text-decoration: none; }
.qr .qr-table tr:hover td { background: var(--qr-bg); }
.qr .qr-table tr:hover td a { color: var(--qr-accent-dark); }
.qr .qr-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.qr .qr-table th.num button { text-align: right; }
.qr-empty { padding: 40px 0 88px; color: var(--qr-muted); }

/* ---------- Fenêtre de détail ---------- */
.qr-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8,14,30,.6); }
.qr-modal[hidden] { display: none; }
.qr-modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 820px; max-height: calc(100vh - 48px); overflow: auto; background: #fff; color: var(--qr-ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.qr-modal__media { position: relative; min-height: 320px; background: var(--qr-bg); }
.qr-modal__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qr-modal__media .qr-card__noimg img { position: static; }
.qr-modal__body { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.qr .qr-modal__title { margin: 6px 0 0; font-size: 28px; line-height: 1.15; font-weight: 700; }
.qr-modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; padding: 0; border: 0 !important; background: rgba(255,255,255,.92) !important; color: var(--qr-ink) !important; font-size: 26px !important; line-height: 1 !important; cursor: pointer; }
.qr-modal__close:hover { background: var(--qr-bg) !important; }
.qr-modal .qr-figs { grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--qr-line); }
.qr-modal .qr-figs div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--qr-line); }
.qr-modal .qr-figs dd { font-size: 17px; }
.qr-modal__tags { margin: 0; font-size: 15px; color: var(--qr-muted); }
.qr-modal .qr-btn { margin-top: auto; justify-content: center; }
body.qr-noscroll { overflow: hidden; }

/* ---------- Boutons ---------- */
.qr .qr-btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 15px 24px; border: 0; border-radius: 0;
	background: var(--qr-accent); color: #fff !important; text-decoration: none !important;
	font: 600 15px/1.2 var(--qr-head); letter-spacing: .01em; transition: background .15s;
}
.qr .qr-btn:hover { background: var(--qr-accent-dark); color: #fff !important; }

/* ---------- Étude de cas ---------- */
.qr-etude { max-width: 1200px; margin: 0 auto; padding: clamp(32px, 4vw, 56px) var(--qr-gutter) 0; }
.qr-etude__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.qr-etude__blason { flex: none; width: auto; max-width: min(140px, 32%); max-height: 72px; object-fit: contain; }
.qr-etude__photo { margin: 0; aspect-ratio: 21 / 9; background: var(--qr-bg); overflow: hidden; }
.qr-etude__photo img { width: 100%; height: 100%; object-fit: cover; }
.qr-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--qr-ink); }
.qr-figs div { padding: 22px 24px 26px 0; }
.qr-figs dt { font: 600 11.5px/1.3 var(--qr-head); letter-spacing: .1em; text-transform: uppercase; color: var(--qr-muted); }
.qr-figs dd { margin: 8px 0 0; font: 700 clamp(20px, 2.2vw, 30px)/1.15 var(--qr-head); }
.qr-etude__body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--qr-line); }
.qr-etude__body--solo { grid-template-columns: 1fr; }
.qr-toc { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.qr-toc .qr-eyebrow { color: var(--qr-muted); margin-bottom: 6px; }
.qr-toc a { color: var(--qr-muted) !important; text-decoration: none !important; border-left: 2px solid var(--qr-line); padding: 2px 0 2px 12px; }
.qr-toc a:hover, .qr-toc a.is-on { color: var(--qr-ink) !important; border-left-color: var(--qr-accent); }
.qr-sec { max-width: 720px; margin: 0 0 56px; scroll-margin-top: 120px; }
.qr-sec:last-child { margin-bottom: 0; }
.qr-sec--wide { max-width: none; }
.qr .qr-sec h2 { margin: 0 0 16px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; }
.qr-rich { font-size: 17px; line-height: 1.7; }
.qr-rich p { margin: 0 0 1em; }
.qr-todo { padding: 18px 20px; border: 1px dashed #C4CCD3; background: var(--qr-bg); color: var(--qr-muted); font-size: 16px; line-height: 1.6; }
.qr-todo b { color: var(--qr-ink); }
.qr-todo small { font-size: 13px; }
.qr-todo a { color: var(--qr-accent-dark); }
.qr .qr-chk { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.qr .qr-chk li { display: flex; gap: 12px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--qr-line); font-size: 17px; }
.qr .qr-chk li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--qr-accent); }
.qr .qr-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.qr .qr-tags li { margin: 0; padding: 10px 18px; border: 1px solid var(--qr-line); font: 600 15px/1 var(--qr-head); }
.qr-galerie { padding: 0 0 clamp(48px, 6vw, 72px); }
.qr .qr-galerie h2 { margin: 8px 0 28px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; }
.qr-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); grid-auto-flow: dense; gap: 12px; }
.qr-gal__item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--qr-bg); cursor: zoom-in; }
.qr-gal__item:first-child:not(:only-child):not(:nth-last-child(2)) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.qr-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.qr-gal__item:hover img { transform: scale(1.04); }
.qr-lb { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; background: rgba(6,10,22,.92); }
.qr-lb[hidden] { display: none; }
.qr-lb img { max-width: calc(100vw - 140px); max-height: calc(100vh - 100px); width: auto; height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.qr-lb button { position: absolute; width: 48px; height: 48px; padding: 0; border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.12) !important; color: #fff !important; font-size: 26px !important; line-height: 1 !important; cursor: pointer; }
.qr-lb button:hover { background: rgba(255,255,255,.25) !important; }
.qr-lb__close { top: 18px; right: 18px; }
.qr-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.qr-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.qr-lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font: 600 13px var(--qr-head); letter-spacing: .08em; }
.qr-quote { margin: 0; padding: clamp(28px, 4vw, 40px); background: var(--qr-navy); color: #fff; border: 0; }
.qr-quote p { margin: 0; font: 500 clamp(20px, 2.2vw, 26px)/1.4 var(--qr-head); color: #fff; }
.qr-quote footer { margin-top: 20px; font: 600 12px/1.3 var(--qr-head); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* Mini-carte */
.qr-mini { height: 340px; background: var(--qr-bg); }
.qr-mini svg { display: block; width: 100%; height: 100%; }
.qr-mini a text { transition: fill .15s; }
.qr-mini a:hover text { fill: var(--qr-accent-dark); text-decoration: underline; }

/* À proximité / précédent-suivant / CTA */
.qr-near { padding-bottom: 16px; }
.qr .qr-near h2 { margin: 8px 0 28px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 700; }
.qr-near__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.qr-near__item { display: block; color: var(--qr-ink) !important; text-decoration: none !important; }
.qr-near__item .qr-card__img { aspect-ratio: 4 / 3; }
.qr-near__item img.qr-card__photo { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.qr-near__item:hover img.qr-card__photo { transform: scale(1.04); }
.qr-near__item b { display: block; margin-top: 12px; font: 600 19px/1.3 var(--qr-head); }
.qr-near__item:hover b { color: var(--qr-accent-dark); }
.qr-near__item > span:last-child { font-size: 14px; color: var(--qr-muted); }
.qr-pn { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding: 28px 0; border-top: 1px solid var(--qr-line); }
.qr-pn a { color: var(--qr-ink) !important; text-decoration: none !important; font: 600 18px/1.3 var(--qr-head); }
.qr-pn a:hover { color: var(--qr-accent-dark) !important; }
.qr-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin: 24px calc(-1 * var(--qr-gutter)) 0; padding: clamp(40px, 5vw, 64px) var(--qr-gutter); background: var(--qr-bg); }
.qr-cta__title { margin: 0; max-width: 640px; font: 700 clamp(26px, 3vw, 36px)/1.15 var(--qr-head); color: var(--qr-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.qr-hero { grid-template-columns: 1fr; }
	.qr-stats { margin-top: 28px; }
	.qr-regions { flex-wrap: wrap; }
	.qr-index .qr-regions button { flex: 1 1 33%; border-bottom: 1px solid rgba(255,255,255,.12); }
	.qr-etude__body { grid-template-columns: 1fr; }
	.qr-toc { display: none; }
}
@media (max-width: 767px) {
	.qr-badge { height: 56px; min-width: 56px; padding: 6px 8px; }
	.qr-regions { width: 100%; }
	.qr-index .qr-regions button { flex: 1 1 50%; padding: 14px 16px; font-size: 15px; }
	.qr-tools { gap: 14px; }
	.qr-views { width: 100%; gap: 22px; }
	.qr-select, .qr .qr-select select { width: 100%; }
	.qr-map__hint { display: none; }
	.qr-figs { grid-template-columns: 1fr 1fr; }
	.qr-figs div { padding: 16px 12px 18px 0; border-bottom: 1px solid var(--qr-line); }
	.qr .qr-chk { grid-template-columns: 1fr; }
	.qr-gal { grid-template-columns: 1fr 1fr; gap: 8px; }
	.qr-gal__item:first-child:not(:only-child):not(:nth-last-child(2)) { grid-row: auto; aspect-ratio: 16 / 10; }
	.qr-lb img { max-width: 100vw; max-height: calc(100vh - 140px); }
	.qr-lb__prev, .qr-lb__next { top: auto; bottom: 14px; transform: none; }
	.qr-near__grid { grid-template-columns: 1fr; }
	.qr-etude__photo { aspect-ratio: 4 / 3; }
	.qr-modal { padding: 0; align-items: flex-end; }
	.qr-modal__box { grid-template-columns: 1fr; max-height: 92vh; }
	.qr-modal__media { min-height: 200px; aspect-ratio: 16 / 9; }
	.qr-modal__body { padding: 24px 20px; }
	.qr .qr-table { font-size: 14px; }
	.qr .qr-table .hide-s { display: none; }
	.qr-mini { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
	.qr *, .qr *::before { transition: none !important; }
}

/* ---------- Thème Blackcats : page d'un projet ---------- */
body.single-projet .blog-details-content .news-block-one,
body.single-projet .blog-details-content .post-share-option,
body.single-projet .blog-details-content .upper-block > figure.image-box,
body.single-projet .comments-area,
body.single-projet #comments { display: none !important; }
body.single-projet .blog-details-content .qr-etude { padding-left: 0; padding-right: 0; }
