/* PHB Réunion — en-tête et menu communs à toutes les pages.
   Classes préfixées « sh- » pour ne pas entrer en conflit avec les styles
   propres des pages boutique, bonnes affaires, galerie et pages légales.
   Reprend exactement le menu de la page d'accueil (couleurs, polices, tailles). */
.sh, .sh-menu {
  --sh-ink: #0A1428; --sh-ink-08: rgba(10,20,40,.07); --sh-ink-15: rgba(10,20,40,.14);
  --sh-paper: #F5F2EC; --sh-sky: #38BDF8; --sh-sun: #F59E0B; --sh-sun-h: #FBB33A;
  --sh-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sh-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --sh-gut: clamp(16px, 4vw, 56px);
  --sh-ease: cubic-bezier(.2,.7,.2,1);
  box-sizing: border-box;
}
.sh *, .sh-menu * { box-sizing: border-box; }
header.sh {
  position: fixed; inset: 0 0 auto 0; z-index: 90; margin: 0; padding: 0; max-width: none;
  display: block; font-family: var(--sh-body); line-height: 1.4;
  transition: background .35s, box-shadow .35s, color .35s;
  color: var(--sh-ink); background: rgba(245,242,236,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--sh-ink-15);
}
header.sh.sh--overlay { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
header.sh.sh--overlay.scrolled { color: var(--sh-ink); background: rgba(245,242,236,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--sh-ink-15); }
html.sh-lock header.sh { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.sh-lock, html.sh-lock body { overflow: hidden; }

.sh-in { max-width: 1280px; margin: 0 auto; padding: 0 var(--sh-gut); height: 76px; display: flex; align-items: center; gap: 1.4rem; }
.sh a { color: inherit; text-decoration: none; font-weight: 600; }
.sh-logo { display: flex; align-items: center; gap: .6rem; font: 800 1.45rem/1 var(--sh-display) !important; letter-spacing: -.02em; flex: none; }
.sh-logo .sh-em { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.sh-logo .sh-em svg { width: 30px; height: 30px; display: block; }
.sh-logo small { display: block; font: 600 .62rem/1.2 var(--sh-body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 2px; }

.sh-links { display: flex; align-items: center; gap: 1.25rem; margin: 0 0 0 auto; padding: 0; }
.sh-links a { font: 600 .93rem/1.2 var(--sh-body); opacity: .9; position: relative; padding: .4rem 0; white-space: nowrap; }
.sh-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--sh-sun); transition: right .3s var(--sh-ease); }
.sh-links a:hover, .sh-links a[aria-current="page"] { opacity: 1; }
.sh-links a:hover::after, .sh-links a[aria-current="page"]::after { right: 0; }
.sh-links a.sh-pro { padding: .45rem .85rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--sh-sky); opacity: 1; font-weight: 700; }
.sh-links a.sh-pro::after { display: none; }
.sh-links a.sh-pro:hover, .sh-links a.sh-pro[aria-current="page"] { background: var(--sh-sky); color: var(--sh-ink); }

.sh-tel { display: inline-flex; align-items: center; gap: .5rem; font: 700 .93rem/1 var(--sh-body) !important; white-space: nowrap; }
.sh-tel svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.sh-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  background: var(--sh-sun); color: var(--sh-ink) !important; font: 700 .92rem/1 var(--sh-body) !important; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(245,158,11,.7); transition: background .25s; }
.sh-cta:hover { background: var(--sh-sun-h); }
.sh-hamb { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.14); color: inherit; cursor: pointer; position: relative; flex: none; }
header.sh:not(.sh--overlay) .sh-hamb, header.sh.scrolled .sh-hamb { background: var(--sh-ink-08); }
html.sh-lock .sh-hamb { background: rgba(255,255,255,.14) !important; }
.sh-hamb span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--sh-ease), opacity .2s; }
.sh-hamb span:nth-child(1) { top: 17px; } .sh-hamb span:nth-child(2) { top: 22px; } .sh-hamb span:nth-child(3) { top: 27px; }
.sh-hamb.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sh-hamb.open span:nth-child(2) { opacity: 0; }
.sh-hamb.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.sh-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--sh-ink); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-start; gap: .1rem; padding: 96px var(--sh-gut) 40px;
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.sh-menu.open { opacity: 1; visibility: visible; }
.sh-menu a { color: #fff; text-decoration: none; font: 700 clamp(1.5rem, 6.4vw, 2.2rem)/1.25 var(--sh-display); padding: .2rem 0; }
.sh-menu a[aria-current="page"] { color: var(--sh-sky); }
.sh-menu a em { font-style: normal; color: var(--sh-sun); }
.sh-menu .sh-small { font: 600 1rem/1.5 var(--sh-body); opacity: .75; margin-top: 1.1rem; }
.sh-menu .sh-small + .sh-small { margin-top: .2rem; }

/* Fil d'Ariane pour les pages qui ont gardé leur propre style */
.sh-crumbs { font: 600 .82rem/1.4 'Manrope', system-ui, sans-serif; margin: 0 0 1rem; position: relative; z-index: 1; }
.sh-crumbs ol { list-style: none; margin: 0; padding: 0; display: inline-flex; flex-wrap: wrap; gap: .25rem .5rem; }
.sh-crumbs li { display: inline-flex; gap: .5rem; color: rgba(10,20,40,.6); }
.sh-crumbs li + li::before { content: "/"; opacity: .5; }
.sh-crumbs a { color: rgba(10,20,40,.85) !important; text-decoration: none; font-weight: 600; }
.sh-crumbs a:hover { text-decoration: underline; }
.sh-spacer { height: 76px; }

@media (max-width: 1360px) { .sh-tel { display: none; } }
@media (max-width: 1180px) {
  .sh-links { display: none; }
  .sh-tel { display: inline-flex; margin-left: auto; }
  .sh-hamb { display: block; margin-left: 0; }
}
@media (max-width: 640px) {
  .sh-tel, .sh-cta { display: none !important; }
  .sh-hamb { margin-left: auto; }
}

/* Page boutique : bouton « Ma demande de prix » placé dans le menu commun */
.sh-in .cart-btn { flex: none; }
@media (max-width: 1500px) { .sh-in:has(.cart-btn) .sh-tel { display: none; } }
@media (max-width: 1180px) { .sh-in:has(.cart-btn) .cart-btn { margin-left: auto; } }
@media (max-width: 640px) { .sh-in:has(.cart-btn) .sh-hamb { margin-left: .5rem; } }
