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

/* HEADER STICKY */
.site-header {
  position: sticky; top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-h-mobile);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 96%, transparent); }
@media (min-width: 768px) { .site-header { height: var(--header-h); } }

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

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; color: var(--accent); flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); border-radius: 50%; padding: 7px; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--ff-display); font-weight: 500; font-size: 1.2rem; letter-spacing: .01em; }
.brand-name em { font-style: italic; color: var(--accent); font-weight: 500; }
.brand-tag { font-family: var(--ff-ui); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-top: 3px; }
@media (max-width: 560px) { .brand-tag { display: none; } }

/* Nav desktop */
.nav-desktop { display: none; align-items: center; gap: 28px; }
.nav-desktop a { color: var(--text); font-family: var(--ff-ui); font-size: .94rem; font-weight: 500; text-decoration: none; position: relative; padding: 8px 0; }
.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); }
@media (min-width: 900px) { .nav-desktop { display: inline-flex; } }

/* Burger (TOUJOURS fixed top right — piege prod #8) */
.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;
  z-index: calc(var(--z-header) + 10);
}
.burger span,
.burger span::before,
.burger span::after {
  content: ""; display: block;
  width: 24px; height: 2px; background: var(--text); border-radius: 1px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger span { position: relative; }
.burger span::before { position: absolute; left: 0; top: -7px; }
.burger span::after  { position: absolute; left: 0; 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); }
@media (min-width: 900px) { .burger { display: none; } }

/* MENU MOBILE — enfant direct de body (piege prod #1) */
.menu-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--surface-deep);
  color: var(--text-on-dark);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 28px) 24px 40px;
  display: flex; flex-direction: column; gap: 6px;
  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;
}
/* Selecteur enfant direct (piege prod #15 preventif) */
.menu-mobile > a {
  color: var(--text-on-dark);
  font-family: var(--ff-display); font-weight: 400;
  font-size: 1.6rem; padding: 14px 0;
  border-bottom: 1px solid var(--border-on-dark);
  text-decoration: none;
}
.menu-mobile > a:hover { color: var(--accent-on-dark); }
.menu-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.menu-mobile .menu-cta .btn-primary,
.menu-mobile .menu-cta .btn-wa { color: #fff !important; }
@media (min-width: 900px) { .menu-mobile { display: none !important; } }

/* SECTIONS */
section { padding: 48px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--ff-ui); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--accent); margin-bottom: 14px; }
.sec-title { font-family: var(--ff-display); font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; margin: 0; }
.sec-title em { font-style: italic; color: var(--accent); }
.sec-sub { font-size: 1.05rem; color: var(--text-2); margin: 14px auto 0; max-width: 56ch; }

/* FOOTER */
.site-footer { background: var(--surface-deep); color: var(--text-on-dark); padding: 56px 0 24px; margin-top: 0; }
.site-footer .brand-name { color: var(--text-on-dark); }
.site-footer .brand-mark { background: rgba(246,240,230,.12); color: var(--accent-on-dark); }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; } }
.footer-col h4 { font-family: var(--ff-display); font-weight: 500; font-size: 1.1rem; color: var(--text-on-dark); margin: 0 0 14px; }
.footer-col p, .footer-col li, .footer-col a { color: var(--text-on-dark-2); font-size: .94rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--accent-on-dark); }
.footer-col .brand-tag { color: var(--text-on-dark-2); }
.footer-bottom { border-top: 1px solid var(--border-on-dark); margin-top: 36px; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; font-size: .82rem; color: var(--text-on-dark-2); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom button { background: none; border: 0; color: var(--text-on-dark-2); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom button:hover { color: var(--accent-on-dark); }

/* FAB Appel mobile */
.fab-call {
  position: fixed;
  right: 16px; bottom: 16px;
  width: 56px; height: 56px;
  background: var(--accent); color: #fff;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  z-index: var(--z-fab);
  text-decoration: none;
  transform: scale(0); transition: transform var(--t-base);
}
.fab-call.is-visible { transform: scale(1); }
.fab-call:hover { transform: scale(1.05); text-decoration: none; }
@media (min-width: 900px) { .fab-call { display: none; } }
