/* raphaelharoche.com : style du menu (barre du haut + menu plein écran mobile). Chargé dans le <head>. */
/* ===== 2026-11-19 : menu v2, capsule en verre dépoli (style Apple). Maquette : maquette-menu/index.html ===== */
html body .rh-hdr{top:calc(var(--wp-admin--admin-bar--height,0px) + 14px + env(safe-area-inset-top));left:20px;right:20px;max-width:1180px;margin:0 auto;height:58px;gap:8px;padding:0 8px 0 22px!important;border:0!important;border-radius:999px;
  background:rgba(20,18,18,.52)!important;-webkit-backdrop-filter:blur(22px) saturate(170%)!important;backdrop-filter:blur(22px) saturate(170%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.09),0 18px 50px -20px rgba(0,0,0,.7)!important;
  transition:top .5s var(--rh-ease),height .5s var(--rh-ease),background-color .5s var(--rh-ease)}
html body .rh-hdr.is-scrolled{top:calc(var(--wp-admin--admin-bar--height,0px) + 8px + env(safe-area-inset-top));height:52px;padding-top:0!important;padding-bottom:0!important;background:rgba(16,15,15,.78)!important}
html body .rh-hdr .hdr-logo{font-size:23px;letter-spacing:.06em;gap:3px;align-items:baseline;margin-right:auto;color:#f2efe9}
html body .rh-hdr .hdr-logo::after{width:7px;height:7px;transform:translate3d(0,-12px,0)}
html body .rh-hdr .hdr-logo:hover::after{transform:translate3d(0,-12px,0) scale(1.3)}
html body .rh-hdr .hdr-nav{position:relative;align-items:center;gap:2px;margin:0 auto}
html body .rh-hdr .hdr-link{position:relative;z-index:1;display:block;padding:9px 15px;border-radius:999px;font-family:Inter,sans-serif;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(242,239,233,.66)!important;transition:color .25s var(--rh-ease)}
html body .rh-hdr .hdr-link::after{display:none}
html body .rh-hdr .hdr-link:hover,html body .rh-hdr .hdr-link.is-current,html body .rh-hdr .hdr-link:focus-visible{color:#f2efe9!important}
html body .rh-hdr .hdr-link:active{transform:scale(.97);transition:transform .1s ease-out}
.hdr-pill{position:absolute;z-index:0;top:0;left:0;height:100%;border-radius:999px;background:rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);opacity:0;pointer-events:none;
  transition:transform .45s cubic-bezier(.32,.72,0,1),width .45s cubic-bezier(.32,.72,0,1),opacity .25s var(--rh-ease)}
.hdr-pill.is-on{opacity:1}
html body .rh-hdr .hdr-actions{gap:6px;margin-left:auto}
html body .rh-hdr .hdr-cta{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px 0 15px;border-radius:999px;font-family:Inter,sans-serif;font-size:14.5px;font-weight:600;letter-spacing:-.005em;text-transform:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 24px -10px rgba(97,63,236,.9);transform:none}
html body .rh-hdr .hdr-cta:hover{transform:none;filter:brightness(1.12)}
.hdr-cta-ic{width:17px;height:17px;flex:0 0 auto}
.hdr-sheet-cta,.hdr-scrim{display:none}
.rh-hdr :focus-visible{outline:2px solid #7a5cf3;outline-offset:2px}
@media (max-width:1023px){
  html body .rh-hdr{left:12px;right:12px;height:56px;padding:0 7px 0 18px!important}
  html body .rh-hdr .hdr-logo{font-size:21px}
  html body .rh-hdr .hdr-cta{display:inline-flex!important;height:40px;padding:0 14px 0 12px;font-size:14px}
  html body .rh-hdr .menu-toggle{display:inline-flex!important;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:42px;height:42px;border:0!important;background:rgba(255,255,255,.08)!important;color:#f2efe9!important}
  html body .rh-hdr .menu-toggle .menu-bar{width:16px;height:1.8px;border-radius:2px;transition:transform .45s cubic-bezier(.32,.72,0,1)}
  html body .rh-hdr.menu-open .menu-bar-1{transform:translateY(3.9px) rotate(45deg)}
  html body .rh-hdr.menu-open .menu-bar-2{transform:translateY(-3.9px) rotate(-45deg)}
  html body .rh-hdr.menu-open{background:rgba(16,15,15,.78)!important;-webkit-backdrop-filter:blur(22px) saturate(170%)!important;backdrop-filter:blur(22px) saturate(170%)!important}
  html body .rh-hdr .hdr-nav{position:absolute!important;inset:auto!important;top:66px!important;right:0!important;left:auto!important;z-index:2!important;width:min(520px,100%);max-width:none;margin:0;display:flex!important;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:10px!important;border-radius:28px;
    background:rgba(16,15,15,.82)!important;-webkit-backdrop-filter:blur(30px) saturate(170%);backdrop-filter:blur(30px) saturate(170%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.09),0 30px 80px -20px rgba(0,0,0,.8);
    transform-origin:calc(100% - 28px) -10px;transform:scale(.92) translateY(-8px)!important;opacity:0!important;visibility:hidden!important;filter:blur(6px);
    transition:transform .5s cubic-bezier(.32,.72,0,1),opacity .3s var(--rh-ease),filter .35s var(--rh-ease),visibility 0s linear .5s!important}
  html body .rh-hdr.menu-open .hdr-nav{transform:none!important;opacity:1!important;visibility:visible!important;filter:none;transition:transform .5s cubic-bezier(.32,.72,0,1),opacity .3s var(--rh-ease),filter .35s var(--rh-ease),visibility 0s!important}
  html body .rh-hdr .hdr-nav .hdr-link{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-radius:18px;font-family:Inter,sans-serif;font-size:22px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;line-height:1.2;color:#f2efe9!important;
    opacity:0;transform:translateY(-6px);transition:opacity .35s var(--rh-ease),transform .45s cubic-bezier(.32,.72,0,1),background-color .2s}
  html body .rh-hdr .hdr-nav .hdr-link::after{content:"";display:block;position:static;width:18px;height:18px;transform:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2efe9' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;opacity:.35}
  html body .rh-hdr .hdr-nav .hdr-link.is-current{background:rgba(255,255,255,.07)}
  html body .rh-hdr .hdr-nav .hdr-link.is-current::after{width:8px;height:8px;border-radius:50%;background:#613fec;opacity:1;margin-right:5px}
  html body .rh-hdr .hdr-nav .hdr-link:active{background:rgba(255,255,255,.08);transform:scale(.98)}
  html body .rh-hdr.menu-open .hdr-nav .hdr-link{opacity:1;transform:none}
  html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(1){transition-delay:.03s}html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(2){transition-delay:.06s}
  html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(3){transition-delay:.09s}html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(4){transition-delay:.12s}
  html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(5){transition-delay:.15s}html body .rh-hdr.menu-open .hdr-nav .hdr-link:nth-child(6){transition-delay:.18s}
  .hdr-pill{display:none}
  .hdr-sheet-cta{display:flex;align-items:center;justify-content:center;height:52px;margin:6px 8px 8px;border-radius:999px;background:#613fec;color:#fff!important;font-family:Inter,sans-serif;font-size:16px;font-weight:600;letter-spacing:-.005em;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
  .hdr-sheet-cta:active{transform:scale(.97)}
  .hdr-scrim{display:block;position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .35s var(--rh-ease)}
  .hdr-scrim.is-on{opacity:1;pointer-events:auto}
}
@media (max-width:340px){html body .rh-hdr .hdr-cta .hdr-cta-t{display:none}html body .rh-hdr .hdr-cta{padding:0 11px}}
@media (prefers-reduced-motion:reduce){html body .rh-hdr,html body .rh-hdr *,.hdr-pill{transition-duration:.15s!important;transition-delay:0s!important}html body .rh-hdr .hdr-nav{filter:none}html body .rh-hdr .hdr-nav .hdr-link{transform:none}}
@media (prefers-reduced-transparency:reduce){html body .rh-hdr,html body .rh-hdr.is-scrolled,html body .rh-hdr.menu-open,html body .rh-hdr .hdr-nav{background:#141212!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}}
@media (prefers-contrast:more){html body .rh-hdr,html body .rh-hdr .hdr-nav{background:#000!important;box-shadow:0 0 0 1px rgba(255,255,255,.5)!important}html body .rh-hdr .hdr-link{color:#f2efe9!important}}
/* ===== menu v2b : barre pleine largeur (ordinateur) + menu plein écran (téléphone) ===== */
html body .rh-hdr{top:var(--wp-admin--admin-bar--height,0px);left:0;right:0;max-width:none;margin:0;height:72px;padding:0 clamp(20px,4vw,56px)!important;border-radius:0;
  box-shadow:0 1px 0 rgba(255,255,255,.07)!important;background:rgba(14,13,13,.55)!important}
html body .rh-hdr.is-scrolled{top:var(--wp-admin--admin-bar--height,0px);height:62px;background:rgba(12,11,11,.8)!important}
@media (max-width:1023px){
  html body .rh-hdr{left:0;right:0;height:64px;padding:0 12px 0 20px!important}
  html body .rh-hdr.menu-open{background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  html body .rh-hdr .hdr-nav{position:fixed!important;inset:var(--wp-admin--admin-bar--height,0px) 0 0 0!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;width:auto;z-index:-1!important;
    justify-content:center;padding:96px 24px calc(32px + env(safe-area-inset-bottom))!important;border-radius:0;
    background:rgba(10,10,10,.94)!important;-webkit-backdrop-filter:blur(30px) saturate(160%);backdrop-filter:blur(30px) saturate(160%);box-shadow:none;
    transform-origin:50% 0;transform:translateY(-14px)!important;filter:none}
  html body .rh-hdr.menu-open .hdr-nav{transform:none!important}
  html body .rh-hdr .hdr-nav .hdr-link{padding:10px 14px;border-radius:16px;font-family:var(--rh-font-display,Anton),Anton,sans-serif;font-weight:400;font-size:clamp(40px,11vw,56px);letter-spacing:.01em;line-height:1.05}
  html body .rh-hdr .hdr-nav .hdr-link::after{width:22px;height:22px}
  html body .rh-hdr .hdr-nav .hdr-link.is-current{background:transparent;color:#a993ff!important}
  html body .rh-hdr .hdr-nav .hdr-link.is-current::after{width:10px;height:10px}
  .hdr-sheet-cta{margin:28px 14px 0;height:56px;font-size:17px}
  .hdr-scrim,.hdr-scrim.is-on{display:none}
}
@media (prefers-reduced-transparency:reduce){@media (max-width:1023px){html body .rh-hdr .hdr-nav{background:#0a0a0a!important}}}
@media (min-width:1024px) and (max-width:1199px){html body .rh-hdr .hdr-link{padding:9px 11px;letter-spacing:.06em}html body .rh-hdr{padding:0 20px!important}}

/* icône ticket du bouton Billets, en CSS pour qu'elle soit là dès l'affichage */
html body .rh-hdr .hdr-cta::before{content:"";flex:0 0 auto;width:17px;height:17px;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-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3Cpath d='M14 6v12' stroke-dasharray='2 2.5'/%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-linejoin='round'%3E%3Cpath d='M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4z'/%3E%3Cpath d='M14 6v12' stroke-dasharray='2 2.5'/%3E%3C/svg%3E") center/contain no-repeat}
