/* Poupet 2027 — adaptation à NeoBeat sur le site du Tremplin : on masque l'ancien en-tête/pied de page. */
body.poupet-2027 #qodef-page-header,
body.poupet-2027 #qodef-page-mobile-header,
body.poupet-2027 #qodef-page-footer { display: none !important; }
body.poupet-2027 #poupet-site-header { position: sticky; top: 0; z-index: 9990; }
body.admin-bar.poupet-2027 #poupet-site-header { top: 32px; }
body.poupet-2027 #poupet-site-header .elementor-location-header { margin: 0; }
body.poupet-2027 #poupet-site-header a,
body.poupet-2027 #poupet-site-footer a { text-decoration: none; }
body.poupet-2027 #poupet-site-header .elementor-nav-menu--main .menu-item-has-children { position: relative; }
@media (min-width: 1025px) {
  body.poupet-2027 #poupet-site-header .elementor-nav-menu--main .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; z-index: 10; }
  body.poupet-2027 #poupet-site-header .elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
  body.poupet-2027 #poupet-site-header .elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu { display: block; }
}
/* sous-menus du menu burger : ouverts au clic */
body.poupet-2027 #poupet-site-header nav.elementor-nav-menu--dropdown .menu-item-has-children > .sub-menu { display: none; }
body.poupet-2027 #poupet-site-header nav.elementor-nav-menu--dropdown .menu-item-has-children.poupet-open > .sub-menu { display: block; }

/* Rétro : polices de la charte sur le contenu */
body.poupet-2027{font-family:"Nunito",sans-serif}
body.poupet-2027 h1,body.poupet-2027 h2,body.poupet-2027 h3{font-family:"BD Caramel","Nunito",sans-serif;font-weight:400}

/* Rétro : rendu soigné du contenu */
body.poupet-2027 .site-main{max-width:1180px;margin:0 auto;padding:32px 20px 64px}
body.poupet-2027 .page-header{display:none}
body.poupet-2027 .site-main h1{font-size:clamp(2rem,5vw,3.2rem);text-align:center;color:#5D1433;margin:.4em 0 .6em;line-height:1.1}
body.poupet-2027 .site-main h2,body.poupet-2027 .site-main h3{color:#5D1433;text-align:center}
body.poupet-2027 .site-main p{line-height:1.7;font-size:1.05rem}
body.poupet-2027 .site-main img{max-width:100%;height:auto}
body.poupet-2027 .poupet-btn{text-align:center;margin:1.2em 0}
body.poupet-2027 .poupet-btn .elementor-button,body.poupet-2027 .poupet-btn a{display:inline-block;background:#EA5160;color:#fff;padding:.8em 1.6em;border-radius:999px;font-weight:800;text-decoration:none;letter-spacing:.02em;box-shadow:0 6px 16px rgba(234,81,96,.25);transition:transform .15s,box-shadow .15s}
body.poupet-2027 .poupet-btn a:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(234,81,96,.35)}
body.poupet-2027 .poupet-blk iframe,body.poupet-2027 .site-main iframe{max-width:100%;border:0;border-radius:14px;display:block;margin:1.2em auto}
/* albums NextGEN : grille de cartes */
body.poupet-2027 .ngg-albumoverview{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:22px;margin:2em 0}
body.poupet-2027 .ngg-album-compact,body.poupet-2027 .ngg-album-compactbox{float:none!important;width:auto!important;margin:0!important}
body.poupet-2027 .ngg-album-compact{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(30,20,60,.12);transition:transform .2s,box-shadow .2s;text-align:center;padding-bottom:12px}
body.poupet-2027 .ngg-album-compact:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(30,20,60,.2)}
body.poupet-2027 .ngg-album-compactbox{padding:0!important;background:none!important}
body.poupet-2027 .ngg-album-compactbox img{width:100%!important;height:170px!important;object-fit:cover;border:0!important;border-radius:0!important;display:block}
body.poupet-2027 .ngg-album-compact h4{margin:10px 8px 0;font-size:1rem}
body.poupet-2027 .ngg-album-compact h4 a{color:#5D1433;text-decoration:none}
body.poupet-2027 .ngg-clear{clear:both}
body.poupet-2027 .ngg-gallery-thumbnail img{border-radius:10px!important;border:0!important;box-shadow:0 3px 10px rgba(0,0,0,.15)}
body.poupet-2027 > header#site-header{display:none}
body.poupet-2027 .site-main,body.poupet-2027 .site-main p{color:#5D1433}
body.poupet-2027 .ngg-albumoverview{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:22px!important;width:100%!important}
body.poupet-2027 .ngg-albumoverview .ngg-album-compact{width:auto!important;max-width:none!important;float:none!important;margin:0!important;display:block!important}
body.poupet-2027 .ngg-albumoverview .ngg-album-compactbox{width:100%!important;display:block!important}
body.poupet-2027 .ngg-albumoverview .ngg-album-compactbox img{height:150px!important}
body.poupet-2027 .ngg-albumoverview .ngg-album-compact h4{font-size:.9rem;min-height:2.6em;text-align:center;font-family:"Nunito",sans-serif;font-weight:800}
body.poupet-2027 .ngg-albumoverview .ngg-clear{display:none}
/* visionneuse photos */
html.pplb-lock{overflow:hidden}
#pplb{display:none;position:fixed;inset:0;z-index:2147483000;background:rgba(40,8,22,.94);align-items:center;justify-content:center}
#pplb.on{display:flex}
#pplb figure{margin:0;max-width:88vw;max-height:92vh;text-align:center}
#pplb img{max-width:88vw;max-height:84vh;width:auto;height:auto;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5);background:#000}
#pplb figcaption{color:#FFFAD2;font:800 .9rem Nunito,sans-serif;margin-top:10px}
#pplb button{position:absolute;border:0;background:#EA5160;color:#fff;cursor:pointer;border-radius:50%;width:48px;height:48px;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.4)}
#pplb button:hover{background:#FFBA00;color:#5D1433}
#pplb .pplb-x{top:18px;right:18px;font-size:30px}
#pplb .pplb-p{left:18px;top:50%;transform:translateY(-50%)}
#pplb .pplb-n{right:18px;top:50%;transform:translateY(-50%)}
#pplb:fullscreen{background:#000}
#pplb:fullscreen figure,#pplb:fullscreen img{max-width:100vw;max-height:100vh}
#pplb:fullscreen img{border-radius:0;box-shadow:none;width:auto;height:auto;max-height:96vh}
#pplb:fullscreen figcaption{position:absolute;bottom:10px;left:0;right:0}
#pplb .pplb-f{top:18px;right:78px;font-size:22px}
#pplb figure{max-width:94vw;max-height:94vh}#pplb img{max-width:94vw;max-height:88vh}
#pplb button{position:fixed!important;z-index:10}
#pplb .pplb-p,#pplb .pplb-n{width:64px;height:64px;font-size:28px;opacity:.9;background:rgba(234,81,96,.92)}
#pplb .pplb-p{left:20px}#pplb .pplb-n{right:20px}
#pplb:fullscreen .pplb-p,#pplb:fullscreen .pplb-n{display:flex!important;visibility:visible!important}
@media(max-width:600px){#pplb .pplb-p,#pplb .pplb-n{width:48px;height:48px;font-size:20px}}
