/* ─────────────────── SITE FOOTER (extrait de index.html — partagé) ────
   Footer riche avec : CTA centrale "Reprenez en main vos charges" + soleil
   doré + 2 clusters latéraux (Cabinet gauche / Contact droite) + legal bar.
*/

.site-footer{
  position:relative;
  background:var(--bg);
  color:var(--heading);
  overflow:hidden;
  padding:24px 80px 24px;       /* padding-top réduit de 72→24 pour coller au CTA inline qui précède */
  isolation:isolate;
  min-height:660px;             /* min-height légèrement réduite pour compenser */
}
.site-footer__sun{
  position:absolute;
  left:50%;
  bottom:-340px;
  transform:translateX(-50%);
  width:min(540px,72vw);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle at 50% 38%,#ffd84a 0%,var(--accent) 30%,#a8780a 62%,#3a2705 92%,rgba(0,0,0,0) 100%);
  box-shadow:
    0 -10px 120px 20px rgba(239,186,0,.45),
    0 0 240px 60px rgba(239,186,0,.25);
  pointer-events:none;
  z-index:0;
}
.site-footer__horizon{
  position:absolute;
  left:0;right:0;
  bottom:110px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--border) 25%,var(--border) 75%,transparent);
  z-index:1;
  pointer-events:none;
}
.site-footer__rays{
  position:absolute;
  left:50%;
  bottom:110px;
  transform:translateX(-50%);
  width:min(540px,72vw);
  height:80px;
  z-index:1;
  pointer-events:none;
}
.site-footer__rays span{
  position:absolute;left:50%;transform:translateX(-50%);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(239,186,0,var(--o,.18)),transparent);
}
.site-footer__inner{
  position:relative;
  z-index:3;
  max-width:1100px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:22px;
}
.site-footer__inner .badge{ white-space:nowrap; }
.site-footer__title{
  font-size:clamp(40px,5vw,64px);
  line-height:1.05;
  letter-spacing:-.04em;
  font-weight:500;
  max-width:880px;
  text-wrap:balance;
}
.site-footer__sub{
  font-size:clamp(15px,1.15vw,17px);
  color:var(--text);
  max-width:480px;
  line-height:1.55;
  margin-bottom:6px;
}

/* Variante bouton ivoire (utilisée dans le footer CTA) */
.btn--cream{
  background:linear-gradient(180deg,#fbf6e8,#e8dcc1);
  color:#1a1200;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 10px 32px rgba(243,234,215,.22),inset 0 1px 0 rgba(255,255,255,.55);
}
.btn--cream:hover{
  box-shadow:0 14px 40px rgba(243,234,215,.34),inset 0 1px 0 rgba(255,255,255,.7);
}

.site-footer__cluster{
  position:absolute;
  bottom:96px;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.site-footer__cluster--left{ left:80px; align-items:flex-start; }
.site-footer__cluster--right{ right:80px; align-items:flex-end; text-align:right; }
.site-footer__cluster h3{
  font-size:11px;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.4);
  margin-bottom:10px;
  white-space:nowrap;
}
.site-footer__link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  color:rgba(255,255,255,.72);
  padding:3px 0;
  white-space:nowrap;
  transition:color .2s var(--ease);
}
.site-footer__link .t{ position:relative; display:inline-block; }
.site-footer__link .t::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .35s cubic-bezier(.7,.1,.2,1);
}
.site-footer__link:hover{ color:#fff; }
.site-footer__link:hover .t::after{ transform:scaleX(1); transform-origin:left; }
.site-footer__link .arrow{
  font-size:12px;
  display:inline-block;
  transition:transform .25s var(--ease);
}
.site-footer__link:hover .arrow{ transform:translate(3px,-3px); }
.site-footer__legal{
  position:absolute;
  left:80px;
  right:80px;
  bottom:24px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  font-size:12px;
  color:rgba(255,255,255,.4);
}
.site-footer__legal-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.site-footer__legal-brand img{
  height:18px;
  width:auto;
  opacity:.7;
}
.site-footer__legal a{
  color:rgba(255,255,255,.5);
  transition:color .2s;
}
.site-footer__legal a:hover{ color:#fff; }
.site-footer__legal-links{ display:flex; gap:22px; }

@media (max-width:900px){
  .site-footer{padding:80px 24px 32px;min-height:auto;}
  .site-footer__sun{bottom:-200px;width:min(360px,80vw);}
  .site-footer__horizon,.site-footer__rays{display:none;}
  .site-footer__cluster{
    position:static;
    align-items:center !important;
    text-align:center !important;
    margin-top:32px;
  }
  .site-footer__legal{
    position:static;
    margin-top:32px;
    left:auto;right:auto;
    flex-direction:column;
    text-align:center;
    justify-content:center;
  }
}
