/* Header sticky + menu mobile (pattern obligatoire) */
.site-header {
  position: sticky; top: 0;
  width: 100%;
  background: rgba(236, 235, 230, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(236, 235, 230, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 22px -18px rgba(0, 0, 0, 0.3);
}
.site-header__inner {
  height: var(--header-h-mobile);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .site-header__inner { height: var(--header-h); } }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-deep); }
.brand:hover { color: var(--accent-2); }
.brand-mark { width: 38px; height: 38px; color: var(--accent); flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; color: var(--ink-deep); letter-spacing: -.01em; }
.brand-meta { font-family: var(--ff-ui); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); margin-top: 4px; }
@media (max-width: 480px) { .brand-meta { display: none; } }

.nav-desktop { display: none; align-items: center; gap: 28px; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a { color: var(--text); text-decoration: none; font-family: var(--ff-ui); font-size: .92rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav-desktop a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav-desktop a:hover { color: var(--ink-deep); }
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--ink-deep); color: var(--bg); font-family: var(--ff-ui); font-weight: 500; font-size: .9rem; text-decoration: none; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); } .header-cta:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); } .header-cta svg { width: 16px; height: 16px; } }

/* Burger - position fixed (regle absolue) */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent; border: 0;
  z-index: var(--z-burger);
}
.burger span { position: relative; width: 22px; height: 2px; background: var(--ink-deep); border-radius: 2px; transition: background var(--dur) var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink-deep); border-radius: 2px; transition: transform var(--dur) var(--ease), top var(--dur) var(--ease); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 900px) { .burger { display: none; } }

/* Menu mobile - enfant direct du body */
.menu-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  background-image: radial-gradient(rgba(43, 46, 48, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 32px) 24px 40px;
  display: flex; flex-direction: column; gap: .25rem;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-mobile.is-open {
  transform: translateY(0); opacity: 1; visibility: visible;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.menu-mobile > a {
  display: block;
  padding: 18px 4px;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--ink-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  letter-spacing: -.01em;
}
.menu-mobile > a:hover { color: var(--accent-2); }
.menu-mobile .menu-cta-wrap { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.menu-mobile .menu-cta-wrap a { width: 100%; }
@media (min-width: 900px) { .menu-mobile { display: none; } }

/* Footer */
.site-footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
  margin-top: 24px;
}
.site-footer h4 { color: #fff; font-family: var(--ff-display); font-weight: 500; font-size: 1.05rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.65); font-size: .95rem; margin-top: 14px; max-width: 36ch; }
.footer-brand .brand-mark { background: rgba(184, 145, 80, 0.22); }
.footer-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: rgba(255, 255, 255, 0.78); font-size: .94rem; }
.footer-list li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-list a { color: inherit; text-decoration: none; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-decoration-color: rgba(184, 145, 80, 0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* FAB mobile */
.fab-call {
  position: fixed; right: 16px; bottom: 16px;
  z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink-deep); color: #fff;
  text-decoration: none;
  font-family: var(--ff-ui); font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.fab-call svg { width: 18px; height: 18px; }
.fab-call:hover { transform: translateY(-2px); background: var(--accent-2); color: #fff; }
@media (min-width: 900px) { .fab-call { display: none; } }
