/* === HEADER + FOOTER + CONTAINER === */

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h-mobile);
  z-index: var(--z-header);
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.has-scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}
.site-header.on-hero { color: #fff; }
.site-header.on-hero .brand-name { color: #fff; }
.site-header.on-hero .brand-mark { color: #fff; }
.site-header.on-hero.has-scrolled { color: var(--text); }
.site-header.on-hero.has-scrolled .brand-name { color: var(--text); }
.site-header.on-hero.has-scrolled .brand-mark { color: var(--accent); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-mark {
  width: 32px; height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.brand-sub {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-family: var(--ff-ui);
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: .88rem;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: inherit;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-desktop a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-desktop .btn-header {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 500;
  transition: background var(--dur) var(--ease);
}
.nav-desktop .btn-header:hover { background: var(--accent-dark); }

/* ---- BURGER (enfant direct du body, position:fixed) ---- */
.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) + 50); /* 1150 > 1100 > 1000 */
  padding: 0;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  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 (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) + 32px) 28px 48px;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.menu-mobile a {
  display: flex;
  align-items: center;
  padding: 14px 0;
  font-size: 1.25rem;
  font-family: var(--ff-display);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.menu-mobile a:last-child { border-bottom: 0; }
.menu-mobile .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .95rem 1.6rem;
  min-height: 52px;
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--ff-ui);
  font-weight: 600;
  margin-top: 8px;
  border-bottom: 0;
  width: 100%;
  text-align: center;
}
.menu-mobile .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.menu-mobile .btn-primary { background: var(--accent); color: #fff !important; }
.menu-mobile .btn-wa { background: var(--wa-green); color: #fff !important; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--text);
  color: rgba(247,241,225,.82);
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  gap: 40px;
}
.footer-brand .brand-name { color: #F7F1E1; }
.footer-brand .brand-sub  { color: var(--accent-2); }
.footer-brand .brand-mark { color: var(--accent-2); }
.footer-tagline { font-size: .9rem; margin-top: 10px; color: rgba(247,241,225,.65); }
.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col p, .footer-col a {
  font-size: .88rem;
  color: rgba(247,241,225,.75);
  line-height: 1.7;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-hours-list { display: flex; flex-direction: column; gap: 4px; }
.footer-hours-list li {
  display: flex; justify-content: space-between;
  font-size: .85rem;
  color: rgba(247,241,225,.7);
}
.footer-hours-list li.is-today .day,
.footer-hours-list li.is-today .hrs { color: var(--accent-2); font-weight: 600; }
.footer-hours-list li.is-closed .hrs { color: rgba(247,241,225,.4); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(247,241,225,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(247,241,225,.45);
}
.footer-bottom a { color: rgba(247,241,225,.55); }
.footer-bottom a:hover { color: var(--accent-2); }

/* ---- FAB MOBILE ---- */
.fab-call {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: calc(var(--z-header) + 100);
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(107,122,58,.45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab-call:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(107,122,58,.55); }
.fab-call svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- MODAL MENTIONS LEGALES ---- */
.ml-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ml-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.ml-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.ml-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}
.ml-box h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--ff-display);
}
.ml-box p, .ml-box li {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: .5em;
}
