/* ============================================================
   Anthony IT Solutions — Pied de page (bloc autonome)
   ============================================================ */
.ais-footer {
  --ft-bg: #163a72;
  --ft-text: #d9e4f5;
  --ft-muted: #a9bddb;
  --ft-line: rgba(255, 255, 255, 0.14);
  --ft-gold: #f5c451;
  margin-top: auto;
  padding: 2.5rem 0 1.25rem;
  background: #163a72 !important;
  color: #d9e4f5 !important;
  border-top: 0;
}

html body.ais-footer,
html body .ais-footer,
html body.page-home .ais-footer,
html[data-style="dark"] body.page-home .ais-footer,
html[data-theme="dark"] body.page-home .ais-footer,
html[data-style="dark"] .ais-footer,
html[data-theme="dark"] .ais-footer {
  background: #163a72 !important;
  color: #d9e4f5 !important;
}

.ais-footer-inner {
  max-width: var(--ais-container-wide, 1520px);
  margin: 0 auto;
  padding: 0 var(--ais-container-pad, 2rem);
}

.ais-footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 2.35rem;
  padding: 0;
  border-bottom: 0;
}

.ais-footer-brand__link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.ais-footer-brand__link:hover {
  opacity: 0.9;
}

.ais-footer-brand__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 6px;
}

.ais-footer-brand__logo,
.ais-footer-brand__link img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(280px, 86vw);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.ais-footer-brand__tagline {
  margin: 0;
  max-width: 36rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ft-muted);
}

.ais-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.15rem 1.75rem;
}

@media (min-width: 720px) {
  .ais-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2.5rem;
  }
}

@media (min-width: 1100px) {
  .ais-footer-grid {
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 2.75rem;
    align-items: start;
  }
}

.ais-footer-kicker {
  display: block;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.ais-footer-kicker--part {
  margin-top: 1.55rem;
}

.ais-footer-subhead {
  display: block;
  margin: 1rem 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ft-muted);
}

.ais-footer-col > .ais-footer-subhead:first-child {
  margin-top: 0;
}

.ais-footer-lead {
  margin: 0 0 0.9rem;
  max-width: 28ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ft-muted);
}

.ais-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ais-footer-col > .ais-footer-links + .ais-footer-links,
.ais-footer-col > .ais-footer-links + .ais-footer-subhead {
  margin-top: 0.35rem;
}

.ais-footer a.ais-footer-link,
.ais-footer button.ais-footer-link {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  margin: 0;
  padding: 0.22rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ft-text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.ais-footer-flag,
.ais-footer .fi.ais-footer-flag {
  display: inline-block;
  width: 1.1rem;
  height: 0.8rem;
  flex-shrink: 0;
  border-radius: 2px;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ais-footer a.ais-footer-link:hover,
.ais-footer button.ais-footer-link:hover {
  color: #fff;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ais-footer a.ais-footer-link:focus-visible,
.ais-footer button.ais-footer-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ais-footer-rating {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 1.15rem;
  color: inherit;
  text-decoration: none;
}

.ais-footer-rating__box {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.7rem;
  width: auto;
  max-width: 280px;
  padding: 0.75rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ais-footer-rating:hover .ais-footer-rating__box {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.ais-footer-rating:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 14px;
}

.ais-footer-rating__score {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.08rem;
  min-width: 2.6rem;
  padding-right: 0.7rem;
  border-right: 1px solid var(--ft-line);
  line-height: 1;
  flex-shrink: 0;
}

.ais-footer-rating__val {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff !important;
  line-height: 1;
}

.ais-footer-rating__max {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ft-muted) !important;
  margin-bottom: 0.14rem;
}

.ais-footer-rating__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ais-footer-rating__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
}

.ais-footer-stars {
  display: inline-flex;
  gap: 0.12rem;
  line-height: 1;
}

.ais-footer-stars span {
  width: auto;
  height: auto;
  display: inline;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
  line-height: 1;
}

.ais-footer-stars span.is-on {
  background: transparent;
  color: var(--ft-gold);
}

.ais-footer-rating__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.76rem;
  color: var(--ft-muted) !important;
  line-height: 1.35;
}

.ais-footer-rating:hover .ais-footer-rating__meta {
  color: #fff !important;
}

.ais-footer-rating__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ais-footer-rating:hover .ais-footer-rating__arrow {
  background: #fff;
  color: #163a72;
}

.ais-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ft-line);
  text-align: center;
}

