/* Header sticky */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h-mobile);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled{
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.site-header__inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark{
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  border-radius: 50%;
  padding: 5px;
}
.brand-mark svg{ width: 100%; height: 100%; }
.brand-name{
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.005em;
}
.brand-name em{ font-style: italic; color: var(--accent); font-weight: 500; }

.nav-desktop{ display: none; }
.nav-desktop a{
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--text);
  padding: 6px 4px;
  position: relative;
}
.nav-desktop a:hover{ text-decoration: none; color: var(--accent); }
.nav-desktop a::after{
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-desktop a:hover::after{ transform: scaleX(1); }

@media (min-width: 900px){
  .site-header{ height: var(--header-h); }
  .nav-desktop{ display: flex; gap: 28px; align-items: center; }
}

/* Burger */
.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;
  z-index: 1101;
}
.burger span{
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s ease, background .3s ease;
}
.burger span::before,
.burger span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .3s ease, top .3s 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);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  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.6rem;
  color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.menu-mobile a:last-child{ border: 0; }
.menu-mobile .btn-wa-mobile{
  margin-top: 22px;
  padding: 14px 20px;
  background: var(--wa-green);
  color: #fff !important;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 1rem;
  text-align: center;
  border-bottom: 0 !important;
  font-weight: 600;
}
@media (min-width: 900px){ .menu-mobile{ display: none !important; } }

/* Footer */
.site-footer{
  background: #1A1E18;
  color: #DCD7C9;
  padding: 64px 0 28px;
  margin-top: 0;
}
.site-footer__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.site-footer h4{
  font-family: var(--ff-display);
  color: #F2EFE6;
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 500;
}
.site-footer p, .site-footer li{ font-size: 0.92rem; color: #B4B1A4; line-height: 1.65; }
.site-footer ul{ list-style: none; padding: 0; margin: 0; }
.site-footer li{ padding: 4px 0; }
.site-footer a{ color: #DCD7C9; }
.site-footer a:hover{ color: var(--accent-2); }
.site-footer__brand{ display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.site-footer__brand .brand-mark{ background: color-mix(in srgb, var(--accent-2) 22%, transparent); color: var(--accent-2); }
.site-footer__brand .brand-name{ color: #F2EFE6; }
.site-footer__brand .brand-name em{ color: var(--accent-2); }
.site-footer__bottom{
  border-top: 1px solid #2B2F26;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8C8B82;
}
.site-footer__bottom a{ color: #8C8B82; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__bottom a:hover{ color: var(--accent-2); }

@media (min-width: 768px){
  .site-footer__grid{ grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
}

/* FAB mobile (Appeler) */
.fab-call{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(36,74,58,.35);
  text-decoration: none;
}
.fab-call svg{ width: 26px; height: 26px; }
@media (min-width: 900px){ .fab-call{ display: none; } }
