/* Thème de base — à adapter par site (couleurs, polices). Les blocs utilisent ces variables. */
:root {
  --pb-primary: #1f5eff;
  --pb-primary-contrast: #fff;
  --pb-text: #1d2330;
  --pb-muted: #5d6677;
  --pb-bg: #fff;
  --pb-soft: #f4f6fa;
  --pb-border: #e2e6ee;
  --pb-container: 1160px;
  --pb-radius: 10px;
  --pb-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pb-font-title: var(--pb-font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--pb-font); color: var(--pb-text); background: var(--pb-bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--pb-primary); }

.site-header { border-bottom: 1px solid var(--pb-border); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header__inner { max-width: var(--pb-container); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { font-weight: 700; font-size: 20px; color: var(--pb-text); text-decoration: none; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--pb-text); text-decoration: none; font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--pb-primary); }
.site-burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.site-burger span { display: block; width: 22px; height: 2px; background: var(--pb-text); margin: 5px 0; }
.site-footer { border-top: 1px solid var(--pb-border); color: var(--pb-muted); font-size: 14px; margin-top: 0; }
/* En-tête et pied de page construits avec l'éditeur (Admin → Apparence) */
.site-header--custom { position: relative; background: none; }
.site-header--custom.is-sticky { position: sticky; top: 0; }
.site-header--custom > .pb-b > .pb-section { box-shadow: 0 1px 0 var(--pb-border); }
.site-footer--custom { border-top: 0; color: inherit; font-size: inherit; }
.site-footer--custom .pb-menu-nav a:not(.pb-btn) { font-weight: 500; }
.site-main--part { padding: 40px 0; min-height: 60vh; }

@media (max-width: 767px) {
  .site-burger { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--pb-border); gap: 12px; }
  .menu-open .site-nav { display: flex; }
}
.pb-preview-bar { background: #fff4d6; padding: 8px 16px; text-align: center; font-size: 14px; }