@media (min-width: 900px) {
  .ais-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    text-align: left;
    gap: 1rem 1.5rem;
  }

  .ais-footer-copy {
    justify-self: start;
  }

  .ais-footer-credit {
    justify-self: center;
    text-align: center;
  }

  .ais-footer-pay {
    justify-self: end;
  }
}

.ais-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ais-footer-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ais-footer-social__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.ais-footer-copy,
.ais-footer-credit {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ft-muted);
}

.ais-footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ais-footer-pay li {
  display: flex;
  align-items: center;
}

.ais-footer-pay img {
  display: block;
  height: 18px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  filter: none;
}

.ais-footer-pay img[alt="Mastercard"],
.ais-footer-pay img[alt="Bitcoin"],
.ais-footer-pay img[alt="Ethereum"] {
  height: 22px;
}

.ais-footer-credit a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ais-footer-credit a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ais-footer-heart {
  font-style: normal;
}

[data-style="dark"] .ais-footer-kicker,
[data-theme="dark"] .ais-footer-kicker,
[data-style="dark"] .ais-footer-credit a,
[data-theme="dark"] .ais-footer-credit a {
  color: #fff;
}

[data-style="dark"] .ais-footer-rating__val,
[data-theme="dark"] .ais-footer-rating__val,
[data-style="dark"] .ais-footer-rating__label,
[data-theme="dark"] .ais-footer-rating__label {
  color: #fff !important;
}

[data-style="dark"] .ais-footer-stars span.is-on,
[data-theme="dark"] .ais-footer-stars span.is-on {
  color: var(--ft-gold);
}

[data-style="dark"] .ais-footer a.ais-footer-link,
[data-theme="dark"] .ais-footer a.ais-footer-link,
[data-style="dark"] .ais-footer button.ais-footer-link,
[data-theme="dark"] .ais-footer button.ais-footer-link {
  color: var(--ft-text);
}

[data-style="dark"] .ais-footer a.ais-footer-link:hover,
[data-theme="dark"] .ais-footer a.ais-footer-link:hover,
[data-style="dark"] .ais-footer button.ais-footer-link:hover,
[data-theme="dark"] .ais-footer button.ais-footer-link:hover {
  color: #fff;
}

/* ============================================================
   Refonte 2026-09 : bande marque, colonnes avec icônes, barre basse
   ============================================================ */
.ais-footer {
  padding: 0;
}

/* Bande du haut : logo + accroche à gauche, avis clients à droite */
.ais-footer-band {
  background: #1b4380;
  border-bottom: 1px solid var(--ft-line);
}

.ais-footer-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: 1.9rem;
  padding-bottom: 1.9rem;
}

.ais-footer-band .ais-footer-top {
  margin: 0;
}

.ais-footer-band .ais-footer-brand__tagline {
  font-size: 0.98rem;
  color: var(--ft-text);
}

.ais-footer-band__reviews .ais-footer-rating {
  margin-top: 0;
}

/* Colonnes */
.ais-footer-grid {
  padding: 2.6rem 0 2.4rem;
}

@media (min-width: 1100px) {
  .ais-footer-grid {
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 3rem;
  }

  .ais-footer-col--cloud {
    padding-right: 3rem;
    border-right: 1px solid var(--ft-line);
  }
}

.ais-footer-kicker {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.ais-footer-kicker--part {
  margin-top: 1.75rem;
}

.ais-footer-links {
  gap: 0.35rem;
}

.ais-footer a.ais-footer-link,
.ais-footer button.ais-footer-link {
  gap: 0.65rem;
  font-size: 0.95rem;
}

.ais-footer a.ais-footer-link:hover,
.ais-footer button.ais-footer-link:hover {
  text-decoration: none;
}

.ais-footer a.ais-footer-link:hover > span:not(.ais-footer-link__icon),
.ais-footer button.ais-footer-link:hover > span:not(.ais-footer-link__icon) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ais-footer-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9cc3ff;
  font-size: 0.78rem;
  line-height: 0;
  vertical-align: middle;
  --fa-display: block;
  transition: background 0.15s ease, color 0.15s ease;
}

.ais-footer-link__icon i,
.ais-footer-link__icon.fa-solid,
.ais-footer-link__icon.fa-brands {
  display: block;
  --fa-display: block;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: 1;
  color: inherit;
  text-align: center;
  vertical-align: 0;
}

