/* ============================================================
   FOOTER PREMIUM V90 — LISTOOL AI
   Fichier dédié : /assets/css/footer.css
   Objectif : footer SaaS premium, logo plus visible, colonnes lisibles
============================================================ */

.footer,
.site-footer,
.ai-footer{
  position:relative;
  isolation:isolate;
  margin-top:92px;
  overflow:hidden;
  color:#e5efff;
  border-top:1px solid rgba(148,163,184,.16);
  background:
    radial-gradient(circle at 14% -12%, rgba(103,232,249,.16), transparent 34%),
    radial-gradient(circle at 82% -16%, rgba(167,139,250,.15), transparent 36%),
    radial-gradient(circle at 50% 110%, rgba(37,99,235,.10), transparent 42%),
    linear-gradient(180deg,#07111f 0%,#030712 58%,#020617 100%);
}

.footer::before,
.site-footer::before,
.ai-footer::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size:auto, 48px 48px, 48px 48px;
  opacity:.48;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.92), transparent 90%);
}

.footer::after,
.site-footer::after,
.ai-footer::after{
  content:"";
  position:absolute;
  inset:1px 0 auto;
  height:1px;
  z-index:-1;
  background:linear-gradient(90deg, transparent, rgba(103,232,249,.62), rgba(167,139,250,.42), transparent);
  opacity:.75;
}

.footer-glow{
  position:absolute;
  z-index:-1;
  width:420px;
  height:420px;
  border-radius:999px;
  filter:blur(68px);
  opacity:.22;
  pointer-events:none;
}

.footer-glow-one{
  top:-210px;
  left:-140px;
  background:rgba(103,232,249,.52);
}

.footer-glow-two{
  top:-190px;
  right:-150px;
  background:rgba(167,139,250,.52);
}

.footer-glow-three{
  right:30%;
  bottom:-260px;
  background:rgba(59,130,246,.34);
}

.footer-inner{
  position:relative;
  z-index:1;
  width:min(1440px, calc(100% - 72px));
  margin-inline:auto;
  padding:56px 0 30px;
}

.footer-premium-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(360px, 520px) minmax(0, 1fr);
  gap:clamp(44px, 5vw, 86px);
  align-items:start;
  padding:clamp(34px, 4.6vw, 62px);
  overflow:hidden;
  border:1px solid rgba(148,163,184,.16);
  border-radius:36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(103,232,249,.10), transparent 34%),
    radial-gradient(circle at 96% 10%, rgba(167,139,250,.10), transparent 36%),
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(8,15,30,.86));
  box-shadow:
    0 44px 130px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(18px);
}

.footer-premium-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.08), transparent 28%, transparent 72%, rgba(255,255,255,.045));
  opacity:.38;
}

.footer-brand,
.footer-columns,
.footer-bottom{
  position:relative;
  z-index:1;
}

.footer-brand{
  min-width:0;
}

.footer-logo{
  display:inline-flex;
  width:fit-content;
  margin:0 0 22px;
  color:#fff;
  text-decoration:none;
}

.footer-logo:hover{
  color:#fff;
}

.footer-logo-frame{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:260px;
  min-height:96px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(135deg, rgba(103,232,249,.13), rgba(96,165,250,.08), rgba(167,139,250,.13)),
    rgba(15,23,42,.72);
  box-shadow:
    0 26px 74px rgba(0,0,0,.32),
    0 0 82px rgba(96,165,250,.14),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.footer-logo-frame img,
.footer-logo img{
  display:block;
  width:210px !important;
  max-width:210px !important;
  height:auto !important;
  max-height:74px !important;
  object-fit:contain !important;
  border-radius:0 !important;
  filter:drop-shadow(0 16px 32px rgba(96,165,250,.36));
}

.footer-logo-text,
.footer-logo-text strong,
.footer-logo strong,
.footer-logo-text span,
.footer-logo-text small,
.footer-logo small{
  display:none !important;
}

.footer-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 13px;
  margin-bottom:18px;
  border:1px solid rgba(103,232,249,.22);
  border-radius:999px;
  color:#9eeaff;
  background:rgba(8,18,34,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  font-size:13px;
  line-height:1;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.footer-badge i{
  color:#c4b5fd;
}

.footer-title{
  max-width:560px;
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(30px, 3.2vw, 50px);
  line-height:1.04;
  font-weight:950;
  letter-spacing:-.06em;
}

.footer-description{
  max-width:600px;
  margin:0;
  color:#a8c1e8;
  font-size:18px;
  line-height:1.76;
  letter-spacing:-.012em;
}

.footer-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:28px;
}

.footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  font-size:16px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  transition:transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.footer-cta-primary{
  color:#04111f;
  background:linear-gradient(135deg,#67e8f9,#93c5fd 48%,#c4b5fd);
  border:1px solid rgba(255,255,255,.20);
  box-shadow:0 18px 48px rgba(96,165,250,.22), inset 0 1px 0 rgba(255,255,255,.32);
}

.footer-cta-secondary{
  color:#c7ddff;
  background:rgba(13,26,45,.82);
  border:1px solid rgba(96,165,250,.27);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.footer-cta:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 22px 54px rgba(0,0,0,.28);
}

.footer-cta-primary:hover{
  color:#020617;
  border-color:rgba(255,255,255,.34);
}

.footer-cta-secondary:hover{
  background:rgba(18,35,60,.98);
  border-color:rgba(103,232,249,.46);
}

.footer-trust{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:20px;
  color:#cbd5e1;
}

.footer-trust span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border:1px solid rgba(148,163,184,.13);
  border-radius:999px;
  color:#cbd5e1;
  background:rgba(255,255,255,.035);
  font-size:14px;
  line-height:1;
  font-weight:750;
  white-space:nowrap;
}

.footer-trust i{
  color:#93c5fd;
}

.footer-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:560px;
  margin-top:26px;
}

