/* GOSY | Contours lumineux premium | 27-10-2026
   Extension VISUELLE scoping body.public-home.
   Aucune règle sur /pro, utilisateur connecté, comptes, base, API, formulaires.
   Aucun recadrage des images : l'illustration Découvrir reste inchangée.
*/
body.public-home .pub-nav a,
body.public-home .pub-tabs button,
body.public-home .pub-mini-chips span {
  --g1:#36ddff;--g2:#dd43f5;--shine:rgba(33,211,255,.18);
  border:1.35px solid transparent;
  background:
    linear-gradient(145deg,rgba(8,19,42,.95),rgba(17,20,42,.95)) padding-box,
    linear-gradient(120deg,var(--g1),var(--g2)) border-box;
  color:#eff5ff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.045),0 0 7px var(--shine);
  -webkit-tap-highlight-color:transparent;
}
/* Navigation principale : accents distincts sans changer les destinations */
body.public-home .pub-nav a{display:flex;min-height:43px;align-items:center;justify-content:center;text-align:center;
  padding:9px 12px;border-radius:15px;font-size:13px;line-height:1.25;
  white-space:normal;overflow-wrap:normal;text-wrap:balance;
}
body.public-home .pub-nav a:nth-child(1){--g1:#14dfff;--g2:#ea39ee;--shine:rgba(43,203,255,.27)}
body.public-home .pub-nav a:nth-child(2){--g1:#b34fff;--g2:#ff62cc;--shine:rgba(207,80,255,.22)}
body.public-home .pub-nav a:nth-child(3){--g1:#20d9f9;--g2:#7f7fff;--shine:rgba(43,203,255,.2)}
body.public-home .pub-nav a:nth-child(4){--g1:#ff4ea6;--g2:#ffb557;--shine:rgba(255,122,153,.22)}
/* Onglets réels de sélection des envies */
body.public-home .pub-tabs button{min-height:43px;padding:10px 16px;border-radius:999px;line-height:1.2;flex:none}
body.public-home .pub-tabs button[data-tab-target="idea-sport"]{--g1:#ff777c;--g2:#ff3b94;--shine:rgba(255,92,118,.22)}
body.public-home .pub-tabs button[data-tab-target="idea-free"]{--g1:#48eba5;--g2:#f2d369;--shine:rgba(83,234,163,.19)}
body.public-home .pub-tabs button[data-tab-target="idea-upcoming"]{--g1:#ffbc67;--g2:#e84ec7;--shine:rgba(246,181,88,.16)}
body.public-home .pub-tabs button[data-tab-target="product-discover"]{--g1:#14dfff;--g2:#be59ff;--shine:rgba(20,224,255,.18)}
body.public-home .pub-tabs button[data-tab-target="product-map"]{--g1:#42eec3;--g2:#35bfff;--shine:rgba(66,238,195,.18)}
body.public-home .pub-tabs button[data-tab-target="product-agenda"]{--g1:#ffb553;--g2:#dc72ff;--shine:rgba(255,183,87,.17)}
body.public-home .pub-tabs button[data-tab-target="product-plans"]{--g1:#7ccaff;--g2:#ff75ca;--shine:rgba(255,117,202,.17)}
body.public-home .pub-tabs button[data-tab-target="product-community"]{--g1:#dc69ff;--g2:#74bcff;--shine:rgba(220,105,255,.17)}
body.public-home .pub-tabs button[aria-selected="true"],
body.public-home .pub-tabs button.is-active {
  box-shadow:inset 0 0 14px var(--shine),0 0 0 1px rgba(255,255,255,.55),0 0 13px var(--shine);
  color:#fff;
}
/* Pastilles d'activité HTML : chaque bordure rappelle sa famille. */
body.public-home .pub-mini-chips span {padding:8px 12px;border-radius:999px;line-height:1.15}
body.public-home .pub-mini-chips span:nth-child(1){--g1:#ff6c6e;--g2:#ff4a97;--shine:rgba(255,108,110,.25)}
body.public-home .pub-mini-chips span:nth-child(2){--g1:#33eeb0;--g2:#72ff79;--shine:rgba(51,238,176,.23)}
body.public-home .pub-mini-chips span:nth-child(3){--g1:#ce6dff;--g2:#f26ad5;--shine:rgba(206,109,255,.25)}
body.public-home .pub-mini-chips span:nth-child(4){--g1:#ffae51;--g2:#f36b8a;--shine:rgba(255,174,81,.22)}
body.public-home .pub-mini-chips span:nth-child(5){--g1:#ffe070;--g2:#ff9d58;--shine:rgba(255,224,112,.2)}
body.public-home .pub-mini-chips span:nth-child(6){--g1:#57c6ff;--g2:#e658f5;--shine:rgba(87,198,255,.23)}
/* Catégories à marqueurs : garder les images ENTIÈRES */
body.public-home .pub-category-grid .pub-category {
  border:1.5px solid transparent;
  background:
    linear-gradient(145deg,#111a32,#081326) padding-box,
    linear-gradient(133deg,var(--pub-accent),rgba(52,69,118,.55) 65%,var(--pub-accent)) border-box!important;
  box-shadow:0 0 9px color-mix(in srgb,var(--pub-accent),transparent 79%),inset 0 1px rgba(255,255,255,.06);
}
body.public-home .pub-category-grid .pub-category img{object-fit:contain!important;object-position:center!important;max-width:100%!important}
/* Halo au survol et au focus clavier, sans animation permanente énergivore. */
@media (hover:hover) and (pointer:fine){
 body.public-home .pub-nav a:hover,body.public-home .pub-tabs button:hover{
  transform:translateY(-2px);
  box-shadow:inset 0 0 13px var(--shine),0 0 0 1px rgba(255,255,255,.38),0 0 17px var(--shine);
 }
 body.public-home .pub-category-grid .pub-category:hover {
  box-shadow:0 0 20px color-mix(in srgb,var(--pub-accent),transparent 50%),0 15px 25px rgba(0,0,0,.35);
 }
}
body.public-home .pub-nav a:focus-visible,body.public-home .pub-tabs button:focus-visible{
 outline:2px solid #fff;outline-offset:3px;
}
/* L’image Découvrir (900 x 1600) contient six pastilles dessinées.
   Surcouche purement décorative : ne modifie ni le PNG/WebP ni les liens.
   Les positions sont exprimées en % de l'image pour ne jamais recadrer. */
body.public-home #product-discover .pub-tab-media{position:relative;isolation:isolate;overflow:hidden}
body.public-home #product-discover .pub-discover-glow{position:absolute;inset:0;pointer-events:none;z-index:1}
body.public-home #product-discover .pub-discover-glow i{
 position:absolute;display:block;border-radius:999px;
 border:1px solid var(--border-color);box-shadow:0 0 10px 1px var(--glow-color),inset 0 0 8px var(--glow-color);
 opacity:.84;
}
body.public-home #product-discover .pub-discover-glow i:nth-child(1){left:13.5%;top:26.2%;width:23.2%;height:4.7%;--border-color:#21e5ff;--glow-color:rgba(24,206,255,.35)}
body.public-home #product-discover .pub-discover-glow i:nth-child(2){left:37.4%;top:26.2%;width:24.4%;height:4.7%;--border-color:#ee63fb;--glow-color:rgba(232,75,242,.35)}
body.public-home #product-discover .pub-discover-glow i:nth-child(3){left:62.2%;top:26.2%;width:25.0%;height:4.7%;--border-color:#ffbc64;--glow-color:rgba(255,151,52,.33)}
body.public-home #product-discover .pub-discover-glow i:nth-child(4){left:13.5%;top:31.3%;width:24.8%;height:4.75%;--border-color:#f562fa;--glow-color:rgba(244,84,244,.35)}
body.public-home #product-discover .pub-discover-glow i:nth-child(5){left:39.0%;top:31.3%;width:23.2%;height:4.75%;--border-color:#4cf7af;--glow-color:rgba(44,240,162,.35)}
body.public-home #product-discover .pub-discover-glow i:nth-child(6){left:63.0%;top:31.3%;width:24.3%;height:4.75%;--border-color:#7dc5ff;--glow-color:rgba(83,162,255,.35)}
/* La navigation reste sur deux rangées au petit écran, mais les 4 onglets sont tous visibles. */
@media(max-width:900px){
 body.public-home .pub-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;margin:0;gap:7px;overflow:visible;padding:3px 0 6px}
 body.public-home .pub-nav a{min-width:0;min-height:49px;padding:8px 5px;font-size:clamp(10px,2.55vw,13px)}
}
@media(max-width:375px){body.public-home .pub-nav{gap:5px}body.public-home .pub-nav a{font-size:10px;padding:7px 3px}}
@media(prefers-reduced-motion:no-preference){
 body.public-home .pub-nav a,body.public-home .pub-tabs button{transition:transform .17s ease,box-shadow .2s ease}
}
@media(prefers-reduced-motion:reduce){body.public-home .pub-nav a,body.public-home .pub-tabs button{transition:none}}

/* Les ancres de l'accueil ne passent plus sous la navigation fixe sur iPhone. */
body.public-home section[id]{scroll-margin-top:98px}
@media(max-width:900px){body.public-home section[id]{scroll-margin-top:144px}}
