/* Decouvrir le Quebec : liste, fiche, carte (2026-11) */
.dq-hero, .dq-place-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff;
    background: #071224 var(--dq-hero-image, none) center / cover no-repeat;
}
.dq-hero::before, .dq-place-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(7, 18, 36, .92) 0%, rgba(7, 18, 36, .72) 50%, rgba(7, 18, 36, .35) 100%);
}
.dq-hero-inner, .dq-place-hero-inner { max-width: 80rem; margin: 0 auto; padding: 72px 24px 64px; }
.dq-place-hero-inner { padding: 56px 24px 48px; }
.dq-eyebrow { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5eead4; }
.dq-eyebrow.is-dark { color: #0f766e; }
.dq-hero h1, .dq-place-hero h1 { margin: 12px 0 0; max-width: 46rem; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; font-weight: 900; }
.dq-hero-lead { margin: 18px 0 0; max-width: 44rem; font-size: 18px; line-height: 1.6; color: #e2e8f0; }
.dq-hero-stats { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; color: #cbd5e1; }
.dq-hero-stats strong { color: #fff; font-size: 26px; margin-right: 6px; }
.dq-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dq-breadcrumb { font-size: 14px; color: #cbd5e1; margin-bottom: 16px; }
.dq-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.dq-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.dq-btn.is-primary { background: #0f766e; color: #fff; }
.dq-btn.is-primary:hover { background: #115e59; }
.dq-btn.is-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.dq-btn.is-ghost:hover { background: rgba(255, 255, 255, .12); }
.dq-btn.is-light { background: #fff; border-color: #dbe3ef; color: #071224; }
.dq-btn.is-light:hover { border-color: #0f766e; color: #0f766e; }

.dq-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.dq-quick span { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 15px; font-weight: 700; }
.dq-quick b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #99f6e4; font-weight: 800; }

.dq-filters { position: relative; z-index: 2; display: grid; grid-template-columns: 1.6fr 1fr 1fr auto auto; gap: 10px; margin-top: -32px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(7, 18, 36, .12); }
.dq-filters input, .dq-filters select, .dq-map-filters input, .dq-map-filters select { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #dbe3ef; border-radius: 12px; font: inherit; background: #fff; }
.dq-filter-search { display: block; }

.dq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.dq-chips a, .dq-chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid #dbe3ef; background: #fff; color: #071224; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.dq-chips small { color: #64748b; font-weight: 700; }
.dq-chips .is-active { background: #071224; border-color: #071224; color: #fff; }
.dq-chips .is-active small { color: #cbd5e1; }

.dq-section { margin-top: 48px; }
.dq-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dq-section-head span { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #0f766e; }
.dq-section-head h2 { margin: 4px 0 0; font-size: 28px; font-weight: 900; color: #071224; }
.dq-section-head h2 small { font-size: 16px; color: #64748b; font-weight: 700; }
.dq-section-head a { font-weight: 800; color: #0f766e; }
.dq-empty { padding: 32px; border-radius: 18px; background: #fff; border: 1px dashed #cbd5e1; text-align: center; color: #475569; }

.dq-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.dq-grid.is-featured { grid-template-columns: repeat(3, 1fr); }
.dq-grid.is-featured .dq-card.is-large { grid-column: span 2; grid-row: span 2; }
.dq-grid.is-featured .dq-card.is-large .dq-card-media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.dq-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(7, 18, 36, .06); transition: transform .18s ease, box-shadow .18s ease; }
.dq-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(7, 18, 36, .12); }
.dq-card-media { position: relative; aspect-ratio: 16 / 10; background: #0f172a; overflow: hidden; }
.dq-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dq-card:hover .dq-card-media img { transform: scale(1.04); }
.dq-card-media > span { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 32px; font-weight: 900; color: #fff; }
.dq-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(7, 18, 36, .78); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.dq-badge.is-star { left: auto; right: 12px; background: #f59e0b; color: #071224; }
.dq-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.dq-card-meta { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; }
.dq-card-body h3 { margin: 0; font-size: 19px; font-weight: 900; color: #071224; }
.dq-card.is-large .dq-card-body h3 { font-size: 24px; }
.dq-card-body p { margin: 0; font-size: 14px; line-height: 1.55; color: #475569; }
.dq-card-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dq-card-facts span { padding: 4px 9px; border-radius: 8px; background: #f1f5f9; font-size: 12px; font-weight: 700; color: #334155; }

.dq-place-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.dq-block { margin-bottom: 36px; }
.dq-block h2 { margin: 0 0 14px; font-size: 24px; font-weight: 900; color: #071224; }
.dq-block p { margin: 0 0 14px; font-size: 17px; line-height: 1.75; color: #334155; }
.dq-checklist { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0; padding: 0; list-style: none; }
.dq-checklist li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: #f0fdfa; border: 1px solid #ccfbf1; font-weight: 700; color: #134e4a; }
.dq-checklist li::before { content: "✓"; position: absolute; left: 14px; top: 11px; font-weight: 900; color: #0f766e; }
.dq-activities { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dq-activities article { padding: 18px; border-radius: 16px; background: #fff; border: 1px solid #dbe3ef; box-shadow: 0 6px 16px rgba(7, 18, 36, .04); }
.dq-activities h3 { margin: 0; font-size: 16px; font-weight: 800; color: #071224; }
.dq-activities p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: #475569; }
.dq-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.dq-gallery a { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: #e2e8f0; }
.dq-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dq-gallery a:hover img { transform: scale(1.05); }
.dq-tips { padding: 22px 24px; border-radius: 18px; background: #fffbeb; border: 1px solid #fde68a; }
.dq-tips ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #78350f; font-weight: 600; line-height: 1.55; }

.dq-place-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.dq-info-card { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 12px 30px rgba(7, 18, 36, .08); }
.dq-info-card h2 { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: #071224; }
.dq-info-card dl { display: grid; gap: 12px; margin: 0; }
.dq-info-card dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0f766e; }
.dq-info-card dd { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: #334155; }
.dq-info-actions { display: grid; gap: 8px; margin-top: 18px; }
.dq-note { margin: 12px 0 0; font-size: 12px; color: #64748b; }
.dq-mini-map { height: 240px; border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; z-index: 0; }
.dq-service { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid #f1f5f9; font-size: 14px; }
.dq-service span { color: #64748b; font-size: 13px; }

.dq-map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.dq-map-head h1 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 40px); font-weight: 900; color: #071224; }
.dq-map-head p { margin: 8px 0 0; max-width: 44rem; color: #475569; }
.dq-map-filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; align-items: center; gap: 10px; margin-top: 22px; }
.dq-map-count { padding: 0 12px; font-weight: 800; color: #0f766e; white-space: nowrap; }
.dq-map-shell { margin-top: 18px; }
.dq-map-empty { padding: 18px; color: #64748b; }
.discover-map-list-copy small { display: block; margin-top: 2px; font-size: 12px; color: #0f766e; font-weight: 700; }

.dq-popup img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.dq-popup-body { padding-top: 8px; }
.dq-popup-body em { display: block; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #0f766e; }
.dq-popup-body strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 900; color: #071224; }
.dq-popup-body p { margin: 6px 0 0 !important; font-size: 13px; line-height: 1.45; color: #475569; }
.dq-popup-facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.dq-popup-facts span { padding: 3px 7px; border-radius: 6px; background: #f1f5f9; font-size: 11px; font-weight: 700; color: #334155; }
.dq-popup-actions { display: flex; gap: 6px; margin-top: 10px; }
.dq-popup-actions a { flex: 1; padding: 8px 10px; border-radius: 10px; border: 1px solid #e2e8f0; text-align: center; font-size: 12px; font-weight: 800; color: #334155 !important; text-decoration: none; }
.dq-popup-actions a.is-primary { background: #071224; border-color: #071224; color: #fff !important; }

@media (max-width: 1024px) {
    .dq-place-layout { grid-template-columns: 1fr; }
    .dq-place-aside { position: static; }
    .dq-grid.is-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .dq-filters, .dq-map-filters { grid-template-columns: 1fr; margin-top: 16px; }
    .dq-filters { margin-top: -24px; }
    .dq-grid.is-featured { grid-template-columns: 1fr; }
    .dq-grid.is-featured .dq-card.is-large { grid-column: auto; grid-row: auto; }
    .dq-hero-inner { padding: 48px 16px 56px; }
    .dq-place-hero-inner { padding: 40px 16px 36px; }
    .dq-hero-lead { font-size: 16px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Lieu sans photo : visuel neutre */
.dq-card-media > span { background: linear-gradient(135deg, #0f766e 0%, #071224 100%); letter-spacing: .06em; }

/* Carrousel des entreprises (page carte) */
.dq-biz { margin-top: 48px; }
.dq-biz-nav { display: flex; align-items: center; gap: 8px; }
.dq-biz-arrow { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #dbe3ef; background: #fff; color: #071224; font-size: 26px; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s; }
.dq-biz-arrow:hover { border-color: #0f766e; color: #0f766e; }
.dq-biz-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; }
.dq-biz-track::-webkit-scrollbar { display: none; }
.dq-biz-card { position: relative; display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #e2e8f0; text-decoration: none; color: inherit; box-shadow: 0 8px 22px rgba(7, 18, 36, .06); transition: transform .18s ease, box-shadow .18s ease; }
.dq-biz-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(7, 18, 36, .12); }
.dq-biz-cover { height: 120px; background: linear-gradient(135deg, #0f766e 0%, #071224 100%); }
.dq-biz-cover img { width: 100%; height: 100%; object-fit: cover; }
.dq-biz-logo { position: absolute; top: 76px; left: 18px; width: 76px; height: 76px; border-radius: 18px; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(7, 18, 36, .16); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.dq-biz-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.dq-biz-logo span { font-size: 24px; font-weight: 900; color: #0f766e; }
.dq-biz-body { display: flex; flex-direction: column; gap: 4px; padding: 44px 18px 18px; flex: 1; }
.dq-biz-body strong { font-size: 17px; font-weight: 900; line-height: 1.25; color: #071224; }
.dq-biz-body em { font-style: normal; font-size: 13px; font-weight: 700; color: #64748b; }
.dq-biz-cta { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 800; color: #0f766e; }
@media (max-width: 640px) { .dq-biz-nav .dq-biz-arrow { display: none; } }

/* Page Histoire d'une communaute */
.ch-hero { position: relative; isolation: isolate; color: #fff; background: #071224 var(--ch-hero, none) center / cover no-repeat; }
.ch-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 18, 36, .55) 0%, rgba(7, 18, 36, .9) 100%); }
.ch-hero-inner { max-width: 56rem; margin: 0 auto; padding: 80px 24px 56px; }
.ch-hero h1 { margin: 12px 0 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 900; }
.ch-article h2 { margin: 44px 0 14px; font-size: 28px; font-weight: 900; color: #071224; line-height: 1.2; }
.ch-article h2:first-child { margin-top: 0; }
.ch-article p { margin: 0 0 18px; font-size: 18px; line-height: 1.8; color: #334155; }
.ch-figure { margin: 36px 0; }
.ch-figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(7, 18, 36, .15); }
.ch-figure figcaption, .ch-gallery figcaption { margin-top: 8px; font-size: 14px; color: #64748b; font-style: italic; }
.ch-gallery-section { margin-top: 56px; }
.ch-gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ch-gallery figure { margin: 0; }
.ch-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; transition: transform .3s ease; }
.ch-gallery a:hover img { transform: scale(1.03); }
.ch-empty { padding: 48px 32px; border-radius: 20px; background: #fff; border: 1px dashed #cbd5e1; text-align: center; }
.ch-empty h2 { margin: 0 0 8px; font-size: 24px; font-weight: 900; }
.ch-empty p { margin: 0; color: #64748b; }
