/* =========================================================
   Nuxerya — footer_css.css
   Footer premium
========================================================= */

.site-footer{
  position:relative;
  z-index:1;

  padding:44px 0 30px;
  overflow:hidden;

  background:
    radial-gradient(720px 360px at 18% 0%, rgba(26,81,166,.12), transparent 64%),
    radial-gradient(720px 380px at 86% 0%, rgba(106,51,216,.10), transparent 66%),
    linear-gradient(180deg, rgba(11,17,30,0) 0%, rgba(11,17,30,.94) 46%, var(--nux-night) 100%);

  border-top:1px solid var(--line-soft);
}

.site-footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(88,241,211,.28),
      rgba(26,81,166,.22),
      rgba(106,51,216,.24),
      transparent
    );
}

.site-footer__grid{
  width:min(1280px, calc(100% - 56px));
  margin-inline:auto;

  display:grid;
  grid-template-columns:1.4fr .7fr .9fr .85fr;
  gap:clamp(24px, 4vw, 64px);
  align-items:start;
}

.site-footer__brand,
.site-footer__col{
  min-width:0;
}

/* Logo + texte comme header */

.site-footer__brandLink{
  width:max-content;
  max-width:100%;
  margin-bottom:14px;

  display:inline-flex;
  align-items:center;
  gap:11px;

  color:var(--text-strong, #EEF3FA);
  text-decoration:none;

  gap:13px;
  margin-bottom:18px;
}

.site-footer__mark{
  width:46px;
  height:46px;

  display:grid;
  place-items:center;

  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}

.site-footer__mark img{
  width:40px;
  height:40px;
  max-width:40px;
  object-fit:contain;
}

.site-footer__brandText{
  display:grid;
  gap:1px;
}

.site-footer__brandText strong{
  color:var(--text-strong, #EEF3FA);
  font-size:17px;
  font-weight:650;
  line-height:1;
  letter-spacing:-.02em;
}

.site-footer__brandText small{
  color:rgba(168,177,195,.76);
  font-size:13px;
  font-weight:500;
  line-height:1.1;
}

.site-footer__text{
  margin:0;
  max-width:44ch;

  color:rgba(168,177,195,.86);
  font-size:14px;
  line-height:1.72;
}

.site-footer__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;

  margin-top:16px;
}

.site-footer__badges span{
  color:rgba(231,236,243,.76);
  font-size:12px;
  font-weight:500;
}

.site-footer__heading{
  margin:0 0 14px;

  color:var(--text-strong);
  font-size:14px;
  font-weight:600;
}

.site-footer__list,
.site-footer__legal{
  list-style:none;
  padding:0;
  margin:0;
}

.site-footer__list{
  display:grid;
  gap:10px;
}

.site-footer__list a,
.site-footer__legal a{
  color:rgba(168,177,195,.84);
  text-decoration:none;
  line-height:1.45;

  transition:color .2s ease;
}

.site-footer__list a:hover,
.site-footer__legal a:hover{
  color:var(--text-strong);
}

.site-footer__meta{
  width:100%;
  margin-top:28px;
  padding:16px 28px 0;
  border-top:1px solid var(--line-soft);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;

  color:rgba(168,177,195,.72);
  font-size:13px;
}

.site-footer__meta p{
  margin:0;
  white-space:nowrap;
}

.site-footer__legal{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:16px;

  text-align:right;
}

/* Responsive footer */

@media (max-width: 1100px){
  .site-footer__grid{
    grid-template-columns:1fr 1fr;
  }

  .site-footer__brand{
    grid-column:1 / -1;
  }
}

@media (max-width: 760px){
  .site-footer__grid{
    width:min(100% - 32px, 1280px);
    grid-template-columns:1fr;
  }

  .site-footer__meta{
    padding-inline:16px;
    flex-direction:column;
    align-items:flex-start;
  }

  .site-footer__legal{
    justify-content:flex-start;
    text-align:left;
  }
}


/* =========================================================
   Footer mobile compact
========================================================= */

@media (max-width: 760px){
  .site-footer{
    padding:28px 0 18px;
  }

  .site-footer__grid{
    width:min(100% - 32px, 620px);
    grid-template-columns:1fr 1fr;
    gap:22px 18px;
  }

  .site-footer__brand{
    grid-column:1 / -1;
  }

  .site-footer__brandLink{
    margin-bottom:10px;
    gap:10px;
  }

  .site-footer__mark{
    width:36px;
    height:36px;
  }

  .site-footer__mark img{
    width:32px;
    height:32px;
    max-width:32px;
  }

  .site-footer__brandText strong{
    font-size:15px;
  }

  .site-footer__brandText small{
    font-size:11.5px;
  }

  .site-footer__text{
    max-width:34ch;
    font-size:12.8px;
    line-height:1.55;
  }

  .site-footer__badges{
    display:none;
  }

  .site-footer__heading{
    margin-bottom:8px;
    font-size:12px;
  }

  .site-footer__list{
    gap:6px;
  }

  .site-footer__list a{
    font-size:12.5px;
    line-height:1.35;
  }

  .site-footer__col:nth-of-type(3){
    grid-column:1 / -1;
  }

  .site-footer__col:nth-of-type(3) .site-footer__list{
    grid-template-columns:1fr 1fr;
    gap:6px 12px;
  }

  .site-footer__meta{
    width:min(100% - 32px, 620px);
    margin:22px auto 0;
    padding:14px 0 0;

    flex-direction:column;
    align-items:flex-start;
    gap:10px;

    font-size:11.8px;
  }

  .site-footer__meta p{
    white-space:normal;
  }

  .site-footer__legal{
    width:100%;
    justify-content:flex-start;
    gap:8px 12px;
  }

  .site-footer__legal a{
    font-size:11.8px;
  }
}

@media (max-width: 420px){
  .site-footer{
    padding:24px 0 16px;
  }

  .site-footer__grid{
    width:min(100% - 28px, 620px);
    gap:20px 14px;
  }

  .site-footer__text{
    font-size:12.4px;
  }

  .site-footer__list a{
    font-size:12.2px;
  }
}

/* Réduction espace entre liens footer mobile */

@media (max-width: 760px){
  .site-footer__list{
    gap:0px; /* avant 6px */
  }

  .site-footer__list li{
    margin:0;
  }

  .site-footer__list a{
    padding:2px 0; /* réduit la zone verticale */
    line-height:1.25;
  }

  .site-footer__legal{
    gap:6px 10px; /* avant plus large */
  }
}

