/* =====================================================================
   WANTX — Premium v85 (base graphique unique)
   Écrans maîtres : accueil Profils PC/mobile, menu « + », EN ROUTE.
   Mesures relevées sur les références validées (PC 1920×1080, mobile 390 px).
   Chargé en dernier dans le <head> (layout.php) ; les feuilles propres aux pages
   sont chargées après : d'où des sélecteurs préfixés « html body… » et quelques !important.
   ===================================================================== */
:root{
  --wx-bg:#0b0907;            /* noir carbone chaud */
  --wx-card:#16110d;          /* surface carte */
  --wx-card-2:#1e1712;
  --wx-line:rgba(255,214,150,.13);
  --wx-line-2:rgba(255,214,150,.24);
  --wx-gold:rgba(255,200,90,.55);   /* liseré doré des cartes */
  --wx-y:#ffd23a; --wx-y-2:#ffbf1a; --wx-on-y:#17110a;
  --wx-pink:#ff3d7f;          /* framboise, touches discrètes */
  --wx-txt:#f6f2ec; --wx-mut:#c7b9a8;
  --wx-ok:#35d07f;
  --wx-r:16px;
  --wx-font:Manrope,system-ui,-apple-system,"Segoe UI",sans-serif;
}

/* ---------- 0. Fond chaud commun ---------- */
html body.has-nav{--ux-bg:#0b0907;--ux-bg2:#15100c;--ux-card:#1a140f;--ux-card2:#221a14;--ux-line:rgba(255,214,150,.13);--ux-dim:#c7b9a8;--ux-dock:rgba(16,12,9,.96)}
html,html body.has-nav{background-color:var(--wx-bg)}
html body.has-nav.page-home.wx-home,
html body.has-nav[data-page="enroute.php"]{background-color:var(--wx-bg)!important;background-image:
  radial-gradient(900px 520px at 92% -8%,rgba(255,168,56,.20),transparent 62%),
  radial-gradient(760px 520px at -6% 30%,rgba(255,120,40,.08),transparent 62%),
  radial-gradient(1100px 600px at 50% 110%,rgba(255,150,50,.10),transparent 62%)!important;background-attachment:fixed!important}

/* ---------- 1. Barre du haut (PC) : texte seul, séparateurs, soulignement jaune ---------- */
@media (min-width:1000px){
  html body.has-nav header.topbar{display:flex!important;align-items:center;gap:22px;height:66px;min-height:66px;padding:0 clamp(20px,5.2vw,104px)!important;background:rgba(11,9,7,.94)!important;border-bottom:1px solid rgba(255,214,150,.10)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
  html body.has-nav header.topbar .wx-mobile-menu{display:inline-grid!important;place-items:center;width:32px;height:32px;color:var(--wx-y)!important;font-size:24px;line-height:1;text-decoration:none}
  html body.has-nav header.topbar .logo{display:inline-flex;align-items:center;margin:0 8px 0 4px}
  html body.has-nav header.topbar .logo small{display:none!important}
  html body.has-nav header.topbar .logo img.wx-header-logo{height:30px!important;width:auto!important;max-width:none}
  html body.has-nav header.topbar .desk-nav{flex:1 1 auto;display:flex!important;align-items:center;justify-content:space-between;gap:0!important;margin:0!important;padding:0 0 0 clamp(14px,1.8vw,34px)!important;border-left:1px solid rgba(255,255,255,.16);height:26px}
  html body.has-nav header.topbar .desk-nav>a{position:relative;display:inline-flex!important;align-items:center;height:26px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--wx-txt)!important;font:600 16px/1 var(--wx-font)!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap;text-decoration:none}
  html body.has-nav header.topbar .desk-nav>a svg{display:none!important}
  html body.has-nav header.topbar .desk-nav>a::before{display:none!important}
  html body.has-nav header.topbar .desk-nav>a::after{content:""!important;display:block!important;position:absolute;left:-8px;right:-8px;bottom:-20px;height:3px;border-radius:3px;background:transparent;transition:background .18s}
  html body.has-nav header.topbar .desk-nav>a:hover::after{background:rgba(255,210,58,.4)}
  html body.has-nav[data-page="home.php"] .desk-nav>a.desk-profils,html body.has-nav[data-page="discover.php"] .desk-nav>a.desk-profils,
  html body.has-nav[data-page="fil.php"] .desk-nav>a.desk-fil,
  html body.has-nav[data-page="spots.php"] .desk-nav>a.desk-spots,html body.has-nav[data-page="spot.php"] .desk-nav>a.desk-spots,
  html body.has-nav[data-page="events.php"] .desk-nav>a.desk-events,html body.has-nav[data-page="event.php"] .desk-nav>a.desk-events,
  html body.has-nav[data-page="enroute.php"] .desk-nav>a.desk-route,
  html body.has-nav[data-page="radar.php"] .desk-nav>a.desk-radar,
  html body.has-nav[data-page="forum.php"] .desk-nav>a.desk-forum,html body.has-nav[data-page="forum_topic.php"] .desk-nav>a.desk-forum,
  html body.has-nav[data-page="shop.php"] .desk-nav>a.desk-shop{font-weight:800!important;color:#fff!important}
  html body.has-nav[data-page="home.php"] .desk-nav>a.desk-profils::after,html body.has-nav[data-page="discover.php"] .desk-nav>a.desk-profils::after,
  html body.has-nav[data-page="fil.php"] .desk-nav>a.desk-fil::after,
  html body.has-nav[data-page="spots.php"] .desk-nav>a.desk-spots::after,html body.has-nav[data-page="spot.php"] .desk-nav>a.desk-spots::after,
  html body.has-nav[data-page="events.php"] .desk-nav>a.desk-events::after,html body.has-nav[data-page="event.php"] .desk-nav>a.desk-events::after,
  html body.has-nav[data-page="enroute.php"] .desk-nav>a.desk-route::after,
  html body.has-nav[data-page="radar.php"] .desk-nav>a.desk-radar::after,
  html body.has-nav[data-page="forum.php"] .desk-nav>a.desk-forum::after,html body.has-nav[data-page="forum_topic.php"] .desk-nav>a.desk-forum::after,
  html body.has-nav[data-page="shop.php"] .desk-nav>a.desk-shop::after{background:var(--wx-y)!important}
  /* séparateur après Boutique, puis bouton jaune */
  html body.has-nav header.topbar .desk-nav>a.desk-shop{margin-right:clamp(14px,1.8vw,34px)!important}
  html body.has-nav header.topbar .desk-nav>a.desk-shop::before{content:""!important;display:block!important;position:absolute;right:calc(-1 * clamp(14px,1.8vw,34px));top:0;width:1px;height:26px;background:rgba(255,255,255,.16)}
  html body.has-nav .desk-nav button.desk-explore.desk-publish{flex:none;display:inline-flex!important;align-items:center;justify-content:center;gap:10px!important;height:44px!important;min-height:44px!important;margin:0 0 0 clamp(14px,1.8vw,34px)!important;padding:0 24px 0 20px!important;border:0!important;border-radius:999px!important;background:linear-gradient(180deg,#ffdc4a,#ffc21c)!important;color:var(--wx-on-y)!important;box-shadow:0 6px 22px rgba(255,186,20,.32)!important;cursor:pointer;transform:none!important;animation:none!important}
  html body.has-nav .desk-nav button.desk-explore.desk-publish:hover,html body.has-nav .desk-nav button.desk-explore.desk-publish[aria-expanded="true"]{background:linear-gradient(180deg,#ffe36a,#ffc82e)!important;box-shadow:0 8px 28px rgba(255,186,20,.45)!important}
  html body.has-nav .desk-nav button.desk-publish .dp-plus{display:inline-block!important;width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;color:var(--wx-on-y)!important;font:700 26px/1 var(--wx-font)!important;margin-top:-2px}
  html body.has-nav .desk-nav button.desk-publish .dp-lab{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;font:800 17px/1 var(--wx-font)!important;color:var(--wx-on-y)!important;letter-spacing:0!important}
  html body.has-nav .desk-nav button.desk-publish .dp-lab::before{content:none!important}
  html body.has-nav header.topbar .wx-mobile-notify{display:inline-grid!important;place-items:center;width:40px;height:40px;margin-left:clamp(10px,1.6vw,30px);color:var(--wx-txt)}
  html body.has-nav header.topbar .wx-mobile-notify svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7}
  html body.has-nav header.topbar .account-menu{display:block!important;margin-left:6px}
  html body.has-nav header.topbar .account-menu summary{list-style:none;cursor:pointer}
  html body.has-nav header.topbar .account-menu summary::-webkit-details-marker{display:none}
  html body.has-nav header.topbar .account-menu .wx-account-initial{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;overflow:hidden;border:1.5px solid var(--wx-gold);background:#2a211a}
  html body.has-nav header.topbar .account-menu .wx-account-initial img{width:100%;height:100%;object-fit:cover}
}
@media (min-width:1000px) and (max-width:1439px){
  html body.has-nav header.topbar{gap:14px;padding:0 24px!important}
  html body.has-nav header.topbar .logo img.wx-header-logo{height:26px!important}
  html body.has-nav header.topbar .desk-nav>a{font-size:14.5px!important}
  html body.has-nav .desk-nav button.desk-explore.desk-publish{height:40px!important;min-height:40px!important;padding:0 18px 0 15px!important;gap:8px!important}
  html body.has-nav .desk-nav button.desk-publish .dp-lab{font-size:15px!important}
  html body.has-nav .desk-nav button.desk-publish .dp-plus{font-size:23px!important}
  html body.has-nav header.topbar .account-menu .wx-account-initial{width:40px;height:40px}
}
/* Petits PC : le bouton garde un libellé court plutôt que de déborder */
@media (min-width:1000px) and (max-width:1199px){
  html body.has-nav header.topbar .desk-nav>a{font-size:13.5px!important}
  html body.has-nav .desk-nav button.desk-publish .dp-lab{font-size:0!important}
  html body.has-nav .desk-nav button.desk-publish .dp-lab::after{content:"Créer";font-size:14px}
  html body.has-nav .desk-nav button.desk-explore.desk-publish{padding:0 14px 0 12px!important}
}

/* ---------- 2. Accueil Profils — PC ---------- */
@media (min-width:1000px){
  html body.page-home.wx-home main.wrap{max-width:none!important;padding:10px clamp(24px,9.2vw,178px) 40px!important}
  html body.page-home.wx-home .v4{display:block!important;max-width:1580px!important;margin:0 auto!important;padding:0!important}
  html body.page-home.wx-home .v4 .v4-top{display:flex!important;margin:0 0 14px!important;padding:0!important;min-height:0!important;background:none!important;border:0!important;position:static!important}
  html body.page-home.wx-home .v4 .v4-top .v4-logo,html body.page-home.wx-home .v4 .v4-top .v4-sq{display:none!important}
}
html body.page-home.wx-home .v4 .v4-city{display:inline-flex!important;align-items:center;gap:10px;height:50px;padding:0 18px;border-radius:14px;background:rgba(22,17,13,.85)!important;border:1px solid var(--wx-line-2)!important;color:var(--wx-txt)!important;font:700 19px/1 var(--wx-font);text-decoration:none}
html body.page-home.wx-home .v4 .v4-city svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
html body.page-home.wx-home .v4 .v4-city .v4-chev{width:18px;height:18px;opacity:.8}

.wx5-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin:0 0 26px}
.wx5-kicker{margin:0 0 6px;display:flex;align-items:center;gap:14px;color:var(--wx-y);font:800 15px/1 var(--wx-font);letter-spacing:.08em;text-transform:uppercase}
.wx5-kicker::after{content:"";width:38px;height:2px;border-radius:2px;background:var(--wx-y);opacity:.85}
.wx5-title{margin:0;font:800 52px/1.08 var(--wx-font)!important;letter-spacing:-.015em;color:var(--wx-txt)}
.wx5-title a{color:inherit!important;text-decoration:none}
.wx5-title em{font-style:normal;color:var(--wx-y);background:none;-webkit-text-fill-color:currentColor}
.wx5-sub{margin:6px 0 0;color:#ddd2c4;font:500 19px/1.3 var(--wx-font)}
html body.page-home.wx-home .v4 .wx5-chips{display:flex;flex:0 1 auto!important;justify-content:flex-start!important;flex-wrap:nowrap;gap:12px;margin:0!important;padding:0!important;overflow:visible}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;height:50px;min-height:50px;padding:0 22px!important;border-radius:999px!important;background:rgba(22,17,13,.82)!important;border:1px solid var(--wx-line-2)!important;color:var(--wx-txt)!important;font:700 17px/1 var(--wx-font)!important;white-space:nowrap;text-decoration:none;box-shadow:none!important}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip.is-dispo svg{stroke:#ff8a2b}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip .v4-dot{width:10px;height:10px;border-radius:50%;background:var(--wx-ok);box-shadow:0 0 0 3px rgba(53,208,127,.18)}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip.on{background:linear-gradient(180deg,#ffdc4a,#ffc21c)!important;border-color:transparent!important;color:var(--wx-on-y)!important;box-shadow:0 6px 20px rgba(255,186,20,.28)!important}
html body.page-home.wx-home .v4 .wx5-chips .v4-chip.on svg{stroke:var(--wx-on-y)!important}

/* Grille + rail */
html body.page-home.wx-home .v4 .wx5-main{display:grid!important;grid-template-columns:minmax(0,1fr) 421px;gap:30px;align-items:start}
.wx5-profiles{min-width:0}
html body.page-home.wx-home .v4 .v4-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:0!important;padding:0!important;overflow:visible!important;scroll-snap-type:none!important;flex-wrap:wrap!important}
html body.page-home.wx-home .v4 .v4-grid>*{flex:none!important}
html body.page-home.wx-home .v4 .v4-grid>.wxd-editorial{grid-column:span 2}

/* Carte profil */
html body.page-home.wx-home .v4 .v4-card{position:relative;width:auto!important;min-width:0;aspect-ratio:270/256;border-radius:var(--wx-r);overflow:hidden;background:var(--wx-card);border:1px solid var(--wx-gold)!important;box-shadow:0 12px 30px rgba(0,0,0,.45),0 0 18px rgba(255,170,50,.08);transition:transform .2s,box-shadow .2s,border-color .2s}
html body.page-home.wx-home .v4 .v4-card:hover{transform:translateY(-3px);border-color:rgba(255,210,58,.9)!important;box-shadow:0 16px 38px rgba(0,0,0,.5),0 0 26px rgba(255,170,50,.22)}
html body.page-home.wx-home .v4 .v4-card .v4-photo{position:absolute!important;inset:0;display:block;aspect-ratio:auto!important;border-radius:inherit;overflow:hidden}
html body.page-home.wx-home .v4 .v4-card .v4-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%;display:block}
html body.page-home.wx-home .v4 .v4-card .v4-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:58%;background:linear-gradient(180deg,rgba(14,8,4,0),rgba(14,8,4,.62) 48%,rgba(10,6,3,.93));pointer-events:none}
html body.page-home.wx-home .v4 .v4-card .v4-info{position:absolute!important;left:17px;right:14px;bottom:15px;z-index:2;display:block;padding:0!important;background:none!important}
html body.page-home.wx-home .v4 .v4-card .v4-nm{display:flex;align-items:center;gap:8px;margin:0;color:#fff;font:800 21px/1.15 var(--wx-font)!important}
html body.page-home.wx-home .v4 .v4-card .v4-nm b{font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.page-home.wx-home .v4 .v4-card .v4-info>span{display:block;margin-top:4px;color:rgba(255,244,230,.92);font:500 16px/1.2 var(--wx-font)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.page-home.wx-home .v4 .v4-card .v4-dot{flex:none;width:11px;height:11px;border-radius:50%;background:#9a948d}
html body.page-home.wx-home .v4 .v4-card .v4-dot.on{background:var(--wx-ok);box-shadow:0 0 0 3px rgba(53,208,127,.2)}
html body.page-home.wx-home .v4 .v4-card .v4-badge{position:absolute!important;z-index:3;left:17px!important;right:auto!important;top:auto!important;bottom:66px!important;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:6px;background:var(--wx-y)!important;color:var(--wx-on-y)!important;font:800 13px/1 var(--wx-font)!important;letter-spacing:.02em;box-shadow:none!important}
html body.page-home.wx-home .v4 .v4-card .v4-fav{position:absolute!important;top:14px;left:14px;z-index:4;margin:0}
html body.page-home.wx-home .v4 .v4-card .v4-fav button{display:grid;place-items:center;width:34px;height:34px;padding:0;border-radius:50%;background:rgba(12,9,7,.62)!important;border:1.5px solid rgba(255,255,255,.75)!important;backdrop-filter:blur(4px)}
html body.page-home.wx-home .v4 .v4-card .v4-fav svg{width:17px;height:17px;fill:none;stroke:#fff;stroke-width:2}
html body.page-home.wx-home .v4 .v4-card .v4-fav .on svg{fill:var(--wx-pink);stroke:var(--wx-pink)}
html body.page-home.wx-home .v4 .v4-card .wxfh-flame-btn{position:absolute!important;top:14px!important;right:14px!important;width:34px!important;height:34px!important;border-radius:50%!important;background:rgba(18,12,8,.82)!important;border:1.5px solid rgba(255,200,90,.7)!important;display:grid!important;place-items:center;padding:0!important;z-index:4}
html body.page-home.wx-home .v4 .v4-card .wxfh-flame-img{width:17px!important;height:auto!important}

/* Rail de droite */
.wx5-rail{display:flex;flex-direction:column;gap:17px;position:sticky;top:84px}
.wx5-card{position:relative;display:block;overflow:hidden;border-radius:var(--wx-r);border:1px solid var(--wx-gold);background:linear-gradient(135deg,rgba(32,24,18,.94),rgba(17,13,10,.94));color:var(--wx-txt);text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.35);transition:border-color .2s,transform .2s}
a.wx5-card:hover{border-color:var(--wx-y);transform:translateY(-2px)}
.rc-radar,.rc-route{display:flex;align-items:center;height:145px}
.rc-txt{position:relative;z-index:2;flex:1;max-width:60%;padding:0 6px 0 22px;display:flex;flex-direction:column;gap:9px}
.rc-txt b{display:flex;align-items:center;gap:11px;font:800 23px/1.1 var(--wx-font)}
.rc-txt b svg{width:26px;height:26px;flex:none;fill:none;stroke:var(--wx-y);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rc-txt small{color:#d8ccbd;font:500 16px/1.35 var(--wx-font)}
.rc-art{position:absolute;top:0;right:0;bottom:0;width:46%}
.rc-art-radar{background:
  radial-gradient(circle at 58% 52%,var(--wx-y) 0 5px,rgba(255,210,58,.35) 6px,transparent 12px),
  radial-gradient(circle at 26% 66%,var(--wx-pink) 0 3.5px,transparent 4.5px),
  radial-gradient(circle at 82% 32%,var(--wx-y) 0 3px,transparent 4px),
  repeating-radial-gradient(circle at 58% 52%,transparent 0 21px,rgba(255,200,80,.30) 21px 22px),
  radial-gradient(circle at 58% 52%,rgba(255,170,50,.22),transparent 68%);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 30%);mask-image:linear-gradient(90deg,transparent,#000 30%)}
.rc-art-route{width:52%;background:url('../images/wantx-enroute-route.svg') 50% 70%/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,transparent,#000 34%);mask-image:linear-gradient(90deg,transparent,#000 34%)}
.rc-events{padding:20px 22px 18px}
.rc-events header{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
.rc-events header b{display:flex;align-items:center;gap:11px;font:800 23px/1.1 var(--wx-font)}
.rc-events header svg{width:26px;height:26px;fill:none;stroke:var(--wx-y);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rc-events header a{display:grid;place-items:center;width:30px;height:30px;color:var(--wx-txt);font-size:28px;line-height:1;text-decoration:none}
.rc-ev{display:block;padding:10px 0;border-top:1px solid var(--wx-line);color:var(--wx-txt);text-decoration:none}
.rc-ev strong{display:block;font:700 17px/1.25 var(--wx-font)}
.rc-ev small{color:var(--wx-mut);font:500 14.5px/1.3 var(--wx-font)}
.rc-none{margin:0 0 12px;color:#d8ccbd;font:500 16px/1.35 var(--wx-font)}
.rc-all{display:inline-block;color:var(--wx-y);font:800 17px/1.2 var(--wx-font);text-decoration:none}
.wx5-quick{display:none}

/* Bandeau « À découvrir » (carrousel existant) */
html body.page-home.wx-home .v4 .wxs{margin:28px 0 0!important;border-radius:18px!important;border:1px solid var(--wx-gold)!important;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.4)}
@media (min-width:1000px){
  html body.page-home.wx-home .v4 .wxs,html body.page-home.wx-home .v4 .wxs .wxs-track,html body.page-home.wx-home .v4 .wxs .wxs-slide{min-height:252px!important;height:252px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-copy{padding:30px 40px!important;max-width:60%}
  html body.page-home.wx-home .v4 .wxs .wxs-kicker{font:800 14px/1 var(--wx-font)!important;letter-spacing:.12em!important;color:var(--wx-y)!important;margin:0 0 12px!important}
  html body.page-home.wx-home .v4 .wxs h2{font:800 44px/1.05 var(--wx-font)!important;margin:0 0 12px!important;color:#fff!important}
  html body.page-home.wx-home .v4 .wxs .wxs-meta{font:500 19px/1.35 var(--wx-font)!important;color:#efe5d8!important;margin:0 0 18px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-cta{height:48px;padding:0 28px!important;font:800 18px/48px var(--wx-font)!important;border-radius:999px!important;background:linear-gradient(180deg,#ffdc4a,#ffc21c)!important;color:var(--wx-on-y)!important;box-shadow:0 6px 22px rgba(255,186,20,.3)!important}
}
html body.page-home.wx-home .v4 .wxs .wxs-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,7,5,.94) 0%,rgba(10,7,5,.72) 42%,rgba(10,7,5,.12) 78%)}

/* ---------- 3. Panneau « + » ---------- */
html body.has-nav #wx-fabmenu.wx-xsheet{color:var(--wx-txt);background:radial-gradient(70% 60% at 50% 0,rgba(255,176,64,.12),transparent 70%),linear-gradient(180deg,#1a1410,#0e0b08)!important;border:1.5px solid rgba(255,200,80,.78)!important;box-shadow:0 0 0 1px rgba(255,200,80,.12),0 0 46px rgba(255,170,50,.22),0 30px 80px rgba(0,0,0,.7)!important}
html body.has-nav #wx-fabmenu .xm-logo{display:block}
html body.has-nav #wx-fabmenu .x-head h2{font-style:normal!important;font-weight:800!important;color:#fff;letter-spacing:-.01em}
html body.has-nav #wx-fabmenu .x-head p{color:#d8ccbd!important}
html body.has-nav #wx-fabmenu .x-close{display:grid;place-items:center;border-radius:50%;border:1.5px solid rgba(255,255,255,.7)!important;background:rgba(10,8,6,.6)!important;color:#fff}
html body.has-nav #wx-fabmenu .x-close svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
html body.has-nav #wx-fabmenu .xn-card,
html body.has-nav #wx-fabmenu .xn-card.c-route,html body.has-nav #wx-fabmenu .xn-card.c-plan,html body.has-nav #wx-fabmenu .xn-card.c-now,
html body.has-nav #wx-fabmenu .xn-card.c-event,html body.has-nav #wx-fabmenu .xn-card.c-venue,html body.has-nav #wx-fabmenu .xn-card.c-fil{--a:#ffd23a;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid rgba(255,214,150,.20)!important;background:linear-gradient(180deg,#1d1612,#120e0b)!important;box-shadow:none!important;animation:none!important;transform:none;color:#fff;text-decoration:none}
html body.has-nav #wx-fabmenu .xn-card.c-route{border:1.5px solid rgba(255,206,70,.95)!important;box-shadow:0 0 0 1px rgba(255,206,70,.25),0 0 26px rgba(255,186,40,.30)!important}
html body.has-nav #wx-fabmenu .xn-card:hover,html body.has-nav #wx-fabmenu .xn-card:focus-visible{border-color:var(--wx-y)!important;transform:translateY(-2px)}
html body.has-nav #wx-fabmenu .xn-ico{display:grid;place-items:center;margin:0 auto;color:var(--wx-y)}
html body.has-nav #wx-fabmenu .xn-ico svg{fill:none;stroke:var(--wx-y);stroke-width:2.2;filter:none!important}
html body.has-nav #wx-fabmenu .xn-ico svg .f{fill:rgba(255,61,127,.75);stroke:var(--wx-pink)}
html body.has-nav #wx-fabmenu .xn-ico img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.55))}
html body.has-nav #wx-fabmenu .xn-card b{display:block;color:#fff;font-weight:700!important;text-shadow:none;white-space:nowrap}
html body.has-nav #wx-fabmenu .xn-card small{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;border:1.5px solid rgba(255,206,70,.8)!important;border-radius:999px!important;background:rgba(255,206,70,.06)!important;color:var(--wx-y)!important;font-weight:700!important;letter-spacing:0!important}
html body.has-nav #wx-fabmenu .xm-more summary{color:#fff}
html body.has-nav #wx-fabmenu .xm-more summary::after{border-color:var(--wx-y)!important}
html body.has-nav #wx-fabmenu .xm-chip,html body.has-nav #wx-fabmenu .xm-chip[class]{display:inline-flex!important;align-items:center;gap:10px;border-radius:999px!important;background:rgba(20,15,11,.7)!important;border:1.5px solid rgba(255,206,70,.45)!important;color:#fff!important;font-weight:700!important;white-space:nowrap;text-decoration:none}
html body.has-nav #wx-fabmenu .xm-chip svg{fill:none;stroke:var(--wx-y)!important;stroke-width:1.9;flex:none}
html body.has-nav #wx-fabmenu .xm-chip:hover{border-color:var(--wx-y)!important}
html body.has-nav .wx-xveil.is-open{background:rgba(6,4,3,.55)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}

/* PC : grande fenêtre centrée, mise à l'échelle de 1920 vers le bas */
@media (min-width:1000px){
  html body.has-nav #wx-fabmenu.wx-xsheet{--u:min(1px,calc(100vw / 1920));position:fixed!important;left:50%!important;right:auto!important;bottom:auto!important;top:max(80px,calc(50vh - 345 * var(--u)))!important;width:calc(1460 * var(--u))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100vh - 96px)!important;overflow:auto;padding:calc(48 * var(--u)) calc(50 * var(--u)) calc(40 * var(--u))!important;border-radius:calc(32 * var(--u))!important;transform:translateX(-50%) translateY(10px)!important}
  html body.has-nav #wx-fabmenu.wx-xsheet.is-open{transform:translateX(-50%)!important}
  html body.has-nav #wx-fabmenu .xm-logo,html body.has-nav #wx-fabmenu .x-grab{display:none!important}
  html body.has-nav #wx-fabmenu .x-head{display:flex!important;align-items:center;justify-content:flex-start;gap:calc(28 * var(--u));margin:0 0 calc(30 * var(--u))!important;padding:0 calc(80 * var(--u)) 0 0!important;text-align:left;position:relative}
  html body.has-nav #wx-fabmenu .x-head h2{margin:0!important;font-size:calc(41 * var(--u))!important;line-height:1.1!important;white-space:nowrap}
  html body.has-nav #wx-fabmenu .x-head p{margin:0!important;padding:0 0 0 calc(28 * var(--u))!important;border-left:1.5px solid rgba(255,255,255,.35)!important;font:italic 500 calc(21 * var(--u))/1.3 var(--wx-font)!important;white-space:nowrap}
  html body.has-nav #wx-fabmenu .x-close{position:absolute!important;top:50%!important;right:0!important;transform:translateY(-50%);width:calc(62 * var(--u))!important;height:calc(62 * var(--u))!important}
  html body.has-nav #wx-fabmenu .x-close svg{width:calc(26 * var(--u));height:calc(26 * var(--u))}
  html body.has-nav #wx-fabmenu .xn-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:calc(18 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-card{height:calc(281 * var(--u))!important;min-height:0!important;padding:calc(16 * var(--u)) calc(8 * var(--u))!important;gap:calc(8 * var(--u))!important;border-radius:calc(22 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-ico{width:calc(112 * var(--u))!important;height:calc(112 * var(--u))!important;margin-bottom:calc(6 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-ico svg{width:calc(100 * var(--u))!important;height:calc(100 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-card b{font-size:calc(25 * var(--u))!important;line-height:1.15!important}
  html body.has-nav #wx-fabmenu .xn-card small{height:calc(40 * var(--u));padding:0 calc(18 * var(--u))!important;margin-top:calc(6 * var(--u))!important;font-size:calc(19 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xm-more{margin:calc(30 * var(--u)) 0 0!important;padding:calc(28 * var(--u)) 0 0!important;border:0!important;border-top:1px solid rgba(255,214,150,.18)!important;border-radius:0!important;background:none!important}
  html body.has-nav #wx-fabmenu .xm-more summary{min-height:0!important;padding:0!important;margin:0 0 calc(22 * var(--u))!important;font:800 calc(30 * var(--u))/1.1 var(--wx-font)!important;pointer-events:none}
  html body.has-nav #wx-fabmenu .xm-more summary::after{display:none!important}
  html body.has-nav #wx-fabmenu .xm-chips{display:flex!important;flex-wrap:wrap;gap:calc(18 * var(--u)) calc(16 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xm-chip{height:calc(56 * var(--u));padding:0 calc(26 * var(--u))!important;font-size:calc(21 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xm-chip svg{width:calc(26 * var(--u));height:calc(26 * var(--u))}
}

/* ---------- 4. Téléphone (≤ 999 px) ---------- */
@media (max-width:999px){
  /* Barre du haut visible aussi sur l'accueil : ☰ · logo centré · messages */
  html body.has-nav header.topbar,html body.has-nav.page-home header.topbar{display:grid!important;grid-template-columns:44px 1fr 44px;align-items:center;height:48px;min-height:48px;padding:0 10px!important;position:sticky;top:0;z-index:60;background:rgba(11,9,7,.95)!important;border-bottom:1px solid rgba(255,214,150,.10)!important;backdrop-filter:blur(12px)}
  html body.has-nav header.topbar .wx-mobile-menu{display:grid!important;place-items:center;width:40px;height:40px;color:var(--wx-y)!important;font-size:24px;line-height:1;text-decoration:none}
  html body.has-nav header.topbar .logo{justify-self:center;display:inline-flex;align-items:center;margin:0}
  html body.has-nav header.topbar .logo small{display:none!important}
  html body.has-nav header.topbar .logo img.wx-header-logo{height:25px!important;width:auto!important}
  html body.has-nav header.topbar .desk-nav,html body.has-nav header.topbar .account-menu{display:none!important}
  html body.has-nav header.topbar .wx-mobile-notify{display:grid!important;place-items:center;width:40px;height:40px;justify-self:end;color:var(--wx-txt)}
  html body.has-nav header.topbar .wx-mobile-notify svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}
  /* bandeau « Photo absente » : une ligne discrète */
  html body.has-nav .wx-nudge{display:flex;align-items:center;gap:10px;min-height:34px!important;height:auto;margin:8px 0 10px!important;padding:6px 12px!important;border-radius:11px!important;background:rgba(30,23,18,.9)!important;border:1px solid var(--wx-line-2)!important;font:500 13px/1.25 var(--wx-font)!important;color:#efe5d8}
  html body.has-nav .wx-nudge b{font-weight:800;color:#fff}
  html body.has-nav .wx-nudge .wx-nudge-dot{width:8px;height:8px}
  html body.has-nav .wx-nudge .wx-nudge-go{font-size:18px}

  html body.page-home.wx-home main.wrap{padding:0 13px 96px!important;max-width:none!important}
  html body.page-home.wx-home .v4{display:flex!important;flex-direction:column;padding:0!important;margin:0!important}
  html body.page-home.wx-home .v4>*{order:6}
  html body.page-home.wx-home .v4>.v4-top{order:0}
  html body.page-home.wx-home .v4>.wx5-head{order:1}
  html body.page-home.wx-home .v4>.wx5-quick{order:2}
  html body.page-home.wx-home .v4>.wx5-main{order:3}
  html body.page-home.wx-home .v4>.wxs{order:4}
  html body.page-home.wx-home .v4 .v4-top{display:flex!important;align-items:center;gap:8px;height:auto;min-height:0!important;margin:2px 3px 12px!important;padding:0!important;background:none!important;border:0!important;position:static!important}
  html body.page-home.wx-home .v4 .v4-top .v4-logo{display:inline-flex!important;margin-right:auto}
  html body.page-home.wx-home .v4 .v4-top .v4-logo img{height:22px!important;width:auto!important}
  html body.page-home.wx-home .v4 .v4-city{height:32px!important;padding:0 11px!important;gap:7px!important;border-radius:9px!important;font-size:14px!important}
  html body.page-home.wx-home .v4 .v4-city svg{width:16px!important;height:16px!important}
  html body.page-home.wx-home .v4 .v4-city .v4-chev{width:14px!important;height:14px!important}
  html body.page-home.wx-home .v4 .v4-top .v4-sq{display:grid!important;place-items:center;width:40px;height:32px;border-radius:9px;background:rgba(22,17,13,.85)!important;border:1px solid var(--wx-line-2)!important;color:var(--wx-txt)}
  html body.page-home.wx-home .v4 .v4-top .v4-sq svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
  .wx5-head{display:block;margin:0 3px 10px}
  .wx5-kicker{font-size:11px;gap:10px;margin-bottom:6px}
  .wx5-kicker::after{width:28px;height:1.5px}
  .wx5-title{font-size:25px!important;line-height:1.12}
  .wx5-sub{font-size:13px;margin:4px 0 12px;color:#d8ccbd}
  html body.page-home.wx-home .v4 .wx5-chips{gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:auto;margin:0!important}
  html body.page-home.wx-home .v4 .wx5-chips::-webkit-scrollbar{display:none}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip{height:32px;min-height:32px;padding:0 12px!important;gap:6px;font-size:13px!important;flex:none}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip svg{width:15px;height:15px}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip .v4-dot{width:9px;height:9px}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip.is-filters{display:none!important}
  .wx5-quick{display:flex;gap:6px;margin:0 0 12px}
  .wx5-quick a{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:50px;min-width:0;padding:0 6px;border-radius:10px;background:rgba(26,20,15,.85);border:1px solid rgba(255,200,90,.42);color:var(--wx-txt);font:700 11.5px/1 var(--wx-font);text-decoration:none;text-align:center}
  .wx5-quick a svg{width:19px;height:19px;flex:none;fill:none;stroke:var(--wx-y);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .wx5-quick a span{white-space:nowrap}
  html body.page-home.wx-home .v4 .wx5-main{display:block!important}
  .wx5-rail{display:none}
  html body.page-home.wx-home .v4 .v4-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  html body.page-home.wx-home .v4 .v4-card{aspect-ratio:178/150;border-radius:12px}
  html body.page-home.wx-home .v4 .v4-card .v4-info{left:11px;right:8px;bottom:9px}
  html body.page-home.wx-home .v4 .v4-card .v4-nm{font-size:16px!important;gap:6px}
  html body.page-home.wx-home .v4 .v4-card .v4-info>span{font-size:13px!important;margin-top:2px}
  html body.page-home.wx-home .v4 .v4-card .v4-dot{width:9px;height:9px}
  html body.page-home.wx-home .v4 .v4-card .v4-badge{left:11px!important;bottom:48px!important;height:18px;padding:0 7px;font-size:11px!important;border-radius:5px}
  html body.page-home.wx-home .v4 .v4-card .v4-fav{top:9px;left:9px}
  html body.page-home.wx-home .v4 .v4-card .v4-fav button{width:30px;height:30px}
  html body.page-home.wx-home .v4 .v4-card .v4-fav svg{width:15px;height:15px}
  html body.page-home.wx-home .v4 .v4-card .wxfh-flame-btn{top:9px!important;right:9px!important;width:30px!important;height:30px!important}
  html body.page-home.wx-home .v4 .v4-card .wxfh-flame-img{width:15px!important}
  html body.page-home.wx-home .v4 .wxs{margin-top:18px!important}

  /* Dock du bas */
  html body.has-nav .wx-xdock{background:rgba(14,11,8,.97)!important;border-top:1px solid rgba(255,214,150,.12)!important}
  html body.has-nav .wx-xfab{background:linear-gradient(180deg,#ffdc4a,#ffc21c)!important;color:var(--wx-on-y)!important;box-shadow:0 0 0 5px rgba(255,200,40,.14),0 8px 24px rgba(255,186,20,.35)!important}

  /* Menu « + » : feuille flottante au-dessus du dock, deux colonnes, sans défilement caché */
  html body.has-nav #wx-fabmenu.wx-xsheet{left:8px!important;right:8px!important;width:auto!important;bottom:calc(var(--x-dock-h,64px) + env(safe-area-inset-bottom,0px) + 8px)!important;top:auto!important;max-height:calc(100dvh - var(--x-dock-h,64px) - 64px)!important;overflow-y:auto;padding:10px 16px 16px!important;border-radius:22px!important}
  html body.has-nav #wx-fabmenu .x-head{display:block!important;position:relative;margin:0 0 12px!important;padding:12px 40px 0!important;text-align:center}
  html body.has-nav #wx-fabmenu .xm-logo{display:block!important;margin:0 auto 10px!important;height:19px!important;width:auto!important}
  html body.has-nav #wx-fabmenu .x-head h2{margin:0!important;font-size:18px!important;line-height:1.2!important}
  html body.has-nav #wx-fabmenu .x-head p{margin:4px 0 0!important;font:500 12.5px/1.3 var(--wx-font)!important;font-style:normal!important;border:0!important;padding:0!important}
  html body.has-nav #wx-fabmenu .x-close{position:absolute!important;top:4px!important;right:-4px!important;width:34px!important;height:34px!important}
  html body.has-nav #wx-fabmenu .x-close svg{width:16px;height:16px}
  html body.has-nav #wx-fabmenu .xn-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body.has-nav #wx-fabmenu .xn-card{height:96px!important;min-height:0!important;padding:6px 6px 8px!important;gap:3px!important;border-radius:14px!important}
  html body.has-nav #wx-fabmenu .xn-ico{width:40px!important;height:40px!important;margin:0 auto 1px!important}
  html body.has-nav #wx-fabmenu .xn-ico svg{width:36px!important;height:36px!important}
  html body.has-nav #wx-fabmenu .xn-card b{font-size:14.5px!important;line-height:1.15!important}
  html body.has-nav #wx-fabmenu .xn-card small{height:20px;padding:0 10px!important;margin-top:2px!important;font-size:11.5px!important;border-width:1.2px!important}
  html body.has-nav #wx-fabmenu .xm-more{margin:10px 0 0!important;padding:0 14px!important;border:1px solid rgba(255,214,150,.18)!important;border-radius:14px!important;background:rgba(255,214,150,.04)!important}
  html body.has-nav #wx-fabmenu .xm-more summary{min-height:44px!important;font:800 15px/1 var(--wx-font)!important}
  html body.has-nav #wx-fabmenu .xm-chips{display:flex!important;flex-wrap:wrap;gap:8px!important;padding:0 0 12px!important}
  html body.has-nav #wx-fabmenu .xm-chip{height:36px;padding:0 13px!important;font-size:13px!important}
  html body.has-nav #wx-fabmenu .xm-chip svg{width:17px;height:17px}
}

/* ---------- 5. EN ROUTE ---------- */
html body.has-nav[data-page="enroute.php"] main.wrap{max-width:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er{max-width:1120px;margin:0 auto!important;background:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero{position:relative!important;overflow:hidden!important;display:flex!important;flex-direction:column;align-items:center;text-align:center;margin:0 0 14px!important;padding:18px 10px 10px!important;border-radius:14px!important;border:1.5px solid rgba(255,200,80,.8)!important;box-shadow:0 0 0 1px rgba(255,200,80,.12),0 0 28px rgba(255,170,50,.20)!important;background:
  linear-gradient(180deg,rgba(14,8,10,0) 40%,rgba(14,8,10,.15) 70%,rgba(10,7,5,.55) 100%),
  url('../images/wantx-enroute-route.svg') 50% 100%/cover no-repeat,
  #1a0c14!important;min-height:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::before{content:"";position:absolute;inset:0 0 auto 0;height:62%;background:linear-gradient(180deg,rgba(16,8,12,.96),rgba(30,10,24,.82) 55%,rgba(30,10,24,0));pointer-events:none;z-index:0}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero>*{position:relative;z-index:1}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::after{display:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-kicker{margin:0 0 10px!important;color:#f3ebe2!important;font:600 12px/1.2 var(--wx-font)!important;letter-spacing:.01em!important;text-transform:none!important;white-space:nowrap}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;margin:0!important;padding:0 0 12px!important;position:relative;font:900 34px/1 var(--wx-font)!important;letter-spacing:-.01em!important;color:#fff!important;text-shadow:none!important;background:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1::before{content:"";width:24px;height:30px;flex:none;background:var(--wx-pink);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.4 0 0 5.300 0 11.900 0 20.800 12 30 12 30s12-9.200 12-18.100C24 5.300 18.600 0 12 0Zm0 16.500a4.600 4.600 0 1 1 0-9.200 4.600 4.600 0 0 1 0 9.200Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.4 0 0 5.300 0 11.900 0 20.800 12 30 12 30s12-9.200 12-18.100C24 5.300 18.600 0 12 0Zm0 16.500a4.600 4.600 0 1 1 0-9.200 4.600 4.600 0 0 1 0 9.200Z'/%3E%3C/svg%3E") center/contain no-repeat}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1::after{content:"";position:absolute;left:50%;bottom:0;width:86px;height:3px;margin-left:-28px;border-radius:3px;background:var(--wx-y)}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1 em{font-style:normal!important;color:var(--wx-y)!important;background:none!important;-webkit-text-fill-color:currentColor!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tag{margin:10px 0 0!important;color:#fff!important;font:500 13.5px/1.3 var(--wx-font)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe{margin:8px 0 0!important;color:var(--wx-pink)!important;font:italic 800 16px/1.2 var(--wx-font)!important;background:none!important;-webkit-text-fill-color:currentColor!important;text-shadow:0 1px 10px rgba(0,0,0,.5)}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-free,html body.has-nav[data-page="enroute.php"] #er-top.er .er-more{display:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-free,html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-more{display:block!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero nav{display:grid!important;grid-template-columns:1.06fr 1fr 1fr;gap:6px;width:100%;margin:62px 0 0!important;padding:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;height:46px;min-height:46px;margin:0!important;padding:0 8px!important;border-radius:999px!important;font:800 12.5px/1.12 var(--wx-font)!important;text-align:left;white-space:normal;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;transform:none!important;animation:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-yellow{background:linear-gradient(180deg,#ffdc4a,#ffc21c)!important;color:var(--wx-on-y)!important;border:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-magenta,html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-ghost{background:rgba(10,7,6,.55)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.85)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-ghost::before{content:"";width:20px;height:20px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Ccircle cx='4.5' cy='6' r='1' fill='black'/%3E%3Ccircle cx='4.5' cy='12' r='1' fill='black'/%3E%3Ccircle cx='4.5' cy='18' r='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Ccircle cx='4.5' cy='6' r='1' fill='black'/%3E%3Ccircle cx='4.5' cy='12' r='1' fill='black'/%3E%3Ccircle cx='4.5' cy='18' r='1' fill='black'/%3E%3C/svg%3E") center/contain no-repeat}
/* Tuiles 2×2 */
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tiles{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 16px!important;padding:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:0!important;height:auto;padding:8px 6px 12px!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(30,22,16,.95),rgba(14,10,8,.95))!important;border:1.5px solid rgba(255,200,80,.8)!important;box-shadow:0 0 18px rgba(255,170,50,.12)!important;color:#fff!important;text-align:center;text-decoration:none;transform:none!important;animation:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-pink,html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-violet{border-color:rgba(255,61,127,.78)!important;box-shadow:0 0 18px rgba(255,61,127,.14)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-cyan{border-color:rgba(255,200,80,.8)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile b{font:800 17px/1.15 var(--wx-font)!important;color:#fff!important;margin:4px 0 0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile small{font:500 13px/1.25 var(--wx-font)!important;color:#e6dacb!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-car{width:118px!important;height:62px!important;margin:0 auto!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-ico{display:grid!important;place-items:center;width:44px;height:44px;margin:4px auto 0!important;background:none!important;border:0!important;box-shadow:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-ico svg{width:40px;height:40px;fill:none;stroke-width:1.7}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-violet .er-tile-ico svg{stroke:var(--wx-pink)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-cyan .er-tile-ico svg{stroke:var(--wx-y)!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-violet small,html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-cyan small{display:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-violet,html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-cyan{padding:14px 6px 16px!important}
@media (max-width:999px){
  html body.has-nav[data-page="enroute.php"] main.wrap{padding:0 16px 96px!important}
}
@media (min-width:1000px){
  html body.has-nav[data-page="enroute.php"] main.wrap{padding:14px 32px 48px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero{padding:30px 40px 26px!important;min-height:420px!important;border-radius:20px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-kicker{font-size:15px!important;margin-bottom:14px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1{font-size:60px!important;gap:16px;padding-bottom:18px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1::before{width:38px;height:48px}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1::after{width:130px;height:4px;margin-left:-40px}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tag{font-size:19px!important;margin-top:16px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe{font-size:24px!important;margin-top:10px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero nav{width:auto;grid-template-columns:repeat(3,auto);gap:14px;margin-top:120px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn{height:54px;min-height:54px;padding:0 26px!important;font-size:16px!important;white-space:nowrap}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tiles{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile{height:176px!important;padding:12px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-violet,html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile.is-cyan{padding:12px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile b{font-size:19px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-car{width:150px!important;height:80px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-ico{width:58px;height:58px}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-ico svg{width:52px;height:52px}
}
@media (prefers-reduced-motion:reduce){
  html body.page-home.wx-home .v4 .v4-card,.wx5-card,html body.has-nav #wx-fabmenu .xn-card{transition:none}
}

/* =====================================================================
   v3 — corrections après comparaison référence / rendu réel
   ===================================================================== */
/* Accueil PC : en-tête plus compact, filtres centrés sur le titre */
@media (min-width:1000px){
  .wx5-head{align-items:center;margin:0 0 18px}
  .wx5-kicker{margin-bottom:4px}
  .wx5-title{line-height:1.02!important}
  .wx5-sub{margin-top:4px}
  html body.page-home.wx-home .v4 .v4-top{margin-bottom:10px!important}
  /* bandeau : contenu en haut, points en bas à gauche, flèches en bas à droite */
  html body.page-home.wx-home .v4 .wxs .wxs-slide{position:relative}
  html body.page-home.wx-home .v4 .wxs .wxs-copy{position:absolute!important;left:0;top:0;bottom:auto!important;display:flex!important;flex-direction:column;justify-content:flex-start!important;align-items:flex-start;padding:30px 40px 0!important;z-index:2}
  html body.page-home.wx-home .v4 .wxs .wxs-copy .wxs-meta{display:block}
  html body.page-home.wx-home .v4 .wxs .wxs-ui{position:absolute!important;left:40px!important;right:22px!important;bottom:16px!important;top:auto!important;display:flex!important;align-items:center;justify-content:space-between;z-index:3}
  html body.page-home.wx-home .v4 .wxs .wxs-arrows button{width:44px;height:44px}
}
/* Menu « + » PC : pictogrammes et puces au gabarit de la référence */
@media (min-width:1000px){
  html body.has-nav #wx-fabmenu .xn-ico{width:calc(138 * var(--u))!important;height:calc(124 * var(--u))!important;margin-bottom:calc(4 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-ico svg{width:calc(124 * var(--u))!important;height:calc(124 * var(--u))!important}
  html body.has-nav #wx-fabmenu .c-route .xn-ico img{width:calc(138 * var(--u))!important;height:calc(124 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xn-card{gap:calc(6 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xm-chip{height:calc(60 * var(--u));padding:0 calc(28 * var(--u))!important;font-size:calc(23 * var(--u))!important}
  html body.has-nav #wx-fabmenu .xm-chip svg{width:calc(28 * var(--u));height:calc(28 * var(--u))}
}
/* Accueil mobile : proportions relevées sur la référence 390 px */
@media (max-width:999px){
  html body.has-nav header.topbar,html body.has-nav.page-home header.topbar{height:40px!important;min-height:40px!important}
  html body.has-nav header.topbar .logo img.wx-header-logo{height:23px!important}
  html body.has-nav header.topbar .wx-mobile-menu{font-size:22px}
  html body.has-nav header.topbar .wx-mobile-notify svg{width:23px;height:23px}
  html body.has-nav .wx-nudge{min-height:30px!important;margin:7px 0 9px!important;padding:5px 12px!important;font-size:12.5px!important}
  html body.page-home.wx-home .v4 .v4-top{margin:0 0 12px!important}
  html body.page-home.wx-home .v4 .v4-top .v4-logo img{content:url('../images/brand/wantx-logo-officiel-640.png');height:24px!important;width:auto!important}
  html body.page-home.wx-home .v4 .v4-city{height:29px!important;font-size:13.5px!important}
  html body.page-home.wx-home .v4 .v4-top .v4-sq{width:38px;height:29px}
  .wx5-kicker{font-size:10.5px;margin-bottom:5px}
  .wx5-title{font-size:24px!important}
  .wx5-sub{font-size:12.5px;margin:3px 0 10px}
  html body.page-home.wx-home .v4 .wx5-chips{gap:5px}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip{height:29px;min-height:29px;padding:0 10px!important;gap:5px;font-size:12.5px!important}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip svg{width:14px;height:14px}
  .wx5-quick{gap:5px;margin:0 0 12px}
  .wx5-quick a{height:48px;padding:0 5px;font-size:10.5px}
  .wx5-quick a svg{width:18px;height:18px}
  html body.page-home.wx-home .v4 .v4-grid{gap:8px!important}
  /* Menu « + » mobile */
  html body.has-nav #wx-fabmenu.wx-xsheet .x-head{padding:10px 30px 0!important;margin-bottom:12px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .x-head h2{font-size:17px!important;white-space:nowrap}
  html body.has-nav #wx-fabmenu.wx-xsheet .x-close{width:32px!important;height:32px!important;top:8px!important;right:-6px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-card{height:100px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-ico{width:48px!important;height:44px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-ico svg{width:44px!important;height:44px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .c-route .xn-ico img{width:56px!important;height:44px!important}
}
/* EN ROUTE mobile : bloc pleine largeur, boutons sans césure mot à mot */
html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe::after{display:none!important;content:none!important}
@media (max-width:999px){
  html body.has-nav[data-page="enroute.php"] #er-top.er{padding:0!important;max-width:none}
  html body.has-nav[data-page="enroute.php"] main.wrap{padding:0 16px 96px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero{padding:16px 8px 9px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-kicker{margin-bottom:8px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero h1{font-size:33px!important;padding-bottom:9px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tag{margin-top:9px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe{margin-top:9px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav{grid-template-columns:1.05fr 1fr 1fr!important;gap:6px!important;margin-top:66px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn{width:100%;min-height:44px!important;height:44px;padding:0 6px!important;gap:6px!important;font:800 12.5px/1.12 var(--wx-font)!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn svg{width:19px!important;height:19px!important;flex:0 0 19px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn:first-child{grid-column:auto!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tiles{gap:8px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile{padding:6px 6px 10px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile .er-tile-car{width:104px!important;height:58px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile b{font-size:16.5px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-tile small{font-size:12.5px!important}
}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-btn.is-yellow::after{display:none!important}
/* v3b — bandeau : pas d'espacement hérité ; menu + : pictogrammes au gabarit ; mobile : en-tête resserré */
@media (min-width:1000px){
  html body.page-home.wx-home .v4 .wxs .wxs-copy{gap:0!important;row-gap:0!important;padding-top:28px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-copy>*{margin-top:0!important}
  html body.page-home.wx-home .v4 .wxs .wxs-kicker{margin-bottom:12px!important}
  html body.page-home.wx-home .v4 .wxs h2{margin-bottom:10px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-meta{margin-bottom:18px!important}
  html body.has-nav #wx-fabmenu .xn-ico{transform:scale(1.16);transform-origin:50% 60%}
}
@media (max-width:999px){
  html body.page-home.wx-home .v4 .v4-top{margin:0 0 7px!important}
  .wx5-kicker{margin-bottom:3px}
  .wx5-title{line-height:1.05!important}
  .wx5-sub{margin:2px 0 9px}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::before{height:48%}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav{margin-top:54px!important}
}
/* v3c — largeur utile à 1366 (pas de texte tronqué), points du bandeau sous le bouton */
@media (min-width:1000px){
  html body.page-home.wx-home main.wrap{padding:10px max(24px,calc((100vw - 1580px) / 2)) 40px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-copy{padding-top:24px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-kicker{margin-bottom:10px!important}
  html body.page-home.wx-home .v4 .wxs h2{font-size:42px!important;margin-bottom:8px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-meta{margin-bottom:16px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-ui{bottom:12px!important}
  html body.page-home.wx-home .v4 .wxs .wxs-dots{position:static!important;margin:0!important}
}
@media (min-width:1000px) and (max-width:1599px){
  html body.page-home.wx-home .v4 .wx5-main{grid-template-columns:minmax(0,1fr) 380px}
  html body.page-home.wx-home .v4 .v4-card .v4-nm{font-size:19px!important}
  html body.page-home.wx-home .v4 .v4-card .v4-info>span{font-size:15px!important}
  .wx5-title{font-size:46px!important}
  html body.page-home.wx-home .v4 .wx5-chips .v4-chip{height:46px;min-height:46px;padding:0 18px!important;font-size:16px!important}
}
/* v3d — EN ROUTE : aucun texte incliné, voile du haut sans forme héritée, trois boutons sur une ligne (PC) */
html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe{transform:none!important;rotate:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::before{left:0!important;right:0!important;top:0!important;width:auto!important;border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important;animation:none!important;opacity:1!important;border:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::after{content:none!important}
@media (min-width:1000px){
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav{display:flex!important;justify-content:center;flex-wrap:nowrap;gap:14px!important;width:auto!important;margin-top:150px!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn{width:auto!important;flex:none!important;height:54px!important;min-height:54px!important;padding:0 28px!important;font:800 16px/1 var(--wx-font)!important;white-space:nowrap}
}
/* v3e — EN ROUTE mobile : horizon plus bas (phrase rose sur le ciel), bouton « Je cherche » sans double anneau */
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-magenta::before,html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-magenta::after{content:none!important;display:none!important}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn.is-magenta{outline:0!important}
@media (max-width:999px){
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero{background:linear-gradient(180deg,rgba(14,8,10,0) 60%,rgba(10,7,5,.45) 100%),url('../images/wantx-enroute-route.svg') 50% 100%/100% auto no-repeat,#12090f!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::before{height:40%!important;background:linear-gradient(180deg,rgba(16,8,12,.9),rgba(16,8,12,0))!important}
}
@media (max-width:999px){ html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn.is-ghost{white-space:nowrap} }
/* v3f — 1000-1279 px : trois colonnes (aucun texte tronqué) ; EN ROUTE vues secondaires propres */
@media (min-width:1000px) and (max-width:1279px){
  html body.page-home.wx-home .v4 .wx5-main{grid-template-columns:minmax(0,1fr) 320px;gap:24px}
  html body.page-home.wx-home .v4 .v4-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .rc-txt b,.rc-events header b{font-size:20px}
  .rc-txt small,.rc-none{font-size:14.5px}
}
html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero .er-btn{text-align:center!important}
html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-hero>nav{margin-top:16px!important}
html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-more{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:12px 0 0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-more .er-join{margin:0!important}
html body.has-nav[data-page="enroute.php"] #er-top.er.is-compact .er-free{margin:10px 0 0!important;color:#efe5d8!important;font:500 13.5px/1.35 var(--wx-font)!important}
@media (max-width:999px){
  html body.has-nav #wx-fabmenu.wx-xsheet button.x-close{width:36px!important;height:36px!important;min-width:0!important;min-height:0!important;top:6px!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .x-head p{display:block!important;visibility:visible!important;color:#d8ccbd!important}
}
@media (max-width:999px){ html body.has-nav #wx-fabmenu.wx-xsheet .xn-card small{height:22px!important;line-height:1!important;padding:0 11px!important;font-size:11.5px!important;box-sizing:border-box} }

/* =====================================================================
   v4 — finitions mobile validées (accueil, menu +, EN ROUTE). PC inchangé.
   ===================================================================== */
@media (max-width:999px){
  /* 1. Accueil : un seul logo (barre du haut) ; ville à gauche, filtres à droite */
  html body.page-home.wx-home .v4 .v4-top .v4-logo{display:none!important}
  html body.page-home.wx-home .v4 .v4-top{justify-content:space-between;margin:0 0 10px!important}
  /* 2. Portraits : cadrage par le haut, aucune tête coupée, aucune déformation (object-fit: cover) */
  html body.page-home.wx-home .v4 .v4-card .v4-photo img{object-position:center 12%!important}
  /* 3. Menu + : une seule croix (dans le panneau) ; le bouton central reste un « + » identifiable, dock lisible */
  html body.has-nav .wx-xfab .wx-fab-close{display:none!important}
  html body.has-nav .wx-xfab .wx-fab-open{display:block!important;opacity:1!important;transform:none!important}
  html body.has-nav .wx-xveil{bottom:calc(var(--x-dock-h,64px) + env(safe-area-inset-bottom,0px))!important}
  /* 4. EN ROUTE : route photographique au coucher du soleil (visuel de référence fourni par le propriétaire) */
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero{background:url('../images/wantx-enroute-route-m.jpg') 50% 100%/cover no-repeat,#140b10!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-hero::before{height:34%!important;background:linear-gradient(180deg,rgba(14,8,10,.55),rgba(14,8,10,0))!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er .er-vibe{text-shadow:0 1px 12px rgba(0,0,0,.65)}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn{justify-content:center!important;text-align:left!important}
  html body.has-nav[data-page="enroute.php"] #er-top.er:not(.is-compact) .er-hero>nav .er-btn.is-ghost{white-space:nowrap!important}
}
@media (max-width:999px){
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-card small{flex:none!important;min-height:22px!important;display:inline-flex!important;align-self:center}
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-card b,html body.has-nav #wx-fabmenu.wx-xsheet .xn-ico{flex:none!important}
  html body.has-nav #wx-fabmenu.wx-xsheet .xn-card{height:104px!important}
}

/* =====================================================================
   v4b — correction : la barre du haut Premium ne s'impose plus sur les pages
   qui la masquent volontairement (Radar mobile, conversation, salon, tour d'accueil,
   panneaux intégrés). Même règle que leurs propres feuilles, priorité supérieure.
   ===================================================================== */
html body.has-nav:is(.salon-page,.wx-salon-page,.wx-embed) header.topbar{display:none!important}
@media (max-width:999px){
  html body.has-nav:is(.chat-page,.tour-on,.tour-wait) header.topbar{display:none!important}
  html body.has-nav.wx-radar-page>header.topbar{display:none!important}
}
