/* coquille.css — Jean Bouvier SAS — site chrome « Nuit continue » (version A chosen by Alexis, 20/11/2026).
   Header + side menu in one L piece, midnight #151B23 (Dashboard), mobile drawer.
   Used twice, same markup and classes (vc-*):
     - by the shell index.php (<html class="vc-shell">), linked directly;
     - by standalone pages (pages/<slug>/<slug>.html opened without the shell), through @import at the top of style.css;
       markup injected by shared/js/components.js (header.vc-head, aside.sidebar.vc-side, #mobileMenu.vc-mob).
   Catalogue sheets: jb-dash-nav-menu-lateral (open menu: icon + label, current = green left filet + faint green
   background, hover = gold filet), jb-header-h06 (page title in the header), jb-header-h01 (night, no double filet),
   patchwork-navigation-unified-07 (mobile drawer, grouped list). No animation (Alexis), texts >= 11 px.
   Header height: 76 px in the shell, var(--header-h) = 82 px on standalone pages (their heroes are placed at 82 px). */

html{--vc-sw:232px;--vc-nuit:#151B23}
html.vc-shell{--vc-hh:76px}
html:not(.vc-shell){--vc-hh:var(--header-h,82px)}
/* standalone pages: content starts right of the wide menu (beats a page's own :root{--sidebar-w}) */
html:not(.vc-shell):not(.embedded){--sidebar-w:var(--vc-sw)}

/* ---- shell only (index.php) ---- */
.vc-shell *,.vc-shell *::before,.vc-shell *::after{box-sizing:border-box}
html.vc-shell,.vc-shell body{margin:0;padding:0;height:100%;overflow:hidden}
.vc-shell body{font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;background:var(--vc-nuit)}
.vc-shell a{text-decoration:none}
.vc-shell :focus-visible{outline:3px solid #FFD700;outline-offset:2px}
.content-frame{position:fixed;top:var(--vc-hh);left:var(--vc-sw);right:0;bottom:0;overflow:hidden;border-top-left-radius:16px;background:#0b1220}
.content-frame iframe{width:100%;height:100%;border:0;display:block}
/* sans JavaScript : l'iframe reste vide, la coquille montre l'essentiel et de vrais liens (revue 23/11) */
.vc-noscript{padding:32px clamp(20px,4vw,56px);color:#e8eef7;max-width:60rem;font-size:1rem;line-height:1.55}
.vc-noscript h1{font-size:1.6rem;line-height:1.25;margin:0 0 12px;color:#fff}
.vc-noscript a{color:#FFD700}
.vc-noscript ul{columns:2;padding-left:1.2em;margin:16px 0 0}

/* ---- header ---- */
header.vc-head{position:fixed;top:0;left:0;right:0;height:var(--vc-hh);z-index:1000;display:flex;align-items:center;gap:18px;
  margin:0;padding:0 20px 0 0;background:var(--vc-nuit);color:#fff;box-shadow:none;font-family:'Inter',system-ui,sans-serif;line-height:normal}
header.vc-head::after{content:none;display:none}
header.vc-head a{text-decoration:none}
.vc-logo{display:flex;align-items:center;flex:none;width:var(--vc-sw);padding-left:14px}
.vc-logo-img{display:block;width:auto;height:48px}
.vc-titre{display:flex;align-items:center;gap:12px;min-width:0}
.vc-titre[hidden]{display:none}
.vc-titre img{width:34px;height:34px;object-fit:contain}
.vc-titre .vc-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.vc-titre .vc-lib{display:block;font-size:20px;font-weight:900;letter-spacing:-.01em;line-height:1.15;color:#fff;white-space:nowrap}
.vc-head-actions{margin-left:auto;display:flex;align-items:center;gap:22px}
.vc-boutique{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:10px;font-size:13px;font-weight:800;
  color:#0a1628;background:linear-gradient(135deg,#FFD700,#e6c200);box-shadow:0 2px 0 #b89600,0 4px 12px rgba(0,0,0,.18);white-space:nowrap}
.vc-boutique img{height:24px;width:auto;margin:-4px 0}
.vc-boutique:hover{background:linear-gradient(135deg,#ffe033,#f0cc00)}
.vc-tel{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;white-space:nowrap;color:#FFD700}
.vc-tel:hover{color:#fff}
.vc-tel img{width:24px;height:24px}
.vc-burger{display:none;margin-left:auto;width:44px;height:44px;border:0;background:none;cursor:pointer;padding:0}
.vc-burger span{display:block;width:24px;height:2px;margin:5px auto;border-radius:2px;background:#fff}
.vc-burger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.vc-burger.active span:nth-child(2){opacity:0}
.vc-burger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
header.vc-head :focus-visible,.vc-side :focus-visible,.vc-mob :focus-visible{outline:3px solid #FFD700;outline-offset:2px}

/* ---- side menu (aside.vc-side ; on standalone pages also .sidebar, hence the aside.vc-side specificity) ---- */
aside.vc-side{position:fixed;left:0;top:var(--vc-hh);bottom:0;width:var(--vc-sw);z-index:1001;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  overflow-y:auto;overflow-x:hidden;scrollbar-width:none;margin:0;padding:2px 0 14px;background:var(--vc-nuit);border:0;box-shadow:none;font-family:'Inter',system-ui,sans-serif;line-height:normal}
aside.vc-side::-webkit-scrollbar{width:0}
.vc-gt{margin:0;padding:clamp(8px,1.5vh,14px) 22px 4px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.48);white-space:nowrap}
.vc-item{display:flex;align-items:center;text-decoration:none;gap:12px;height:clamp(32px,4.6vh,42px);padding:0 16px 0 19px;border-left:3px solid transparent;
  color:rgba(255,255,255,.84);font-size:14px;font-weight:700;white-space:nowrap;text-transform:uppercase;letter-spacing:.03em}
.vc-item img{flex:none;object-fit:contain;width:clamp(22px,3vh,28px);height:clamp(22px,3vh,28px)}
.vc-item:hover{background:rgba(255,215,0,.07);border-left-color:#D6AB00;color:#fff}
.vc-item.active{background:linear-gradient(90deg,rgba(117,183,42,.22),rgba(117,183,42,.06));border-left-color:#75B72A;color:#fff;font-weight:800}
.vc-item.active span{color:#b6e27c}
/* standalone pages: inner corner of the L, rounded like the shell's content frame */
html:not(.vc-shell) header.vc-head::before{content:'';position:absolute;left:var(--vc-sw);top:100%;width:16px;height:16px;pointer-events:none;
  background:radial-gradient(circle at 100% 100%,transparent 15.5px,var(--vc-nuit) 16px)}

/* ---- mobile drawer (hidden on desktop) ---- */
.vc-mob{display:none}
.vc-socs{display:flex;gap:8px;justify-content:center}
.vc-soc{width:32px;height:32px;border-radius:9px;background:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 0 rgba(0,0,0,.12)}
.vc-soc img{width:17px;height:17px;object-fit:contain}

@media (max-width:1280px){
  html{--vc-sw:96px}
  .vc-logo{width:auto;padding-left:16px;margin-right:18px}
  aside.vc-side .vc-gt{display:none}
  .vc-groupe{padding-top:clamp(2px,.9vh,10px)}
  .vc-item{flex-direction:column;justify-content:center;gap:2px;height:clamp(38px,5.4vh,54px);padding:0 4px;border-left-width:3px;font-size:11px;white-space:normal;text-align:center;line-height:1.1}
}
@media (max-width:1024px){
  html.vc-shell{--vc-hh:64px}
  .content-frame{left:0;border-radius:0}
  aside.vc-side,.vc-head-actions,.vc-titre{display:none!important}
  html:not(.vc-shell) header.vc-head::before{content:none}
  header.vc-head{z-index:1060}
  .vc-burger{display:block}
  .vc-logo{padding-left:14px}
  .vc-logo-img{height:40px}
  .vc-mob{display:block;position:fixed;left:0;right:0;top:var(--vc-hh);bottom:0;z-index:1050;overflow-y:auto;visibility:hidden;background:var(--vc-nuit);padding:4px 0 0;font-family:'Inter',system-ui,sans-serif;line-height:normal}
  .vc-mob.open{visibility:visible}
  .vc-mob a{text-decoration:none}
  .vc-mob .vc-gt{display:block;padding:14px 22px 4px}
  .vc-mob a[data-page]{display:flex;align-items:center;gap:14px;min-height:46px;padding:0 20px;border-left:3px solid transparent;color:rgba(255,255,255,.86);font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:.03em}
  .vc-mob a[data-page] img{width:30px;height:30px;object-fit:contain}
  .vc-mob a[data-page].active{background:rgba(117,183,42,.16);border-left-color:#75B72A;color:#b6e27c;font-weight:800}
  .vc-mob-pied{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;padding:18px 16px 28px}
  .vc-mob-pied .vc-socs{flex-basis:100%}
  html.jb-menu-ouvert,html.jb-menu-ouvert body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){.vc-mob,.vc-burger span{transition:none}}
