/* ===== HEADER STICKY ===== */
.site-header{
  position:sticky;top:0;z-index:var(--z-header);
  background:rgba(232,240,236,0.92);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  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 0 rgba(31,53,49,0.04)}
.header-row{
  height:var(--header-h-mobile);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
@media(min-width:768px){.header-row{height:var(--header-h)}}

/* Brand */
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.brand-mark{
  width:38px;height:38px;flex:0 0 38px;
  border-radius:9px;
  background:var(--accent-soft);
  display:grid;place-items:center;
  color:var(--accent);
}
.brand-mark svg{width:24px;height:24px}
.brand-text{display:flex;flex-direction:column;line-height:1.05}
.brand-name{font-family:var(--ff-display);font-size:1.15rem;font-weight:600;letter-spacing:-0.01em;color:var(--text)}
.brand-name em{font-style:italic;color:var(--accent);font-weight:500}
.brand-tag{display:none;font-size:0.62rem;font-weight:600;letter-spacing:0.18em;color:var(--text-mute);text-transform:uppercase;margin-top:2px}
@media(min-width:560px){.brand-tag{display:block}}

/* Nav desktop */
.nav-main{display:none}
@media(min-width:980px){
  .nav-main{display:flex;align-items:center;gap:28px}
  .nav-main a{font-size:0.95rem;color:var(--text-2);position:relative;padding:6px 0}
  .nav-main a:hover{color:var(--accent)}
  .nav-main a::after{content:"";position:absolute;left:0;right:100%;bottom:0;height:1.5px;background:var(--accent);transition:right .25s ease}
  .nav-main a:hover::after,.nav-main a[aria-current=true]::after{right:0}
}

/* Open-now badge desktop */
.open-now{display:none}
@media(min-width:1080px){
  .open-now{display:inline-flex;align-items:center;gap:8px;font-size:0.84rem;color:var(--text-2)}
  .open-now .dot{width:9px;height:9px;border-radius:50%;background:#aaa}
  .open-now.is-open .dot{background:#3CB371;box-shadow:0 0 0 0 rgba(60,179,113,.6);animation:pulse 2.2s ease-out infinite}
  .open-now.is-closed .dot{background:#C77E7E}
}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(60,179,113,.55)}70%{box-shadow:0 0 0 10px rgba(60,179,113,0)}100%{box-shadow:0 0 0 0 rgba(60,179,113,0)}}

/* Header CTA desktop */
.header-actions{display:flex;align-items:center;gap:14px}
.header-cta{display:none}
@media(min-width:980px){a.header-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;background:var(--accent);color:#fff;font-weight:600;font-size:0.92rem;white-space:nowrap;transition:background var(--t-fast),transform var(--t-fast)}}
a.header-cta:hover{background:var(--primary-deep)}
a.header-cta svg{width:16px;height:16px}

/* Burger mobile (enfant direct body, fixed) */
.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;
  z-index:var(--z-burger);
  cursor:pointer;
}
.burger span,.burger span::before,.burger span::after{
  content:"";display:block;width:24px;height:2px;border-radius:2px;background:var(--text);transition:transform var(--t-fast),opacity var(--t-fast)
}
.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{transform:translateY(7px) rotate(45deg)}
.burger.is-open span::after{transform:translateY(-7px) rotate(-45deg)}
@media(min-width:980px){.burger{display:none}}

/* Menu mobile (enfant direct 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) + 28px) 24px 40px;
  display:flex;flex-direction:column;gap:0;
  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:not(.btn){
  display:block;
  font-family:var(--ff-display);
  font-size:1.55rem;
  font-weight:500;
  color:var(--text);
  padding:18px 0;
  border-bottom:1px solid var(--border);
}
.menu-mobile > a:not(.btn):hover{color:var(--accent)}
.menu-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}
/* Force colors des CTA dans le menu (PIEGE PROD documente : sinon .menu-mobile a ecrase .btn-primary color) */
.menu-mobile .menu-actions a.btn-primary{color:#fff}
.menu-mobile .menu-actions a.btn-wa{color:#fff}
.menu-mobile .menu-actions a.btn-primary,
.menu-mobile .menu-actions a.btn-wa{font-family:var(--ff-body);font-size:1rem;border-bottom:0;padding:14px 22px}
@media(min-width:980px){.menu-mobile{display:none}}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--accent-deep);
  color:var(--text-inverse);
  padding:56px 0 28px;
  margin-top:0;
  position:relative;
}
.site-footer :where(h2,h3,h4,p,li,span,a,small,strong){color:var(--text-inverse)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:36px}
@media(min-width:760px){.footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:48px}}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.footer-brand .brand-mark{background:rgba(242,245,242,0.1);color:var(--accent-soft)}
.footer-brand .brand-name{color:var(--text-inverse)}
.footer-brand .brand-name em{color:var(--accent-soft)}
.footer-brand .brand-tag{display:block;color:rgba(242,245,242,0.65)}
.footer-section h4{font-family:var(--ff-display);font-size:1rem;font-weight:500;margin-bottom:14px;letter-spacing:0;color:var(--accent-soft)}
.footer-section a:hover{color:var(--accent-soft)}
.footer-section p,.footer-section li{font-size:0.92rem;line-height:1.7;color:rgba(242,245,242,0.85)}
.footer-section li{margin-bottom:6px}
.footer-bottom{margin-top:40px;padding-top:22px;border-top:1px solid rgba(242,245,242,0.12);display:flex;flex-direction:column;gap:10px;font-size:0.82rem;color:rgba(242,245,242,0.62);text-align:center}
@media(min-width:760px){.footer-bottom{flex-direction:row;justify-content:space-between;text-align:left}}
.footer-bottom button{font-size:0.82rem;color:rgba(242,245,242,0.75);text-decoration:underline;cursor:pointer}
.footer-bottom button:hover{color:var(--text-inverse)}

/* FAB mobile */
.fab-mobile{
  position:fixed;right:14px;bottom:14px;z-index:var(--z-fab);
  display:flex;flex-direction:column;gap:10px;
}
.fab-mobile a{
  width:56px;height:56px;border-radius:50%;
  display:grid;place-items:center;
  box-shadow:0 6px 22px rgba(31,53,49,.22),0 0 0 1px rgba(0,0,0,.04);
  color:#fff;transition:transform var(--t-fast)
}
.fab-mobile a:hover{transform:translateY(-2px)}
.fab-mobile .fab-wa{background:var(--wa-green)}
.fab-mobile .fab-tel{background:var(--accent)}
.fab-mobile a svg{width:24px;height:24px}
@media(min-width:980px){.fab-mobile{display:none}}
@media(max-width:979px){body{padding-bottom:90px}}
