/* container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

/* sections */
section { padding: 48px 0; position: relative; }
@media (min-width: 768px) { section { padding: 88px 0; } }
section.tight { padding-top: 32px; }

/* HEADER sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 97%, transparent);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h-mobile);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) {
  .site-header__inner { height: var(--header-h); padding: 0 32px; }
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.brand-mark {
  width: 36px;
  height: 36px;
  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: 6px;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.14rem;
  line-height: 1;
  letter-spacing: .005em;
  color: var(--text);
}
.brand-name em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.brand-status {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  font-family: var(--ff-ui);
  font-size: .78rem;
  color: var(--text-2);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
@media (min-width: 1024px) { .brand-status { display: inline-flex; } }
.brand-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-mute);
  display: inline-block;
}
.brand-status.is-open .brand-status__dot {
  background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 55%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* nav desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-desktop a {
  font-family: var(--ff-ui);
  font-size: .94rem;
  color: var(--text-2);
  padding: 6px 2px;
  position: relative;
  transition: color var(--t-fast);
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}
@media (min-width: 900px) { .header-actions { display: inline-flex; } }
.header-actions .btn { padding: 10px 18px; font-size: .9rem; }

/* burger (TOUJOURS fixed top-right, child of body) */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  z-index: calc(var(--z-header) + 10);
  padding: 0;
  transition: background var(--t-fast);
}
.burger:hover { background: var(--surface); }
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast), bottom var(--t-fast);
}
.burger span::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
}
.burger span::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
}
.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: 900px) { .burger { display: none; } }

/* MENU MOBILE (enfant direct de body) */
.menu-mobile {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 28px) 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .38s ease, visibility 0s linear .38s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .38s cubic-bezier(.2,.7,.2,1), opacity .38s ease;
}
.menu-mobile > a {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast);
}
.menu-mobile > a:hover { color: var(--accent); }
.menu-mobile__actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-mobile__actions .btn { width: 100%; padding: 14px 18px; font-size: 1rem; }
.menu-mobile__actions .btn-primary,
.menu-mobile__actions .btn-wa,
.menu-mobile__actions .btn-accent {
  color: #fff !important;
  border: 0;
  text-align: center;
  justify-content: center;
  display: inline-flex;
}
.menu-mobile__foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--ff-ui);
  font-size: .82rem;
  color: var(--text-2);
}
.menu-mobile__foot a { color: var(--text); font-weight: 500; }
@media (min-width: 900px) { .menu-mobile { display: none; } }

/* FOOTER */
.site-footer {
  background: var(--ink-deep);
  color: var(--text-on-dark);
  padding: 56px 0 28px;
}
.site-footer .container { max-width: var(--container); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 14px;
}
.footer-col p, .footer-col li, .footer-col a {
  color: var(--text-on-dark-2);
  font-size: .92rem;
  line-height: 1.7;
}
.footer-col .brand-name { color: #fff; }
.footer-col .brand-mark {
  background: color-mix(in srgb, #fff 10%, transparent);
  color: #fff;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { padding: 3px 0; }
.footer-col a:hover { color: #fff; }
.footer-col .lien-google {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark);
  border-bottom: 1px solid color-mix(in srgb, #fff 30%, transparent);
  padding-bottom: 2px;
  margin-top: 8px;
}
.footer-col .lien-google:hover { border-bottom-color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-on-dark-2);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: var(--text-on-dark); border-bottom: 1px dotted color-mix(in srgb, #fff 30%, transparent); }
.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(--primary);
  color: #fff;
  border: 0;
  padding: 14px 18px;
  border-radius: 999px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: .98rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(34, 40, 49, 0.18);
  transition: transform var(--t-fast), background var(--t-fast);
}
.fab-call:hover { background: var(--primary-deep); transform: translateY(-2px); }
.fab-call svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .fab-call { display: none; } }
