/* RCC Footer global — structure HTML issue de getFooter() (inchangée).
   Chargement partagé via getInnerHead(), sur toutes les pages. */
#footer {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(132deg,#0b1019 0%,#131b2a 60%,#17121b 100%);
  color:#cbd5e1;
  border:0;
  margin:0;
}
#footer::before {
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,#b90e13 0%,#d82424 45%,#d2a343 100%);
  z-index:1;
}
#footer::after {
  content:"";position:absolute;right:-170px;top:-210px;width:500px;height:500px;
  border:1px solid rgba(255,255,255,.055);border-radius:50%;
  box-shadow:0 0 0 90px rgba(255,255,255,.017),0 0 0 180px rgba(255,255,255,.012);
  pointer-events:none;
}
#footer .footer-top {
  padding:66px 0 47px;
  margin:0;
  background:transparent;
  border:0;
}
#footer .footer-top .container {position:relative;z-index:1;}
#footer .footer-top .row {row-gap:36px;}
#footer .footer-info {margin:0;}
#footer .footer-info h3 {margin:0 0 17px!important;text-align:left!important;}
#footer .footer-info .logo img {
  display:block;width:86px;max-width:100%;height:auto;
  padding:8px;border-radius:17px;
  background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.2);
}
#footer .footer-info p {margin:0;color:#cbd5e1;font-size:13px;line-height:1.9;}
#footer .footer-info p strong {color:#f5f7fb;}
#footer .footer-top h4 {
  color:#fff;font-weight:850;font-size:15px;
  line-height:1.35;letter-spacing:.01em;margin:0 0 20px;padding:0;
}
#footer .footer-top h4::before {
  content:"";display:block;width:27px;height:3px;border-radius:5px;
  background:#d6a643;margin-bottom:14px;
}
#footer .footer-top h4:empty,
#footer .footer-top h4:has(> br:only-child) {display:none;}
#footer .footer-links ul {padding:0;margin:0;list-style:none;}
#footer .footer-links li {padding:0 0 11px;margin:0;line-height:1.5;}
#footer .footer-links li i {color:#d6a643;font-size:16px;margin-right:2px;}
#footer a {color:#dbe4f0;text-decoration:none;transition:color .2s ease;}
#footer a:hover,
#footer a:focus-visible {color:#f2c46b;}
#footer .footer-links li a {font-size:13px;}
#footer .footer-newsletter {
  font-size:12px;line-height:1.85;color:#aab8cd;
}
#footer .social-links {margin:12px 0 22px!important;}
#footer .social-links a {
  display:inline-flex;align-items:center;justify-content:center;
  width:43px;height:43px;margin:0 8px 0 0;border:1px solid rgba(255,255,255,.16);
  border-radius:12px;color:#fff;background:#b90e13;
  transition:transform .2s ease,background .2s ease;
}
#footer .social-links a:hover {background:#d12227;transform:translateY(-2px);color:#fff;}
#footer .footer-newsletter img {max-width:100%;height:auto;}
#footer > .container {
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:23px;padding-bottom:26px;position:relative;z-index:1;
}
#footer .copyright {
  text-align:center;font-size:12px;line-height:1.7;color:#9ca9bc;
  margin:0;padding:0;
}
@media(max-width:767px) {
  #footer .footer-top {padding:46px 0 30px;}
  #footer .footer-top .row {row-gap:26px;}
  #footer .footer-info h3 {text-align:center!important;}
  #footer .footer-info .logo img {margin:0 auto;}
  #footer .footer-info p {text-align:center;}
  #footer .footer-top h4 {margin-bottom:15px;}
}
@media(prefers-reduced-motion:reduce) {
  #footer a,
  #footer .social-links a {transition:none;}
}
