/* ===== Neutralisation de la rangée Astra qui contient le bloc ===== */
.site-above-footer-wrap:has(.kw-footer) {
  padding: 0 !important;
  background: #001524 !important;
  border: 0 !important;
}
.site-above-footer-wrap:has(.kw-footer) .ast-builder-grid-row,
.site-above-footer-wrap:has(.kw-footer) .site-footer-section,
.site-above-footer-wrap:has(.kw-footer) .footer-widget-area {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-above-footer-wrap:has(.kw-footer) .widget {
  margin: 0 !important;
}

/* ===== Variables ===== */
.kw-footer {
  --kw-accent: #5ab4c4;
  --kw-lien: #117a8d;
  --kw-titre: #1e293b;
  --kw-texte: #475569;
  --kw-bordure: #e6eef0;
  --kw-fond-clair: #f5fafb;
  --kw-nuit: #001524;
  --kw-texte-nuit: rgba(255, 255, 255, .74);
  --kw-trait-nuit: rgba(255, 255, 255, .12);
  width: 100%;
  text-align: left;
}
.kw-footer *,
.kw-footer *::before,
.kw-footer *::after {
  box-sizing: border-box;
}
.kw-footer .kw-footer__conteneur {
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 16px;
}

/* ===== 1. Bandeau atouts ===== */
.kw-footer .kw-footer__atouts {
  background: var(--kw-fond-clair);
  padding: 48px 0;
}
.kw-footer .kw-footer__atouts-liste {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.kw-footer .kw-footer__carte {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--kw-bordure);
  border-radius: 16px;
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.kw-footer .kw-footer__carte:hover {
  border-color: var(--kw-accent);
  box-shadow: 0 10px 24px rgba(17, 122, 141, .10);
  transform: translateY(-3px);
}
.kw-footer .kw-footer__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(90, 180, 196, .16);
}
.kw-footer .kw-footer__icone img {
  display: block;
  width: 40px !important;
  height: 40px !important;
  max-width: none;
  object-fit: contain;
}
.kw-footer .kw-footer__carte-titre {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  color: var(--kw-titre);
}
.kw-footer .kw-footer__carte-texte {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--kw-texte);
}
.kw-footer .kw-footer__carte a.kw-footer__carte-lien {
  color: inherit;
  text-decoration: none;
}
.kw-footer .kw-footer__carte a.kw-footer__carte-lien::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
}
.kw-footer .kw-footer__carte a.kw-footer__carte-lien:hover {
  color: var(--kw-lien);
}
.kw-footer .kw-footer__carte a.kw-footer__carte-lien:focus-visible {
  outline: none;
}
.kw-footer .kw-footer__carte a.kw-footer__carte-lien:focus-visible::after {
  outline: 2px solid var(--kw-lien);
  outline-offset: 2px;
}

/* ===== 2. Partie principale (bleu nuit) ===== */
.kw-footer .kw-footer__principal {
  background: var(--kw-nuit);
  color: var(--kw-texte-nuit);
  padding: 56px 0 0;
}
.kw-footer .kw-footer__grille {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.kw-footer .kw-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
}
.kw-footer .kw-footer__logo img {
  display: block;
  width: 200px;
  height: auto;
}
.kw-footer .kw-footer__presentation {
  margin: 0 0 22px;
  max-width: 380px;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--kw-texte-nuit);
}
.kw-footer .kw-footer__principal a.kw-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  background: var(--kw-accent);
  color: var(--kw-nuit);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.kw-footer .kw-footer__principal a.kw-footer__btn:hover {
  background: #7cc6d3;
  color: var(--kw-nuit);
  transform: translateY(-2px);
}
.kw-footer .kw-footer__btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.kw-footer .kw-footer__reseaux {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 26px 0 0 !important;
  padding: 0;
}
.kw-footer .kw-footer__reseaux li {
  margin: 0;
}
.kw-footer .kw-footer__principal a.kw-footer__reseau {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--kw-trait-nuit);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.kw-footer .kw-footer__principal a.kw-footer__reseau:hover {
  background: var(--kw-accent);
  border-color: var(--kw-accent);
  color: var(--kw-nuit);
}
.kw-footer .kw-footer__reseau svg {
  width: 19px;
  height: 19px;
}
.kw-footer .kw-footer__titre {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
}
.kw-footer .kw-footer__titre::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  background: var(--kw-accent);
}
.kw-footer .kw-footer__liste {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: grid;
  gap: 10px;
}
.kw-footer .kw-footer__liste li {
  margin: 0;
}
.kw-footer .kw-footer__principal .kw-footer__liste a.kw-footer__lien {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kw-texte-nuit);
  font-size: .95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}
.kw-footer .kw-footer__principal .kw-footer__liste a.kw-footer__lien:hover {
  color: var(--kw-accent);
}
.kw-footer .kw-footer__lien svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--kw-accent);
}
.kw-footer .kw-footer__liste--marques {
  grid-template-columns: repeat(2, minmax(0, 1fr));
/*  column-gap: 100px; */
}

/* ===== 3. Barre du bas ===== */
.kw-footer .kw-footer__bas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 16px 26px;
  border-top: 1px solid var(--kw-trait-nuit);
  font-size: .85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}
.kw-footer .kw-footer__copyright {
  margin: 0;
}
.kw-footer .kw-footer__legal {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 !important;
  padding: 0;
}
.kw-footer .kw-footer__legal li {
  margin: 0;
}
.kw-footer .kw-footer__bas a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .2s ease;
}
.kw-footer .kw-footer__bas a:hover {
  color: var(--kw-accent);
}

/* ===== Focus visible ===== */
.kw-footer .kw-footer__principal a:focus-visible {
  outline: 2px solid var(--kw-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.kw-footer .kw-footer__principal a.kw-footer__reseau:focus-visible {
  border-radius: 50%;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .kw-footer .kw-footer__atouts-liste {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .kw-footer .kw-footer__grille {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
}
@media (min-width: 1024px) {
  .kw-footer .kw-footer__atouts-liste {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .kw-footer .kw-footer__carte {
    flex-direction: column;
    align-items: center;
    padding: 28px 22px;
    text-align: center;
  }
  .kw-footer .kw-footer__grille {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
  }
  .kw-footer .kw-footer__bas {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kw-footer .kw-footer__carte,
  .kw-footer a {
    transition: none !important;
  }
  .kw-footer .kw-footer__carte:hover,
  .kw-footer .kw-footer__principal a.kw-footer__btn:hover {
    transform: none;
  }
}