/* HEADER STICKY */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h-mobile);
}
@media (min-width: 768px) {
  .header-inner { height: var(--header-h); }
}

/* BRAND (picto SVG metier + nom display) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, var(--bg));
  border-radius: 50%;
  padding: 7px;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -.005em;
}
.brand-tag {
  display: none;
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--text-mute);
  padding-left: 10px;
  margin-left: 8px;
  border-left: 1px solid var(--border-soft);
}
@media (min-width: 768px) {
  .brand-name { font-size: 1.18rem; }
  .brand-tag { display: inline; }
}

/* NAV DESKTOP */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--t-fast);
}
.nav-desktop a:hover { color: var(--accent); text-decoration: none; }
/* Specificite > .btn pour forcer display:none sur mobile (PIEGE PROD #13) */
.header-inner .header-cta-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-inner .header-cta-desktop { display: inline-flex; }
}

/* BURGER (fixed top-right, enfant direct du body)
   z-index > --z-header pour rester cliquable AU-DESSUS du header sticky
   ET > --z-menu pour rester cliquable AU-DESSUS du menu plein ecran (sinon menu non refermable). */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: calc(var(--z-header) + 20);
  color: var(--text);
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
  position: relative;
}
.burger span { position: relative; }
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: rotate(45deg); top: 0; }
.burger.is-open span::after { transform: rotate(-45deg); top: 0; }

/* MENU MOBILE (enfant direct du body, jamais imbrique) */
.menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 28px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s ease, opacity .35s ease;
}
.menu-mobile a {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
}
.menu-mobile a.btn { border: 0; }
.menu-mobile a.btn-primary,
.menu-mobile a.btn-wa { color: #fff; }
@media (min-width: 900px) {
  .burger { display: none; }
  .menu-mobile { display: none; }
}

/* FOOTER */
.site-footer {
  background: var(--surface-deep);
  color: #E6E2D8;
  padding: 56px 0 32px;
  margin-top: 0;
}
.site-footer h3,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer small { color: #E6E2D8; }
.site-footer h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  margin-bottom: .5em;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #C0BDB3;
  margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 4px 0; font-size: .95rem; }
.footer-col a { text-decoration: none; opacity: .85; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-row-icon { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .95rem; }
.footer-row-icon svg { width: 16px; height: 16px; color: var(--accent-2); flex-shrink: 0; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .82rem;
  color: #9F9C92;
}
.footer-bottom button {
  background: transparent;
  border: 0;
  color: #C0BDB3;
  font-family: inherit;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
}
