/* Peaccom Pages : barre de navigation commune (design du site) */
.sa-hd, .sa-hd *, .sa-hd *::before, .sa-hd *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sa-hd {
  --hd-ink: var(--ink, #0F172A); --hd-text: var(--text, #334155); --hd-muted: var(--muted, #64748B);
  --hd-line: var(--line, #E2EAF2); --hd-bg: var(--alt, #F4F9FB); --hd-pri: var(--primary, #0E6E8C);
  --hd-pri-d: var(--primary-h, #0C6682); --hd-soft: var(--soft, #E6F3F8); --hd-rb: var(--r-btn, 12px);
  --h: 68px;
  position: sticky; top: var(--sa-ab, 0px); z-index: 9990;
  font-family: var(--font, "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  color: var(--hd-ink); -webkit-font-smoothing: antialiased;
  transition: transform .3s ease;
}
body.admin-bar .sa-hd { top: var(--sa-ab, 32px); }
@media (max-width: 782px) { body.admin-bar .sa-hd { top: var(--sa-ab, 46px); } }
.sa-hd a { color: inherit; text-decoration: none; }
.sa-hd button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sa-hd svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sa-hd :focus-visible { outline: 2px solid var(--hd-pri); outline-offset: 2px; border-radius: 6px; }

/* Bandeau du haut : il défile avec la page, la barre de navigation reste collée en haut. */
.sa-top { box-sizing: border-box; background: var(--primary-700, #0A5670); color: #fff; font: 400 13px/1.4 var(--font, "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); text-align: center; padding: 8px 16px; -webkit-font-smoothing: antialiased; }
.sa-top strong { color: #fff; font-weight: 700; }
.sa-top a { color: #fff !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* Barre */
.sa-bar { position: relative; background: #fff; border-bottom: 1px solid var(--hd-line); }
.sa-hd.bg-page .sa-bar { background: var(--hd-bg); }
.sa-hd.is-hidden { transform: translateY(calc(-100% - var(--sa-ab, 0px) - 4px)); }
body.admin-bar .sa-hd.is-hidden { transform: translateY(calc(-100% - var(--sa-ab, 32px) - 4px)); }
.sa-in { max-width: var(--wrap, 1200px); margin: 0 auto; padding: 0 24px; height: var(--h); display: flex; align-items: center; gap: 22px; }

/* Logo */
.sa-logo { display: flex; align-items: center; gap: 10px; flex: none; }
.sa-logo-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--hd-pri); color: #fff; display: grid; place-items: center; }
.sa-logo-ic svg { width: 22px; height: 22px; }
.sa-logo b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--hd-ink); }
.sa-logo small { display: block; font-size: 11.5px; color: var(--hd-muted); line-height: 1.3; font-weight: 400; }
.sa-hd img.sa-logo-img { height: var(--sa-logo-h, 40px); width: auto; max-width: 440px; display: block; object-fit: contain; object-position: left center; }

/* Navigation */
.sa-nav { margin: 0 auto; display: flex; align-items: center; gap: 2px; }
.sa-link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; border-radius: 8px; font-size: 15px; font-weight: 400; color: var(--hd-ink); white-space: nowrap; }
.sa-hd button.sa-link { font-size: 15px; font-weight: 400; }
.sa-link:hover, .sa-drop.is-open > .sa-link { color: var(--hd-ink); text-decoration: underline; text-decoration-color: var(--hd-pri); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.sa-link.is-active { color: var(--hd-pri); }
.sa-link .sa-chev { width: 15px; height: 15px; color: var(--hd-muted); transition: transform .2s; }
.sa-drop.is-open > .sa-link .sa-chev { transform: rotate(180deg); }
.sa-new { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--hd-soft); color: var(--hd-pri-d); }

/* Menus déroulants */
.sa-drop { position: relative; }
.sa-mega { position: absolute; top: calc(100% + 10px); left: 50%; width: 600px; padding: 8px; background: #fff; border: 1px solid var(--hd-line); border-radius: 14px; box-shadow: none; opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sa-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sa-drop.is-open .sa-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sa-mega.is-simple { width: 340px; }
.sa-mega.cols-3 { width: 840px; }
.sa-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.sa-mega.cols-3 .sa-mega-grid { grid-template-columns: 1fr 1fr 1fr; }
.sa-mega.cols-1 .sa-mega-grid { grid-template-columns: 1fr; }
.sa-mega-col { padding: 4px; }
.sa-mega-h { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-muted); padding: 6px 10px 8px; }
.sa-zone { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; transition: background .15s; }
.sa-zone:hover { background: var(--hd-bg); text-decoration: none; }
.sa-flag, .sa-hd img.sa-flag { width: 36px; height: 36px; max-width: none; border-radius: 8px; flex: none; background: var(--hd-bg); border: 1px solid var(--hd-line); display: grid; place-items: center; color: var(--hd-pri); object-fit: contain; }
.sa-flag img { width: 20px; height: 20px; display: block; }
.sa-flag.is-ic svg { width: 18px; height: 18px; }
.sa-zone b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--hd-ink); }
.sa-zone small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--hd-muted); line-height: 1.4; }
.sa-dot { width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.sa-dot.soon { background: #D97706; }
.sa-zone .sa-go { margin-left: auto; width: 16px; height: 16px; color: var(--hd-muted); opacity: 0; transition: opacity .15s; }
.sa-zone:hover .sa-go { opacity: 1; }
.sa-zone.is-feature { background: var(--hd-soft); }
.sa-mega-foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 12px 14px; border-radius: 8px; background: var(--hd-bg); }
.sa-mega-foot .sa-mf-ic { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--hd-line); color: var(--hd-pri); display: grid; place-items: center; flex: none; }
.sa-mega-foot b { display: block; font-size: 14px; font-weight: 700; }
.sa-mega-foot small { display: block; font-size: 12.5px; color: var(--hd-muted); }
.sa-mega-foot .sa-btn { margin-left: auto; }

/* Actions */
.sa-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.sa-icon-btn { position: relative; width: 40px; height: 40px; border-radius: var(--hd-rb); border: 1px solid var(--hd-line); background: #fff; display: grid; place-items: center; }
.sa-icon-btn .sa-live { position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.sa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--hd-rb); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s; }
.sa-btn-dark { background: var(--hd-pri); color: #fff !important; }
.sa-btn-dark:hover { background: var(--hd-pri-d); }
.sa-btn-light { background: #fff; border: 1px solid var(--hd-line); color: var(--hd-ink) !important; height: 36px; padding: 0 14px; font-size: 13px; }
.sa-btn-line { border: 1px solid var(--hd-line); background: #fff; color: var(--hd-ink) !important; }
.sa-btn .sa-arrow { width: 16px; height: 16px; }

/* Hamburger */
.sa-burger { display: none; height: 44px; padding: 0 12px 0 14px !important; gap: 9px; align-items: center; border-radius: 11px; border: 1px solid var(--hd-line) !important; background: #fff !important; color: var(--hd-ink) !important; font: 600 13.5px/1 var(--font, "Poppins", system-ui, sans-serif); letter-spacing: 0; text-transform: none; cursor: pointer; box-shadow: none !important; transition: background .15s; }
.sa-burger:hover, .sa-burger:focus-visible { border-color: var(--sky, #CFE6EE) !important; }
.sa-burger-t { font-weight: 600; display: grid; }
.sa-burger-t em { font-style: normal; grid-area: 1 / 1; transition: opacity .2s; }
.sa-burger-t .c { opacity: 0; }
.sa-hd.is-menu .sa-burger-t .o { opacity: 0; }
.sa-hd.is-menu .sa-burger-t .c { opacity: 1; }
.sa-burger span { position: relative; display: block; width: 16px; height: 10px; }
.sa-burger i { position: absolute; left: 0; width: 16px; height: 2.2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.sa-burger i:nth-child(1) { top: 0; }
.sa-burger i:nth-child(2) { display: none; }
.sa-burger i:nth-child(3) { top: 7.8px; }
.sa-hd.is-menu .sa-burger i:nth-child(1) { top: 4px; transform: rotate(45deg); }
.sa-hd.is-menu .sa-burger i:nth-child(3) { top: 4px; transform: rotate(-45deg); }

/* Panneau mobile */
.sa-panel { position: fixed; left: 0; right: 0; top: var(--sa-top, 70px); bottom: 0; background: var(--hd-bg); overflow-y: auto; overscroll-behavior: contain; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; display: none; }
.sa-hd.is-menu .sa-panel { opacity: 1; visibility: visible; }
.sa-plinks { display: flex; flex-direction: column; }
.sa-plink { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 2px; border-bottom: 1px solid var(--hd-line); font-size: 16px; font-weight: 600; text-align: left; }
.sa-hd button.sa-plink { font-size: 16px; font-weight: 600; }
.sa-plink .sa-pic { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid var(--hd-line); color: var(--hd-pri); display: grid; place-items: center; flex: none; }
.sa-plink .sa-pend { margin-left: auto; color: var(--hd-muted); transition: transform .2s; }
.sa-plink[aria-expanded="true"] .sa-pend { transform: rotate(180deg); }
.sa-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.sa-acc > div { overflow: hidden; }
.sa-acc.is-open { grid-template-rows: 1fr; }
.sa-acc-in { padding: 8px 0 12px; display: grid; gap: 6px; }
.sa-acc-in .sa-zone { background: #fff; border: 1px solid var(--hd-line); }
.sa-pcta { display: grid; gap: 10px; margin-top: 20px; }
.sa-pcta .sa-btn { height: 50px; font-size: 15px; width: 100%; }
.sa-pinfo { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: var(--hd-muted); }
.sa-pinfo span { display: inline-flex; align-items: center; gap: 6px; }
.sa-pinfo svg { width: 15px; height: 15px; }

@media (max-width: 1180px) { .sa-link { padding: 0 9px; } }
@media (max-width: 899px) {
  .sa-hd { --h: 64px; }
  .sa-nav, .sa-actions .sa-btn { display: none; }
  .sa-burger { display: inline-flex; }
  .sa-panel { display: block; }
  .sa-actions { margin-left: auto; }
  .sa-hd img.sa-logo-img { height: var(--sa-logo-hm, 34px); max-width: 52vw; }
}
@media (max-width: 520px) { .sa-in { padding: 0 16px; gap: 12px; } .sa-logo small { display: none; } .sa-top { font-size: 12px; } }
body.sa-menu-open .sa-top { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .sa-hd, .sa-hd * { transition: none !important; } }
.sa-hd.is-menu { position: fixed; left: 0; right: 0; transform: none !important; }
.sa-hd-spacer { display: block; height: 0; }
.sa-hd.pos-static { position: relative; }
.sa-hd.pos-absolute { position: absolute; left: 0; right: 0; }
.sa-hd.pos-absolute:not(.is-menu):not(.is-scrolled) .sa-bar { background: transparent; border-bottom-color: transparent; }
.sa-hd.sep-none:not(.is-scrolled) .sa-bar { border-bottom-color: transparent; }
.sa-hd.sep-soft .sa-bar { border-bottom-color: transparent; }
.sa-hd.sep-shadow.is-scrolled .sa-bar, .sa-hd.sep-soft.is-scrolled .sa-bar { box-shadow: 0 1px 0 var(--hd-line); }

/* Éléments masqués sur mobile (réglables dans le tableau de bord) */
@media (max-width: 600px) { .m-off { display: none !important; } }

/* Bouton « Revenir en haut » : visible seulement quand on remonte la page */
.sa-totop { position: fixed; right: 16px; bottom: calc(20px + var(--sa-mbar, 0px)); z-index: 59; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: var(--primary, #0E6E8C); color: #fff; cursor: pointer; box-shadow: none; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, bottom .25s; }
.sa-totop.show { opacity: 1; visibility: visible; transform: none; }
.sa-totop:hover { background: var(--primary-h, #0C6682); }
.sa-totop:focus-visible { outline: 2px solid var(--primary, #0E6E8C); outline-offset: 3px; }
.sa-totop svg { width: 22px; height: 22px; stroke-width: 2.2; }
@media (prefers-reduced-motion: reduce) { .sa-totop { transition: none; } }

/* Pas de flash au toucher sur mobile ; le contour reste visible au clavier */
html { -webkit-tap-highlight-color: transparent; }
a, button, label, summary, select, input, [role="button"], .btn, .opt, .radio span { -webkit-tap-highlight-color: transparent; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible), summary:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible), .sa-burger:focus:not(:focus-visible) { outline: none !important; box-shadow: none; }
@media (hover: none) { button, .btn, .opt, summary, .sa-burger { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }

/* ================================================================
   Peaccom : barre flottante (îlot), menu à icônes à droite
   ================================================================ */
.sa-hd { --hd-alt: var(--alt, #FAF8F5); }
.sa-in { height: var(--h, 64px); }
.sa-hd.st-island { padding: 12px 16px 0; background: transparent; }
.sa-hd.st-island .sa-bar { max-width: calc(var(--wrap, 1240px) + 8px); margin: 0 auto; border: 1px solid var(--hd-line); border-radius: 20px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 2px rgba(17,17,19,.04), 0 12px 32px -20px rgba(17,17,19,.32); transition: box-shadow .25s, background-color .25s; }
.sa-hd.st-island.is-scrolled .sa-bar { background: rgba(255,255,255,.96); box-shadow: 0 1px 2px rgba(17,17,19,.05), 0 16px 40px -18px rgba(17,17,19,.38); }
.sa-hd.st-island .sa-in { padding: 0 8px 0 22px; gap: 18px; }
.sa-hd.st-bar.sep-shadow .sa-bar { box-shadow: 0 10px 28px -18px rgba(17,17,19,.3); }
.sa-hd.st-island.sep-none .sa-bar, .sa-hd.st-island.sep-line .sa-bar { box-shadow: none; }

/* Logo texte : nom + point de couleur, taille réglable */
.sa-word { display: inline-flex; align-items: baseline; font-size: calc(var(--sa-logo-h, 38px) * .66); font-weight: 700; letter-spacing: -.055em; line-height: 1; color: var(--hd-ink); }
.sa-word i { display: inline-block; width: .27em; height: .27em; border-radius: 50%; background: var(--hd-pri); margin-left: .05em; }
.sa-logo-ic { width: var(--sa-logo-h, 38px); height: var(--sa-logo-h, 38px); border-radius: 12px; background: var(--primary, #FB6D00) !important; color: #fff !important; }
.sa-hd img.sa-logo-img { height: var(--sa-logo-h, 38px); }

/* Menu : texte plus grand, icône à droite */
.sa-nav { gap: 4px; }
.sa-link, .sa-hd button.sa-link { gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; font-size: var(--sa-nav-fs, 16px); font-weight: 500; letter-spacing: -.01em; color: var(--hd-ink); transition: background-color .15s, color .15s; }
.sa-link:hover, .sa-drop.is-open > .sa-link { text-decoration: none; background: var(--hd-alt); color: var(--hd-ink); }
.sa-link.is-active { color: var(--hd-ink); background: var(--hd-soft); }
.sa-nav-ic, .sa-link .sa-chev { width: 17px; height: 17px; color: var(--primary, #FB6D00); flex: none; }
.sa-hd.ic-left .sa-nav-ic { order: -1; }
.sa-drop.is-open > .sa-link .sa-chev { color: var(--primary, #FB6D00); }

/* Bouton principal : pilule, flèche dans une pastille */
.sa-btn { height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; gap: 10px; }
.sa-actions .sa-btn-dark { padding: 0 8px 0 22px; }
.sa-btn-dark { background: var(--ink, #111113) !important; color: #fff !important; }
.sa-btn-dark:hover { background: #2A2A2E !important; }
.sa-arr { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--primary, #FB6D00); display: grid; place-items: center; flex: none; }
.sa-arr svg { width: 16px; height: 16px; }
.sa-icon-btn { width: 48px; height: 48px; border-radius: 999px; }

/* Menu déroulant Services */
.sa-mega { top: calc(100% + 16px); width: 700px; padding: 14px; border-radius: 20px; box-shadow: 0 24px 48px -24px rgba(17,17,19,.28); }
.sa-mega::before { top: -18px; height: 18px; }
.sa-mega-grid { gap: 6px 10px; }
.sa-mega-h { color: var(--hd-muted); letter-spacing: .12em; font-size: 11.5px; padding: 6px 10px; }
.sa-zone { padding: 11px 10px; border-radius: 14px; align-items: flex-start; }
.sa-zone:hover { background: var(--hd-alt); }
.sa-flag.is-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--soft, #FFF1E6); border: 0; color: var(--primary, #FB6D00); }
.sa-flag.is-ic svg { width: 20px; height: 20px; }
.sa-zone b { font-size: 15px; margin-top: 1px; }
.sa-zone small { margin-top: 2px; font-size: 13px; }
.sa-zone .sa-go { align-self: center; color: var(--primary, #FB6D00); }
.sa-mega-foot { margin: 10px 4px 2px; padding: 14px 16px; border-radius: 16px; background: var(--ink, #111113); }
.sa-mega-foot b { color: #fff; font-size: 15px; }
.sa-mega-foot small { color: #A9A9B3; }
.sa-mega-foot .sa-mf-ic { background: var(--primary, #FB6D00); border: 0; color: #fff; border-radius: 12px; }
.sa-mega-foot .sa-btn { background: #fff !important; color: var(--ink, #111113) !important; height: 42px; font-size: 14.5px; }

/* Mobile */
.sa-burger { height: 44px; border-radius: 999px; padding: 0 16px 0 18px !important; font-size: 14.5px; }
.sa-panel { background: #fff; }
.sa-plink, .sa-hd button.sa-plink { font-size: 17px; font-weight: 600; padding: 15px 2px; }
.sa-plink .sa-pic { width: 40px; height: 40px; border-radius: 12px; background: var(--soft, #FFF1E6); border: 0; color: var(--primary, #FB6D00); }
.sa-pcta .sa-btn { height: 54px; font-size: 16px; }
.sa-pcta .sa-btn-dark { padding: 0 8px 0 24px; justify-content: space-between; }
@media (max-width: 1179px) { .sa-link, .sa-hd button.sa-link { padding: 0 11px; font-size: calc(var(--sa-nav-fs, 16px) - 1px); } .sa-hd.st-island .sa-in { padding-left: 18px; } }
@media (max-width: 1024px) {
  .sa-hd { --h: var(--hm, 58px); }
  .sa-nav, .sa-actions .sa-btn { display: none; }
  .sa-burger { display: inline-flex; }
  .sa-panel { display: block; }
  .sa-actions { margin-left: auto; }
  .sa-hd img.sa-logo-img { height: var(--sa-logo-hm, 34px); max-width: 52vw; }
  .sa-word { font-size: calc(var(--sa-logo-hm, 34px) * .66); }
  .sa-logo-ic { width: var(--sa-logo-hm, 34px); height: var(--sa-logo-hm, 34px); }
  .sa-hd.st-island { padding: 10px 12px 0; }
  .sa-hd.st-island .sa-bar { border-radius: 18px; }
  .sa-hd.st-island .sa-in { padding: 0 7px 0 18px; }
}
.sa-hd.is-menu.st-island .sa-bar { box-shadow: none; }
.sa-totop { border-radius: 999px; }
@media (max-width: 1024px) { body:has(.pc-quote) .sa-totop { display: none; } }
