/* HEADER ----------------------------------------------------------------- */
.site-header{
  position:fixed;top:0;left:0;right:0;
  height:var(--header-h-mobile);
  z-index:var(--z-header);
  background:color-mix(in srgb,var(--bg) 92%,transparent);
  backdrop-filter:saturate(140%) blur(8px);
  -webkit-backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled{
  background:color-mix(in srgb,var(--bg) 98%,transparent);
  border-bottom-color:var(--border);
}
.header-inner{
  height:100%;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
}
@media(min-width:768px){.site-header{height:var(--header-h);}}

/* BRAND ------------------------------------------------------------------ */
.brand{
  display:inline-flex;align-items:center;gap:10px;
  text-decoration:none;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:6px;
}
.brand-mark svg{width:100%;height:100%;display:block;}
.brand-name{
  font-family:var(--ff-display);
  font-weight:600;font-size:1.18rem;line-height:1;
  letter-spacing:.01em;
}
.brand-name em{font-style:italic;color:var(--accent);font-weight:500;}
.brand-tag{
  display:none;
  font-family:var(--ff-ui);
  font-size:.66rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.18em;
  color:var(--text-mute);
  margin-top:3px;
}
@media(min-width:560px){.brand-tag{display:block;}}

/* NAV DESKTOP ------------------------------------------------------------ */
.nav-desktop{display:none;}
@media(min-width:1024px){
  .nav-desktop{display:flex;align-items:center;gap:28px;}
  .nav-desktop a{
    font-family:var(--ff-ui);font-size:.93rem;font-weight:500;
    color:var(--text-2);
    padding:6px 2px;
    position:relative;
    transition:color .2s ease;
  }
  .nav-desktop a:hover,.nav-desktop a:focus-visible{color:var(--text);}
  .nav-desktop a::after{
    content:"";position:absolute;left:0;bottom:-4px;height:1px;width:0;
    background:var(--accent);transition:width .25s ease;
  }
  .nav-desktop a:hover::after{width:100%;}
}

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

/* BURGER ----------------------------------------------------------------- */
.burger{
  position:fixed;
  top:calc((var(--header-h-mobile) - 44px) / 2);
  right:14px;
  width:44px;height:44px;
  display:grid;place-items:center;
  background:transparent;border:0;cursor:pointer;
  z-index:1101;
  color:var(--text);
}
.burger span,
.burger span::before,
.burger span::after{
  content:"";display:block;
  width:22px;height:2px;background:currentColor;border-radius:2px;
  transition:transform .25s ease, top .25s ease;
}
.burger span{position:relative;}
.burger span::before{position:absolute;top:-7px;left:0;}
.burger span::after{position:absolute;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 ------------------------------------------------------------ */
.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) + 24px) 24px 40px;
  display:flex;flex-direction:column;gap:8px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  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.5rem;
  font-weight:500;
  color:var(--text);
  padding:14px 0;
  border-bottom:1px solid var(--border);
}
.menu-mobile a:last-of-type{border-bottom:0;}
.menu-mobile .menu-cta{
  margin-top:18px;
  display:flex;flex-direction:column;gap:10px;
}
.menu-mobile .btn{width:100%;justify-content:center;font-size:1rem;}
.menu-mobile .btn.btn-primary{background:var(--accent);color:var(--surface);border-color:var(--accent);}
.menu-mobile .btn.btn-wa{background:var(--wa-green);color:#fff;border-color:var(--wa-green);}
@media(min-width:1024px){.menu-mobile{display:none;}}

/* FOOTER ----------------------------------------------------------------- */
.site-footer{
  background:var(--surface-deep);
  color:var(--text-on-dark);
  padding:48px 0 24px;
  margin-top:0;
}
.site-footer .brand{color:var(--text-on-dark);}
.site-footer .brand-name em{color:var(--accent-on-dark);}
.site-footer .brand-mark{background:rgba(255,255,255,.08);color:var(--accent-on-dark);}
.footer-grid{
  display:grid;grid-template-columns:1fr;gap:32px;
}
@media(min-width:768px){
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:48px;}
}
.footer-col h4{
  font-family:var(--ff-ui);
  font-size:.78rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.18em;
  color:var(--accent-on-dark);
  margin:0 0 14px;
}
.footer-col p,.footer-col a,.footer-col li{
  color:rgba(236,227,203,.82);
  font-size:.95rem;line-height:1.55;
}
.footer-col a:hover{color:var(--accent-on-dark);}
.footer-col li{padding:4px 0;}
.footer-bottom{
  margin-top:36px;padding-top:18px;
  border-top:1px solid rgba(236,227,203,.14);
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;
  font-size:.84rem;color:rgba(236,227,203,.62);
}
.footer-bottom button{
  font-family:var(--ff-ui);font-size:.84rem;
  color:rgba(236,227,203,.78);
  text-decoration:underline;text-underline-offset:3px;
}
.footer-bottom button:hover{color:var(--accent-on-dark);}

/* FAB mobile (bouton flottant Appeler) ----------------------------------- */
.fab-call{
  position:fixed;
  right:14px;bottom:14px;
  width:56px;height:56px;border-radius:50%;
  background:var(--accent);
  color:var(--surface);
  display:none;align-items:center;justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  z-index:1050;
  opacity:0;transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease;
}
.fab-call.is-visible{opacity:1;transform:none;}
.fab-call svg{width:26px;height:26px;}
@media(max-width:1023px){.fab-call{display:flex;}}

/* main spacer pour header fixed */
main{padding-top:var(--header-h-mobile);}
@media(min-width:768px){main{padding-top:var(--header-h);}}
