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

section{
  padding: 48px 0;
}
@media (min-width: 768px){ section{ padding: 80px 0; } }

/* HEADER STICKY */
.site-header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(241, 240, 236, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.is-scrolled{
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, .04);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h-mobile);
  gap: 16px;
}
@media (min-width: 768px){ .header-inner{ height: var(--header-h); } }

/* Brand / logo */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.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%; }
.brand-name{
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-tag{
  display: none;
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}
@media (min-width: 768px){
  .brand-tag{ display: block; }
  .brand-name-wrap{ display: flex; flex-direction: column; }
}

/* Nav desktop */
.nav-desktop{
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a{
  font-family: var(--ff-ui);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-fast);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after{ transform: scaleX(1); }

@media (min-width: 1024px){ .nav-desktop{ display: inline-flex; } }

.header-cta{
  display: none;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px){ .header-cta{ display: inline-flex; } }

/* Burger */
.burger{
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.burger:hover{ background: var(--accent-soft); }
.burger span,
.burger span::before,
.burger span::after{
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  left: 11px;
  transition: transform var(--t-med), top var(--t-med), opacity var(--t-fast);
}
.burger span{ top: 21px; }
.burger span::before{ top: -7px; left: 0; }
.burger span::after{ top: 7px; left: 0; }
.burger.is-open span{ background: transparent; }
.burger.is-open span::before{ top: 0; transform: rotate(45deg); }
.burger.is-open span::after{ top: 0; transform: rotate(-45deg); }
@media (min-width: 1024px){ .burger{ display: none; } }

/* MENU MOBILE — enfant direct de body, fixed, z < header */
.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) 24px 48px;
  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.4rem;
  font-weight: 500;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.menu-mobile a:last-of-type{ border-bottom: 0; }
.menu-mobile a::after{
  content: "→";
  font-family: var(--ff-body);
  color: var(--accent);
  font-size: 1.1rem;
  opacity: .5;
}
.menu-mobile .menu-cta-group{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 0;
}
.menu-mobile .menu-cta-group .btn{
  width: 100%;
  justify-content: center;
  border-bottom: 0;
}
.menu-mobile .menu-cta-group .btn::after{ display: none; }
@media (min-width: 1024px){
  .menu-mobile{ display: none; }
}

/* FOOTER */
.site-footer{
  background: var(--text);
  color: #E5E2DA;
  padding: 56px 0 28px;
  margin-top: 32px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px){
  .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-col h4{
  font-family: var(--ff-display);
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col .brand-name{ color: #fff; }
.footer-col p,
.footer-col li,
.footer-col a{
  color: #C8C5BC;
  font-size: .94rem;
  line-height: 1.65;
}
.footer-col a:hover{ color: #fff; }
.footer-col li{ margin-bottom: 8px; }
.footer-col .brand{ color: #fff; margin-bottom: 12px; }
.footer-col .brand-mark{ background: rgba(255,255,255,.10); color: #fff; }
.footer-bottom{
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: .82rem;
  color: #9C9A92;
}
.footer-bottom button{
  color: #C8C5BC;
  font-size: .82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom button:hover{ color: #fff; }

/* FAB mobile — bouton appel flottant */
.fab-call{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-fab);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(55, 83, 107, .45);
  transition: transform var(--t-fast);
}
.fab-call:hover{ transform: scale(1.05); }
.fab-call svg{ width: 22px; height: 22px; }
@media (min-width: 1024px){ .fab-call{ display: none; } }
