/* Header + Nav + Footer + Menu mobile */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  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);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h-mobile);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .header-inner { height: var(--header-h); padding: 0 40px; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--ff-display);
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.brand-name em {
  font-style: italic;
  color: var(--accent);
}
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a {
  font-family: var(--ff-body);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  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 .25s ease;
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: inline-flex; }
  .header-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--text); color: var(--bg);
    padding: 10px 18px; border-radius: 999px;
    font-family: var(--ff-body); font-size: 0.92rem; font-weight: 500;
    transition: transform .2s, background .2s;
  }
  .header-cta:hover { background: var(--accent); transform: translateY(-1px); }
}

/* BURGER fixed top right */
.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: 1101;
}
.burger span,
.burger span::before,
.burger span::after {
  content: ""; display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease, bottom .25s ease;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after  { position: absolute; bottom: -7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { top: 0; transform: rotate(45deg); }
.burger.is-open span::after  { bottom: 0; transform: rotate(-45deg); }
@media (min-width: 1024px) { .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: 1000;
  padding: calc(var(--header-h-mobile) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  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;
  overscroll-behavior: contain;
}
.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.7rem;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.menu-mobile a:last-child { border-bottom: 0; }
.menu-mobile .btn-wa {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  border-bottom: 0;
}
.menu-mobile .menu-mobile__meta {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 0.95rem;
  color: var(--text-2);
}
.menu-mobile .menu-mobile__meta a {
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 0;
}
@media (min-width: 1024px) { .menu-mobile { display: none; } }

/* FOOTER */
.site-footer {
  background: var(--primary);
  color: color-mix(in srgb, #fff 86%, transparent);
  padding: 56px 0 28px;
  margin-top: 0;
}
.site-footer .container { padding: 0 20px; }
@media (min-width: 768px) {
  .site-footer .container { padding: 0 40px; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-brand { color: #fff; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand .brand-mark { color: var(--accent-2); }
.footer-pitch {
  color: color-mix(in srgb, #fff 78%, transparent);
  max-width: 36ch;
  font-size: 0.97rem;
}
.footer-col h4 {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  color: color-mix(in srgb, #fff 82%, transparent);
  text-decoration: none;
  font-size: 0.97rem;
  line-height: 1.7;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding-top: 22px;
  font-size: 0.84rem;
  color: color-mix(in srgb, #fff 60%, transparent);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: color-mix(in srgb, #fff 78%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }

/* FAB Mobile */
.fab-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-fab);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(31, 53, 49, 0.4);
}
.fab-call svg { width: 18px; height: 18px; }
@media (min-width: 1024px) { .fab-call { display: none; } }
