/* Layout — header, nav, footer */

/* ─── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 16px color-mix(in srgb, var(--text) 8%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__mark { flex-shrink: 0; }
.logo__name {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.logo__sub {
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}

/* Nav desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  list-style: none;
}
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--tr-fast), background var(--tr-fast);
  text-decoration: none;
}
.nav-desktop a:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }

/* CTA header */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-ui);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--tr-fast), transform var(--tr-fast);
  flex-shrink: 0;
}
.header-cta:hover { background: color-mix(in srgb, var(--accent) 85%, black); transform: translateY(-1px); text-decoration: none; color: #fff; }

/* ─── BURGER ─────────────────────────────────────────────── */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1150;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger span::before { top: -7px; }
.burger span::after  { top:  7px; }
.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); }

/* ─── 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) + 28px) 28px 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__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}
.menu-mobile__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}
.menu-mobile a {
  display: flex;
  align-items: center;
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 500;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.menu-mobile a:hover { color: var(--accent); }
.menu-mobile a.btn {
  font-family: var(--ff-ui);
  font-size: 1rem;
  margin-top: 16px;
  border-bottom: 0;
  border-radius: var(--r-md);
  padding: 0.95rem 1.6rem;
  min-height: 52px;
  justify-content: center;
  gap: 10px;
}
.menu-mobile a.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.menu-mobile a.btn-wa  { background: var(--wa-green); color: #fff; }
.menu-mobile a.btn-call { background: var(--accent); color: #fff; }
.menu-mobile a.btn-wa:hover,
.menu-mobile a.btn-call:hover { text-decoration: none; opacity: 0.9; color: #fff; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 52px 0 28px;
}
.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo__name,
.footer-brand .logo__sub { color: var(--bg); }
.footer-tagline {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--bg) 65%, transparent);
  margin-top: 12px;
  line-height: 1.5;
}
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a,
.footer-col p,
.footer-col address {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--bg) 75%, transparent);
  font-style: normal;
  text-decoration: none;
  line-height: 1.6;
}
.footer-col ul li a:hover { color: var(--bg); text-decoration: underline; }
.footer-bottom {
  width: var(--container);
  margin-inline: auto;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 12%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--bg) 50%, transparent);
}
.footer-bottom a:hover { color: var(--bg); }

/* ─── FAB MOBILE ─────────────────────────────────────────── */
.fab-call {
  display: none;
  position: fixed;
  bottom: 24px; right: 20px;
  z-index: 900;
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px;
  font-family: var(--ff-ui);
  font-weight: 700;
  font-size: 0.92rem;
  gap: 8px;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}
.fab-call:hover { transform: translateY(-2px); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 55%, transparent); color: #fff; text-decoration: none; }

/* ─── MODALE MENTIONS LÉGALES ────────────────────────────── */
.ml-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
}
.ml-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 40px);
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
}
.ml-close {
  position: absolute;
  top: 14px; right: 14px;
  background: transparent;
  border: 0;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-mute);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.ml-close:hover { background: var(--border); }
.ml-box h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--text);
}
.ml-box p, .ml-box address {
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.7;
}
.ml-box strong { color: var(--text); }
