/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h-mobile);
  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;
  z-index: var(--z-header);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.site-header.has-scrolled {
  background: color-mix(in srgb, var(--bg) 98%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 18px rgba(43, 38, 25, 0.04);
}
@media (min-width: 768px) {
  .site-header { height: var(--header-h); }
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
  border-radius: 50%;
  padding: 7px;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.brand-sub {
  font-family: var(--ff-ui);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 3px;
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-desktop a:hover { color: var(--accent-deep); }
.nav-desktop a.is-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-desktop a.is-cta:hover { background: var(--accent-deep); color: #fff; }
@media (min-width: 900px) {
  .nav-desktop { display: inline-flex; }
}

/* Burger */
.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: calc(var(--z-header) + 20);
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.burger span { position: relative; }
.burger span::before { content: ""; position: absolute; top: -7px; left: 0; }
.burger span::after { content: ""; position: absolute; top: 7px; left: 0; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) {
  .burger { display: none; }
}

/* Menu mobile */
.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: .65rem;
  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: .9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}
.menu-mobile a::after {
  content: "→";
  color: var(--accent);
  font-size: 1.2rem;
}
.menu-mobile a.btn {
  justify-content: center;
  gap: 10px;
  padding: .95rem 1.6rem;
  min-height: 52px;
  border-bottom: 0;
  margin-top: 18px;
}
.menu-mobile a.btn::after { content: none; }
.menu-mobile a.btn-wa,
.menu-mobile a.btn-primary { color: #fff; }
.menu-mobile a.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.menu-mobile-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text-2);
}
.menu-mobile-foot a {
  display: inline;
  padding: 0;
  border: 0;
  font-size: inherit;
  font-family: inherit;
  color: var(--accent-deep);
}
.menu-mobile-foot a::after { content: none; }
@media (min-width: 900px) {
  .menu-mobile { display: none; }
}

/* Footer */
.site-footer {
  background: var(--surface-deep);
  color: color-mix(in srgb, #fff 88%, transparent);
  padding: 56px 0 28px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.05rem;
  margin: 0 0 .9em;
  letter-spacing: .02em;
}
.site-footer p, .site-footer li, .site-footer a { color: color-mix(in srgb, #fff 85%, transparent); }
.site-footer a:hover { color: var(--accent-soft); }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 700px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.foot-brand .brand-mark { background: rgba(255,255,255,.08); color: var(--accent-soft); }
.foot-brand .brand-name, .foot-brand .brand-sub { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: .92rem; line-height: 1.55; }
.foot-list { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; }
.foot-list li { display: flex; align-items: center; gap: 10px; }
.foot-list svg { width: 16px; height: 16px; color: var(--accent-soft); flex-shrink: 0; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .82rem;
  color: color-mix(in srgb, #fff 70%, transparent);
}
@media (min-width: 700px) {
  .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.foot-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal-links button {
  background: transparent;
  border: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.foot-legal-links button:hover { color: var(--accent-soft); }

/* FAB mobile */
.fab-call {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px -10px rgba(43,38,25,.55);
  z-index: 90;
  font-size: .95rem;
  text-decoration: none;
}
.fab-call svg { width: 18px; height: 18px; }
.fab-call:hover { background: var(--accent-deep); color: #fff; }
@media (min-width: 900px) {
  .fab-call { display: none; }
}

/* Spacer pour header fixe */
.header-spacer { display: block; height: var(--header-h-mobile); }
@media (min-width: 768px) { .header-spacer { height: var(--header-h); } }
