/* Container, header, footer, sections */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(232, 240, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(232, 240, 236, 0.98);
}
.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;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-sub {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  color: var(--text-mute);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 24px; }
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: 0.94rem;
  color: var(--text-2);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav-desktop a:hover { color: var(--accent-deep); }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-desktop a:hover::after { width: 100%; }

.header-cta { display: none; }

/* Burger fixed top right (regle prod #8) */
.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) + 1);
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger span { position: relative; }
.burger span::before { content: ""; position: absolute; top: -8px; left: 0; }
.burger span::after  { content: ""; position: absolute; top:  8px; left: 0; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(8px) rotate(45deg); }
.burger.is-open span::after  { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile (enfant direct de 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) + 28px) 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.45rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.menu-mobile a.btn { border: 0; padding: 14px 22px; }
.menu-mobile a.btn-primary,
.menu-mobile a.btn-wa { color: #fff; }
.menu-mobile a.btn-ghost { color: var(--text); }
.menu-mobile-foot {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* SECTION padding */
section {
  padding: 56px 0;
  position: relative;
}
@media (min-width: 768px) {
  section { padding: 88px 0; }
}

/* FOOTER */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-inverse);
  padding: 56px 0 24px;
  margin-top: 0;
}
.site-footer .container { padding: 0 24px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.foot-col h4 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--text-inverse);
}
.foot-col p,
.foot-col li,
.foot-col a { color: var(--text-inverse-2); font-size: 0.94rem; }
.foot-col a:hover { color: #fff; }
.foot-col ul li { padding: 4px 0; }
.foot-brand .brand-name { color: var(--text-inverse); }
.foot-brand .brand-mark { color: var(--accent-2); }
.foot-brand p { margin-top: 10px; max-width: 30ch; }
.foot-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-inverse-2);
}
.foot-bottom button {
  color: var(--text-inverse-2);
  text-decoration: underline;
  font-family: var(--ff-ui);
  font-size: 0.84rem;
  padding: 0;
}
.foot-bottom button:hover { color: #fff; }
.foot-hours-list { display: grid; gap: 6px; }
.foot-hours-list li { display: flex; justify-content: space-between; gap: 16px; }
.foot-hours-list .day-name { color: var(--text-inverse-2); }
.foot-hours-list .day-val { color: #fff; font-variant-numeric: tabular-nums; }
.foot-hours-list li.is-today .day-name,
.foot-hours-list li.is-today .day-val { color: var(--accent-2); font-weight: 600; }

/* FAB call mobile */
.fab-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  z-index: var(--z-fab);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.fab-call:hover { transform: scale(1.04); }
.fab-call svg { width: 26px; height: 26px; }

@media (min-width: 768px) {
  .header-inner { height: var(--header-h); }
  .burger { display: none; }
  .menu-mobile { display: none; }
  .nav-desktop { display: block; }
  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .fab-call { display: none; }
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
