/* WINDIO / Coastal — une seule direction visuelle pour l’explorateur et les fiches.
   Les couleurs des mesures restent celles des échelles météo existantes. */
:root{--coast-ink:#102f3c;--coast-muted:#61757d;--coast-teal:#007f80;--coast-orange:#ed531e;--coast-paper:#f6f7f3;--coast-line:#dce5e5;--sea-ink:var(--coast-ink);--sea-muted:var(--coast-muted);--explore-width:400px;--front-shadow:0 8px 28px #102f3c16}
body{background:var(--coast-paper)!important}
body #header{background:#fff!important;isolation:isolate;border-bottom:1px solid var(--coast-line)!important;padding:0 28px!important}
body #header h1.brand-lockup{font-size:31px!important}
body #header .hbtn{background:#edf3f3!important;color:var(--coast-ink)!important;border-radius:10px!important;box-shadow:none!important}
body #header #btn-menu{background:var(--coast-ink)!important;color:#fff!important}
body #header #btn-refresh{font-size:12px!important}
body .wbn{left:240px!important;right:180px!important}
body .wbn-inner{height:76px!important;max-width:650px!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;gap:10px}
body .wbn-tab{color:#49606a!important;background:none!important;border-radius:0!important;min-height:76px!important;transition:color .2s}
body .wbn-tab.active,body .wbn-tab.active .wbn-svg{color:#c04418!important}
body .wbn-tab.active::after{display:block;background:var(--coast-orange);left:20px;right:20px;height:3px;bottom:0;top:auto}
body .wbn-lbl{font-size:13px!important;font-weight:650!important}
body .wbn-svg{width:18px!important;height:18px!important}
.explorer{background:var(--coast-paper);padding:0 24px 28px;border-right:1px solid var(--coast-line);scrollbar-color:#bccdce transparent;scrollbar-gutter:stable}
.explorer-intro{position:relative;isolation:isolate;overflow:hidden;background:var(--coast-ink);margin:0 -24px 22px;padding:28px 24px 30px;border:0}
.explorer-eyebrow{font:600 10px var(--w-font-mono);letter-spacing:.16em;color:#99e6d9;margin-bottom:16px}
.explorer h2{color:#fff;font-size:44px;line-height:1.02;letter-spacing:-.055em;font-weight:750;font-style:normal;max-width:300px;margin-bottom:16px;text-wrap:balance}
.explorer-sub{font-size:13px;line-height:1.6;color:#d2e6e9;max-width:230px;margin:0}
body #map-search{margin-bottom:14px}
body #map-search .ms-box{height:50px!important;border:1px solid #bfcfd1!important;border-radius:12px!important;background:#fff!important;box-shadow:0 3px 12px #102f3c08!important;transition:border-color .2s,box-shadow .2s}
body #map-search .ms-box:focus-within{border-color:var(--coast-teal)!important;box-shadow:0 0 0 3px #007f8018!important}
body #ms-input{color:var(--coast-ink)!important;font-size:14px!important}
body #ms-input::placeholder{color:#58727c!important}
body #ms-results{border:1px solid var(--coast-line)!important;background:#fff!important;border-radius:12px!important}
.explorer-destinations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:26px;padding:3px;background:#e7eeee;border-radius:10px}
.explorer-destinations button{min-width:0;border:0;border-radius:8px;background:transparent;color:#586e77;font-size:11px;font-weight:650;min-height:36px;padding:8px 4px;transition:background .2s,color .2s}
.explorer-destinations button[aria-pressed=true]{background:#fff;color:var(--coast-ink);box-shadow:0 2px 6px #102f3c0d}
.explorer-section{margin-bottom:14px;gap:10px}
.explorer-section h3{font-size:20px;letter-spacing:-.035em;font-weight:750}
.explorer-count{font:600 12px var(--w-font-mono);background:#e3eeeb;color:#35665e;border-radius:6px;padding:5px 8px}
.explorer-filter{height:42px;border:1px solid var(--coast-line);border-radius:9px;font-size:12px;background:#fff}
.explorer-sort{display:flex;gap:4px;margin-top:12px;padding:3px;border-bottom:1px solid var(--coast-line)}
.explorer-sort button{flex:1;min-height:38px;border:0;border-radius:6px;background:transparent;font:600 12px var(--w-font-body);color:#637982;cursor:pointer}
.explorer-sort button[aria-pressed=true]{background:#e3eeeb;color:#205b58}
.explorer-note{font-size:11px;line-height:1.6;margin:10px 0 16px;color:#58727c}
.explorer-results{display:grid;gap:10px}
.explorer-row{position:relative;display:flex;gap:10px;width:100%;margin:0;padding:17px 14px;background:#fff;border:1px solid var(--coast-line);border-radius:12px;box-shadow:0 2px 8px #102f3c04;transition:border-color .18s,box-shadow .18s,translate .18s}
.explorer-row-info strong{font-size:14px;line-height:1.3;font-weight:700;letter-spacing:-.015em;color:var(--coast-ink)}
.explorer-row-info small{font-size:11px;margin-top:5px;color:#58727c}
.explorer-row-meta{font-size:11px;margin-top:10px;color:#5f757e}
.explorer-wind{min-width:50px;gap:2px;padding:0 0 5px;background:none;border-bottom:3px solid var(--wind-color,#dce5e5);border-radius:0;color:var(--coast-ink);box-shadow:none}
.explorer-wind b{font-size:31px;font-weight:750;font-style:normal;letter-spacing:-.06em;line-height:1.1}
.explorer-wind small{font-size:10px;color:#58727c}
.explorer-direction{display:flex;align-items:center;flex-direction:column;gap:5px;color:#6b848b;min-width:19px}
.explorer-direction>span{display:inline-block;font-size:20px;line-height:1}
.explorer-direction small{font:500 9px var(--w-font-mono)}
.explorer-row-arrow{color:var(--coast-orange);font-size:17px;transition:translate .18s}
.explorer-more{background:#fff;color:var(--coast-ink);border:1px solid #c9d6d8;border-radius:10px;min-height:46px;font-size:12px;margin-top:18px}
.coastal-marker-hover{filter:drop-shadow(0 0 6px #fff) drop-shadow(0 0 8px #ed531e)!important;z-index:1000!important}
.coastal-map-heading{position:absolute;top:24px;left:24px;z-index:450;display:flex;flex-direction:column;gap:8px;padding:20px 24px;background:#0d2e3aea;backdrop-filter:blur(12px);border:1px solid #ffffff30;border-radius:14px;box-shadow:0 12px 32px #001b2d22;color:#fff;pointer-events:none;min-width:210px}
.coastal-map-kicker{font:500 8px var(--w-font-mono);letter-spacing:.13em;color:#a6d4d2}
.coastal-map-heading strong{font:650 29px var(--w-font-display);letter-spacing:-.045em;line-height:1.05}
.coastal-map-meta{font-size:11px;color:#b9d1d5}
body.explorer-away .coastal-map-heading,body.explorer-spot .coastal-map-heading,body.globe-view .coastal-map-heading{display:none}
body #map-layers{background:#fffffff2;border:1px solid #c9d6d8;border-radius:11px;right:24px;top:24px!important;box-shadow:0 5px 18px #102f3c1c}
body #map-layers summary{font-size:12px;font-weight:650;color:var(--coast-ink)}
body #weather-state{background:#102f3ce8;color:#e7f2f3;border:1px solid #ffffff2e;border-radius:8px;padding:8px 12px;left:24px;bottom:24px;box-shadow:0 4px 15px #001b2d18}
body #weather-state button{color:#8de2d0}
body #help-fab{background:#fff!important;color:var(--coast-ink)!important;border:1px solid #d2dedf!important;box-shadow:0 5px 20px #102f3c22!important;right:24px!important;bottom:24px!important;border-radius:12px!important}
body .leaflet-top.leaflet-left{right:24px!important;bottom:90px!important}
body .leaflet-control-zoom{border:1px solid #c9d6d8!important;border-radius:10px!important;box-shadow:0 5px 20px #102f3c22!important}
body .leaflet-control-zoom a{background:#fff!important;color:var(--coast-ink)!important}
body #spot-panel{background:var(--coast-paper)!important;border-radius:0!important;border-color:var(--coast-line)!important;box-shadow:none!important}
body #spot-panel .pop-hdr{background:#fff!important;border-bottom:1px solid var(--coast-line)!important;padding:28px 66px 26px 24px!important}
body #spot-panel .pop-zone{font-size:9px!important;letter-spacing:.13em!important;color:var(--coast-teal)!important}
body #spot-panel .pop-title{font-size:33px!important;font-style:normal!important;font-weight:750!important;letter-spacing:-.05em!important;line-height:1.06!important;color:var(--coast-ink)!important;text-shadow:none!important}
body #spot-panel #panel-close{background:#eef3f3!important;color:var(--coast-ink)!important;min-width:40px;min-height:40px}
body #spot-panel .pop-body{padding:24px!important}
body #spot-panel .sf-card{background:#fff!important;border:1px solid var(--coast-line)!important;border-radius:14px!important;box-shadow:0 3px 12px #102f3c06!important;margin-bottom:22px!important}
body #spot-panel .sf-hero{padding:23px 16px!important}
body #spot-panel .sf-kt{font-size:55px!important;font-style:normal!important;font-weight:750;text-shadow:none!important;letter-spacing:-.065em}
body #spot-panel .sf-hero-q{font-style:normal!important;font-size:21px!important;text-shadow:none!important}
body #spot-panel .sf-cta{background:var(--coast-orange)!important;color:#fff!important;box-shadow:none!important;border-radius:10px!important}
body #spot-panel .sf-act-ic{background:#edf3f3!important;color:var(--coast-ink)!important;border-color:#c5d3d5!important}
body #spot-panel .fav-btn{border-color:#c7d6d8!important;color:var(--coast-ink)!important;border-radius:10px!important}
.sd-info-note{font-size:12px;line-height:1.5;color:var(--coast-muted);margin:12px 2px 0}
.frontend-list{background:var(--coast-paper)!important}
.frontend-list h1{font-style:normal;font-size:40px;letter-spacing:-.05em;color:var(--coast-ink)}
.frontend-empty{background:#fff;border:1px solid var(--coast-line);border-radius:16px;padding:32px;box-shadow:0 6px 24px #102f3c08}
.frontend-empty h2{font-size:27px;letter-spacing:-.035em;color:var(--coast-ink)}
.frontend-empty button{background:var(--coast-orange);border-radius:10px}
.frontend-spot-row{border-radius:12px;border-color:var(--coast-line);box-shadow:0 3px 12px #102f3c06}
#local-preview-bar{background:#102f3c;font-size:10px;letter-spacing:.015em}
body #header>.windio-fx-canvas,.windio-fx-canvas{position:absolute!important;inset:0;width:100%;height:100%;z-index:-1!important;pointer-events:none!important;opacity:0;border-radius:inherit;transition:opacity .4s}
body #header[data-fx-state=webgpu]>.windio-fx-canvas,[data-fx-state=webgpu]>.windio-fx-canvas{opacity:1}
.explorer-intro[data-fx-state=fallback]{background:radial-gradient(ellipse at 95% 65%,#168b87,transparent 64%),#102f3c}
body #header[data-fx-state=fallback]{background:linear-gradient(110deg,#fff 25%,#e4f4f1)!important}
#visual-motion-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px}
#visual-motion-toggle::after{content:'OFF';font:600 10px var(--w-font-mono);color:#72878e;background:#eef3f3;border-radius:5px;padding:5px 7px}
#visual-motion-toggle[aria-pressed=true]::after{content:'ON';background:#e0f3eb;color:#176348}
@media(hover:hover) and (pointer:fine){
 .explorer-row:hover,.explorer-row:focus-visible{border-color:#90b8b5;box-shadow:0 6px 18px #102f3c10;translate:0 -2px}
 .explorer-row:hover .explorer-row-arrow{translate:3px 0}
 .explorer-destinations button:hover{color:var(--coast-ink);background:#ffffff9c}
 .explorer-more:hover{background:var(--coast-ink);color:#fff;border-color:var(--coast-ink)}
 body .wbn-tab:hover{color:#c04418!important}
 body #header .hbtn:hover{background:#dce9e9!important}
 body #header #btn-menu:hover{background:#1b4957!important}
}
@media(max-width:1100px) and (min-width:761px){
 :root{--explore-width:340px}
 body .wbn{left:185px!important;right:140px!important}
 body .wbn-inner{gap:4px}
 body .wbn-tab{flex-direction:column!important;gap:5px!important}
 body .wbn-lbl{font-size:11px!important}
 .explorer{padding:0 20px 24px}
 .explorer-intro{margin:0 -20px 20px;padding:26px 20px}
 .explorer h2{font-size:39px;max-width:260px}
 .explorer-row{padding:15px 11px;gap:8px}.explorer-direction{display:none}
 body #spot-panel .pop-body{padding:18px!important}
 .coastal-map-heading{padding:16px 18px;left:18px;min-width:180px}
 .coastal-map-kicker{font-size:7px}
}
@media(max-width:760px){
 body #header{padding:0 18px!important}body #header h1.brand-lockup{font-size:27px!important}
 .explorer{padding:0;border:0;background:none;scrollbar-gutter:auto;left:12px;right:12px}
 .explorer-intro{display:none}
 body #map-search{margin-bottom:9px}
 body #map-search .ms-box{height:50px!important;box-shadow:0 5px 22px #001c2c22!important;background:#fffffff7!important}
 body #ms-input{font-size:16px!important}
 .explorer-destinations{width:min(350px,100%);margin:0 0 9px;padding:3px;background:#fffffff2;box-shadow:0 5px 18px #001c2c1a}
 .explorer-destinations button{min-height:32px;font-size:10px;padding:7px 3px;color:#465f67}
 .explorer-destinations button[aria-pressed=true]{background:var(--coast-ink);color:#fff}
 .explorer-toggle{background:var(--coast-ink);border:1px solid #ffffff3b;color:#fff;border-radius:10px;min-height:40px;box-shadow:0 5px 18px #001c2c22;font-size:12px;padding:8px 14px}
 .explorer-content{background:var(--coast-paper);border:1px solid #d1dfe0;padding:20px 16px;border-radius:14px;margin-top:9px;max-height:calc(100dvh - var(--explore-top) - 250px);box-shadow:0 14px 36px #001c2c33}
 .explorer-note{margin-bottom:12px}.explorer-row{padding:16px 12px}.explorer-direction{display:flex}
 .coastal-map-heading{display:none}
 body #map-layers{top:172px!important;right:12px!important}
 body #weather-state{left:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));font-size:10px;max-width:calc(100% - 78px)}
 body #help-fab{right:12px!important;bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
 body .leaflet-top.leaflet-left{right:12px!important;bottom:calc(152px + env(safe-area-inset-bottom,0px))!important}
 body .wbn{left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;background:#fffffff5!important;border-top:1px solid #d0dfe0!important;backdrop-filter:blur(12px)!important;height:calc(76px + env(safe-area-inset-bottom,0px))!important}
 body .wbn-inner{height:76px!important;gap:2px;padding:5px!important;border-radius:0!important;max-width:none!important}
 body .wbn-tab{min-height:66px!important;gap:6px!important;border-radius:10px!important;color:#60747b!important;flex-direction:column!important}
 body .wbn-lbl{font-size:10px!important}.wbn-svg{width:21px!important;height:21px!important}
 body .wbn-tab.active{background:#fff0e9!important;color:#c34015!important}
 body .wbn-tab.active .wbn-svg{color:#c34015!important}
 body .wbn-tab.active::after{display:none}
 body #spot-panel{border-radius:18px 18px 0 0!important;box-shadow:0 -12px 40px #102f3c26!important}
 body #spot-panel .pop-hdr{padding:24px 64px 20px 22px!important}
 body #spot-panel .pop-title{font-size:30px!important}
 body #spot-panel .pop-body{padding:20px 16px!important}
 #local-preview-bar{font-size:9px;letter-spacing:0}
}
@media(max-width:360px){.explorer-direction{display:none}.explorer-row-info strong{font-size:13px}.explorer-wind b{font-size:28px}body #spot-panel .pop-title{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){.explorer-row:hover{translate:none}.windio-fx-canvas{transition:none}}
/* Les contrôles de comparaison partagent une ligne pour garder les spots à l’écran. */
.explorer-controls{display:flex;align-items:center;gap:10px}
.explorer-controls .explorer-filter{flex:1;min-width:0;width:auto;font-size:11px}
.explorer-controls .explorer-sort{flex:1.15;min-width:0;margin:0;padding:3px;background:#e7eeee;border:0;border-radius:9px}
.explorer-sort button{min-height:36px;font-size:11px;white-space:nowrap;padding:5px}
.explorer-sort button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #102f3c0c;color:var(--coast-ink)}
.explorer-note{margin:9px 0 14px}
@media(min-width:761px) and (max-height:800px){
 .explorer-intro{padding:20px 24px 22px;margin-bottom:18px}
 .explorer-eyebrow{font-size:9px;margin-bottom:12px}
 .explorer h2{font-size:36px;max-width:300px;margin:0;line-height:1.02}
 .explorer-sub{display:none}
 .explorer-destinations{margin-bottom:20px}
 .explorer-section{margin-bottom:10px}
}

/* Menu : icônes bornées et panneau au-dessus de la recherche mobile. */
body #header{z-index:1400!important}
body .wbn{z-index:1450!important}
body #header .menu-dropdown{
 position:fixed!important;top:calc(var(--explore-top) + 8px)!important;right:24px!important;
 width:min(300px,calc(100vw - 32px));min-width:0;box-sizing:border-box;
 max-height:calc(100dvh - var(--explore-top) - 96px);overflow:auto;overscroll-behavior:contain;
 background:#fff!important;color:var(--coast-ink)!important;
}
body #header .menu-item{flex-shrink:0;gap:12px;padding:11px 14px;line-height:1.35;color:var(--coast-ink);text-align:left}
body #header .menu-item:hover{background:#e8f2ef;color:var(--coast-teal)}
body #header .menu-item:focus-visible{outline:2px solid var(--coast-teal);outline-offset:-2px;background:#e8f2ef}
body #header .menu-item .menu-ico{
 display:block;width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px;
 fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
@media(max-width:760px){body #header .menu-dropdown{right:12px!important}}
