/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h-mobile);
  background: rgba(232, 240, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: border-color var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
  background: rgba(232, 240, 236, 0.98);
  border-bottom-color: var(--border);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
}
.brand-tag {
  font-family: var(--ff-ui);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-top: 2px;
}

.nav-desk {
  display: none;
  align-items: center;
  gap: 30px;
}
.nav-desk a {
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast);
  position: relative;
}
.nav-desk a:hover { color: var(--accent); }
.nav-desk .btn { margin-left: 10px; }

@media (min-width: 768px) {
  .site-header { height: var(--header-h); }
  .nav-desk { display: inline-flex; }
}

/* Burger (PIEGE PROD #1, #8 - position fixed top-right, z > menu, > header) */
.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;
  cursor: pointer;
  z-index: var(--z-burger);
}
.burger span {
  position: relative;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: background var(--t-fast);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-base), top var(--t-base);
}
.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: 768px) {
  .burger { display: none; }
}

/* Menu mobile (PIEGE PROD #1 - enfant direct du body, 100dvh, fond opaque) */
.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: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-mobile a:not(.btn) {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.menu-mobile .btn { margin-top: 18px; width: 100%; justify-content: center; }
.menu-mobile .btn.btn-primary,
.menu-mobile .btn.btn-wa { color: #fff !important; }

@media (min-width: 768px) {
  .menu-mobile { display: none; }
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 56px 0 28px;
  margin-top: 0;
}
.site-footer h3,
.site-footer h4,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer span:not(.dot) { color: #fff; }
.site-footer p { color: rgba(255, 255, 255, 0.78); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .brand-name,
.footer-brand .brand-tag { color: #fff; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.65); }
.footer-brand .brand-mark {
  background: rgba(168, 201, 194, 0.18);
  color: var(--accent-on-dark);
}
.footer-brand p {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-on-dark);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li,
.footer-col a {
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--accent-on-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; }
}

/* FAB Appeler (mobile) */
.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-fab);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(31, 53, 49, 0.28);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fab-call.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-call svg { width: 18px; height: 18px; }
@media (min-width: 768px) {
  .fab-call { display: none; }
}
