/* Header sticky */
.site-header{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--header-h-mobile);
  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;
  z-index:var(--z-header);
  transition:background var(--t-base), border-color var(--t-base), height var(--t-base);
}
.site-header.is-scrolled{
  background:color-mix(in srgb, var(--bg) 98%, transparent);
  border-bottom-color:var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  height:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}
@media(min-width:768px){
  .site-header{height:var(--header-h);}
  .header-inner{padding:0 32px;}
}

/* Brand */
.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  font-family:var(--ff-display);
  font-weight:600;
  font-size:1.05rem;
  letter-spacing:-0.01em;
}
.brand-mark{
  width:38px;height:38px;
  color:var(--accent);
  flex-shrink:0;
  display:grid;place-items:center;
  background:color-mix(in srgb, var(--accent) 10%, var(--bg));
  border-radius:10px;
  transition:transform var(--t-base);
}
.brand:hover .brand-mark{transform:rotate(-4deg);}
.brand-mark svg{width:22px;height:22px;}
.brand-name{display:inline-flex;flex-direction:column;line-height:1.05;}
.brand-name strong{font-weight:600;}
.brand-name em{font-style:normal;font-family:var(--ff-ui);font-size:0.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--text-mute);font-weight:500;margin-top:2px;}

/* Nav desktop */
.nav-desktop{display:none;}
@media(min-width:900px){
  .nav-desktop{
    display:flex;
    align-items:center;
    gap:30px;
  }
  .nav-desktop a{
    color:var(--text);
    font-family:var(--ff-ui);
    font-size:0.95rem;
    font-weight:500;
    padding:6px 0;
    position:relative;
    transition:color var(--t-fast);
  }
  .nav-desktop a:hover{color:var(--accent);}
  .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-base);
  }
  .nav-desktop a:hover::after{transform:scaleX(1);}
}

/* Header CTAs */
.header-ctas{display:flex;align-items:center;gap:8px;}
.header-call{display:none;}
@media(min-width:768px){
  .header-call{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 16px;
    border-radius:var(--r-md);
    background:var(--accent);
    color:#fff;
    font-family:var(--ff-ui);
    font-size:0.92rem;
    font-weight:500;
    border:1px solid var(--accent);
    transition:background var(--t-fast), transform var(--t-fast);
  }
  .header-call:hover{
    background:color-mix(in srgb, var(--accent) 85%, black);
    color:#fff;
    transform:translateY(-1px);
  }
  .header-call svg{width:14px;height:14px;}
}

/* Burger */
.burger{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:var(--r-md);
  position:relative;
  z-index:calc(var(--z-header) + 1);
}
.burger span{
  display:block;
  width:22px;height:2px;
  background:var(--text);
  position:relative;
  transition:background var(--t-fast);
}
.burger span::before,
.burger span::after{
  content:"";
  position:absolute;
  left:0;right:0;
  height:2px;
  background:var(--text);
  transition:transform var(--t-base), top var(--t-base), background var(--t-fast);
}
.burger span::before{top:-7px;}
.burger span::after{top:7px;}
.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:900px){
  .burger{display:none;}
}

/* Menu mobile (enfant direct du body, jamais imbrique) */
.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: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;
}
.menu-mobile a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 4px;
  color:var(--text);
  font-family:var(--ff-display);
  font-size:1.35rem;
  border-bottom:1px solid var(--border);
}
.menu-mobile a:last-child{border-bottom:none;}
.menu-mobile a span{font-family:var(--ff-ui);font-size:0.8rem;color:var(--text-mute);}
.menu-mobile .btn-wa{
  margin-top:14px;
  background:var(--wa-green);
  color:#fff;
  border-radius:var(--r-md);
  padding:16px 18px;
  font-family:var(--ff-ui);
  font-size:1rem;
  border:none;
  justify-content:center;
  gap:10px;
}
.menu-mobile .btn-wa svg{width:18px;height:18px;}
.menu-mobile .btn-call{
  background:var(--accent);
  color:#fff;
  border-radius:var(--r-md);
  padding:16px 18px;
  font-family:var(--ff-ui);
  font-size:1rem;
  margin-top:10px;
  justify-content:center;
  gap:10px;
}
.menu-mobile .btn-call svg{width:18px;height:18px;}
@media(min-width:900px){
  .menu-mobile{display:none;}
}

/* Footer */
.site-footer{
  background:#171B22;
  color:#C9CCD2;
  padding:48px 20px 24px;
  font-family:var(--ff-ui);
  font-size:0.92rem;
  margin-top:48px;
}
.footer-inner{
  max-width:var(--container);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
}
@media(min-width:768px){
  .footer-inner{grid-template-columns:1.2fr 1fr 1fr;gap:48px;}
  .site-footer{padding:64px 32px 28px;}
}
.footer-brand .brand{color:#fff;}
.footer-brand .brand-mark{background:rgba(255,255,255,0.08);color:var(--accent-2);}
.footer-brand .brand-name em{color:rgba(201,166,107,0.85);}
.footer-tagline{color:rgba(255,255,255,0.65);margin-top:12px;max-width:30ch;line-height:1.55;}
.footer-col h4{
  font-family:var(--ff-display);
  font-size:1rem;
  color:#fff;
  margin-bottom:14px;
  font-weight:500;
}
.footer-col ul{display:flex;flex-direction:column;gap:8px;}
.footer-col a, .footer-col li{color:rgba(255,255,255,0.7);}
.footer-col a:hover{color:var(--accent-2);}
.footer-contact-item{display:flex;align-items:flex-start;gap:10px;}
.footer-contact-item svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;color:var(--accent-2);}
.footer-bottom{
  max-width:var(--container);
  margin:36px auto 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.08);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:rgba(255,255,255,0.5);
  font-size:0.82rem;
}
.footer-bottom a{color:rgba(255,255,255,0.7);text-decoration:underline;text-decoration-color:rgba(255,255,255,0.2);}
.footer-bottom a:hover{color:var(--accent-2);}

/* FAB mobile */
.fab-call{
  position:fixed;
  bottom:18px;
  right:18px;
  z-index:var(--z-fab);
  width:56px;height:56px;
  border-radius:50%;
  background:var(--accent);
  color:#fff;
  box-shadow:0 8px 24px rgba(31,58,95,0.35), 0 2px 6px rgba(0,0,0,0.15);
  display:grid;place-items:center;
  border:none;
}
.fab-call svg{width:24px;height:24px;}
.fab-call::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid var(--accent);
  opacity:0;
  animation:fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse{
  0%{transform:scale(.85);opacity:.55;}
  80%{transform:scale(1.35);opacity:0;}
  100%{transform:scale(1.35);opacity:0;}
}
@media(min-width:900px){
  .fab-call{display:none;}
}
