/* Accueil : mêmes couleurs, typographies et cartes que le reste du site. */
.home-hero { background: linear-gradient(120deg, #fff, #f0f8f7); border-bottom: 1px solid var(--border); }
.home-hero .wrap { padding-top: 32px; padding-bottom: 30px; }
.home-hero h1 { margin: 0 0 12px; max-width: 950px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.16; color: var(--primary); letter-spacing: -.035em; }
.home-description { max-width: 1080px; color: #4d5c71; font-size: .94rem; line-height: 1.65; margin: 0 0 18px; overflow-wrap: anywhere; }
.home-description p:first-child { margin-top: 0; }
.home-description p:last-child { margin-bottom: 0; }
.home-description strong { font-weight: 600; }
.home-description a { color: var(--primary); }
.home-hero-search { display: flex; position: relative; gap: 10px; max-width: 980px; margin-bottom: 24px; }
.home-hero-search .search-icon { left: 16px; top: 50%; transform: translateY(-50%); }
.home-hero-search input { width: 100%; min-width: 0; padding: 16px 16px 16px 44px; border: 1px solid #bed7d9; border-radius: 12px; font: inherit; background: #fff; color: var(--primary); }
.home-hero-search input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.home-hero-search .btn { flex: none; }
.home-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-path { display: grid; grid-template-columns: 36px 1fr 20px; grid-template-rows: auto auto; align-items: center; gap: 5px 12px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; color: var(--primary); text-decoration: none; box-shadow: 0 3px 12px #183b6606; transition: border-color .15s, box-shadow .15s; }
.home-path:hover, .home-path:focus-visible { border-color: var(--accent); box-shadow: 0 5px 18px #183b6610; }
.home-path strong { font-size: 1.06rem; }
.home-path > span:not([class]) { grid-column: 2; font-size: .84rem; line-height: 1.5; color: #536880; }
.home-path-icon { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 36px; height: 42px; border-radius: 10px; background: #e6f5f3; font-size: 1.45rem; color: #087d79; }
.home-path-arrow { grid-column: 3; grid-row: 1 / 3; color: #087d79; }
.home-offers-heading { width: 100%; margin-bottom: 4px; scroll-margin-top: 16px; }
.home-offers-heading h2 { font-size: 1.4rem; margin: 0 0 4px; }
.home-offers-heading p { margin: 0; color: #536880; font-size: .9rem; }
.home-page .filters-row--main { flex: 0 1 420px; }
.home-view-controls { display: flex; gap: 6px; justify-content: flex-end; padding-top: 12px; }
.home-view-controls button[aria-pressed="true"] { background: var(--primary); color: white; border-color: var(--primary); }
.home-page .layout.is-list-view .map-panel { display: none; }
.home-page .layout.is-list-view .list-panel { flex: 1 1 100%; max-width: none; }
.home-page .layout.is-list-view .list-body { max-height: none; }
/* Contours Natural Earth : décoration de fond, sans calque devant les contrôles. */
.home-offers-surface {
 background-color: var(--background);
 background-image: url('img/quebec-watermark.svg'), url('img/quebec-watermark.svg');
 background-repeat: no-repeat;
 background-size: 480px 600px;
 background-position: left -185px top 80px, right -195px bottom -130px;
}
.home-workspace { padding-top: 22px; padding-bottom: 30px; }
.home-results { min-width: 0; }
.home-workspace .list-panel { min-width: 0; }
.home-filters .chip { max-width: 100%; white-space: normal; }
.home-filters { border: 1px solid var(--border); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.home-filters .filters-inner { padding: 0; }
.home-filters select { width: 100%; min-width: 0; max-width: 100%; }
.home-filters .filters-row--main { flex: 1 1 100%; }
.home-workspace .home-view-controls { padding-top: 0; margin-bottom: 12px; flex-wrap: wrap; }
.home-filters .home-view-controls { width: 100%; margin: 4px 0 0; justify-content: flex-start; }
.home-filters .home-view-controls .btn { font-size: .8rem; padding: 8px 10px; }
.home-workspace .layout { padding-top: 0; padding-bottom: 0; }
@media (max-width:1099px) {
 .home-workspace .map-panel, .home-workspace .list-panel { width: 100%; flex-basis: 100%; }
}
@media (min-width: 1100px) {
 .home-workspace { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 20px; align-items: start; }
 .home-filters { margin-bottom: 0; }
 .home-filters .filter-choice-groups { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .home-filters .chips { justify-content: flex-start; }
 .home-filters .chip { height: auto; min-height: 36px; padding: 8px 10px; font-size: .8rem; text-align: left; }
 .home-filters .filter-choice-group { min-width: 0; padding: 10px; }
 .home-filters .filter-or { display: none; }
 .home-filters .filters-row--sub { gap: 8px; margin-top: 0; }
 .home-filters .home-offers-heading h2 { font-size: 1.3rem; }
 .home-workspace .layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .home-workspace .map-panel { width: 100%; height: clamp(440px, 62vh, 700px); min-width: 0; }
 .home-workspace .list-panel { width: 100%; min-width: 0; max-width: none; height: auto; max-height: 65vh; }
 .home-workspace .list-body { max-height: 55vh; }
 .home-workspace .layout.is-list-view { grid-template-columns: minmax(0, 1fr); }
 .home-workspace .layout.is-list-view .list-panel { height: auto; max-height: none; }
}
@media (min-width: 1450px) {
 .home-workspace { max-width: 1800px; grid-template-columns: 300px minmax(0,1fr); align-items: stretch; }
 .home-results { display: flex; min-height: 0; }
 .home-workspace .layout { width: 100%; flex: 1; grid-template-columns: minmax(0, 1fr) clamp(330px,22vw,380px); align-items: stretch; }
 .home-workspace .map-panel { height: auto; min-height: 560px; }
 .home-workspace .list-panel { height: auto; min-height: 0; max-height: none; }
 .home-workspace .list-body { height: 0; min-height: 0; flex: 1 1 auto; max-height: none; }
 .home-workspace .layout.is-list-view .list-body { height: auto; }
}
.official-source-list { display: grid; gap: 12px; margin-top: 18px; }
.official-source-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 1fr); align-items: center; gap: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.official-source-row small { display: block; color: #536880; margin-top: 4px; }
.official-source-row select, .official-source-row input.field { width: 100%; min-width: 0; }
@media (max-width: 760px) {
 .home-offers-surface { background-size: 300px 375px; background-position: left -150px top 80px, right -140px bottom -100px; }
 .home-hero .wrap { padding-top: 24px; padding-bottom: 24px; }
 .home-paths { grid-template-columns: 1fr; gap: 10px; }
 .home-path { padding: 15px 16px; }
 .home-hero-search { flex-wrap: wrap; }
 .home-hero-search input { flex: 1 1 100%; }
 .home-hero-search .search-icon { top: 28px; }
 .home-hero-search .btn { width: 100%; }
 .official-source-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (forced-colors: active) {
 .home-offers-surface { background-image: none; }
}
@media print {
 .home-offers-surface { background-image: none; }
}
