/* Footer v2 — agenceindexx.com — 25/11/2026
   Inspiré du footer Unfair : bandeau pixel animé (violet Indexx -> #f7f7f5),
   4 colonnes (Marque / Explorer / Agence / Légal), et mini-jeu runner pixel.
   Classes préfixées ft- / --ft-. Zéro dépendance externe. */

@font-face{
  font-family:"Inter";
  src:url("/assets/hero-v2/inter-var-latin.woff2") format("woff2");
  font-weight:300 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Geist Mono";
  src:url("/assets/secteurs-v1/geistmono-var-latin.woff2") format("woff2");
  font-weight:300 700;
  font-style:normal;
  font-display:swap;
}

.ft {
  --ft-font: "Inter", "DM Sans", Arial, sans-serif;
  --ft-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ft-bg: #f7f7f5;
  --ft-surface: #ffffff;
  --ft-ink: #0b0b0f;
  --ft-ink-2: #51515a;
  --ft-ink-3: #8a8a94;
  --ft-line: #e4e4de;
  --ft-border: #e7e7e2;
  --ft-focus: #4B3FE3;
  --ft-violet: #4B3FE3;
  --ft-violet-2: #8D4EE6;
  --ft-violet-dark: #2C2270;
  --ft-violet-soft: #9d8ff0;
  --ft-pink: #DC3C98;
  --ft-page: 1160px;
  --ft-gut: 16px;
}

.ft,
.ft *,
.ft *::before,
.ft *::after {
  box-sizing: border-box;
}

.ft {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--ft-bg);
  color: var(--ft-ink-2);
  font-family: var(--ft-font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

.ft p,
.ft h4,
.ft ul {
  margin: 0;
}

.ft ul {
  padding: 0;
  list-style: none;
}

.ft a {
  color: inherit;
  text-decoration: none;
}

.ft :focus-visible {
  outline: 2px solid var(--ft-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Bandeau pixel dissous (violet Indexx -> --ft-bg) */
.ft-seam {
  position: relative;
  width: 100%;
  height: 108px;
  background: var(--ft-bg);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ft-seam-cv {
  display: block;
  width: 100%;
  height: 100%;
}

/* Conteneur principal */
.ft-inner {
  width: 100%;
  max-width: var(--ft-page);
  margin: 0 auto;
  padding: 24px var(--ft-gut) 24px;
}

/* Grille 4 colonnes (Marque + Explorer / Agence / Légal) */
.ft-cols {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ft-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 400px;
}

.ft-logo {
  display: inline-block;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.05em;
  color: var(--ft-ink);
  transition: opacity 0.14s ease;
}

.ft-logo:hover {
  opacity: 0.65;
}

.ft-tagline {
  margin-top: 10px;
  max-width: 38ch;
  font-size: 13px;
  line-height: 19px;
  color: var(--ft-ink-2);
}

/* Rangée de pilules sociales (Instagram + LinkedIn) */
.ft-social {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
}

/* Pilule sociale tactile (style Unfair) */
.ft-social-pill {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 15px 0 13px;
  border-radius: 12px;
  border: 1px solid var(--ft-line);
  background: var(--ft-surface);
  color: var(--ft-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  box-shadow: 0 3px 0 0 var(--ft-line);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.14s ease;
}

.ft-social-pill:hover {
  border-color: #d0d0c8;
}

.ft-social-pill:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 0 var(--ft-line);
}

.ft-social-pill svg {
  display: block;
  flex-shrink: 0;
  color: var(--ft-ink);
}

.ft-social-pill span {
  white-space: nowrap;
}

/* 3 colonnes de navigation (proportionnées sur mobile pour éviter la coupure d'email) */
.ft-nav-group {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px 12px;
  width: 100%;
}

.ft-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ft-col:last-child {
  grid-column: 1 / -1;
}

.ft-col h4 {
  font-family: var(--ft-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ft-ink);
}

.ft-col ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.ft-col a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--ft-ink-2);
  overflow-wrap: anywhere;
  transition: color 0.15s ease;
}

.ft-col a:hover {
  color: var(--ft-ink);
}

/* Zone du mini-jeu runner */
.ft-game-wrap {
  margin-top: 24px;
}

.ft-game {
  position: relative;
  width: 100%;
  height: 140px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.ft-game-cv {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: pan-y;
  border-radius: 10px;
}

.ft-game-cv:focus-visible {
  outline: 2px solid var(--ft-focus);
  outline-offset: 2px;
}

/* Pied de page minimal */
.ft-bottom {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ft-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 12px;
  color: var(--ft-ink-3);
}

.ft-mail {
  color: var(--ft-ink-2);
  transition: color 0.15s ease;
}

.ft-mail:hover {
  color: var(--ft-ink);
}

.ft-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive desktop */
@media (min-width: 720px) {
  .ft-seam {
    height: 172px;
  }

  .ft-inner {
    padding: 40px 32px 32px;
  }

  .ft-cols {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .ft-brand {
    width: 36%;
    max-width: none;
    flex-shrink: 0;
  }

  .ft-tagline {
    margin-top: 12px;
  }

  .ft-social {
    margin-top: 20px;
  }

  .ft-nav-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .ft-col:last-child {
    grid-column: auto;
  }

  .ft-col ul {
    margin-top: 14px;
    gap: 11px;
  }

  .ft-game-wrap {
    margin-top: 20px;
  }

  .ft-game {
    height: 196px;
  }

  .ft-bottom {
    margin-top: 16px;
    padding-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-logo,
  .ft-social-pill,
  .ft-col a,
  .ft-mail {
    transition: none;
  }
  .ft-social-pill:active {
    transform: none;
  }
}
