/* V5 · Une police, des icônes de trait et une navigation sobre. */
@font-face{font-family:Manrope;src:url('fonts/manrope-variable.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
:root{--forest:#254c40;--moss:#3f6456;--accent:#edf3ef;--accent-ink:#254c40;--ink:#263b32;--paper:#fff;--glass:#fff;--muted:#697770;--line:#e8ece9;--shadow:0 8px 28px #102a201a;--sheet-bottom:104px}
body{font-family:Manrope,system-ui,sans-serif;font-weight:500}button,input,select,textarea{font-family:inherit}.icon{stroke-width:1.7}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #3f715c;outline-offset:3px}
.brand{font-family:Manrope,system-ui,sans-serif;font-size:25px;font-weight:750;letter-spacing:-1.2px}.brand small{font-size:10px;font-weight:500;letter-spacing:.2px;color:#eef2ef}.brand-symbol{border:0;background:none;border-radius:0;width:32px;color:white}.brand-symbol .icon{width:29px;height:29px}
.header-actions{gap:8px}.header-actions .round-btn,.menu-toggle{background:#fff;color:var(--forest);border:1px solid #e8ece9;box-shadow:0 3px 14px #092d2414;border-radius:12px}.header-actions .round-btn.on{color:var(--forest);background:#ecf2ee}.header-actions .counter{background:var(--forest);color:white}
.menu-toggle{display:flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;font-size:12px;font-weight:650}.menu-toggle .icon{width:19px;height:19px}.menu-toggle[aria-expanded=true]{background:var(--forest);color:white;border-color:var(--forest)}.menu-toggle:hover{background:#ecf2ee}.menu-toggle[aria-expanded=true]:hover{background:#315a4b}
.searchbox.map-search{border-radius:14px;border-color:#e4e9e5;box-shadow:0 3px 20px #102a2017}.searchbox.map-search input{font-size:13px}.search-clear,.search-key{background:#f2f5f3}.search-key{border-color:#e3e8e4}.search-clear{border-radius:9px}
.layer-panel,.layer-panel-toggle,.weather-toggle{border-radius:12px}.layer-panel,.weather-toggle{border-color:#e5ebe6;box-shadow:0 3px 16px #102a2014}.layer-panel-toggle b,.weather-text b{font-weight:650}.control-chevron .icon{width:14px;height:14px}.map-layer-bar,.weather-panel,.tools-menu{border:1px solid #e4e9e5;border-radius:16px;box-shadow:0 9px 30px #102a2024}.map-layer-bar{gap:6px;padding:16px;max-height:calc(100dvh - 250px);overflow-y:auto}.map-layer-bar>button{background:#fafbfa;border-color:#e5eae6;border-radius:10px;font-size:12px}.map-layer-bar>button.on{background:#edf3ef;border-color:#bfcec4;color:var(--forest)}.layer-toggle-indicator{border-color:#789787}.map-layer-bar .layer-bulk-actions button{background:#f3f6f4;border-radius:8px}
.weather-panel h2,.weather-current h3{font-weight:650}.weather-metrics>div{background:#f5f7f5;border-radius:10px}.weather-toggle[data-kind=snow],.weather-toggle[data-kind=mixed]{background:#f1f6f7}
.map-pane,.panel.map-pane{border:1px solid #e2e8e3;border-radius:18px;background:white;box-shadow:0 8px 35px #102a2026}.pane-head{padding-top:18px;min-height:74px}.pane-head h2{font-family:Manrope,system-ui,sans-serif;font-size:23px;font-weight:700;letter-spacing:-.7px}.pane-head small{font-size:9px;letter-spacing:.8px;font-weight:600}.pane-head .round-btn{border:0;background:#f4f6f4;border-radius:10px}.pane-scroll{scrollbar-color:#d2dbd5 transparent}.home-lead{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 20px}
.category-bar.local-menu{display:block}.menu-group{margin:0 0 19px}.menu-group h3{font-family:inherit;font-size:10px;letter-spacing:1px;text-transform:uppercase;font-weight:650;color:#7b867e;margin:0 0 7px;padding:0 10px}.category-bar .discovery-tile{display:flex;align-items:center;gap:13px;width:100%;min-height:64px;padding:11px 10px;margin:0;border:0;border-radius:10px;background:transparent;box-shadow:none;text-align:left;transition:background .15s}.category-bar .discovery-tile:hover{background:#f3f6f4;transform:none}.category-bar .discovery-tile.on{background:#edf3ef}.discovery-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #e4eae5;border-radius:10px;background:#fafbfa;color:var(--forest)}.discovery-icon .icon{width:20px;height:20px}.discovery-tile>span:nth-child(2){flex:1;min-width:0}.discovery-tile b{font-size:13px;font-weight:650;color:var(--ink)}.discovery-tile small{display:block;margin-top:3px;font-size:11px;line-height:1.45;font-weight:450;color:var(--muted)}.discovery-tile .discovery-arrow{position:static;flex:none;opacity:.6;color:#6e8175}.discovery-arrow .icon{width:16px;height:16px}.memory-menu{margin:5px 0 12px;padding-top:14px;border-top:1px solid var(--line)}.memory-menu .discovery-icon{color:#7c715f;background:#faf9f7}.all-places-link{margin:0;padding:12px 10px;min-height:44px;color:var(--forest);font-weight:650;border-top:1px solid var(--line);border-radius:0}
.classic-section{margin-top:25px}.section-intro h3{font-family:inherit;font-size:15px;font-weight:700;letter-spacing:-.3px}.section-intro>span{display:none}.classic-route{border-radius:10px;background:#fafbfa;border-color:#e5eae6;box-shadow:none;padding:12px}.classic-route b{font-size:13px;font-weight:650}.classic-route small{font-size:11px}.classic-icon{background:none;color:var(--forest)}
.local-controls{display:flex;align-items:center;gap:9px;flex:none;padding:8px 21px;border-bottom:1px solid var(--line);background:#fafbfa}.local-controls>.icon,.local-controls>span .icon{width:17px;height:17px;color:var(--muted)}.local-controls select{width:100%;min-height:44px;border:0;background:transparent;color:var(--ink);font:550 12px Manrope,system-ui,sans-serif;padding:6px 4px}.local-list-note{color:var(--muted);font-size:11px;line-height:1.75;margin:0 0 15px}.address-precision{display:block;font-size:10px;color:#7a817b;margin-top:3px}.local-precision{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;color:var(--muted);padding:12px;background:#f5f7f5;border-radius:10px}.local-precision .icon{width:17px;height:17px;flex:none;margin-top:3px}
.place-row{border-radius:0;border:0;border-bottom:1px solid var(--line);box-shadow:none;background:white;padding:4px 0;margin:0}.place-row:hover{background:#fafbfa;transform:none}.place-thumb{background:#f3f6f4;border-radius:11px;width:43px;height:43px;color:var(--forest)}.place-text b{font-weight:650;font-size:13px}.place-text small{font-size:11px;line-height:1.7}.favorite-small{border:0;background:transparent;color:#849287;border-radius:10px;min-width:44px;min-height:44px}.favorite-small.on{background:#edf3ef;color:var(--forest)}.favorite-small:hover{background:#f2f5f3}
.route-guide{border-radius:14px;background:#fafcfb;border-color:#e2e9e3;padding:18px;box-shadow:none}.route-guide:hover{transform:none;border-color:#a1b8aa}.route-guide.winter{background:#f5f9fa;border-color:#dce7e9}.guide-name{font-family:inherit;font-size:23px;font-weight:700;letter-spacing:-.7px}.guide-metrics{background:white;border-radius:10px;border:1px solid #e7ece8}.guide-metrics b{font-weight:700}.guide-tag,.guide-footer{font-size:11px}.guide-footer{color:#456a57}.landmark-group,.routes-details,.route-sources,.data-sources{border-color:var(--line)}
.detail-title,.panel h3{font-family:inherit;font-weight:700;letter-spacing:-.9px;font-size:29px}.detail-placeholder{min-height:110px;border-radius:14px;background:#f2f6f3;color:var(--forest)}.detail-placeholder .icon{width:39px;height:39px}.detail-cover{border-radius:14px}.detail-actions .btn{border-radius:10px;font-size:12px}.btn.accent{background:var(--forest);color:white;border-color:var(--forest)}.btn.ghost{background:#f7f9f7;border-color:#e0e8e2;color:var(--forest)}.detail-actions .source-action{background:#edf3ef}.selected-address{background:#f7f9f7}.map-place-pin-label{font-family:Manrope,system-ui,sans-serif;border-radius:12px}
.map-dock{width:585px;padding:5px;gap:3px;border-radius:16px;box-shadow:0 6px 28px #102a202b;border-color:#e4eae5}.map-dock button{height:48px;flex-direction:row;gap:8px;border-radius:11px;font-family:inherit;font-size:12px;font-weight:600;padding:6px 9px}.map-dock .icon{width:19px;height:19px}.map-dock button.on,.map-dock button[aria-pressed=true]{background:#edf3ef;color:var(--forest)}.map-dock button.on .icon,.map-dock button[aria-pressed=true] .icon{color:var(--forest)}.map-dock button:hover:not(.on){background:#f5f7f5}.map-utilities button{border-radius:12px;border-color:#e5ebe6;box-shadow:var(--shadow);font-family:inherit}
.map-welcome{max-width:440px;padding-left:0}.map-welcome h1{font-family:Manrope,system-ui,sans-serif;font-size:clamp(50px,5.4vw,70px);font-weight:700;line-height:1.04;letter-spacing:-3px;margin:14px 0 17px}.map-welcome p{font-size:14px;line-height:1.85}.welcome-kicker{letter-spacing:1.2px;font-size:10px}.welcome-cta{border-radius:12px;background:white;color:var(--forest);font-family:inherit;font-size:12px}.welcome-cta:hover{background:#edf3ef}.memory-teaser{color:#f1f4ef;font-family:inherit;font-size:11px}
.tools-menu>header b,.modal .box h3{font-family:inherit;font-weight:700;letter-spacing:-.7px}.tool-grid button{background:#fafbfa;border-color:#e5eae6;border-radius:11px;font-family:inherit;font-size:12px}.tool-grid button.on{background:#edf3ef;border-color:#aec4b6}.maplibregl-ctrl-group,.view-switch{border-radius:12px}.scene-caption{background:#244b40cc}.modal .box{border-radius:18px}.toast{border-radius:12px}.memory-intro h3,.memory-lift h3,.memory-timeline h3,.memory-story-card b,.memory-cover b{font-family:inherit;font-weight:650;letter-spacing:-.6px}.memory-lift,.memory-story-card,.memory-cover{border-radius:14px}.memory-cover{background:#eeeae2;color:#4c493d}.memory-story-icon{background:#f4f2ed;color:#7c715f}.memory-lift{background:#faf9f7;border-color:#e8e5df}.memory-modes button.on,.memory-themes button.on{background:var(--forest);color:white}
@media(min-width:761px) and (max-width:1100px){.searchbox.map-search{left:230px;right:173px}.map-dock{width:550px}.brand{font-size:24px}}
@media(max-width:760px),(max-height:550px) and (pointer:coarse){
 :root{--sheet-bottom:calc(93px + env(safe-area-inset-bottom,0px))}
 .brand{font-size:24px;max-width:calc(100% - 140px)}.brand small{font-size:8px;letter-spacing:.1px}.brand-symbol{width:28px}.brand-symbol .icon{width:27px;height:27px}.header-actions .round-btn{width:44px;height:44px}.menu-toggle{min-height:44px;padding:0 12px;font-size:11px;gap:6px}.menu-toggle .icon{width:18px;height:18px}
 .searchbox.map-search input{font-size:16px}.map-pane,.panel.map-pane,.detail-pane.map-pane{border-radius:18px}.pane-head{padding:2px 18px 13px}.pane-head h2{font-size:22px}.pane-head .round-btn{width:40px;height:40px}.pane-expand:not(.sheet-grip){background:#f1f5f2;font-family:inherit;font-size:10px;border-radius:10px}.sheet-grip i{background:#cad7cd}.local-controls{padding:5px 18px}.local-controls select{font-size:16px}.pane-scroll,.browse-pane .pane-scroll,.detail-pane .pane-scroll,.memory-open .browse-pane .pane-scroll{padding:17px 18px}
 .category-bar .discovery-tile{min-height:61px;padding:10px 9px;gap:12px}.discovery-tile b{font-size:13px}.discovery-tile small{font-size:11px}.menu-group{margin-bottom:15px}.menu-group h3{font-size:9px;margin-bottom:5px}.home-lead{font-size:12px;margin-bottom:17px}.discovery-icon{width:34px;height:34px}.guide-name{font-size:22px}.detail-title,.panel h3{font-size:28px}
 .map-dock{width:auto;padding:5px;border-radius:16px;gap:2px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}.map-dock button{height:53px;flex-direction:column;gap:5px;padding:5px 3px;font-size:10px;border-radius:11px}.map-dock .icon{width:20px;height:20px}.map-welcome{left:20px;bottom:calc(105px + env(safe-area-inset-bottom,0px));padding:10px 0;max-width:calc(100% - 65px)}.map-welcome h1{font-size:54px;letter-spacing:-2.7px;margin:10px 0 15px}.map-welcome p{font-size:12px;line-height:1.8}.welcome-cta{font-size:12px}.memory-teaser{font-size:10px}.map-utilities{bottom:calc(101px + env(safe-area-inset-bottom,0px))}.map-utilities button{border-radius:12px}.map-layer-bar{max-height:calc(100dvh - 278px - env(safe-area-inset-bottom,0px))}
 body.sheet-expanded .map-pane,body.sheet-expanded .panel.map-pane,body.sheet-expanded .detail-pane.map-pane{top:calc(132px + env(safe-area-inset-top,0px))!important;height:auto;max-height:none}
}
@media(max-width:365px){.brand{font-size:21px;gap:5px}.brand-symbol{width:25px}.brand small{font-size:7px}.menu-toggle{padding:0 10px}.header-actions{gap:5px}.map-welcome h1{font-size:49px}.pane-head h2{font-size:21px}}
@media(max-height:720px) and (max-width:760px){.map-welcome h1{font-size:47px}.map-welcome p{font-size:11px}.map-welcome{bottom:calc(101px + env(safe-area-inset-bottom,0px))}}
@media(max-height:550px) and (min-width:600px){.searchbox.map-search{left:230px;right:174px}.map-dock{width:520px;bottom:12px}.map-dock button{height:44px;flex-direction:row}.map-pane,.panel.map-pane,.detail-pane.map-pane{bottom:85px;top:72px!important}.tools-menu{bottom:85px}.map-layer-bar{max-height:calc(100dvh - 150px)}body.sheet-expanded .map-pane,body.sheet-expanded .panel.map-pane,body.sheet-expanded .detail-pane.map-pane{top:72px!important;bottom:85px}.map-welcome{display:none}}
@media(max-height:550px) and (max-width:599px){.map-welcome{display:none}.map-pane,.panel.map-pane,.detail-pane.map-pane{top:132px!important;height:auto;max-height:none}}

/* Les dix destinations restent faciles à parcourir, même sur un petit écran. */
.menu-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:6px}.menu-group h3{grid-column:1/-1}.category-bar .discovery-tile{min-height:54px;gap:9px;padding:8px}.discovery-icon{border:0;background:none;width:26px;height:30px;border-radius:0}.discovery-tile small,.discovery-tile .discovery-arrow{display:none}.discovery-tile b{font-size:12px;line-height:1.55}.memory-menu{display:block}.memory-menu .discovery-icon{background:none}.memory-menu .discovery-tile{min-height:52px}.memory-menu .discovery-tile small{display:block;font-size:10px}.memory-menu .discovery-arrow{display:block}.menu-group h3{padding-left:8px}
@media(max-width:760px),(max-height:550px) and (pointer:coarse){.category-bar .discovery-tile{min-height:53px;padding:8px;gap:8px}.discovery-icon{width:24px;height:28px}.discovery-tile b{font-size:12px}.discovery-tile small{display:none}.menu-group{margin-bottom:14px}.memory-menu .discovery-tile small{display:block}}

/* V6 : une surface de lecture continue sur mobile, un retour explicite à la carte. */
.presentation-link{display:flex;align-items:center;justify-content:space-between;min-height:48px;margin:8px 0 16px;padding:8px;color:var(--forest);font-weight:600;text-decoration:none;border-top:1px solid var(--line)}
@media(max-width:760px),(max-height:550px) and (pointer:coarse){
 body.has-pane .top-wash{background:#f7f9f6;height:100%;z-index:6}
 body.has-pane .map-header{z-index:30}
 body.has-pane .brand{color:var(--forest)}
 body.has-pane .brand small{color:var(--muted)}
 body.has-pane .brand-symbol{color:var(--forest);border-color:#dfe6df;background:white}
 body.has-pane .header-actions .round-btn,body.has-pane .menu-toggle{background:white;color:var(--forest);border-color:#dfe6df}
 body.has-pane:not(.sheet-expanded) .top-wash{height:130px}
 body.has-pane .searchbox.map-search{z-index:30;box-shadow:none;border-color:#dfe6df}
 body.sheet-expanded .map-pane,body.sheet-expanded .panel.map-pane,body.sheet-expanded .detail-pane.map-pane{top:calc(130px + env(safe-area-inset-top,0px))!important;left:0;right:0;bottom:calc(82px + env(safe-area-inset-bottom,0px));height:auto;max-height:none;border:0;border-radius:0;box-shadow:none;background:#f7f9f6}
 body.sheet-expanded .map-pane .pane-scroll{background:#f7f9f6}
 body.sheet-expanded .sheet-grip{display:none}
 body.sheet-expanded .pane-head{padding:8px 18px 12px;min-height:64px}
 body.has-pane .pane-expand:not(.sheet-grip){min-width:64px;min-height:44px;font-size:13px;font-weight:700;border-radius:12px;background:#e9efea}
 .pane-head .round-btn{width:44px;height:44px}
 .back-btn,.explorer-return{min-height:44px;font-size:13px}
 .pane-controls{padding:0 18px;gap:10px}
 .pane-scroll{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
 .guide-name{font-size:23px;line-height:1.35}.detail-title,.panel h3{font-size:28px;line-height:1.3}
 .detail-actions .btn{min-height:48px}.mini-note,.local-list-note{font-size:13px;line-height:1.65}
 .menu-group h3{font-size:11px}.discovery-tile b{font-size:14px}.category-bar .discovery-tile{min-height:60px}
 .map-dock{z-index:35;bottom:env(safe-area-inset-bottom,0px);left:0;right:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:8px 10px;background:white;box-shadow:none}
 .map-dock button{height:56px;font-size:11px}
 body.sheet-expanded .map-footer{display:none}
 body.has-pane:not(.sheet-expanded) .map-controls{visibility:hidden}
 .map-layer-bar{overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:365px){.discovery-tile b{font-size:13px}.pane-head h2{font-size:21px}.back-btn{font-size:12px}}
@media(max-height:550px) and (pointer:coarse) and (min-width:600px){
 body.sheet-expanded .map-pane,body.sheet-expanded .panel.map-pane,body.sheet-expanded .detail-pane.map-pane{top:calc(72px + env(safe-area-inset-top,0px))!important;bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 body.has-pane .brand small{display:none}.map-dock button{height:48px}.pane-head{flex:none}
}