.ais-footer-link__icon::before,
.ais-footer-link__icon i::before {
  display: block;
  line-height: 1;
}

.ais-footer a.ais-footer-link:hover .ais-footer-link__icon,
.ais-footer button.ais-footer-link:hover .ais-footer-link__icon {
  background: #fff;
  color: #163a72;
}

.ais-footer-link__city {
  color: var(--ft-muted);
}

.ais-footer a.ais-footer-more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: #9cc3ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.ais-footer a.ais-footer-more:hover {
  color: #fff;
}

.ais-footer a.ais-footer-more i {
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.ais-footer a.ais-footer-more:hover i {
  transform: translateX(3px);
}

/* Barre du bas */
.ais-footer-bottom {
  display: block;
  margin-top: 0;
  padding: 0;
  background: #12305e;
  border-top: 1px solid var(--ft-line);
}

.ais-footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  text-align: center;
}

.ais-footer-bottom__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

@media (min-width: 900px) {
  .ais-footer-bottom {
    display: block;
  }

  .ais-footer-bottom__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem 1.5rem;
  }

  .ais-footer-social {
    justify-self: start;
  }

  .ais-footer-pay {
    justify-self: end;
  }
}

.ais-footer-social__btn {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.95rem;
  line-height: 0;
}

.ais-footer-social__btn i {
  display: block;
  --fa-display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.ais-footer-social__btn i::before {
  display: block;
  line-height: 1;
}

.ais-footer-social__btn:hover {
  background: #fff;
  border-color: #fff;
  color: #163a72;
}

.ais-footer-copy,
.ais-footer-credit {
  font-size: 0.82rem;
}

.ais-footer-pay img {
  height: 18px;
}

/* Copyright + crédit sur une seule ligne */
.ais-footer-bottom__center {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 0.6rem;
}

.ais-footer-bottom__center .ais-footer-copy,
.ais-footer-bottom__center .ais-footer-credit {
  white-space: nowrap;
}

.ais-footer-bottom__center .ais-footer-credit::before {
  content: "·";
  margin-right: 0.6rem;
  color: var(--ft-muted);
}

/* ============================================================
   Mode sombre du footer
   ============================================================ */
/* body:not(#_) : l'emporte aussi sur les règles « body.page-home .ais-footer » (accueil) */
html[data-style="dark"] body:not(#_) .ais-footer,
html[data-theme="dark"] body:not(#_) .ais-footer {
  --ft-text: #cbd5e1;
  --ft-muted: #8b9ab3;
  --ft-line: rgba(148, 163, 184, 0.14);
  background: #0f172a !important;
  color: #cbd5e1 !important;
}

[data-style="dark"] .ais-footer-band,
[data-theme="dark"] .ais-footer-band {
  background: #111c33;
}

[data-style="dark"] .ais-footer-bottom,
[data-theme="dark"] .ais-footer-bottom {
  background: #0a1120;
}

[data-style="dark"] .ais-footer-link__icon,
[data-theme="dark"] .ais-footer-link__icon {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.14);
  color: #93c5fd;
}

[data-style="dark"] .ais-footer a.ais-footer-link:hover .ais-footer-link__icon,
[data-theme="dark"] .ais-footer a.ais-footer-link:hover .ais-footer-link__icon,
[data-style="dark"] .ais-footer button.ais-footer-link:hover .ais-footer-link__icon,
[data-theme="dark"] .ais-footer button.ais-footer-link:hover .ais-footer-link__icon {
  background: #93c5fd;
  color: #0f172a;
}

[data-style="dark"] .ais-footer a.ais-footer-more,
[data-theme="dark"] .ais-footer a.ais-footer-more {
  color: #93c5fd;
}

[data-style="dark"] .ais-footer-rating__box,
[data-theme="dark"] .ais-footer-rating__box {
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-style="dark"] .ais-footer-rating:hover .ais-footer-rating__arrow,
[data-theme="dark"] .ais-footer-rating:hover .ais-footer-rating__arrow,
[data-style="dark"] .ais-footer-social__btn:hover,
[data-theme="dark"] .ais-footer-social__btn:hover {
  background: #93c5fd;
  border-color: #93c5fd;
  color: #0f172a;
}

[data-style="dark"] .ais-footer-social__btn,
[data-theme="dark"] .ais-footer-social__btn {
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.18);
}
