/* Navigation mobile Hipopy — menu partagé sur toutes les pages principales */
.smart-menu-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;background:none!important}
body.smart-menu-open{overflow:hidden}

@media(max-width:1200px){
  #site-header .burger[data-smart-burger]{width:46px;height:46px;padding:0;display:grid;place-content:center;gap:4px;position:relative;overflow:hidden;flex:0 0 46px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 22px rgba(0,0,0,.12);transition:transform .24s ease,background .24s ease,border-color .24s ease,box-shadow .24s ease}
  #site-header .burger[data-smart-burger]::before{content:"";width:28px;height:28px;position:absolute;top:-14px;right:-11px;border-radius:50%;background:rgba(232,198,103,.24);transition:transform .35s ease,background .35s ease}
  #site-header .burger[data-smart-burger]:hover{transform:translateY(-2px) rotate(-2deg);border-color:rgba(232,198,103,.48);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 13px 27px rgba(0,0,0,.18)}
  #site-header .burger[data-smart-burger] .smart-menu-line{width:21px;height:2px;margin:0;border:0;border-radius:999px;background:currentColor;justify-self:center;transform-origin:center;transition:width .24s ease,transform .32s cubic-bezier(.34,1.56,.64,1),opacity .18s ease}
  #site-header .burger[data-smart-burger] .smart-menu-line:nth-child(2){width:14px;justify-self:end}
  #site-header .burger[data-smart-burger].open{border-color:rgba(232,198,103,.36);background:linear-gradient(145deg,#cda64c,#8d6b25);color:#15170f;box-shadow:0 13px 30px rgba(137,100,27,.3),inset 0 1px 0 rgba(255,255,255,.35)}
  #site-header .burger[data-smart-burger].open::before{background:rgba(255,255,255,.13);transform:scale(3.1)}
  #site-header .burger[data-smart-burger].open .smart-menu-line{width:21px}
  #site-header .burger[data-smart-burger].open .smart-menu-line:nth-child(1){transform:translateY(6px) rotate(45deg)}
  #site-header .burger[data-smart-burger].open .smart-menu-line:nth-child(2){opacity:0;transform:translateX(9px) scaleX(0)}
  #site-header .burger[data-smart-burger].open .smart-menu-line:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  #site-header.scrolled .burger[data-smart-burger],.knowledge-page #site-header .burger[data-smart-burger]{border-color:rgba(26,54,39,.13);background:rgba(255,255,255,.72);color:#173d2c;box-shadow:0 8px 22px rgba(22,55,37,.1),inset 0 1px 0 #fff}
  body.smart-menu-open #site-header .burger[data-smart-burger],.knowledge-page #site-header .burger[data-smart-burger].open{border-color:rgba(232,198,103,.36);background:linear-gradient(145deg,#d9b85e,#987329);color:#14170f;box-shadow:0 13px 30px rgba(137,100,27,.3),inset 0 1px 0 rgba(255,255,255,.35)}

  #mobile-nav[data-smart-menu]{position:fixed;z-index:650;inset:0;width:100%;height:100dvh;min-height:100svh;padding:94px 14px 14px;display:grid;align-items:start;justify-items:end;overflow:hidden;background:rgba(4,10,7,.58);backdrop-filter:blur(14px) saturate(115%);opacity:0;visibility:hidden;pointer-events:none;transform:none;transition:opacity .25s ease,visibility .25s ease}
  #mobile-nav[data-smart-menu].open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
  #mobile-nav[data-smart-menu] .smart-mobile-nav{width:min(430px,100%);max-height:calc(100dvh - 108px);margin:0;padding:12px;display:grid;gap:7px;position:relative;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(255,255,255,.12);border-radius:28px;background:linear-gradient(145deg,rgba(20,43,31,.985),rgba(8,21,14,.99));box-shadow:0 34px 90px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);text-align:left;opacity:0;transform:translateX(24px) scale(.975);transform-origin:top right;transition:opacity .22s ease,transform .34s cubic-bezier(.22,1,.36,1);scrollbar-width:thin;scrollbar-color:rgba(232,198,103,.45) transparent}
  #mobile-nav[data-smart-menu].open .smart-mobile-nav{opacity:1;transform:translateX(0) scale(1)}
  #mobile-nav[data-smart-menu] .smart-mobile-nav::before{content:"";width:230px;height:230px;position:absolute;z-index:-1;top:-150px;right:-75px;border-radius:50%;background:radial-gradient(circle,rgba(232,198,103,.18),transparent 68%);pointer-events:none}
  .smart-menu-intro{padding:14px 13px 12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}
  .smart-menu-intro__eyebrow{grid-column:1/-1;display:flex;align-items:center;gap:7px;color:#dec16f;font-size:.62rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase}
  .smart-menu-intro strong{color:#fff;font-family:var(--font-utility,Arial,sans-serif);font-size:1.08rem;letter-spacing:-.025em}
  .smart-menu-intro__status{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.55);font-size:.58rem;font-weight:700}
  .smart-menu-intro__status::before{content:"";width:7px;height:7px;border-radius:50%;background:#67cf91;box-shadow:0 0 0 5px rgba(103,207,145,.1)}

  #mobile-nav[data-smart-menu] .smart-menu-link,#mobile-nav[data-smart-menu] .mobile-nav-toggle{width:100%;min-height:64px;padding:8px 10px;display:grid;grid-template-columns:44px minmax(0,1fr) 30px;align-items:center;gap:11px;border:1px solid transparent;border-radius:18px;background:transparent;color:#f6f2e8;font-family:var(--font-utility,Arial,sans-serif);font-size:initial;text-align:left;opacity:1;transition:background .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
  #mobile-nav[data-smart-menu] .smart-menu-link:hover,#mobile-nav[data-smart-menu] .mobile-nav-dropdown:not(.active)>.mobile-nav-toggle:hover{border-color:rgba(255,255,255,.1);background:rgba(255,255,255,.065);color:#fff;transform:translateX(3px);box-shadow:0 9px 24px rgba(0,0,0,.13)}
  .smart-menu-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.07);color:#dfc16d;font-size:.95rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
  .smart-menu-copy{min-width:0;display:block}
  .smart-menu-copy strong{display:block;overflow:hidden;color:inherit;font-family:var(--font-utility,Arial,sans-serif);font-size:.8rem;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
  .smart-menu-copy small{margin-top:4px;display:block;overflow:hidden;color:rgba(255,255,255,.48);font-size:.6rem;font-weight:550;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
  .smart-menu-arrow{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.5);font-size:.6rem;transition:transform .2s ease,background .2s ease,color .2s ease}
  .smart-menu-link:hover .smart-menu-arrow{background:rgba(232,198,103,.12);color:#e6ca79;transform:translateX(2px)}
  #mobile-nav[data-smart-menu] .smart-menu-link.active,#mobile-nav[data-smart-menu] .smart-menu-link[aria-current="page"],#mobile-nav[data-smart-menu] .mobile-nav-dropdown.active>.mobile-nav-toggle{border-color:rgba(255,255,255,.16);background:linear-gradient(135deg,#e5c971,#b58b35);color:#171910;box-shadow:0 15px 32px rgba(145,108,35,.23),inset 0 1px 0 rgba(255,255,255,.42)}
  #mobile-nav[data-smart-menu] .active .smart-menu-icon,#mobile-nav[data-smart-menu] .smart-menu-link[aria-current="page"] .smart-menu-icon{background:rgba(20,25,17,.12);color:#171910;box-shadow:inset 0 0 0 1px rgba(20,25,17,.08)}
  #mobile-nav[data-smart-menu] .active .smart-menu-copy small,#mobile-nav[data-smart-menu] .smart-menu-link[aria-current="page"] .smart-menu-copy small{color:rgba(23,25,16,.58)}
  #mobile-nav[data-smart-menu] .active .smart-menu-arrow,#mobile-nav[data-smart-menu] .smart-menu-link[aria-current="page"] .smart-menu-arrow{background:rgba(20,25,17,.1);color:#171910}
  #mobile-nav[data-smart-menu] .mobile-nav-dropdown{display:grid;gap:0}
  #mobile-nav[data-smart-menu] .mobile-nav-toggle{cursor:pointer}
  #mobile-nav[data-smart-menu] .mobile-nav-toggle .smart-menu-arrow{transition:transform .28s ease}
  #mobile-nav[data-smart-menu] .mobile-nav-dropdown.open .mobile-nav-toggle .smart-menu-arrow{transform:rotate(180deg)}
  #mobile-nav[data-smart-menu] .mobile-nav-sub{margin:0 7px;display:grid;grid-template-columns:1fr 1fr;gap:5px;max-height:0;overflow:hidden;opacity:0;transition:max-height .36s ease,margin .3s ease,opacity .25s ease}
  #mobile-nav[data-smart-menu] .mobile-nav-dropdown.open .mobile-nav-sub{max-height:220px;margin:7px 7px 4px;opacity:1}
  #mobile-nav[data-smart-menu] .mobile-nav-sub a{min-height:35px;padding:7px 9px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:rgba(255,255,255,.035);color:rgba(255,255,255,.67);font-family:var(--font-utility,Arial,sans-serif);font-size:.62rem;font-weight:700;text-align:center}
  #mobile-nav[data-smart-menu] .mobile-nav-sub a:hover{border-color:rgba(232,198,103,.24);background:rgba(232,198,103,.1);color:#ead487}
  .smart-menu-footer{margin-top:3px;padding:10px 3px 2px;display:grid;grid-template-columns:1fr 1fr;gap:7px;border-top:1px solid rgba(255,255,255,.09)}
  #mobile-nav[data-smart-menu] .smart-menu-footer a{min-height:43px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(255,255,255,.055);color:#f4ecd9;font-family:var(--font-utility,Arial,sans-serif);font-size:.65rem;font-weight:800;line-height:1.25;text-align:center;transition:background .2s ease,border-color .2s ease,transform .2s ease}
  #mobile-nav[data-smart-menu] .smart-menu-footer a:first-child{border-color:rgba(232,198,103,.2);background:rgba(232,198,103,.1);color:#e8cc7c}
  #mobile-nav[data-smart-menu] .smart-menu-footer a:hover{border-color:rgba(232,198,103,.3);background:rgba(232,198,103,.14);color:#f3df9d;transform:translateY(-2px)}
  #mobile-nav[data-smart-menu].open .smart-menu-link,#mobile-nav[data-smart-menu].open .mobile-nav-dropdown{animation:smart-menu-item-in .4s both}
  #mobile-nav[data-smart-menu].open .smart-mobile-nav>*:nth-child(3){animation-delay:.035s}#mobile-nav[data-smart-menu].open .smart-mobile-nav>*:nth-child(4){animation-delay:.07s}#mobile-nav[data-smart-menu].open .smart-mobile-nav>*:nth-child(5){animation-delay:.105s}#mobile-nav[data-smart-menu].open .smart-mobile-nav>*:nth-child(6){animation-delay:.14s}#mobile-nav[data-smart-menu].open .smart-mobile-nav>*:nth-child(7){animation-delay:.175s}
}

@media(max-width:560px){
  #site-header .burger[data-smart-burger]{width:42px;height:42px;flex-basis:42px;border-radius:13px}
  #mobile-nav[data-smart-menu]{padding:77px 8px 8px}
  #mobile-nav[data-smart-menu] .smart-mobile-nav{width:100%;max-height:calc(100dvh - 85px);padding:9px;border-radius:23px}
  .smart-menu-intro{padding:11px 10px 9px}
  #mobile-nav[data-smart-menu] .smart-menu-link,#mobile-nav[data-smart-menu] .mobile-nav-toggle{min-height:59px;grid-template-columns:41px minmax(0,1fr) 27px;padding:7px 8px;gap:9px;border-radius:16px}
  .smart-menu-icon{width:41px;height:41px;border-radius:13px}
  .smart-menu-copy strong{font-size:.75rem}.smart-menu-copy small{font-size:.56rem}
  #mobile-nav[data-smart-menu] .smart-menu-footer a{font-size:.6rem}
}

@media(max-height:620px) and (orientation:landscape) and (max-width:1200px){#mobile-nav[data-smart-menu]{padding-top:70px}#mobile-nav[data-smart-menu] .smart-mobile-nav{max-height:calc(100dvh - 78px)}.smart-menu-intro{display:none}#mobile-nav[data-smart-menu] .smart-menu-link,#mobile-nav[data-smart-menu] .mobile-nav-toggle{min-height:52px}}
@media(prefers-reduced-motion:reduce){#mobile-nav[data-smart-menu],#mobile-nav[data-smart-menu] .smart-mobile-nav,#mobile-nav[data-smart-menu] .smart-menu-link,#mobile-nav[data-smart-menu] .mobile-nav-dropdown{animation:none!important;transition-duration:.01ms!important}}
@keyframes smart-menu-item-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