.footer-stats div{
  min-width:0;
  padding:16px 14px;
  border:1px solid rgba(148,163,184,.14);
  border-radius:22px;
  background:rgba(255,255,255,.04);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.footer-stats strong{
  display:block;
  color:#fff;
  font-size:26px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
}

.footer-stats span{
  display:block;
  margin-top:6px;
  color:#9fb7db;
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}

.footer-columns{
  display:grid;
  grid-template-columns:repeat(4, minmax(132px, 1fr));
  gap:clamp(22px, 3vw, 44px);
  align-items:start;
  padding-top:10px;
}

.footer-column{
  min-width:0;
  padding:0;
  background:transparent;
  border:0;
}

.footer-column h4{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
  color:#7dd3fc;
  font-size:13px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.footer-column h4::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:linear-gradient(135deg,#67e8f9,#a78bfa);
  box-shadow:0 0 18px rgba(103,232,249,.55);
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

.footer-links li{
  margin:0;
  padding:0;
}

.footer-links a,
.footer-bottom-links a{
  color:#a9c4ef;
  text-decoration:none;
  transition:color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-links a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  min-height:38px;
  padding:0 10px;
  border:1px solid transparent;
  border-radius:13px;
  color:#b6cef3;
  font-size:15px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.018em;
}

.footer-links a i{
  flex:0 0 auto;
  font-size:12px;
  color:#7fa7dc;
  opacity:.72;
  transform:translateY(-1px);
  transition:opacity .2s ease, color .2s ease, transform .2s ease;
}

.footer-links a:hover{
  color:#fff;
  background:rgba(255,255,255,.045);
  border-color:rgba(148,163,184,.12);
  transform:translateX(3px);
}

.footer-links a:hover i{
  color:#67e8f9;
  opacity:1;
  transform:translate(2px,-2px);
}

.footer-bottom{
  margin-top:26px;
  padding:22px 2px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#91a9ca;
  font-size:15px;
  line-height:1.45;
}

.footer-bottom p{
  margin:0;
}

.footer-bottom-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px 16px;
  font-size:15px;
  font-weight:850;
}

.footer-bottom-links a{
  color:#c7ddff;
}

.footer-bottom-links a:hover{
  color:#67e8f9;
  transform:translateY(-1px);
}

.footer-socials{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.footer-social,
.footer-socials a{
  width:42px;
  height:42px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
  color:#a9c4ef;
  text-decoration:none;
  transition:.22s ease;
}

.footer-social:hover,
.footer-socials a:hover{
  background:rgba(255,255,255,.10);
  color:#fff;
  transform:translateY(-2px);
}

@media (max-width: 1180px){
  .footer-inner{
    width:min(100% - 48px, 980px);
  }

  .footer-premium-card{
    grid-template-columns:1fr;
    gap:42px;
  }

  .footer-title,
  .footer-description,
  .footer-stats{
    max-width:760px;
  }

  .footer-columns{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    padding-top:0;
  }
}

@media (max-width: 860px){
  .footer-columns{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:30px 22px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-bottom-links{
    justify-content:flex-start;
  }
}

@media (max-width: 640px){
  .footer,
  .site-footer,
  .ai-footer{
    margin-top:68px;
  }

  .footer-inner{
    width:min(100% - 28px, 560px);
    padding:38px 0 24px;
  }

  .footer-premium-card{
    padding:28px 20px;
    border-radius:28px;
  }

  .footer-logo{
    margin-bottom:18px;
  }

  .footer-logo-frame{
    width:100%;
    min-height:88px;
    padding:16px 18px;
    border-radius:24px;
  }

  .footer-logo-frame img,
  .footer-logo img{
    width:190px !important;
    max-width:190px !important;
    max-height:66px !important;
  }

  .footer-title{
    font-size:30px;
    letter-spacing:-.045em;
  }

  .footer-description{
    font-size:16px;
    line-height:1.68;
  }

  .footer-actions{
    align-items:stretch;
  }

  .footer-cta{
    width:100%;
    min-height:50px;
    font-size:15px;
  }

  .footer-trust span{
    width:100%;
    justify-content:flex-start;
  }

  .footer-stats{
    grid-template-columns:1fr;
  }

  .footer-columns{
    grid-template-columns:1fr;
    gap:26px;
  }

  .footer-column h4{
    margin-bottom:12px;
  }

  .footer-links{
    gap:8px;
  }

  .footer-links a{
    min-height:42px;
    font-size:15px;
    background:rgba(255,255,255,.025);
    border-color:rgba(148,163,184,.08);
  }

  .footer-bottom{
    margin-top:22px;
    font-size:14px;
  }

  .footer-bottom-links{
    gap:10px 13px;
    font-size:14px;
  }
}
